/* =========================================================
   Heymeier Haustechnik – Design System
   Petrol / Kupfer / Sand · Sora + Inter
   ========================================================= */

:root {
  /* Brand */
  --navy: #0A1F2C;
  --navy-800: #0E2A3A;
  --petrol: #0F5468;
  --petrol-600: #0C637C;
  --petrol-700: #0A4658;
  --copper: #BC591F;
  --copper-600: #A44A16;
  --copper-700: #8A3E13;
  --sand: #F5EFE6;
  --sand-200: #EDE4D6;
  --paper: #FFFFFF;

  /* Text */
  --ink: #142330;
  --ink-soft: #3C4C57;
  --muted: #5C6B74;
  --line: #E4DBCD;
  --line-cool: #DCE5E9;

  /* Signal */
  --gold: #D9A441;
  --ok: #1E7A5A;

  /* System */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 44, .06);
  --shadow: 0 18px 44px -20px rgba(10, 31, 44, .30);
  --shadow-lg: 0 40px 90px -40px rgba(10, 31, 44, .55);
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}

::selection { background: var(--copper); color: #fff; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(66px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #E8EEF1; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 30px; }
@media (min-width: 720px)  { .g-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .g-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px)  { .g-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px)  { .g-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--copper); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before { background: var(--gold); }

.h-xl { font-size: clamp(2.15rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.7; }
.section--navy .lead { color: #C4D2D9; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  min-height: 52px; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 14px 30px -14px rgba(188, 89, 31, .8); }
.btn--primary:hover { background: var(--copper-600); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(188, 89, 31, .9); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--petrol); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--petrol); color: var(--petrol); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand__txt { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--navy); font-size: 1.16rem; }
.brand__txt small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-600); margin-top: 4px; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  padding: 10px 15px; border-radius: 999px; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--sand); }
.nav-links a.active { color: var(--petrol); }
.nav-cta { display: none; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: .95rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--copper); }

.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--navy); border-radius: 12px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .burger { display: none; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy); color: #fff;
  padding: 26px 24px 40px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu .brand__txt, .mobile-menu .brand__txt small { color: #fff; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; border: none; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-nav a { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-menu__foot a { color: #C4D2D9; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.mobile-menu__foot a svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__inner { display: grid; gap: 40px; align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 108px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px 8px 10px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #DCE7EC;
  backdrop-filter: blur(6px);
}
.hero__badge b { color: #fff; font-weight: 600; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217,164,65,.25); }
.hero h1 { color: #fff; margin: 22px 0 20px; }
.hero h1 .accent { color: var(--copper); }
.hero__lead { color: #BFD0D8; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px 40px; margin-top: 46px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero__stat .lbl { font-size: .82rem; color: #9FB4BD; letter-spacing: .02em; }

.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero__float {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  max-width: 270px;
}
.hero__float .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; flex-shrink: 0; }
.hero__float .ico svg { width: 24px; height: 24px; color: var(--copper); }
.hero__float b { font-family: var(--font-display); display: block; font-size: .98rem; color: var(--navy); }
.hero__float span { font-size: .82rem; color: var(--muted); }
.hero__glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(15,84,104,.55), transparent 68%); top: -230px; right: -180px; pointer-events: none; }
.hero__glow2 { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(188,89,31,.28), transparent 70%); bottom: -160px; left: -140px; pointer-events: none; }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--sand); border-bottom: 1px solid var(--line); }
.trustbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; padding: 30px 0; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--petrol); flex-shrink: 0; margin-top: 2px; }
.trust-item b { font-family: var(--font-display); font-size: .98rem; color: var(--navy); display: block; }
.trust-item span { font-size: .84rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) { .trustbar__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service cards ---------- */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__img { aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 16px; }
.svc-card__ico svg { width: 24px; height: 24px; color: var(--copper); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; flex: 1; }
.svc-card__link { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--petrol); display: inline-flex; align-items: center; gap: 8px; }
.svc-card__link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }

/* overlay style card (image with text on top) */
.ov-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; }
.ov-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: 0; }
.ov-card:hover img { transform: scale(1.07); }
.ov-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,44,.9) 8%, rgba(10,31,44,.15) 62%, rgba(10,31,44,.05)); z-index: 1; }
.ov-card__body { position: relative; z-index: 2; padding: 26px; }
.ov-card h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.ov-card p { color: #CFDBE1; font-size: .92rem; }

/* ---------- Feature list ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist li svg { width: 22px; height: 22px; color: var(--petrol); flex-shrink: 0; margin-top: 3px; }
.section--navy .checklist li svg { color: var(--gold); }
.checklist li b { font-family: var(--font-display); color: var(--navy); }
.section--navy .checklist li b { color: #fff; }
.checklist li span { color: var(--muted); }
.section--navy .checklist li span { color: #B7C6CD; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--wideimg { grid-template-columns: 1.15fr .85fr; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split__media { position: relative; }
.split--rev .split__media { order: -1; }
@media (min-width: 900px) { .split--rev .split__media { order: 1; } .split--rev .split__text { order: 0; } }

/* Framed image with accent corner */
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -14px -14px 22px 22px; border: 2px solid var(--copper); border-radius: var(--radius); z-index: 0; opacity: .5; }
.framed img { position: relative; z-index: 1; }

