/* ---- base.css ---- */
/* ============================================================
   GIA Cleaning — tokens, reset, typography, controls
   Design system v2 (DM Sans, teal #009980)
   ============================================================ */

/* The typeface, from our own server.
 *
 * It used to come from fonts.googleapis.com and fonts.gstatic.com, which
 * meant every visitor's address reached Google before a single word was
 * drawn. The privacy page said, in three languages, that we intended to
 * stop that. This is stopping it.
 *
 * One file per subset, not one per weight: DM Sans v17 is a variable
 * font, so 400 through 700 all come out of the same 62 KB — which is why
 * Google's own stylesheet pointed four @font-face rules at one URL.
 *
 * font-display: swap, so the text is readable in the system face from
 * the first frame and reflows once rather than sitting invisible. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-latin.woff2?v=aa530716") format("woff2");
  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;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-latin-ext.woff2?v=0d0609ae") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* palette */
  --ink: #09090b;
  --body: #3f3f46;
  --muted: #52525b;
  --subtle: #71717a;
  --ash: #a1a1aa;
  --mist: #d4d4d8;
  --line: #e4e4e7;
  --surface: #f4f4f5;
  --dark: #0e0e10;
  --white: #ffffff;
  /* Brand teal. #009980 is the logo colour and stays on fills, icons and
     graphics. White text on it only reaches 3.58:1, and the teal itself only
     reaches 3.58:1 on white, so text and buttons use the two darker steps
     below — both clear 4.5:1 while reading as the same colour. */
  --teal: #009980;
  --teal-btn: #008370;   /* button fill: white text = 4.69:1 */
  --teal-ink: #007a66;   /* teal text on white/surface/mint = 5.28:1 */
  --teal-dark: #006b59;  /* button hover */
  --teal-soft: #e9f6f3;
  --teal-line: #b6ddd3;
  --teal-light: #8fd4c7;

  /* measure */
  --gutter: 80px;
  --section: 70px;     /* Figma: every section sits in 70px of air */
  --header-h: 88px;

  /* shape */
  --r-card: 24px;
  --r-panel: 36px;
  --r-pill: 999px;
  --r-field: 14px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.2s;
  --normal: 0.35s;
  --slow: 0.75s;
  --entrance: 0.45s;   /* popIn, the drawer stagger, the hero */
  --leave: 240ms;      /* read back by js/app.js before it navigates */
  /* рост карточки при наведении: медленный, с длинным мягким хвостом */
  --grow: 700ms;
  --ease-grow: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1100px) { :root { --section: 60px; --header-h: 76px; } }
/* 80px is the desktop inset. From tablet down it drops to 20px: 1024 is the
   boundary because the tablet frame the design is drawn at is 834 wide, where
   80px each side would take almost a fifth of the screen. */
@media (max-width: 1024px) { :root { --gutter: 20px; } }
@media (max-width: 720px)  { :root { --section: 48px; --header-h: 64px; } }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  transition: opacity var(--leave) var(--ease);
}

/* cross-page fade — set by js/app.js before navigating */
body.is-leaving { opacity: 0; }

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

/* A <picture> exists to offer the browser a choice of file; it has no
   business in the layout. display:contents removes its box, so a rule like
   .dimage img { height: 100% } still resolves against .dimage and not
   against an inline wrapper of indeterminate height. Without this the
   cropped images lose their crop. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* A word too long for its line breaks instead of pushing the page sideways.
   Dutch supplies plenty of them: www.gegevensbeschermingsautoriteit.be is
   37 characters and gave the privacy page 25px of horizontal scroll at
   320px — an iPhone SE, which is still in plenty of pockets. This does
   nothing at all to a word that fits. */
