/* ============================================================
   THMANYAH FONTS (self-hosted, the project's default typeface)
   Paths are relative to this file: assets/css/ -> assets/fonts/
   ============================================================ */
/* --- Thmanyah Sans --- */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* --- Thmanyah Serif Text (headings / body-weight serif) --- */
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../fonts/thmanyahseriftext-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../fonts/thmanyahseriftext-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../fonts/thmanyahseriftext-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../fonts/thmanyahseriftext-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* --- Thmanyah Serif Display (hero / large display headings) --- */
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (extracted from Figma) */
  --green: #005b3a;
  --green-dark: #00472d;
  --green-deep: #222924;
  --gold: #c9a961;
  --gold-soft: #d9bd80;
  --cream: #fff6e2;
  --white: #ffffff;
  --grey: #666666;
  --line: #e6e6e6;

  /* Thmanyah — the project's typeface (self-hosted in assets/fonts) */
  --font-sans: "Thmanyah Sans", system-ui, sans-serif;
  --font-serif: "Thmanyah Serif Text", "Thmanyah Sans", serif;
  --font-display: "Thmanyah Serif Display", "Thmanyah Serif Text", serif;

  --maxw: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--green-deep);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
ul {
  list-style: none;
}
svg {
  display: block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}
.section {
  padding-block: 130px;
  position: relative;
}
.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  background: var(--cream);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.section-head {
  margin-bottom: 50px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green);
  margin-bottom: 14px;
}
.section-sub {
  font-size: clamp(17px, 2.2vw, 23px);
  color: var(--grey);
  max-width: 780px;
}
.section-head.text-center .section-sub {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 40px;
  justify-content: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  box-shadow: 0 10px 24px rgba(201, 169, 97, 0.35);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  box-shadow: 0 10px 24px rgba(0, 91, 58, 0.3);
}
.btn-light {
  background: var(--white);
  color: var(--green);
}
.btn-green-solid {
  background: var(--green-dark);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn-green-solid:hover {
  box-shadow: 0 10px 24px rgba(0, 71, 45, 0.4);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
  line-height: 0;
}
.icon svg {
  width: 100%;
  height: 100%;
}

.icon-tile {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--cream);
  color: var(--gold);
  flex-shrink: 0;
}
.icon-tile .icon {
  width: 32px;
  height: 32px;
}

/* ============ HUGEICONS FONT (<i class="hgi-stroke hgi-NAME">) ============
   Font glyphs are sized by font-size and colored by `color` (inherit). */
i[class*="hgi-"] {
  font-size: 26px;
  line-height: 1;
  color: inherit;
  display: inline-flex;
}
/* Sized up when sitting inside an icon tile */
.icon-tile i[class*="hgi-"] {
  font-size: 48px;
}

.model-pillar img.icon {
  width: 25px;
  height: auto;
}

.model-pillar .tile {
  padding: 24px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}
/* Scrolled: fixed + semi-transparent green with blur */
.navbar.scrolled {
  background: rgba(0, 91, 58, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  height: 44px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-soft);
}
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  font-size: 26px;
  color: var(--white);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* content on the RTL start = right side */
  text-align: right;
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
/* Boardroom photo (cover, scales on every screen) with a green wash that is
   lighter on the left and deepens toward the right where the text sits */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      270deg,
      rgba(0, 71, 45, 0.96) 0%,
      rgba(0, 91, 58, 0.86) 38%,
      rgba(0, 91, 58, 0.55) 70%,
      rgba(0, 91, 58, 0.4) 100%
    ),
    var(--hero-img, url("../images/hero.png")) center center / cover no-repeat;
}
/* Hero content spans a wider container and is pushed to the page's right edge,
   so it isn't boxed in by the default 1200px container gutters */
