/* ==========================================================================
   Dubai Maintenance Pro — styles.css
   Gulf-grounded brand system: petrol + gold + sand, Sora/Manrope,
   Mashrabiya-inspired 8-point star motif. Mobile-first, no framework.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --petrol:        #0A3D4A;
  --petrol-700:    #0C4A5B;
  --petrol-900:    #072C36;
  --teal:          #0E6E7E;
  --teal-300:      #5EA7B4;
  --gold:          #D4A24E;
  --gold-600:      #BE8C36;
  --gold-300:      #E7C587;
  --sand:          #F6F1E7;
  --sand-200:      #EFE7D6;
  --paper:         #FBFAF6;
  --ink:           #14272E;
  --slate:         #475A63;
  --slate-400:     #8A9AA1;
  --mist:          #EAF1F2;
  --line:          #E3DECF;
  --line-cool:     #DCE6E8;
  --whatsapp:      #25D366;
  --whatsapp-600:  #1CA854;
  --white:         #ffffff;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-hero:   clamp(2.55rem, 6vw, 4.5rem);
  --fs-h2:     clamp(1.95rem, 3.6vw, 2.9rem);
  --fs-h3:     clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lead:   clamp(1.06rem, 1.4vw, 1.22rem);
  --fs-body:   1.0625rem;
  --fs-eyebrow: 0.78rem;

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

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20, 39, 46, .06);
  --shadow-sm: 0 2px 6px rgba(20, 39, 46, .07), 0 1px 2px rgba(20, 39, 46, .05);
  --shadow-md: 0 10px 26px rgba(20, 39, 46, .10);
  --shadow-lg: 0 28px 60px rgba(7, 44, 54, .20);
  --shadow-gold: 0 14px 30px rgba(190, 140, 54, .30);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --nav-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.no-smooth { scroll-behavior: auto; }

body {
  font-family: var(--font-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; }
a:hover { color: var(--petrol); }
ul, ol { padding-left: 1.15rem; }
li + li { margin-top: .35rem; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: var(--gold); color: var(--petrol-900); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--petrol { background: var(--petrol); color: #EAF1F2; }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; color: var(--petrol-900); letter-spacing: -.01em; }
.section--petrol h1, .section--petrol h2, .section--petrol h3 { color: var(--white); }
h1 { font-size: var(--fs-hero); letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); }
p { color: var(--slate); }
.section--petrol p { color: #C9D9DD; }
.lead { font-size: var(--fs-lead); color: var(--slate); }
.section--petrol .lead { color: #C9D9DD; }
strong { color: var(--ink); font-weight: 700; }
.section--petrol strong { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.section--petrol .eyebrow { color: var(--gold-300); }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--noline::before { display: none; }

.section-head { max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }

/* Decorative 8-point star divider */
.star-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-block: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
}
.star-rule::before, .star-rule::after {
  content: ""; height: 1px; flex: 1; max-width: 180px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.star-rule::after { background: linear-gradient(90deg, var(--line), transparent); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--petrol);
  --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: .92rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  line-height: 1;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--bg);
  border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--fg); }
.btn:active { transform: translateY(0); }

.btn--primary  { --bg: var(--petrol); }
.btn--primary:hover { --bg: var(--petrol-900); }
.btn--gold     { --bg: var(--gold); --fg: var(--petrol-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { --bg: var(--gold-600); --fg: #fff; }
.btn--whatsapp { --bg: var(--whatsapp); --fg: #fff; }
.btn--whatsapp:hover { --bg: var(--whatsapp-600); }
.btn--ghost    { --bg: transparent; --fg: var(--petrol); }
.btn--ghost:hover { --bg: rgba(10,61,74,.06); box-shadow: none; }
.btn--light    { --bg: #fff; --fg: var(--petrol); border-color: rgba(255,255,255,.6); }
.btn--light:hover { --bg: #fff; --fg: var(--petrol-900); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { --bg: rgba(255,255,255,.1); --fg: #fff; }
.btn--lg  { padding: 1.05rem 1.8rem; font-size: 1.04rem; }
.btn--block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--petrol-900); }
.brand:hover { color: var(--petrol-900); }
.brand__mark {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--petrol);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  color: var(--petrol-900);
}
.brand__name b { color: var(--gold-600); font-weight: 700; }
.brand__tag {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-top: .25rem;
}

/* Nav links */
.nav__links {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; padding: 0; margin: 0;
}
.nav__links a {
  display: inline-block;
  padding: .55rem .85rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--petrol); background: rgba(10,61,74,.06); }
.nav__links a[aria-current="page"] { color: var(--gold-600); }
.nav__cta-mobile { display: none; }
.btn-book { }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--petrol-900);
}
.nav__phone svg { width: 1.05em; height: 1.05em; color: var(--gold-600); }
.nav__phone small { display: block; font-size: .66rem; font-weight: 500; color: var(--slate-400); letter-spacing: .04em; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: var(--petrol-900);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .15s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 7px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(212,162,78,.18), transparent 55%),
    linear-gradient(160deg, var(--petrol-900) 0%, var(--petrol) 55%, var(--petrol-700) 100%);
  color: #EAF1F2;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%23D4A24E' stroke-width='1' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  opacity: .14;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -8%; bottom: -30%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(212,162,78,.16), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 .accent { color: var(--gold-300); }
