/* ==========================================================================
   Dubai Flat Fix — styles.css
   Same-day flat, apartment & villa repair across Dubai.
   Palette: deep petrol-teal + warm amber on warm paper.
   Type:    Sora (display) · Inter (body) · IBM Plex Mono (utility/dispatch)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink:        #0F242B;   /* near-black petrol ink — text + dark surfaces */
  --petrol:     #0B3D49;   /* primary brand — deep teal/petrol */
  --petrol-2:   #0E4A58;   /* lighter petrol for gradients/panels */
  --teal:       #166873;   /* mid teal — links, icons, accents */
  --teal-soft:  #2F8A95;   /* lighter teal — hovers */
  --amber:      #E8821C;   /* primary action accent — urgency/CTA */
  --amber-deep: #C4670E;   /* amber hover/active */
  --amber-soft: #F6C667;   /* light amber — highlights, pills */
  --paper:      #F6F4EE;   /* warm paper background */
  --paper-2:    #FBFAF6;   /* lighter paper */
  --mist:       #E7EEEF;   /* cool light surface — alt sections/cards */
  --line:       #D9DEDF;   /* hairline borders */
  --line-warm:  #E4DED2;   /* warm hairline on paper */
  --muted:      #5B6B70;   /* secondary text on light */
  --muted-2:    #9AA7AB;   /* tertiary text */
  --on-dark:    #EAF1F2;   /* secondary text on dark */
  --white:      #FFFFFF;
  --whatsapp:   #25D366;   /* WhatsApp brand green — WhatsApp buttons only */
  --whatsapp-d: #1EBE5A;

  /* Type families */
  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Type scale (clamp = fluid) */
  --fs-h1:   clamp(2.35rem, 1.5rem + 3.6vw, 4.1rem);
  --fs-h2:   clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem);
  --fs-h3:   clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --fs-body: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.78rem;

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

  /* Radii */
  --r-sm: 6px;  --r-md: 12px;  --r-lg: 20px;  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 36, 43, 0.06), 0 2px 6px rgba(15, 36, 43, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 36, 43, 0.10), 0 2px 6px rgba(15, 36, 43, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 36, 43, 0.22);

  --container: 1180px;
  --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; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  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%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber-deep); }
ul, ol { padding-left: 1.1rem; }
li { margin-block: 0.25rem; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { color: var(--ink); }
p + p { margin-top: var(--sp-4); }

strong { font-weight: 600; color: var(--ink); }
em { font-style: normal; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.mono { font-family: var(--f-mono); }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }
.on-dark, .on-dark p, .on-dark li { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: var(--white); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Eyebrow — the mono "dispatch" micro-label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-mono); font-size: var(--fs-xs);
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }
.on-dark .eyebrow { color: var(--amber-soft); }

/* Section primitives */
.section { padding-block: clamp(3.25rem, 2rem + 5vw, 5.5rem); }
.section--mist { background: var(--mist); }
.section--petrol { background: var(--petrol); }
.section--paper2 { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-4); }
.section-head h2 { margin-top: var(--sp-3); }
.h-after-eyebrow { margin-top: var(--sp-3); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--f-body); font-weight: 600; font-size: 0.97rem;
  line-height: 1; padding: 0.95em 1.4em; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), background .2s var(--ease),
              color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(232, 130, 28, 0.7); }
.btn--primary:hover { background: var(--amber-deep); color: var(--white); }

