/* =====================================================================
   Fix My Dubai Home — styles.css
   Blueprint / diagnostic aesthetic. Teal + amber + warm sand.
   Type: Space Grotesk (display) · Inter (body)
   Mobile-first. No framework.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --teal-600: #0e5a66;
  --teal-700: #0b4750;
  --teal-800: #093b43;
  --teal-900: #08363d;
  --teal-500: #137b89;
  --teal-300: #6fb6bf;

  --amber-500: #f0a92e;
  --amber-600: #d98e16;
  --amber-400: #f6c065;

  /* Neutrals */
  --ink: #16262b;
  --ink-soft: #475d63;
  --ink-mute: #6c8087;
  --sand: #f7f4ee;
  --sand-2: #efe9dd;
  --mint: #e6efee;
  --white: #ffffff;
  --line: rgba(22, 38, 43, 0.10);
  --line-strong: rgba(22, 38, 43, 0.18);

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(8, 54, 61, 0.06), 0 1px 1px rgba(8, 54, 61, 0.04);
  --shadow-md: 0 8px 24px -10px rgba(8, 54, 61, 0.22);
  --shadow-lg: 0 24px 60px -22px rgba(8, 54, 61, 0.30);

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.15rem; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--amber-500); color: var(--teal-900); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
p + p { margin-top: 1rem; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}
.eyebrow.eyebrow-center::before { display: none; }
.eyebrow--light { color: var(--amber-400); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 0.85rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }

.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-mint { background: var(--mint); }
.bg-teal { background: var(--teal-900); color: #eaf3f4; }

.stack > * + * { margin-top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--amber { --btn-bg: var(--amber-500); --btn-fg: var(--teal-900); border-color: var(--amber-500); }
.btn--amber:hover { background: var(--amber-600); border-color: var(--amber-600); }

.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }

.btn--ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--white); border-color: var(--teal-600); }

.btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: rgba(255,255,255,0.22); border-color: #fff; }

.btn--outline-amber {
  background: transparent;
  color: var(--amber-500);
  border-color: rgba(240,169,46,0.6);
  box-shadow: none;
}
.btn--outline-amber:hover { background: rgba(240,169,46,0.12); border-color: var(--amber-500); }

