/* ==========================================================================
   Dubai Home Care Services — styles.css
   Desert-modern "service manual" aesthetic.
   Palette: espresso · brass · Arabian-Gulf teal · warm limestone neutrals.
   Type:    Fraunces (display) · Manrope (body) · IBM Plex Mono (spec labels)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --espresso:        #1b1410;
  --espresso-soft:   #271d17;
  --espresso-mute:   #3a2e25;
  --ink:             #2b2620;
  --ink-2:           #635a50;
  --ink-3:           #8a8074;
  --brass:           #b98a3e;
  --brass-bright:    #d2a455;
  --brass-deep:      #8a6526;
  --gulf:            #0f5752;
  --gulf-deep:       #0a3f3b;
  --gulf-bright:     #1a756f;
  --limestone:       #f4eee3;
  --limestone-2:     #efe7d8;
  --paper:           #fbf8f3;
  --sand:            #e7dcc8;
  --sand-deep:       #d6c6a9;
  --line:            rgba(27, 20, 16, 0.12);
  --line-strong:     rgba(27, 20, 16, 0.22);
  --line-light:      rgba(255, 255, 255, 0.14);
  --white:           #ffffff;
  --whatsapp:        #25d366;
  --whatsapp-deep:   #1da851;

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.10rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.30rem + 1.0vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.60rem + 1.8vw, 3rem);
  --step-4:  clamp(2.5rem, 1.90rem + 3.0vw, 4.4rem);
  --step-5:  clamp(3rem, 2.10rem + 4.6vw, 6rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  --space-8: 7rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgba(27,20,16,0.06), 0 4px 14px rgba(27,20,16,0.06);
  --shadow-2: 0 8px 30px rgba(27,20,16,0.10);
  --shadow-3: 0 18px 60px rgba(27,20,16,0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gulf); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brass-deep); }
ul, ol { padding-left: 1.1rem; }
li::marker { color: var(--brass); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, var(--space-8)); }
.section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-limestone { background: var(--limestone); }
.bg-paper { background: var(--paper); }
.bg-espresso { background: var(--espresso); color: var(--limestone); }
.bg-gulf { background: var(--gulf); color: var(--paper); }
.center { text-align: center; }
.flow > * + * { margin-top: var(--flow-space, 1rem); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--espresso); letter-spacing: -0.015em; overflow-wrap: break-word; }
h1 { font-size: var(--step-4); font-weight: 560; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 580; }
h4 { font-size: var(--step-1); font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; }
.bg-espresso h1, .bg-espresso h2, .bg-espresso h3,
.bg-gulf h1, .bg-gulf h2, .bg-gulf h3 { color: var(--paper); }
p { max-width: 68ch; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.bg-espresso .lead, .bg-gulf .lead { color: rgba(251,248,243,0.82); }

/* Eyebrow — a "ticket stub" label, the signature mono motif */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: var(--space-3);
}
.bg-espresso .eyebrow, .bg-gulf .eyebrow { color: var(--brass-bright); }
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: 0.7; flex: none;
}
.eyebrow.no-rule::before { display: none; }

.section-head { max-width: 70ch; margin-bottom: var(--space-6); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head .lead { margin-inline: auto; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-2); }
.bg-espresso .muted, .bg-gulf .muted { color: rgba(251,248,243,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-0);
  line-height: 1; letter-spacing: 0.01em;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gulf); color: var(--paper); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--gulf-deep); color: var(--paper); box-shadow: var(--shadow-2); }
.btn-brass { background: var(--brass); color: var(--espresso); box-shadow: var(--shadow-1); }
.btn-brass:hover { background: var(--brass-bright); color: var(--espresso); box-shadow: var(--shadow-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--espresso); color: var(--espresso); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--espresso); }
.btn-light:hover { background: var(--white); color: var(--espresso); }
.btn-outline-light { background: transparent; color: var(--paper); border: 1.5px solid var(--line-light); }
.btn-outline-light:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.btn-call { background: var(--espresso); color: var(--paper); }
.btn-call:hover { background: var(--espresso-soft); color: var(--paper); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-1); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); color: #fff; box-shadow: var(--shadow-2); }
.btn-lg { padding: 1.1em 1.9em; font-size: var(--step-1); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.header-inner {
  display: flex; align-items: center; gap: var(--space-4);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--espresso); flex: none; }
.brand:hover { color: var(--espresso); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--brass-bright);
  flex: none;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-deep); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.main-nav a {
  display: inline-block; padding: 0.55em 0.9em;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink); border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--gulf); background: rgba(15,87,82,0.07); }
