/* Всемила — визуальная система (этап 2).
   Значения взяты из прототипов главной (Прототипы страниц/vsemila-home-*.html).
   Этот файл станет основой стилей сайта на этапе 4. */

/* ---------- Токены ---------- */
:root {
  /* Цвет */
  --green: #225D38;          /* основной: кнопки, ссылки, навигация */
  --green-dark: #1A4A2C;     /* наведение на кнопку */
  --ink: #2A2522;            /* заголовки */
  --text: #3F3A36;           /* основной текст */
  --text-2: #4A4440;         /* второстепенный текст */
  --muted: #6B635C;          /* подписи, пояснения */
  --cream: #FFFAE0;          /* шапка, первый экран, нижняя панель */
  --cream-glow: #FFEEB4;     /* свечение на первом экране */
  --cream-line: #F1E6BD;     /* границы на кремовом */
  --line: #ECE5D3;           /* разделители на белом */
  --field: #9A8A66;          /* рамка полей ввода: контраст 3,4:1 к белому (WCAG 1.4.11) */
  --paper: #FFFFFF;
  --mist: #E3E5EB;           /* карточка контактов в футере */
  --leaf: #F1F6E6;           /* светло-зелёная карточка: шаг «листок» в «Клубе», карточки «Контактов» */
  --leaf-line: #DCE8C4;      /* её рамка */
  --sun: #F2C94C;            /* «солнце»: кольцо */
  --sun-core: #FFD35A;       /* «солнце»: диск */
  --gold: #C9922A;           /* рамка фокуса */
  --gold-text: #8C6A1C;      /* мелкие метки */
  --metro: #A0153E;          /* значок метро, звёздочка обязательного поля */
  --price-blue: #3946B8;
  --price-green: #225D38;
  --price-red: #B5372F;

  /* Мягкие фоны карточек (чередуются по порядку) */
  --tint-1: linear-gradient(165deg, #BFC7DE 0%, #E4E1FD 100%);  /* сирень */
  --tint-2: linear-gradient(165deg, #D3DFAA 0%, #F1F4E0 100%);  /* шалфей */
  --tint-3: linear-gradient(165deg, #F5C9AE 0%, #FDEEE4 100%);  /* персик */
  --tint-4: linear-gradient(165deg, #FFE29A 0%, #FFF6D8 100%);  /* мёд */
  --tint-5: linear-gradient(165deg, #D7C9EE 0%, #F4EEFD 100%);  /* лаванда */
  --tint-6: linear-gradient(165deg, #BFE3D2 0%, #ECF8F2 100%);  /* мята */
  --tint-7: linear-gradient(165deg, #F4C6D2 0%, #FDEEF2 100%);  /* роза */
  --tint-8: linear-gradient(165deg, #C3DDF2 0%, #EEF6FD 100%);  /* небо */
  --tint-9: linear-gradient(165deg, #E8D9BC 0%, #FAF4E8 100%);  /* песок */
  --tint-10: linear-gradient(165deg, #D9E8B4 0%, #F5FAE6 100%); /* фисташка */
  --tint-11: linear-gradient(165deg, #E5C9D2 0%, #F9EFF2 100%); /* пыльная роза, цвет заказчика */

  /* Шрифты */
  --serif: 'PT Serif', Georgia, serif;
  --sans: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  /* Скругления */
  --r-btn: 4px;
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-pill: 999px;

  /* Сетка */
  --container: 1320px;      /* 1240 px содержимого + поля, как в «Визуальной концепции v2» */
  --gutter: 16px;
  --header-h: 62px;
  --tap: 44px;               /* минимальная область касания */
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --header-h: 110px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  overflow-x: clip;
}
@media (min-width: 1100px) { body { font-size: 16px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; min-height: var(--tap); z-index: 100; padding: 10px 14px; background: var(--green); color: #fff; border-radius: var(--r-btn); }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
[hidden] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Типографика ---------- */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; }
.h1 { font-size: 34px; line-height: 1.06; }
.h2 { font-size: 28px; line-height: 1.12; }
.h3 { font-size: 20px; line-height: 1.25; }
@media (min-width: 768px) { .h1 { font-size: 52px; } .h2 { font-size: 38px; } .h3 { font-size: 22px; } }
@media (min-width: 1100px) { .h1 { font-size: 64px; } .h2 { font-size: 44px; } }
.lead { font-size: 16px; line-height: 1.65; color: var(--text); margin: 0; }
@media (min-width: 1100px) { .lead { font-size: 18px; } }
.note { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1em; }

/* Заглушка: данных пока нет в материалах */
.stub { display: inline; background: #FFF3C4; color: #6A5414; border-radius: 3px; padding: 0 4px; font-style: normal; }
.stub-block { padding: 16px 18px; border: 1.5px dashed #D9C27A; border-radius: 12px; background: #FFFBEA; color: #6A5414; font-size: 14px; line-height: 1.5; }
.check-flag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: #FBE3E0; color: #8E2A22; font-size: 11px; font-weight: 600; vertical-align: middle; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: rgba(255,255,255,.7); color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: #fff; }
.btn-on-green { background: #fff; color: var(--green); }
.btn-sm { min-height: var(--tap); padding: 0 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 16px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.75); color: var(--ink); border: 0;
  font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.pill:hover { background: #fff; }
.link-quiet { color: var(--green); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.booking-note { margin-top: 8px; }

/* ---------- Фоны ---------- */
.t1 { background: var(--tint-1); } .t2 { background: var(--tint-2); }
.t3 { background: var(--tint-3); } .t4 { background: var(--tint-4); }
.t5 { background: var(--tint-5); } .t6 { background: var(--tint-6); } .t7 { background: var(--tint-7); }
.t8 { background: var(--tint-8); } .t9 { background: var(--tint-9); } .t10 { background: var(--tint-10); } .t11 { background: var(--tint-11); }
.c1 { color: var(--price-blue); } .c2 { color: var(--price-green); } .c3 { color: var(--price-red); }
.wave { display: block; width: 100%; height: 26px; }
@media (min-width: 1100px) { .wave { height: 48px; } }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,250,224,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cream-line); }
.hdr-compact { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 62px; padding: 0 12px 0 14px; }
.hdr-compact .logo img { height: 44px; width: auto; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: var(--tap); height: var(--tap); display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--r-btn); }
.menu-btn { height: var(--tap); display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--green); color: #fff; border: 0; border-radius: var(--r-btn); font-size: 14px; font-weight: 600; cursor: pointer; }
.hdr-full, .hdr-top { display: none; }
@media (min-width: 1200px) {
  .site-header { background: var(--cream); backdrop-filter: none; border-bottom: 0; }
  .hdr-compact { display: none; }
  .hdr-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; font-size: 13px; }
  .hdr-top a { color: var(--text-2); text-decoration: none; }
  .hdr-top a:hover { color: var(--green); }
  .hdr-top .hdr-links { display: flex; align-items: center; gap: 22px; }
  .hdr-top .tel { font-weight: 600; color: var(--ink); }
  .hdr-top .cb { background: none; border: 0; padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .hdr-full { display: block; padding-bottom: 12px; }
  .navbar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 12px 0 24px; background: var(--green); font-size: 15px; font-weight: 500; }
  .navbar nav, .navbar .nav-right { display: flex; align-items: center; gap: 26px; }
  .navbar a:not(.btn), .navbar .nav-svc { color: #fff; text-decoration: none; background: none; border: 0; padding: 0; height: var(--tap); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; font-weight: 500; }
  .navbar a:not(.btn):hover, .navbar .nav-svc:hover { color: #FFE9A0; }
  .navbar a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
  .navbar .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 0; height: auto; }
  .navbar .logo img { height: 82px; width: auto; }
  .navbar .btn { min-height: 42px; }
  .svc-panel { position: absolute; left: 0; right: 0; top: 58px; z-index: 40; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 28px 32px 32px; background: #fff; box-shadow: 0 24px 48px rgba(42,37,34,.14); }
  .svc-panel a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; }
  .svc-panel a:hover { color: var(--green); }
  .svc-panel .all { color: var(--green); font-weight: 700; }
  .svc-panel .panel-label { font-size: 13px; color: var(--muted); margin: 8px 0 4px; }
}

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 14px 0 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #B9AF9C; }

/* ---------- Первый экран внутренних страниц ---------- */
.page-hero { position: relative; background: var(--cream); overflow: hidden; }
.page-hero .glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero .hero-in { position: relative; display: grid; gap: 18px; padding-top: 8px; padding-bottom: 6px; }
.geo { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.geo strong { font-weight: 600; color: var(--ink); }
.hero-price { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; }
.hero-price small { font-family: var(--sans); font-weight: 500; font-size: 13px; color: #5A534E; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) {
  .page-hero .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 24px; padding-bottom: 24px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Арка — фирменная рамка фото (из прототипа) */
.arch { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 230px; margin: 0 auto; }
@media (min-width: 768px) { .arch { max-width: 420px; } }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-sun { position: absolute; right: -8%; top: 2%; width: 46%; aspect-ratio: 1; }
.photo-stub { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: #7A7268; font-size: 13px; background: rgba(255,255,255,.75); }

/* ---------- Навигация по блокам страницы ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; margin: 0; padding: 8px var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; max-width: var(--container); margin-inline: auto; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); color: var(--ink); background: #F6F2E6; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.subnav a[aria-current="true"] { background: var(--green); color: #fff; }

/* ---------- Секции ---------- */
.section { padding: 40px 0 8px; }
@media (min-width: 1100px) { .section { padding: 72px 0 16px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.section-head p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Прайс: группы и строки ---------- */
.price-group { border-top: 1px solid var(--line); }
.price-group:last-child { border-bottom: 1px solid var(--line); }
.price-group > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 10px 0; cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink);
}
.price-group > summary::-webkit-details-marker { display: none; }
.price-group > summary .count { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 8px; }
.price-group > summary .sign { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #F6F2E6; display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.price-group[open] > summary .sign { background: var(--green); color: #fff; }
.price-group[open] > summary .sign svg { transform: rotate(180deg); }
.price-list { list-style: none; margin: 0 0 12px; padding: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px dashed #E6DDC7; }
.price-row:first-child { border-top: 0; }
.price-name { font-size: 15px; line-height: 1.4; color: var(--ink); }
.price-name .zone { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-sum { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--ink); white-space: nowrap; text-align: right; }
.price-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.price-actions .btn { min-height: var(--tap); padding: 0 18px; font-size: 14px; }
.price-actions .link-quiet { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
.price-subhead { margin: 18px 0 4px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
/* С планшета строка прайса в одну линию: название, сумма, кнопки. */
@media (min-width: 768px) {
  .price-row { grid-template-columns: minmax(0, 1fr) 140px auto; align-items: center; padding: 12px 0; }
  .price-actions { grid-column: auto; margin-top: 0; flex-wrap: nowrap; justify-content: flex-end; }
}
mark { background: #FFE58A; color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------- Карточки людей и аппаратов ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person-card { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); min-height: 260px; }
.person-card .who { padding: 12px 12px 0; }
.person-card .name { font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.25; }
.person-card .role { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.person-card img { margin-top: auto; width: 100%; height: auto; }
.device-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.device-card img { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; background: var(--sun-core); }
.device-card .name { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.device-card p { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }

/* ---------- Галерея «до/после» ---------- */
.works { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.work { margin: 0; border-radius: var(--r-card); overflow: hidden; background: #F6F2E6; }
.work-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.work-pair button { position: relative; padding: 0; border: 0; background: #E9E2D0; cursor: zoom-in; aspect-ratio: 3 / 4; }
.work-pair .side { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; color: var(--ink); }
.work figcaption { padding: 12px 14px 14px; font-size: 14px; line-height: 1.45; }
.work figcaption a { font-weight: 600; }
.lightbox { padding: 0; border: 0; border-radius: 16px; max-width: min(920px, 96vw); width: 100%; background: #fff; }
.lightbox::backdrop { background: rgba(42,37,34,.7); }
.lightbox .lb-body { padding: 14px; }
.lightbox .lb-top { display: flex; justify-content: flex-end; }

/* ---------- Аккордеон вопросов и медицинских блоков ---------- */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; cursor: pointer; font-weight: 600; color: var(--ink); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .pm { flex: 0 0 auto; color: var(--metro); font-size: 22px; line-height: 1; }
.acc[open] > summary .pm::before { content: "−"; }
.acc:not([open]) > summary .pm::before { content: "+"; }
.acc .acc-body { padding: 0 0 16px; }

/* ---------- Финальный призыв ---------- */
.cta-band { margin-top: 48px; padding: 28px 20px; border-radius: var(--r-card-lg); background: var(--green); color: #fff; display: grid; gap: 16px; position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; }
.cta-band p { margin: 0; color: #E6EFE8; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
@media (min-width: 1100px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; } }

/* ---------- Футер ---------- */
.site-footer { margin-top: 56px; padding-bottom: 24px; }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; } }
.contact-card { padding: 20px; border-radius: 22px; background: var(--mist); display: flex; flex-direction: column; gap: 14px; }
.contact-card .tel { font-size: 26px; color: var(--ink); text-decoration: none; }
.contact-card .row { display: flex; gap: 8px; }
.contact-card .row > * { flex: 1 1 0; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; font-size: 15px; font-weight: 600; }
.footer-nav a { padding: 10px 0; color: var(--ink); text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-legal a { padding: 6px 0; color: #5E7364; }
.wordmark { margin-top: 22px; }
.disclaimer { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; text-align: center; color: #7A726B; }

/* ---------- Нижняя панель (телефон) ---------- */
.bottom-bar { position: sticky; bottom: 0; z-index: 25; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,250,224,.97); border-top: 1px solid var(--cream-line); box-shadow: 0 -8px 20px rgba(42,37,34,.06); }
.bottom-bar .call { flex: 0 0 auto; background: #fff; }
.bottom-bar .book { flex: 1 1 auto; }
@media (min-width: 1200px) { .bottom-bar { display: none; } }

/* ---------- Оверлеи: меню, поиск, звонок ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--cream); }
.overlay-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--cream-line); }
.overlay-head img { height: 44px; width: auto; }
.close-btn { height: var(--tap); display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: #fff; color: var(--ink); border: 1px solid #E6DCB8; border-radius: var(--r-btn); font-size: 14px; font-weight: 600; cursor: pointer; }
.menu-nav { flex: 1 1 auto; overflow-y: auto; padding: 8px 16px 16px; }
.menu-nav .big { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid #EFE3BA; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.menu-svc { display: flex; align-items: stretch; border-bottom: 1px solid #EFE3BA; }
.menu-svc .big { flex: 1 1 auto; border-bottom: 0; }
.menu-svc button { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-left: 1px solid #EFE3BA; cursor: pointer; color: var(--green); }
.menu-svc button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-sub { display: flex; flex-direction: column; padding: 6px 0 10px 12px; border-bottom: 1px solid #EFE3BA; }
.menu-sub a { display: flex; align-items: center; min-height: var(--tap); font-size: 15px; color: var(--ink); text-decoration: none; }
.menu-sub a.all { color: var(--green); font-weight: 600; }
.menu-foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EFE3BA; }
.menu-foot .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.menu-foot .tel { font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 0; }
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(42,37,34,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 22px; padding: 28px; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.round-close { width: var(--tap); height: var(--tap); display: flex; align-items: center; justify-content: center; background: #F4F1E6; border: 0; border-radius: 50%; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .search-input {
  min-height: 50px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: var(--r-btn);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%;
}
.field .err { font-size: 13px; color: var(--price-red); }
.field input[aria-invalid="true"] { border-color: var(--price-red); }
.req { color: var(--metro); }

/* ---------- Прайс-страница: поиск ---------- */
.price-tools { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box .search-input { padding-left: 42px; padding-right: 44px; }
.search-box .clear { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); }
.search-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.search-status button { background: none; border: 0; color: var(--green); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.dir-chips { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.dir-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: #F6F2E6; color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.direction-block { padding-top: 28px; }
.direction-block > .h2 { margin-bottom: 10px; }
.empty-state { padding: 24px 0; }

/* ---------- Профиль ---------- */
.edu { list-style: none; margin: 0; padding: 0; }
.edu li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.edu .year { font-family: var(--serif); font-weight: 700; color: var(--green); }
.fact-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fact-row li { padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.8); font-size: 13.5px; }

/* ======================================================================
   Этап 5: страницы сайта
   ====================================================================== */
.center { text-align: center; }
.sub { margin: 6px 0 18px; font-size: 14px; }
.tap { display: inline-flex; align-items: center; min-height: var(--tap); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Поиск в шапке компьютера */
@media (min-width: 1200px) {
  .hdr-top .hdr-search { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; background: none; border: 0; font-size: 13px; color: var(--text-2); cursor: pointer; }
  .hdr-top .hdr-search svg { width: 16px; height: 16px; }
  .hdr-top .hdr-search:hover { color: var(--green); }
  .hdr-top a[aria-current="page"] { color: var(--green); font-weight: 600; }
  .navbar .nav-svc[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
}
.hdr-top .hdr-search { display: none; }
@media (min-width: 1200px) { .hdr-top .hdr-search { display: inline-flex; } }

/* Оверлей поиска */
.overlay--search { background: #fff; }
.search-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--cream); border-bottom: 1px solid var(--cream-line); }
.search-head .search-input { flex: 1 1 auto; min-width: 0; }
.search-head .btn { flex: 0 0 auto; }
.search-cancel { flex: 0 0 auto; min-height: var(--tap); padding: 0 8px; background: none; border: 0; color: var(--green); font-weight: 600; cursor: pointer; }
.search-hint { padding-top: 16px; padding-bottom: 24px; }
.search-hint .note { margin-bottom: 10px; }
@media (min-width: 768px) { .search-head { padding: 14px var(--gutter); } .search-head .search-input { max-width: 720px; } }

/* Направления */
.dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.dir-grid > .stub-block { grid-column: 1 / -1; }
.dir-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 112px; padding: 14px 14px 12px; border-radius: var(--r-card); color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.2; overflow: hidden; }
@media (min-width: 1100px) { .dir-card { min-height: 150px; padding: 20px; font-size: 20px; } }
.dir-card__go { align-self: flex-end; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; color: var(--green); }
.dir-card--all { background: var(--green); color: #fff; }
.dir-card__more { font-family: var(--sans); font-size: 13px; font-weight: 600; color: #FFE9A0; }

/* Ключевые услуги */

/* Уровни клуба на главной: карточки на медовой полосе, высший — зелёный */
.club-levels { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .club-levels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.club-levels li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; }
.club-levels li.top { background: var(--green); color: #fff; }
.club-levels b { font-family: var(--serif); font-size: 18px; }

/* Оборудование и команда */
.device-list { display: grid; gap: 10px; }
@media (min-width: 1100px) { .device-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.team-all { justify-content: space-between; }
.team-all__go { align-self: flex-end; margin: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; color: var(--green); }


/* Блог на главной */
.blog-strip { display: grid; gap: 12px; }
@media (min-width: 768px) { .blog-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.blog-mini { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.blog-mini img, .blog-mini__ph { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; display: block; }
.blog-mini b { display: block; margin-top: 2px; font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.person-card__stub { margin: 12px; margin-top: auto; aspect-ratio: 4 / 5; border-radius: 14px; }
.adv { margin: 16px 0 0; padding-left: 20px; }
.adv li { margin-bottom: 6px; }
.work-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-caption { padding-top: 12px; }
.work-links { display: block; margin-top: 4px; }

/* О центре */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

/* Контакты */
.contacts { display: grid; gap: 24px; }
@media (min-width: 1100px) { .contacts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.contacts__info { display: grid; gap: 18px; }
.contacts__info .note { margin-bottom: 4px; }
.contacts__big { margin: 0; font-size: 18px; color: var(--ink); }
.contacts__tel { font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--ink); text-decoration: none; display: inline-flex; min-height: var(--tap); align-items: center; }
.contacts__map { display: grid; gap: 10px; text-decoration: none; }
.contacts__map img { width: 100%; border-radius: var(--r-card); }
.contacts__way { display: grid; gap: 20px; }
@media (min-width: 1100px) { .contacts__way { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } }

/* Клуб */
.club-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .club-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .club-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.club-cards > li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-card); }
.club-cards > li.top { background: var(--green); color: #fff; }
.club-cards > li.top .note { color: #FFE9A0; }
.club-cards b { font-family: var(--serif); font-size: 20px; }
.club-cards p { margin: 0; }
.club-cards ul { margin: 0; padding-left: 18px; }

/* Подарочные карты */
.giftcard { width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1.586; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(34, 93, 56, .55); transform: rotate(-3deg); }
/* Загруженная картинка сертификата — как есть: без подложки, тени, скругления и наклона
   (у картинки центра прозрачный фон и свои «крылья»). */
.giftcard--photo { aspect-ratio: auto; max-width: 520px; border-radius: 0; overflow: visible; box-shadow: none; transform: none; background: none; }
.giftcard--photo img { width: 100%; height: auto; display: block; }
.giftcard__face { position: relative; width: 100%; height: 100%; background: linear-gradient(150deg, #2C7047 0%, var(--green) 55%, #17432A 100%); color: #fff; }
.giftcard__sun { position: absolute; right: -28px; top: -28px; width: 58%; height: auto; opacity: .95; }
.giftcard__logo { position: absolute; left: 7%; top: 10%; width: 34%; height: auto; border-radius: 8px; }
.giftcard__label { position: absolute; left: 7%; bottom: 11%; font-family: var(--serif); font-size: clamp(18px, 4.5vw, 26px); font-weight: 700; letter-spacing: .01em; }
.gift-hero { display: grid; gap: 28px; align-items: center; padding-bottom: 28px; }
.gift-hero__text { display: grid; gap: 14px; }
.gift-hero__text .lead { margin: 0; max-width: 56ch; }
.gift-hero__acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .gift-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-bottom: 40px; } }
.gift-nominals { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.gift-nominals li { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-card); }
.gift-nominals b { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.gift-nominals span { color: var(--text-2); font-size: 14px; }
.gift-steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .gift-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.gift-step { display: grid; align-content: start; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
.home-gift { padding: 48px 0; }
.home-gift__in { display: grid; gap: 28px; align-items: center; }
.home-gift__text { display: grid; gap: 14px; justify-items: start; }
.home-gift__text .lead { margin: 0; max-width: 52ch; }
.gift-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gift-chips li { padding: 6px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--cream-line); font-weight: 600; color: var(--ink); }
@media (min-width: 900px) { .home-gift__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; } .home-gift { padding: 32px 0 64px; } }

/* Документы и поиск */
.doc-list, .found { list-style: none; margin: 0; padding: 0; }
.doc-list li, .found li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.doc-list li > a:first-child, .found li > a { font-weight: 600; font-size: 16px; min-height: var(--tap); display: inline-flex; align-items: center; }
.found li { flex-direction: column; gap: 0; }
.search-page { display: flex; gap: 8px; margin-top: 16px; max-width: 720px; }
.search-page .search-input { flex: 1 1 auto; min-width: 0; }

/* Формы заявок */
.sub-form { display: flex; flex-direction: column; gap: 12px; }
.q-form { max-width: 560px; }
/* 09.11: «Задать вопрос» — карточка по центру, в рамке. */
/* Светло-зелёная карточка сайта (как шаг «листок» в «Клубе»). */
.q-card { max-width: 640px; margin: 0 auto; padding: 28px 20px; border: 1px solid var(--leaf-line); border-radius: var(--r-card-lg); background: var(--leaf); }
.q-card > .h2, .q-card > .muted { text-align: center; }
.q-card .q-form { max-width: none; }
@media (min-width: 600px) { .q-card { padding: 36px 40px; } }
.field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-done__title { margin: 0; font-size: 17px; font-weight: 600; color: var(--green); }
.sub-fail { margin: 0; font-size: 14px; color: var(--price-red); }
.notice { padding: 12px 0; font-weight: 600; }
.notice--ok { background: #E6F1E9; color: var(--green); }
.notice--err { background: #FBE3E0; color: #8E2A22; }

/* Области касания не меньше 44 px [С, разд. 9]: мелкие ссылки получают
   невидимые поля, вид и вёрстка не меняются. */
.crumbs a, .section-head .link-quiet, .footer-legal a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.footer-legal a { padding: 12px 0; margin: -6px 0; }
.footer-nav a { min-height: var(--tap); display: flex; align-items: center; padding: 0; }
.contact-card .tel, .dir-chips a { min-height: var(--tap); display: inline-flex; align-items: center; }
/* Регрессия 10.11: почта в подвале и на «Контактах», «Все публикации» на главной,
   короткие пункты «хлебных крошек» («Блог») — тоже не меньше 44 px. */
.foot-contacts .mail, .home-blog .link-quiet, .ct2 .link-quiet { display: inline-flex; align-items: center; min-height: var(--tap); }
.crumbs a { padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
/* Блок текста не шире колонки (длинные «склеенные» фразы разбирает unglue). */
.home-about__text { min-width: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; min-height: var(--tap); font-size: 13.5px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.consent-err { font-size: 13px; color: var(--price-red); }

/* Плашка согласия на cookie Метрики */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 940px; max-height: calc(100vh - 96px); margin: 0 auto; padding: 14px 18px; overflow-y: auto; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(42,37,34,.18); font-size: 13px; line-height: 1.45; visibility: hidden; transform: translateY(160%); transition: transform .5s cubic-bezier(.2, .8, .2, 1), visibility .5s; }
.cookie.show { visibility: visible; transform: none; }
.cookie p { flex: 1 1 340px; margin: 0; }
.cookie__acts { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.cookie__prefs { flex: 1 0 100%; display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cookie__prefs[hidden] { display: none; }
.cookie__pref { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookie__pref input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.cookie__pref b { color: var(--ink); }
@media (max-width: 860px) { .cookie__acts { flex: 1 1 100%; flex-direction: column; } .cookie__acts .btn { width: 100%; } }
@media (min-width: 1100px) { .cookie { bottom: 20px; max-height: calc(100vh - 40px); } }

/* Карта на странице «Контакты» */
.contacts__map { position: relative; }
.map-static { margin: 0; overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--cream-line); }
.map-static a { display: block; }
.map-static img { display: block; width: 100%; min-width: 560px; height: auto; border-radius: 0; }
.map-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Наверху «Контактов» — фото входа вместо карты (замечания 06.11, К1). */
.contacts__door { margin: 0; overflow: hidden; border-radius: var(--r-card-lg); }
.contacts__door img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Узкие колонки (документы, поиск, цены) — по левому краю, как заголовок
   страницы над ними; арка фото на компьютере — к правому краю сетки. */
.container.narrow { max-width: var(--container); }
.container.narrow > * { max-width: 760px; }
.container.narrow.prices-wrap > * { max-width: 980px; }
@media (min-width: 1100px) { .page-hero .arch { margin-right: 0; } }

/* Рамка фокуса: тёмное золото на светлом (5:1), светлое — на зелёных
   поверхностях (5,5:1), чтобы её было видно с клавиатуры везде. */
.navbar :focus-visible, .cta-band :focus-visible, .home-club :focus-visible,
.dir-card--all:focus-visible, .club-cards > li.top :focus-visible { outline-color: var(--sun-core); }
/* Нижняя панель на узком телефоне (320 px) без горизонтальной прокрутки. */
.bottom-bar .btn { min-width: 0; padding: 0 14px; }

/* Поиск в начале каталога услуг [С, P02, п. 1]. */
.catalog-search { max-width: 560px; margin-top: 16px; }
.about-links .dir-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.about-links .dir-card span:last-child { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--text-2); }

/* ===== Визуальная концепция v2 (Прототипы страниц/…/vsemila-home-desktop-concept.html) =====
   Сетка 1240 px; шапка — зелёная полоса 58 px с логотипом-плашкой 84 px по центру;
   первый экран: подпись «Москва · м. Технопарк», заголовок до 80 px, героиня справа
   и круглая кнопка «Онлайн-запись»; подвал — меню строкой, карточки контактов и карта. */

/* Шапка */
.hdr-compact .logo img, .overlay-head img { height: 44px; width: auto; }
@media (min-width: 1200px) {
  :root { --header-h: 118px; }
  .site-header { padding-top: 4px; }
  .hdr-top .hdr-geo { display: inline-flex; align-items: center; gap: 6px; }
  .hdr-top .hdr-links > span { color: var(--text-2); }
  .hdr-full { padding-bottom: 16px; }
  /* Полоса меню (замечания 10.11): скруглённая, без узора (узор — только на
     плашках внутри страниц); логотип-медальон в середине выходит за её края.
     Пункты каждой половины — с равными промежутками от края полосы до логотипа. */
  .navbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 20px; height: 60px; padding: 0 10px; border-radius: 18px; font-size: 14px; background: var(--green); }
  .navbar .logo { position: static; transform: none; justify-self: center; }
  .navbar .logo img { height: 72px; width: auto; filter: drop-shadow(0 6px 12px rgba(20, 50, 30, .3)); }
  .navbar nav, .navbar .nav-right { justify-content: space-evenly; gap: 0; min-width: 0; }
  .navbar a:not(.btn), .navbar .nav-svc { font-size: 14px; white-space: nowrap; }
  .navbar .nav-svc svg { width: 14px; height: 14px; opacity: .75; transition: transform .2s ease; }
  /* Под пунктом — тонкая золотая черта: на открытой странице всегда, при наведении — выезжает. */
  .navbar > nav > a, .navbar > nav > .nav-svc, .navbar > nav > .nav-drop > .nav-svc, .navbar > .nav-right > a { position: relative; }
  .navbar > nav > a::after, .navbar > nav > .nav-svc::after, .navbar > nav > .nav-drop > .nav-svc::after, .navbar > .nav-right > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 1px; background: var(--sun-core); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .navbar > nav > a:hover::after, .navbar > nav > .nav-svc:hover::after, .navbar > nav > .nav-drop > .nav-svc:hover::after, .navbar > .nav-right > a:hover::after,
  .navbar > nav > a[aria-current="page"]::after, .navbar > nav > .nav-svc[aria-current="page"]::after, .navbar > nav > .nav-drop > .nav-svc[aria-current="page"]::after, .navbar > .nav-right > a[aria-current="page"]::after,
  .navbar .nav-svc[aria-expanded="true"]::after { transform: scaleX(1); }
  .navbar a[aria-current="page"], .navbar .nav-svc[aria-current="page"] { text-decoration: none; color: #FFE9A0; }
  .navbar .nav-tel { gap: 8px; }
  .navbar .nav-tel svg { width: 18px; height: 18px; }
  .navbar .nav-hours { color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
  .navbar .svc-panel { top: calc(100% + 8px); border-radius: 18px; }
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .navbar a::after, .navbar .nav-svc::after, .navbar .nav-svc svg { transition: none; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .navbar { column-gap: 14px; padding: 0 6px; }
  .navbar .logo img { height: 62px; }
  .navbar a:not(.btn), .navbar .nav-svc { font-size: 13.5px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .navbar a:not(.btn), .navbar .nav-svc { font-size: 13px; }
}

/* Первый экран главной */
.home-hero { position: relative; background: var(--cream); overflow: hidden; }
.home-hero .glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.home-hero__in { position: relative; display: grid; gap: 22px; padding-top: 24px; padding-bottom: 32px; grid-template-areas: "title" "img" "text"; }
.home-hero__title { grid-area: title; display: grid; gap: 14px; }
.home-hero__eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.home-hero__h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 10vw, 46px); line-height: 1.02; color: var(--ink); text-wrap: balance; }
.home-hero__img { grid-area: img; position: relative; display: flex; justify-content: center; }
.home-hero__img img { width: 100%; max-width: 600px; height: auto; }
.home-hero__badge { position: absolute; right: 0; bottom: 6%; width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--green); color: #fff; text-decoration: none; font-size: 12px; font-weight: 500; line-height: 1.25; box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--green); }
.home-hero__badge:hover { background: var(--green-dark); color: #fff; }
.home-hero__text { grid-area: text; display: grid; gap: 22px; justify-items: start; }
.home-hero__lead { margin: 0; max-width: 470px; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.home-hero__acts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; width: 100%; }
.home-hero__acts .btn { font-weight: 500; }
.home-hero__book { padding: 0 54px; }
.home-hero__geo { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.home-hero__geo a { font-weight: 600; }
@media (max-width: 767px) { .home-hero__acts > .btn { flex: 1 1 100%; } }
@media (min-width: 768px) {
  .home-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title img" "text img"; column-gap: 40px; row-gap: 26px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(64px, 7vw, 96px); align-items: end; }
  .home-hero__text { align-self: start; }
  .home-hero__img { align-self: center; }
  .home-hero__h1 { font-size: clamp(46px, 5.4vw, 80px); }
  .home-hero__eyebrow { font-size: 14px; }
  .home-hero__lead { font-size: 18px; }
  .home-hero__badge { width: 104px; height: 104px; font-size: 13px; }
}

/* Подвал */
.site-footer { margin-top: 56px; padding: 24px 0 40px; }
.site-footer .container { display: flex; flex-direction: column; gap: 28px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; justify-content: space-between; font-size: 15px; font-weight: 600; }
.foot-nav a { padding: 0; color: var(--ink); text-decoration: none; }
.foot-nav a:hover { color: var(--green); }
.foot-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-col { flex: 1.5 1 420px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.foot-contacts { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding: 28px 30px; background: var(--mist); border-radius: 22px; }
.foot-contacts .col { display: flex; flex-direction: column; gap: 18px; }
.foot-contacts .grp { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot-contacts .lbl { font-weight: 600; color: var(--ink); }
.foot-contacts .addr { max-width: 300px; line-height: 1.5; color: var(--text-2); }
.foot-contacts .mail { color: var(--ink); }
.foot-contacts .call { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot-contacts .tel { font-size: clamp(26px, 2.4vw, 32px); color: var(--ink); text-decoration: none; white-space: nowrap; }
.foot-reach { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 22px 30px; background: var(--mist); border-radius: 22px; }
.foot-reach .ttl { font-size: 20px; color: var(--ink); }
.foot-reach .acts { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot-reach .soc { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.foot-reach .lnk { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; background: none; border: 0; color: var(--green); font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-mapbox { position: relative; flex: 1 1 340px; display: flex; min-width: 0; }
.foot-map { flex: 1 1 auto; min-width: 0; min-height: 280px; display: block; border-radius: 22px; overflow: hidden; border: 8px solid var(--mist); background: #EEF0F3; }
.foot-map img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 70%; }
.wordmark { margin-top: 20px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 32px; justify-content: space-between; font-size: 17px; }
.foot-legal a, .foot-legal__btn { padding: 0; color: #5E7364; text-decoration: none; }
.foot-legal__btn { display: inline-flex; align-items: center; min-height: var(--tap); background: none; border: 0; font: inherit; cursor: pointer; }
.foot-legal a:hover, .foot-legal__btn:hover { color: var(--green); text-decoration: underline; }
.site-footer .disclaimer { margin: 0; padding-top: 22px; border-top: 1px solid var(--mist); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 767px) {
  .foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .foot-contacts, .foot-reach { padding: 20px; }
  .foot-legal { font-size: 15px; justify-content: flex-start; }
  .site-footer .disclaimer { font-size: 12px; letter-spacing: .06em; }
}
/* Подвал: ссылки и телефон — не меньше 44 px по высоте для пальца. */
.foot-nav a, .foot-legal a { display: inline-flex; align-items: center; min-height: var(--tap); }
.foot-contacts .tel { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ----- Концепция v2: блоки главной и общие карточки (Д-34) ----- */
@media (min-width: 1100px) { .h2 { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.05; } }
.container--wide { max-width: calc(1400px + 2 * var(--gutter)); }
.home-head { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.home-head p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.6; color: #5A534E; }
.home-head--center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
@media (min-width: 1100px) { .home-head { margin-bottom: 48px; } .home-head p { font-size: 16px; } }
.home-more { display: flex; justify-content: center; margin-top: 32px; }
.home-more .btn, .home-club__btn, .home-eq .btn { padding: 0 44px; font-weight: 500; }
.home-dirs, .home-key, .home-team, .home-blog, .home-eq { padding: 48px 0; }
@media (min-width: 1100px) { .home-dirs { padding: 64px 0 96px; } .home-key, .home-team, .home-eq { padding: 24px 0 96px; } .home-blog { padding: 24px 0 72px; } }

/* Высокие плитки: «Наши услуги» и «Специалисты» */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 14px; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; border-radius: 26px; overflow: hidden; color: var(--ink); text-decoration: none; }
@media (min-width: 1100px) { .tile { min-height: 330px; } }
.tile__title { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 0; min-height: 46px; }
@media (min-width: 1100px) { .tile__title { padding: 20px 20px 0; } }
.tile__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
@media (min-width: 1100px) { .tile__name { font-size: 17px; } }
.tile__role { font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.tile__pic { position: relative; display: block; aspect-ratio: 560 / 688; overflow: hidden; }
.tile__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--device .tile__pic { aspect-ratio: auto; display: flex; align-items: flex-end; padding: 0 10px 18px; }
.tile--device .tile__pic img { position: static; height: auto; object-fit: contain; }
.tile--all { background: var(--green); color: #fff; }
.tile--all .tile__role { color: #E6EFE8; }
.tile__go { align-self: flex-end; margin: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .tile, .key-card { transition: transform .25s ease, box-shadow .25s ease; }
  .tile:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(84,92,140,.18); }
  .key-card:hover { transform: translateY(-4px); }
  .key-card__arch { transition: transform .35s ease; }
  .key-card:hover .key-card__arch { transform: translateY(-6px) rotate(-1.5deg); }
}


/* Цветные полосы с волнами: клуб (мёд) и «Сила красоты» (шалфей). Сверху под
   волной — белая подложка: верхняя волна выходит из белого фона в цвет полосы. */
.band { position: relative; }
.band__wave { display: block; width: 100%; height: clamp(28px, 4.2vw, 60px); }
.band--honey { background: linear-gradient(#FFFFFF, #FFFFFF) top / 100% clamp(28px, 4.2vw, 60px) no-repeat, #FFF7DA; }
.band--sage { background: linear-gradient(#FFFFFF, #FFFFFF) top / 100% clamp(28px, 4.2vw, 60px) no-repeat, #D8E0BF; }
.band > .container { padding-top: 32px; padding-bottom: 40px; }
@media (min-width: 1100px) { .band > .container { padding-top: 56px; padding-bottom: 72px; } }
.home-club { color: var(--text); }
.home-club .h2 { color: var(--ink); }

/* Оборудование: текст и ссылки слева, иллюстрация справа (концепция: «Аппараты и косметика») */
.home-eq__in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .home-eq__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
.home-eq__text { display: grid; gap: 22px; justify-items: start; }
.home-eq__text .lead { margin: 0; max-width: 470px; }
.home-eq__art { display: flex; justify-content: center; }
.home-eq__art img { width: 100%; max-width: 620px; height: auto; }
.home-cos { padding-top: 0; }
/* Чуть больше воздуха: «Сертификаты» → «Оборудование» → «Косметика». */
@media (min-width: 900px) { .home-gift { padding-bottom: 80px; } }
@media (min-width: 1100px) { .home-eq:not(.home-cos) { padding-top: 48px; } .home-eq { padding-bottom: 128px; } .home-cos { padding-bottom: 96px; } }
.home-cos__circle { display: block; width: 100%; max-width: 460px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--cream); }
.home-cos__circle img { width: 100%; height: 100%; object-fit: cover; }
.home-cos__logo { background: #fff; border: 1px solid var(--line); }
.home-cos__logo img { object-fit: contain; padding: 8px; }
.home-cos__logo b { font-family: var(--serif); font-size: 26px; color: var(--green); }
/* Зеркально «Оборудованию»: колонка картинки той же ширины (1,1 : 1), картинка того же размера. */
@media (min-width: 900px) { .home-cos .home-eq__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.home-cos__pic { display: block; object-fit: contain; }
@media (max-width: 899px) { .home-eq__art { order: -1; } .home-eq__art img { max-width: 340px; } }

/* «Сила красоты»: коллаж интерьера в фигурных рамках, логотип, текст по центру */
.home-about__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .home-about__top { gap: 24px; } }
.home-about__ph { position: relative; overflow: hidden; }
.home-about__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-about__ph--tl, .home-about__ph--tr { aspect-ratio: 520 / 300; }
.home-about__ph--tl { clip-path: path('M24 300C10 300 0 290 0 276V128C0 112 12 104 26 104C150 104 290 70 400 18C440 0 520 0 520 40V276C520 290 510 300 496 300Z'); }
.home-about__ph--tr { clip-path: path('M496 300C510 300 520 290 520 276V128C520 112 508 104 494 104C370 104 230 70 120 18C80 0 0 0 0 40V276C0 290 10 300 24 300Z'); }
.home-about__ph--bl, .home-about__ph--br { flex: 0 1 230px; aspect-ratio: 300 / 380; }
.home-about__ph--bl { clip-path: path('M24 0H140C140 130 190 200 300 210V356C300 370 290 380 276 380H24C10 380 0 370 0 356V24C0 10 10 0 24 0Z'); }
.home-about__ph--br { clip-path: path('M276 0H160C160 130 110 200 0 210V356C0 370 10 380 24 380H276C290 380 300 370 300 356V24C300 10 290 0 276 0Z'); }
.home-about__logo { display: block; height: 56px; width: auto; margin: -28px auto 0; position: relative; }
@media (min-width: 900px) { .home-about__logo { height: 74px; margin-top: -40px; } }
.home-about__row { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: center; margin-top: 18px; }
.home-about__text { flex: 1 1 420px; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.home-about__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
@media (min-width: 1100px) { .home-about__text p { font-size: 17px; } }
.home-about__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.home-about__acts .btn { font-weight: 500; }
.home-about__acts .btn-outline { background: rgba(255,255,255,.6); }
@media (max-width: 899px) { .home-about__ph--bl, .home-about__ph--br { display: none; } }
/* clip-path: path() задаёт форму в пикселях исходного макета: на других ширинах
   рамка масштабируется через zoom-обёртку — ниже 1120 px формы чуть упрощаются. */
@media (max-width: 1119px) {
  .home-about__ph--tl, .home-about__ph--tr { clip-path: inset(0 round 22px); }
  .home-about__ph--tl { border-top-right-radius: 120px; }
}
.home-about__ph--tl, .home-about__ph--tr { width: 100%; }
@media (min-width: 1120px) { .home-about__top { grid-template-columns: 520px 520px; justify-content: center; } }

/* Арка: фото — обычная картинка с общей формой #arch-clip, кадр как в админке */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.arch__photo { position: absolute; inset: 0; overflow: hidden; clip-path: url(#arch-clip); background: #F7F0DA; }
.arch__photo img { width: 100%; height: 100%; object-fit: cover; }
.arch__stub { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #7A7268; }
@media (min-width: 1100px) { .arch__stub { font-size: 17px; } }
.device-card__pic { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--sun-core); }
.device-card__pic img { width: 100%; height: 100%; object-fit: cover; }

/* Телефон — по мобильному прототипу (vsemila-home-mobile.html): ключевые услуги —
   компактные карточки с фото-аркой справа, плитки направлений и команды ниже. */
@media (max-width: 639px) {
  .tile { min-height: 0; }
  .tile__pic { width: 78%; margin-left: auto; }
  .tile--device .tile__pic { width: 100%; }
  .tile--all { min-height: 150px; }
}

/* Специалисты: фото сверху, подпись под ним; на главной — один ряд на компьютере. */
.tile--person { justify-content: flex-start; }
.tile--person .tile__pic { width: 100%; margin: 0; }
.tile--person .tile__title { padding: 14px 16px 18px; }
@media (min-width: 1100px) and (max-width: 1299px) { .tile--person .tile__title { padding: 14px 12px 16px; } }

/* Слова не переносим через дефис (замечания 06.11, Т1): длинные слова
   («Биоревитализация», «Парикмахерские») умещаются целиком за счёт размера шрифта. */
h1, h2, h3, .h1, .h2, .h3, .tile__name, .tile__role, .dir-card, .key-card__title, .lead { overflow-wrap: break-word; }
/* Колонки первых экранов могут быть уже самого длинного слова — тогда слово переносится, а не раздувает колонку. */
.page-hero .hero-in > *, .page-hero .hero-in > div > *, .home-hero__in > *, .home-hero__title > * { min-width: 0; }
.page-hero .hero-in, .home-hero__in { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .page-hero .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .home-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Заголовок раздела и ссылка рядом: при переносе ссылка уходит на свою строку с отступом. */
.section-head, .home-head { row-gap: 12px; }
.section-head { align-items: flex-end; }
/* Подвал на планшете: короткие пункты («Блог») — не уже 44 px для пальца. */
.foot-nav a { min-width: var(--tap); }

/* Планшет и узкий компьютер: ряды без «осиротевших» плиток (7 = 4 + 3), подвал
   в 5 колонок, список аппаратов в одну колонку рядом с иллюстрацией. */
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* Главная: направления 4 сверху и 4 снизу, в ширину сайта; цвета соседних карточек
   (рядом и сверху-снизу) не повторяются — очередь из пяти цветов, dirTint. */
@media (min-width: 640px) { .home-dirs .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .home-dirs .tiles { gap: 20px; max-width: 860px; margin-inline: auto; } .home-dirs .tile__title { min-height: 64px; } }
@media (min-width: 640px) { .home-team .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .home-team .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1099px) { .home-hero__h1 { font-size: clamp(40px, 5vw, 56px); } }
@media (min-width: 640px) and (max-width: 1279px) { .foot-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; } }

/* Ключевые услуги (прототип + «Визуальная концепция v2»): слева название, назначение,
   крупная цена и запись, справа фото процедуры в арке на солнце. Арка выходит над
   верхним краем карточки, как фигуры в «Сезонных предложениях» концепции: карточка
   обрезает солнце по бокам и снизу (clip-path), но не сверху. */
.key-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 16px; padding-top: 22px; overflow-x: clip; }
@media (min-width: 1200px) { .key-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 20px; padding-top: 40px; } }
.key-card { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px; border-radius: 28px; }
.key-card--pic { clip-path: inset(-90px 0 0 0 round 0 0 28px 28px); }
.key-card__body { display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; min-width: 0; }
.key-card__about { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-height: var(--tap); color: inherit; text-decoration: none; }
.key-card__about:hover .key-card__title { color: var(--green); }
.key-card__title { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.12; color: var(--ink); }
.key-card__sum { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.key-card__price { margin-top: auto; padding-top: 8px; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; }
.key-card__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.key-card__acts > * { flex: 1 1 0; }
.key-card--pic .key-card__about { padding-right: 112px; min-height: 150px; }
.key-card__media { position: absolute; top: -20px; right: 16px; width: 100px; }
.key-card__sun { position: absolute; top: -10%; right: -46%; width: 100%; aspect-ratio: 1; }
.key-card__arch { position: relative; display: block; aspect-ratio: 4 / 5; filter: drop-shadow(0 10px 18px rgba(84, 72, 40, .16)); }
.key-card__pic { position: absolute; inset: 0; overflow: hidden; clip-path: url(#arch-clip); background: #FBF5E2; }
.key-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.key-card__stub { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30% 8px 0; text-align: center; font-size: 11.5px; line-height: 1.3; color: #7A7268; }
@media (min-width: 768px) {
  .key-card { min-height: 270px; padding: 28px 26px 26px 30px; }
  .key-card--pic .key-card__body { padding-right: 200px; }
  .key-card--pic .key-card__about { padding-right: 0; min-height: 0; }
  .key-card__media { top: -40px; right: 28px; width: 172px; }
  .key-card__title { font-size: 27px; }
  .key-card__sum { font-size: 15px; }
  .key-card__price { font-size: 36px; }
  .key-card__acts > * { flex: 0 0 auto; }
  .key-card__stub { font-size: 13px; }
}
@media (min-width: 1200px) {
  .key-card--pic .key-card__body { padding-right: 232px; }
  .key-card__media { top: -52px; width: 200px; }
  .key-card__price { font-size: 40px; }
}

/* Оборудование (прототип): список ключевых аппаратов в одну колонку — круглое фото,
   название, назначение, стрелка; справа крупная иллюстрация концепции. */
.home-eq__list { display: grid; margin: 0; padding: 0; list-style: none; width: 100%; max-width: 560px; border-top: 1px solid var(--line); }
.home-eq__list li { border-bottom: 1px solid var(--line); }
.home-eq__list a { display: flex; gap: 16px; align-items: center; min-height: 88px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.home-eq__dot { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #FFF4CF; display: flex; align-items: center; justify-content: center; }
.home-eq__dot img { width: 100%; height: 100%; object-fit: cover; }
.home-eq__dot svg { width: 78%; height: 78%; }
.home-eq__name { flex: 1 1 auto; min-width: 0; }
.home-eq__name b { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.home-eq__name small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.home-eq__go { flex: 0 0 auto; color: var(--green); display: inline-flex; transition: transform .2s ease; }
.home-eq__list a:hover b { color: var(--green); }
.home-eq__list a:hover .home-eq__go { transform: translateX(4px); }

/* Клуб на главной (прототип): слева заголовок, вводная и кнопка, справа четыре
   карточки уровней; на телефоне карточки 2 × 2 между вводной и кнопкой. */
.home-club__in { display: grid; gap: 20px; padding-block: 16px 24px; }
.home-club__text { display: grid; gap: 12px; }
.home-club__text p { margin: 0; max-width: 520px; }
.home-club__btn { justify-self: stretch; }
@media (min-width: 640px) { .home-club__btn { justify-self: start; } }
@media (min-width: 1000px) {
  .home-club__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto auto; column-gap: 40px; row-gap: 24px; align-items: center; padding-block: 32px 56px; }
  .home-club__text { grid-column: 1; grid-row: 1; align-self: end; gap: 16px; }
  .club-tiers { grid-column: 2; grid-row: 1 / span 2; }
  .home-club__btn { grid-column: 1; grid-row: 2; align-self: start; }
}
.club-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .club-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.club-tiers > li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; border-radius: 20px; background: #FFFFFF; }
.club-tiers__sun { width: 36px; height: 36px; flex: 0 0 auto; }
.club-tiers b { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--ink); }
.club-tiers li > span { font-size: 12.5px; line-height: 1.4; color: #6B635C; }
.club-tiers li.top { background: var(--green); color: #FFFFFF; }
.club-tiers li.top > :not(.club-tiers__glow) { position: relative; }
.club-tiers li.top b { color: #FFFFFF; font-size: 19px; }
.club-tiers li.top > span { color: #DCE8DF; }
.club-tiers li.top > .club-tiers__note { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F2C94C; }
.club-tiers__glow { position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; opacity: .5; }
@media (min-width: 640px) {
  .club-tiers > li { min-height: 200px; padding: 22px 20px; gap: 10px; border-radius: 22px; }
  .club-tiers__sun { width: 44px; height: 44px; }
  .club-tiers b { font-size: 19px; }
  .club-tiers li > span { font-size: 13.5px; line-height: 1.45; }
  .club-tiers li.top b { font-size: 22px; }
  .club-tiers li.top > .club-tiers__note { font-size: 11px; }
  .club-tiers__glow { right: -50px; bottom: -50px; width: 170px; height: 170px; }
}

/* Меню блоков страницы: с планшета все пункты видны сразу — переносятся на
   вторую строку, а не уходят за край («Макияж» был срезан). На телефоне лента
   листается пальцем; затухание у правого края показывает, что пункты есть дальше. */
@media (min-width: 768px) {
  .subnav ul { flex-wrap: wrap; overflow-x: visible; row-gap: 6px; }
  html { scroll-padding-top: calc(var(--header-h) + 112px); }
}
@media (max-width: 767px) {
  .subnav ul { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
}

/* Полоса предпросмотра из админки: видна только сотруднику, открывшему страницу из формы. */
.preview-bar { position: relative; z-index: 40; background: #2A2522; color: #FFF7DA; font-size: 14px; }
.preview-bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 10px; }
.preview-bar b { color: #FFD35A; }
.preview-bar__back { display: inline-flex; align-items: center; min-height: var(--tap); color: #FFF7DA; font-weight: 600; text-decoration: underline; }

/* Панель «Услуги» лежит внутри зелёной шапки, и правило её пунктов («белый текст»,
   высота 44 px) перекрывало ссылки панели: на белом фоне их не было видно. */
.navbar .svc-panel a:not(.btn) { display: block; height: auto; min-height: 0; padding: 8px 0; color: var(--ink); font-size: 15px; font-weight: 400; white-space: normal; }
.navbar .svc-panel a:not(.btn):hover { color: var(--green); }
.navbar .svc-panel a.all { color: var(--green); font-weight: 700; }

/* Страница услуги: факты, задачи, как работает, аппарат, вкладки
   (docs/15-service-page-proposal.md, этапы А–Б) */
.svc-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.svc-facts li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.svc-facts li::before, .points li::before {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun-core); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--sun);
}
.svc-tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.svc-tasks li { display: flex; align-items: flex-start; min-width: 0; min-height: 96px; padding: 16px 18px; border-radius: var(--r-card); font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--ink); overflow-wrap: break-word; }
@media (min-width: 768px) { .svc-tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .svc-tasks li { min-height: 120px; padding: 20px 22px; font-size: 19px; } }
@media (min-width: 1100px) { .svc-tasks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-how { display: grid; gap: 20px; align-items: start; }
.svc-how > * { min-width: 0; }
@media (min-width: 1100px) { .svc-how { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } .svc-how--solo { grid-template-columns: minmax(0, 640px); } }
.svc-result { display: grid; gap: 14px; padding: 22px 24px; border-radius: var(--r-card-lg); background: var(--cream); border: 1px solid var(--cream-line); }
.svc-result ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.svc-result li { position: relative; padding-left: 32px; line-height: 1.45; color: var(--ink); }
.svc-result li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.svc-result li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; align-items: baseline; gap: 12px; line-height: 1.5; }
.points li::before { position: relative; top: -1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--cream); border: 1px solid var(--cream-line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.doc-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--green); }
.svc-devices { display: grid; gap: 16px; }
@media (min-width: 1100px) { .svc-devices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.svc-device { display: grid; gap: 12px; align-content: start; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs__tab { flex: 0 1 auto; max-width: 100%; min-height: 44px; padding: 10px 18px; text-align: left; white-space: normal; overflow-wrap: break-word; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font: 600 14px/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.tabs__tab:hover { border-color: var(--green); }
.tabs__tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tabs__panel { padding: 20px 0 4px; border-top: 1px solid var(--line); }
.tabs__panel + .tabs__panel { margin-top: 8px; }
.tabs__h { margin: 0 0 12px; }
.tabs--on .tabs__panel { padding-top: 0; border-top: 0; margin-top: 0; }
.tabs__panel:focus-visible { outline-offset: 6px; border-radius: 4px; }
.svc-extra { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-card-lg); }
.svc-extra__text { display: grid; gap: 10px; min-width: 0; }
.svc-extra__title { margin: 0; font-size: 24px; }
.svc-extra .prose p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .svc-extra { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 32px 36px; } .svc-extra__title { font-size: 28px; } }

/* Косметика: бренды на странице «Оборудование» и на страницах услуг (Д-49, этап Г) */
.brands { display: grid; gap: 16px; }
.brand { display: grid; border: 1px solid var(--line); border-radius: var(--r-card-lg); overflow: hidden; background: var(--paper); }
.brand__head { display: grid; align-content: start; gap: 6px; padding: 22px 24px; }
.brand__head--pic { display: flex; flex-direction: column; gap: 6px; padding-bottom: 0; } /* фото прижато к низу плашки */
.brand__pic { display: block; width: calc(100% + 48px); max-width: none; margin: auto -24px 0; aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.brand__name { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); }
.brand__country { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.brand__body { display: grid; gap: 16px; align-content: start; padding: 22px 24px 24px; min-width: 0; }
.brand__body .prose p:last-child { margin-bottom: 0; }
.brand__svc-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.brand__svc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brand__svc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--green); text-decoration: none; }
.brand__svc a:hover { border-color: var(--green); }
@media (min-width: 900px) { .brand { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } .brand__head { min-height: 100%; padding: 28px; } .brand__head--pic { padding-bottom: 0; gap: 8px; } .brand__pic { width: calc(100% + 56px); margin: auto -28px 0; } .brand__body { padding: 28px 32px; } }
.brand-mini-list { display: grid; gap: 12px; }
@media (min-width: 768px) { .brand-mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.brand-mini { display: grid; gap: 4px; align-content: start; padding: 20px 22px; border-radius: var(--r-card); color: var(--ink); text-decoration: none; }
.brand-mini img { max-width: 120px; max-height: 48px; width: auto; height: auto; object-fit: contain; margin-bottom: 6px; }
.brand-mini__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.brand-mini__text { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text); }
.brand-mini:hover .brand-mini__name { text-decoration: underline; }

/* «Клуб и сертификаты» (Д-55): ступени со знаками, таблица привилегий, сертификаты */
.club-hero__acts { flex-direction: row; flex-wrap: wrap; margin-top: 18px; }
.club-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 768px) { .club-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .club-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.club-step { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 20px 24px; border-radius: var(--r-card-lg); color: var(--ink); }
.club-step__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .72); color: var(--green); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); }
.club-step__num { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); }
.club-step__name { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.club-step__discount { margin: 0; font-size: 14px; color: var(--text-2); }
.club-step__discount b { display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--green); }
.club-step__cond { margin: 0; font-size: 14px; line-height: 1.5; }
.club-step__list { display: grid; gap: 6px; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(42, 37, 34, .12); list-style: none; font-size: 14px; line-height: 1.45; }
.club-step__list li { position: relative; padding-left: 18px; }
.club-step__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun-core); box-shadow: 0 0 0 2px var(--sun); }
.club-step--top { background: var(--green); color: #fff; }
.club-step--top .club-step__icon { background: rgba(255, 255, 255, .14); color: var(--sun-core); box-shadow: 0 0 0 6px rgba(255, 211, 90, .18); }
.club-step--top .club-step__num, .club-step--top .club-step__discount { color: #F3EBD0; }
.club-step--top .club-step__discount b { color: var(--sun-core); }
.club-step--top .club-step__list { border-top-color: rgba(255, 255, 255, .22); }
.gift-part { padding-top: 32px; border-top: 1px solid var(--line); }
.gift-part .gift-steps { display: grid; gap: 12px; }
@media (min-width: 768px) { .gift-part .gift-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .gift-part .gift-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } }
@media (prefers-reduced-motion: no-preference) {
  .club-step { transition: transform .25s ease; }
  .club-step:hover { transform: translateY(-3px); }
}
.club-tiers li > .club-tiers__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--green); }
.club-tiers__icon svg { width: 34px; height: 34px; }
.club-tiers li.top > .club-tiers__icon--top { background: rgba(255, 255, 255, .14); color: var(--sun-core); }

/* Анимации (комментарии 30.10): появление при прокрутке и оживший первый экран.
   Только при разрешённом движении; без скрипта всё видно сразу. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--reveal-i, 0) * 70ms); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .home-hero__img img { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .home-hero__title, .home-hero__text { animation: hero-fade .8s ease both; }
  .home-hero__text { animation-delay: .15s; }
  .home-hero .glow { animation: hero-glow 9s ease-in-out infinite alternate; transform-origin: 60% 40%; }
  .key-card__motif { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .key-card:hover .key-card__motif { transform: rotate(14deg) scale(1.04); }
  .club-step__icon svg, .club-tiers__icon svg { transition: transform .4s ease; }
  .club-step:hover .club-step__icon svg, .club-tiers li:hover .club-tiers__icon svg { transform: scale(1.12) rotate(-6deg); }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hero-glow { from { transform: scale(1); opacity: .9; } to { transform: scale(1.06); opacity: 1; } }

/* «Цены»: блок «Как записаться» — акцентная карточка с кнопками (комментарии 30.10) */
.price-notes { position: relative; overflow: hidden; display: grid; gap: 18px; margin-top: 32px; padding: 26px 24px; border-radius: var(--r-card-lg); background: var(--cream); border: 1px solid var(--cream-line); }
.price-notes__sun { position: absolute; right: -36px; top: -36px; width: 140px; opacity: .55; pointer-events: none; }
.price-notes__text { position: relative; display: grid; gap: 12px; max-width: 62ch; }
.price-notes__text .h3 { margin: 0; }
.price-notes__acts { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .price-notes { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 32px 36px; } .price-notes__acts { flex-direction: column; } }

/* Страница услуги (комментарии 30.10): задачи с фото, фото «Как работает», галерея */
.svc-tasks--photo li { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 0; overflow: hidden; }
.svc-tasks--photo li img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.svc-tasks--photo li span { padding: 12px 14px 16px; }
@media (min-width: 768px) { .svc-tasks--photo li span { padding: 14px 18px 18px; } }
@media (min-width: 1100px) { .svc-tasks--photo { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.svc-how-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 280px)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.svc-how-pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.svc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .svc-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .svc-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-gallery a { display: block; border-radius: 16px; overflow: hidden; }
.svc-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
@media (prefers-reduced-motion: no-preference) { .svc-gallery a:hover img { transform: scale(1.04); } }

/* Специалист (комментарии 30.10): цитата, образование линией, направления со ссылками */
.person-quote { position: relative; margin: 4px 0 2px; padding: 4px 0 4px 22px; border-left: 3px solid var(--sun); max-width: 52ch; }
.person-quote p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.45; font-style: italic; color: var(--ink); }
.edu-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.edu-card { display: grid; gap: 14px; align-content: start; min-width: 0; padding: 22px 22px 24px; border-radius: var(--r-card-lg); }
.edu-card .h3 { margin: 0; }
.edu-line { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 0 22px; list-style: none; }
.edu-line::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: rgba(34, 93, 56, .25); }
.edu-line li { position: relative; display: grid; gap: 2px; line-height: 1.45; color: var(--ink); }
.edu-line li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-core); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.edu-line__year { font-family: var(--serif); font-weight: 700; color: var(--green); }
.dir-services { display: grid; gap: 12px; }
@media (min-width: 768px) { .dir-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.dir-services__item { display: grid; gap: 12px; align-content: start; padding: 20px 22px; border-radius: var(--r-card-lg); }
.dir-services__item .h3 { margin: 0; }
.dir-services__item ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dir-services__item a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid rgba(42, 37, 34, .1); color: var(--ink); font-weight: 600; text-decoration: none; }
.dir-services__item a:hover { color: var(--green); }
.dir-services__item a svg { flex: 0 0 auto; color: var(--green); }

/* Оборудование и косметика: карточки аппаратов, пометка о цене косметики */
.device-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.devcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-card-lg); color: var(--ink); text-decoration: none; }
.devcard__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(255, 255, 255, .5); }
.devcard__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.devcard__body { display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; }
.devcard__maker { font-size: 13px; font-weight: 600; color: var(--text-2); }
.devcard__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.devcard__text { font-size: 14px; line-height: 1.5; color: var(--text); }
.devcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--green); }
@media (prefers-reduced-motion: no-preference) { .devcard__pic img { transition: transform .5s ease; } .devcard:hover .devcard__pic img { transform: scale(1.04); } }
.cos-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--cream-line); font-weight: 600; color: var(--ink); }
.cos-note svg { color: var(--green); }

/* Страница аппарата: «Об аппарате» — текст и нумерованные особенности на солнце */
.device-about { position: relative; display: grid; gap: 22px; margin-top: 32px; padding: 26px 22px; border-radius: var(--r-card-lg); background: var(--cream); border: 1px solid var(--cream-line); overflow: hidden; }
.device-about__sun { position: absolute; right: -40px; bottom: -40px; width: 170px; opacity: .5; pointer-events: none; }
.device-about__text, .device-about__adv { position: relative; display: grid; gap: 14px; align-content: start; min-width: 0; }
.device-about .h2, .device-about .h3 { margin: 0; }
.device-adv { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.device-adv li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; line-height: 1.45; color: var(--ink); }
.device-adv__n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .device-about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 36px 40px; margin-top: 56px; } }

/* «Контакты»: как нас найти — шаги маршрута (комментарии 30.10) */
.route__in { display: grid; gap: 20px; }
@media (min-width: 900px) { .route__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; } .route__in--solo { grid-template-columns: minmax(0, 760px); } }
.route__steps { display: grid; gap: 18px; min-width: 0; }
.route-steps { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.route-steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; border-left: 3px dashed var(--sun); }
.route-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 2px 0; line-height: 1.5; color: var(--ink); }
.route-steps__n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--paper); }
.route-steps li > span:last-child { padding-top: 8px; }
.route-steps__end .route-steps__n { background: var(--sun-core); color: var(--green); font-family: var(--serif); font-size: 18px; }
.route-steps__end > span:last-child { font-weight: 600; }
.route__media { display: grid; gap: 12px; }
.route__video, .route__map { width: 100%; border-radius: var(--r-card-lg); }
.route__scheme { margin: 0; }
.route__scheme img { display: block; height: auto; }

/* «О центре»: цитата-концепция, карточки атмосферы, галерея */
/* «Концепция» (замечания 06.11, О1–О4): нежно-зелёный фон без солнышка, отступ от
   первого экрана больше, справа — своя картинка с прозрачным фоном. */
.about-quote { position: relative; overflow: hidden; display: grid; gap: 20px; margin-top: 32px; padding: 32px 24px; border-radius: var(--r-card-lg); background: #EAF1DA; border: 1px solid #D6E3BC; }
.about-quote__body { display: grid; gap: 12px; align-content: center; min-width: 0; }
.about-quote__pic { display: block; justify-self: center; width: min(100%, 340px); height: auto; }
.about-quote__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-text); }
.about-quote__text { position: relative; margin: 0; max-width: 46ch; }
.about-quote__text p { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); }
@media (min-width: 768px) {
  .about-quote { margin-top: 56px; padding: 48px 56px; }
  .about-quote__text p { font-size: 28px; }
  .about-quote--pic { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); align-items: center; column-gap: 48px; }
  .about-quote__pic { width: 100%; }
}
.about-card__icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.about-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .about-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.about-card { position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: 24px 22px 26px; border-radius: var(--r-card-lg); min-width: 0; }
.about-card .key-card__motif { position: static; width: 56px; height: 56px; }
.about-card .h3 { margin: 0; }
.about-card .prose p { margin: 0; }
/* «Интерьер» — горизонтальная карусель (замечания 06.11, О8): листается пальцем,
   колесом, стрелками клавиатуры и кнопками. */
.about-interior__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.carousel { display: flex; gap: 14px; margin: 0; padding: 0 0 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: thin; }
.carousel:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--r-card); }
.carousel__item { flex: 0 0 min(84%, 520px); scroll-snap-align: start; }
.carousel__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card-lg); }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border-radius: 50%; border: 1px solid var(--green); background: var(--paper); color: var(--green); cursor: pointer; }
.carousel__btn:hover, .carousel__btn:focus-visible { background: var(--green); color: #fff; }
.carousel__btn:disabled { opacity: .4; cursor: default; background: var(--paper); color: var(--green); }
.carousel__btn--prev svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } }

/* ── Подсветка при наведении: варианты на выбор (показ заказчику 30.10) ──
   На всём сайте — Б2 (layout.html: <html data-hover="b2">). Показ других:
   ?hover=b | b1 | b2 | b3, ?hover=off — без эффекта. Откат — docs/19-hover.md.
   Основа — «Живая карточка» (Б): карточка наклоняется за курсором.
   Б1–Б3: свет в цвет самой карточки, слоем фона — под фото и текстом,
   поэтому фото не засвечивается и контур карточки поверх него не виден.
   Только для мыши (hover: hover) и только без «уменьшить движение». */
.hover-demo { position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 4px; align-items: center; padding: 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hover-demo span { padding: 0 10px 0 12px; opacity: .8; }
.hover-demo button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.hover-demo button[aria-pressed="true"] { background: var(--sun-core); color: var(--ink); font-weight: 600; }
@media (max-width: 1099px) { .hover-demo { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 767px) { .hover-demo span { display: none; } }

/* Цвет света каждой палитры карточки: тот же оттенок, только ярче. */
.t1 { --tint: var(--tint-1); --glow: #9FA8E8; } .t2 { --tint: var(--tint-2); --glow: #B5D166; }
.t3 { --tint: var(--tint-3); --glow: #F6A77A; } .t4 { --tint: var(--tint-4); --glow: #FFC93C; }
.t5 { --tint: var(--tint-5); --glow: #B79BEA; } .t6 { --tint: var(--tint-6); --glow: #7FD1AC; }
.t7 { --tint: var(--tint-7); --glow: #F08FAA; } .t8 { --tint: var(--tint-8); --glow: #8CC2F0; }
.t9 { --tint: var(--tint-9); --glow: #E0BE7E; } .t10 { --tint: var(--tint-10); --glow: #B8D86A; }
.t11 { --tint: var(--tint-11); --glow: #D99AAE; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Общее для всех «Б»: наклон за курсором. */
  [data-hover^="b"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card) { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, background-color .3s ease; }
  [data-hover^="b"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):hover { --ty: -4px; transition-duration: .12s, .4s, .3s; }
  [data-hover^="b"] .home-eq__go { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
  [data-hover^="b"] .home-eq__list a:hover .home-eq__go { transform: translateX(8px); }
  [data-hover^="b"] .btn { position: relative; overflow: hidden; }
  [data-hover^="b"] .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none; }
  [data-hover^="b"] .btn:hover::after { left: 130%; transition: left .7s ease; }

  /* Б — как было: белый блик поверх карточки, тёмная тень. */
  [data-hover="b"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):hover { box-shadow: 0 22px 44px -14px rgba(42,37,34,.28); }
  [data-hover="b"] :is(.devcard, .club-step) { position: relative; }
  [data-hover="b"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 60%); }
  [data-hover="b"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):hover::after { opacity: 1; }
  [data-hover="b"] .key-card:hover .key-card__motif { transform: rotate(-10deg) scale(1.08); }

  /* Б1 «Цветной блик»: за курсором по фону карточки идёт пятно света
     её же цвета, светлое в середине; тень — мягкая, в цвет карточки. */
  [data-hover="b1"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):is(.t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10, .t11):hover {
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), color-mix(in srgb, var(--glow) 45%, transparent) 38%, transparent 72%), var(--tint);
    box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--glow) 80%, transparent);
  }
  [data-hover="b1"] .key-card:hover .key-card__motif { transform: rotate(-10deg) scale(1.08); }

  /* Б2 «Сияние»: карточка светится по краю своим цветом, будто подсвечена
     изнутри; свет ярче с той стороны, где курсор. */
  [data-hover="b2"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):is(.t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10, .t11):hover {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--glow) 32%, transparent), transparent 70%), var(--tint);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--glow) 75%, transparent), inset 0 0 36px 4px color-mix(in srgb, var(--glow) 50%, transparent);
  }
  [data-hover="b2"] .key-card:hover .key-card__motif { transform: rotate(-10deg) scale(1.08); }

  /* Б3 «Глубина»: цветной блик как в Б1, а фото, значки и солнышки
     смещаются навстречу наклону — карточка выглядит объёмной. */
  [data-hover="b3"] :is(.key-card, .tile, .devcard, .club-step, .about-card, .dir-card, .dir-services__item, .edu-card, .device-card):is(.t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10, .t11):hover {
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.5), color-mix(in srgb, var(--glow) 40%, transparent) 40%, transparent 74%), var(--tint);
    box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--glow) 85%, transparent);
  }
  [data-hover="b3"] :is(.key-card__media, .key-card__motif, .club-step__icon, .tile__pic img, .devcard__pic img) { transition: transform .25s ease-out; }
  [data-hover="b3"] .key-card:hover .key-card__media { transform: translate(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 12px)); }
  [data-hover="b3"] .key-card:hover .key-card__motif { transform: translate(calc(var(--px, 0) * -22px), calc(var(--py, 0) * -16px)) rotate(-8deg); }
  [data-hover="b3"] .club-step:hover .club-step__icon { transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 8px)); }
  [data-hover="b3"] .tile:hover .tile__pic img, [data-hover="b3"] .devcard:hover .devcard__pic img { transform: scale(1.08) translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px)); }
}

/* Значки Telegram и MAX у ссылок (05.11). */
/* Замечания 06.11 (П2): связь с администратором — зелёные значки, каналы в соцсетях — бледно-фиолетовые. */
.i-social { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green); }
.soc--channel .i-social { color: #A99BDF; }
.pill--soc { display: inline-flex; align-items: center; gap: 8px; }

/* Клуб (05.11): своя картинка вместо знака ступени. */
.club-step__icon img, .club-tiers__icon img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* «Как получить статус»: текст и картинка справа. */
.club-how { display: grid; gap: 24px; align-items: center; }
.club-how__text { min-width: 0; }
.club-how__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r-card-lg); }
@media (min-width: 900px) { .club-how { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } .club-how__img { height: 100%; max-height: 560px; } }

/* Правила клуба — пергаментный свиток: лист между двумя валиками, буквица и киноварь. */
.club-scroll { position: relative; max-width: 820px; margin: 0 auto; padding: 22px 0; }
.club-scroll::before, .club-scroll::after { content: ""; position: absolute; left: -14px; right: -14px; z-index: 1; height: 30px; border-radius: 15px; background: linear-gradient(180deg, #C9A268 0%, #F0DCB0 38%, #D9B983 62%, #A67F4C 100%); box-shadow: 0 6px 12px -6px rgba(82, 54, 20, .55); }
.club-scroll::before { top: 6px; }
.club-scroll::after { bottom: 6px; }
.club-scroll__sheet { padding: 48px clamp(20px, 6vw, 72px) 44px; text-align: center; color: #3B2A16; background-color: #F6E8C8; background-image: radial-gradient(ellipse at 12% 8%, rgba(150, 105, 50, .2), transparent 42%), radial-gradient(ellipse at 88% 92%, rgba(150, 105, 50, .24), transparent 46%), radial-gradient(ellipse at 90% 12%, rgba(150, 105, 50, .12), transparent 36%), linear-gradient(90deg, rgba(120, 82, 36, .2), transparent 7%, transparent 93%, rgba(120, 82, 36, .2)); }
.club-scroll__title { margin: 0 0 8px; color: #7A1F14; }
.club-scroll__title::after { content: "❧"; display: block; margin-top: 6px; font-size: 26px; line-height: 1; color: #8C6A1C; }
.club-scroll__text { max-width: 60ch; margin: 0 auto; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: inherit; }
.club-scroll__text h3 { margin: 26px 0 8px; font-family: var(--serif); font-size: 21px; color: #7A1F14; }
.club-scroll__text p { margin: 0 0 12px; color: inherit; }
.club-scroll__note { margin: 18px 0 0; color: #5A4326; }
.club-scroll__note a { color: #7A1F14; }

/* Сертификаты: цветные блоки со знаками. */
.gift-step--flower { background: #FDEEE8; border-color: #F6D7CB; }
.gift-step--leaf { background: var(--leaf); border-color: var(--leaf-line); }
.gift-step--star { background: #FFF7DA; border-color: #F1E6BD; }
.gift-step__ic { display: block; width: 56px; height: 56px; }
.gift-step__ic .key-card__motif { position: static; display: block; width: 100%; height: 100%; }

/* ── Акции (Д-66) ── */
/* «Цены» в меню — выпадающий список: цены и акции. */
.nav-drop { position: relative; }
.navbar .nav-drop__panel { position: absolute; left: -18px; top: calc(100% + 6px); z-index: 41; min-width: 190px; display: grid; padding: 8px 0; background: #fff; border-radius: 16px; box-shadow: 0 24px 48px rgba(42,37,34,.14); }
.navbar .nav-drop__panel[hidden] { display: none; }
.navbar .nav-drop__panel a:not(.btn) { height: auto; min-height: var(--tap); padding: 0 20px; color: var(--ink); }
.navbar .nav-drop__panel a:not(.btn):hover { color: var(--green); background: var(--cream); }
.nav-drop .nav-svc[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Плитки: та же карточка, что у аппаратов, плюс плашка, цены и срок. */
.promo-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promo-tile__pic { position: relative; }
.promo-tile__stub { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 200px; }
.promo-tile__stub .key-card__motif { position: static; width: 46%; height: auto; }
.promo-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 12px; border-radius: 999px; background: var(--sun-core); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.2; }
.promo-tile__badge { position: absolute; left: 14px; top: 14px; box-shadow: 0 6px 16px rgba(42,37,34,.18); }
.promo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.promo-price b { font-family: var(--serif); font-size: 24px; color: var(--green); }
.promo-price s { font-size: 15px; color: var(--muted); }
.promo-period { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.promo-empty { padding: 32px 24px; border-radius: 24px; background: var(--cream); text-align: center; }
.promo-empty .h3 { margin-bottom: 8px; }
.promo-empty--pic { display: grid; gap: 22px; justify-items: center; padding: 8px 0 0; background: none; border-radius: 0; }
.promo-empty--pic .h2 { margin: 0; }
.promo-empty__title { font-size: 19px; line-height: 1.3; }
.promo-empty--pic .promo-empty__text { max-width: 100%; }
.promo-empty__pic { display: block; width: auto; height: auto; max-width: min(100%, 720px); max-height: min(60vh, 480px); border-radius: 20px; }
.promo-empty__text { max-width: 60ch; }

/* Страница акции. */
.promo-hero { display: grid; gap: 22px; align-items: center; padding-bottom: 12px; }
.promo-hero__text { display: grid; gap: 14px; }
.promo-hero__pic { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3; background: rgba(255,255,255,.6); max-width: 100%; }
.promo-hero__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .promo-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.promo-hero .promo-price b { font-size: 30px; }
.promo-ended { margin: 0; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.promo-about { display: grid; gap: 24px; }
@media (min-width: 900px) { .promo-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.promo-cond { padding: 22px 24px; border-radius: 24px; background: var(--cream); }
.promo-cond ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.promo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .promo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.promo-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* Пометка на странице услуги: «Идёт акция» со ссылкой на акцию. */
.promo-flag { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; width: fit-content; max-width: 100%; padding: 8px 14px 8px 8px; border-radius: 20px; background: #fff; border: 1px solid var(--sun); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.35; }
.promo-flag:hover { border-color: var(--green); }
.promo-flag__tag { padding: 4px 10px; border-radius: 999px; background: var(--sun-core); font-weight: 700; font-size: 13px; }
.promo-flag svg { color: var(--green); flex: 0 0 auto; }

/* ── «Контакты», карта пути (Д-69): видна сразу целиком, без увеличения. ── */
.route-map { display: block; width: 100%; margin: 0; border-radius: var(--r-card-lg); overflow: hidden; background: #fff; }
/* Чуть ниже своей пропорции: срезано сверху ~30px и снизу ~125px картинки —
   выход из метро вверху и «Всемила» внизу остаются в кадре. */
.route-map img { display: block; width: 100%; height: auto; aspect-ratio: 1139 / 1225; object-fit: cover; object-position: 50% 20%; }

/* ── «Контакты» (Д-69): две карточки одной высоты.
   Кнопки — в подвале каждой карточки (margin-top: auto), поэтому на одной линии. ── */
.ct2 { display: grid; gap: 20px; }
/* 09.11: обе части — без фона, прямо на странице. Высота у них одна, кнопки
   прижаты к низу — поэтому на одной линии. */
.ct2__card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ct2__card .contacts__tel { font-size: 32px; min-height: 0; }
.ct2__list { display: grid; gap: 16px; margin: 0; }
.ct2__list dt { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.ct2__list dd { margin: 0; font-size: 18px; color: var(--ink); line-height: 1.45; }
.ct2__list dd.chips { font-size: 15px; }
.ct2__metro { display: block; font-size: 15px; color: var(--text-2); margin-top: 2px; }
.ct2__foot { display: grid; gap: 10px; margin-top: auto; }
.ct2__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ct2__btns .btn { flex: 1 1 100%; }
@media (min-width: 900px) {
  /* Карта — 560px (две кнопки карт помещаются в строку), текст — остальное. */
  .ct2 { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: stretch; gap: 48px; }

  .ct2__btns { flex-wrap: nowrap; }
  .ct2__btns .btn { flex: 1 1 0; } /* кнопки пары — одной ширины, «Перезвонить мне» не выбивается */
  /* Пункты контактов — равномерно по высоте карточки, без пустоты над кнопками. */
  .ct2__card--info .ct2__list { flex: 1; align-content: space-evenly; }
}

/* «Как нас найти» (Д-68): картинка прежнего размера, шаги крупнее — вровень с ней. */
@media (min-width: 1100px) {
  .route-steps { gap: 30px; }
  .route-steps li { font-size: 18px; line-height: 1.55; }
}

/* Тёмно-зелёные плашки: узор заказчика — «крин» в шахматном порядке (Д-74), прозрачный слой поверх зелёного. */
:root { --green-pattern: url("/assets/img/green-pattern.webp"); }
.cta-band, .dir-card--all, .tile--all, .club-levels li.top, .club-cards > li.top, .club-tiers li.top, .club-step--top { background-image: var(--green-pattern); background-size: 128px 191px; background-position: center top; }

/* Сезонные темы (Д-76, Д-80): снег или листья поверх страницы, клики проходят насквозь. */
.season { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

/* Телефон в шапке (Д-83): нажатие открывает выбор — по телефону, в Telegram, в Max. */
.hdr-call .tel { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.hdr-call .tel:hover { color: var(--green); }
.hdr-call .tel svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hdr-call .tel[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-call__panel { position: absolute; right: -12px; top: calc(100% + 6px); z-index: 45; display: grid; min-width: 290px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 24px 48px rgba(42,37,34,.14); }
.hdr-call__panel[hidden] { display: none; }
.hdr-top .hdr-call__panel a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.hdr-top .hdr-call__panel a:hover { background: var(--cream); color: var(--ink); }
.hdr-call__panel a > svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green); }
.hdr-call__panel span { display: grid; gap: 1px; }
.hdr-call__panel b { font-size: 14px; font-weight: 600; }
.hdr-call__panel small { font-size: 12.5px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .hdr-call .tel svg { transition: none; } }

/* Номера телефонов — всегда цвет ссылки, без оформления браузера
   (11.11: в Safari на Mac номер «бледнел» к концу). */
a[href^="tel:"], a[x-apple-data-detectors] { -webkit-text-fill-color: currentColor; -webkit-mask-image: none; mask-image: none; opacity: 1; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }
