﻿/**
 * Автоправо — композиция в духе nafta-avtomatika (воздух, bento-панели,
 * точка-eyebrow, крупные цифры, pill-CTA со стрелкой).
 * Цвета бренда: #18291E · #7fb56a (без лайма)
 */
:root {
  --bg: #e9ece7;
  --bg-alt: #e2e7df;
  --surface: #ffffff;
  --surface-soft: #f3f5f1;
  --ink: #18291E;
  --muted: #667265;
  /* Main #18291E · accent #7fb56a · hover fill #18291E */
  --accent: #7fb56a;
  --accent-hover: #18291E;
  --accent-soft: rgba(127, 181, 106, 0.16);
  --lime: #7fb56a; /* legacy alias → green */
  --lime-hover: #243b2d;
  --btn-text: #18291E;
  --green: #7fb56a;
  --green-soft: #91c27d;
  --green-dark: #243b2d;
  --green-deep: #18291E;
  --green-mid: #6e9e6c;
  --border: rgba(24, 41, 30, 0.12);
  --border-strong: rgba(24, 41, 30, 0.28);
  --shadow: 0 18px 40px rgba(24, 41, 30, 0.08);
  --shadow-sm: 0 8px 22px rgba(24, 41, 30, 0.05);
  --radius: 32px;
  --radius-sm: 24px;
  --radius-xs: 16px;
  --header-h: 78px;
  --header-h-mobile: 56px;
  --sticky-h: 64px;
  --container: 1440px;
  --content-pad: 1rem;
  --section-space: clamp(2.75rem, 5.5vw, 5rem);
  --section-space-sm: clamp(1.65rem, 3vw, 2.35rem);
  --grid-gap: clamp(1rem, 2vw, 1.5rem);
  --card-pad: 1.7rem 1.55rem 1.8rem;
  --card-radius: var(--radius-sm);
  --transition: 0.25s ease;
  --font: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --font-body: 400;
  --font-heading: 600;
  --font-display: 600;
  --leading-body: 1.6;
  --leading-heading: 1.12;
  --word-space: 0.01em;
  --letter-tight: -0.035em;
  --focus: 0 0 0 3px rgba(127, 181, 106, 0.45);
  --danger: #c0392b;
}

/* Inline emphasis for editorial callouts (e.g. кондиционер). */
.text-accent-red {
  color: var(--danger);
  font-weight: 600;
}

/* Options → Глобальный HTML → «Объявление на сайте». */
.site-notice {
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
}
.site-notice__inner {
  padding: 0.7rem var(--content-pad);
  text-align: center;
}
.site-notice p { margin: 0; }
.site-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.site-notice a:hover { color: #fff; }
@media (min-width: 1200px) {
  :root { --content-pad: 1.5rem; }
}
@media (max-width: 699px) {
  :root {
    --section-space: clamp(2.15rem, 7vw, 2.85rem);
    --section-space-sm: clamp(1.35rem, 4vw, 1.85rem);
    --card-pad: 1.35rem 1.25rem 1.45rem;
    --grid-gap: 0.9rem;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: var(--font-body);
  line-height: var(--leading-body);
  word-spacing: var(--word-space);
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; box-shadow: var(--focus);
}

.skip-link, .screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus, .screen-reader-text:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100000;
  width: auto; height: auto; margin: 0; clip: auto;
  padding: 0.75rem 1.1rem; background: var(--lime); color: var(--btn-text); font-weight: 700;
}

.container {
  width: min(100% - (2 * var(--content-pad)), var(--container));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: var(--font-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--letter-tight);
  word-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: var(--font-display);
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: var(--font-display);
  line-height: 1.12;
}
h3 { font-size: 1.22rem; line-height: 1.28; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--muted); }
.lead {
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
  word-spacing: var(--word-space);
  color: var(--muted);
 /*  max-width: 42rem; */
}
.page-hero .lead {
 /*  max-width: 44rem; */
}

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Nafta-like accent glyph above card titles (no soft tile) */
.icon-mark,
.icon-tile {
  width: auto;
  height: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  margin: 0 0 0.85rem;
  padding: 0;
  border-radius: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.icon-mark .icon,
.icon-tile .icon {
  display: block;
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}
.card:hover .icon-mark {
  color: var(--green-dark);
  background: transparent;
}
.pay-card h3 {
  color: var(--green-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section { padding: var(--section-space) 0; }
.section > .container {
  background: transparent;
}
.section--alt {
  background: var(--bg-alt);
}
.section--soft {
  background: var(--surface-soft);
}
.section--tight {
  padding: var(--section-space-sm) 0;
}
/* Soft bento panels for key content blocks on grey canvas */
.section--about .about-split__text,
.pay-methods,
.contacts-top__info,
.contacts-top__form,
.map-block--contacts-page {
  border-radius: var(--card-radius);
}
.section--about .about-split__text {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--card-pad);
  box-shadow: none;
}
@media (min-width: 960px) {
  .section--about .about-split__text {
    padding: 2.15rem 2rem 2.25rem;
  }
}
.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(255,255,255,0.85); }
.section__head {
  margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
  max-width: none;
}
.section__head h2 {
  letter-spacing: var(--letter-tight);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  margin-bottom: 0.55rem;
}
.section__head .lead {
  margin-bottom: 0;
}
.section__head--row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 1rem 1.5rem; max-width: none;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 0.7rem;
  opacity: 1;
}
.section__eyebrow .icon {
  color: var(--green);
  width: 18px;
  height: 18px;
}
.section__eyebrow:not(:has(.icon))::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}
.section--dark .section__eyebrow { color: rgba(255, 255, 255, 0.72); }
.section--dark .section__eyebrow:not(:has(.icon))::before {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(127, 181, 106, 0.28);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.25);
  color: var(--ink);
  border-bottom: 1px solid rgba(53, 98, 53, 0.06);
  overflow: visible;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Home: transparent header over cinema hero (nafta) */
@media (min-width: 980px) {
  body.home:not(.header-solid):not(.nav-open) .site-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .menu-item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .menu-item > a {
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
  }
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .menu-item > a:hover,
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .menu-item > a:hover,
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .menu-item > a[aria-current="page"],
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .menu-item > a[aria-current="page"],
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .current-menu-item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .current-menu-item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .current_page_item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .current_page_item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > ul > .current-menu-ancestor > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav > .menu > .current-menu-ancestor > a {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  /* Dropdown stays dark text on white panel */
  body.home:not(.header-solid):not(.nav-open) .site-nav .sub-menu a {
    color: var(--ink);
    background: transparent;
  }
  body.home:not(.header-solid):not(.nav-open) .site-nav .sub-menu a:hover,
  body.home:not(.header-solid):not(.nav-open) .site-nav .sub-menu .current-menu-item > a,
  body.home:not(.header-solid):not(.nav-open) .site-nav .sub-menu .current_page_item > a {
    color: var(--green-dark);
    background: var(--accent-soft);
  }
  body.home:not(.header-solid):not(.nav-open) .menu-item-has-children > .submenu-toggle {
    color: rgba(255, 255, 255, 0.92);
  }
  body.home:not(.header-solid):not(.nav-open) .header-tip__btn,
  body.home:not(.header-solid):not(.nav-open) .header-phones-dd__toggle,
  body.home:not(.header-solid):not(.nav-open) .social-icons--header .social-icons__link {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  body.home:not(.header-solid):not(.nav-open) .header-cta.btn--primary {
    --btn-zoom: var(--accent);
    --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%2318291E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #fff;
    color: var(--ink);
    border-color: transparent;
  }
  body.home:not(.header-solid):not(.nav-open) .header-cta.btn--primary:hover {
    background: #fff;
    color: var(--ink);
  }
  body.home:not(.header-solid):not(.nav-open) .logo {
    filter: brightness(0) invert(1);
  }
  /* Keep Instagram brand colors — do not invert socials */
  body.home.header-solid .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(53, 98, 53, 0.08);
    backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: var(--shadow-sm);
  }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: var(--header-h); flex-wrap: wrap;
  overflow: visible;
}
@media (min-width: 1100px) {
  .site-header__inner { flex-wrap: nowrap; }
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.logo:hover { color: var(--green-dark); }

/* Mobile: phone + contacts dropdown beside number */
.header-phone-dd {
  display: none;
  position: relative;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: 0.1rem;
}
.header-phone-dd__num {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1.15;
  font-size: clamp(0.78rem, 3.6vw, 0.95rem);
  padding: 0.15rem 0.1rem;
  min-width: 0;
}
.header-phone-dd__num:hover,
.header-phone-dd__num:focus-visible {
  color: var(--green-dark);
}
.header-phone-dd__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.header-phone-dd__toggle:hover,
.header-phone-dd__toggle:focus-visible,
.header-phone-dd.is-open .header-phone-dd__toggle {
  background: var(--accent-soft);
  color: var(--green-dark);
}
.header-phone-dd__toggle .icon--chevron {
  transition: transform 0.15s ease;
}
.header-phone-dd.is-open .header-phone-dd__toggle .icon--chevron {
  transform: rotate(180deg);
}
.header-phone-dd__panel {
  position: fixed;
  top: calc(var(--header-h-mobile, 56px) + 0.45rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 130;
  width: min(21.5rem, calc(100vw - 1.25rem));
  max-height: calc(100vh - var(--header-h-mobile, 56px) - 5.5rem);
  overflow-y: auto;
  padding: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}
.header-phone-dd__panel[hidden] {
  display: none !important;
}
.header-phone-dd.is-open .header-phone-dd__panel {
  display: grid !important;
}
.header-phone-dd__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.header-phone-dd__phones {
  display: grid;
  gap: 0.3rem;
}
.header-phone-dd__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.header-phone-dd__item:hover,
.header-phone-dd__item:focus-visible {
  background: rgba(127, 181, 106, 0.28);
  color: var(--green-dark);
}
.header-phone-dd__meta {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--border);
}
.header-phone-dd__meta-link,
.header-phone-dd__meta-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
}
.header-phone-dd__meta-link:hover,
.header-phone-dd__meta-link:focus-visible {
  color: var(--green-dark);
}
.header-phone-dd__meta .icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.header-phone-dd__socials {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--border);
}
.header-phone-dd__social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.08), rgba(195, 53, 132, 0.1) 55%, rgba(118, 56, 250, 0.08));
  border: 1px solid rgba(195, 53, 132, 0.14);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-phone-dd__social:hover,
