/* ==========================================================================
   STC Development — Main Stylesheet
   Brand palette: Navy #122955 · Yellow #FEF820 · White #FFFFFF
   ========================================================================== */

:root {
  --navy: #122955;
  --navy-dark: #0b1c3d;
  --navy-light: #1c3a6e;
  --navy-tint-05: rgba(18, 41, 85, 0.05);
  --navy-tint-08: rgba(18, 41, 85, 0.08);
  --navy-tint-60: rgba(18, 41, 85, 0.6);
  --yellow: #fef820;
  --yellow-dim: #e8e300;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --ink: #1b2430;
  --ink-soft: #5b6472;
  --line: #e7e9ef;

  /* Theme-adaptive tokens (light values here; overridden under [data-theme="dark"]).
     --navy / --white / --ink stay literal where they sit on fixed brand-navy
     blocks (hero, footer, cta-band, etc.) — those look right in both themes.
     These extra tokens cover the page chrome that must flip: backgrounds,
     card surfaces and heading/body text sitting directly on the page. */
  --page-bg: var(--white);
  --surface: var(--white);
  --heading: var(--navy);
  --header-solid-bg: rgba(255, 255, 255, 0.96);

  --font-heading-en: 'Montserrat', 'Work Sans', sans-serif;
  --font-body-en: 'Work Sans', sans-serif;
  --font-heading-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-body-ar: 'Tajawal', 'Cairo', sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
  --header-h: 84px;
}

/* --------------------------------- Dark mode --------------------------------- */
/* The theme is set explicitly as html[data-theme="dark"|"light"] by a small
   inline script in <head> (reads the visitor's saved choice, else falls back
   to their OS preference) and by the header toggle button, so component CSS
   never needs its own light/dark branching — only the tokens below change. */
:root[data-theme="dark"] {
  --page-bg: #0b1220;
  --off-white: #101a2c;
  --surface: #16213a;
  --ink: #dde3ef;
  --ink-soft: #8b96ab;
  --heading: #f4f6fb;
  --line: rgba(255, 255, 255, 0.12);
  --navy-tint-05: rgba(255, 255, 255, 0.04);
  --navy-tint-08: rgba(255, 255, 255, 0.08);
  --navy-tint-60: rgba(255, 255, 255, 0.5);
  --header-solid-bg: rgba(11, 18, 32, 0.86);
}
:root[data-theme="dark"] .site-header.is-solid .brand img.logo-navy { display: none; }
:root[data-theme="dark"] .site-header.is-solid .brand img.logo-white { display: block; }
:root[data-theme="dark"] .form-success {
  background: rgba(24, 163, 99, 0.16);
  border-color: rgba(24, 163, 99, 0.4);
  color: #8de9b8;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body-en);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-body-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading-en);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5 { font-family: var(--font-heading-ar); letter-spacing: 0; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* language visibility: default show EN, hide AR */
[data-ar] { display: none; }
html[dir="rtl"] [data-en] { display: none; }
html[dir="rtl"] [data-ar] { display: block; }
html[dir="rtl"] span[data-ar],
html[dir="rtl"] a[data-ar],
html[dir="rtl"] strong[data-ar] { display: inline; }
span[data-en], a[data-en], strong[data-en] { display: inline; }
html[dir="rtl"] span[data-en], html[dir="rtl"] a[data-en], html[dir="rtl"] strong[data-en] { display: none; }

/* utility */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.72); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--soft { background: var(--off-white); }
.center { text-align: center; }
.lede { max-width: 640px; margin: 0 auto 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(254,248,32,.6); }
.btn--outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.section--navy .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.section--navy .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); transform: translateY(-3px); }

/* --------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s ease, box-shadow .4s ease, height .3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.is-transparent { background: transparent; }
.site-header.is-solid { background: var(--header-solid-bg); backdrop-filter: blur(8px); box-shadow: 0 8px 30px -18px rgba(18,41,85,.35); height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: filter .3s ease; }
.site-header.is-transparent .brand img.logo-navy { display: none; }
.site-header.is-transparent .brand img.logo-white { display: block; }
.site-header.is-solid .brand img.logo-navy { display: block; }
.site-header.is-solid .brand img.logo-white { display: none; }

/* Header entrance — brand, nav links and header actions fade/slide in with a
   short stagger the moment the page loads (not tied to scroll). */
