/* =========================================================
   Υδραυλικός Παπαδόπουλος — site styles
   Tokens → base → layout → components → sections → motion
   ========================================================= */

/* ---------- Fonts (self-hosted, Commissioner variable 300–800) ---------- */
@font-face {
  font-family: "Commissioner";
  src: url("../assets/fonts/commissioner-greek.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  src: url("../assets/fonts/commissioner-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour: primitives (OKLCH) */
  --paper: oklch(97.3% 0.006 85);
  --paper-2: oklch(95.4% 0.008 85);
  --surface: oklch(99.3% 0.003 85);
  --line: oklch(89% 0.01 85);
  --line-soft: oklch(92.5% 0.008 85);
  --grid: oklch(91.8% 0.008 85);

  --ink: oklch(23% 0.04 262);
  --ink-2: oklch(44% 0.03 262);
  --ink-3: oklch(53% 0.02 262);

  --deep: oklch(48% 0.14 253);        /* logo dark blue  #0060AA */
  --deep-hover: oklch(42% 0.13 254);
  --deep-press: oklch(38% 0.12 255);
  --sky: oklch(62% 0.135 232);        /* logo light blue #0096C9 */
  --sky-soft: oklch(80% 0.09 232);
  --sky-wash: oklch(94.5% 0.025 235);
  --on-deep: oklch(99% 0.004 240);
  --on-deep-2: oklch(88% 0.05 240);
  --star: oklch(76% 0.15 75);

  /* Semantic */
  --text: var(--ink);
  --text-muted: var(--ink-2);
  --text-subtle: var(--ink-3);
  --accent: var(--deep);
  --focus: var(--deep);

  /* Type */
  --font: "Commissioner", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --text-3xl: clamp(2.25rem, 1.5rem + 3.1vw, 4.25rem);
  --text-display: clamp(2.6rem, 1.45rem + 5vw, 6rem);

  /* Space (4pt base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.8vw, 3rem);
  --max: 82rem;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Elevation (warm, layered, subtle) */
  --shadow-sm: 0 1px 2px oklch(30% 0.03 70 / 0.06), 0 2px 6px oklch(30% 0.03 70 / 0.05);
  --shadow-md: 0 1px 2px oklch(30% 0.03 70 / 0.05), 0 8px 24px -6px oklch(30% 0.03 70 / 0.12);
  --shadow-lg: 0 2px 4px oklch(30% 0.03 70 / 0.04), 0 24px 60px -18px oklch(30% 0.04 70 / 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 240ms;
  --dur-4: 320ms;

  /* Layers */
  --z-sticky: 200;
  --z-menu: 400;

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
a:not([class]) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

::selection { background: var(--sky-soft); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-3);
  z-index: 999;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

/* Faint technical grid, echoing plumbing floor plans */
.grid-paper { position: relative; isolation: isolate; }
.grid-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 78%);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--deep);
  --btn-fg: var(--on-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color var(--dur-2) ease,
    border-color var(--dur-2) ease,
    color var(--dur-2) ease,
    box-shadow var(--dur-3) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary {
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.18) inset, 0 8px 22px -10px oklch(48% 0.14 253 / 0.65);
}
.btn--ghost {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--light {
  --btn-bg: var(--surface);
  --btn-fg: var(--deep);
}
.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: var(--text-sm); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: var(--deep-hover); box-shadow: 0 1px 0 oklch(100% 0 0 / 0.18) inset, 0 12px 28px -10px oklch(48% 0.14 253 / 0.7); }
  .btn--ghost:hover { border-color: oklch(80% 0.012 85); background: oklch(100% 0 0 / 1); }
  .btn--light:hover { --btn-bg: var(--sky-wash); }
  .btn .icon-arrow { transition: transform var(--dur-3) var(--ease-out); }
  .btn:hover .icon-arrow { transform: translateX(3px); }
}

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex: none;
}
.brand__mark { width: 30px; height: auto; }
.brand__word {
  display: grid;
  line-height: 0.98;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
}
.brand__word span:first-child { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink-2); font-weight: 700; }
.brand__word span:last-child { font-size: 1.12rem; letter-spacing: 0.005em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--header-h);
  transition: background-color var(--dur-4) ease, box-shadow var(--dur-4) ease, border-color var(--dur-4) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: oklch(97.3% 0.006 85 / 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
          backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.4vw, 2rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur-2) ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-4) var(--ease-out);
}
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--ink); }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  padding: 0.5rem 0.25rem;
}
.header-phone .icon { color: var(--deep); }
.header-cta { display: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn--accent { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.icon-btn .icon { width: 20px; height: 20px; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .header-call { display: none; }
}

/* ---------- Mobile menu (native <dialog>) ---------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.menu::backdrop { background: transparent; }
.menu[open] { display: flex; flex-direction: column; }
.menu__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}
.menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-7);
  padding: var(--s-6) var(--gutter) max(var(--s-6), env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu__list { display: grid; }
.menu__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.menu__list a .icon { color: var(--ink-3); width: 22px; height: 22px; }
.menu__list a[aria-current="page"] { color: var(--deep); }
.menu__foot { display: grid; gap: var(--s-3); }
.menu__foot .btn { width: 100%; }
.menu__meta { color: var(--text-muted); font-size: var(--text-sm); text-align: center; margin-top: var(--s-2); }

.menu[open] .menu__list li,
.menu[open] .menu__foot { animation: menu-in 420ms var(--ease-out) both; }
.menu[open] .menu__list li:nth-child(2) { animation-delay: 30ms; }
.menu[open] .menu__list li:nth-child(3) { animation-delay: 60ms; }
.menu[open] .menu__list li:nth-child(4) { animation-delay: 90ms; }
.menu[open] .menu__list li:nth-child(5) { animation-delay: 120ms; }
.menu[open] .menu__list li:nth-child(6) { animation-delay: 150ms; }
.menu[open] .menu__foot { animation-delay: 180ms; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--deep);
  letter-spacing: 0;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky) 50%, var(--deep) 50%);
}

.h-display { font-size: var(--text-display); font-weight: 680; letter-spacing: -0.042em; line-height: 1.0; }
.h-1 { font-size: var(--text-3xl); letter-spacing: -0.038em; line-height: 1.04; }
.h-2 { font-size: var(--text-2xl); letter-spacing: -0.03em; }
.h-3 { font-size: var(--text-xl); letter-spacing: -0.022em; line-height: 1.15; font-weight: 620; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--text-muted); max-width: 58ch; }
.muted { color: var(--text-muted); }
.accent-text { color: var(--deep); }

/* =========================================================
   HOME — Hero
   ========================================================= */
.hero {
  padding-top: clamp(2.5rem, 1rem + 6vw, 6rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: clip;
}
.hero__head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--s-5);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
}
.hero__kicker img { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sky-wash); }
.hero__title { max-width: 15ch; }
.hero__title .line { display: block; }
.hero__lead { max-width: 54ch; margin-inline: auto; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.hero__note .icon { color: var(--sky); width: 1.1em; height: 1.1em; }

.hero__media {
  position: relative;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) {
  .hero__frame { aspect-ratio: 2 / 1; }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.chip .icon { color: var(--deep); }
.chip small { display: block; color: var(--text-subtle); font-size: var(--text-xs); font-weight: 500; }
.chip--tl { top: clamp(0.75rem, 2vw, 1.25rem); left: clamp(0.75rem, 2vw, 1.25rem); }
.chip--br { right: clamp(0.75rem, 2vw, 1.25rem); bottom: clamp(0.75rem, 2vw, 1.25rem); }

/* Hero proof strip: statement + figures */
.proof {
  display: grid;
  gap: var(--s-6);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}
.proof__statement {
  font-size: var(--text-xl);
  line-height: 1.35;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--ink);
  max-width: 34ch;
}
.proof__figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.figure { display: grid; gap: var(--s-2); align-content: start; }
.figure__value {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  font-size: var(--text-3xl);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.figure__value sup, .figure__value .unit { font-size: 0.45em; letter-spacing: -0.02em; color: var(--deep); vertical-align: baseline; }
.figure__label { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.4; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }

@media (min-width: 900px) {
  .proof { grid-template-columns: 1.15fr 1fr; align-items: end; }
  .proof__figures { padding-left: var(--s-7); border-left: 1px solid var(--line); }
}

/* =========================================================
   Motion setup (JS adds .js to <html>; content is visible without it)
   ========================================================= */
.js [data-reveal] { opacity: 0; }
.js .split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.js [data-hero-item], .js [data-hero-title], .js [data-hero-media], .js [data-hero-chip] { visibility: hidden; }
.split-line-inner { display: block; }
html.menu-open { overflow: hidden; }

/* Hero refinements */
.hero__note { display: block; text-align: center; max-width: 34ch; margin-inline: auto; }
.hero__note .icon { display: inline-block; vertical-align: -0.2em; margin-right: 0.35rem; }
.figure__label .stars { display: flex; margin-bottom: 0.35rem; }
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; }
}