.header-phone-dd__social:focus-visible {
  border-color: rgba(195, 53, 132, 0.35);
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.14), rgba(195, 53, 132, 0.16) 55%, rgba(118, 56, 250, 0.12));
}
.header-phone-dd__social-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.header-phone-dd__social-icon .icon,
.header-phone-dd__social-icon img {
  display: block;
  width: 28px;
  height: 28px;
}
.header-phone-dd__social-text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}
.header-phone-dd__social-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.header-phone-dd__social-handle {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

/* Header contacts: icons + phone dropdown (desktop / wide) */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  order: 3;
  width: 100%;
  justify-content: flex-end;
  padding-bottom: 0.35rem;
}
.header-phones-dd__label { display: none; }
@media (min-width: 700px) {
  .header-phones-dd__label { display: inline; }
}
@media (min-width: 1100px) {
  .header-contacts {
    order: 0;
    width: auto;
    margin-left: 0.35rem;
    margin-right: 0;
    padding-bottom: 0;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
  }
}

/* Compact mobile header: logo | full phone | menu toggle */
@media (max-width: 979px) {
  :root {
    --header-h: var(--header-h-mobile);
  }
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-height: var(--header-h-mobile);
    padding-block: 0.35rem;
  }
  .logo img {
    height: 36px;
    max-width: 118px;
  }
  .header-phone-dd {
    display: inline-flex;
  }
  .header-contacts {
    display: none;
  }
  .header-cta {
    display: none !important;
  }
  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
  }
  .site-nav {
    top: var(--header-h-mobile);
    max-height: calc(100vh - var(--header-h-mobile) - 4.5rem);
  }
}

.header-tip,
.header-phones-dd {
  position: relative;
}

.header-tip__btn,
.header-phones-dd__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.header-tip__btn {
  width: 40px;
  padding: 0;
}
.header-tip__btn:hover,
.header-tip__btn:focus-visible,
.header-tip.is-open .header-tip__btn,
.header-phones-dd__toggle:hover,
.header-phones-dd__toggle:focus-visible,
.header-phones-dd.is-open .header-phones-dd__toggle {
  border-color: var(--green);
  background: var(--accent-soft);
  color: var(--green-dark);
}

.header-phones-dd__toggle {
  padding: 0 0.75rem 0 0.65rem;
  max-width: 240px;
}
.header-phones-dd__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.86rem;
}
.header-phones-dd__toggle .icon--chevron {
  transition: transform 0.15s;
  flex-shrink: 0;
}
.header-phones-dd.is-open .header-phones-dd__toggle .icon--chevron,
.header-phones-dd:hover .header-phones-dd__toggle .icon--chevron {
  transform: rotate(180deg);
}

.header-tip__panel,
.header-phones-dd__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 120;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
/* Invisible hover bridge so panel stays open while moving cursor down */
.header-tip__panel::before,
.header-phones-dd__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.55rem;
}
.header-tip__panel[hidden],
.header-phones-dd__menu[hidden] {
  display: none !important;
}
.header-tip__panel p { margin: 0 0 0.35rem; color: var(--muted); }
.header-tip__panel p:last-child { margin-bottom: 0; }
.header-tip__title {
  margin: 0 0 0.45rem !important;
  color: var(--ink) !important;
  font-weight: 800;
  font-size: 0.88rem;
}
.header-tip__link {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}
.header-tip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.header-tip__list a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-phones-dd__menu {
  padding: 0.4rem;
  min-width: 260px;
  display: grid;
  gap: 0.2rem;
}
.header-phones-dd__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}
.header-phones-dd__item:hover,
.header-phones-dd__item:focus-visible {
  background: var(--accent-soft);
  color: var(--green-dark);
}
.header-phones-dd__item .tag {
  flex-shrink: 0;
  font-weight: 700;
}

/* Hover open on fine pointers — keep open while over button or panel */
@media (hover: hover) and (pointer: fine) {
  .header-tip:hover .header-tip__panel,
  .header-tip:focus-within .header-tip__panel,
  .header-tip.is-hover .header-tip__panel {
    display: block !important;
  }
  .header-tip:hover .header-tip__btn,
  .header-tip:focus-within .header-tip__btn,
  .header-tip.is-hover .header-tip__btn {
    border-color: var(--green);
    background: var(--accent-soft);
    color: var(--green-dark);
  }
  .header-phones-dd:hover .header-phones-dd__menu,
  .header-phones-dd:focus-within .header-phones-dd__menu,
  .header-phones-dd.is-hover .header-phones-dd__menu {
    display: grid !important;
  }
  .header-phones-dd:hover .header-phones-dd__toggle,
  .header-phones-dd:focus-within .header-phones-dd__toggle,
  .header-phones-dd.is-hover .header-phones-dd__toggle {
    border-color: var(--green);
    background: var(--accent-soft);
    color: var(--green-dark);
  }
}

.header-tip.is-open .header-tip__panel,
.header-tip.is-hover .header-tip__panel { display: block !important; }
.header-phones-dd.is-open .header-phones-dd__menu,
.header-phones-dd.is-hover .header-phones-dd__menu { display: grid !important; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border-strong);
  border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  box-shadow: var(--shadow-sm);
  z-index: 110;
}
.site-nav.is-open { display: block; }
.site-nav > ul,
.site-nav > .menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.15rem;
  width: min(100% - 2rem, var(--container)); margin-inline: auto;
}
.site-nav .menu-item { position: relative; list-style: none; }
.site-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.35rem;
  padding: 0.7rem 0.85rem; color: var(--ink);
  text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a {
  background: var(--accent-soft); color: var(--green-dark);
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.35rem;
  flex-shrink: 0;
  transition: transform 0.15s;
  position: relative;
  top: -0.1rem;
}
.menu-item-has-children.is-open > a::after {
  transform: rotate(225deg);
  top: 0.1rem;
}

.site-nav .sub-menu {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0.2rem 0 0.2rem 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  border-left: 2px solid var(--border);
}
.site-nav .menu-item-has-children.is-open > .sub-menu,
.site-nav .menu-item-has-children.is-submenu-open > .sub-menu {
  display: flex;
}
.site-nav .sub-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
}

.menu-item-has-children > .submenu-toggle {
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  z-index: 2;
  box-shadow: none;
}
.menu-item-has-children > .submenu-toggle:hover,
.menu-item-has-children > .submenu-toggle:focus,
.menu-item-has-children > .submenu-toggle:focus-visible,
.menu-item-has-children > .submenu-toggle:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}
.menu-item-has-children > a { padding-right: 2.5rem; }