p, li, dt, dd, h1, h2, h3, h4, td, th, figcaption, blockquote { overflow-wrap: break-word; }
::selection { background: var(--teal); color: #fff; }

:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
/* iOS paints a grey box over whatever is tapped — on the FAQ it covered
   the whole question and answer. Every tappable thing here has its own
   pressed state, so the system one only adds noise. */
html { -webkit-tap-highlight-color: transparent; }
/* The drawer receives focus programmatically when it opens; that focus
   is a courtesy to keyboard and screen-reader users and must not draw. */
.drawer:focus { outline: none; }

/* anchors land under the sticky header without this */
:target, [id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skiplink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform var(--fast) var(--ease);
}
.skiplink:focus { transform: none; }

/* --- typography -------------------------------------------- */
.display {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h2 {
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.card-title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow--muted { color: var(--subtle); }

.measure { max-width: 58ch; }
.measure-sm { max-width: 44ch; }

/* --- buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--teal-btn); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #27272a; }

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

.btn--light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--light:hover { background: rgba(255, 255, 255, 0.22); }

.btn--sm { height: 44px; padding-inline: 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--teal-ink);
}
.link-arrow svg { transition: transform var(--fast) var(--ease); }
.link-arrow:hover svg,
.link-arrow:focus-visible svg { transform: translateX(4px); }

/* --- form controls ----------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; cursor: pointer; padding-right: 42px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 153, 128, 0.16);
  outline: none;
}
/* #a1a1aa placeholders only reach 2.32:1 on white — #71717a reaches 4.83:1 */
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }

.field--select { position: relative; }
.field--select svg {
  position: absolute;
  right: 16px;
  bottom: 18px;
  pointer-events: none;
  color: var(--subtle);
}

/* submitted state */
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(0, 153, 128, 0.14);
  border: 1px solid rgba(0, 153, 128, 0.4);
  animation: popIn var(--entrance) var(--ease);
}
.form-success:focus { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.form-success strong { display: block; font-size: 16px; font-weight: 600; }
.form-success span { font-size: 14px; opacity: 0.75; }

form.is-sent .form-success { display: flex; }
form.is-sent .form-body { display: none; }

@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- scroll reveal ----------------------------------------- */
/* Появление идёт через transform, а рост при наведении (карточки услуг,
   отзывы) — через отдельное свойство scale: так одно не перекрывает
   другое. Правило .is-in ставит transform: none, и будь рост тоже в
   transform, он бы никогда не срабатывал — так и было. Переход для scale
   записан здесь же, потому что этот shorthand всё равно переопределяет
   transition у любого блока с data-reveal. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease),
              scale var(--grow) var(--ease-grow), border-color var(--fast) var(--ease);
  /* Задержку ступеньки (--d) js/app.js снимает по концу перехода: иначе
     она откладывала бы и рост при наведении. */
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* promoted only while the transition is pending, then released: a permanent
   will-change on every reveal element would cost more than it saves */
html.js [data-reveal].is-arming { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  /* These three start at opacity 0 and rely on a class or an animation to
     become visible. Crushing the duration is not enough on its own: without
     this the drawer links still appear one by one. */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__body > * { opacity: 1 !important; transform: none !important; }
  .drawer__nav a { opacity: 1 !important; transform: none !important; }
}

/* --- helpers ----------------------------------------------- */
.mt-xs { margin-top: 10px; }
.mt-s  { margin-top: 18px; }
.mt-m  { margin-top: 32px; }
.mt-l  { margin-top: 56px; }
.mt-xl { margin-top: 80px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row--between { display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- layout.css ---- */
/* ============================================================
   GIA Cleaning — page shell: container, grids, header,
   mobile drawer, footer, sticky bar
   ============================================================ */

/* --- container & sections ---------------------------------- */
.container {
  width: 100%;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.62); }
.section--surface { background: var(--surface); }

/* --- grids -------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split--sidebar { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 900px) {
  .split, .split--sidebar { grid-template-columns: 1fr; }
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(28px, 4vw, 44px);
}

/* --- header ------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* fully opaque: no translucency, no backdrop blur. The blur also cost a
     re-sample of everything behind the bar on every scrolled frame. */
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: transform var(--normal) var(--ease),
              border-color var(--normal) var(--ease),
              box-shadow var(--normal) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.5);
}
/* scrolling down hands the screen back to the content; scrolling up brings
   the bar straight back, so the call to action is never more than a flick away */
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  padding-block: 6px;
  transition: color var(--fast) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header__right { display: flex; align-items: center; gap: 12px; }

/* language pill */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(0, 153, 128, 0.14);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.lang__toggle:hover { background: rgba(0, 153, 128, 0.22); }
.lang__toggle svg { transition: transform var(--fast) var(--ease); }
.lang.is-open .lang__toggle svg { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 164px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-6px);
  /* visibility, not just opacity — same reason as .drawer below: otherwise
     the three locale links stay in the tab order while the menu is shut */
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease),
              visibility 0s linear var(--fast);
}
.lang.is-open .lang__menu {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* The items are links now — one locale is one tree of files — so the
   current language is marked with aria-current, not aria-selected. */
.lang__menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 15px;
  transition: background var(--fast) var(--ease);
}
.lang__menu a:hover,
.lang__menu a:focus-visible { background: var(--surface); }
.lang__menu a[aria-current] { color: var(--teal-ink); font-weight: 500; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(0, 153, 128, 0.14);
  color: var(--teal-ink);
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.icon-btn:hover { background: rgba(0, 153, 128, 0.22); }

.burger { display: none; background: var(--ink); color: #fff; }
.burger:hover { background: #27272a; }

@media (max-width: 1100px) {
  .nav { gap: 24px; }
  /* drop the in-page anchor first — Contact is the conversion page and stays */
  .nav__optional { display: none; }
}
@media (max-width: 900px) {
  .nav, .lang, .header__right .btn { display: none; }
  .burger { display: inline-flex; }
  .icon-btn { width: 40px; height: 40px; }
  .header__right { gap: 8px; }
  .logo img { height: 30px; }
}
/* Figma carries three logo sizes: 34 on a desktop, 30 on a tablet, 25 on a
   phone. The lockup is wide, so it needs the step down. */
@media (max-width: 560px) {
  .logo img { height: 25px; }
}

/* Nothing can open the drawer at this width, so nothing may leave it open
   either — a resize past the breakpoint used to strand a full-screen panel. */
@media (min-width: 901px) { .drawer { display: none; } }

/* --- mobile drawer ------------------------------------------ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  /* visibility, not just opacity — otherwise the links inside stay in the tab
     order while the drawer is invisible */
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--normal) var(--ease), transform var(--normal) var(--ease),
              visibility 0s linear var(--normal);
  overflow-y: auto;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  flex: 0 0 auto;
}
.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--surface);
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.drawer__close:hover { background: var(--line); }

.drawer__nav { padding: 12px var(--gutter) 0; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--normal) var(--ease), transform var(--normal) var(--ease);
}
.drawer__nav a:last-child { border-bottom: 0; }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: 0.05s; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 0.1s; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 0.15s; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 0.2s; }

.drawer__section { padding: 28px var(--gutter) 0; }
.drawer__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 14px;
}

.switcher {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--surface);
  border-radius: var(--r-pill);
}
.switcher a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.switcher a:hover:not([aria-current]),
.switcher a:focus-visible:not([aria-current]) { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.switcher a[aria-current] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.drawer__contact { padding: 32px var(--gutter) 40px; margin-top: auto; }
.drawer__contact hr { border: 0; border-top: 1px solid var(--line); margin: 0 0 24px; }
.drawer__phone {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.drawer__meta { font-size: 14px; color: var(--muted); margin-top: 8px; }
.drawer__contact .btn { margin-top: 24px; }

/* --- footer -------------------------------------------------- */
.footer { background: #fff; color: var(--body); padding-block: 70px 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 340fr) minmax(0, 179fr) minmax(0, 109fr) minmax(0, 161fr);
  gap: 80px;
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; } }
@media (max-width: 560px)  { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand p { margin-top: 22px; max-width: 36ch; font-size: 15px; line-height: 25px; color: var(--muted); }
.footer__logo { height: 34px; width: auto; }
.footer h4 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer li, .footer a { font-size: 15px; line-height: 22px; color: var(--body); }
.footer a { transition: color var(--fast) var(--ease); }
.footer a:hover { color: var(--teal-ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
  color: var(--subtle);
}
/* Перенос: французские подписи длиннее, и на телефоне «Paramètres des
   cookies» уходило за правый край на 18 px. */
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* The honeypot. Off-screen rather than display:none, because a bot that
   skips hidden fields would also skip this one and the trap would never
   spring; aria-hidden and tabindex -1 keep it away from everyone real. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Shown only when the send actually failed. The visitor is told to pick
   up the phone rather than left guessing, because at that point we have
   nothing and they do not know it. */
.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--r-field);
  background: #fdecea;
  color: #8a1c13;
  font-size: 14px;
  line-height: 21px;
}
.form-error[hidden] { display: none; }

form[data-lead].is-busy button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* Who built it. A quiet pill rather than a line of text, because it is the
   one thing in the footer that is ours and not the client's, and it should
   read as a signature instead of competing with their own links. */
.footer .madeby {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  line-height: 18px;
  color: var(--subtle);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.footer .madeby strong { font-weight: 600; letter-spacing: 0.06em; color: var(--body); }
.footer .madeby:hover { border-color: var(--ink); color: var(--body); }
.footer .madeby:hover strong { color: var(--ink); }

/* The company's identity: a legal requirement rather than a design element,
   so it sits under the rest of the footer and is quieter than all of it. */
.footer__id { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--ash); }
.footer__legal a { font-size: 14px; color: var(--subtle); }



/* Юридическая строка внизу была серой на белом в 2,56:1 — ниже нормы для
   мелкого текста. Тот же тон, что у ссылок рядом: 4,5:1 и выше. */
.footer__id { color: var(--subtle); }

/* «Cookie-instellingen» — кнопка, но стоит среди ссылок и выглядит как они. */
.footer__consent {
  border: 0; background: none; padding: 0; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--subtle); text-decoration: underline;
}

/* ---- sections.css ---- */
/* ============================================================
   GIA Cleaning — page sections
   Measurements taken from the Figma frame «Desktop — v2» (65:6):
   container 1240, section padding 70, card radius 28, panel radius 32–36.
   ============================================================ */

