/* ==========================================================================
   Dubai Maintenance Pros — Maintenance & Technical Services
   One cohesive, hand-written stylesheet. No framework.
   Palette: warm desert-to-petrol (sand · petrol · teal · Dubai gold)
   Type:    Sora (display) · Manrope (body) · Space Mono (spec labels)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Ink / dark surfaces */
  --ink: #0E2A2F;
  --ink-2: #143840;
  --teal-900: #0C3B40;
  --teal-800: #0E4D52;
  --teal-700: #10625F;

  /* Brand teal */
  --teal: #0E7C7A;
  --teal-bright: #16B5A6;
  --teal-50: #E6F3F2;

  /* Dubai-sun / high-vis gold */
  --gold: #EFA024;
  --gold-deep: #D4861A;
  --gold-50: #FCEFD6;
  --gold-100: #FAE2B8;

  /* Neutrals */
  --sand: #FBF7EF;
  --sand-2: #F4ECDC;
  --paper: #FFFFFF;
  --muted: #57696D;
  --muted-2: #7E8C90;
  --line: #E8E0CF;
  --line-2: #EFE8D9;

  /* Functional */
  --whatsapp: #25D366;
  --whatsapp-deep: #1DA851;
  --white: #ffffff;
  --black: #07171A;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(14, 42, 47, 0.06), 0 2px 6px rgba(14, 42, 47, 0.05);
  --shadow: 0 6px 18px rgba(14, 42, 47, 0.08), 0 2px 6px rgba(14, 42, 47, 0.05);
  --shadow-lg: 0 24px 50px -18px rgba(14, 42, 47, 0.30), 0 8px 18px -8px rgba(14, 42, 47, 0.12);
  --shadow-gold: 0 14px 30px -10px rgba(212, 134, 26, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.42s;
}

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

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

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }
ul, ol { padding-left: 1.15rem; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--dark { background: var(--ink); color: #EAF2F1; }
.section--dark a:not(.btn):not(.footer a) { color: var(--gold-100); }
.section--dark a:not(.btn):not(.footer a):hover { color: var(--white); }
.section--sand-2 { background: var(--sand-2); }
.section--teal { background: linear-gradient(160deg, var(--teal-900), var(--teal-800)); color: #EAF6F5; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.measure { max-width: 60ch; }
.measure-narrow { max-width: 46ch; }
.bg-paper { background: var(--paper); }

/* ---------- Blueprint grid (signature motif) ---------- */
.blueprint,
.section--dark.is-grid,
.hero-panel {
  position: relative;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}
.blueprint--gold::before {
  background-image:
    linear-gradient(to right, rgba(212, 134, 26, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 134, 26, 0.10) 1px, transparent 1px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.018em; color: var(--ink); word-break: break-word; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--teal h1, .section--teal h2, .section--teal h3 { color: #fff; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.85rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem); }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { color: inherit; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); line-height: 1.65; }
.section--dark .lead, .section--teal .lead { color: rgba(234, 246, 245, 0.82); }
strong { font-weight: 700; color: var(--ink); }
.section--dark strong, .section--teal strong { color: #fff; }

/* Spec label (Space Mono eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.section--dark .eyebrow, .section--teal .eyebrow { color: var(--gold); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--noline::before { display: none; }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: 0.005em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--gold); --btn-fg: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-teal { --btn-bg: var(--teal); }
.btn-teal:hover { background: var(--teal-700); }
.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { background: var(--teal-900); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { background: var(--sand-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-sm { padding: 0.62rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- Top bar (announcement) ---------- */
.topbar {
  background: var(--teal-900);
  color: #DCEDEB;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar .tb-left { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.topbar .tb-left b { color: var(--gold); font-weight: 700; }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 1.1rem; }
.topbar a { color: #DCEDEB; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(251, 247, 239, 0.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ink), var(--teal-800));
  border-radius: 12px;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.35rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover { color: var(--teal); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--teal); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  transition: background 0.2s var(--ease);
}
.header-phone:hover { background: var(--teal-50); color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; color: var(--teal); }
.header-phone small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; line-height: 1.2; }
.header-phone span { font-family: var(--font-display); font-size: 1rem; line-height: 1.1; }
.header-phone .hp-num { display: flex; flex-direction: column; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  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(--ink); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
.hero-copy h1 { margin-top: 1.1rem; }
.hero-copy h1 .hl {
  position: relative;
  color: var(--teal);
  white-space: nowrap;
}
.hero-copy .lead { margin-top: 1.2rem; max-width: 52ch; }
.hero-cta { margin-top: 1.8rem; }
.hero-trust {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
}
.hero-trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Hero panel (signature: service dashboard on blueprint grid) */
.hero-panel {
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(22, 181, 166, 0.30), transparent 55%),
    linear-gradient(160deg, var(--ink), var(--teal-900) 70%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-lg);
  color: #EAF6F5;
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute; inset: 0;
  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: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 78%);
  pointer-events: none;
}
.hp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.hp-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hp-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  background: rgba(37, 211, 102, 0.16); color: #6CF0A1;
  padding: 0.3rem 0.6rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.hp-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.hp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.hp-tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.85rem 0.6rem;
  text-align: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hp-tile:hover { transform: translateY(-3px); background: rgba(255,255,255,0.08); border-color: rgba(239,160,36,0.4); }
.hp-tile svg { width: 28px; height: 28px; margin: 0 auto 0.4rem; color: var(--gold); }
.hp-tile span { display: block; font-size: 0.72rem; font-weight: 600; color: #DCEDEB; line-height: 1.2; }

.hp-foot {
  position: relative; z-index: 1;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,0.12);
}
.hp-stat { text-align: center; }
.hp-stat b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.hp-stat small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234,246,245,0.6); }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 1.1rem; }
.trust-strip li { list-style: none; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); }
.trust-strip svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14,124,122,0.35); }