@media (min-width: 980px) {
  .header-phone-dd {
    display: none !important;
  }
  .site-nav {
    display: block; position: static; background: transparent;
    padding: 0; border: 0; max-height: none; overflow: visible; box-shadow: none;
    order: 0; flex: 1 1 auto;
  }
  .site-nav > ul,
  .site-nav > .menu {
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    align-items: space-around;
    gap: 0.05rem; width: auto; margin: 0;
    overflow: visible;
  }
  .site-nav .menu-item { overflow: visible; }
  .site-nav a {
    padding: 0.45rem 0.55rem; font-size: 0.82rem;
    justify-content: flex-start;
  }
  .menu-item-has-children > a { padding-right: 0.55rem; }
  /* Keep toggle available for click on desktop */
  .menu-item-has-children > .submenu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    z-index: 3;
  }
  .menu-item-has-children > a { padding-right: 1.6rem; }

  .site-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 0.55rem 0.4rem 0.4rem;
    border: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow);
    display: none;
    z-index: 200;
    /* Invisible hover bridge so cursor can reach the panel */
    padding-top: 0.65rem;
  }
  .site-nav .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.45rem;
    height: 0.65rem;
  }
  .site-nav .menu-item-has-children:hover > .sub-menu,
  .site-nav .menu-item-has-children:focus-within > .sub-menu,
  .site-nav .menu-item-has-children.is-open > .sub-menu {
    display: flex;
  }
  .site-nav .menu-item-has-children:hover > a::after,
  .site-nav .menu-item-has-children:focus-within > a::after,
  .site-nav .menu-item-has-children.is-open > a::after {
    transform: rotate(225deg);
    top: 0.1rem;
  }
  .site-nav .sub-menu a { font-size: 0.86rem; white-space: nowrap; }
}

.header-cta { display: none; }
@media (min-width: 980px) {
  .header-cta {
    display: inline-flex;
    margin-left: 0.55rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
  }
  .header-cta.btn--primary {
    background: var(--accent);
    color: var(--btn-text);
    border: 1px solid transparent;
  }
}
body.nav-open { overflow: hidden; }

/* Buttons — nafta arrow-zoom (disc expands on hover) */
.btn {
  --btn-zoom: var(--ink);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --btn-arrow-size: 16px;
  --btn-disc-inset: 4px;
  --btn-pad-y: 0.55rem;
  --btn-pad-x: 1.2rem;
  /* reserved width for the right disc ≈ button inner height */
  --btn-disc-slot: calc(1.3em + 2 * var(--btn-pad-y) - 2 * var(--btn-disc-inset));
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) calc(var(--btn-disc-inset) + var(--btn-disc-slot) + 0.35rem) var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
  word-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.45s ease,
    background-color 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}
.btn:not(.btn--sm):not(.btn--block-plain)::before,
.btn:not(.btn--sm):not(.btn--block-plain)::after {
  content: "";
  position: absolute;
  top: var(--btn-disc-inset);
  right: var(--btn-disc-inset);
  bottom: var(--btn-disc-inset);
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  pointer-events: none;
  box-sizing: border-box;
}
.btn:not(.btn--sm):not(.btn--block-plain)::before {
  z-index: 2;
  background-color: transparent;
  background-image: var(--btn-arrow);
  background-size: var(--btn-arrow-size) var(--btn-arrow-size);
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease;
}
.btn:not(.btn--sm):not(.btn--block-plain)::after {
  border-radius: 999px;
  background-color: var(--btn-zoom);
  background-image: none;
  z-index: -1;
  transition:
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    right 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:not(.btn--sm):not(.btn--block-plain):hover::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: inherit;
}
.btn:not(.btn--sm):not(.btn--block-plain):hover::before {
  transform: translateX(3px);
  animation: btn-arrow-soft 1.4s ease-in-out infinite;
}
@keyframes btn-arrow-soft {
  0%, 100% { transform: translateX(3px); }
  50% { transform: translateX(5px); }
}
.btn--block:not(.btn--sm) {
  justify-content: space-between;
  --btn-pad-x: 1.25rem;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  --btn-zoom: var(--ink);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: var(--accent);
  color: var(--btn-text);
  box-shadow: none;
  text-shadow: none;
}
.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
  text-shadow: none;
}
.btn--ghost {
  --btn-zoom: var(--accent);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%2318291E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, 0.92);
  color: #585858;
  border: 1px solid #ebebeb;
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: transparent;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}
.btn--outline {
  --btn-zoom: var(--accent);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%2318291E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: #fff;
  color: var(--ink);
  border: 1px solid #ebebeb;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
  border-color: transparent;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}
.btn--dark {
  --btn-zoom: var(--ink);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: var(--green-dark);
  color: #fff;
}
.btn--dark:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn--block { width: 100%; }
.btn--sm {
  --btn-disc-slot: 0px;
  --btn-disc-inset: 0px;
  --btn-pad-y: 0.45rem;
  --btn-pad-x: 0.95rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  gap: 0.35rem;
  overflow: visible;
}
.btn--sm::before,
.btn--sm::after,
.btn--block-plain::before,
.btn--block-plain::after {
  display: none !important;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.header-cta.btn {
  --btn-pad-y: 0.45rem;
  --btn-pad-x: 1rem;
  --btn-arrow-size: 14px;
  --btn-disc-inset: 4px;
}
.sticky-bar .btn {
  --btn-pad-y: 0.75rem;
  --btn-pad-x: 0.65rem;
  --btn-arrow-size: 13px;
  --btn-disc-inset: 4px;
  justify-content: flex-start;
  border-radius: 12px;
  font-size: 0.88rem;
}

/* Hero — full-bleed cinema (nafta composition) */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 0.1rem) 0 5rem;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #18291E;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.hero-slider__slide.is-active img {
  transform: scale(1);
}
.hero-slider__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(24, 41, 30, 0.82) 0%, rgba(24, 41, 30, 0.42) 38%, rgba(24, 41, 30, 0.12) 68%, rgba(24, 41, 30, 0.08) 100%),
    linear-gradient(180deg, rgba(24, 41, 30, 0.35) 0%, transparent 28%, rgba(24, 41, 30, 0.55) 78%, rgba(24, 41, 30, 0.78) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--container));
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2rem 3rem;
  align-content: end;
  align-items: end;
  flex: 1 1 auto;
  align-self: center;
  min-height: calc(100svh - var(--header-h) - 5.1rem);
  padding-top: 0.25rem;
  padding-bottom: 1.75rem;
}
.hero__stats {
  display: grid;
  gap: 2rem;
  max-width: 15rem;
  align-self: end;
  margin-bottom: 0.35rem;
}
.hero__stat {
  padding: 0;
  border: 0;
}
.hero__stat::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.4rem;
}
.hero__stat span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 18ch;
}
.hero__copy { max-width: 44rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(127, 181, 106, 0.32);
  flex-shrink: 0;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  word-spacing: 0.02em;
  color: #fff;
  margin: 0 0 0.85rem;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  font-weight: 600;
  max-width: 22ch;
  margin-bottom: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.25;
}
.hero h1 .accent,
.hero-brand .accent {
  color: var(--lime);
}
.hero__lead {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.86rem; color: var(--ink); font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.badge--lime, .badge--accent {
  background: var(--accent-soft); border-color: transparent; color: var(--green-dark);
}
.hero .badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero .badge--accent,
.hero .badge--lime {
  background: var(--accent);
  border-color: transparent;
  color: var(--btn-text);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__btn-ghost {
  --btn-zoom: var(--accent);
  --btn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%2318291E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  border-color: transparent;
}
.hero-slider__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  justify-self: start;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) auto;
    grid-template-areas:
      "stats copy nav"
      "stats copy nav";
    align-items: end;
    column-gap: 2.75rem;
  }
  .hero__stats {
    grid-area: stats;
    align-self: end;
    justify-self: start;
  }
  .hero__copy {
    grid-area: copy;
    max-width: 42rem;
    justify-self: start;
    align-self: end;
  }
  .hero-slider__nav {
    grid-area: nav;
    justify-self: end;
    align-self: end;
  }
}
@media (max-width: 899px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: none;
  }
  .hero__stat {
    padding: 0.65rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-xs);
    background: rgba(24, 41, 30, 0.28);
    backdrop-filter: blur(8px);
  }
  .hero__stat::before { display: none; }
  .hero__stat strong { font-size: clamp(1.35rem, 5vw, 1.85rem); }
  .hero__stat span { font-size: 0.75rem; max-width: none; }
}
.hero-slider__arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.hero-slider__arrow:hover,
.hero-slider__arrow:focus-visible {
  background: var(--green);
  color: #fff;
}
.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.25rem;
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-slider__dot.is-active {
  width: 22px;
  background: var(--green);
}
.hero-media { display: none; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-card__price {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--green-deep); letter-spacing: -0.03em; line-height: 1;
}
.hero-card__note { color: var(--muted); margin: 0.5rem 0 1.15rem; font-size: 0.95rem; }
.hero-card dl { margin: 0; display: grid; gap: 0.65rem; }
.hero-card dt { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.hero-card dd { margin: 0.15rem 0 0; color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide,
  .hero-slider__slide img { transition: none; }
}

/* Directions */
.directions {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .directions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .directions { grid-template-columns: repeat(3, 1fr); } }
.direction-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-height: 100%;
}
.direction-card:hover {
  border-color: rgba(127, 181, 106, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: inherit;
}
.direction-card h3 { margin: 0 0 0.5rem; color: var(--ink); letter-spacing: -0.02em; }
.direction-card p { flex: 1; margin: 0 0 1rem; }
.direction-card__more {
  font-weight: 700; color: var(--green-dark); font-size: 0.92rem;
}

/* Media band */
.media-band {
  display: grid; gap: var(--grid-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .media-band { grid-template-columns: 1.2fr 1fr 1fr; } }
.media-band figure {
  margin: 0; border-radius: var(--card-radius); overflow: hidden;
  background: var(--bg-alt); box-shadow: none;
  border: 1px solid var(--border);
  position: relative;
}
.media-band img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3; min-height: 180px;
  transition: transform 0.4s ease;
}
.media-band figure:hover img {
  transform: scale(1.03);
}
.media-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(24, 41, 30, 0.88));
  color: #fff; font-weight: 700; font-size: 0.95rem;
}