/* --- hero ---------------------------------------------------- */
.hero { padding: 24px var(--gutter); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 977fr) minmax(0, 403fr);
  gap: 20px;
}

.hero__panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 600px;
  isolation: isolate;
  background: var(--dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  pointer-events: none;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Светлее, чем было (0.88 → 0.70 у текста): фото должно читаться как
     фото, а не как ночь; белый текст всё ещё стоит на тёмной части. */
  background: linear-gradient(90deg,
    rgba(10, 10, 12, 0.70) 0%,
    rgba(10, 10, 12, 0.52) 44%,
    rgba(10, 10, 12, 0.14) 100%);
}

/* The looping video lives here — a portrait clip in a portrait panel, so it
   is centred rather than offset like the wide photo beside it. It carries NO
   scrim: nothing is set over it, so there is nothing to darken it for. The
   !important is load-bearing — the narrow-screen rule further down targets
   .hero__panel::after at the same specificity and would otherwise win here
   purely by coming later in the file, which is exactly how the video ended
   up dimmed on a phone. */
.hero__panel--side::after {
  background: none !important;
  display: none;
}
.hero__panel--side {
  background-image: url("../assets/hero-poster.jpg?v=68126795");
  /* 7.7 KB against 37 KB for the same frame. A browser that cannot parse
     image-set throws this declaration away and keeps the line above — which
     is the entire reason it is written twice rather than guarded. */
  background-image: image-set(url("../assets/hero-poster.avif?v=67e411fa") type("image/avif"));
  background-size: cover;
  background-position: center;
}
.hero__panel--side .hero__media { object-position: center; }

.hero__body {
  position: relative;
  z-index: 2;
  padding: 56px;
  max-width: 582px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__body .eyebrow { font-size: 13px; line-height: 17px; color: var(--teal-light); text-wrap: balance; }

.hero__title {
  margin-top: 18px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.09;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero__lede {
  margin-top: 16px;
  max-width: 470px;
  font-size: 17px;
  line-height: 27px;
  color: var(--mist);
}
.hero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* On a phone both calls to action run the full width of the panel, the way
   the mobile layout draws them. Side by side they would wrap anyway, and
   wrapped buttons of two different widths read as a mistake. */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* hero entrance */
.hero__body > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn var(--slow) var(--ease) forwards;
}
.hero__body > *:nth-child(1) { animation-delay: 0.08s; }
.hero__body > *:nth-child(3) { animation-delay: 0.2s; }
.hero__body > *:nth-child(4) { animation-delay: 0.28s; }
/* painted in the first frame, with no opacity ramp and no delay */
.hero__body > .hero__title {
  opacity: 1;
  animation: heroSlide var(--slow) var(--ease) forwards;
  animation-delay: 0s;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroSlide { to { transform: none; } }

/* Шапка листает снимки, как сторис: кадры лежат друг на друге и
   проявляются, полоски сверху показывают ход (та же анимация storyfill,
   что у карточки сторис). Наведение ничего не останавливает — пауза
   только вне экрана и в скрытой вкладке (класс is-paused ставит js). */
.hero { --hero-story: 5.5s; }
.hero__shot { opacity: 0; transition: opacity 1s var(--ease); }
.hero__shot.is-on { opacity: 1; }
.hero__bars {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; gap: 6px; padding: 18px 24px 0;
}
.hero__bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.34); overflow: hidden; }
.hero__bar i {
  display: block; height: 100%; border-radius: inherit; background: #fff;
  transform: scaleX(0); transform-origin: left center;
}
.hero__bar.is-done i { transform: scaleX(1); }
.hero__bar.is-on i { animation: storyfill var(--hero-story) linear forwards; }
.hero.is-paused .hero__bar.is-on i { animation-play-state: paused; }
@media (max-width: 860px) { .hero__bars { padding: 16px 20px 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__bars { display: none; }
  .hero__shot { transition: none; }
}

/* Заголовок печатается (js/app.js, typewriter). Полный текст уже стоит в
   разметке и в aria-label; невидимая копия держит высоту всех строк, а
   видимая растёт поверх неё — ничего под заголовком не прыгает. */
.hero__title.is-typing { position: relative; }
.hero__title .type__ghost { visibility: hidden; }
.hero__title .type__live { position: absolute; inset: 0; }
.type__caret {
  display: inline-block; width: 0.06em; height: 0.9em; margin-left: 0.06em;
  border-radius: 1px; background: currentColor; vertical-align: -0.08em;
  animation: caret 1s steps(2, start) infinite;
}
@keyframes caret { to { visibility: hidden; } }

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 574fr) minmax(0, 200fr); }
  .hero__panel { min-height: 520px; }
  .hero__body { padding: 44px; min-height: 520px; }
}
@media (max-width: 860px) {
  /* one column: the copy on top, the video below it — there is no
     "right shape" on a phone, so the panel keeps its own full width */
  .hero__grid { grid-template-columns: 1fr; }
  /* сверху больше: над текстом стоят полоски слайд-шоу (16px + 3px) */
  .hero__body { padding: 44px 26px 26px; min-height: 480px; max-width: none; }
  .hero__panel { min-height: 480px; }
  .hero__panel--side { min-height: 380px; }
  .hero__panel::after {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.22) 0%, rgba(10, 10, 12, 0.72) 72%);
  }
}

/* --- trust strip --------------------------------------------- */
/* The strip sits between two blocks that each bring their own space: the
   hero leaves 24px under itself, and the section below has its top padding
   zeroed here. The strip's own padding is therefore asymmetric on purpose —
   80 above and 54 below — which is what makes the gap MEASURE the same 80px
   on each side. The 26px of difference is the line-box descent under the last
   fact plus the offset the next section head carries before its eyebrow.
   Equal padding here would read as lopsided. */