/* =========================================================
   Shared section pieces
   ========================================================= */
.section-head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); max-width: 46rem; }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head--split { max-width: none; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; gap: var(--s-8); }
}

.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--paper-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--deep);
}
.text-link .icon { transition: transform var(--dur-3) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover .icon { transform: translateX(4px); }
}

/* =========================================================
   Trust intro
   ========================================================= */
.intro { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.intro__grid { display: grid; gap: var(--s-7); align-items: center; }
.intro__text { display: grid; gap: var(--s-5); justify-items: start; }
.intro__statement {
  font-size: var(--text-2xl);
  line-height: 1.22;
  letter-spacing: -0.028em;
  font-weight: 560;
  color: var(--ink);
  max-width: 26ch;
  margin-top: var(--s-2);
}
.intro__body { display: grid; gap: var(--s-4); color: var(--text-muted); max-width: 60ch; }
.intro__media { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
@media (min-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(3rem, 6vw, 7rem); }
}

/* =========================================================
   Services: list + sticky visual
   ========================================================= */
.services { background: var(--surface); border-block: 1px solid var(--line-soft); }
.services__grid { display: grid; gap: var(--s-7); align-items: start; }
.services__visual { display: none; }
@media (min-width: 960px) {
  .services__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(3rem, 5vw, 6rem); }
  .services__visual { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
  .services .acc-panel__img { display: none; }
}
.services__stack { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.services__stack picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px);
  transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out), filter 600ms var(--ease-out);
}
.services__stack picture.is-active { opacity: 1; transform: none; filter: none; }
.services__stack picture img { width: 100%; height: 100%; object-fit: cover; }
.services__counter {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.services__counter span { color: var(--deep); }

/* Accordion (services + FAQ) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-heading { font-size: inherit; letter-spacing: normal; line-height: inherit; font-weight: inherit; }
.acc-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem) 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--ink);
}
.acc-trigger:focus-visible { outline-offset: -2px; }
.acc-num {
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  transition: color var(--dur-3) ease;
  min-width: 1.75rem;
}
.acc-title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  transition: color var(--dur-3) ease;
}
.acc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--deep);
  transition: transform var(--dur-4) var(--ease-out), background-color var(--dur-3) ease, color var(--dur-3) ease, border-color var(--dur-3) ease;
}
.acc-icon .icon { width: 18px; height: 18px; }
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.acc-item.is-open .acc-num { color: var(--deep); }
@media (hover: hover) and (pointer: fine) {
  .acc-trigger:hover .acc-title { color: var(--deep); }
  .acc-trigger:hover .acc-icon { border-color: var(--deep); }
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease-in-out);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner {
  overflow: hidden;
  min-height: 0;
  display: grid;
  gap: var(--s-3);
  color: var(--text-muted);
  max-width: 60ch;
}
.acc-panel__inner > :last-child { margin-bottom: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
.acc-panel__inner > * { opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 420ms var(--ease-out); }
.acc-item.is-open .acc-panel__inner > * { opacity: 1; transform: none; transition-delay: 90ms; }
.services .acc-panel__inner { padding-left: calc(1.75rem + var(--s-4)); }
.acc-panel__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s-2); }
.acc-panel__img img { width: 100%; height: 100%; object-fit: cover; }
/* Without JS every answer is simply shown */
html:not(.js-ready) .acc-panel { grid-template-rows: 1fr; }
html:not(.js-ready) .acc-panel__inner > * { opacity: 1; transform: none; }

/* =========================================================
   Why us: sticky stacking promise cards
   ========================================================= */
.why__grid { display: grid; gap: var(--s-7); align-items: start; }
.why__intro { display: grid; gap: var(--s-5); }
.why__stack { display: grid; gap: var(--s-4); }
.promise {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  color: var(--text-muted);
  transform-origin: 50% 0;
}
.promise__check {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-wash);
  color: var(--deep);
}
.promise__check .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.promise__title { font-size: var(--text-xl); color: var(--ink); margin-bottom: var(--s-2); font-weight: 620; letter-spacing: -0.022em; }
@media (min-width: 960px) {
  .why__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 7rem); }
  .why__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
  .why__stack { gap: 6vh; padding-bottom: 4vh; }
  .promise { position: sticky; top: calc(var(--header-h) + 3rem + var(--i, 0) * 18px); min-height: 11rem; align-content: center; }
}