.hero .lead { color: #C9D9DD; max-width: 48ch; margin-top: 1.1rem; }
.hero .eyebrow { color: var(--gold-300); }
.hero__cta { margin-top: 1.8rem; }
.hero__trust {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1.3rem 1.8rem;
}
.hero__trust div { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #DDE7E9; font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-300); flex: 0 0 auto; }

/* Hero visual: dispatch card */
.hero__visual { position: relative; }
.hero__panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.dispatch {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}
.dispatch__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dispatch__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--petrol-900); }
.dispatch__id { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }
.dispatch__live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; color: var(--whatsapp-600); letter-spacing: .06em; text-transform: uppercase; }
.dispatch__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.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);} }

.dispatch__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-bottom: 1px dashed var(--line); }
.dispatch__row:last-of-type { border-bottom: 0; }
.dispatch__label { font-size: .8rem; color: var(--slate-400); letter-spacing: .03em; }
.dispatch__value { font-weight: 700; color: var(--petrol-900); font-size: .95rem; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .3rem; }
.chip {
  font-size: .74rem; font-weight: 600;
  padding: .35rem .65rem; border-radius: var(--r-pill);
  background: var(--mist); color: var(--petrol-700);
  border: 1px solid var(--line-cool);
}
.chip--gold { background: rgba(212,162,78,.14); color: var(--gold-600); border-color: rgba(212,162,78,.3); }
.dispatch__progress { margin-top: 1rem; }
.dispatch__progress ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.dispatch__progress li {
  position: relative;
  font-size: .72rem; font-weight: 600; color: var(--slate-400);
  padding: .6rem .4rem .6rem 1.5rem;
  background: var(--mist); border-radius: var(--r-sm);
  text-align: center;
}
.dispatch__progress li::before {
  content: ""; position: absolute; left: .5rem; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--slate-400);
}
.dispatch__progress li.done { color: var(--petrol-900); }
.dispatch__progress li.done::before { background: var(--whatsapp); }
.dispatch__progress li.active { color: var(--petrol-900); background: rgba(212,162,78,.16); }
.dispatch__progress li.active::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(212,162,78,.25); }

.hero__float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: .7rem .9rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 700; color: var(--petrol-900);
}
.hero__float svg { width: 20px; height: 20px; color: var(--gold-600); }
.hero__float--1 { top: -22px; left: -18px; }
.hero__float--2 { bottom: -20px; right: -10px; }
.hero__float small { display: block; font-size: .66rem; font-weight: 500; color: var(--slate-400); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(212,162,78,.16), transparent 55%),
    linear-gradient(160deg, var(--petrol-900), var(--petrol-700));
  color: #EAF1F2;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%23D4A24E' stroke-width='1' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 56px 56px; opacity: .12; pointer-events: none;
}
.page-header__inner { position: relative; z-index: 1; padding-block: clamp(2.8rem, 6vw, 4.5rem); max-width: 62ch; }
.page-header h1 { color: #fff; }
.page-header p { color: #C9D9DD; margin-top: .9rem; font-size: var(--fs-lead); }

/* Breadcrumb */
.breadcrumb { font-size: .82rem; color: #B7C8CD; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; color: var(--gold-300); }
.breadcrumb a { color: #DDE7E9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--gold-300); }

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: space-between; align-items: center; padding-block: 1.1rem; }
.trustbar__item { display: flex; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.trustbar__item svg { width: 22px; height: 22px; color: var(--gold-600); flex: 0 0 auto; }
.trustbar__item small { display: block; font-weight: 500; color: var(--slate-400); font-size: .76rem; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-300));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--mist), #fff);
  border: 1px solid var(--line-cool);
  border-radius: 15px;
  margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 28px; height: 28px; color: var(--petrol); }
.service-card h3 { font-size: 1.18rem; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--gold-600); }
.service-card p { margin-top: .55rem; font-size: .96rem; }
.service-card__link {
  margin-top: auto; padding-top: 1.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--gold-600);
  display: inline-flex; align-items: center; gap: .4rem;
}
.service-card__link svg { width: 1em; height: 1em; transition: transform .2s ease; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- Feature / why-choose cards ---------- */
.feature {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--petrol);
  color: var(--gold-300);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; }