.trust + .section { padding-top: 0; }
.trust__stack {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 80px;
  padding-bottom: 54px;
}
.trust__score {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 11px;
  transition: color var(--fast) var(--ease);
}
.trust__num {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.trust__meta { font-size: 13px; line-height: 18px; color: var(--subtle); }
.trust__score:hover .trust__meta,
.trust__score:focus-visible .trust__meta { color: var(--teal-ink); }

.trust__rule {
  flex: 0 0 auto;
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

.trust__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}
.trust__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.trust__facts svg { flex: 0 0 auto; color: var(--teal); }

@media (max-width: 900px) {
  /* the rule only divides something when the two halves sit side by side */
  .trust__stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 36px;    /* measured: puts both gaps at 56 */
    padding-bottom: 56px; /* and 56 below, so the two match */
  }
  .trust__rule { display: none; }
  .trust__num { font-size: 28px; }
  .trust__facts { gap: 8px 22px; font-size: 14px; }
}
@media (max-width: 560px) {
  .trust__facts { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- section head -------------------------------------------- */
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sechead h2 { margin-top: 18px; }
.sechead__all {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.sechead__all:hover { color: var(--teal-ink); }

/* --- bento cards ---------------------------------------------- */
.bento { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; }
.bento__row { display: grid; gap: 20px; }
.bento__row--lead { grid-template-columns: minmax(0, 760fr) minmax(0, 460fr); }
.bento__row--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .bento__row--lead { grid-template-columns: 1fr; }
  .bento__row--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bento__row--trio { grid-template-columns: 1fr; }
}

.scard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  /* При наведении карточка вырастает — без тени: та выглядела дёшево.
     Рост — через scale, а не transform: transform занят появлением при
     прокрутке (base.css, data-reveal), и там же задан переход для scale;
     эта строка — для страницы без скрипта. */
  transition: scale var(--grow) var(--ease-grow);
  position: relative;
}
/* Заметный рост (4%), медленно и мягко; без ограничения по типу указателя —
   владелец проверяет и в эмуляции телефона, а на настоящем касании карточка
   всё равно уводит на страницу услуги. Выросшая карточка — поверх соседей. */
.scard:hover,
.scard:focus-within { scale: 1.04; z-index: 1; }

.scard__media { aspect-ratio: 400 / 230; overflow: hidden; background: var(--mist); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; }

.scard__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scard__body h3 { font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.scard__body p { font-size: 15px; line-height: 24px; color: var(--muted); }
.scard__link { margin-top: auto; padding-top: 16px; }

/* --- the stories card ----------------------------------------- *
   Three photographs that turn themselves over, Instagram-style: a strip of
   segmented bars at the top, the active one filling over the life of the
   slide. The fill IS the clock — the script advances on that bar's
   animationend rather than on a timer of its own, so pausing the animation
   pauses the carousel and the two can never drift apart.
 * -------------------------------------------------------------- */
.stories {
  --story: 6s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 470px;
  border-radius: 28px;
  background: var(--dark);
}
.stories__shots { position: absolute; inset: 0; z-index: 0; }
.stories__shot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  /* a slow drift inwards over the life of the slide, so a still photograph
     is not sitting dead on the page for six seconds */
  transform: scale(1.06);
  transition: opacity 760ms var(--ease), transform var(--story) linear;
}
.stories__shot.is-on { opacity: 1; transform: scale(1); }

.stories::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(10, 10, 12, 0.52) 0%, rgba(10, 10, 12, 0.10) 24%,
    rgba(10, 10, 12, 0.52) 62%, rgba(10, 10, 12, 0.93) 100%);
}

/* --- the bar strip --- */
.stories__top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 0;
}
.stories__bars { flex: 1; display: flex; gap: 6px; }
.stories__bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
}
.stories__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.stories__bar.is-done i { transform: scaleX(1); }
.stories__bar.is-on i { animation: storyfill var(--story) linear forwards; }
.stories.is-paused .stories__bar.is-on i { animation-play-state: paused; }
@keyframes storyfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reduced motion: the script does not advance, so the bar must not pretend
   to be counting. The crushed duration in the global reset would otherwise
   snap it full in 0.01ms and leave it looking stuck. */
.stories.is-static .stories__bar.is-on i { animation: none; transform: scaleX(1); }

/* --- the copy --- */
.stories__body {
  position: relative; z-index: 2;
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
/* one grid cell holds every pane, so the card is as tall as the tallest of
   them and nothing jumps when the slide turns */
.stories__panes { display: grid; }
.stories__pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease),
              visibility 0s linear 480ms;
}
.stories__pane.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s, 0s, 0s;
}
.stories__pane h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.stories__link { margin-top: 16px; }
.stories__link .link-arrow { color: #fff; }

/* margin and padding explicitly: a <ul> carries 40px of inline padding
   from the browser default, which pushed the pills in past the title. */
.stories__tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.stories__tab {
  font: inherit;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}
.stories__tab:hover { background: rgba(255, 255, 255, 0.2); }
.stories__tab.is-on { background: #fff; border-color: #fff; color: var(--ink); }

@media (max-width: 680px) {
  .stories { min-height: 420px; }
  .stories__top { padding: 16px 16px 0; }
  .stories__body { padding: 26px; gap: 20px; }
  .stories__tab { padding: 9px 16px; font-size: 14px; }
}


/* --- statement ------------------------------------------------ */
.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 656fr) minmax(0, 360fr);
  gap: 80px;
  align-items: center;
  /* a photograph behind the panel, not a drawing: the map read as noise at
     this size. The scrim is heaviest on the left, where the headline sits. */
  background: var(--dark) url("../assets/statement.jpg?v=780e849d") center / cover no-repeat;
  /* 72 KB against 165 KB, and 17 KB on a phone. Same two-line fallback as
     the hero poster: an older browser keeps the shorthand above. */
  background-image: image-set(url("../assets/statement.avif?v=94b787ad") type("image/avif"));
  border-radius: var(--r-panel);
  padding: 80px 72px;
}

/* Below 700px the band is at most 700px wide, so the narrow copy covers even
   a retina phone — and it is a fifth of the file. */
@media (max-width: 700px) {
  .statement {
    background-image: image-set(url("../assets/statement-760.avif?v=5f87c673") type("image/avif"));
  }
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Было 0,97 → 0,74 — фото превращалось в ночь, владелец попросил
     светлее. Слева, под заголовком, по-прежнему темнее; справа, под
     цифрами, достаточно для белого текста на светлом снимке. */
  background: linear-gradient(90deg,
    rgba(14, 14, 16, 0.80) 0%,
    rgba(14, 14, 16, 0.66) 46%,
    rgba(14, 14, 16, 0.56) 100%);
}
.statement__copy,
.statement__stats { position: relative; z-index: 1; }

