/* Собрано автоматически из css/index.css: не редактируйте этот файл.
   Правьте блоки в css/blocks и css/base, затем запустите tools/build-css.py */
/* Шрифты */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx58hLxR.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExd8hLxR.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx18hLxR.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExN8hA.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx58hLxR.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExd8hLxR.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx18hLxR.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExN8hA.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx58hLxR.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExd8hLxR.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx18hLxR.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExN8hA.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx58hLxR.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExd8hLxR.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcEx18hLxR.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/golostext-q5uCsoe9Lv5t7Meb31EcExN8hA.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;
}
/* cyrillic */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marckscript-nwpTtK2oNgBA3Or78gapdwuyzCg_WMM.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marckscript-nwpTtK2oNgBA3Or78gapdwuyxig_WMM.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marckscript-nwpTtK2oNgBA3Or78gapdwuyyCg_.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-6xKhdSpbNNCT-sWCCm7JLQ.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-6xKhdSpbNNCT-sWLCm7JLQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-6xKhdSpbNNCT-sWACm7JLQ.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-6xKhdSpbNNCT-sWPCm4.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;
}


/* База */
:root {
  --ink: #3A2430; --muted: #6B5560; --soft: #A38D97;
  --brand: #A63A64; --brand-dark: #7E2449; --cream: #FBF7F2;
  --pink-bg: #FDF4F8; --pink-line: #F3D7E3; --pink-line-soft: #F6E4EC;
  --pink-chip: #FBEFF5; --lilac-chip: #F3E7F6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: #FFFFFF; color: var(--ink); font-family: 'Golos Text', sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }

.serif { font-family: Prata, serif; font-weight: 400; }
h2 { font-family: Prata, serif; font-size: 38px; font-weight: 400; margin: 0 0 12px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 14px; }

.container { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }


/* Блоки */
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.btn--primary { background: var(--brand); color: var(--cream); }
.btn--primary:hover { background: var(--brand-dark); color: var(--cream); }
.btn--outline { border: 1.5px solid var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: var(--cream); }

/* Заголовок секции по центру */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head__sub { color: var(--brand); margin: 0; font-size: 15px; font-weight: 600; }

/* Слайдер: отзывы, цены */
.slider { position: relative; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.slider__arrow:hover { background: var(--brand); color: #FFF5FA; }
.slider__arrow--prev { left: 0; } .slider__arrow--next { right: 0; }
.slider__arrow[disabled] { opacity: 0.35; cursor: default; }
.slider__arrow[disabled]:hover { background: transparent; color: var(--brand); }

/* Дорожка слайдера */
.slider__track { display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex-shrink: 0; scroll-snap-align: start; }

/* Заглушка под фото */
.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, #FBEFF5, #FBEFF5 12px, #F7E6EE 12px, #F7E6EE 24px); color: #B98BA1; font-size: 14px; font-weight: 500; border: 1px dashed #E5BFD0; border-radius: inherit; width: 100%; height: 100%; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--pink-line); }
.site-header__inner { padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__badge { width: 96px; height: 96px; flex-shrink: 0; }
/* логотип квадратный — показываем целиком, без кадрирования */
.logo__badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo__name { font-family: Prata, serif; font-size: 24px; color: var(--ink); line-height: 1.1; display: block; }
.logo__sub { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); display: block; }
.site-header__cta { padding: 10px 20px; font-size: 14px; }

.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }

/* Кнопка-бургер: появляется вместе с мобильным меню на 1030px */
.burger { display: none; width: 46px; height: 46px; padding: 0; border: none; border-radius: 50%; background: transparent; cursor: pointer; position: relative; flex-shrink: 0; transition: background 0.25s; }
.burger:hover { background: var(--pink-chip); }
.burger__line { position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px; border-radius: 2px; background: var(--brand); transition: transform 0.3s, opacity 0.2s; }
.burger__line:nth-child(1) { top: 16px; }
.burger__line:nth-child(2) { top: 22px; }
.burger__line:nth-child(3) { top: 28px; }
.burger--active .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger--active .burger__line:nth-child(2) { opacity: 0; }
.burger--active .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Выпадающее меню под шапкой */
.menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 40; display: none; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--pink-line); box-shadow: 0 18px 40px rgba(126,36,73,0.12); max-height: calc(100dvh - 100%); overflow-y: auto; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity 0.25s ease, transform 0.25s ease; }
.menu--opened { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.menu__list { list-style: none; margin: 0; padding: 8px 0 16px; display: flex; flex-direction: column; }
.menu__item { border-top: 1px solid var(--pink-line-soft); }
.menu__item:first-child { border-top: none; }
.menu__link { display: block; padding: 15px 24px; font-size: 16px; font-weight: 500; color: var(--ink); transition: background 0.2s, color 0.2s, padding-left 0.2s; }
.menu__link:hover { background: var(--pink-bg); color: var(--brand); padding-left: 30px; }
.menu__item:last-child .menu__link { color: var(--brand); font-weight: 600; }

/* «Лесенка»: пункты проявляются по очереди сверху вниз */
.menu__item { opacity: 0; transform: translateY(-12px); transition: opacity 0.3s ease, transform 0.3s ease; }
.menu--opened .menu__item { opacity: 1; transform: translateY(0); }
.menu--opened .menu__item:nth-child(1) { transition-delay: 0.06s; }
.menu--opened .menu__item:nth-child(2) { transition-delay: 0.11s; }
.menu--opened .menu__item:nth-child(3) { transition-delay: 0.16s; }
.menu--opened .menu__item:nth-child(4) { transition-delay: 0.21s; }
.menu--opened .menu__item:nth-child(5) { transition-delay: 0.26s; }
.menu--opened .menu__item:nth-child(6) { transition-delay: 0.31s; }
.menu--opened .menu__item:nth-child(7) { transition-delay: 0.36s; }
.menu--opened .menu__item:nth-child(8) { transition-delay: 0.41s; }

@media (max-width: 1030px) {
  .site-nav { display: none; }
  .burger { display: block; }
  .menu { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .menu, .menu__item, .burger__line { transition-duration: 0.01ms; transition-delay: 0s; }
}

.hero { position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,36,48,0.55) 0%, rgba(58,36,48,0.35) 45%, rgba(58,36,48,0.55) 100%); pointer-events: none; }
.hero__content { position: relative; text-align: center; padding: 110px 24px; max-width: 820px; }
.hero__script { font-family: 'Marck Script', cursive; font-size: clamp(56px, 8vw, 92px); line-height: 1.05; color: #FFF5FA; text-shadow: 0 4px 24px rgba(58,36,48,0.5); }
.hero__title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #FFF; line-height: 1.35; margin: 14px 0 12px; text-shadow: 0 2px 16px rgba(58,36,48,0.55); }
.hero__sub { font-size: 16px; color: #F8D9E6; margin-bottom: 36px; text-shadow: 0 2px 12px rgba(58,36,48,0.55); }
.hero__actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero__cta { padding: 18px 40px; font-size: 17px; box-shadow: 0 12px 30px rgba(58,36,48,0.4); }
.hero__phone { font-size: 16px; font-weight: 600; color: #FFF5FA; border-bottom: 2px solid rgba(255,245,250,0.5); padding-bottom: 2px; text-shadow: 0 2px 12px rgba(58,36,48,0.55); }
.hero__phone:hover { color: #FFF; }

.marquee { background: #FFF; border-top: 1px solid var(--pink-line-soft); border-bottom: 1px solid var(--pink-line-soft); padding: 22px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marqueeMove 45s linear infinite; will-change: transform; }
.marquee__row { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__word { font-family: Prata, serif; font-size: 22px; color: var(--brand); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.marquee__note { font-family: Prata, serif; font-size: 22px; color: #C9789A; white-space: nowrap; }
.marquee__star { flex-shrink: 0; }

.about { background: linear-gradient(120deg, #FDECF3 0%, #FDF6F9 45%, #EFF3FB 100%); position: relative; overflow: hidden; }
.about__inner { padding-top: 88px; padding-bottom: 96px; }
.about__title-wrap { text-align: center; margin-bottom: 64px; }
.about__title { display: inline-block; margin: 0; background: var(--brand); color: #FFF5FA; font-family: Prata, serif; font-size: 30px; padding: 14px 44px; border-radius: 4px; box-shadow: 0 10px 26px rgba(166,58,100,0.25); }
.about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 56px 40px; }
.about__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.about__card h3 { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; margin: 0; font-family: 'Golos Text', sans-serif; }
.about__card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 340px; text-wrap: pretty; margin: 0; }

.coach { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: center; position: relative; padding-top: 90px; padding-bottom: 90px; }
.coach__swash { position: absolute; top: 30px; left: -60px; pointer-events: none; z-index: 0; }
.coach__visual { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 24px; }
.regalia { display: flex; flex-direction: column; gap: 22px; width: 200px; flex-shrink: 0; }
.regalia__item { display: flex; align-items: flex-start; gap: 12px; }
.regalia__icon { flex-shrink: 0; margin-top: 1px; }
.regalia__title { font-family: Prata, serif; font-size: 16px; line-height: 1.3; }
.regalia__sub { font-size: 12.5px; color: var(--soft); }
.coach__polaroid-wrap { position: relative; flex: 1; max-width: 340px; min-width: 220px; }
.coach__polaroid { background: #FFF; padding: 14px 14px 52px; box-shadow: 0 24px 55px rgba(126,36,73,0.18); transform: rotate(-2.5deg); border-radius: 4px; }
.coach__photo { height: 400px; border-radius: 2px; overflow: hidden; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; }
.coach__signature { text-align: center; font-family: 'Marck Script', cursive; font-size: 24px; color: var(--brand); margin-top: 14px; line-height: 1; }
.coach__sticker { position: absolute; top: -20px; right: -18px; transform: rotate(8deg); background: var(--brand); color: #FFF5FA; border-radius: 999px; padding: 12px 20px; box-shadow: 0 12px 26px rgba(126,36,73,0.3); font-size: 13px; font-weight: 600; }
.coach__text { position: relative; z-index: 1; }
.coach__role { font-size: 15px; font-weight: 600; color: var(--brand); margin: 0 0 18px; }
.coach__text p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 14px; text-wrap: pretty; }
.coach__text p:last-child { margin-bottom: 0; }

.schedule { background: var(--pink-bg); position: relative; overflow: hidden; }
.schedule__inner { padding-top: 80px; padding-bottom: 80px; position: relative; }
.hall { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.hall + .week { margin-bottom: 0; }
.week + .hall { margin-top: 36px; }
.hall__num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.hall__name { font-family: Prata, serif; font-size: 20px; }
.week { background: #FFF; border: 1px solid var(--pink-line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 44px rgba(126,36,73,0.07); }
/* видимая розовая полоса прокрутки: подсказывает, что расписание тянется вбок */
.week__scroll { scrollbar-width: thin; scrollbar-color: var(--brand) var(--pink-chip); }
.week__scroll::-webkit-scrollbar { height: 8px; }
.week__scroll::-webkit-scrollbar-track { background: var(--pink-chip); border-top: 1px solid var(--pink-line); }
.week__scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 999px; border: 2px solid var(--pink-chip); }
.week__days, .week__body { display: grid; grid-template-columns: repeat(6, 1fr); }
.week__days { border-bottom: 1px solid var(--pink-line); }
.week__day { padding: 16px 8px; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #C9A2B3; }
.week__day + .week__day { border-left: 1px solid var(--pink-line-soft); }
.week__day--active { color: var(--brand); background: #F8E3ED; }
.week__col { padding: 18px 12px; display: grid; gap: 10px; align-content: start; }
.week__col + .week__col { border-left: 1px solid var(--pink-line-soft); }
.week__col--empty { display: flex; align-items: center; justify-content: center; color: #D9C2CD; font-size: 13px; }
.lesson { border-radius: 14px; padding: 14px 12px; text-align: center; }
.lesson__time { font-family: Prata, serif; font-size: 19px; }
.lesson__group { font-size: 13px; font-weight: 600; margin-top: 3px; }
.lesson--junior { background: var(--pink-chip); } .lesson--junior .lesson__time { color: var(--brand); }
.lesson--senior { background: var(--lilac-chip); } .lesson--senior .lesson__time { color: #7E4A8E; }
/* легенда вынесена из прокрутки и подкрашена — раньше она уезжала вбок вместе с таблицей */
.week__legend { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 14px 22px; border-top: 1px solid var(--pink-line); background: var(--pink-bg); }
.legend__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.legend__dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend__dot--junior { background: var(--pink-chip); border: 1px solid #EBCBDA; }
.legend__dot--senior { background: var(--lilac-chip); border: 1px solid #DCC5E2; }
.schedule-soon { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; background: #FFF; border: 1px dashed #E9C8D6; border-radius: 18px; padding: 20px 26px; }
.schedule-soon__left { display: flex; align-items: center; gap: 14px; }
.schedule-soon__badge { background: #FBEBD9; color: #9A6420; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.schedule-soon__text { font-size: 14.5px; color: var(--muted); }
.schedule-soon__text strong { color: #33222C; }
.schedule-soon .btn { padding: 11px 22px; font-size: 14px; white-space: nowrap; }

.prices { padding-top: 80px; padding-bottom: 80px; }
.prices__head { text-align: center; margin-bottom: 52px; }
.prices__sub { color: var(--brand); margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.prices__note { color: var(--soft); margin: 0; font-size: 13.5px; }
.prices__slider { padding: 0 92px; }
.prices__track { gap: 22px; padding: 4px 4px 24px; }
.price { background: #FFF; border: 1px solid var(--pink-line); border-radius: 22px; padding: 32px 26px; display: flex; flex-direction: column; gap: 18px; text-align: center; min-width: 280px; width: 280px; }
.price--featured { background: linear-gradient(180deg, var(--pink-bg) 0%, #FFF 60%); }
.price__value { font-family: Prata, serif; font-size: 40px; color: var(--brand); }
.price__unit { font-size: 14px; color: var(--soft); }
.price__name { font-size: 15px; font-weight: 600; margin-top: 6px; }
.price .btn { padding: 12px 20px; font-size: 14px; }
.price__list { margin: 0; padding: 0 0 0 18px; text-align: left; font-size: 13.5px; line-height: 1.6; color: var(--muted); display: grid; gap: 8px; }

.gallery { background: var(--pink-bg); position: relative; overflow: hidden; }
.gallery__inner { padding-top: 80px; padding-bottom: 80px; }
.gallery h2, .gallery__lead { text-align: center; }
.gallery__lead { color: var(--muted); margin: 0 0 36px; font-size: 16px; }
.gallery__stage-wrap { position: relative; max-width: 920px; margin: 0 auto; }
.gallery__stage { position: relative; height: 500px; z-index: 1; }
.gallery__slide { position: absolute; inset: 20px 70px; background: #FFF; padding: 10px; border-radius: 10px; box-shadow: 0 24px 50px rgba(126,36,73,0.22); opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.gallery__slide--active { opacity: 1; pointer-events: auto; }
.gallery__slide .placeholder { height: 100%; border-radius: 6px; }
.gallery__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(126,36,73,0.55); color: #FFF5FA; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery__arrow:hover { background: var(--brand-dark); }
.gallery__arrow--prev { left: -8px; } .gallery__arrow--next { right: -8px; }
.gallery__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; position: relative; z-index: 1; }
.gallery__dot { width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer; padding: 0; background: #E9C3D4; transition: background 0.3s; }
.gallery__dot--active { background: var(--brand); }

.reviews { background: #F9EDF2; }
.reviews__inner { padding-top: 80px; padding-bottom: 80px; }
.reviews__lead { color: var(--muted); margin: 0; font-size: 16px; }
.reviews__head { margin-bottom: 40px; }
.reviews__slider { padding: 0 92px; }
.reviews__track { gap: 24px; padding: 4px 4px 24px; }
.review { background: #FFF; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 28px rgba(166,58,100,0.08); min-width: 320px; width: 320px; }
.review__name { font-weight: 600; font-size: 15px; }
.review__sub { font-size: 12px; color: var(--soft); }
.review__text { font-size: 14px; line-height: 1.6; color: #4A3540; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.review__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 150px; margin-top: auto; }
.review__photos .placeholder { border-radius: 10px; }
.review__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.review__open { background: var(--pink-chip); color: var(--brand); border: none; border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Golos Text', sans-serif; }
.review__open:hover { background: #F4E3EA; }

.modal { position: fixed; inset: 0; background: rgba(58,36,48,0.6); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal--opened { display: flex; }
.modal__window { background: #FFF; border-radius: 24px; max-width: 960px; width: 100%; max-height: 86vh; overflow: auto; padding: 36px; position: relative; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pink-line); background: #FFF; color: var(--brand); font-size: 16px; cursor: pointer; }
.modal__close:hover { background: var(--pink-chip); }
.modal__head { margin-bottom: 18px; }
.modal__name { font-weight: 600; font-size: 17px; }
.modal__sub { font-size: 13px; color: var(--soft); }
.modal__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.modal__text { font-size: 15px; line-height: 1.7; color: #4A3540; margin: 0; text-wrap: pretty; }
.modal__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 340px; }
.modal__photos .placeholder { border-radius: 12px; }
.modal__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }

/* Просмотр фото галереи во весь экран */
.lightbox { position: fixed; inset: 0; z-index: 250; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(58,36,48,0.82); backdrop-filter: blur(4px); }
.lightbox--opened { display: flex; animation: lightboxIn 0.22s ease both; }
.lightbox__frame { position: relative; background: #FFF; padding: 12px; border-radius: 8px; box-shadow: 0 30px 70px rgba(20,10,16,0.55); max-width: min(1100px, 100%); max-height: 100%; }
.lightbox__image { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 4px; cursor: zoom-out; }
.lightbox__caption { margin: 10px 4px 2px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 640px; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: none; background: #FFF; color: var(--brand); font-size: 17px; cursor: pointer; box-shadow: 0 8px 20px rgba(20,10,16,0.35); display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.lightbox__close:hover { background: var(--brand); color: #FFF5FA; }

/* фото в галерее — намёк, что его можно открыть */
.gallery__photo { cursor: zoom-in; }

@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 640px) {
  .lightbox { padding: 10px; }
  .lightbox__frame { padding: 7px; width: 100%; border-radius: 10px; }
  .lightbox__image { width: 100%; max-height: 70vh; object-fit: contain; }
  .lightbox__caption { font-size: 12.5px; margin: 8px 2px 2px; }
  /* крестик внутри рамки — снаружи он упирался в край экрана */
  .lightbox__close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 15px; background: rgba(255,255,255,0.92); box-shadow: 0 4px 14px rgba(20,10,16,0.3); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox--opened { animation: none; }
}

.faq { background: var(--pink-bg); }
.faq__inner { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.faq h2 { text-align: center; margin-bottom: 40px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #FFF; border: 1px solid var(--pink-line); border-radius: 16px; padding: 20px 24px; }
.faq__question { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; list-style: none; cursor: pointer; }
.faq__question::-webkit-details-marker { display: none; }
.faq__plus { color: var(--brand); font-size: 22px; transition: transform 0.2s; line-height: 1; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.signup { padding-top: 80px; padding-bottom: 80px; }
.signup__panel { background: linear-gradient(135deg, #FDF4F8 0%, #F9E7EF 55%, #F4E3EA 100%); border: 1px solid var(--pink-line); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.signup__watermark { position: absolute; right: -50px; bottom: -70px; width: 360px; opacity: 0.1; pointer-events: none; }
.signup__panel h2 { font-size: 36px; margin: 0 0 16px; }
.signup__lead { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; text-wrap: pretty; }
.signup__phone { color: var(--brand); font-weight: 600; font-size: 22px; }
.socials { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: relative; }
.socials__title { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.socials__row { display: flex; flex-wrap: wrap; gap: 12px; }
.socials__pill { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid #DFA8C2; color: var(--brand); padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(255,255,255,0.6); transition: all 0.25s; }
.socials__pill:hover { background: var(--brand); color: #FFF5FA; border-color: var(--brand); }

/* фирменные цвета мессенджеров — только у иконки, подпись остаётся брендовой */
.socials__pill--telegram svg { color: #229ED9; }
/* MAX — официальный знак картинкой; маска даёт ему цвет, как у остальных иконок */
.socials__icon { width: 18px; height: 18px; flex-shrink: 0; background-color: currentColor; }
.socials__icon--max { -webkit-mask: url('../images/icons/max.png') center / contain no-repeat; mask: url('../images/icons/max.png') center / contain no-repeat; }
.socials__pill--max .socials__icon { background-color: #0A7CFF; }
.socials__pill--max:hover .socials__icon { background-color: #FFF5FA; }
.socials__pill:hover svg { color: #FFF5FA; }
.socials__note { font-size: 11px; color: var(--soft); line-height: 1.5; }

.contacts { background: var(--pink-bg); }
.contacts__inner { padding-top: 80px; padding-bottom: 80px; }
.contacts h2 { margin-bottom: 40px; }
.map { background: #FFF; border: 1px solid var(--pink-line); border-radius: 24px; overflow: hidden; }
.map__frame { display: block; border: none; width: 100%; height: 460px; }
.map__credit { padding: 8px 28px; font-size: 11px; color: #C0A9B4; border-top: 1px solid var(--pink-line-soft); }
.map__credit a { color: inherit; }
.map__credit a:hover { color: var(--brand); }
.addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.address { padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--pink-line); }
.address__num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.address__info { display: flex; flex-direction: column; gap: 4px; }
.address__title { font-family: Prata, serif; font-size: 20px; }
.address__sub { font-size: 14px; color: var(--muted); }
.address__link { font-size: 14px; font-weight: 600; }

.site-footer { background: var(--pink-bg); border-top: 1px solid var(--pink-line); color: #8A6E7B; position: relative; overflow: hidden; }
.site-footer__swash { position: absolute; top: -30px; right: -50px; pointer-events: none; }
.site-footer__inner { padding: 64px 24px 40px; position: relative; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__row { display: flex; align-items: center; gap: 14px; }
.footer-brand__badge { width: 88px; height: 88px; flex-shrink: 0; }
.footer-brand__badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand__name { font-family: Prata, serif; font-size: 24px; color: #33222C; display: block; }
.footer-brand__sub { font-size: 12px; display: block; }
.footer-brand__tagline { font-size: 13px; line-height: 1.6; margin: 0; max-width: 260px; }
.site-footer__col-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: #4A3540; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-addr { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-addr__place { color: #33222C; font-weight: 600; }
.footer-addr__when { font-size: 13px; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contacts__phone { color: #33222C; font-weight: 600; font-size: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social__link { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #E9C8D6; color: var(--brand); background: #FFF; display: flex; align-items: center; justify-content: center; }
.footer-social__link:hover { background: var(--brand); color: #FFF5FA; border-color: var(--brand); }
.footer-social__link--telegram svg { color: #229ED9; }
.footer-social__icon { width: 17px; height: 17px; background-color: currentColor; }
.footer-social__icon--max { -webkit-mask: url('../images/icons/max.png') center / contain no-repeat; mask: url('../images/icons/max.png') center / contain no-repeat; }
.footer-social__link--max .footer-social__icon { background-color: #0A7CFF; }
.footer-social__link--max:hover .footer-social__icon { background-color: #FFF5FA; }
.footer-social__link:hover svg { color: #FFF5FA; }
.site-footer__bottom { border-top: 1px solid var(--pink-line); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* Страница с юридическим текстом */
.legal { background: var(--pink-bg); }
.legal__inner { max-width: 820px; padding-top: 56px; padding-bottom: 72px; }
.legal__title { font-family: Prata, serif; font-size: 32px; font-weight: 400; line-height: 1.25; margin: 0 0 10px; }
.legal__date { color: var(--soft); font-size: 13px; margin: 0 0 28px; }
.legal__fill { background: #FFF; border: 1px dashed #E9C8D6; border-radius: 14px; padding: 16px 20px; font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; }
/* Заголовки и списки подписаны и по классу, и по тегу: текст политики правят
   в редакторе WordPress, а он при перенаборе абзаца легко теряет класс */
.legal__heading, .legal__inner h2 { font-family: Prata, serif; font-size: 21px; font-weight: 400; margin: 34px 0 12px; }
.legal p { font-size: 15px; line-height: 1.7; color: #4A3540; margin: 0 0 12px; text-wrap: pretty; }
.legal__list, .legal__inner ul, .legal__inner ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.7; color: #4A3540; }
.legal b { color: #33222C; font-weight: 600; }
.legal__back { margin-top: 36px; font-weight: 600; }

@media (max-width: 640px) {
  .legal__inner { padding-top: 36px; padding-bottom: 48px; }
  .legal__title { font-size: 24px; }
  .legal__heading, .legal__inner h2 { font-size: 18px; margin-top: 28px; }
  .legal p, .legal__list, .legal__inner ul, .legal__inner ol { font-size: 14.5px; }
}

/* Уведомление о cookie и аналитике — в стиле блока записи: розовый градиент и ленточки */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 620px; margin: 0 auto; display: none;
  background: linear-gradient(135deg, #FDF4F8 0%, #F9E7EF 55%, #F4E3EA 100%);
  border: 1px solid var(--pink-line); border-radius: 26px; box-shadow: 0 20px 48px rgba(126,36,73,0.2);
  padding: 22px 26px; overflow: hidden; }
.cookie--shown { display: block; animation: cookieUp 0.4s ease both; }

/* ленточка-завиток в углу */
.cookie__ribbon { position: absolute; right: -26px; top: -18px; width: 260px; opacity: 0.75; pointer-events: none; user-select: none; }

.cookie__body { position: relative; z-index: 1; }
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie__title { font-family: Prata, serif; font-size: 19px; color: var(--ink); }
.cookie__star { flex-shrink: 0; }
.cookie__text { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; max-width: 460px; text-wrap: pretty; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btn { padding: 11px 22px; font-size: 14px; }
.cookie__btn--accept { min-width: 132px; box-shadow: 0 8px 20px rgba(166,58,100,0.22); }
/* отказ — тише основной кнопки, но остаётся заметным */
.cookie__btn--decline { color: var(--muted); border-color: #E4BFD0; background: rgba(255,255,255,0.6); }
.cookie__btn--decline:hover { background: var(--brand); color: #FFF5FA; border-color: var(--brand); }

@keyframes cookieUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px 18px 16px; border-radius: 20px; }
  .cookie__ribbon { width: 190px; right: -30px; top: -14px; opacity: 0.6; }
  .cookie__title { font-size: 17px; }
  .cookie__text { font-size: 13px; margin-bottom: 14px; }
  .cookie__btn { flex: 1 1 auto; justify-content: center; padding: 11px 14px; }
  .cookie__btn--accept { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie--shown { animation: none; }
}


/* Адаптив — всегда последним */
/* Адаптив. Точки: 1100 — узкий десктоп, 900 — планшет, 640 — телефон, 380 — узкий телефон (от 340px) */

/* ---------------------------------------------------- узкий десктоп / планшет-альбом */
@media (max-width: 1100px) {
  h2 { font-size: 32px; }
  .container { padding-left: 20px; padding-right: 20px; }

  .coach { gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .coach__swash { display: none; }
  .coach__visual { gap: 18px; }
  .regalia { width: 180px; }

  .gallery__stage { height: 420px; }
  .reviews__slider, .prices__slider { padding: 0 76px; }
  .signup__panel { padding: 44px 36px; }
}

/* ---------------------------------------------------- планшет */
@media (max-width: 900px) {
  h2 { font-size: 29px; }

  .site-header__inner { gap: 14px; }
  .logo__badge { width: 78px; height: 78px; }
  .logo__name { font-size: 21px; }

  .hero { min-height: 74vh; }
  .hero__content { padding: 84px 20px; }
  .hero__cta { padding: 16px 30px; font-size: 16px; }

  .marquee { padding: 18px 0; }
  .marquee__row { gap: 30px; padding-right: 30px; }
  .marquee__word, .marquee__note { font-size: 18px; }

  .about__inner { padding-top: 64px; padding-bottom: 68px; }
  .about__title { font-size: 25px; padding: 12px 30px; }
  .about__title-wrap { margin-bottom: 44px; }
  .about__grid { gap: 40px 28px; }

  /* тренер: фото и регалии в колонку */
  .coach__visual { flex-direction: column; align-items: center; }
  .regalia { width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .coach__polaroid-wrap { max-width: 320px; width: 100%; }
  .coach__photo { height: 340px; }

  .schedule__inner { padding-top: 60px; padding-bottom: 60px; }
  .hall__name { font-size: 18px; }
  /* таблица уезжает в горизонтальную прокрутку внутри карточки */
  .week__scroll { overflow-x: auto; }
  .week__days, .week__body { grid-template-columns: repeat(6, minmax(118px, 1fr)); }

  .prices { padding-top: 60px; padding-bottom: 60px; }
  .prices__head { margin-bottom: 36px; }

  .gallery__inner, .reviews__inner, .contacts__inner { padding-top: 60px; padding-bottom: 60px; }
  .gallery__stage { height: 360px; }
  .gallery__slide { inset: 12px 46px; }
  .gallery__arrow { width: 44px; height: 44px; font-size: 19px; }

  .reviews__slider, .prices__slider { padding: 0 60px; }
  .slider__arrow { width: 48px; height: 48px; }

  .modal__window { padding: 26px; }
  .modal__photos { height: 240px; }

  .faq__inner { padding: 60px 20px; }
  .signup { padding-top: 60px; padding-bottom: 60px; }
  .signup__panel { padding: 36px 26px; gap: 32px; }
  .signup__panel h2 { font-size: 28px; }
  .signup__watermark { display: none; }

  .map__frame { height: 380px; }

  .site-footer__inner { padding: 48px 20px 32px; }
  .site-footer__grid { gap: 32px; }
  .site-footer__swash { display: none; }
}

/* ---------------------------------------------------- телефон */
@media (max-width: 640px) {
  h2 { font-size: 25px; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* сетки auto-fit с минимумом 280–300px не помещаются в узкий экран — переводим в одну колонку */
  .coach, .signup__panel, .modal__body, .addresses { grid-template-columns: 1fr; }

  .site-header__inner { padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .logo { gap: 9px; }
  .logo__badge { width: 66px; height: 66px; }
  .logo__name { font-size: 17px; }
  .logo__sub { font-size: 8px; letter-spacing: 0.1em; }
  /* на телефоне кнопка записи есть в самом меню — в шапке освобождаем место */
  .site-header__cta { display: none; }

  .hero { min-height: 0; }
  .hero__content { padding: 64px 16px; }
  .hero__sub { font-size: 14.5px; margin-bottom: 26px; }
  .hero__actions { flex-direction: column; gap: 14px; }
  .hero__cta { width: 100%; padding: 15px 20px; }

  .marquee { padding: 14px 0; }
  .marquee__row { gap: 20px; padding-right: 20px; }
  .marquee__word, .marquee__note { font-size: 15px; }

  .about__inner { padding-top: 48px; padding-bottom: 52px; }
  .about__title { font-size: 20px; padding: 11px 20px; }
  .about__title-wrap { margin-bottom: 34px; }
  /* «Почему Астелия» — горизонтальный слайдер со свайпом */
  .about__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; padding: 4px 16px 8px; margin: 0 -16px; }
  .about__grid::-webkit-scrollbar { display: none; }
  .about__card { flex: 0 0 252px; scroll-snap-align: start; justify-content: flex-start; gap: 12px; }
  .about__card p { max-width: none; }
  .about__icon { width: 48px; height: 48px; }

  .coach { padding-top: 44px; padding-bottom: 44px; gap: 32px; }
  .regalia { grid-template-columns: 1fr; gap: 14px; max-width: none; }
  /* фото квадратное 640×640 — на узком экране фиксированная высота срезала лоб */
  .coach__photo { height: auto; aspect-ratio: 1; }
  .coach__photo img { object-position: 50% 22%; }
  .coach__sticker { font-size: 12px; padding: 10px 15px; top: -14px; right: -8px; }
  .coach__text p { font-size: 15px; }

  .schedule__inner { padding-top: 44px; padding-bottom: 44px; }
  .section-head { margin-bottom: 30px; }
  .hall { gap: 9px; margin-bottom: 12px; }
  .hall__num { width: 26px; height: 26px; font-size: 13px; }
  .hall__name { font-size: 16px; }
  .week + .hall { margin-top: 26px; }
  .week { border-radius: 18px; }
  .week__scroll::-webkit-scrollbar { height: 7px; }
  .week__days, .week__body { grid-template-columns: repeat(6, 104px); }
  .week__day { padding: 12px 4px; font-size: 10px; letter-spacing: 0.08em; }
  .week__col { padding: 12px 7px; }
  .lesson { padding: 10px 6px; border-radius: 11px; }
  .lesson__time { font-size: 16px; }
  .lesson__group { font-size: 11.5px; }
  .week__legend { gap: 10px; padding: 12px 14px; }
  .legend__item { font-size: 12px; }

  /* слайдеры: стрелки убираем, листаем пальцем во всю ширину экрана */
  .prices { padding-top: 44px; padding-bottom: 44px; }
  .prices__head { margin-bottom: 26px; }
  .prices__sub { font-size: 14px; }
  .reviews__slider, .prices__slider { padding: 0; }
  .slider__arrow { display: none; }
  .slider__track { scroll-padding-left: 16px; }
  .prices__track, .reviews__track { gap: 14px; padding: 4px 16px 20px; margin: 0 -16px; }
  .price { min-width: 250px; width: 250px; padding: 26px 20px; }
  .price__value { font-size: 34px; }
  .review { min-width: 268px; width: 268px; padding: 20px; }
  .review__photos { height: 118px; }

  .gallery__inner, .reviews__inner, .contacts__inner { padding-top: 44px; padding-bottom: 44px; }
  .gallery__lead, .reviews__lead { font-size: 14.5px; }
  .gallery__stage { height: 260px; }
  .gallery__slide { inset: 8px 34px; padding: 6px; }
  .gallery__arrow { width: 36px; height: 36px; font-size: 17px; }
  .gallery__arrow--prev { left: -4px; } .gallery__arrow--next { right: -4px; }
  .gallery__dots { margin-top: 18px; gap: 8px; }
  .reviews__head { margin-bottom: 26px; }

  .modal { padding: 12px; }
  .modal__window { padding: 20px 16px; border-radius: 18px; max-height: 90vh; }
  .modal__close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .modal__body { gap: 18px; }
  .modal__text { font-size: 14.5px; }
  .modal__photos { height: 180px; }

  .faq__inner { padding: 44px 16px; }
  .faq h2 { margin-bottom: 26px; }
  .faq__item { padding: 16px 18px; border-radius: 14px; }
  .faq__question { font-size: 15px; gap: 12px; }
  .faq__answer { font-size: 14.5px; }

  .signup { padding-top: 44px; padding-bottom: 44px; }
  .signup__panel { padding: 28px 20px; border-radius: 24px; gap: 26px; }
  .signup__panel h2 { font-size: 24px; }
  .signup__lead { font-size: 15px; margin-bottom: 22px; }
  .signup__phone { font-size: 19px; }
  .socials__pill { padding: 10px 16px; font-size: 14px; }

  .contacts h2 { margin-bottom: 24px; }
  .map { border-radius: 18px; }
  .map__frame { height: 300px; }
  .map__credit { padding: 7px 16px; }
  .address { padding: 16px; gap: 12px; }
  .address__num { width: 30px; height: 30px; font-size: 14px; }
  .address__title { font-size: 17px; }
  .address__sub, .address__link { font-size: 13px; }

  .site-footer__inner { padding: 36px 16px 26px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand__badge { width: 72px; height: 72px; }
  .footer-brand__name { font-size: 20px; }
  .footer-brand__tagline { max-width: none; }
  .site-footer__bottom { margin-top: 28px; flex-direction: column; gap: 6px; }
}

/* ---------------------------------------------------- узкий телефон, от 340px */
@media (max-width: 380px) {
  h2 { font-size: 22px; }
  .container { padding-left: 13px; padding-right: 13px; }

  .logo__badge { width: 58px; height: 58px; }
  .logo__name { font-size: 15px; }
  .logo__sub { display: none; }

  .hero__content { padding: 52px 13px; }
  .hero__sub { font-size: 13.5px; }
  .hero__phone { font-size: 15px; }

  .about__title { font-size: 18px; padding: 10px 16px; }
  .about__grid { gap: 12px; padding: 4px 13px 8px; margin: 0 -13px; scroll-padding-left: 13px; }
  .about__card { flex-basis: 232px; }
  .coach__polaroid { padding: 10px 10px 40px; }

  .week__days, .week__body { grid-template-columns: repeat(6, 96px); }
  .week__day { font-size: 9.5px; }

  .prices__track, .reviews__track { gap: 12px; padding: 4px 13px 18px; margin: 0 -13px; }
  .slider__track { scroll-padding-left: 13px; }
  .price { min-width: 228px; width: 228px; padding: 22px 16px; }
  .price__value { font-size: 30px; }
  .review { min-width: 244px; width: 244px; }

  .gallery__stage { height: 215px; }
  .gallery__slide { inset: 6px 28px; }

  .signup__panel { padding: 22px 15px; }
  .signup__panel h2 { font-size: 21px; }
  .socials__pill { padding: 9px 13px; font-size: 13px; }

  .map__frame { height: 250px; }
  .faq__inner { padding: 36px 13px; }
}