.hero > .container {
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-inline-start: auto; /* push the block to the RTL start = right edge */
  margin-inline-end: 0;
  text-align: right;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--gold);
}
.hero h1 .accent {
  color: var(--white);
}
.hero p {
  font-size: clamp(17px, 2.2vw, 23px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  line-height: 1.9;
  margin: 0 0 38px;
  max-width: 640px;
  font-family: var(--font-display);
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ============ ABOUT + VALUES (dark green block) ============ */
.about {
  /* background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%); */
  color: var(--green-dark);
  position: relative;
}
.about .eyebrow {
  color: var(--gold);
  background: var(--cream);
  padding: 7px 18px;
  border-radius: 30px;
  border: 1px solid #c9a961;
}
.about .section-title {
  color: var(--green);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 56px;
}
.about-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: transparent;
  color: var(--gold);
  padding: 20px;
}
.about-logo svg {
  width: 80%;
  height: 80%;
  color: var(--gold);
}
.about-text p {
  font-size: 22px;
  color: #222924;
  text-align: justify;
  line-height: 1.9;
}

.wht:before {
  content: "";
  display: block;
  height: 50px;
  max-width: 300px;
  width: 100%;
  position: absolute;
  background: url(../images/sep.png) no-repeat;
  background-size: contain;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* ============ STATS ============ */
.stats {
  background: #005b3a url(../images/states01.jpg) no-repeat;
  color: var(--white);
  position: relative;
  padding: 50px;
  background-position: center;
  background-size: cover;
}

.stats-head {
  text-align: center;
  margin-bottom: 50px;
}
.stats-head .section-title {
  color: var(--gold);
}
.stats-head p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  max-width: 820px;
  margin-inline: auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 30px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 1);
  color: var(--green);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
  direction: rtl;
}
/* RTL: sign sits to the right of the numeral */
.stat .num::before {
  content: "٪";
  font-size: 0.5em;
  vertical-align: super;
  opacity: 0.8;
}
.stat.plain .num::before {
  content: "+";
}
.stat .label {
  font-size: 20px;
  font-weight: 700;
  margin-top: 12px;
}

/* ============ SPECIALIZATION / FEATURE GRIDS ============ */
.specialization {
  background: var(--white);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
/* Specialization cards: centered, gold-tinted border, gold icon (Figma 03) */
.feature-grid .card {
  text-align: center;
  border-color: rgba(201, 169, 97, 0.45);
  padding: 36px 28px;
}
.feature-grid .card .icon-tile {
  margin: 0 auto 18px;
  background: transparent;
}
.feature-grid .card h3 {
  font-size: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 91, 58, 0.1);
  border-color: var(--gold-soft);
}
.card .icon-tile {
  margin-bottom: 20px;
}
.card h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.card p {
  color: var(--grey);
  font-size: 17px;
}

/* ============ PARTNERS (dark green, cream cards w/ gold tab) ============ */
.partners {
  background: #005b3a url(../images/states01.jpg) no-repeat;
  color: var(--white);
  background-size: cover;
}
.partners .section-title {
  color: var(--gold-soft);
}
.partners .section-sub {
  color: rgba(255, 255, 255, 0.85);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  direction: ltr;
}
.partner-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 36px 28px 30px;
  text-align: center;
  border-bottom: 8px solid #c9a961;
}
.partner-card .icon-tile {
  margin: 0 auto 18px;
  background: #c9a9611f;
  color: var(--gold);
}
.partner-card .icon-tile .icon {
  width: 40px;
  height: 40px;
}
.partner-card h3 {
  font-size: 21px;
  color: var(--green);
  margin-bottom: 8px;
}
.partner-card p {
  color: var(--grey);
  font-size: 16px;
}

/* ============ STRATEGIC MODEL ============ */
.model {
  /* background: linear-gradient(180deg, var(--green-dark), var(--green)); */
  color: var(--green-dark);
  direction: ltr;
}
.model .section-title,
.model .pillar-title {
  color: var(--green-dark);
}
.model-formula {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--gold-soft);
  margin-top: 6px;
}
.pillar-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin: 0 0 28px;
  color: var(--gold-soft);
}
/* Two-column layout: 5 dimensions (list) ✕ 9 dimensions (tile grid) */
.model-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.model-x {
  align-self: center;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  color: rgba(201, 169, 97, 0.55);
  margin-top: 60px;
}
/* 5 dimensions — vertical list with divider lines */
.model-list {
  display: grid;
  gap: 0;
}
.model-list .model-item {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
section#model {
  padding-block: 20px;
}
.model-list .model-item:last-child {
  border-bottom: none;
}
.model-list .model-item > div:first-child {
  text-align: right;
  flex: 1;
}
.model-list .model-item .icon-tile {
  background: rgba(0, 91, 58, 0.12);
  color: #005b3a;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.model-list .model-item .icon-tile svg {
  width: 26px;
  height: 26px;
}
.model-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--green);
}
.model-item p {
  font-size: 15px;
  color: var(--green);
}
/* 9 dimensions — 3×3 cream tile grid */
.model-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  background: rgba(201, 169, 97, 0.12);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tile .icon-tile {
  background: transparent;
  color: var(--gold);
  width: 44px;
  height: 44px;
}
.tile .icon-tile .icon {
  width: 28px;
  height: 28px;
}
.tile span {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.5;
}