.statement h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.17;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.statement p { margin-top: 24px; font-size: 17px; line-height: 29px; color: #d4d4d8; }

.statement__stat { padding-block: 24px; }
.statement__stat:first-child { padding-top: 0; }
.statement__stat:last-child { padding-bottom: 0; }
.statement__stat + .statement__stat { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.statement__stat strong {
  display: block;
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.statement__stat span { font-size: 15px; line-height: 22px; color: #d4d4d8; }

@media (max-width: 900px) {
  .statement { grid-template-columns: 1fr; gap: 40px; padding: 44px 32px; }
}

/* --- callback strip ------------------------------------------- */
.callback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px;
  background: var(--teal-soft);
  border-radius: 24px;
}
.callback__copy { max-width: 60ch; }
.callback__copy h3 { font-size: 26px; line-height: 33px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.callback__copy p { margin-top: 7px; font-size: 15px; line-height: 24px; color: var(--muted); }
.callback__form { display: flex; gap: 10px; flex-wrap: wrap; }
.callback__form input {
  width: 230px; height: 56px;
  padding: 0 22px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.callback__form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 153, 128, 0.16); }
.callback__form input::placeholder { color: var(--subtle); }
.callback__form button { height: 56px; }
.callback .form-success { margin-top: 0; background: #fff; border-color: var(--teal-line); }

@media (max-width: 900px) {
  .callback { flex-direction: column; align-items: stretch; gap: 24px; padding: 28px; }
  .callback__form { flex-direction: column; }
  .callback__form input { width: 100%; }
}

/* --- process steps -------------------------------------------- */
/* Four numbered stages, so an ordered list. Each one carries its own piece
   of the rail: a grey hairline that is always there, and a teal line that
   draws itself across as the step reveals, with the marker landing first.
   The stagger comes from --d, which the reveal sweep already sets, so the
   rail is drawn in reading order without a second timing system. */
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 620px)  { .steps { grid-template-columns: 1fr; gap: 30px; } }

.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition: width 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .step.is-in::before { width: 100%; }
/* without the script the rail is simply drawn, rather than never drawn */
html:not(.js) .step::before { width: 100%; }

.step__num {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 12px; font-size: 20px; line-height: 27px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.step p { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .step::before { width: 100% !important; }
}

/* --- reviews --------------------------------------------------- */
/* The head carries the score, because a real 4,8 from a profile anyone can
   open is the strongest thing this section has to say. It is a link, not a
   badge: the number is only worth printing if it can be checked. */
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.reviews__title {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}
.gscore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              transform var(--fast) var(--ease);
}
.gscore:hover,
.gscore:focus-visible {
  border-color: var(--teal);
  transform: scale(1.02);
}
.gscore__num {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.gscore__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--subtle);
}
.gscore__meta svg { transition: transform var(--fast) var(--ease); }
.gscore:hover .gscore__meta svg { transform: translateX(3px); }

/* The stars now open this block, so the gap that the pullquote used to
   provide has to move up here — otherwise the row reads as a rating of
   the section heading above it. */
.lead-review { margin: 40px 0 0; }

.reviews__note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 20px;
  color: var(--subtle);
  max-width: 62ch;
}

/* the ask: one short sentence and one button, nothing else */
.askreview {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--teal-soft);
}
.askreview__title { font-size: 18px; line-height: 25px; font-weight: 600; color: var(--ink); }
.askreview__body { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--muted); max-width: 54ch; }
.askreview .btn { flex: 0 0 auto; }

@media (max-width: 720px) {
  .reviews__head { align-items: flex-start; gap: 22px; }
  .gscore { padding: 12px 16px; gap: 12px; }
  .gscore__num { font-size: 26px; }
  .askreview { padding: 22px; }
  .askreview .btn { width: 100%; }
}

.pullquote {
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.37;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 28px;
  max-width: 24ch;
}
@media (max-width: 900px) { .pullquote { max-width: none; } }

.author { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.author__avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 500;
}
.author strong { display: block; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.author span { font-size: 14px; line-height: 20px; color: var(--subtle); }
/* The avatar is also a span, so BOTH `.author span` (0,1,1) and, inside a
   card, `.review .author span` (0,2,1) outrank a plain `.author__avatar`
   and repaint it — measured: white initials came out #52525b on red, 1.62:1.
   Colour therefore lands on a selector that beats the longer of the two, and
   reads two custom properties the palette classes set; a custom property is
   not in that fight, so each avatar can still differ. */
.author .author__avatar,
.review .author .author__avatar {
  background: var(--av-bg, var(--teal-soft));
  color: var(--av-ink, var(--teal-ink));
}
.author .author__avatar { font-size: 14px; }
/* Google's four. Yellow carries dark text on purpose: white on #fbbc04 is
   1.8:1 and unreadable, #202124 on it is 11:1. */
.author__avatar--g0 { --av-bg: #1a73e8; --av-ink: #fff; }
.author__avatar--g1 { --av-bg: #d93025; --av-ink: #fff; }
.author__avatar--g2 { --av-bg: #188038; --av-ink: #fff; }
.author__avatar--g3 { --av-bg: #fbbc04; --av-ink: #202124; }
.review .author .author__avatar { font-size: 13px; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .reviews { grid-template-columns: 1fr; } }

/* A white card inside a hairline, 12px corners: Google's own treatment for
   a review, which is the point — these are Google reviews and they should
   look like it rather than like our teal panels. #dadce0 is Google's
   divider grey. */
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
/* Отзыв тоже появляется через data-reveal, поэтому рост — через scale
   (см. base.css); переход для него задан там же. */
.review { transition: border-color var(--fast) var(--ease), scale var(--grow) var(--ease-grow); }
.review:hover {
  border-color: #c4c7ca;
  scale: 1.015;
}
.review p { font-size: 17px; line-height: 28px; color: var(--body); }
.review .author { margin-top: auto; gap: 12px; }
.review .author__avatar { width: 38px; height: 38px; font-size: 13px; }
.review .author strong { font-size: 15px; line-height: 20px; }
.review .author span { font-size: 13px; line-height: 18px; color: var(--muted); }

/* --- the Google chrome: the mark, the stars, the score pill ------ */
/* The stars carry a number, so they are aria-hidden and the figure is
   repeated in sr-only text beside them — a screen reader should hear
   "5 out of 5", not five identical images. */
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* In a card the two ends are a few hundred pixels apart and the split reads
   as deliberate. Across the full container it reads as two unrelated
   things, so the lead review keeps them together. */
.lead-review .review__top { justify-content: flex-start; gap: 16px; }
.gstars { display: inline-flex; }
.gstars svg { display: block; }
.gmark { flex: 0 0 auto; }
.gscore__body { display: flex; flex-direction: column; gap: 5px; }

/* --- FAQ -------------------------------------------------------- */
.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 380fr) minmax(0, 760fr);
  gap: 100px;
  align-items: start;
}
@media (max-width: 1000px) { .faq__layout { grid-template-columns: 1fr; gap: 44px; } }

.faq__intro p { margin-top: 18px; font-size: 16px; line-height: 26px; color: var(--muted); }
/* На компьютере левая колонка стоит под шапкой, пока прокручиваются
   вопросы справа; .faq__layout выравнивает колонки по верху, иначе
   sticky не сработает. */
@media (min-width: 1001px) {
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* contact puts the long form first and the quick details beside it */
.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 760fr) minmax(0, 380fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 1000px) { .contact__layout { grid-template-columns: 1fr; gap: 32px; } }

.faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 19px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--fast) var(--ease);
}
.faq__q:hover { color: var(--teal-ink); }
.faq__q svg { flex: 0 0 auto; color: var(--subtle); transition: transform var(--normal) var(--ease), color var(--normal) var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); color: var(--teal); }
/* visibility as well as height, so a collapsed answer is out of the
   accessibility tree instead of being read out while invisible */
.faq__a {
  overflow: hidden;
  height: 0;
  visibility: hidden;
  transition: height var(--normal) var(--ease), visibility 0s linear var(--normal);
}
.faq__item.is-open .faq__a { visibility: visible; transition-delay: 0s; }
.faq__a p { padding: 0 48px 28px 0; font-size: 16px; line-height: 27px; color: var(--muted); }
@media (max-width: 680px) { .faq__a p { padding-right: 0; } }

