/* ==========================================================================
   Dubai Villa Care — villa maintenance & property care, Dubai
   One cohesive, hand-written stylesheet. Mobile-first, responsive.
   Palette: deep petrol teal + warm brass + sand off-white + ink-green.
   Type: Fraunces (display) · Hanken Grotesk (body) · IBM Plex Mono (labels)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --teal-900: #072724;
  --teal-800: #0f3d3a;
  --teal-700: #15514c;
  --teal-600: #1b6b66;
  --teal-400: #4f9d97;
  --teal-200: #a9d2ce;

  --brass-700: #8a6722;
  --brass-600: #b0852f;
  --brass-500: #c49a45;
  --brass-400: #d8b566;
  --brass-300: #e8ce93;

  --sand-000: #fdfbf6;
  --sand-100: #f8f3ea;
  --sand-200: #f1e9d8;
  --clay-200: #e9dfca;

  --ink: #0a1f1b;
  --ink-2: #14342e;
  --ink-3: #46625c;
  --ink-soft: #6b8580;

  --white: #ffffff;
  --line: rgba(10, 31, 27, 0.12);
  --line-strong: rgba(10, 31, 27, 0.22);
  --line-light: rgba(255, 255, 255, 0.16);

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Menlo", "Consolas", monospace;

  --fs-eyebrow: 0.76rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.2rem;
  --fs-h3: clamp(1.2rem, 2.4vw, 1.4rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.4rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.4rem);
  --fs-display: clamp(2.6rem, 6.2vw, 4.4rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 27, 0.06), 0 2px 8px rgba(10, 31, 27, 0.05);
  --shadow: 0 6px 24px rgba(10, 31, 27, 0.10);
  --shadow-lg: 0 22px 60px rgba(7, 39, 36, 0.22);

  --container: 1180px;
  --container-narrow: 880px;

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* { margin: 0; }

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

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

img, svg { display: block; max-width: 100%; }
svg { fill: none; }
a { color: var(--teal-700); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brass-600); }
ul, ol { padding-left: 1.1rem; }
li + li { margin-top: 0.35rem; }
:focus-visible {
  outline: 3px solid var(--brass-400);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 96;
}

p { text-wrap: pretty; }

::selection { background: var(--brass-300); color: var(--teal-900); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--sand-100); }
.section--dark { background: var(--teal-800); color: var(--sand-000); }
.section--darker { background: var(--teal-900); color: var(--sand-000); }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--darker h1,
.section--darker h2,
.section--darker h3 { color: var(--white); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-600);
}
.section--dark .eyebrow,
.section--darker .eyebrow { color: var(--brass-300); }
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-head.center .eyebrow::before { display: none; }

.section-title { font-size: var(--fs-h2); margin-top: 0.7rem; }
.section-lead { margin-top: 1rem; font-size: var(--fs-lead); color: var(--ink-3); max-width: 56ch; }
.section--dark .section-lead,
.section--darker .section-lead { color: var(--teal-200); }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.4em;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--teal-700); --btn-fg: var(--white); }
.btn-primary:hover { --btn-bg: var(--teal-800); box-shadow: var(--shadow); }
.btn-brass { --btn-bg: var(--brass-500); --btn-fg: var(--teal-900); }
.btn-brass:hover { --btn-bg: var(--brass-400); box-shadow: 0 10px 28px rgba(196, 154, 69, 0.4); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--teal-900); }
.btn-light:hover { --btn-bg: var(--sand-100); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--teal-800); border-color: var(--line-strong); }
.btn-outline:hover { --btn-bg: var(--teal-800); --btn-fg: var(--white); border-color: var(--teal-800); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: var(--line-light); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn-whatsapp:hover { --btn-bg: var(--whatsapp-dark); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.36); }
.btn-sm { padding: 0.62em 1.05em; font-size: 0.92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn-row .text-link { margin-left: 0.4rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 600;
  color: var(--teal-700);
}
.text-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.text-link:hover { color: var(--brass-600); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(253, 251, 246, 0.97); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--teal-800);
  border-radius: 10px;
  color: var(--brass-400);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-accent { color: var(--brass-600); }

.nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--brass-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav-link:hover { color: var(--teal-800); background: rgba(15, 61, 58, 0.05); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--teal-800); font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--teal-800);
  font-size: 0.98rem;
}
.header-phone svg { width: 1.05rem; height: 1.05rem; color: var(--brass-600); }
.header-phone:hover { color: var(--brass-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 85% -10%, #1b6b66 0%, var(--teal-800) 42%, var(--teal-900) 100%);
  color: var(--sand-000);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(40% 50% at 90% 8%, rgba(196, 154, 69, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero .eyebrow { color: var(--brass-300); }
.hero-title {
  font-size: var(--fs-display);
  color: var(--white);
  margin-top: 1rem;
  line-height: 1.04;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--brass-300);
}
.hero-sub {
  margin-top: 1.3rem;
  font-size: var(--fs-lead);
  max-width: 50ch;
  color: var(--teal-200);
}
.hero-actions { margin-top: 2rem; }
.hero-trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--teal-200);
}
.hero-trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-400);
  display: inline-block;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  backdrop-filter: blur(4px);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
}
.hero-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-300);
}
.hero-card-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-200);
  border: 1px solid var(--line-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}
.service-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.service-index li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.service-index li:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-light); }
.service-index code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--teal-900);
  background: var(--brass-400);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.service-index .si-name { font-weight: 500; color: var(--white); font-size: 0.96rem; }
.service-index .si-dot { margin-left: auto; color: var(--brass-400); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Service cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass-500), var(--brass-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .sc-top { display: flex; align-items: center; justify-content: space-between; }
.service-card .sc-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--sand-100);
  border-radius: 12px;
  color: var(--teal-700);
}
.service-card .sc-icon svg { width: 26px; height: 26px; }
.service-card code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brass-700);
  background: var(--sand-200);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}
.service-card h3 { font-size: var(--fs-h3); }
.service-card p { color: var(--ink-3); font-size: 0.98rem; }
.service-card .sc-link { margin-top: auto; }

/* ---------- Feature / value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.value {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.value .v-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--brass-300);
  margin-bottom: 1rem;
}
.value .v-icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.value p { color: var(--ink-3); font-size: 0.96rem; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.process-step {
  position: relative;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}
.section--alt .process-step { border-color: var(--line); }
.process-step .ps-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brass-600);
  display: block;
  margin-bottom: 0.7rem;
}
.process-step h3 { font-size: 1.22rem; color: var(--white); margin-bottom: 0.4rem; }
.section--alt .process-step h3 { color: var(--ink); }
.process-step p { color: var(--teal-200); font-size: 0.98rem; }
.section--alt .process-step p { color: var(--ink-3); }

/* ---------- Areas chips ---------- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.area-tags li {
  list-style: none;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.area-tags li:hover {
  border-color: var(--brass-400);
  color: var(--teal-800);
  transform: translateY(-2px);
}

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split-reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-800);
  border: 1px solid var(--line);
  min-height: 280px;
}
.split-body h2 { font-size: var(--fs-h2); margin: 0.7rem 0 1rem; }
.split-body p { color: var(--ink-3); margin-bottom: 1rem; }
.split-body p:last-child { margin-bottom: 0; }
.split-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.65rem; }
.split-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink-2);
}
.split-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.85rem; height: 0.85rem;
  border-radius: 50%;
  background: var(--brass-400);
  box-shadow: inset 0 0 0 3px var(--sand-000), 0 0 0 1px var(--brass-500);
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .faq-icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--teal-700);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.faq-item[open] .faq-q .faq-icon { transform: rotate(45deg); background: var(--brass-400); color: var(--teal-900); }
.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-3);
}
.faq-a p + p { margin-top: 0.75rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--brass-300);
  line-height: 1;
}
.stat .stat-label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-200);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-800), var(--teal-900));
  color: var(--sand-000);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(196, 154, 69, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); font-size: var(--fs-h2); }
.cta-band p { color: var(--teal-200); margin-top: 0.6rem; max-width: 48ch; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.field label .req { color: var(--brass-600); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.78rem 0.9rem;
  background: var(--sand-100);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal-600);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- Contact info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-methods { display: grid; gap: 1rem; }
.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-method:hover { border-color: var(--brass-400); transform: translateY(-2px); }
.contact-method .cm-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--brass-300);
}
.contact-method .cm-icon svg { width: 22px; height: 22px; }
.contact-method h3 { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
.contact-method .cm-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.contact-method a { color: var(--ink); }
.contact-method a:hover { color: var(--brass-600); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.hours-table th { font-weight: 500; color: var(--ink-2); }
.hours-table td { color: var(--ink-3); text-align: right; font-family: var(--font-mono); font-size: 0.9rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: radial-gradient(120% 130% at 85% -10%, #1b6b66 0%, var(--teal-800) 45%, var(--teal-900) 100%);
  color: var(--sand-000);
  padding-block: clamp(2.8rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(38% 50% at 92% 8%, rgba(196, 154, 69, 0.2), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: var(--fs-h1); margin-top: 0.9rem; max-width: 18ch; }
.page-hero p { color: var(--teal-200); margin-top: 1rem; max-width: 56ch; font-size: var(--fs-lead); }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--teal-200); }
.breadcrumb a { color: var(--brass-300); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--sand-000); }

/* ---------- Rich service sections (services.html) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block-head { position: sticky; top: calc(var(--header-h) + 1rem); }
.sb-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brass-700);
  background: var(--sand-200);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
}
.service-block h2 { font-size: var(--fs-h2); display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.service-block h2 .sb-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--teal-800);
  color: var(--brass-300);
  border-radius: 12px;
  flex-shrink: 0;
}
.service-block h2 .sb-icon svg { width: 24px; height: 24px; }
.service-block .sb-lead { margin-top: 0.9rem; color: var(--ink-3); font-size: 1.05rem; }
.sb-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 1.4rem 0 0.7rem;
}
.sb-features { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.sb-features li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.sb-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.7rem; height: 0.7rem;
  border: 2px solid var(--brass-500);
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brass-400), transparent);
}
.sb-callout {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--sand-100);
  border-left: 3px solid var(--brass-500);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  color: var(--ink-2);
}
.sb-callout strong { color: var(--teal-800); }

/* ---------- Affiliation band ---------- */
.affiliate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.affiliate-mark {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--teal-800);
  border-radius: 16px;
  color: var(--brass-300);
}
.affiliate-mark svg { width: 34px; height: 34px; }
.affiliate h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.affiliate p { color: var(--ink-3); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: var(--teal-200);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { margin-top: 1rem; font-size: 0.96rem; max-width: 34ch; }
.footer-contact { margin-top: 1.2rem; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--teal-200); }
.footer-contact a:hover { color: var(--brass-300); }
.footer-contact svg { width: 1rem; height: 1rem; color: var(--brass-400); }
.footer-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--teal-200); font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer-bottom p { color: var(--teal-200); opacity: 0.8; }
.footer-small { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.list-soft { color: var(--ink-3); }
.lead { font-size: var(--fs-lead); color: var(--ink-3); }
.skip-link {
  position: absolute;
  left: 1rem; top: -120%;
  background: var(--teal-800);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { top: 1rem; }

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

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav panel */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand-000);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.6rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
    margin-left: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  }
  .nav.open {
    display: flex;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--brass-600); }

  .hero-grid { grid-template-columns: 1fr; padding-block: clamp(2.4rem, 7vw, 3.5rem); }
  .hero-visual { order: -1; }
  .split, .split-reverse .split-media { order: 0; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block-head { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .affiliate { grid-template-columns: 1fr; text-align: left; }
  .affiliate-mark { width: 54px; height: 54px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-phone-label { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}

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