.btn--whatsapp { background: var(--whatsapp); color: #06280f; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.65); }
.btn--whatsapp:hover { background: var(--whatsapp-d); color: #fff; }

.btn--ghost-light { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-light:hover { border-color: var(--ink); background: rgba(15,36,43,0.04); transform: translateY(-2px); }

.btn--ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

.btn--light { background: var(--white); color: var(--petrol); }
.btn--light:hover { background: var(--mist); color: var(--petrol); }

.btn--block { display: flex; width: 100%; }
.btn--lg { font-size: 1.06rem; padding: 1.05em 1.7em; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; color: var(--teal); font-size: 0.95rem;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--amber-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 238, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-warm);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--amber) 0%, var(--amber-deep) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 10px -3px rgba(232,130,28,0.6);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text {
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: -0.02em; line-height: 1;
}
.brand-text em { color: var(--amber-deep); font-style: normal; }
.brand-sub {
  display: block; font-family: var(--f-mono); font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px; font-weight: 500;
}

.primary-nav { display: flex; gap: 0.35rem; margin-inline: auto; }
.primary-nav a {
  position: relative; color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 0.55em 0.85em; border-radius: var(--r-sm);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.85em; right: 0.85em; bottom: 0.3em;
  height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.primary-nav a:hover { color: var(--ink); background: rgba(15,36,43,0.05); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--petrol); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); flex: none; }
.header-phone {
  display: inline-flex; flex-direction: column; line-height: 1.15; text-align: right;
  color: var(--ink); padding-right: var(--sp-4); border-right: 1px solid var(--line-warm);
}
.header-phone:hover { color: var(--amber-deep); }
.header-phone .mono {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.header-phone .num { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.75rem, 1rem + 6vw, 5.5rem) clamp(2.5rem, 1rem + 4vw, 4.5rem); overflow: hidden; }
.hero::before {
  /* faint grid / blueprint texture */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,36,43,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,36,43,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero h1 { margin-top: var(--sp-5); }
.hero h1 .accent { color: var(--amber-deep); }
.hero-lead { margin-top: var(--sp-5); max-width: 46ch; }
.hero-cta { margin-top: var(--sp-6); }
.hero-microtrust {
  margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  padding-top: var(--sp-5); border-top: 1px solid var(--line-warm);
}
.hero-microtrust li { list-style: none; display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.hero-microtrust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* ---------- Dispatch ticket (signature element) ---------- */
.dispatch {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transform: rotate(0.6deg);
}
.dispatch::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-soft) 100%);
}
.dispatch-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-bottom: 1px dashed var(--line);
}
.dispatch-bar .ttl {
  font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--petrol);
}
.dispatch-bar .id { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--muted-2); }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45em 0.85em; border-radius: var(--r-pill);
  background: rgba(37, 211, 102, 0.14); color: #146c34;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .status-pill .dot { animation: none; } }

.dispatch-body { padding: var(--sp-5); }
.dispatch-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem;
  padding-block: var(--sp-3); border-bottom: 1px dashed var(--line);
}
.dispatch-row:last-of-type { border-bottom: 0; }
.dispatch-row .k {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
}
.dispatch-row .v { font-weight: 600; font-size: 0.95rem; color: var(--ink); text-align: right; }
.dispatch-row .v small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.dispatch-progress {
  height: 7px; border-radius: var(--r-pill); background: var(--mist); overflow: hidden; margin-top: 0.5rem;
}
.dispatch-progress > span { display: block; height: 100%; width: 72%;
  background: linear-gradient(90deg, var(--teal), var(--whatsapp)); border-radius: inherit; }