/* --- dark lead form -------------------------------------------- */
.leadform {
  background: var(--dark);
  border-radius: 32px;
  padding: 56px;
  color: #fff;
}
.leadform .eyebrow { color: var(--teal); font-size: 12px; }
.leadform h2 {
  margin-top: 14px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: #fff;
}
.leadform > p { margin-top: 10px; max-width: 62ch; color: var(--ash); font-size: 16px; line-height: 26px; }

.leadform__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1000px) { .leadform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .leadform__grid { grid-template-columns: 1fr; } }

.leadform .field label { color: var(--ash); font-size: 13px; line-height: 18px; }
.leadform .field input,
.leadform .field select,
.leadform .field textarea {
  height: 56px;
  background: #18181b;
  border-color: transparent;
  color: #fff;
}
/* on the #18181b inputs, #71717a drops to ~3.5:1 — #a1a1aa clears 4.5:1 */
.leadform .field input::placeholder,
.leadform .field textarea::placeholder { color: var(--ash); }
.leadform .field input:focus,
.leadform .field select:focus,
.leadform .field textarea:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(143, 212, 199, 0.18);
}
.leadform .field--select svg { color: var(--ash); bottom: 20px; }
.leadform .btn { width: 100%; height: 56px; margin-top: 28px; }
/* #71717a only reaches 3.99:1 on #0e0e10, so the note on dark steps up */
.leadform__note { margin-top: 14px; font-size: 14px; line-height: 21px; color: var(--ash); }
.leadform .form-success { background: rgba(0, 153, 128, 0.14); }

@media (max-width: 680px) { .leadform { padding: 32px 24px; } }

/* --- detailed form --------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail-grid .span-2 { grid-column: span 2; }
@media (max-width: 680px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid .span-2 { grid-column: span 1; }
}
.detail-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }

/* --- media & info ----------------------------------------------- */
.media-panel {
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; }

.info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-size: 15px; color: var(--muted); }
.info-row dd { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink); text-align: right; }

/* --- page intro -------------------------------------------------- */
.pagehead { padding-block: 80px 0; }
.pagehead .display { max-width: 18ch; }
.pagehead .lede { margin-top: 20px; max-width: 54ch; }

/* .crumbs lives in pages.css — it is only used by the inner pages */

/* ---------------------------------------------------------------- */
/* Полоска согласия на счётчики.                                    */
/* Ставится внизу и не закрывает содержимое целиком: это сообщение, */
/* а не препятствие. Прячется разметкой (hidden), показывается      */
/* скриптом — значит, у посетителя без скриптов её нет, и счётчиков */
/* у него тоже нет. Безопасная сторона по умолчанию.                */
/* ---------------------------------------------------------------- */
/* Таблетка в одну строку внизу по центру — как пилюли в шапке: значок  */
/* в мятном круге, вопрос, ссылка на политику и две кнопки, 56 px в     */
/* высоту. Закрывает только нижний край страницы. На телефоне — узкая    */
/* карточка с отступами от краёв, кнопки в один ряд. Тень длинная и      */
/* мягкая, как у шапки: таблетка лежит поверх фотографий.                */
.consent {
  position: fixed; left: 24px; right: 24px; bottom: 20px; z-index: 80;
  width: fit-content; max-width: 100%; margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 10px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 24px 48px -24px rgba(9, 9, 11, .45), 0 1px 3px rgba(9, 9, 11, .06);
  animation: consent-in var(--entrance) var(--ease) both;
}
.consent[hidden] { display: none; }
/* Появление через translate, а не transform: transform на сайте занят
   анимацией появления блоков. */
@keyframes consent-in { from { opacity: 0; translate: 0 16px; } }

/* Значок в мятном круге. При появлении от него расходится одно
   бирюзовое кольцо и гаснет — взгляд находит таблетку сам, без мигания. */
.consent__icon {
  position: relative; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-ink);
}
.consent__icon svg { width: 18px; height: 18px; }
.consent__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--teal); opacity: 0;
  animation: consent-ring 1.4s var(--ease) .35s both;
}
@keyframes consent-ring { from { opacity: .9; scale: .75; } to { opacity: 0; scale: 1.9; } }

.consent__text {
  flex: 0 1 auto; min-width: 0; margin: 0;
  font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
.consent__text a {
  margin-left: 4px; color: var(--teal-ink); font-weight: 500; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--teal-line);
  transition: text-decoration-color var(--fast) var(--ease);
}
.consent__text a:hover { text-decoration-color: currentColor; }

.consent__btns { flex: 0 0 auto; display: flex; gap: 6px; }
.consent__btns .btn { height: 40px; padding-inline: 18px; font-size: 14px; }

@media (max-width: 640px) {
  .consent {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto; flex-wrap: wrap; gap: 10px 12px;
    padding: 12px 14px 14px;
    border-radius: 22px;
  }
  .consent__icon { width: 32px; height: 32px; }
  .consent__text { flex: 1 1 200px; }
  /* Кнопки одной строкой, обе пополам — отказ так же удобен, как согласие. */
  .consent__btns { flex: 1 1 100%; }
  .consent__btns .btn { flex: 1 1 0; height: 44px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .consent, .consent__icon::after { animation: none; }
}


/* Все девять услуг — бегущими рядами под заголовком раздела (разметка в
   tools/lib/home.mjs, движение в js/app.js). На телефоне три ряда, на
   компьютере один; ряд из двух одинаковых половин сдвигается ровно на
   половину (--half, в пикселях) — петля бесшовная при любой ширине плашек.
   Скорость одна для всех рядов (--dur считается от ширины), края растворены
   маской. При наведении ничего не останавливается — так просил владелец;
   при «уменьшить движение» и без скрипта это обычный список с переносом. */
.servrows {
  margin: 20px 0 0; display: grid; gap: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.servrow { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.servrow li { flex: 0 0 auto; margin-right: 10px; }
.servrow.is-moving { animation: servrow var(--dur, 32s) linear infinite; will-change: transform; }
.servrow--ltr.is-moving { animation-direction: reverse; }
@keyframes servrow { to { transform: translate3d(calc(-1 * var(--half, 50%)), 0, 0); } }
.servrow--all { display: none; }
@media (min-width: 861px) {
  .servrow--all { display: flex; }
  .servrow--part { display: none; }
}
html:not(.js) .servrow, .servrow:not(.is-moving) { flex-wrap: wrap; width: auto; row-gap: 8px; }
html:not(.js) .servrows, .servrows:not(:has(.is-moving)) { -webkit-mask-image: none; mask-image: none; }

.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--mist);
  color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
/* главные услуги — непрозрачная бирюзовая плашка; оттенок кнопок, а не
   фирменный #009980: с белым текстом тот даёт 3,57:1, этот — 4,69:1 */
.chip--solid { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.chip--solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
@media (max-width: 560px) { .chip { min-height: 36px; padding: 0 14px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .servrow li[aria-hidden="true"] { display: none; }
}
.factnote { margin: 20px 0 0; font-size: 15px; color: var(--subtle); }
address { font-style: normal; }

/* --- quickbar ------------------------------------------------------- */
/* Тонкая полоса «Bellen · Schoonmaak boeken» внизу телефона. Появляется,
   когда первый экран прокручен, и уходит, когда видна форма, подвал или
   карточка согласия (та стоит выше по z-index и ничем не перекрывается). */
.quickbar {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70; display: none; gap: 8px; padding: 8px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line, rgba(15, 23, 42, .1));
  border-radius: 999px;
  transform: translateY(calc(100% + 24px)); opacity: 0;
  /* Спрятанная полоса ещё и невидима для фокуса: без visibility Tab и
     VoiceOver заходили на две прозрачные кнопки за краем экрана. Видимость
     пропадает после того, как полоса уехала, — анимация та же. */
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility 0s .32s;
}
.quickbar .btn { flex: 1 1 0; height: 48px; padding-inline: 14px; font-size: 15px; }
.quickbar.is-on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 900px) { .quickbar { display: flex; } }
@media (prefers-reduced-motion: reduce) { .quickbar { transition: none; } }

/* Пометка «(optioneel)» у необязательных полей формы. */
.field__opt { font-weight: 400; color: var(--subtle); font-size: .85em; }

/* Кнопка после четырёх шагов и строка под кнопками на странице услуги. */
.steps__cta { margin-top: 28px; }
.hero__after { margin-top: 12px; color: var(--subtle); font-size: 15px; }

/* ---- pages.css ---- */
/* ============================================================
   GIA Cleaning — blocks that only appear on the inner pages.
   Measurements from the Figma frames «Services — v2» (74:6),
   «Service detail — v2» (75:6), «About — v2» (76:6),
   «Contact — v2» (77:6).
   ============================================================ */

/* --- page hero ------------------------------------------------ */
.phero { padding-block: 64px; }
.phero h1 {
  margin-top: 28px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 19ch;
}
.phero p {
  margin-top: 24px;
  max-width: 68ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 30px;
  color: var(--muted);
}
.phero .row { margin-top: 32px; }
.phero .btn { height: 54px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--subtle); }
.crumbs i { color: var(--line); font-style: normal; }
.crumbs a { transition: color var(--fast) var(--ease); }
.crumbs a:hover { color: var(--teal-ink); }
.crumbs [aria-current] { color: var(--ink); }

/* --- wide service card (610 × 493) ---------------------------- */
.bento__row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .bento__row--pair { grid-template-columns: 1fr; } }