@keyframes header-item-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header .brand,
.main-nav ul li,
.header-actions > * {
  opacity: 0;
  animation: header-item-in .7s var(--ease) forwards;
}
.site-header .brand { animation-delay: .05s; }
.main-nav ul li:nth-child(1) { animation-delay: .16s; }
.main-nav ul li:nth-child(2) { animation-delay: .23s; }
.main-nav ul li:nth-child(3) { animation-delay: .30s; }
.main-nav ul li:nth-child(4) { animation-delay: .37s; }
.header-actions > *:nth-child(1) { animation-delay: .46s; }
.header-actions > *:nth-child(2) { animation-delay: .53s; }
.header-actions > *:nth-child(3) { animation-delay: .60s; }
@media (prefers-reduced-motion: reduce) {
  .site-header .brand,
  .main-nav ul li,
  .header-actions > * {
    animation: none;
    opacity: 1;
  }
}

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  border-radius: 100px;
  transition: color .3s ease, background .3s ease;
}
.is-solid .main-nav a { color: var(--heading); }
.main-nav a:hover, .main-nav a.active { background: var(--navy-tint-08); }
.is-transparent .main-nav a:hover, .is-transparent .main-nav a.active { background: rgba(255,255,255,.15); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 100px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}
.is-solid .lang-switch { border-color: var(--heading); }
.lang-switch button {
  border: 0; background: transparent; color: var(--white);
  padding: 7px 14px; transition: background .25s ease, color .25s ease;
}
.is-solid .lang-switch button { color: var(--heading); }
.lang-switch button.active { background: var(--yellow); color: var(--navy); }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; height: 2px; width: 24px; margin: 0 auto; background: var(--white); transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.is-solid .menu-toggle span { background: var(--heading); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark-mode toggle */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5);
  background: transparent; color: var(--white);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,.15); }
.is-solid .theme-toggle { color: var(--heading); border-color: var(--heading); }
.is-solid .theme-toggle:hover { background: var(--navy-tint-08); }
.theme-toggle__icon { width: 18px; height: 18px; fill: currentColor; }
.theme-toggle__icon--moon { display: block; }
.theme-toggle__icon--sun { display: none; }
html[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
html[data-theme="dark"] .theme-toggle__icon--sun { display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 76px 0 0 0;
    background: var(--navy);
    display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { color: var(--white); font-size: 17px; padding: 14px 18px; }
  .menu-toggle { display: flex; }
}

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,28,61,.75) 0%, rgba(11,28,61,.55) 45%, rgba(11,28,61,.92) 100%);
}
.hero__content { position: relative; z-index: 2; padding-top: var(--header-h); text-align: center; margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 22px;
}
.hero__eyebrow::before, .hero__eyebrow::after { content:""; width: 22px; height: 2px; background: var(--yellow); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 900px;
  margin: 0 auto 26px;
}
.hero h1 .accent { color: var(--yellow); }
.hero p.lede { color: rgba(255,255,255,.82); font-size: 18px; max-width: 620px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.75); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.scroll-cue__line { width: 1px; height: 34px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--yellow);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* Page (inner) headers for non-home pages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 110px) 0 90px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(254,248,32,.16), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--yellow); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 620px; font-size: 17px; }

/* --------------------------------- Cards --------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(18,41,85,.28); border-color: transparent; }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background .35s ease, transform .35s ease;
}
.feature-card__icon svg { width: 26px; height: 26px; fill: var(--yellow); }
.feature-card:hover .feature-card__icon { background: var(--yellow); transform: rotate(-6deg) scale(1.05); }
.feature-card:hover .feature-card__icon svg { fill: var(--navy); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; margin: 0; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-heading-en); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--yellow); }
html[dir="rtl"] .stat b { font-family: var(--font-heading-ar); }
.stat span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* Project spotlight */
.spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.spotlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.spotlight:hover img { transform: scale(1.05); }
.spotlight::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11,28,61,.92) 5%, rgba(11,28,61,.35) 55%, rgba(11,28,61,.05) 100%);
}
.spotlight__body { position: relative; padding: 48px; width: 100%; }
.spotlight__tag {
  display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.spotlight h3 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.spotlight p { color: rgba(255,255,255,.82); max-width: 560px; }
.unit-types { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 26px; }
.unit-type {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  padding: 12px 18px; backdrop-filter: blur(6px);
}
.unit-type b { display: block; font-size: 14px; color: var(--yellow); margin-bottom: 2px; }
.unit-type span { font-size: 13px; color: rgba(255,255,255,.8); }

/* Gallery */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-filter button {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft);
  padding: 9px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; transition: all .3s ease;
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--navy-tint-05);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "\002B"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--white); background: rgba(18,41,85,0); opacity: 0; transition: all .35s ease; font-weight: 300;
}
.gallery-item:hover::after { background: rgba(18,41,85,.42); opacity: 1; }
.gallery-loadmore { text-align: center; margin-top: 36px; }