.feature p { margin-top: .35rem; font-size: .95rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
.step {
  position: relative;
  padding: 1.6rem 1.3rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-300);
  letter-spacing: -.02em;
}
.step h3 { color: #fff; margin-top: .6rem; font-size: 1.1rem; }
.step p { color: #C9D9DD; margin-top: .45rem; font-size: .94rem; }
.step__bar {
  position: absolute; top: 1.55rem; right: 1.3rem;
  width: 28px; height: 2px; background: var(--gold); opacity: .6;
}

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.area {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .88rem;
  color: var(--ink);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.area svg { width: 15px; height: 15px; color: var(--gold-600); flex: 0 0 auto; }
.area:hover { color: var(--petrol); border-color: var(--gold-300); transform: translateY(-1px); }

/* ---------- Split / two-col content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.media-panel {
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(80% 70% at 20% 10%, rgba(212,162,78,.25), transparent 60%),
    linear-gradient(155deg, var(--teal), var(--petrol-900));
  position: relative;
  display: grid; place-items: center;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.media-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.18'/%3E%3C/svg%3E");
  background-size: 56px 56px; opacity: .5; pointer-events: none;
}
.media-panel svg.scene { position: relative; width: 100%; max-width: 360px; }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; color: var(--whatsapp-600); flex: 0 0 auto; margin-top: .1rem; }

/* ---------- Service detail (services page) ---------- */
.detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.detail:last-child { border-bottom: 0; }
.detail--reverse .detail__body { order: 2; }
.detail__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--mist), #fff);
  border: 1px solid var(--line-cool);
  margin-bottom: 1.1rem;
}
.detail__icon svg { width: 32px; height: 32px; color: var(--petrol); }
.detail__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.detail__body .eyebrow { margin-bottom: .8rem; }
.detail__list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; }
.detail__list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .94rem; color: var(--slate); }
.detail__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: .55rem; flex: 0 0 auto; }
.detail__cta { margin-top: 1.3rem; }
.detail__visual {
  border-radius: var(--r-xl);
  min-height: 280px;
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.detail__visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 56px 56px; opacity: .45; pointer-events: none;
}
.detail__visual svg.scene { position: relative; width: 100%; max-width: 300px; }
.v-ac { background: linear-gradient(155deg, #0E6E7E, #072C36); }
.v-plumb { background: linear-gradient(155deg, #1A6E8E, #072C36); }
.v-elec { background: linear-gradient(155deg, #B57F1F, #5C3A0E); }
.v-paint { background: linear-gradient(155deg, #6E5B8E, #2A1E3A); }
.v-hand { background: linear-gradient(155deg, #2E6E5A, #0E2C24); }
.v-appl { background: linear-gradient(155deg, #8E5A2E, #2C1B0E); }
.v-pest { background: linear-gradient(155deg, #5A6E2E, #1E2C0E); }
.v-clean { background: linear-gradient(155deg, #2E8E8E, #072C36); }
.v-amc { background: linear-gradient(155deg, #0A3D4A, #D4A24E 140%); }

/* ---------- Pricing/plan style (AMC) ---------- */
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  position: relative;
}
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--petrol-900);
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: var(--r-pill);
}
.plan h3 { font-size: 1.2rem; }
.plan__suit { font-size: .85rem; color: var(--slate-400); margin-top: .3rem; }
.plan__price {
  font-family: var(--font-display); font-weight: 700; color: var(--petrol-900);
  margin-block: 1rem .3rem; font-size: 1.5rem;
}
.plan__price small { font-size: .8rem; font-weight: 500; color: var(--slate-400); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .6rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.plan li svg { width: 18px; height: 18px; color: var(--whatsapp-600); flex: 0 0 auto; margin-top: .15rem; }
.plan .btn { margin-top: auto; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.value { padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.value__num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: .82rem; letter-spacing: .15em; }
.value h3 { margin-top: .6rem; font-size: 1.1rem; }
.value p { margin-top: .5rem; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 820px; }
.faq-list--center { margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover { border-color: var(--gold-300); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-300); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--petrol-900);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--gold-600); }
.faq-item .faq-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--petrol);
  transition: transform .25s ease, background .2s ease;
}
.faq-item .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--petrol-900); }
.faq-item .faq-answer { padding: 0 1.3rem 1.3rem; color: var(--slate); font-size: .98rem; }
.faq-item .faq-answer a { color: var(--gold-600); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow .2s ease, transform .2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 13px; background: var(--petrol); color: var(--gold-300);
}
.contact-card__icon--wa { background: var(--whatsapp); color: #fff; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.02rem; }
.contact-card a, .contact-card p { color: var(--slate); }
.contact-card a:hover { color: var(--gold-600); }
.contact-card .big { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--petrol-900); }

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.form h2 { font-size: 1.4rem; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  padding: .8rem .95rem;
  border: 1.5px solid var(--line-cool);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212,162,78,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--full { grid-column: 1 / -1; }
.form__note { font-size: .82rem; color: var(--slate-400); margin-top: .6rem; }
.form__sent { display: none; align-items: center; gap: .6rem; padding: 1rem; border-radius: var(--r-sm); background: rgba(37,211,102,.12); color: var(--whatsapp-600); font-weight: 600; margin-top: 1rem; }
.form__sent.show { display: flex; }

/* Map / areas block */
.area-block {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
  position: relative;
  min-height: 340px;
  display: grid; place-items: center;
  padding: 2rem;
}
.area-block::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%230A3D4A' stroke-width='1' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 56px 56px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(212,162,78,.22), transparent 55%),
    linear-gradient(135deg, var(--petrol-900), var(--petrol-700));
  color: #EAF1F2;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 3.8rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M50 28 L34 34 L28 50 L22 34 L6 28 L22 22 L28 6 L34 22 Z' fill='none' stroke='%23D4A24E' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 56px 56px; opacity: .12; pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #C9D9DD; margin-top: .7rem; max-width: 50ch; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-300); letter-spacing: -.02em; }
.stat__label { font-size: .88rem; color: #C9D9DD; margin-top: .3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-900);
  color: #B7C8CD;
  border-top: 4px solid var(--gold);
}
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(2.8rem, 5vw, 4rem); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #9FB3B8; margin-top: 1rem; font-size: .94rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { color: #B7C8CD; font-size: .94rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; color: #B7C8CD; font-size: .94rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-300); flex: 0 0 auto; margin-top: .2rem; }
.footer-affil {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px dashed rgba(212,162,78,.4);
  border-radius: var(--r-md);
  font-size: .88rem;
}
.footer-affil a { color: var(--gold-300); font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; font-size: .82rem; color: #9FB3B8; }
.footer-bottom a { color: #9FB3B8; }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.06); color: #B7C8CD;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--petrol-900); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.center { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.hide-sm { }
.eyebrow--center { justify-content: center; }
.balanced { text-wrap: balance; }
.full-bleed { max-width: none; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--petrol-900);
  padding: .7rem 1rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav-toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .6rem var(--gutter) 1.2rem;
    transform: translateY(-130%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  body.nav-open .nav__links { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: .9rem .6rem; font-size: 1rem; border-radius: var(--r-sm); border-bottom: 1px solid var(--line); }
  .nav__actions .btn-book { display: none; }
  .nav__cta-mobile { display: block !important; padding: .6rem .6rem 0 !important; border-bottom: 0 !important; }
  .nav__cta-mobile .btn { width: 100%; }
  .nav__phone .label-text { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero h1 { max-width: none; }
  .hero__float--1 { left: 8px; }
  .hero__float--2 { right: 8px; }

  .split, .split--wide-left, .contact-grid { grid-template-columns: 1fr; }
  .detail, .detail--reverse { grid-template-columns: 1fr; }
  .detail--reverse .detail__body { order: 0; }
  .detail__list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: 100%; }
  .btn-row { width: 100%; }
  .hero__cta { width: 100%; }
  .cta-band__inner { flex-direction: column; align-items: stretch; text-align: left; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dispatch__progress ol { grid-template-columns: 1fr; }
  .nav__phone span.label-text { display: none; }
}

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