/* ---------- Stat strip ---------- */
.statstrip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.statstrip .cell { background: #fff; padding: 28px 22px; text-align: center; }
.section--navy .statstrip { background: rgba(255,255,255,.1); }
.section--navy .statstrip .cell { background: var(--navy-800); }
.statstrip .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--copper); letter-spacing: -.02em; }
.section--navy .statstrip .num { color: var(--gold); }
.statstrip .lbl { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.section--navy .statstrip .lbl { color: #A9BAC2; }
@media (min-width: 820px) { .statstrip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process ---------- */
.steps { display: grid; gap: 26px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 12px; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
@media (max-width: 819px) { .step::after { display: none; } }

/* ---------- Brand logos ---------- */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 620px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logo-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; place-items: center; min-height: 92px; transition: border-color .3s, transform .3s; }
.logo-chip:hover { border-color: var(--petrol); transform: translateY(-3px); }
.logo-chip img { max-height: 46px; width: auto; object-fit: contain; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--petrol); color: #fff; padding: clamp(40px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%); top: -180px; right: -120px; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D5E6EB; margin-top: 12px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Fox / mascot band ---------- */
.fox-band { background: var(--sand); border-radius: var(--radius-lg); overflow: hidden; }
.fox-band__grid { display: grid; gap: 0; align-items: center; }
.fox-band__img { background: linear-gradient(140deg, var(--petrol), var(--petrol-700)); display: grid; place-items: center; padding: 30px 24px 0; position: relative; }
.fox-band__img img { max-height: 320px; width: auto; filter: drop-shadow(0 24px 34px rgba(0,0,0,.3)); }
.fox-band__text { padding: clamp(30px, 5vw, 56px); }
@media (min-width: 820px) { .fox-band__grid { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Info / accent panel ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.panel--accent { border-left: 4px solid var(--copper); }
.panel--petrol { background: var(--navy-800); color: #E8EEF1; border: none; }
.panel--petrol h3 { color: #fff; }

.badge-note { display: inline-flex; align-items: center; gap: 8px; background: rgba(15,84,104,.08); color: var(--petrol-700); font-family: var(--font-display); font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; }
.badge-note svg { width: 15px; height: 15px; }

/* ---------- Prose ---------- */
.prose p { color: var(--ink-soft); margin-bottom: 18px; }
.prose h3 { margin: 34px 0 14px; font-size: 1.4rem; }
.prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--navy); }
.prose ul.dotted { display: grid; gap: 10px; margin: 8px 0 20px; }
.prose ul.dotted li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.prose ul.dotted li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-sm); margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
@media (min-width: 760px) {
  .gallery .tall { grid-row: span 2; }
  .gallery .wide { grid-column: span 2; }
}

/* ---------- Sub-page hero ---------- */
.pagehero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.pagehero__inner { position: relative; z-index: 2; padding: clamp(52px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); max-width: 760px; }
.pagehero h1 { color: #fff; margin: 18px 0 18px; }
.pagehero p { color: #BFD0D8; font-size: clamp(1.05rem, 1.6vw, 1.24rem); max-width: 56ch; }
.pagehero__bg { position: absolute; inset: 0; z-index: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, var(--navy) 32%, rgba(10,31,44,.62)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: #9FB4BD; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* Anchor nav (sticky in-page) */
.anchornav { position: sticky; top: 78px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchornav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.anchornav__inner::-webkit-scrollbar { display: none; }
.anchornav a { flex-shrink: 0; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink-soft); padding: 8px 15px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.anchornav a:hover { background: var(--sand); color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--petrol); box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 600; color: var(--navy); padding: 18px 30px 18px 0; cursor: pointer; list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 24px; width: 12px; height: 12px; border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { color: var(--ink-soft); padding-bottom: 20px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; flex-shrink: 0; }
.info-item__ico svg { width: 24px; height: 24px; color: var(--copper); }
.info-item b { font-family: var(--font-display); color: var(--navy); font-size: 1.02rem; display: block; margin-bottom: 3px; }
.info-item a, .info-item span { color: var(--ink-soft); }
.info-item a:hover { color: var(--petrol); }

.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--copper); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 13px 15px; border: 1.5px solid var(--line-cool); border-radius: var(--radius-sm);
  background: var(--sand); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); background: #fff; box-shadow: 0 0 0 4px rgba(15,84,104,.1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; background: #FDF3F2; }
.field .err { display: none; color: #C0392B; font-size: .82rem; }
.field.invalid .err { display: block; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--petrol); }
.form__success { display: none; background: rgba(30,122,90,.1); border: 1px solid rgba(30,122,90,.35); color: #14603F; border-radius: var(--radius-sm); padding: 16px 18px; font-size: .94rem; align-items: center; gap: 10px; }
.form__success.show { display: flex; }
.form__success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B7C6CD; padding-top: 72px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 46px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: #93A7AF; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .94rem; color: #B7C6CD; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: .94rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem; color: #7E939B; }
.footer-bottom a { color: #7E939B; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--copper); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card__img img, .ov-card img, .gallery img { transition: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 26px; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: block; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-family: var(--font-display); font-weight: 500; color: var(--ink-soft); }
.section--sand .pill-list span { background: #fff; }