.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--teal-50), #fff);
  border: 1px solid var(--line);
  color: var(--teal);
  margin-bottom: 1.05rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: linear-gradient(150deg, var(--ink), var(--teal-800)); color: var(--gold); }
.card h3 { margin-bottom: 0.5rem; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--teal); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-weight: 700; font-size: 0.9rem; color: var(--teal);
}
.card .card-more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card:hover .card-more svg { transform: translateX(4px); }

/* Spec-sheet number tag on cards */
.card-num {
  position: absolute; top: 1.2rem; right: 1.3rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--line); font-weight: 700;
}

/* ---------- Service list (rich sections) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; }
.service-block:nth-child(even) .service-visual { order: 2; }
.service-visual {
  background: linear-gradient(160deg, var(--ink), var(--teal-900));
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: #EAF6F5;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
}
.service-visual > * { position: relative; z-index: 1; }
.service-visual .sv-icon { width: 64px; height: 64px; color: var(--gold); }
.service-visual .sv-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.service-visual .sv-name { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; color: #fff; margin-top: 0.4rem; }

.service-body h2 { margin-bottom: 0.8rem; }
.service-body p { color: var(--muted); margin-bottom: 1rem; }
.service-includes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin: 1.1rem 0;
}
.service-includes li {
  list-style: none; position: relative; padding-left: 1.7rem;
  font-size: 0.94rem; color: var(--ink-2); font-weight: 500;
}
.service-includes li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.service-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--teal-50); color: var(--teal-700); font-weight: 700;
  border: 1px solid rgba(14,124,122,0.15);
}
.tag--gold { background: var(--gold-50); color: var(--gold-deep); border-color: rgba(212,134,26,0.2); }

/* ---------- Feature / why-choose ---------- */
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0;
}
.feature .f-icon {
  flex: none; width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--gold-50); color: var(--gold-deep);
  border: 1px solid rgba(212,134,26,0.2);
}
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Process (numbered — real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.step .step-num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.step .step-num b {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-size: 0.95rem;
}
.step h3 { margin: 0.7rem 0 0.4rem; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.step::after {
  content: ""; display: none;
}

/* ---------- Service areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.areas-map {
  background: linear-gradient(160deg, var(--teal-900), var(--ink));
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #EAF6F5;
  position: relative; overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 1rem;
}
.areas-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}
.areas-map .am-head { position: relative; z-index: 1; }
.areas-map .am-head .eyebrow { color: var(--gold); }
.areas-map .am-svg { position: relative; z-index: 1; width: 100%; max-width: 360px; margin-inline: auto; }
.areas-list { columns: 2; column-gap: 2rem; }
.areas-list li {
  list-style: none; break-inside: avoid;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 500; color: var(--ink-2);
}
.areas-list li::before { content: "•"; color: var(--gold); font-weight: 800; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item.is-open { border-color: rgba(14,124,122,0.4); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: transparent; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--teal); }
.faq-q .faq-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--teal); position: relative; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; }
.faq-q .faq-ico::before { width: 12px; height: 2px; }
.faq-q .faq-ico::after { width: 2px; height: 12px; transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-ico { background: var(--teal); color: #fff; border-color: var(--teal); }
.faq-item.is-open .faq-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-a-inner p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem 2rem; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 0.6rem; }
.cta-band .eyebrow { color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; gap: 0.7rem; min-width: 260px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-sm); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-card:hover { border-color: rgba(14,124,122,0.35); transform: translateY(-2px); }
.contact-card .cc-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, var(--ink), var(--teal-800)); color: var(--gold); }
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.1rem; }
.contact-card a, .contact-card p { color: var(--muted); font-size: 0.95rem; }
.contact-card a:hover { color: var(--teal); }
.contact-card .cc-num { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 0.4rem; color: var(--ink-2); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-size: 0.97rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(14,124,122,0.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357696D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.4rem; }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.6rem; text-align: center; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--teal-50); border: 1px solid rgba(14,124,122,0.25);
  border-radius: var(--radius-sm); color: var(--teal-800); font-weight: 600;
}
.form-success.is-visible { display: block; }

/* Map-style area block */
.area-block {
  background: linear-gradient(160deg, var(--teal-900), var(--ink));
  border-radius: var(--radius-lg); padding: 1.75rem; color: #EAF6F5;
  position: relative; overflow: hidden;
}
.area-block::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 78%);
}
.area-block > * { position: relative; z-index: 1; }
.hours-list { display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.hours-list li { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed rgba(255,255,255,0.12); font-size: 0.92rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: rgba(234,246,245,0.75); }
.hours-list .time { font-family: var(--font-mono); color: #fff; font-weight: 700; }

/* ---------- Values / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; }
.value-card .card-icon { background: linear-gradient(150deg, var(--gold-50), #fff); color: var(--gold-deep); border-color: rgba(212,134,26,0.18); }
.value-card:hover .card-icon { background: linear-gradient(150deg, var(--ink), var(--teal-800)); color: var(--gold); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--ink), var(--teal-800)); color: var(--gold); }
.team-avatar svg { width: 34px; height: 34px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-card .role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.team-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }

.affiliation {
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
}
.affiliation .aff-logo { flex: none; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(150deg, var(--ink), var(--teal-800)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.affiliation p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.affiliation strong { color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; z-index: 1; }
.page-hero .lead { margin-top: 1rem; max-width: 60ch; }
.breadcrumbs { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--teal); }
.breadcrumbs span { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(234,246,245,0.72); position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 60%);
          mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 60%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.75rem, 5vw, 4rem); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-mark { margin-bottom: 1rem; }
.footer-brand p { color: rgba(234,246,245,0.62); font-size: 0.92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer ul a { color: rgba(234,246,245,0.72); font-size: 0.92rem; }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(234,246,245,0.72); font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 0.18rem; }
.footer-affil { padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; font-size: 0.88rem; color: rgba(234,246,245,0.6); }
.footer-affil a { color: var(--gold-100); font-weight: 600; }
.footer-affil a:hover { color: var(--gold); }
.footer-affil svg { width: 16px; height: 16px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; padding-block: 1.4rem; font-size: 0.82rem; color: rgba(234,246,245,0.5); }
.footer-bottom a { color: rgba(234,246,245,0.6); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

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

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .header-cta .btn { display: none; }

  /* Mobile nav panel */
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem var(--gutter) 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
    z-index: 90;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; border-radius: 0; }
  .nav a::after { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-visual { order: 0; }
  .areas-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { flex: 1; }
}

@media (max-width: 600px) {
  .topbar .tb-right .tb-hide { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps, .team-grid { grid-template-columns: 1fr; }
  .hp-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-foot { grid-template-columns: 1fr 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .areas-list { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-trust { gap: 0.6rem 1rem; }
  .header-cta { gap: 0.4rem; }
  .topbar { font-size: 0.74rem; }
  .topbar .container { justify-content: center; text-align: center; }
}

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