.dispatch-foot {
  display: flex; align-items: center; gap: 0.65rem; padding: var(--sp-4) var(--sp-5);
  background: var(--paper-2); font-size: var(--fs-sm); color: var(--muted);
  border-top: 1px solid var(--line);
}
.dispatch-foot svg { width: 16px; height: 16px; color: var(--amber-deep); flex: none; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--petrol); color: var(--on-dark); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding-block: var(--sp-6);
}
.trust-item {
  padding-inline: var(--sp-5); border-left: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.trust-item:first-child { border-left: 0; }
.trust-item .num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem);
  color: var(--white); letter-spacing: -0.03em; line-height: 1;
}
.trust-item .num em { color: var(--amber-soft); font-style: normal; }
.trust-item .lbl {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber-soft); font-weight: 500;
}
.trust-item .desc { font-size: 0.88rem; color: var(--on-dark); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--sp-5);
}
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .ico {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: var(--petrol);
  background: linear-gradient(150deg, var(--mist), #dCe8e9);
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; }
.service-card .when {
  margin-top: auto; font-family: var(--f-mono); font-size: var(--fs-xs);
  letter-spacing: 0.04em; color: var(--muted); padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.service-card .when strong { color: var(--amber-deep); font-weight: 600; }

/* ---------- Why-us / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-6); }
.pillar { display: flex; flex-direction: column; gap: var(--sp-3); }
.pillar .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--amber-deep);
  box-shadow: var(--shadow-sm);
}
.pillar .ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.2rem; }
.pillar p { color: var(--muted); }

/* ---------- Numbered process ---------- */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-5); counter-reset: step; }
.step {
  position: relative; padding: var(--sp-5); padding-top: var(--sp-6);
  border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line-warm);
}
.step .step-num {
  font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.16em; color: var(--amber-deep);
}
.step h3 { margin-top: var(--sp-2); font-size: 1.15rem; }
.step p { margin-top: var(--sp-2); color: var(--muted); font-size: 0.95rem; }
.step .big-num {
  font-family: var(--f-display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: var(--mist); position: absolute; top: 0.4rem; right: 1rem; letter-spacing: -0.04em;
}

/* ---------- Service-area tags ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.area-tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.9rem; font-weight: 500; color: var(--petrol);
  background: var(--white); border: 1px solid var(--line);
  padding: 0.55em 1em; border-radius: var(--r-pill); transition: all .18s var(--ease);
}
.area-tag:hover { background: var(--petrol); color: var(--white); border-color: var(--petrol); transform: translateY(-2px); }
.area-tag svg { width: 14px; height: 14px; opacity: 0.7; }
.area-intro { color: var(--muted); max-width: 60ch; margin-bottom: var(--sp-5); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 820px; }
.faq-list.center { margin-inline: auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item.is-open { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: var(--sp-4); text-align: left;
  background: transparent; border: 0; padding: var(--sp-4) var(--sp-5);
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q .q-tag {
  font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--amber-deep);
  letter-spacing: 0.1em; flex: none; width: 2.2em;
}
.faq-q .q-text { flex: 1; }
.faq-q .q-icon {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--mist); color: var(--petrol); transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-item.is-open .q-icon { transform: rotate(45deg); background: var(--amber); color: var(--white); }
.faq-q .q-icon svg { width: 14px; height: 14px; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + 2.2em); color: var(--muted); }
.faq-a-inner p + p { margin-top: var(--sp-3); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--petrol); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background:
    radial-gradient(circle at 88% 20%, rgba(232,130,28,0.32), transparent 42%),
    radial-gradient(circle at 8% 90%, rgba(47,138,149,0.45), transparent 45%);
}
.cta-band-inner { padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); display: grid; grid-template-columns: 1.4fr auto; gap: var(--sp-6); align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark); margin-top: var(--sp-3); max-width: 52ch; }
.cta-band .btn-group { justify-content: flex-end; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--petrol); color: var(--on-dark); position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  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: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 80% 10%, #000 25%, transparent 70%);
          mask-image: radial-gradient(ellipse 90% 80% at 80% 10%, #000 25%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: var(--on-dark); margin-top: var(--sp-4); max-width: 60ch; }
.page-hero .eyebrow { color: var(--amber-soft); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: var(--sp-4); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5em; }
.breadcrumbs li::after { content: "/"; opacity: 0.5; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--amber-soft); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current="page"] { color: var(--on-dark); opacity: 0.8; }

/* ---------- Services page: rich service blocks ---------- */
.service-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start; padding-block: var(--sp-7); border-bottom: 1px solid var(--line-warm);
}
.service-block:first-of-type { padding-top: 0; }
.service-block:last-of-type { border-bottom: 0; }
.service-block .visual {
  background: var(--petrol); border-radius: var(--r-lg); padding: var(--sp-6);
  position: sticky; top: calc(var(--header-h) + 1rem); color: var(--on-dark);
  background-image: linear-gradient(150deg, var(--petrol-2), var(--petrol));
  overflow: hidden;
}
.service-block .visual::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000 20%, transparent 65%);
          mask-image: radial-gradient(circle at 80% 20%, #000 20%, transparent 65%);
}
.service-block .visual > * { position: relative; z-index: 1; }
.service-block .visual .ico {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.1);
  display: grid; place-items: center; color: var(--amber-soft); margin-bottom: var(--sp-4);
}
.service-block .visual h3 { color: var(--white); }
.service-block .visual .code { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--amber-soft); letter-spacing: 0.14em; }
.service-block .visual p { color: var(--on-dark); margin-top: var(--sp-3); font-size: 0.95rem; }
.service-block .body h3 { font-size: 1.6rem; }
.service-block .body h3 .num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--amber-deep); letter-spacing: 0.14em; display: block; margin-bottom: 0.4rem; font-weight: 600; }
.service-block .body .lead { margin-top: var(--sp-3); margin-bottom: var(--sp-5); }
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.feature-col h4 {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--amber);
  font-weight: 600;
}
.feature-col ul { list-style: none; padding: 0; }
.feature-col li {
  position: relative; padding-left: 1.6rem; font-size: 0.94rem; color: var(--muted); margin-block: 0.45rem;
}
.feature-col li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
}
.service-cta { margin-top: var(--sp-5); }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split + .split { margin-top: clamp(2.5rem, 5vw, 4rem); }
.story-card {
  background: linear-gradient(150deg, var(--petrol-2), var(--petrol));
  border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.5rem); color: var(--on-dark);
  position: relative; overflow: hidden;
}
.story-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  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: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 15%, #000 25%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 60% at 85% 15%, #000 25%, transparent 70%);
}
.story-card > * { position: relative; z-index: 1; }
.story-card .stat-row { display: flex; gap: var(--sp-5); margin-top: var(--sp-5); flex-wrap: wrap; }
.story-card .stat-row .s .n { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; color: var(--white); letter-spacing: -0.03em; }
.story-card .stat-row .s .l { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-soft); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5);
}
.value-card .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--mist); display: grid; place-items: center; color: var(--amber-deep); margin-bottom: var(--sp-3); }
.value-card .ico svg { width: 24px; height: 24px; }