/* Grids / cards */
.grid-3 {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: none;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.card:hover {
  background: var(--surface);
  border-color: rgba(127, 181, 106, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.card--hover { transition: border-color var(--transition), box-shadow var(--transition); }
.card--hover:hover { border-color: rgba(127, 181, 106, 0.42); box-shadow: var(--shadow-sm); }
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.card p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.card p:last-child { margin-bottom: 0; }
.card__meta { font-size: 0.88rem; color: var(--muted); margin: 0.45rem 0 0.9rem; }
.card__actions { margin-top: auto; padding-top: 0.85rem; }
.card--span {
  background:
    linear-gradient(125deg, rgba(127, 181, 106, 0.12), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
}

/* Reasons — compact horizontal slider (prostranstvo-ya style) */
.section--reasons {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow-anchor: none;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(920px 420px at 8% 12%, rgba(127, 181, 106, 0.18), transparent 62%),
    radial-gradient(780px 380px at 92% 78%, rgba(24, 41, 30, 0.08), transparent 58%),
    var(--bg-alt);
}
.section--reasons > .container {
  position: relative;
  z-index: 1;
}
.reasons-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.15rem;
}
.reasons-head__copy {
  flex: 1 1 16rem;
  max-width: 40rem;
}
.reasons-head__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  letter-spacing: var(--letter-tight);
  line-height: 1.15;
}
.reasons-head__nav {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}
.reasons-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.reasons-nav .icon {
  display: block;
}
.reasons-nav[data-reasons-prev] .icon {
  transform: rotate(90deg);
}
.reasons-nav[data-reasons-next] .icon {
  transform: rotate(-90deg);
}
.reasons-nav:hover,
.reasons-nav:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  outline: none;
}

/* Mobile: horizontal slider */
.reasons-slider {
  margin-inline: calc(-1 * var(--content-pad, 1rem));
  padding-inline: var(--content-pad, 1rem);
  padding-block: 0.35rem 0.55rem;
  cursor: grab;
}
.reasons-slider:active {
  cursor: grabbing;
}
.reasons-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 280px);
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-block: 0.25rem 0.45rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overflow-anchor: none;
}
.reasons-slider__track.is-jumping {
  scroll-behavior: auto !important;
}
.reasons-slider__track::-webkit-scrollbar {
  display: none;
}