.main-nav a[aria-current="page"] { color: var(--gulf); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.9em; right: 0.9em; bottom: 0.35em;
  height: 2px; background: var(--brass); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.92rem;
  color: var(--espresso); padding: 0.6em 1em; border: 1.5px solid var(--line-strong); border-radius: 999px;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.header-phone:hover { border-color: var(--espresso); background: var(--espresso); color: var(--paper); }
.header-phone svg { width: 1em; height: 1em; color: var(--brass-deep); }
.header-phone:hover svg { color: var(--brass-bright); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--espresso); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(185,138,62,0.14), transparent 60%),
    radial-gradient(60% 50% at 0% 30%, rgba(15,87,82,0.10), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--limestone) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: var(--space-3); }
.hero h1 .accent { font-style: italic; color: var(--gulf); font-weight: 480; }
.hero .lead { margin-bottom: var(--space-5); font-size: var(--step-1); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem var(--space-5);
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta .v { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--espresso); }

/* The signature: service ticket / job card */
.ticket {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 0;
  overflow: hidden;
}
.ticket-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.3rem;
  background: var(--espresso); color: var(--limestone);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.ticket-top .pulse { display: inline-flex; align-items: center; gap: 0.5em; color: var(--brass-bright); }
.ticket-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brass-bright); box-shadow: 0 0 0 0 rgba(210,164,85,0.7); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(210,164,85,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(210,164,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(210,164,85,0); }
}
.ticket-body { padding: 1.3rem; }
.ticket-row {
  display: grid; grid-template-columns: 0.6fr 1fr; gap: 0.5rem 1rem;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row .lbl { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.ticket-row .val { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.ticket-row .val .tag { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; padding: 0.15em 0.6em; border-radius: 999px; background: rgba(37,211,102,0.14); color: var(--whatsapp-deep); letter-spacing: 0.04em; }
.ticket-foot {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1.3rem;
  background: var(--limestone-2); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-2);
}
.ticket-foot svg { width: 16px; height: 16px; color: var(--gulf); flex: none; }

/* ---------- Service grid ---------- */
.grid { display: grid; gap: var(--space-3); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--sand-deep); }
.service-card .svc-num {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  color: var(--brass-deep); margin-bottom: 0.9rem; display: block;
}
.service-card .svc-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--limestone); color: var(--gulf); margin-bottom: 1rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .svc-icon { background: var(--gulf); color: var(--paper); }
.service-card .svc-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1rem; }
.service-card .svc-link {
  margin-top: auto; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gulf); display: inline-flex; align-items: center; gap: 0.4em;
}
.service-card .svc-link::after { content: "→"; transition: transform .25s var(--ease); }
.service-card:hover .svc-link { color: var(--brass-deep); }
.service-card:hover .svc-link::after { transform: translateX(4px); }

/* Feature / why cards (icon + title + text) */
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: var(--space-3) 0;
}
.feature .f-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--limestone); color: var(--brass-deep); display: grid; place-items: center; }
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: 0.25rem; }
.feature p { font-size: 0.94rem; color: var(--ink-2); }
.feature-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }

