/* =====================================================================
   Dubai Fix Point — Maintenance Co.
   Shared stylesheet · hand-written · mobile-first
   Palette: navy-slate graphite + amber lock-on signal + diagnostic teal
   Type:    Space Grotesk (display) · Inter (body) · JetBrains Mono (label)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink: #0e1a2b;          /* deep navy-slate — primary dark */
  --ink-700: #16263b;      /* lifted panel on dark */
  --ink-600: #1f324a;
  --amber: #f5a524;        /* lock-on signal */
  --amber-soft: #ffce82;
  --teal: #15a6b8;         /* diagnostic cool */
  --teal-soft: #7fd6e0;
  --paper: #f4f6f8;        /* clean cool background */
  --cloud: #ffffff;        /* cards */
  --slate: #56657a;        /* muted text */
  --slate-2: #8593a3;
  --line: #e3e8ee;         /* hairline borders */
  --line-dark: rgba(255, 255, 255, 0.12);
  --green: #25d366;        /* WhatsApp */

  /* Type */
  --ff-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

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

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06), 0 2px 8px rgba(14, 26, 43, 0.05);
  --shadow-md: 0 6px 18px rgba(14, 26, 43, 0.08), 0 2px 6px rgba(14, 26, 43, 0.06);
  --shadow-lg: 0 24px 60px rgba(14, 26, 43, 0.16);
  --shadow-amber: 0 10px 30px rgba(245, 165, 36, 0.28);

  --container: 1180px;
  --header-h: 74px;
}

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

* { margin: 0; }

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

body {
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

ul, ol { padding-left: 1.1rem; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { color: var(--slate); }
strong { color: var(--ink); font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--slate);
}

h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

/* Mono eyebrow / coordinate label */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center::before { display: none; }
.eyebrow--light { color: var(--amber-soft); }
.eyebrow--muted { color: var(--slate-2); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section--dark {
  background: var(--ink);
  color: #cdd6e2;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: #9fb0c2; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-amber); }
.btn--primary:hover { background: #ffb735; }

.btn--whatsapp { background: var(--green); color: #04210f; }
.btn--whatsapp:hover { background: #2fe671; }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 1.85rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 246, 248, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex: none; }
.brand__mark {
  width: 40px; height: 40px;
  color: var(--amber);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}

.nav { display: none; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav__link {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav__link:hover { color: var(--amber); background: rgba(245, 165, 36, 0.1); }
.nav__link[aria-current="page"] { color: var(--amber); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

.header-cta { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.header-phone svg { width: 1.1em; height: 1.1em; color: var(--teal); }
.header-phone:hover { color: var(--amber); }
.header-cta .btn--primary { display: none; }

.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.25rem 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  z-index: 99;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--amber); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}
.hero::before {
  /* ambient amber glow top-right */
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.28), transparent 65%);
  pointer-events: none;
}
.hero::after {
  /* faint reticle grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-top: 1.1rem; }
.hero h1 .accent { color: var(--amber); }
.hero .lead { color: #aebfce; max-width: 540px; margin-top: 1.25rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93a4b8;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust span::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(21, 166, 184, 0.2);
}

/* Diagnostic service-request card (hero signature element) */
.diag-card {
  background: var(--cloud);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.diag-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px dashed var(--line);
}
.diag-card__bar b { color: var(--amber); font-weight: 600; }
.diag-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.diag-card > p { font-size: 0.92rem; margin-bottom: 1.1rem; }
.diag-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.35rem; }
.diag-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.diag-tag svg { width: 1em; height: 1em; color: var(--teal); }
.diag-card__foot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.84rem;
  color: var(--slate);
}
.diag-card__foot .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.22);
  flex: none;
}

/* Decorative hero reticle */
.reticle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 165, 36, 0.4);
  pointer-events: none;
  opacity: 0.7;
}
.reticle::before,
.reticle::after {
  content: "";
  position: absolute;
  background: rgba(245, 165, 36, 0.4);
}
.reticle::before { left: 50%; top: -10px; bottom: -10px; width: 1px; transform: translateX(-50%); }
.reticle::after { top: 50%; left: -10px; right: -10px; height: 1px; transform: translateY(-50%); }
.reticle--hero {
  width: 280px; height: 280px;
  top: 20px; right: -60px;
  display: none;
}

/* ---------- Service / feature cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d6deee;
}

.service-card { display: flex; flex-direction: column; }
.service-card::after {
  /* amber corner accent on hover */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 70px; height: 70px;
  background: radial-gradient(circle at top right, rgba(245, 165, 36, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--ink), var(--ink-600));
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1rem; }
.service-card__list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.4rem; }
.service-card__list li {
  font-size: 0.86rem;
  color: var(--slate);
  padding-left: 1.4rem;
  position: relative;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
}
.service-card__list li::after {
  content: "";
  position: absolute;
  left: 3px; top: calc(0.55em + 3px);
  width: 3px; height: 3px;
  background: var(--teal);
  border-radius: 50%;
}
.service-card__link {
  margin-top: auto;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
}
.service-card__link svg { width: 1em; height: 1em; transition: transform 0.2s ease; color: var(--amber); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- Why choose / value strip ---------- */
.value-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: var(--r-md);
  background: rgba(245, 165, 36, 0.12);
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
}
.value__icon svg { width: 22px; height: 22px; }
.section--dark .value__icon { background: rgba(245, 165, 36, 0.16); }
.value h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.value p { font-size: 0.92rem; }