/* Desktop / tablet: static grid, no scroll */
@media (min-width: 700px) {
  .reasons-head__nav {
    display: none;
  }
  .reasons-slider {
    margin-inline: 0;
    padding-inline: 0;
    cursor: default;
  }
  .reasons-slider__track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    overflow: visible;
    scroll-behavior: auto;
    padding-block: 0;
  }
  .reasons-slide--clone {
    display: none !important;
  }
}
@media (min-width: 1000px) {
  .reasons-slider__track {
    grid-template-columns: repeat(5, 1fr);
  }
}
.reasons-slide {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 168px;
  padding: 1.2rem 1.2rem 1.3rem;
  border-radius: var(--radius-sm, 24px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 10px 28px rgba(24, 41, 30, 0.05);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  overflow: visible;
  /* hard-block leftover reveal transforms on cards (clones re-enter on loop) */
  transform: none !important;
  opacity: 1 !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.reasons-slide:hover {
  border-color: rgba(127, 181, 106, 0.45);
  box-shadow: var(--shadow-sm);
}
.reasons-slide__num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.reasons-slide__title {
  margin: 0;
  padding-top: 0.05em; /* avoid ascender clip with glass / overflow ancestors */
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  font-weight: 600;
  overflow: visible;
}
.reasons-slide__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reasons-slide__text p {
  margin: 0;
}
.reasons-slide__text p + p {
  margin-top: 0.35em;
}
@media (min-width: 700px) {
  .reasons-slide {
    min-height: 180px;
    padding: 1.3rem 1.3rem 1.4rem;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .reasons-slide {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Legacy stats-band kept for other pages if needed */
.stats-band {
  margin: 0;
  position: relative;
  z-index: 2;
  padding: 0 0 0.5rem;
}
.stats-band__inner {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .stats-band__inner { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.stats-band__item {
  padding: var(--card-pad);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: none;
}
.stats-band__item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--green-dark);
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}
.stats-band__item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.fact-card { text-align: left; padding: 1.5rem; }
.fact-card__value {
  font-family: var(--display);
  font-size: 1.65rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 0.35rem;
}
.fact-card__label { color: var(--muted); margin: 0; font-size: 0.95rem; }

.group-card { display: flex; flex-direction: column; }
.group-card__date {
  font-family: var(--display);
  font-size: 1.35rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; margin: 0.35rem 0 0.15rem;
}
.group-card__time { color: var(--muted); margin: 0 0 0.75rem; font-weight: 700; }
.group-card__month {
  font-size: 0.88rem; font-weight: 700; color: var(--green-dark);
}

.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.price-box:hover {
  border-color: rgba(127, 181, 106, 0.4);
  box-shadow: var(--shadow-sm);
}
.price-box__amount {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.25rem 0 0.75rem;
}
.price-box__amount span { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: var(--font); }
.price-box__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: none;
}
.price-box > .flex-actions { margin-top: auto; }

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.review:hover {
  border-color: rgba(127, 181, 106, 0.35);
  box-shadow: var(--shadow-sm);
}
.review::before {
  content: "“";
  position: absolute;
  right: 1rem;
  top: 0.2rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(53, 98, 53, 0.08);
  font-family: var(--display);
  font-weight: 800;
  pointer-events: none;
}
.review__quote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
  quotes: "«" "»";
  flex: 1;
  position: relative;
}
.review__quote::before { content: open-quote; color: var(--green-dark); font-weight: 800; margin-right: 0.1rem; }
.review__quote::after { content: close-quote; color: var(--green-dark); font-weight: 800; margin-left: 0.1rem; }
.review__meta { font-size: 0.86rem; color: var(--muted); margin: 0; font-weight: 700; }

.stages {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.stages__item {
  background: var(--bg); border-radius: 12px; padding: 0.75rem 0.5rem; text-align: center;
  border: 1px solid var(--border);
}
.stages__n { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.stages__v { display: block; font-weight: 800; color: var(--ink); font-size: 1.05rem; }

.split-lists { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .split-lists { grid-template-columns: 1fr 1fr; } }
.split-lists__box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: var(--card-pad);
}
.split-lists__box h3 { font-size: 1rem; margin-bottom: 0.85rem; }
.split-lists__box--out h3 { color: #8a5a00; }

.check-list, .x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li, .x-list li { position: relative; padding-left: 1.85rem; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
    background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E")
    center / 0.72rem no-repeat,
    var(--green);
}
.x-list li::before {
  content: "–"; position: absolute; left: 0.3rem; top: 0; color: #a67c00; font-weight: 800;
}

.steps { counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: var(--card-pad); position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.step:hover {
  border-color: rgba(127, 181, 106, 0.4);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 0.85rem;
}

.faq { display: grid; gap: 0.75rem; max-width: none; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.1rem 1.15rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq details[open] {
  border-color: rgba(127, 181, 106, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.05rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--green-dark);
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding-bottom: 1.1rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 48rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: none;
  max-width: 28rem;
  width: 100%;
}
.form--dark {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none;
}
.form--dark label { color: #fff; }
.form--dark input, .form--dark select, .form--dark textarea {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff;
}
.form--dark .form__hint, .form--dark .consent { color: rgba(255,255,255,0.7); }
.form__title {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.form__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.form__row { margin-bottom: 0.75rem; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.form .req { color: #c0392b; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(127, 181, 106, 0.2);
}
.form textarea {
  min-height: 88px;
  max-height: 180px;
  resize: vertical;
}
.form__hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; }
.form .btn {
  --btn-pad-y: 0.4rem;
  --btn-pad-x: 0.9rem;
  --btn-arrow-size: 14px;
  --btn-disc-inset: 3px;
  font-size: 0.88rem;
  gap: 0.45rem;
}
.form .btn--block:not(.btn--sm) {
  --btn-pad-x: 0.95rem;
}

.phone-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(127, 181, 106, 0.2);
}
.phone-field__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem 0 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  background: #f4f6f8;
  border-right: 1px solid var(--border);
  user-select: none;
  white-space: nowrap;
}
.form .phone-field__input,
.phone-field .phone-field__input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin: 0;
}
.form .phone-field__input:focus,
.phone-field .phone-field__input:focus {
  border-color: transparent;
  outline: none;
}

/* —— Reviews page: Yandex | Google columns —— */
.reviews-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap, 1.25rem);
  align-items: stretch;
  width: 100%;
}
@media (min-width: 900px) {
  .reviews-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .reviews-split > :only-child {
    grid-column: 1 / -1;
  }
}
.reviews-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--card-radius, 24px);
  background: var(--surface);
}
.reviews-col--yandex {
  background:
    linear-gradient(145deg, rgba(127, 181, 106, 0.1), transparent 48%),
    var(--surface);
}
.reviews-col--google {
  background:
    linear-gradient(145deg, rgba(66, 133, 244, 0.08), transparent 48%),
    var(--surface);
}
.reviews-col__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.reviews-col__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-col--google .reviews-col__eyebrow {
  color: #1a73e8;
}
.reviews-col__score {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.reviews-col__stars {
  margin: 0;
  color: #f5a623;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.reviews-col__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.reviews-col__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.45rem;
}
.reviews-col__more {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
}
.reviews-col__more:hover { text-decoration: underline; }
.reviews-col--google .reviews-col__more { color: #1a73e8; }
.reviews-col__widget {
  min-width: 0;
  width: 100%;
  border-radius: var(--radius-xs, 16px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  flex: 1;
}
.reviews-col__frame {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
}
.reviews-col__feed {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  max-height: var(--reviews-feed-h, 640px);
  overflow-y: auto;
  padding-right: 0.25rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.reviews-col__feed .review-card {
  margin: 0;
}

/* Homepage compact: Яндекс | Google */
.reviews-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap, 1rem);
  align-items: stretch;
}
@media (min-width: 800px) {
  .reviews-duo {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
  /* Only one source filled in options (e.g. no Google) → full width. */
  .reviews-duo > :only-child {
    grid-column: 1 / -1;
  }
}
.reviews-duo__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--card-radius, 24px);
  background: var(--surface);
  border: 1px solid var(--border);
}
.reviews-duo__card--yandex {
  background:
    linear-gradient(145deg, rgba(127, 181, 106, 0.1), transparent 50%),
    var(--surface);
}
.reviews-duo__card--google {
  background:
    linear-gradient(145deg, rgba(66, 133, 244, 0.08), transparent 50%),
    var(--surface);
}
.reviews-duo__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-duo__card--google .reviews-duo__eyebrow {
  color: #1a73e8;
}
.reviews-duo__rating {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.reviews-duo__score {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.reviews-duo__rating-meta {
  display: grid;
  gap: 0.15rem;
}
.reviews-duo__stars {
  margin: 0;
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.reviews-duo__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.reviews-duo__quote {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-xs, 16px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  flex: 1;
}
.reviews-duo__quote p {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-duo__quote footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.reviews-duo__quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.reviews-duo__quote footer span {
  font-weight: 700;
  color: #c47d00;
}
.reviews-duo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  margin-top: auto;
}
.reviews-duo__more {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
}
.reviews-duo__more:hover { text-decoration: underline; }
.reviews-duo__more--google { color: #1a73e8; }

.yandex-reviews {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.4fr);
  gap: 1.15rem;
  align-items: stretch;
  width: 100%;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(127, 181, 106, 0.12), transparent 42%),
    var(--surface, #fff);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}
.yandex-reviews__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.yandex-reviews__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.yandex-reviews__score {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.yandex-reviews__stars {
  margin: 0;
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.yandex-reviews__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.yandex-reviews__google-line {
  margin: 0.15rem 0 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(66, 133, 244, 0.1);
  color: #1a73e8;
  font-size: 0.86rem;
  font-weight: 600;
}
.yandex-reviews__text {
  margin: 0.25rem 0 0.55rem;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.yandex-reviews__aside .btn {
  margin-top: 0.25rem;
}
.yandex-reviews__more {
  margin-top: 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-dark, #3d6b00);
  text-decoration: none;
}
.yandex-reviews__more:hover { text-decoration: underline; }
.yandex-reviews__right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.yandex-reviews__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  flex: 1;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.review-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(127, 181, 106, 0.18);
  color: var(--green-dark);
}
.review-card--google .review-card__badge {
  background: rgba(66, 133, 244, 0.14);
  color: #1a73e8;
}
.review-card__rating {
  font-size: 0.88rem;
  font-weight: 700;
  color: #c47d00;
}
.review-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}
.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.review-card__author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}
.review-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
}
.review-card__link:hover { text-decoration: underline; }
.yandex-reviews__widget {
  min-width: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.yandex-reviews__frame {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
}
@media (max-width: 900px) {
  .yandex-reviews {
    grid-template-columns: 1fr;
    padding: 0.9rem;
  }
}
.yandex-reviews--compact {
  gap: 0.9rem;
  padding: 0.85rem;
}
.yandex-reviews--compact .yandex-reviews__aside {
  padding: 1rem;
  gap: 0.3rem;
}
.yandex-reviews--compact .yandex-reviews__score {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}
.yandex-reviews--compact .review-card {
  padding: 0.85rem 0.95rem;
}
.yandex-reviews--compact .review-card__text {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  margin: 0.45rem 0 0.85rem;
}
.consent input { width: auto; margin-top: 0.15rem; flex-shrink: 0; }
.form__status {
  display: none;
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
}
.form__status.is-ok { display: block; background: rgba(145,194,125,0.25); color: var(--green-dark); }
.form__status.is-err { display: block; background: #fdecea; color: #8a1f11; }
.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; opacity: 0 !important;
}

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; border-radius: var(--card-radius);
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: none;
}
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.95rem; }
table.data th, table.data td {
  padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border);
}
table.data th {
  background: var(--surface-soft);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
table.data tbody tr {
  transition: background var(--transition);
}
table.data tbody tr:hover td {
  background: rgba(127, 181, 106, 0.06);
}
table.data tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid--compact {
  gap: 0.85rem;
  align-items: stretch;
}
.contact-grid--compact .contact-grid__info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.contact-grid--compact .contact-grid__info h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.contact-grid--compact .contact-grid__address {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}
.contact-grid--compact .contact-grid__address .icon {
  color: var(--green);
  margin-top: 0.15rem;
}
.contact-grid--compact .contact-grid__email {
  margin: 0;
  font-size: 0.9rem;
}
.contact-grid--compact .contact-grid__email a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.contact-grid--compact .contact-grid__email a .icon {
  color: var(--green);
}
.phone-list--compact {
  gap: 0.35rem;
}
.phone-list--compact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.phone-list--compact a .icon {
  color: var(--green);
}
.hours-list--compact {
  margin: 0;
  gap: 0;
  max-width: none;
}
.hours-list--compact li {
  padding: 0.2rem 0;
  font-size: 0.82rem;
}
.hours-brief {
  width: 100%;
  margin: 0.15rem 0 0.35rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.hours-brief__title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.hours-brief__title .icon {
  color: var(--green);
}
.hours-brief__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}
.contacts-row .hours-brief__text {
  margin-top: 0.25rem;
}
.section--contacts-home .map-block {
  padding: 0.65rem;
  gap: 0.55rem;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.section--contacts-home .map-block__frame {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}
.section--contacts-home .map-block__frame iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 180px;
  height: 100% !important;
}
.section--contacts-home .map-block__actions {
  margin-top: auto;
}
.section--contacts-home .map-block__actions .btn {
  --btn-pad-y: 0.4rem;
  --btn-pad-x: 0.75rem;
  --btn-arrow-size: 13px;
  --btn-disc-inset: 3px;
  font-size: 0.8rem;
}

.contacts-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contacts-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.contacts-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.contacts-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contacts-panel__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.contacts-panel__sub {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.contacts-rows {
  display: grid;
  gap: 0.85rem;
}
.contacts-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.contacts-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--green-dark);
}
.contacts-row strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.contacts-row p { margin: 0; color: var(--muted); }

/* Contacts page — equal columns + full map + contacts/hours */
.pay-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 40rem;
  margin-inline: auto;
}
.pay-ask__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--ink);
}
.pay-ask__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 28rem;
}