/* ---------- Process steps (numbered — real sequence) ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.step { position: relative; padding: 1.5rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--brass-deep); display: block; margin-bottom: 0.7rem;
}
.step h4 { margin-bottom: 0.35rem; }
.step p { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.stat { text-align: center; padding: var(--space-3); border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); color: var(--brass-bright); line-height: 1; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(251,248,243,0.72); margin-top: 0.6rem; }

/* ---------- Service areas (GEO) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem 1.5rem; list-style: none; padding: 0; }
.areas-grid li {
  font-size: 0.95rem; color: var(--limestone);
  padding: 0.5rem 0; border-bottom: 1px solid var(--line-light);
  display: flex; align-items: center; gap: 0.5em;
}
.areas-grid li::before { content: "▸"; color: var(--brass-bright); font-size: 0.8em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(185,138,62,0.30), transparent 55%),
    linear-gradient(135deg, var(--espresso) 0%, var(--gulf-deep) 100%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--brass-bright); }
.cta-band h2 { color: var(--paper); max-width: 18ch; }
.cta-band .lead { color: rgba(251,248,243,0.85); }
.cta-band-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--space-5); align-items: center; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item[open] { border-color: var(--sand-deep); box-shadow: var(--shadow-1); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--espresso);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--brass-deep); letter-spacing: 0.1em; margin-right: 0.6rem; flex: none; }
.faq-item summary .q-text { flex: 1; }
.faq-item summary .q-icon { width: 26px; height: 26px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.faq-item[open] summary .q-icon { transform: rotate(45deg); background: var(--gulf); color: var(--paper); border-color: var(--gulf); }
.faq-item .a { padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: none; }
.faq-item .a p + p { margin-top: 0.75rem; }

/* ---------- Rich service section (services.html) ---------- */
.svc-block { display: grid; grid-template-columns: 0.4fr 1.6fr; gap: var(--space-5); align-items: start; padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: none; padding-top: 0; }
.svc-block .svc-head { position: sticky; top: calc(var(--header-h) + 1rem); }
.svc-block .svc-head .svc-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brass-deep); }
.svc-block .svc-head h3 { margin-top: 0.4rem; }
.svc-block .svc-body h4 { color: var(--gulf); margin-bottom: 0.4rem; font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: 0.5rem; }
.svc-cols ul { list-style: none; padding: 0; }
.svc-cols li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; color: var(--ink-2); font-size: 0.96rem; }
.svc-cols li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 7px; height: 7px; border-radius: 2px; background: var(--brass); transform: rotate(45deg); }
.svc-when { margin-top: var(--space-3); padding: var(--space-3); background: var(--limestone); border-radius: var(--radius); border-left: 3px solid var(--gulf); }
.svc-when p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .c-icon { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--limestone); color: var(--gulf); display: grid; place-items: center; }
.contact-row .c-icon svg { width: 22px; height: 22px; }
.contact-row .lbl { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact-row .val { font-weight: 600; font-size: 1.05rem; color: var(--espresso); }
.contact-row .val a { color: var(--espresso); }
.contact-row .val a:hover { color: var(--gulf); }

/* Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-3); }
.field { margin-bottom: var(--space-3); }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.45rem; font-weight: 500; }
.field .req { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; background: var(--limestone);
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gulf); background: var(--paper);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-3); margin-top: var(--space-2); }
.form-success { display: none; padding: var(--space-3); background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.4); border-radius: var(--radius-sm); color: var(--gulf-deep); margin-top: var(--space-3); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 90% 10%, rgba(185,138,62,0.12), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--limestone) 100%);
}
.page-hero .lead { margin-top: var(--space-3); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: var(--space-3); display: flex; flex-wrap: wrap; gap: 0.5em; align-items: center; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--gulf); }
.breadcrumb .sep { color: var(--sand-deep); }
.breadcrumb [aria-current="page"] { color: var(--brass-deep); }

/* ---------- About specifics ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.value-card { padding: var(--space-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.value-card .v-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass-deep); letter-spacing: 0.12em; }
.value-card h4 { margin: 0.6rem 0 0.4rem; }
.value-card p { font-size: 0.94rem; color: var(--ink-2); }

.image-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--espresso); min-height: 380px;
  box-shadow: var(--shadow-2);
  display: grid; place-items: center;
}
.image-card.tall { min-height: 480px; }
.image-card svg { width: 100%; height: 100%; }
.image-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: rgba(27,20,16,0.78); backdrop-filter: blur(6px); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.image-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass-bright); }

/* Affiliation card */
.affil {
  display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap;
  padding: var(--space-4); background: var(--limestone); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.affil .affil-mark { width: 64px; height: 64px; border-radius: 14px; background: var(--espresso); color: var(--brass-bright); display: grid; place-items: center; flex: none; }
.affil .affil-mark svg { width: 34px; height: 34px; }
.affil h4 { margin-bottom: 0.3rem; }
.affil p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(251,248,243,0.72); padding-top: var(--space-7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-5); padding-bottom: var(--space-6); }
.footer-brand .brand-mark { background: transparent; border: 1px solid var(--brass); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-sub { color: var(--brass-bright); }
.footer-brand p { font-size: 0.92rem; color: rgba(251,248,243,0.65); margin-top: var(--space-3); max-width: 36ch; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: var(--space-3); font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(251,248,243,0.72); font-size: 0.93rem; }
.footer-col a:hover { color: var(--brass-bright); }
.footer-contact li { font-size: 0.9rem; color: rgba(251,248,243,0.7); display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brass-bright); flex: none; margin-top: 3px; }
.footer-affil { padding: var(--space-4) 0; border-top: 1px solid var(--line-light); }
.footer-affil .affil-inline { display: flex; flex-wrap: wrap; gap: 0.6em; align-items: center; font-size: 0.88rem; color: rgba(251,248,243,0.62); }
.footer-affil a { color: var(--brass-bright); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-4) 0; border-top: 1px solid var(--line-light); font-family: var(--font-mono); font-size: 0.76rem; color: rgba(251,248,243,0.5); }
.footer-bottom a { color: rgba(251,248,243,0.5); }
.footer-bottom a:hover { color: var(--brass-bright); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--espresso); color: var(--paper); padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-meta { gap: 1.2rem var(--space-4); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: var(--space-3); }
  .svc-block .svc-head { position: static; }
  .split { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
    margin: 0;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem; }
  .main-nav li { width: 100%; }
  .main-nav a { padding: 0.95em 1.4rem; border-radius: 0; font-size: 1rem; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: rgba(15,87,82,0.08); border-left: 3px solid var(--brass); padding-left: calc(1.4rem - 3px); }
  .header-phone { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-cols { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: var(--space-3); padding-top: var(--space-3); }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line-light); padding-top: var(--space-4); }
  .stat:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 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; }
  .ticket-top .dot { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .btn-row, .site-footer { display: none; }
  body { color: #000; background: #fff; }
}