/* =========================================================
   Emergency band
   ========================================================= */
.emergency { padding-inline: clamp(0.5rem, 1.2vw, 1rem); }
.emergency__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(22px, 2.5vw, 40px);
  background: var(--deep);
  color: var(--on-deep);
  padding-block: clamp(4rem, 2.5rem + 6vw, 8rem);
}
.emergency__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, oklch(56% 0.14 240 / 0.9), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, oklch(38% 0.12 258 / 0.9), transparent 60%);
}
.emergency__mark {
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 50%;
  width: clamp(16rem, 30vw, 28rem);
  opacity: 0.12;
  transform: translateY(-50%) rotate(-8deg);
  filter: saturate(0) brightness(3);
  pointer-events: none;
}
.emergency__grid { display: grid; gap: var(--s-7); align-items: end; }
.emergency__text { display: grid; gap: var(--s-5); }
.emergency__text .h-1 { max-width: 16ch; }
.emergency__lead { font-size: var(--text-lg); line-height: 1.5; color: var(--on-deep-2); max-width: 44ch; }
.emergency__strong { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; }
.emergency__call {
  display: grid;
  gap: var(--s-4);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-lg);
  background: oklch(36% 0.11 256 / 0.55);
  border: 1px solid oklch(80% 0.08 240 / 0.25);
  color: var(--on-deep-2);
}
.emergency__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--on-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.emergency__phone-icon {
  display: grid;
  place-items: center;
  width: 0.95em;
  height: 0.95em;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--deep);
  transition: transform var(--dur-3) var(--ease-out);
}
.emergency__phone-icon .icon { width: 44%; height: 44%; stroke-width: 2.2; }
.emergency__phone:active .emergency__phone-icon { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .emergency__phone:hover .emergency__phone-icon { transform: rotate(-12deg) scale(1.05); }
}
.emergency__phone:focus-visible { outline-color: var(--on-deep); }
.emergency__note { font-size: var(--text-sm); }
@media (min-width: 960px) {
  .emergency__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); }
}