.section--contacts-page {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}
.contacts-top {
  display: grid;
  gap: var(--grid-gap);
  align-items: stretch;
}
@media (min-width: 900px) {
  .contacts-top {
    grid-template-columns: 2fr 1fr;
    gap: 1.75rem;
  }
}
.contacts-top__info,
.contacts-top__form {
  height: 100%;
  box-sizing: border-box;
}
.contacts-top__info {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.contacts-dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.contacts-dl__row {
  display: grid;
  gap: 0.25rem;
}
@media (min-width: 560px) {
  .contacts-dl__row {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 0.65rem 1rem;
    align-items: baseline;
  }
}
.contacts-dl__row dt {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.contacts-dl__row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}
.contacts-dl__row dd a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}
.contacts-dl__row dd a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.contacts-dl__map-link {
  margin-left: 0.25rem;
  white-space: nowrap;
}
.phone-list--plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.phone-list--plain a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.phone-list--plain a:hover { color: var(--green-dark); }
.phone-list__tag {
  margin-left: 0.35rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9em;
}
.contacts-top__form {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.contacts-top__form .form__title {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}
.contacts-top__form textarea {
  min-height: 6rem;
}
.contacts-top__form .btn {
  margin-top: auto;
}

.section--contacts-map {
  padding: 0.5rem 0 2rem;
}
.contacts-map__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  color: var(--ink);
}
.map-block--contacts-page {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem;
  gap: 0.85rem;
}
.map-block--contacts-page .map-block__frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-alt);
}
.map-block--contacts-page .map-block__frame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  height: 420px;
  border: 0;
}

.section--contacts-find {
  background: var(--ink);
  color: #fff;
  padding: 2.25rem 0 2.75rem;
}
.contacts-find {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
  max-width: 40rem;
}
.contacts-find__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  color: #fff;
}
.contacts-find__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contacts-find__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contacts-find__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.contacts-find__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 0.1rem;
}
.contacts-find__item p,
.contacts-find__item a {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}
.contacts-find__item a:hover {
  color: var(--accent);
}
.contacts-find__item .phone-list__tag {
  color: rgba(255, 255, 255, 0.65);
}
.hours-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.hours-schedule li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.98rem;
}
.hours-schedule li:last-child { border-bottom: 0; }
.hours-schedule__day { color: rgba(255, 255, 255, 0.92); }
.hours-schedule__time {
  color: #fff;
  font-weight: 650;
  white-space: nowrap;
}
.social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.social-icons__link:hover,
.social-icons__link:focus-visible {
  border-color: var(--green);
  background: var(--accent-soft);
  color: var(--green-dark);
  transform: translateY(-1px);
}
.social-icons__link--vk:hover,
.social-icons__link--vk:focus-visible { color: #0077ff; }
.social-icons__link--ok:hover,
.social-icons__link--ok:focus-visible { color: #ee8208; }
.social-icons__link--instagram:hover,
.social-icons__link--instagram:focus-visible { color: #c13584; }

.social-icons--header .social-icons__link {
  width: 40px;
  height: 40px;
}
.social-icons--header .social-icons__link--instagram:hover,
.social-icons--header .social-icons__link--instagram:focus-visible {
  color: var(--green-dark);
}
.social-icons--colored .social-icons__link {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: visible;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.social-icons--colored .social-icons__link:hover,
.social-icons--colored .social-icons__link:focus-visible {
  background: transparent;
  border-color: transparent;
  transform: translateY(-2px) scale(1.06);
  color: inherit;
}
.social-icons--colored .icon--brand {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}
.social-icons--footer.social-icons--colored .social-icons__link {
  width: 40px;
  height: 40px;
  background: transparent;
  border-color: transparent;
}
.social-icons--footer.social-icons--colored .social-icons__link:hover,
.social-icons--footer.social-icons--colored .social-icons__link:focus-visible {
  background: transparent;
  border-color: transparent;
  color: inherit;
}
.site-footer .social-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.social-icons--footer .social-icons__link:hover,
.social-icons--footer .social-icons__link:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.social-icons--contacts {
  margin-top: 0.45rem;
}
.header-socials {
  display: flex;
  align-items: center;
}
.footer-socials__title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.map-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: none;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.map-block__head { display: grid; gap: 0.25rem; }
.map-block__title {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}
.map-block__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.map-block__frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  min-height: 280px;
  line-height: 0;
}
.map-block__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 280px;
}
.map-block--compact .map-block__frame,
.map-block--compact .map-block__frame iframe {
  min-height: 180px;
  height: 220px;
}
.map-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.map-block__actions .btn {
  --btn-pad-y: 0.55rem;
  --btn-pad-x: 0.95rem;
  --btn-arrow-size: 14px;
  --btn-disc-inset: 4px;
  font-size: 0.88rem;
}
.form--panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  box-shadow: none;
  padding: 1.25rem 1.2rem 1.3rem;
  max-width: 28rem;
}

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-alt); min-height: 280px;
  display: grid; place-items: center; padding: 1.5rem; text-align: center;
}
.map-links { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-top: 1rem; }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.phone-list a { font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.phone-list a:hover { color: var(--green-deep); }

.site-footer {
  background: #18291E; color: rgba(255,255,255,0.85);
  padding: 2.25rem 0 1.75rem;
}
.site-footer a { color: var(--green); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem 2.25rem;
  }
}
.footer-col {
  min-width: 0;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-heading-icon {
  display: inline-flex;
  color: var(--green);
  flex-shrink: 0;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer__legal {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.site-footer__legal p {
  color: inherit; margin: 0;
  display: flex; align-items: flex-start; gap: 0.45rem;
}
.footer-legal-icon { color: var(--green); flex-shrink: 0; margin-top: 0.1rem; }
.footer-lead { color: rgba(255,255,255,0.7); margin: 0 0 1rem; line-height: 1.45; }
.site-footer .logo {
  display: inline-flex;
  margin-bottom: 1rem;
  max-width: 160px;
}
.site-footer .logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
}

.footer-meta { margin: 0; display: grid; gap: 0.75rem; }
.footer-meta__item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.45;
}
.footer-meta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(127, 181, 106, 0.18);
  color: var(--green);
}

.footer-links a,
.footer-contacts a,
.footer-contacts > li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  color: inherit;
}
.footer-links a { color: rgba(255,255,255,0.82);font-size: 14px; }
.footer-links a:hover { color: var(--green); text-decoration: none; }
.footer-links__icon,
.footer-contacts__icon {
  display: inline-flex; color: var(--green); flex-shrink: 0; margin-top: 0.15rem;
}
.footer-contacts a { color: var(--green); }
.footer-contacts a:hover { color: #fff; text-decoration: none; }
.footer-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(127, 181, 106, 0.2);
  color: var(--green-soft);
  vertical-align: middle;
}
.footer-find-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin-top: 1.15rem;
}
.footer-find-row__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  white-space: nowrap;
}
.footer-socials {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0;
}
.footer-socials__title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(24, 41, 30, 0.1);
  max-width: 100%; box-sizing: border-box; overflow: hidden;
}
@media (min-width: 900px) { .sticky-bar { display: none; } }

.page-hero {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(1.65rem, 3.2vw, 2.6rem) 0 clamp(1.75rem, 3.2vw, 2.4rem);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  color: var(--ink);
  margin-bottom: 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
}
.page-hero .lead {
  color: var(--muted);
  margin: 0;
 /*  max-width: 44rem; */
  font-size: 1.05rem;
  line-height: 1.6;
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
  font-size: 0.86rem; margin-bottom: 0.65rem; color: var(--muted);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--green-dark); }
.breadcrumbs span[aria-hidden] { opacity: 0.45; }

.prose { max-width: none; color: var(--muted); line-height: 1.7; word-spacing: var(--word-space); margin: 0 0 1rem; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--muted); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose--accent {
  color: var(--green-dark);
  font-size: 1.15rem;
  margin-top: 1.25rem;
}
.narrow-text { max-width: none; }
.narrow-text .section__head { margin-bottom: 1.25rem; }
.num-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}
.hours-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  max-width: 22rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
.hours-list li span:first-child { font-weight: 700; color: var(--ink); }
@media (min-width: 700px) {
  .card--span { grid-column: 1 / -1; }
}