.btn--lg { padding: 1.1rem 1.85rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-600);
}
.text-link svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(8,54,61,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--teal-600);
  border-radius: 11px;
  color: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -3px -3px auto;
  width: 12px; height: 12px;
  background: var(--amber-500);
  border: 2.5px solid var(--white);
  border-radius: 50%;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-accent { color: var(--teal-600); }
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-list a:hover { color: var(--teal-700); background: var(--mint); text-decoration: none; }
.nav-list a[aria-current="page"] {
  color: var(--teal-700);
  background: var(--mint);
  font-weight: 600;
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--teal-600); }
.nav-phone small { display: block; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--mint);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.nav-toggle:hover { background: #dbe7e6; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2.4px;
  background: var(--teal-700);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars::before { transform: translate(-50%, -8px); }
.nav-toggle-bars::after  { transform: translate(-50%, 8px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Graph-paper grid backdrop ---------- */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(14, 90, 102, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 90, 102, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.grid-bg-fine {
  background-image:
    linear-gradient(to right, rgba(14, 90, 102, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 90, 102, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, rgba(240,169,46,0.16), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-top: 1.1rem; }
.hero-copy h1 .underline-amber {
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 .underline-amber::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.22em;
  background: rgba(240,169,46,0.45);
  z-index: -1;
  border-radius: 3px;
}
.hero-copy .lead { margin-top: 1.3rem; }
.hero-cta { margin-top: 1.9rem; }
.hero-trust {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.hero-trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-trust svg { width: 1.1rem; height: 1.1rem; color: var(--teal-600); flex: none; }
.hero-trust ul { list-style: none; padding: 0; margin: 0; display: contents; }

/* Hero visual: diagnostic blueprint card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px dashed var(--line-strong);
  background: linear-gradient(180deg, var(--sand), var(--white));
}
.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.hero-card-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 0 4px rgba(240,169,46,0.22); }
.hero-card-dots { display: flex; gap: 5px; }
.hero-card-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hero-card-dots span:nth-child(1) { background: #e36b6b; }
.hero-card-dots span:nth-child(2) { background: var(--amber-500); }
.hero-card-dots span:nth-child(3) { background: var(--teal-500); }

.hero-illustration {
  position: relative;
  padding: clamp(1rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 30% 20%, rgba(14,90,102,0.05), transparent 55%),
    var(--mint);
}
.hero-illustration .grid-bg-fine {
  position: absolute; inset: 0;
}
.hero-illustration svg.scene { position: relative; width: 100%; height: auto; }

.hero-card-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.hero-card-foot .cell {
  background: var(--white);
  padding: 0.85rem 0.9rem;
}
.hero-card-foot .cell .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-700);
  line-height: 1;
}
.hero-card-foot .cell .v {
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

.hero-floating {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-floating .ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: #fff;
}
.hero-floating .ico svg { width: 18px; height: 18px; }
.hero-floating.f1 { top: 8%; left: -3%; animation: floaty 6s ease-in-out infinite; }
.hero-floating.f1 .ico { background: var(--whatsapp); }
.hero-floating.f2 { bottom: 14%; right: -4%; animation: floaty 7.5s ease-in-out infinite 0.6s; }
.hero-floating.f2 .ico { background: var(--amber-500); color: var(--teal-900); }
.hero-floating strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.hero-floating span { color: var(--ink-mute); font-size: 0.74rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Logos / trust strip ---------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 2.2rem;
  padding-block: 1.4rem;
  color: var(--ink-soft);
}
.trust-strip-inner .item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.trust-strip-inner .item svg { width: 1.2rem; height: 1.2rem; color: var(--teal-600); }
.trust-strip-inner .divider { width: 1px; height: 22px; background: var(--line-strong); }

/* ---------- Service grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.1rem;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--mint);
  color: var(--teal-700);
  margin-bottom: 1.1rem;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--teal-600); color: #fff; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; }
.service-card .mini-includes {
  list-style: none;
  padding: 0; margin: 0.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-card .mini-includes li {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--sand-2);
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-pill);
}
.service-card .card-link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-600);
}
.service-card .card-link svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Feature / why ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.feature {
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--amber-600);
}
.feature .feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-700);
  margin: 0.8rem 0 1rem;
}
.feature .feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Split feature (about/why) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li {
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 1.3rem; height: 1.3rem; color: var(--teal-600); flex: none; margin-top: 2px; }
.checklist strong { color: var(--ink); font-weight: 600; }

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--mint);
  -webkit-text-stroke: 1.5px var(--teal-600);
}
.step h3 { margin: 0.8rem 0 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step .step-arrow {
  position: absolute;
  top: 2.2rem; right: -0.9rem;
  width: 1.6rem; height: 1.6rem;
  color: var(--amber-500);
}
.step:last-child .step-arrow { display: none; }
.step .step-arrow svg { width: 100%; height: 100%; }

/* ---------- Service areas ---------- */
.areas-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.areas-group + .areas-group { margin-top: 1.6rem; }
.areas-group h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  font-family: var(--font-display);
  margin-bottom: 0.9rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--mint);
  color: var(--teal-800);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}
.chip:hover { background: var(--white); border-color: var(--teal-500); text-decoration: none; }
.chip svg { width: 0.95rem; height: 0.95rem; color: var(--teal-600); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  color: #eaf3f4;
  border-radius: var(--r-xl);
  padding: clamp(2.4rem, 6vw, 4rem);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 80% 30%, #000, transparent 75%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(234,243,244,0.82); margin-top: 0.8rem; }
.cta-band .btn-group { justify-content: flex-end; }
.cta-band .eyebrow { color: var(--amber-400); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
}
.faq-q:hover { background: var(--sand); }
.faq-q .faq-icon {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-700);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item.is-open .faq-q .faq-icon { transform: rotate(45deg); background: var(--amber-500); color: var(--teal-900); }
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a-inner { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq-a-inner p + p { margin-top: 0.7rem; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stat {
  text-align: left;
  padding: 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--amber-400);
  line-height: 1;
}
.stat .v { color: rgba(234,243,244,0.8); margin-top: 0.5rem; font-size: 0.92rem; }

/* ---------- Values cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}
.value-card {
  padding: 1.6rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.value-card .value-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-600);
  color: #fff;
  margin-bottom: 1rem;
}
.value-card .value-icon svg { width: 24px; height: 24px; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Crew / role cards ---------- */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.role-card {
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
}
.role-card .role-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-700);
  margin-bottom: 0.9rem;
}
.role-card .role-icon svg { width: 24px; height: 24px; }
.role-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.role-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Service detail sections (services page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; }
.service-block--rev .service-block-head { order: 2; }
@media (max-width: 900px) {
  .service-block--rev .service-block-head { order: 0; }
}
.service-block-head .service-icon { width: 64px; height: 64px; border-radius: 16px; }
.service-block-head .service-icon svg { width: 34px; height: 34px; }
.service-block-head .tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-600);
  margin-top: 0.4rem;
}
.service-block-head h2 { margin: 0.7rem 0 0.7rem; }
.service-block-head p { color: var(--ink-soft); }
.service-block-body h3 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-600); font-family: var(--font-display); margin-bottom: 0.7rem;
}
.service-block-body h3:not(:first-child) { margin-top: 1.6rem; }
.service-block-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.service-block-body ul li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.96rem; color: var(--ink);
}
.service-block-body ul svg { width: 1.15rem; height: 1.15rem; color: var(--teal-600); flex: none; margin-top: 0.25rem; }
.service-block-cta { margin-top: 1.5rem; }
.callout-box {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  background: var(--mint);
  border-left: 4px solid var(--teal-600);
  font-size: 0.95rem;
  color: var(--ink);
}
.callout-box strong { color: var(--teal-800); }