/* =========================================================
   Areas
   ========================================================= */
.areas::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 75%);
}
.areas__grid { display: grid; gap: var(--s-7); align-items: center; }
.areas__text { display: grid; gap: var(--s-5); }
.areas__note { color: var(--text-subtle); font-size: var(--text-sm); max-width: 48ch; }
.areas__list { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.area {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 550;
  font-size: var(--text-base);
  color: var(--ink);
}
.area .icon { color: var(--sky); width: 1.05em; height: 1.05em; }
.area--main { background: var(--deep); border-color: var(--deep); color: var(--on-deep); font-size: var(--text-lg); padding: 0.85rem 1.35rem 0.85rem 1rem; }
.area--main .icon { color: var(--sky-soft); }
.area--more { background: transparent; border-style: dashed; box-shadow: none; color: var(--text-muted); font-weight: 500; }
@media (min-width: 960px) {
  .areas__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 7rem); }
}

/* =========================================================
   Process timeline
   ========================================================= */
.process { background: var(--surface); border-block: 1px solid var(--line-soft); }
.timeline { position: relative; display: grid; gap: var(--s-6); max-width: 64rem; margin-inline: auto; }
.timeline__rail {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 11px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.timeline__progress { position: absolute; inset: 0; background: linear-gradient(var(--sky), var(--deep)); transform-origin: top; }
.step { position: relative; padding-left: 3rem; }
.step__dot {
  position: absolute;
  left: 0;
  top: 1.9rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  transition: border-color var(--dur-4) ease, box-shadow var(--dur-4) ease;
}
.step__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--line); transition: background-color var(--dur-4) ease; }
.step.is-active .step__dot { border-color: var(--deep); box-shadow: 0 0 0 6px var(--sky-wash); }
.step.is-active .step__dot::after { background: var(--deep); }
.step__card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s-4);
  row-gap: var(--s-2);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  color: var(--text-muted);
}
.step__num {
  grid-row: span 2;
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.step__title { font-size: var(--text-xl); color: var(--ink); font-weight: 620; letter-spacing: -0.022em; align-self: end; }
@media (min-width: 900px) {
  .timeline { gap: 0; }
  .timeline__rail { left: 50%; transform: translateX(-1px); }
  .step { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 12rem; }
  .step__dot { left: 50%; top: 2.1rem; transform: translateX(-50%); }
  .step__card { grid-column: 2; margin-left: 3.5rem; align-self: start; }
  .step:nth-child(even) .step__card { grid-column: 1; grid-row: 1; margin-left: 0; margin-right: 3.5rem; }
}

/* =========================================================
   Recent work
   ========================================================= */
.works__intro { display: grid; gap: var(--s-4); }
.works__grid { display: grid; gap: var(--s-4); }
.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  isolation: isolate;
}
.work picture, .work img { width: 100%; height: 100%; }
.work img { object-fit: cover; transition: transform 1.1s var(--ease-out); }
.work::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, oklch(30% 0.1 256 / 0.88) 0%, oklch(40% 0.13 254 / 0.45) 38%, transparent 68%);
  pointer-events: none;
}
.work__label {
  position: absolute;
  z-index: 2;
  left: clamp(1.1rem, 2vw, 1.75rem);
  right: clamp(1.1rem, 2vw, 1.75rem);
  bottom: clamp(1.1rem, 2vw, 1.6rem);
  font-size: var(--text-xl);
  font-weight: 620;
  letter-spacing: -0.022em;
  color: var(--on-deep);
}
@media (hover: hover) and (pointer: fine) {
  .work:hover img { transform: scale(1.05); }
}
@media (min-width: 960px) {
  .works__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
  .work { grid-column: span 5; aspect-ratio: auto; height: clamp(22rem, 30vw, 28rem); }
  .work--wide { grid-column: span 7; }
}