.reason-icon {
  display: none;
}

.lead-split {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .lead-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.75rem 2rem;
  }
}
.lead-split__form .lead {
  margin-bottom: 1.15rem;
}
.lead-split__aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.lead-split__aside .price-box {
  width: 100%;
}
.media-side--flush img {
  width: 100%;
  border-radius: var(--card-radius);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 5;
  min-height: 280px;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* —— About / license splits + lightbox —— */
.section--about {
  position: relative;
  background: var(--bg);
  overflow: clip;
}
.about-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 960px) {
  .about-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
  }
}
.about-split__text h2 {
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.about-split__lead {
  margin: 0 0 1.35rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}
@media (max-width: 480px) {
  .about-highlights { grid-template-columns: 1fr; }
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: none;
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
}
.stat-card__value {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  padding-bottom: 0.55rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--border);
}
.stat-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.stat-card--accent .stat-card__value {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}
.stat-card--accent {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--ink) 100%);
  border-color: transparent;
  box-shadow: none;
}
.stat-card--accent .stat-card__value,
.stat-card--accent .stat-card__label {
  color: #fff;
}
.about-split__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-split__media {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.about-photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-alt);
  box-shadow: none;
  isolation: isolate;
}
.about-photo--main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}
.about-photo:not(.about-photo--main) {
  aspect-ratio: 4 / 2;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(37, 85, 37, 0.35) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.about-photo:hover img,
.about-photo:focus-visible img {
  transform: scale(1.04);
}
.about-photo:hover::after,
.about-photo:focus-visible::after {
  opacity: 1;
}
.lightbox-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.about-photo:hover .lightbox-hint,
.about-photo:focus-visible .lightbox-hint {
  background: var(--green);
  color: #fff;
  transform: scale(1.06);
}

.section--license {
  background: var(--bg-alt);
}
.license-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .license-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem 3rem;
	align-items: end;
  }
}
.license-split__docs {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 560px) {
  .license-split__docs { grid-template-columns: 1fr; }
}
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
  cursor: zoom-in;
  text-align: left;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.doc-card:hover,
.doc-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(127, 181, 106, 0.45);
  box-shadow: var(--shadow-sm);
}
.doc-card img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 260px;
  object-fit: cover;
  background: #e8eee6;
}
.doc-card__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 20, 0.82);
  backdrop-filter: blur(4px);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
.lightbox__figure {
  margin: 0;
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #111;
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  max-width: 40rem;
}
.lightbox__close,
.lightbox__nav {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox__nav {
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.lightbox__nav:hover,
.lightbox__close:hover {
  background: #fff;
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
  }
  .lightbox__nav--prev { order: 2; }
  .lightbox__figure { order: 1; }
  .lightbox__nav--next { order: 3; }
  .lightbox__close { top: 0.5rem; right: 0.5rem; }
}

.photo-gallery {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}
.photo-gallery figure {
  margin: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: none;
  border: 1px solid var(--border);
  position: relative;
}
.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}
.photo-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(24, 41, 30, 0.85));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}
.photo-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: none;
  cursor: zoom-in;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.photo-gallery__item:hover,
.photo-gallery__item:focus-visible {
  border-color: rgba(127, 181, 106, 0.4);
  box-shadow: var(--shadow-sm);
}
.photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform 0.35s ease;
}
.photo-gallery__item:hover img,
.photo-gallery__item:focus-visible img {
  transform: scale(1.04);
}
.photo-gallery__item .lightbox-hint {
  opacity: 0;
}
.photo-gallery__item:hover .lightbox-hint,
.photo-gallery__item:focus-visible .lightbox-hint {
  opacity: 1;
}
.photo-gallery--fleet {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .photo-gallery--fleet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.photo-gallery--5col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .photo-gallery--5col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .photo-gallery--5col { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.photo-gallery--5col .photo-gallery__item img {
  aspect-ratio: 4 / 3;
}
.photo-gallery--maneuvers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .photo-gallery--maneuvers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.photo-gallery--maneuvers .photo-gallery__item img {
  aspect-ratio: 1 / 1;
}
.about-staff {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 900px) {
  .about-staff {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}
.about-staff__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
.about-staff__media .doc-card {
  min-height: 100%;
}
.about-staff__media .doc-card img {
  min-height: 220px;
  object-fit: cover;
  object-position: top center;
}
.photo-gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(transparent, rgba(31, 61, 31, 0.88));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.photo-gallery--compact {
  gap: 0.7rem;
}
.photo-gallery--compact .photo-gallery__item img {
  aspect-ratio: 5 / 3.4;
}
.photo-gallery--mini {
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
@media (min-width: 700px) {
  .photo-gallery--mini { grid-template-columns: repeat(4, 1fr); }
}
.photo-gallery--mini .photo-gallery__item img {
  aspect-ratio: 1 / 1;
}
.photo-gallery--mini .photo-gallery__cap {
  font-size: 0.75rem;
  padding: 0.4rem 0.55rem;
}
.photo-gallery--2col {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .photo-gallery--2col { grid-template-columns: 1fr 1fr; }
}
.obuchenie-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.obuchenie-aside .price-box .icon-mark {
  margin-bottom: 0.75rem;
}
.obuchenie-aside__shot {
  min-height: 0;
}
.obuchenie-aside__shot img {
  aspect-ratio: 16 / 10;
}

.stoimost-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .stoimost-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
  }
}
.stoimost-layout .price-box {
  margin: 0;
}
.stoimost-layout .price-box .icon-mark {
  margin-bottom: 0.75rem;
}
.stoimost-layout .photo-gallery {
  height: 100%;
  align-content: stretch;
}
.stoimost-layout .photo-gallery__item {
  min-height: 0;
}
.stoimost-layout .photo-gallery__item img {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.stoimost-extra {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}
@media (min-width: 900px) {
  .stoimost-extra {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1.75rem;
  }
}
.stoimost-extra__lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}
.stoimost-extra__cards {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.stoimost-extra__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stoimost-extra__card:hover {
  border-color: rgba(127, 181, 106, 0.4);
  box-shadow: var(--shadow-sm);
}
.stoimost-extra__card .icon-mark {
  margin-bottom: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.stoimost-extra__card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}
.stoimost-extra__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.stoimost-extra__form {
  height: auto;
}

.kak-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.kak-aside .photo-gallery__item img {
  aspect-ratio: 4 / 3;
}

/* Same content width as .container on every page */
.page-section-compact,
.page-section-compact--wide,
.page-form-compact {
  max-width: none;
  width: 100%;
}
.page-section-compact .lead {
  margin-bottom: 0.55rem;
}
.page-section-compact .section__head {
  margin-bottom: 0.65rem;
}
.page-section-compact > h2 {
  margin-bottom: 0.5rem;
}
.prose--compact {
  max-width: none;
}
.prose--compact p,
.prose--compact ul,
.prose--compact ol {
  margin-bottom: 0.65rem;
}
.prose--compact h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
}
.page-visual-compact {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}
.page-visual-compact__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.page-visual-compact__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: 100%;
}
.page-visual-compact__ico {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--green);
}
.page-visual-compact__txt strong {
  font-weight: 700;
}
.page-visual-compact__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.page-visual-compact__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius-xs);
  overflow: hidden;
}
.page-visual-compact__photo {
  width: 100%;
  height: auto;
  max-height: 208px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  background: #d5ddd2;
  display: block;
}
.page-visual-compact__btn .lightbox-hint {
  opacity: 0;
}
.page-visual-compact__btn:hover .lightbox-hint,
.page-visual-compact__btn:focus-visible .lightbox-hint {
  opacity: 1;
}
@media (max-width: 540px) {
  .page-visual-compact__photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-visual-compact__photo {
    max-height: 72px;
  }
}
.page-form-compact .page-visual-compact {
  margin-top: 0;
  margin-bottom: 0.55rem;
  max-width: 26.5rem;
}
.page-form-compact .form,
.lead-split__form .form,
.contacts-aside > .form {
  max-width: 26.5rem;
}
.contacts-page__form {
  max-width: none;
}

.lightbox[hidden] { display: none !important; }

/* Lead modal (enroll form popup) */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
.lead-modal[hidden] {
  display: none !important;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 36, 18, 0.72);
  backdrop-filter: blur(4px);
}
.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  max-height: min(92vh, 640px);
  overflow: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.lead-modal__form {
  margin: 0;
  max-width: none;
  box-shadow: none;
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.2rem;
}
.lead-modal__form .form__title {
  padding-right: 2rem;
  margin-bottom: 0.35rem;
}
.lead-modal__form .form__lead {
  margin-bottom: 0.85rem;
}
.lead-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.lead-modal__close:hover {
  background: var(--green);
  color: #fff;
}
body.lead-modal-open { overflow: hidden; }