.scard--wide .scard__media { aspect-ratio: 610 / 300; }
.scard--wide .scard__body { padding: 32px; }
.scard--wide .scard__body h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.27; }

/* --- checklist ------------------------------------------------- */
.panel--soft {
  background: var(--surface);
  border-radius: 32px;
  padding: 48px 56px;
}
.panel--soft h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.panel--soft > p { margin-top: 12px; max-width: 64ch; font-size: 16px; line-height: 26px; color: var(--muted); }

.checklist {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 56px;
}
@media (max-width: 800px) { .checklist { grid-template-columns: 1fr; } }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 25px;
  color: var(--body);
}
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal-ink); }

@media (max-width: 680px) { .panel--soft { padding: 32px 24px; } }

/* --- dark method / area panel ---------------------------------- */
.dpanel {
  display: grid;
  grid-template-columns: minmax(0, 596fr) minmax(0, 420fr);
  gap: 80px;
  align-items: center;
  background: var(--dark);
  border-radius: var(--r-panel);
  padding: 72px;
  color: #fff;
}
.dpanel .eyebrow { color: var(--teal); }
.dpanel h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.dpanel > div > p { margin-top: 18px; font-size: 16px; line-height: 28px; color: var(--ash); }

.dpanel .checklist { grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
.dpanel .checklist li { color: #fff; }
.dpanel .checklist svg { color: var(--teal-light); }

@media (max-width: 900px) { .dpanel { grid-template-columns: 1fr; gap: 36px; padding: 44px 32px; } }
@media (max-width: 680px) { .dpanel { padding: 32px 24px; } }

/* areas live in the same dark panel, two per row with hairlines */
.arealist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arealist span {
  padding: 22px 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
}
.arealist span:nth-child(n + 3) { border-top: 1px solid #27272a; }
/* название города — ссылка на его страницу (основной язык) */
.arealist a { color: inherit; text-decoration: none; }
.arealist a:hover, .arealist a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* --- fact grid (good to know / principles) ---------------------- */
.factgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
@media (max-width: 1000px) { .factgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 620px)  { .factgrid { grid-template-columns: 1fr; } }

.fact { border-top: 1px solid var(--line); padding-top: 22px; }
.fact h3 { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.fact p { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--muted); }

/* --- service detail hero split ---------------------------------- */
.dsplit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .dsplit { grid-template-columns: 1fr; gap: 36px; } }

.dsplit h1 {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.dsplit > div > p { margin-top: 24px; font-size: 17px; line-height: 29px; color: var(--muted); }
.dsplit .row { margin-top: 32px; }
.dsplit .btn { height: 54px; }

.dimage { border-radius: 28px; overflow: hidden; aspect-ratio: 580 / 440; background: var(--surface); }
.dimage img { width: 100%; height: 100%; object-fit: cover; }

/* --- about ------------------------------------------------------- */
.wideimage { margin-top: 56px; border-radius: 32px; overflow: hidden; aspect-ratio: 1240 / 480; background: var(--surface); }
.wideimage img { width: 100%; height: 100%; object-fit: cover; }

.story { display: grid; grid-template-columns: minmax(0, 440fr) minmax(0, 700fr); gap: 100px; align-items: start; }
@media (max-width: 1000px) { .story { grid-template-columns: 1fr; gap: 32px; } }
.story h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.story__body p { font-size: 17px; line-height: 29px; color: var(--body); }
.story__body p + p { margin-top: 24px; }

/* --- contact booking --------------------------------------------- */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 780fr) minmax(0, 420fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 1000px) { .booking { grid-template-columns: 1fr; } }

.bookform {
  background: var(--surface);
  border-radius: 32px;
  padding: 48px;
}
.bookform h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.27;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bookform > p { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--muted); }
.bookform .field input,
.bookform .field select,
.bookform .field textarea { height: 54px; background: #fff; border-color: transparent; }
.bookform .field textarea { height: auto; min-height: 120px; }
.bookform .field label { color: var(--muted); }
.bookform .field--select svg { bottom: 19px; }

.formgroup { margin-top: 36px; }
.formgroup + .formgroup { padding-top: 36px; border-top: 1px solid var(--line); }
.formgroup__label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }
.formgroup__label b { font-weight: 500; margin-right: 10px; }

.fieldrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.fieldrow--one { grid-template-columns: 1fr; }
@media (max-width: 620px) { .fieldrow { grid-template-columns: 1fr; } }

.vouchers {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--teal-soft);
  border-radius: 14px;
}
.vouchers input {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}
.vouchers strong { display: block; font-size: 15px; line-height: 21px; font-weight: 500; color: var(--ink); }
.vouchers span { font-size: 13px; line-height: 20px; color: var(--muted); }