/* =========================================================
   Testimonials
   ========================================================= */
.reviews { padding-top: 0; }
.rating { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.rating__score { font-size: var(--text-3xl); font-weight: 650; letter-spacing: -0.045em; line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--ink); }
.rating__score span { font-size: 0.45em; color: var(--deep); letter-spacing: -0.02em; }
.rating__meta { display: grid; gap: 0.35rem; font-size: var(--text-sm); color: var(--text-muted); }
.stars--lg .icon { width: 20px; height: 20px; }
@media (min-width: 960px) { .rating { justify-content: flex-end; } }

.reviews__grid { display: grid; gap: var(--s-4); }
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: var(--text-lg); line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.quote__author { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; color: var(--ink); }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sky-wash);
  color: var(--deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.quote--feature { background: var(--deep); border-color: var(--deep); box-shadow: var(--shadow-md); }
.quote--feature blockquote p { color: var(--on-deep); font-size: var(--text-xl); line-height: 1.4; letter-spacing: -0.018em; }
.quote--feature .quote__author { color: var(--on-deep); }
.quote--feature .avatar { background: oklch(100% 0 0 / 0.14); color: var(--on-deep); }
@media (min-width: 960px) {
  .reviews__grid { grid-template-columns: 1.35fr 1fr 1fr; gap: var(--s-5); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; gap: var(--s-6); align-items: start; }
.faq__intro { display: grid; gap: var(--s-5); justify-items: start; }
.faq .acc-title { font-size: var(--text-lg); font-weight: 580; letter-spacing: -0.015em; }
.faq .acc-trigger { grid-template-columns: 1fr auto; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* =========================================================
   Final CTA: card floating over photo
   ========================================================= */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(0.5rem, 1.2vw, 1rem);
  border-radius: clamp(22px, 2.5vw, 40px);
  padding-block: clamp(5rem, 3rem + 9vw, 11rem);
}
.cta__photo { position: absolute; inset: -8% 0; z-index: -1; }
.cta__photo picture, .cta__photo img { width: 100%; height: 100%; }
.cta__photo img { object-fit: cover; object-position: 60% 50%; }
.cta__photo::after { content: ""; position: absolute; inset: 0; background: oklch(25% 0.04 262 / 0.38); }
.cta__card {
  display: grid;
  gap: var(--s-4);
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  justify-items: center;
}
.cta__card .lead { color: var(--ink); }
.cta__contacts { display: grid; gap: var(--s-1); margin-block: var(--s-2); justify-items: center; }
.cta__contacts a, .cta__contacts span { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font-weight: 550; color: var(--ink); overflow-wrap: anywhere; }
.cta__contacts .icon { color: var(--deep); }
@media (hover: hover) and (pointer: fine) { .cta__contacts a:hover { color: var(--deep); } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 3rem + 4vw, 7rem); color: var(--text-muted); }
.footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-7); }
.footer__brand { display: grid; gap: var(--s-4); max-width: 30ch; align-content: start; }
.footer__title { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: var(--s-4); }
.footer__col ul { display: grid; gap: var(--s-2); font-size: var(--text-sm); }
.footer__col a { color: inherit; text-decoration: none; display: inline-block; padding-block: 0.2rem; transition: color var(--dur-2) ease; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--deep); } }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--text-subtle);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer__wordmark {
  margin: 0;
  padding-inline: var(--gutter);
  font-size: clamp(2rem, 11.2vw, 13.5rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  color: oklch(87% 0.03 245);
  -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 15%, transparent 92%);
  user-select: none;
  transform: translateY(10%);
}
@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* CTA + footer refinements */
.cta__contacts a { text-decoration: none; }
@media (max-width: 479px) {
  .cta__contacts a, .cta__contacts span { font-size: var(--text-sm); }
  .cta__card { padding-inline: 1.25rem; }
}