.page-hero--about {
  padding-bottom: 0;
  border-bottom: 0;
  background:
    radial-gradient(700px 280px at 95% -10%, rgba(127, 181, 106, 0.22), transparent 55%),
    var(--bg);
}
.about-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3rem;
}
@media (min-width: 960px) {
  .about-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
  }
}
.about-hero__text .lead {
  margin-bottom: 1rem;
}
.about-hero__body {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}
.about-hero__text .flex-actions {
  margin-top: 1.25rem;
}
.about-hero__media {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}
.about-hero__shot {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #d5ddd2;
  cursor: zoom-in;
}
.about-hero__shot--main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.about-hero__shot:not(.about-hero__shot--main) {
  aspect-ratio: 4 / 3;
}
.about-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.about-hero__shot:hover img,
.about-hero__shot:focus-visible img {
  transform: scale(1.04);
}

.about-team {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .about-team {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem;
  }
}
.about-team__people {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.about-team__people li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition);
}
.about-team__people li:hover {
  border-color: rgba(127, 181, 106, 0.4);
}
.about-team__people .icon-mark {
  margin-bottom: 0;
  width: 42px;
  height: 42px;
}
.about-team__people strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}
.about-team__people span {
  color: var(--muted);
  font-size: 0.92rem;
}
.about-team__card .icon-mark {
  margin-bottom: 0.85rem;
}
.about-team__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.about-team__doc {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: zoom-in;
  text-align: left;
  max-width: 180px;
  flex: 1 1 140px;
}
.about-team__doc img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.about-team__doc span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.media-side {
  display: grid;
  gap: 0.85rem;
}
.media-side img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: #cfd9e2;
}
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
}
.pay-logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.25rem 0.4rem;
}

.section--pay {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(127, 181, 106, 0.12), transparent 55%),
    var(--bg);
}
.pay-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .pay-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.75rem;
  }
}
.pay-layout__intro h2 {
  max-width: 20ch;
  margin-bottom: 0.85rem;
}
.pay-layout__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 42rem;
}
.pay-layout__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pay-aside {
  background:
    linear-gradient(160deg, rgba(127, 181, 106, 0.12) 0%, transparent 48%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pay-aside__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
}
.pay-aside__amount {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.pay-aside__amount span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font);
}
.pay-aside__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}
.pay-aside__meta {
  list-style: none;
  margin: 0.35rem 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pay-aside__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.pay-aside__meta .icon {
  color: var(--green-dark);
  margin-top: 0.1rem;
}
.pay-aside .btn { margin-top: auto; }

.pay-methods {
  display: grid;
  gap: var(--grid-gap);
  align-items: stretch;
}
@media (min-width: 800px) {
  .pay-methods { grid-template-columns: 1fr 1fr; }
}
.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  box-shadow: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pay-card:hover {
  border-color: rgba(127, 181, 106, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.pay-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.pay-card__head .icon-mark {
  margin-bottom: 0;
  flex-shrink: 0;
  color: var(--green);
}
.pay-card__head .icon-mark .icon {
  width: 26px;
  height: 26px;
}
.pay-card__head h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}
.pay-card > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.pay-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pay-steps li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.pay-steps__ico {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}
.pay-steps__ico .icon {
  display: block;
}
.pay-ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.pay-ways li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.pay-ways__ico {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--green-dark);
  flex-shrink: 0;
}
.pay-ways__ico .icon {
  display: block;
}
.docs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}
.docs-row img {
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid var(--border);
}
.acf-html {
  color: inherit;
  line-height: 1.65;
  word-spacing: var(--word-space);
}
.acf-html > *:first-child { margin-top: 0; }
.acf-html > *:last-child { margin-bottom: 0; }
.acf-html ul,
.acf-html ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.acf-html li { margin-bottom: 0.35rem; }
.acf-html a { color: var(--green-dark); font-weight: 600; }
.acf-html img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.acf-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.acf-html th,
.acf-html td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
}
.lead.acf-html { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 800px) {
  .media-text--flip {
    direction: rtl;
  }
  .media-text--flip > * {
    direction: ltr;
  }
}

.fact-mini h3 { margin: 0.35rem 0 0.35rem; }
.fact-mini .btn--sm { margin-top: 0.5rem; }

.polozhenie-grid {
  align-items: stretch;
}
.polozhenie-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
.polozhenie-card .icon-tile {
  margin-bottom: 0.85rem;
}
.polozhenie-card__num {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.polozhenie-card__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
}
.polozhenie-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.polozhenie-card__list li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}
.polozhenie-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.polozhenie-card__note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.polozhenie-actions {
  margin-top: 2rem;
}
.polozhenie-actions .btn svg {
  flex-shrink: 0;
}

/* Embedded PDF (polozhenie) */
.pdf-viewer {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #f4f5f3;
}
.pdf-viewer__frame {
  display: block;
  width: 100%;
  height: min(85vh, 1100px);
  border: 0;
}
.pdf-viewer__fallback {
  margin: 0;
  padding: 1.5rem;
}
@media (max-width: 699px) {
  .pdf-viewer {
    display: none;
  }
}

/* Text modal (full polozhenie, etc.) */
.text-modal {
  position: fixed;
  inset: 0;
  z-index: 2250;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
.text-modal[hidden] {
  display: none !important;
}
.text-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 36, 18, 0.72);
  backdrop-filter: blur(4px);
}
.text-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 820px);
  overflow: auto;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.5rem;
}
.text-modal__title {
  margin: 0 2rem 0.85rem 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}
.text-modal__body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.text-modal__body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}
.text-modal__body h3:first-child {
  margin-top: 0;
}
.text-modal__body p {
  margin: 0 0 0.65rem;
}
.text-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.text-modal__close:hover {
  background: var(--green);
  color: #fff;
}
body.text-modal-open { overflow: hidden; }

.prose h2 .icon,
.prose h2 svg,
.section__eyebrow .icon,
.section__eyebrow svg {
  display: inline-block;
  vertical-align: -0.2em;
  margin-right: 0.25rem;
}
.mb-2 { margin-bottom: 2rem; }
.group-card__time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--green);
  padding: 1rem 1.15rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink); margin: 1.25rem 0;
}
.note p { color: var(--ink); margin: 0; }
.note--warn { background: #fff8e6; border-left-color: #e6a800; }
.quote-site {
  border-left: 4px solid var(--green-soft);
  padding: 1rem 1.15rem; background: var(--surface);
  border: 1px solid var(--border); border-left-width: 4px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.25rem 0;
}
.quote-site p { color: var(--ink); margin: 0 0 0.5rem; font-style: italic; }
.quote-site footer { font-size: 0.85rem; color: var(--muted); font-style: normal; }

.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.55rem; border-radius: 999px;
  background: var(--bg-alt); color: var(--green-dark); border: 1px solid var(--border);
  box-shadow: none;
}
.tag--lime {
  background: var(--accent-soft);
  color: var(--green-dark);
  border-color: transparent;
  box-shadow: none;
}

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

.error-page { text-align: center; padding: 4rem 0; }
.error-page__code {
  font-family: var(--display);
  font-size: clamp(4rem, 15vw, 7rem); font-weight: 800;
  color: var(--green); line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-center { text-align: center; }
.align-start { align-items: start; }

#zayavka, #medspravka, #erip, #exam-fees, #formats {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

@media (max-width: 360px) {
  .container { width: min(100% - 1.25rem, var(--container)); }
  .hero__actions .btn, .flex-actions .btn { width: 100%; }
  .stages { grid-template-columns: 1fr; }
}

/* Scroll / load reveals — same feel as Tilda t-animate on nafta-avtomatika */
.reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal--up {
  transform: translate3d(0, 72px, 0);
}
.reveal--fade {
  transform: none;
}
.reveal--left {
  transform: translate3d(-40px, 0, 0);
}
.reveal--right {
  transform: translate3d(40px, 0, 0);
}
.reveal--slow {
  transition-duration: 1.45s;
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.48s; }
.reveal.is-in {
  transition-delay: 0s;
}
.reveal.is-in[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal.is-in[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal.is-in[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal.is-in[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal.is-in[data-reveal-delay="5"] { transition-delay: 0.4s; }
.reveal.is-in[data-reveal-delay="6"] { transition-delay: 0.48s; }

.hero__copy.reveal {
  transform: translate3d(0, 40px, 0);
}
.hero-slider__nav.reveal {
  transform: translate3d(0, 24px, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in,
  .hero__copy.reveal,
  .hero-slider__nav.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