/* ---------- Process stepper ---------- */
.process { display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; }
.step {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--cloud);
  border: 1px solid var(--line);
}
.step__num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 600;
}
.step h3 { font-size: 1.12rem; margin: 0.5rem 0 0.4rem; }
.step p { font-size: 0.93rem; }

/* ---------- Service area chips ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s, color 0.2s;
}
.area-chip:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.area-chip svg { width: 14px; height: 14px; color: var(--teal); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.85rem; max-width: 820px; }
.faq__item {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq__item.is-open { border-color: #d6deee; box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  text-align: left;
}
.faq__q .faq__icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--amber);
  position: relative;
  transition: background 0.2s, border-color 0.2s, transform 0.25s ease;
}
.faq__q .faq__icon::before,
.faq__q .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq__q .faq__icon::before { width: 10px; height: 2px; }
.faq__q .faq__icon::after { width: 2px; height: 10px; transition: transform 0.25s ease; }
.faq__item.is-open .faq__icon { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a-inner { padding: 0 1.35rem 1.3rem; color: var(--slate); font-size: 0.97rem; }
.faq__a-inner p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(245, 165, 36, 0.3), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 680px; margin-inline: auto; }
.cta-band p { color: #aebfce; max-width: 560px; margin: 1rem auto 1.75rem; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #9fb0c2;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 4px solid var(--amber);
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #93a4b8; font-size: 0.95rem; margin-top: 1rem; max-width: 320px; }
.footer-affil {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
}
.footer-affil .eyebrow { color: var(--amber-soft); font-size: 0.68rem; }
.footer-affil a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-family: var(--ff-display);
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}
.footer-affil a:hover { color: var(--amber); }
.footer-affil a svg { width: 1em; height: 1em; }

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-soft);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.footer-col a, .footer-col li { color: #9fb0c2; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 0.25rem; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: #74849a;
}
.footer-bottom .social { display: flex; gap: 0.75rem; }
.footer-bottom .social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: #9fb0c2;
}
.footer-bottom .social a:hover { color: #fff; border-color: var(--amber); background: rgba(245, 165, 36, 0.12); }
.footer-bottom .social svg { width: 17px; height: 17px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 1.6rem; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--slate-2); }
.breadcrumbs li::after { content: "/"; color: var(--line); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--amber); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(21, 166, 184, 0.22), transparent 65%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin-top: 0.85rem; max-width: 760px; }
.page-header p { color: #aebfce; margin-top: 1rem; max-width: 620px; font-size: 1.1rem; }

/* ---------- Service detail block (services.html) ---------- */
.service-block {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block__head { display: flex; gap: 1rem; align-items: center; }
.service-block__icon {
  width: 58px; height: 58px;
  flex: none;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--ink), var(--ink-600));
  color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
}
.service-block__icon svg { width: 28px; height: 28px; }
.service-block__code {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.service-block h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 0.3rem; }
.service-block__body p { margin-bottom: 1rem; }
.service-block__cols {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.service-block__cols h4 {
  font-family: var(--ff-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.service-block__cols h4::before {
  content: ""; width: 16px; height: 1px; background: var(--amber);
}
.service-block__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.service-block__cols li { font-size: 0.9rem; color: var(--slate); padding-left: 1.3rem; position: relative; }
.service-block__cols li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 700;
}
.service-block__cta { margin-top: 0.5rem; }

/* ---------- Two-column generic ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem;
}
.stat__num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  line-height: 1;
}
.stat__num span { color: var(--amber); }
.stat__label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: 0.5rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.contact-methods { display: grid; gap: 1.1rem; margin-top: 0.5rem; }
.contact-method { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-method__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(21, 166, 184, 0.12); color: var(--teal);
}
.contact-method__icon svg { width: 20px; height: 20px; }
.contact-method__label { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.contact-method__value { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.contact-method__value a:hover { color: var(--amber); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--cloud);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--slate-2); }
.form-success {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #0a6b34;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* ---------- Map-style area block ---------- */
.area-map {
  background: linear-gradient(140deg, var(--ink), var(--ink-600));
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  color: #cdd6e2;
  position: relative;
  overflow: hidden;
}
.area-map::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.area-map > * { position: relative; z-index: 1; }
.area-map h3 { color: #fff; }
.area-map .areas { margin-top: 1.25rem; }
.area-map .area-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  color: #cdd6e2;
}
.area-map .area-chip:hover { border-color: var(--amber); color: #fff; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 760px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block__cols { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav { display: flex; }
  .header-phone { display: inline-flex; }
  .header-cta .btn--primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .reticle--hero { display: block; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .container { padding-inline: 2rem; }
}

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