/* Unit-type cards (floor + render image + area range) */
.unit-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.unit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 18px 24px; text-align: center; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.unit-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(18,41,85,.3); }
.unit-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; }
.unit-card h4 { color: var(--heading); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.unit-card__type { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 4px; }
.unit-card__area { color: var(--heading); font-weight: 700; font-size: 14.5px; margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(9,16,32,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 82vh; border-radius: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: var(--white);
  border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background .3s ease, transform .3s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--yellow); color: var(--navy); }
.lightbox__close { top: 24px; inset-inline-end: 24px; }
.lightbox__prev { top: 50%; inset-inline-start: 24px; transform: translateY(-50%); }
.lightbox__next { top: 50%; inset-inline-end: 24px; transform: translateY(-50%); }
.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .05em; }

/* About */
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-media img { width: 100%; }
.about-media__badge {
  position: absolute; bottom: -1px; inset-inline-end: -1px;
  background: var(--yellow); color: var(--navy); padding: 22px 28px; border-radius: var(--radius-lg) 0 0 0;
  text-align: center;
}
.about-media__badge b { display: block; font-size: 34px; font-family: var(--font-heading-en); }
html[dir="rtl"] .about-media__badge b { font-family: var(--font-heading-ar); }
.about-media__badge span { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.value-list { display: grid; gap: 18px; margin-top: 28px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item__mark {
  flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-tint-08);
  display: flex; align-items: center; justify-content: center; color: var(--heading); font-weight: 800;
}
.value-item h4 { margin: 0 0 4px; font-size: 16px; }
.value-item p { margin: 0; font-size: 14.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.contact-card:hover { box-shadow: 0 20px 40px -26px rgba(18,41,85,.3); transform: translateY(-3px); }
.contact-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-card__icon svg { width: 20px; height: 20px; fill: var(--yellow); }
.contact-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--ink-soft); }
.contact-card p, .contact-card a { margin: 0; font-size: 15.5px; color: var(--heading); font-weight: 600; }
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s ease;
}
.social-row a svg { width: 17px; height: 17px; fill: var(--white); }
.social-row a:hover { background: var(--yellow); transform: translateY(-4px); }
.social-row a:hover svg { fill: var(--navy); }

/* Engineering-partner credit card (About page) */
.partner-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: flex; align-items: center; gap: 40px;
}
.partner-card__logo { flex: none; width: 128px; height: auto; }
.partner-card__logo img { width: 100%; height: auto; display: block; }
.partner-card__logo .logo-white { display: none; }
:root[data-theme="dark"] .partner-card__logo .logo-navy { display: none; }
:root[data-theme="dark"] .partner-card__logo .logo-white { display: block; }
.partner-card h3 { margin-bottom: 10px; }
.partner-card p { margin: 0; }
@media (max-width: 640px) {
  .partner-card { flex-direction: column; text-align: center; gap: 20px; padding: 32px 26px; }
}

.form-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--heading); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--radius-sm);
  padding: 13px 16px; font: inherit; color: var(--ink); transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-tint-08); }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.field-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; background: #eafff1; border: 1px solid #b9f2cf; color: #146c3a; padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; }
.form-success.is-visible { display: block; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* CTA band */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254,248,32,.25), transparent 70%);
  top: -140px; inset-inline-end: -100px;
}
.cta-band h3 { color: var(--white); margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 320px; }
.site-footer h5 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,.65); transition: color .25s ease, padding .25s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,.7); align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--yellow); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-bottom-links { display: flex; gap: 18px; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal-delay="4"] { transition-delay: .48s; }
[data-reveal-delay="5"] { transition-delay: .6s; }

/* Simple legal / long-form text pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.5px; }
.prose ul { padding-inline-start: 20px; list-style: disc; margin-bottom: 1em; }

/* back to top */
.to-top {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; border: 0; box-shadow: 0 14px 30px -10px rgba(18,41,85,.5);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .35s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--yellow); color: var(--navy); }

/* whatsapp float */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: transform .3s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); }
.wa-float svg { width: 26px; height: 26px; fill: var(--white); }

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .unit-card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-card-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px; flex-direction: column; text-align: center; }
  .spotlight__body { padding: 30px; }
  .form-card { padding: 26px; }
  .page-hero { padding: calc(var(--header-h) + 70px) 0 60px; }
}