/* ---------- AMC highlight ---------- */
.amc-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  background: var(--teal-900);
  color: #eaf3f4;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.2rem);
  position: relative;
  overflow: hidden;
}
.amc-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 85% 20%, #000, transparent 70%);
}
.amc-card > * { position: relative; }
.amc-card h2 { color: #fff; }
.amc-card p { color: rgba(234,243,244,0.82); margin-top: 0.8rem; }
.amc-card .eyebrow { color: var(--amber-400); }
.amc-perks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.amc-perks li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  color: #eaf3f4; font-size: 0.98rem;
}
.amc-perks svg { width: 1.2rem; height: 1.2rem; color: var(--amber-400); flex: none; margin-top: 3px; }
.amc-plan {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 1.8rem;
}
.amc-plan h3 { color: #fff; }
.amc-plan .price-note { color: rgba(234,243,244,0.7); font-size: 0.9rem; margin-top: 0.4rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  background: var(--teal-900);
  color: #eaf3f4;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 75% 10%, #000, transparent 80%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -5%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(240,169,46,0.16), transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 4.4rem);
}
.page-hero h1 { color: #fff; margin-top: 1rem; }
.page-hero .lead { color: rgba(234,243,244,0.85); margin-top: 1rem; max-width: 620px; }
.page-hero .eyebrow { color: var(--amber-400); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: rgba(234,243,244,0.7); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li::after { content: "/"; color: rgba(234,243,244,0.4); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: rgba(234,243,244,0.8); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li[aria-current] { color: var(--amber-400); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.contact-channels { display: grid; gap: 1rem; }
.channel {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  align-items: flex-start;
}
.channel .channel-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-700);
  flex: none;
}
.channel .channel-icon svg { width: 24px; height: 24px; }
.channel.wa .channel-icon { background: var(--whatsapp); color: #fff; }
.channel h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.channel p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.channel .channel-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600;
  margin-top: 0.5rem; font-size: 0.95rem;
}
.channel .channel-link svg { width: 1em; height: 1em; }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; }
.form-card p.muted { color: var(--ink-mute); font-size: 0.92rem; margin-top: 0.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-top: 1.1rem; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.form-field label .req { color: #c04848; }
.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--sand);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14,90,102,0.12);
}
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475d63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.form-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: 0.8rem; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.hours-table th { font-weight: 500; color: var(--ink); font-family: var(--font-display); }
.hours-table td { color: var(--ink-soft); text-align: right; }

/* Map-style area block */
.area-block {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--teal-900);
  color: #eaf3f4;
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.area-block .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.area-block > * { position: relative; }
.area-block h2 { color: #fff; }
.area-block .eyebrow { color: var(--amber-400); }

/* ---------- Two-column generic ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(234, 243, 244, 0.82);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.footer-inner { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-accent { color: var(--amber-400); }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; color: rgba(234,243,244,0.7); max-width: 320px; }
.footer-affil {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(234,243,244,0.78);
}
.footer-affil a { color: var(--amber-400); font-weight: 600; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(234,243,244,0.78); font-size: 0.92rem; text-decoration: none; transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--amber-400); text-decoration: none; }
.footer-contact li { display: flex; gap: 0.55rem; font-size: 0.92rem; color: rgba(234,243,244,0.82); margin-bottom: 0.7rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; color: var(--amber-400); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(234,243,244,0.92); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(234,243,244,0.6);
}
.footer-bottom .footer-legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.footer-bottom a { color: rgba(234,243,244,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber-400); }

/* ---------- Icon sprite base ---------- */
svg.icon { display: block; flex: none; }
symbol { overflow: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; max-width: 540px; }
  .hero-floating.f1 { left: 2%; }
  .hero-floating.f2 { right: 2%; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .step .step-arrow { display: none; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band .btn-group { justify-content: flex-start; }
  .amc-card { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem var(--gutter) 1.4rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav-list a { padding: 0.85rem 0.7rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
  }
  .nav-phone { justify-content: center; padding: 0.3rem 0; }
  .nav-phone small { display: none; }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-card-foot { grid-template-columns: 1fr; }
  .hero-floating { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