.bookform .btn { width: 100%; height: 56px; margin-top: 28px; }
.bookform__note { margin-top: 14px; font-size: 14px; line-height: 21px; color: var(--muted); }

@media (max-width: 680px) { .bookform { padding: 28px 22px; } }

/* sidebar */
.nextsteps {
  background: var(--dark);
  border-radius: 28px;
  padding: 36px;
  color: #fff;
}
.nextsteps .eyebrow { color: var(--teal); }
.nextsteps ol { list-style: none; margin: 24px 0 0; padding: 0; }
.nextsteps li { display: flex; gap: 16px; padding-block: 20px; }
.nextsteps li:first-child { padding-top: 0; }
.nextsteps li:last-child { padding-bottom: 0; }
.nextsteps li + li { border-top: 1px solid #27272a; }
.nextsteps b {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #1c1c20;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
}
.nextsteps strong { display: block; font-size: 16px; line-height: 22px; font-weight: 600; color: #fff; }
.nextsteps span { font-size: 14px; line-height: 22px; color: var(--ash); }

.details {
  background: var(--surface);
  border-radius: 28px;
  padding: 36px;
  margin-top: 20px;
}
.details .eyebrow { color: var(--muted); }
.details__phone {
  display: block;
  margin-top: 14px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.details dl { margin: 24px 0 0; }
.details .info-row dt { font-size: 14px; line-height: 21px; color: var(--muted); }
.details .info-row dd { font-size: 14px; line-height: 21px; font-weight: 500; }

/* --- legal pages ------------------------------------------------ */
/* Two columns with the contents sticky. A privacy policy is consulted, not
   read: somebody arrives wanting one clause, so the list of clauses stays
   reachable while they are halfway down one. One column from 1000px, where
   a sticky list would take a third of the screen and give nothing back. */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 300fr) minmax(0, 760fr);
  gap: 80px;
  align-items: start;
}
/* minmax(0, 1fr), not 1fr. A bare 1fr is minmax(auto, 1fr), and its minimum
   is the column's min-content width — so one unbreakable word makes the
   track wider than the grid itself and the page scrolls sideways. That is
   what www.gegevensbeschermingsautoriteit.be did to the Dutch privacy page
   at 320px: a 326px track inside a 280px container. The two-column rule
   above already had it right. */
@media (max-width: 1000px) { .legal { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.legal__meta { margin-top: 20px; font-size: 14px; line-height: 22px; color: var(--subtle); }

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 26px 24px;
}
@media (max-width: 1000px) { .legal__toc { position: static; } }

.legal__toc-label {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

/* Numbered by css rather than by an <ol> marker: the number sits in its own
   tabular column so a two-digit clause does not push its title out of line. */
.legal__toc ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
  transition: color var(--fast) var(--ease);
}
.legal__toc a::before {
  content: counter(toc) ".";
  min-width: 1.7em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}
.legal__toc a:hover { color: var(--teal-ink); }

.legal__sec + .legal__sec { margin-top: 44px; }
.legal__sec h2 {
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.legal__sec p { margin-top: 16px; max-width: 70ch; line-height: 28px; }
.legal__sec ul { margin: 16px 0 0; padding-left: 22px; max-width: 70ch; }
.legal__sec li { margin-top: 8px; line-height: 28px; }

/* A link inside legal prose has to look like one: this is the page where
   somebody is hunting for the address of a supervisory authority. */
.legal__body a {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal__id { margin: 24px 0 0; max-width: 580px; border-top: 1px solid var(--line); }
.legal__id > div {
  display: grid;
  grid-template-columns: minmax(0, 210fr) minmax(0, 370fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.legal__id dt { font-size: 14px; line-height: 22px; color: var(--muted); }
.legal__id dd { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .legal__id > div { grid-template-columns: 1fr; gap: 2px; } }

.legal__ask {
  margin-top: 48px;
  padding: 26px 28px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  border-radius: var(--r-card);
  line-height: 28px;
  color: var(--ink);
}

/* ---------------------------------------------------------------- */
/* Страница «не найдено».                                           */
/* Отдельная и очень простая: её задача — не удержать, а вернуть     */
/* человека в сайт. Поэтому ни шапки, ни подвала, только три         */
/* дороги обратно.                                                   */
/* ---------------------------------------------------------------- */
.notfound {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 640px; margin: 0 auto; padding: 48px 24px;
  text-align: left;
}
.notfound .eyebrow { color: var(--teal-btn); margin-bottom: 10px; }
.notfound h1 {
  font-size: clamp(30px, 6vw, 46px); line-height: 1.1;
  letter-spacing: -0.03em; margin: 0 0 14px;
}
.notfound__lede { margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.notfound__alt { margin: 0; font-size: 14px; color: var(--muted); }
.notfound__alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Область нажатия у хлебных крошек и у юридических ссылок в подвале.

   Измерено на живом сайте при ширине 375: крошки 20 пикселей в высоту,
   ссылки в подвале 22. WCAG 2.2 просит не меньше 24 — ссылкам внутри
   текста это правило прощает, этим пяти нет, потому что они стоят
   отдельными строками.

   Увеличиваем не сам элемент, а невидимую область вокруг него: так на
   телефоне в них проще попасть, а вёрстка не сдвигается ни на пиксель. */
.crumbs a,
.footer__legal a { position: relative; }

.crumbs a::after,
.footer__legal a::after {
  content: '';
  position: absolute;
  inset: -5px -2px;
}

/* ── Статьи ──────────────────────────────────────────────────────────── */
/* Текст статьи читается подряд, в отличие от остальных страниц сайта,
   поэтому колонка здесь уже: строка длиннее 75 знаков теряет читателя на
   возврате к началу следующей. */
.container--narrow { max-width: 720px; }

.artmeta { font-size: 14px; color: var(--ink-3, var(--subtle)); margin-top: 12px; }

.prose > h2 { margin-top: 40px; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { margin-top: 16px; max-width: 68ch; }

.artlist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 2px; }

.artlist__link {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: var(--card, #fff);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: background var(--fast) var(--ease);
}
.artlist__link:hover { background: var(--wash, #f4f6f5); }

.artlist__kicker { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.artlist__title { font-size: 22px; line-height: 1.25; font-weight: 600; }
.artlist__lede { color: var(--subtle); max-width: 62ch; }
.artlist__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--teal-ink); font-weight: 500; }

/* Врезка в конце статьи: человек дочитал про проблему — здесь тот, кто её
   решает. Это и есть смысл всей статьи с точки зрения дела. */
.artcta {
  padding: 28px;
  border-radius: 16px;
  background: var(--wash, #f4f6f5);
}
.artcta__kicker { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.artcta__title { font-size: 22px; font-weight: 600; margin-top: 6px; }
.artcta__body { color: var(--subtle); margin-top: 8px; max-width: 58ch; }

@media (max-width: 680px) {
  .artlist__link { padding: 20px; }
  .artcta { padding: 22px; }
  .artlist__title, .artcta__title { font-size: 20px; }
}
