/* Beauty Today — общие стили.
   Цвета временные (ТЗ, раздел 4): фирменные HEX от Ольги заменить здесь, в :root. */

:root {
  --c-bg: #FFFFFF;
  --c-beige: #F6F1EA;         /* фон секций */
  --c-beige-deep: #EFE6DA;    /* подложки, заглушки фото */
  --c-text: #3F3C39;
  --c-text-2: #6B665F;        /* вторичный текст */
  --c-dark: #2E2B28;          /* заголовки, подвал */
  --c-accent: #9A3B26;        /* кирпичный: только акценты */
  --c-accent-hover: #7A2C1B;
  --c-line: #E3DBCF;
  --c-border: #CFC6BA;
  --c-placeholder: #8A847D;
  --c-footer-text: #D9D2C8;

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'Manrope', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: 32px;
}

/* Шрифты подключены локально, variable-файлы покрывают 400–600 */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/cormorant-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/cormorant-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-italic-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-italic-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/manrope-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/manrope-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* База */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--f-sans); }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-hover); }
h1, h2, h3 { margin: 0; color: var(--c-dark); font-family: var(--f-serif); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bg-beige { background: var(--c-beige); }

/* Кнопки-пилюли */
.btn { display: inline-block; padding: 16px 32px; border-radius: 999px; text-decoration: none; font-weight: 600; line-height: 1.5; transition: background-color .2s, border-color .2s; }
.btn--sm { padding: 12px 24px; font-size: 14px; }
.btn--accent { background: var(--c-accent); color: #FFFFFF; }
.btn--accent:hover { background: var(--c-accent-hover); color: #FFFFFF; }
.btn--ghost { border: 1px solid var(--c-border); color: var(--c-dark); font-weight: 500; }
.btn--ghost:hover { border-color: var(--c-dark); color: var(--c-dark); }

/* Заглушки под фото (фото пришлёт Ольга) */
.ph { background: var(--c-beige-deep); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 13px; color: var(--c-placeholder); }

/* Шапка */
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: block; line-height: 0; text-decoration: none; }
.logo img { display: block; width: 240px; height: auto; }
.logo:hover { color: var(--c-dark); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.nav a, .header__phone { color: var(--c-text); text-decoration: none; }
.nav a:hover, .header__phone:hover { color: var(--c-accent); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 14px; }

/* Первый экран */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-weight: 400; font-size: 64px; line-height: 1.05; }
.hero h1 em { color: var(--c-accent); }
.hero__kicker { display: block; margin-bottom: 20px; font-family: var(--f-sans); font-size: 13px; line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-text-2); }
.hero__lead { margin: 28px 0 0; font-size: 18px; line-height: 1.6; max-width: 480px; }
.hero__buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__photo { flex: 1 1 440px; min-width: 0; height: 560px; border-radius: 280px 280px 24px 24px; align-items: flex-end; padding-bottom: 32px; }

.img-cover { display: block; width: 100%; padding: 0; object-fit: cover; background: var(--c-beige-deep); }

/* Отзывы: тёмная полоса с официальными бейджами рейтинга Яндекса */
.reviews { background: var(--c-dark); color: var(--c-footer-text); padding: 104px 0; }
.reviews .h2 { color: #FFFFFF; max-width: 960px; }
.reviews .eyebrow { color: #D9A089; }
.reviews__lead { margin: 20px 0 0; font-size: 18px; line-height: 1.6; max-width: 620px; }
.reviews__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.review-card { background: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.review-card__addr { font-weight: 600; color: var(--c-dark); }
.review-card a { font-size: 14px; }
/* Рейтинг Яндекс Карт (цифры обновляются вручную — см. комментарий в index.html) */
.ya-rating { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; text-decoration: none; color: var(--c-dark); }
.ya-rating__stars { color: #F5B300; letter-spacing: 1px; font-size: 15px; }
.ya-rating__value { font-family: var(--f-serif); font-size: 28px; line-height: 1; }
.ya-rating__count { grid-column: 1 / -1; margin-top: 4px; font-size: 13px; color: var(--c-text-2); text-decoration: underline; text-underline-offset: 3px; }
.ya-rating:hover .ya-rating__count { color: var(--c-accent); }
.studio-card .ya-rating { margin-top: 14px; }

/* Цифры */
.facts { padding: 72px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.fact__num { font-family: var(--f-serif); font-size: 48px; color: var(--c-accent); }
.fact__title { font-weight: 600; margin-top: 4px; }
.fact__note { font-size: 14px; color: var(--c-text-2); margin-top: 8px; line-height: 1.5; }

/* Наш стандарт */
.standard { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 112px; padding-bottom: 112px; }
.standard__photo { flex: 1 1 420px; min-width: 0; height: 480px; border-radius: 24px; }
.standard__text { flex: 1 1 460px; min-width: 0; }
.eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-accent); }
.h2 { font-weight: 400; font-size: 48px; line-height: 1.1; }
.standard__list { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.standard__list li { display: flex; gap: 16px; line-height: 1.6; }
.standard__list li::before { content: '—'; color: var(--c-accent); }
.standard__list strong { color: var(--c-dark); }

/* Услуги */
.services { padding: 104px 0; }
.services .h2 { margin-bottom: 48px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
@media (min-width: 900px) { #services .services__grid { grid-template-columns: repeat(3, 1fr); } }  /* 9 услуг — ровно 3 × 3 */
@media (min-width: 640px) and (max-width: 899px) { #services .services__grid { grid-template-columns: repeat(2, 1fr); } }
.combos .card { background: var(--c-beige); }
@media (min-width: 900px) { .combos { grid-template-columns: repeat(3, 1fr); } }
.combo__hands { margin: 0 0 10px !important; font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent) !important; font-weight: 600; }
.card { background: #FFFFFF; border-radius: 20px; padding: 32px; }
.card h3 { font-weight: 500; font-size: 28px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--c-accent); }
.card { position: relative; transition: box-shadow .2s; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* вся карточка кликабельна */
.card:hover { box-shadow: 0 6px 24px rgba(46, 43, 40, .08); }
.card h3 a::before { content: "→"; float: right; font-family: var(--f-sans); font-size: 18px; color: var(--c-accent); margin-top: 6px; }
.card p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--c-text-2); }

/* Плашка абонементов */
.promo { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: #FFFFFF; border-radius: 20px; padding: 32px 40px; }
.promo__title { font-family: var(--f-serif); font-size: 30px; color: var(--c-dark); }
.promo__text { font-size: 15px; color: var(--c-text-2); margin-top: 6px; }

/* Студии */
.studios { padding-top: 104px; padding-bottom: 104px; }
.studios .h2 { margin-bottom: 40px; line-height: normal; }
.studios__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--c-line); }
.studios__list li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--c-line); }
.studio__addr { font-weight: 600; color: var(--c-dark); font-style: normal; }
.studio__note { font-size: 14px; color: var(--c-text-2); margin-top: 6px; }
.studios__map { display: block; width: 100%; margin-top: 40px; height: 360px; border: 0; border-radius: 24px; background: var(--c-beige-deep); }
.studio__map { display: inline-block; margin-top: 10px; font-size: 13px; }

/* Подвал */
.footer { background: var(--c-dark); color: var(--c-footer-text); padding: 64px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__logo img { display: block; width: 220px; height: auto; }
.footer__hours { margin-top: 20px; font-size: 14px; }
.footer__phone { display: block; margin-top: 8px; font-size: 20px; color: #FFFFFF; text-decoration: none; }
.footer__phone:hover { color: #FFFFFF; text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; align-content: flex-start; }
.footer__nav a { color: var(--c-footer-text); text-decoration: none; }
.footer__nav a:hover { color: #FFFFFF; }

/* ── Внутренние страницы ─────────────────────────────────── */
.page-hero { padding-top: 40px; padding-bottom: 56px; }
.crumbs { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--c-text-2); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--c-border); }
.crumbs a { color: var(--c-text-2); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); }
.page-hero h1 { font-weight: 400; font-size: 56px; line-height: 1.08; max-width: 900px; }
.page-hero h1 em { color: var(--c-accent); }
.page-hero__lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; max-width: 680px; }
.page-hero .hero__buttons { margin-top: 32px; }

.section { padding-top: 72px; padding-bottom: 72px; }
.section--beige { background: var(--c-beige); }
.section .h2 { margin-bottom: 32px; }
.h3 { font-weight: 500; font-size: 30px; line-height: 1.2; }

/* Текст статьи */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-weight: 400; font-size: 36px; line-height: 1.15; margin-top: 48px; }
.prose h3 { font-weight: 500; font-size: 26px; line-height: 1.2; margin-top: 36px; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: 8px; }
.prose ul > li::before { content: '—'; position: absolute; left: 0; color: var(--c-accent); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; font-family: var(--f-serif); font-size: 21px; line-height: 1.4; color: var(--c-accent); }
.prose strong { color: var(--c-dark); }
.prose--small { font-size: 15px; }
.prose--small h2 { font-size: 30px; }
.prose--small h3 { font-size: 22px; }

/* Фото + текст */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--top { align-items: flex-start; }
.photo { display: block; width: 100%; height: auto; border-radius: 24px; object-fit: cover; background: var(--c-beige-deep); }
.photo--arch { border-radius: 280px 280px 24px 24px; aspect-ratio: 4 / 5; }
.photo--tall { aspect-ratio: 4 / 5; }
video.photo { object-fit: cover; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.photos .photo { aspect-ratio: 3 / 4; border-radius: 20px; }
@media (min-width: 761px) { .photos--4 { grid-template-columns: repeat(4, 1fr); } }
.more-photos { margin-top: 24px; }
.photos a.lb { display: block; cursor: zoom-in; border-radius: 20px; }
.photos a.lb:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* Просмотр фото на весь экран */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 26, 24, .94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #D9D2C8; font-size: 14px; padding: 0 16px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #FFFFFF; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) { .lightbox { padding: 64px 8px 48px; } .lightbox__nav { display: none; } }
.more-photos > summary { list-style: none; cursor: pointer; }
.more-photos > summary::-webkit-details-marker { display: none; }
.more-photos[open] > summary { display: none; }

/* Плашка-заметка */
.note { background: var(--c-beige); border-radius: 20px; padding: 24px 28px; font-size: 15px; line-height: 1.6; }
.note strong { color: var(--c-dark); }
.note--accent { border-left: 3px solid var(--c-accent); }

/* Навигация по разделам страницы */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--c-border); color: var(--c-dark); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Прайс-листы: текстовые таблицы из src/prices/*.txt */
.price-lead { margin: -12px 0 20px; color: var(--c-text-2); }
.studio-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.studio-tabs > label { display: inline-block; margin: 0 8px 10px 0; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--c-border); background: #FFFFFF; color: var(--c-dark); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.studio-tabs > label:hover { border-color: var(--c-accent); }
.studio-tabs > input:checked + label { background: var(--c-accent); border-color: var(--c-accent); color: #FFFFFF; }
.studio-tabs > input:focus-visible + label { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tab-panel { display: none; margin-top: 24px; }
#tab-center:checked ~ #panel-center, #tab-msk:checked ~ #panel-msk, #tab-eng:checked ~ #panel-eng { display: block; }
.tab-panel__where { margin: 0 0 8px; font-size: 14px; color: var(--c-text-2); }

.price-block { margin-top: 56px; max-width: 880px; }
.price-title { font-weight: 400; font-size: 36px; line-height: 1.15; padding-bottom: 14px; border-bottom: 1px solid var(--c-dark); }
.price-sub { margin: 32px 0 0; font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-dark); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table thead th { padding: 12px 0 6px; font-size: 13px; font-weight: 400; color: var(--c-text-2); text-align: right; white-space: nowrap; }
.price-table tbody th { padding: 14px 24px 14px 0; text-align: left; font-weight: 400; color: var(--c-dark); line-height: 1.45; vertical-align: top; }
.price-table td { padding: 14px 0; text-align: right; white-space: nowrap; vertical-align: top; font-variant-numeric: tabular-nums; color: var(--c-dark); }
.price-table tbody tr { border-bottom: 1px solid var(--c-line); }
.price-table th.price-indent { padding-left: 20px; }
.price-desc { display: block; margin-top: 4px; font-size: 14px; color: var(--c-text-2); }
.price-group-row th { padding-top: 22px !important; font-weight: 600 !important; }
.price-note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--c-text-2); }

/* Блок «Наши мастера» */
.masters { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.masters > .prose { flex: 1 1 480px; }
.masters__levels { flex: 1 1 320px; margin: 0; padding: 0; list-style: none; counter-reset: lv; display: grid; gap: 12px; }
.masters__levels li { counter-increment: lv; display: grid; grid-template-columns: 48px 1fr; align-items: center; column-gap: 16px; padding: 18px 22px; border-radius: 20px; background: var(--c-beige); }
.masters__levels li::before { content: counter(lv); grid-row: span 2; font-family: var(--f-serif); font-size: 40px; line-height: 1; color: var(--c-accent); }
.masters__levels strong { color: var(--c-dark); font-size: 18px; }
.masters__levels span { font-size: 14px; color: var(--c-text-2); }

/* Карточки контактов */
.studio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.studio-card { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 20px; padding: 28px; }
.studio-card h2 { font-family: var(--f-sans); font-weight: 600; font-size: 18px; color: var(--c-dark); }
.studio-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--c-text-2); }

/* Форма */
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--c-text-2); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea { font: inherit; font-size: 16px; color: var(--c-text); padding: 14px 18px; border: 1px solid var(--c-border); border-radius: 14px; background: #FFFFFF; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.form .check input { margin-top: 4px; accent-color: var(--c-accent); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }

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

/* Страница 404 */
.notfound { padding-top: 80px; padding-bottom: 120px; }

@media (max-width: 760px) {
  .page-hero { padding-top: 16px; padding-bottom: 40px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero__lead { font-size: 17px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .split { gap: 32px; }
  .split > * { flex-basis: 100%; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 30px; }
  .studio-tabs > label { display: block; margin-right: 0; text-align: center; }
  .photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photos .photo { border-radius: 14px; }
  .page-hero .photo--arch { max-height: 380px; border-radius: 190px 190px 20px 20px; }
  .price-block { margin-top: 44px; }
  .price-title { font-size: 30px; }
  .price-table tbody th { padding-right: 12px; font-size: 15px; }
  .price-table td { font-size: 15px; white-space: normal; min-width: 96px; }
}

/* Онлайн-запись: на компьютере — круглая кнопка в правом нижнем углу на всех страницах (как было на Tilda),
   на телефоне — широкая кнопка внизу экрана */
.sticky-cta {
  position: fixed; right: 32px; bottom: 32px; z-index: 50;
  width: 112px; height: 112px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 13px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(46, 43, 40, .3);
}
.sticky-cta::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--c-accent); opacity: 0;
  animation: cta-wave 2.4s ease-out infinite;
}
.sticky-cta__m { display: none; }

/* Кнопка звонка слева внизу (как на Tilda) */
:root { --c-call: #2F7A4F; }
.call-fab { position: fixed; left: 32px; bottom: 32px; z-index: 50; }
.call-fab__btn { width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--c-call); color: #FFFFFF; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(46, 43, 40, .3); transition: transform .2s; }
.call-fab__btn:hover { transform: scale(1.06); }
.call-fab__btn:focus-visible { outline: 2px solid var(--c-call); outline-offset: 3px; }
.call-fab__pop { position: absolute; left: 0; bottom: 80px; width: 280px; padding: 24px; border-radius: 20px; background: #FFFFFF;
  box-shadow: 0 16px 48px rgba(46, 43, 40, .22); }
.call-fab__title { font-family: var(--f-serif); font-size: 24px; color: var(--c-dark); }
.call-fab__phone { display: block; margin-top: 8px; font-size: 22px; font-weight: 600; color: var(--c-dark); text-decoration: none; }
.call-fab__note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--c-text-2); }
.call-fab__go { display: block; margin-top: 16px; text-align: center; }
@keyframes cta-wave { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta::before { animation: none; } }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .header { padding-top: 16px; padding-bottom: 16px; }
  .logo img { width: 190px; }
  .nav { gap: 8px 20px; order: 3; width: 100%; }
  .header__actions .btn { display: none; }  /* дублирует закреплённую кнопку */
  .hero { gap: 40px; padding-top: 24px; padding-bottom: 64px; }
  .hero__text, .hero__photo, .standard__photo, .standard__text { flex-basis: 100%; }
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 17px; }
  .hero__photo { height: 420px; }
  .facts { padding: 56px 0; }
  .facts__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .standard { gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .standard__photo { height: 320px; }
  .h2 { font-size: 36px; }
  .services, .studios, .reviews { padding-top: 72px; padding-bottom: 72px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 12px; }
  .review-card { padding: 18px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
  .review-card__addr { width: 100%; }
  .services .h2 { margin-bottom: 32px; }
  .promo { padding: 28px 24px; }
  .studios__map { height: 280px; }
  .footer { padding-bottom: 112px; }  /* место под закреплённую кнопку */

  .sticky-cta { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; height: auto; padding: 16px 32px; border-radius: 999px;
    font-size: 16px; letter-spacing: 0; text-transform: none; box-shadow: 0 8px 24px rgba(46, 43, 40, .25); }
  .sticky-cta::before { display: none; }
  .sticky-cta__d { display: none; }
  .sticky-cta__m { display: inline; }
  .sticky-cta { left: 84px; }
  .call-fab { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .call-fab__btn { width: 56px; height: 56px; }
  .call-fab__pop { bottom: 68px; width: calc(100vw - 32px); }
}