/* ============ WHY US ============ */
.why {
  background: var(--white);
  direction: ltr;
}
.why-grid .icon-tile .icon {
  width: 80px;
  height: auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
/* Cards in the Why grid are centered with a gold-tinted border (Figma 05) */
.why-grid .card {
  text-align: center;
  border-color: rgba(201, 169, 97, 0.4);
  padding: 38px 30px;
}
.why-grid .card .icon-tile {
  margin: 0 auto 18px;
  background: transparent;
}
.why-grid .card h3 {
  font-size: 22px;
}
/* Stylized "لماذا امتداد" wordmark occupying one grid cell */
.why-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  gap: 6px;
}
.why-title .lam {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--gold-soft);
  letter-spacing: 6px;
}
.why-title .emt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 80px);
  color: var(--green);
  letter-spacing: 6px;
}

/* ============ VALUES / MISSION / VISION (inside dark about block) ============ */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.vmv-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}
.vmv-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.about .vmv-card {
  background: var(--green);
  color: #fff;
}
.about .vmv-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vmv-card p {
  font-size: 17px;
  text-align: center;
  line-height: 1.9;
}
.vmv-card ul {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.vmv-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.vmv-card li svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============ TRAINING STAGES ============ */
.stages {
  background: var(--white);
}
.stages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stage {
  position: relative;
  padding: 28px 30px;
  border-radius: 18px;
  background: #c9a9610a;
  border: 1px solid #c9a96129;
}
/* Faint large Arabic numeral beside the title (top start corner) */
.stage .num {
  position: absolute;
  top: 22px;
  inset-inline-start: 26px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #005b3a29;
  line-height: 1;
}
.stage h3 {
  font-size: 20px;
  color: var(--green);
  margin-bottom: 10px;
  padding-inline-start: 44px;
  text-align: right;
}
.stage p {
  color: var(--grey);
  font-size: 15px;
  text-align: justify;
  line-height: 1.9;
}

/* ============ CONSULTING SERVICES ============ */
.consulting {
  background: var(--white);
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
/* Last (9th) card centered under the 2-column grid */
.consult-grid .consult-card:nth-child(9) {
  grid-column: 1 / -1;
  max-width: 580px;
  margin-inline: auto;
  width: 100%;
}
section#consulting {
  direction: ltr;
}
.consult-card {
  position: relative;
  background: #eef4ef;
  border: 1px solid rgba(0, 91, 58, 0.12);
  border-radius: 18px;
  padding: 28px 30px;
  padding-top: 76px;
  border-right: 4px solid #005b3a;
  direction: rtl;
}
.consult-card .icon-tile .hgi {
  font-size: 24px;
}
/* Icon sits at the top-right (RTL start), beside the title */
.consult-card .icon-tile {
  position: absolute;
  top: 26px;
  inset-inline-start: 30px;
  background: var(--green);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.consult-card .icon-tile .icon {
  width: 24px;
  height: 24px;
}
.consult-card h3 {
  position: absolute;
  top: 30px;
  inset-inline-start: 86px;
  inset-inline-end: 30px;
  font-size: 21px;
  font-weight: 700;
  color: var(--green);
}
.consult-card p {
  color: var(--grey);
  font-size: 15px;
  text-align: justify;
  line-height: 1.4;
}

/* ============ CTA BANNER (rounded green card with gold tab) ============ */
.cta-band {
  background: var(--white);
  padding-block: 0;
  direction: ltr;
}
.cta-card {
  position: relative;
  background: #005b3a url(../images/states01.jpg) no-repeat;
  color: var(--white);
  border-radius: 22px;
  padding: 38px 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  background-position: center;
}
.cta-card .btn-gold {
  flex-shrink: 0;
}
.cta-text {
  flex: 1;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.25);
  padding-inline-end: 28px;
  text-align: right;
  direction: rtl;
}
.cta-card h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
}
.cta-card p {
  font-size: 17px;
  opacity: 0.9;
  line-height: 1.8;
}
.specialization .icon-tile .icon {
  width: auto;
  height: auto;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--white);
  direction: ltr;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  direction: rtl;
}
.contact-form {
  background: #005b3a1f;
  border-radius: 24px;
  padding: 40px;
  direction: rtl;
}
.contact-form h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 24px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--green-deep);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold-soft);
  border-color: var(--gold);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 24px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.info-item .icon-tile {
  background: #005b3a1f;
  color: var(--green);
  border: 1px solid rgba(0, 91, 58, 0.25);
  width: 52px;
  height: 52px;
}
.info-item .icon-tile svg {
  width: 24px;
  height: 24px;
}
.info-item .label {
  font-size: 20px;
  font-weight: 500;
  color: var(--green);
}
.info-item .value {
  font-size: 17px;
  color: var(--grey);
}
.contact-map {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map img {
  width: 100%;
}

/* ============ FOOTER (centered, gold tab on top) ============ */
.footer {
  position: relative;
  background: #005b3a url(../images/footer.jpg) no-repeat;
  color: rgba(255, 255, 255, 0.8);
  background-size: cover;
  background-position: center;
}
.fbottom {
  background: #c9a961;
}
/* Gold trapezoid tab at the top center */
.footer::before {
  content: "";
  position: absolute;
  top: -50px;
  max-width: 300px;
  width: 100%;
  height: 50px;
  background: url(../images/sep.png) no-repeat;
  left: 0;
  right: 0;
  margin: auto;
  transform: rotate(180deg);
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-block: 56px 34px;
  text-align: center;
}
.footer-logo {
  height: 54px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  transition:
    color 0.2s,
    transform 0.2s;
}
.footer-social a .icon {
  width: 20px;
  height: 20px;
}
.footer-social a:hover {
  color: var(--gold-soft);
  transform: translateY(-2px);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.footer-nav a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--gold-soft);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.footer-bottom .links {
  display: flex;
  gap: 24px;
}
.footer-bottom .links a:hover {
  color: var(--gold-soft);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid,
  .partners-grid,
  .why-grid,
  .vmv-grid,
  .stages-grid,
  .consult-grid {
    grid-template-columns: 1fr;
  }
  /* Model: stack the two pillars, hide the ✕ separator */
  .model-columns {
    grid-template-columns: 1fr;
  }
  .model-x {
    display: none;
  }
  .model-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .consult-grid .consult-card:nth-child(9) {
    max-width: none;
  }
  /* CTA card stacks vertically */
  .cta-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-text {
    border-inline-start: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-inline-start: 0;
    padding-top: 20px;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .model-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav {
    gap: 16px 24px;
  }
}
@media (max-width: 480px) {
  /* Phones: keep the hero text and buttons inside the viewport */
  .container {
    padding-inline: 18px;
  }
  .hero {
    min-height: 560px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.5vw, 40px);
    line-height: 1.25;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
  }
  /* Buttons go full-width and stack so nothing overflows the right edge */
  .hero-actions {
    gap: 12px;
  }
  .hero-actions a.btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
@media (min-width: 769px) {
  .mobile {
    display: none;
  }
  .desktop {
    display: grid;
  }
}
@media (max-width: 768px) {
  .mobile {
    display: grid;
  }
  .model-list .model-item {
    padding: 10px 5px;
  }
  .desktop {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .section {
    padding-block: 56px;
  }
  .section.stats {
    padding: 50px 10px;
  }
  .consult-card h3 {
    font-size: 20px;
  }
  .consult-card p {
    margin-top: 10px;
  }
  .cta-text {
    border-top: 0;
    padding-top: 0;
    border-inline-end: 0;
    padding-inline-end: 0;
  }
  .mobile.why-grid {
    display: grid;
  }
  .consult-card {
    padding-top: 90px;
  }
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .footer-bottom {
    justify-content: center;
  }
  .footer::before {
    height: 40px;
    background-position: center;
    background-size: contain;
    top: -40px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    flex-direction: column;
    background: rgba(0, 91, 58, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 650px;
  }
  .hero-actions a.btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  /* On small screens deepen the wash overall so right-aligned text stays readable */
  .hero::before {
    background:
      linear-gradient(
        270deg,
        rgba(0, 71, 45, 0.97) 0%,
        rgba(0, 91, 58, 0.9) 55%,
        rgba(0, 91, 58, 0.7) 100%
      ),
      var(--hero-img, url("../images/hero.png")) center center / cover no-repeat;
  }
  .wht:before {
    height: 40px;
    background-position: center;
  }
  .section.wht {
    padding-block: 70px;
  }
}