.affiliate-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-5); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--amber);
  border-radius: var(--r-md); padding: var(--sp-5);
}
.affiliate-card .mark {
  width: 56px; height: 56px; border-radius: 14px; background: var(--petrol);
  display: grid; place-items: center; color: var(--amber-soft); flex: none;
}
.affiliate-card .mark svg { width: 30px; height: 30px; }
.affiliate-card h3 { font-size: 1.2rem; }
.affiliate-card p { color: var(--muted); font-size: 0.94rem; margin-top: var(--sp-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: var(--sp-4); }
.channel {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.channel .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.channel .ico svg { width: 24px; height: 24px; }
.channel .ico.tel { background: rgba(232,130,28,0.14); color: var(--amber-deep); }
.channel .ico.wa { background: rgba(37,211,102,0.14); color: #146c34; }
.channel .ico.mail { background: rgba(22,104,115,0.14); color: var(--teal); }
.channel .ico.clock { background: rgba(22,104,115,0.14); color: var(--teal); }
.channel .k { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.channel .v { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-top: 0.15rem; letter-spacing: -0.01em; }
.channel .sub { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { margin-bottom: var(--sp-4); display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field label .req { color: var(--amber-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.97rem; color: var(--ink);
  padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper-2); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,130,28,0.18); background: var(--white);
}
.form-note { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-3); }
.form-note .mono { color: var(--amber-deep); }
.form-disclaimer {
  margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); background: var(--mist);
  border-radius: var(--r-sm); font-size: 0.82rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start;
}
.form-disclaimer svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 2px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--muted); }
.hours-table td.right { text-align: right; font-family: var(--f-mono); font-weight: 500; color: var(--petrol); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .today { color: var(--amber-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: var(--sp-7);
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { color: var(--on-dark); margin-top: var(--sp-4); font-size: 0.92rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-soft); margin-bottom: var(--sp-4); font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--on-dark); font-size: 0.93rem; }
.footer-col a:hover { color: var(--amber-soft); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--on-dark); font-size: 0.93rem; margin-bottom: 0.6rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--amber-soft); flex: none; margin-top: 3px; }
.footer-contact a { color: var(--on-dark); }

.footer-affiliate {
  border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--sp-5);
}
.footer-affiliate .container { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); align-items: center; justify-content: space-between; }
.footer-affiliate .lbl { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-soft); }
.footer-affiliate .txt { color: var(--on-dark); font-size: 0.93rem; }
.footer-affiliate .txt a { color: var(--white); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-affiliate .txt a:hover { color: var(--amber-soft); border-color: var(--amber-soft); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between;
  padding-block: var(--sp-5); font-size: 0.83rem; color: var(--muted-2);
}
.footer-bottom .links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--amber-soft); }
.footer-bottom .made { font-family: var(--f-mono); letter-spacing: 0.08em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero .dispatch { max-width: 460px; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band .btn-group { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block .visual { position: static; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-phone { display: none; }
  .header-cta { gap: var(--sp-2); }
  .header-cta .btn { padding: 0.65em 1em; font-size: 0.85rem; }
  .brand-sub { font-size: 0.55rem; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: var(--sp-4) var(--sp-5) var(--sp-6);
    transform: translateY(-130%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow-md); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav a { padding: 0.9em 0.5em; border-bottom: 1px solid var(--line-warm); font-size: 1.05rem; }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { background: rgba(232,130,28,0.08); }
  /* mobile nav CTA inside the menu */
  .primary-nav .nav-cta-mobile { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); }
}

@media (max-width: 620px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5) 0; }
  .trust-item:nth-child(3) { border-left: 0; padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.12); }
  .trust-item:nth-child(4) { padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.12); }
  .form-row { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .affiliate-card { grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .dispatch { transform: none; }
  .hero-microtrust { gap: 1rem; }
}

@media (max-width: 420px) {
  .container { padding-inline: var(--sp-4); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
