/* ═══════════════════════════════════════════════════════════
   Шагай-ка — дизайн-система. Палитра выведена из логотипа.
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
    --bg:           #FAF6EC;
    --surface:      #FFFFFF;
    --cream:        #F2EDE0;
    --border:       #E6DFCE;

    --blue:         #7FBEE0; --blue-h: #5FA5CC; --blue-soft: #E5F1F9;
    --yellow:       #F4B73E; --yellow-h: #DCA022; --yellow-soft: #FCEFD1;
    --coral:        #F08585; --coral-soft: #FBE0E0;
    --mint:         #8DC542; --mint-soft: #E3F1CC;
    --lavender:     #B89AD9; --lavender-soft: #EBE0F5;

    --text:         #2A3447;
    --text-m:       #5C6680;
    --text-l:       #97A0B4;

    --f-head:       'Unbounded', sans-serif;
    --f-body:       'Manrope', sans-serif;
    --r:            14px;
    --r-lg:         22px;
    --tr:           0.3s ease;
    --container:    1320px;
    --shadow-sm:    0 2px 12px rgba(42,52,71,.06);
    --shadow-md:    0 8px 32px rgba(42,52,71,.08);
    --shadow-lg:    0 20px 60px rgba(127,190,224,.25);
}

body {
    font-family: var(--f-body);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
    padding-top: 120px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

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

/* ─── Универсальная секция ─── */
.section { padding: 90px 0; position: relative; }
.section--alt { background: var(--surface); }
.section--cream { background: var(--cream); }
.section__head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--blue-h);
    background: var(--blue-soft);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.section__title {
    font-family: var(--f-head);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.section__subtitle {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--text-m);
    max-width: 720px;
    margin: 0 auto;
}
.section__head--left { text-align: left; margin-left: 0; }
.section__head--left .section__subtitle { margin-left: 0; }

/* Reveal */
.has-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s ease var(--reveal-delay, 0ms); }
.has-js [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ═══════════ HEADER ═══════════ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    background: var(--surface);
    transition: box-shadow var(--tr);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__top { background: var(--blue-soft); border-bottom: 1px solid rgba(127,190,224,.25); }
.header__top-inner { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; gap: 20px; }
.header__contacts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.header__contact-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-m); font-size: 13px; font-weight: 500;
    transition: color var(--tr);
}
.header__contact-item:hover { color: var(--blue-h); }
.header__contact-item svg { color: var(--blue-h); flex-shrink: 0; }

.header__socials { display: flex; align-items: center; gap: 8px; }
.header__social {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--surface); color: var(--blue-h);
    transition: all var(--tr);
    box-shadow: 0 1px 4px rgba(42,52,71,.06);
}
.header__social:hover { background: var(--blue); color: var(--surface); transform: translateY(-2px); }

.header__main { padding: 12px 0; border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.header__logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; transition: transform var(--tr); }
.header__logo:hover { transform: scale(1.02); }

.logo-mark {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; background: var(--bg);
    box-shadow: 0 2px 10px rgba(127,190,224,.25); border: 2px solid var(--blue-soft);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--f-head); font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -.5px; line-height: 1.05; }
.logo-sub { font-size: 11px; font-weight: 500; color: var(--text-l); letter-spacing: .5px; text-transform: uppercase; line-height: 1; margin-top: 5px; }

.header__nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.header__nav-link {
    font-size: 13.5px; font-weight: 500; color: var(--text);
    padding: 9px 13px; border-radius: 10px;
    transition: all var(--tr); white-space: nowrap;
}
.header__nav-link:hover { color: var(--blue-h); background: var(--blue-soft); }
.header__nav-link.is-active { color: var(--blue-h); background: var(--blue-soft); }

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--f-body); font-weight: 600; font-size: 14px;
    border-radius: 12px; padding: 12px 24px;
    transition: all var(--tr);
    cursor: pointer; border: 2px solid transparent;
    white-space: nowrap; letter-spacing: .1px;
    text-align: center;
}
.btn--primary { background: var(--yellow); color: var(--text); box-shadow: 0 4px 14px rgba(244,183,62,.35); }
.btn--primary:hover { background: var(--yellow-h); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(244,183,62,.45); }
.btn--secondary { background: var(--surface); color: var(--blue-h); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue); color: var(--surface); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-h); }
.btn--lg { font-size: 15px; padding: 16px 32px; border-radius: 14px; }

.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: var(--blue-soft); border: none; padding: 11px;
    border-radius: 12px; transition: all var(--tr);
}
.hamburger:hover { background: var(--blue); }
.hamburger:hover span { background: var(--surface); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--blue-h); border-radius: 2px; transition: all var(--tr); }

/* ═══════════ HERO (секция 1) ═══════════ */
.hero {
    position: relative;
    padding: 60px 0 80px;
    margin-top: -120px; padding-top: 180px;
    background:
        radial-gradient(circle at 12% 30%, rgba(141,197,66,.12) 0%, transparent 35%),
        radial-gradient(circle at 88% 70%, rgba(127,190,224,.18) 0%, transparent 40%),
        radial-gradient(circle at 65% 15%, rgba(244,183,62,.12) 0%, transparent 30%),
        var(--bg);
    overflow: hidden;
}
.hero__deco { position: absolute; pointer-events: none; user-select: none; opacity: .85; }
.hero__deco--star    { top: 16%; right: 8%;  width: 38px; color: var(--yellow);   animation: float 6s ease-in-out infinite; }
.hero__deco--heart   { top: 38%; right: 14%; width: 32px; color: var(--coral);    animation: float 7s ease-in-out infinite .8s; }
.hero__deco--paw     { top: 62%; left: 6%;   width: 36px; color: var(--blue);     animation: float 8s ease-in-out infinite .4s; }
.hero__deco--hand    { top: 22%; left: 7%;   width: 38px; color: var(--lavender); animation: float 6.5s ease-in-out infinite 1.2s; }
.hero__deco--leaf    { bottom: 18%; right: 4%; width: 34px; color: var(--mint);   animation: float 7.5s ease-in-out infinite .6s; }
.hero__deco--dot1    { top: 28%; left: 22%; width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }
.hero__deco--dot2    { bottom: 30%; left: 18%; width: 12px; height: 12px; background: var(--yellow); border-radius: 50%; }
.hero__deco--dot3    { top: 55%; right: 24%; width: 8px; height: 8px; background: var(--mint); border-radius: 50%; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero__content { max-width: 640px; }

.hero__badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); font-size: 11.5px; font-weight: 600;
    letter-spacing: .6px; text-transform: uppercase;
    padding: 8px 16px 8px 12px; border-radius: 100px;
    margin-bottom: 28px; box-shadow: var(--shadow-sm);
    animation: fadeUp .7s ease both;
}
.hero__badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--mint); box-shadow: 0 0 0 4px rgba(141,197,66,.25);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 4px rgba(141,197,66,.25); } 50% { box-shadow: 0 0 0 8px rgba(141,197,66,.10); } }

.hero__title {
    font-family: var(--f-head);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 700; color: var(--text);
    line-height: 1.08; letter-spacing: -1.6px;
    margin-bottom: 24px; animation: fadeUp .7s .1s ease both;
}
.hero__title em { font-style: normal; position: relative; color: var(--blue-h); white-space: nowrap; }
.hero__title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--yellow-soft); z-index: -1; border-radius: 4px; }

.hero__subtitle { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.7; color: var(--text-m); max-width: 540px; margin-bottom: 38px; animation: fadeUp .7s .2s ease both; }
.hero__buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; animation: fadeUp .7s .3s ease both; }

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

.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; animation: fadeUp .8s .25s ease both; }
.hero__logo-wrap { position: relative; width: min(100%, 480px); aspect-ratio: 1; }
.hero__logo-img {
    position: relative; z-index: 2; width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%; background: var(--surface);
    box-shadow: var(--shadow-lg); animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__logo-ring { position: absolute; inset: -20px; border-radius: 50%; border: 2px dashed var(--blue); opacity: .35; animation: spin 60s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero__stats {
    position: relative; z-index: 2; margin-top: 60px;
    background: var(--surface); border-radius: var(--r-lg);
    padding: 32px 40px; box-shadow: var(--shadow-md);
    animation: fadeUp .7s .5s ease both;
}
.hero__stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.hero__stat { padding: 8px 30px; border-right: 1px solid var(--border); text-align: center; }
.hero__stat:last-child { border-right: none; }
.hero__stat:nth-child(1) .hero__stat-num { color: var(--blue-h); }
.hero__stat:nth-child(2) .hero__stat-num { color: var(--coral); }
.hero__stat:nth-child(3) .hero__stat-num { color: var(--mint); }
.hero__stat-num { font-family: var(--f-head); font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1; margin-bottom: 6px; letter-spacing: -1px; }
.hero__stat-label { font-size: 13px; font-weight: 500; color: var(--text-m); letter-spacing: .2px; }

/* Advantages (под hero, секция 1 продолжение) */
.advantages { background: var(--surface); padding: 70px 0; }
.advantages__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.adv-card {
    padding: 32px 24px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--border);
    transition: all var(--tr); cursor: default;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.adv-card__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform var(--tr); }
.adv-card__icon svg { width: 28px; height: 28px; }
.adv-card:hover .adv-card__icon { transform: scale(1.1) rotate(-5deg); }
.adv-card--blue     .adv-card__icon { background: var(--blue-soft);     color: var(--blue-h); }
.adv-card--coral    .adv-card__icon { background: var(--coral-soft);    color: var(--coral); }
.adv-card--yellow   .adv-card__icon { background: var(--yellow-soft);   color: var(--yellow-h); }
.adv-card--lavender .adv-card__icon { background: var(--lavender-soft); color: var(--lavender); }
.adv-card--mint     .adv-card__icon { background: var(--mint-soft);     color: var(--mint); }
.adv-card__title { font-family: var(--f-head); font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.3; letter-spacing: -.3px; margin-bottom: 10px; }
.adv-card__text { font-size: 13.5px; line-height: 1.6; color: var(--text-m); }

/* ═══════════ DIRECTIONS (секция 2) ═══════════ */
.dir { background: var(--bg); }
.dir__block { margin-bottom: 60px; }
.dir__block:last-child { margin-bottom: 0; }
.dir__block-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.dir__block-title { font-family: var(--f-head); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--text); letter-spacing: -.5px; }
.dir__nav { display: flex; gap: 10px; }
.dir__nav-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
    background: var(--surface); color: var(--text); cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all var(--tr);
}
.dir__nav-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--surface); }
.dir__nav-btn[disabled] { opacity: .35; cursor: not-allowed; }

.dir__nav-btn[data-slider-prev] svg { transform: rotate(180deg); }
.dir__slider-wrap { position: relative; }
.dir__slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, calc((100% - 66px) / 4)); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; scroll-behavior: smooth; }
.dir__slider::-webkit-scrollbar { display: none; }
.dir__slider > .svc-card { scroll-snap-align: start; }

/* Карточка услуги */
.svc-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    display: flex; flex-direction: column; transition: all var(--tr);
    scroll-snap-align: start; border: 1px solid var(--border);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card__img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--cream); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__badge { position: absolute; top: 14px; left: 14px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.svc-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card__title { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.25; letter-spacing: -.3px; }
.svc-card__text { font-size: 13.5px; line-height: 1.55; color: var(--text-m); flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-h); font-size: 13.5px; font-weight: 600; margin-top: 8px; transition: gap var(--tr); }
.svc-card__more:hover { gap: 12px; }

.dir__all { display: flex; justify-content: center; margin-top: 50px; }

/* ═══════════ GROUP TYPES (секция 3) ═══════════ */
.gtypes { background: var(--surface); }
.gtypes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gtype-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--tr);
}
.gtype-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.gtype-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.gtype-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gtype-card:hover .gtype-card__img img { transform: scale(1.05); }
.gtype-card__body { padding: 22px 22px 26px; }
.gtype-card__badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; letter-spacing: .3px; text-transform: uppercase; }
.gtype-card--blue     .gtype-card__badge { background: var(--blue-soft);     color: var(--blue-h); }
.gtype-card--coral    .gtype-card__badge { background: var(--coral-soft);    color: var(--coral); }
.gtype-card--yellow   .gtype-card__badge { background: var(--yellow-soft);   color: var(--yellow-h); }
.gtype-card--mint     .gtype-card__badge { background: var(--mint-soft);     color: var(--mint); }
.gtype-card--lavender .gtype-card__badge { background: var(--lavender-soft); color: var(--lavender); }
.gtype-card__title { font-family: var(--f-head); font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.25; letter-spacing: -.4px; margin-bottom: 8px; }
.gtype-card__text { font-size: 14px; line-height: 1.55; color: var(--text-m); }

/* ═══════════ WHY US (секция 4) ═══════════ */
.whyus { background: var(--bg); }
.whyus__highlight {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1.5px dashed var(--blue);
    color: var(--blue-h); font-size: 13px; font-weight: 600;
    padding: 10px 20px; border-radius: 100px; margin-top: 18px;
}
.whyus__highlight::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.whyus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }

/* ═══════════ DAY TIMELINE (секция 5) ═══════════ */
.day { background: var(--surface); overflow: hidden; }
.day__rail { position: relative; padding: 40px 0 10px; }
.day__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--blue-soft); transform: translateX(-50%); }
.day__line::before, .day__line::after { content: ''; position: absolute; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.day__line::before { top: -4px; }
.day__line::after  { bottom: -4px; }
.day__items { display: flex; flex-direction: column; gap: 28px; }
.day-item { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 24px; align-items: center; }
.day-item__bubble { grid-column: 2; }
.day-item:nth-child(odd) .day-item__time { grid-column: 1; text-align: right; }
.day-item:nth-child(odd) .day-item__card { grid-column: 3; text-align: left; }
.day-item:nth-child(even) .day-item__time { grid-column: 3; text-align: left; }
.day-item:nth-child(even) .day-item__card { grid-column: 1; text-align: right; }
.day-item__time {
    font-family: var(--f-head); font-size: 22px; font-weight: 700;
    color: var(--text); letter-spacing: -.5px;
}
.day-item__bubble {
    width: 64px; height: 64px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin: 0 auto;
    position: relative; z-index: 2; background: var(--surface);
    border: 2px solid var(--blue); color: var(--blue-h);
    box-shadow: 0 0 0 6px var(--surface);
}
.day-item:nth-child(2n) .day-item__bubble { border-color: var(--yellow); color: var(--yellow-h); }
.day-item:nth-child(3n) .day-item__bubble { border-color: var(--mint); color: var(--mint); }
.day-item:nth-child(4n) .day-item__bubble { border-color: var(--coral); color: var(--coral); }
.day-item:nth-child(5n) .day-item__bubble { border-color: var(--lavender); color: var(--lavender); }
.day-item__card {
    background: var(--cream); border-radius: var(--r); padding: 20px 22px;
}
.day-item__title { font-family: var(--f-head); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: -.3px; }
.day-item__text { font-size: 13.5px; line-height: 1.5; color: var(--text-m); }
/* Чередуем стороны */

/* ═══════════ SCHEDULE TABS (секция 6) ═══════════ */
.schedule { background: var(--bg); }
.schedule__wrap { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.schedule__tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--border); padding: 0 8px; scrollbar-width: none; }
.schedule__tabs::-webkit-scrollbar { display: none; }
.schedule__tab {
    padding: 18px 22px; font-family: var(--f-body); font-weight: 600; font-size: 14px;
    color: var(--text-m); background: none; border: none; cursor: pointer;
    border-bottom: 3px solid transparent; transition: all var(--tr);
    white-space: nowrap;
}
.schedule__tab:hover { color: var(--text); }
.schedule__tab.is-active { color: var(--blue-h); border-bottom-color: var(--blue); }
.schedule__panel { display: none; padding: 36px; }
.schedule__panel.is-active { display: block; }
.schedule__panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 28px; }
.schedule-cell {
    background: var(--cream); border-radius: var(--r); padding: 18px 20px;
}
.schedule-cell__label { font-size: 11.5px; font-weight: 600; color: var(--text-l); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 6px; }
.schedule-cell__value { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.3px; }
.schedule__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 22px 24px; background: var(--blue-soft); border-radius: var(--r); }
.schedule__features li { display: flex; align-items: start; gap: 10px; font-size: 14px; color: var(--text); }
.schedule__features li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 7px; }

/* ═══════════ TEACHERS (секция 7) ═══════════ */
.teachers { background: var(--surface); }
.teachers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teacher-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--tr);
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.teacher-card__img { aspect-ratio: 4/4; overflow: hidden; background: var(--cream); }
.teacher-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.teacher-card:hover .teacher-card__img img { transform: scale(1.05); }
.teacher-card__body { padding: 22px 24px 26px; }
.teacher-card__name { font-family: var(--f-head); font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.4px; margin-bottom: 4px; }
.teacher-card__spec { font-size: 13.5px; color: var(--blue-h); font-weight: 600; margin-bottom: 14px; }
.teacher-card__row { font-size: 13px; color: var(--text-m); display: flex; gap: 8px; margin-bottom: 8px; }
.teacher-card__row strong { color: var(--text); font-weight: 600; min-width: 90px; }
.teacher-card__certs { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-l); line-height: 1.45; }

/* ═══════════ GALLERY (секция 8) ═══════════ */
.gallery { background: var(--bg); }
.gallery__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 50px; }
.gallery__photos a { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r); background: var(--cream); }
.gallery__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__photos a:hover img { transform: scale(1.08); }
.gallery__photos a:nth-child(1), .gallery__photos a:nth-child(6) { grid-row: span 2; aspect-ratio: 1/2; }
.gallery__videos-head { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 22px; letter-spacing: -.4px; }
.gallery__videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%); z-index: 1; }
.video-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform var(--tr); }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__play svg { margin-left: 3px; }
.video-card__title { position: absolute; bottom: 14px; left: 18px; right: 18px; z-index: 2; color: white; font-family: var(--f-head); font-size: 14.5px; font-weight: 600; }

/* ═══════════ REVIEWS (секция 9) ═══════════ */
.reviews { background: var(--surface); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
    background: var(--cream); border-radius: var(--r-lg); padding: 28px 26px;
    display: flex; flex-direction: column; gap: 16px;
    transition: all var(--tr);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review-card--video { display: block; text-decoration: none; color: inherit; padding: 0; background: var(--text); overflow: hidden; aspect-ratio: 4/5; position: relative; }
a.review-card--video { cursor: pointer; }
.review-card--video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.review-card--video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%); }
.review-card--video .video-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.review-card--video .review-card__body { position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2; color: white; }
.review-card--video .review-card__author, .review-card--video .review-card__text { color: rgba(255,255,255,.95); }
.review-card__stars { display: flex; gap: 2px; color: var(--yellow); }
.review-card__text { font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.review-card__author { font-family: var(--f-head); font-size: 13.5px; font-weight: 600; color: var(--text-m); }

/* ═══════════ FAQ (секция 10) ═══════════ */
.faq { background: var(--bg); }
.faq__list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: all var(--tr); }
.faq-item.is-open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item__toggle {
    width: 100%; background: none; border: none; padding: 22px 26px;
    text-align: left; cursor: pointer; display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    font-family: var(--f-head); font-size: 16px; font-weight: 600;
    color: var(--text); letter-spacing: -.2px;
    transition: color var(--tr);
}
.faq-item__toggle:hover { color: var(--blue-h); }
.faq-item__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-h); display: flex; align-items: center; justify-content: center; transition: all var(--tr); }
.faq-item.is-open .faq-item__icon { background: var(--blue); color: white; transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer-inner { padding: 0 26px 24px; font-size: 14.5px; line-height: 1.65; color: var(--text-m); }

/* ═══════════ LEAD FORM (секция 11) ═══════════ */
.lead { background: var(--surface); }
.lead__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--cream); border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.lead__wrap::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; border-radius: 50%; background: var(--blue-soft); }
.lead__wrap::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 220px; height: 220px; border-radius: 50%; background: var(--yellow-soft); }
.lead__info, .lead__form { position: relative; z-index: 1; }
.lead__title { font-family: var(--f-head); font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; color: var(--text); line-height: 1.15; letter-spacing: -.8px; margin-bottom: 14px; }
.lead__subtitle { font-size: 15px; line-height: 1.6; color: var(--text-m); }
.lead__form { background: var(--surface); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; }
.lead__field { display: flex; flex-direction: column; gap: 6px; }
.lead__field label { font-size: 12.5px; font-weight: 600; color: var(--text-m); }
.lead__field input, .lead__field select {
    font-family: inherit; font-size: 14.5px; color: var(--text);
    padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
    background: var(--surface); transition: border-color var(--tr);
    width: 100%;
}
.lead__field input:focus, .lead__field select:focus { outline: none; border-color: var(--blue); }
.lead__ok { padding: 12px 16px; background: var(--mint-soft); color: #4a7a1c; border-radius: 10px; font-size: 13.5px; font-weight: 500; display: none; }
.lead__terms { font-size: 11.5px; color: var(--text-l); line-height: 1.5; }
.lead__terms a { color: var(--blue-h); text-decoration: underline; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--text); color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.footer .logo-name { color: white; }
.footer .logo-sub { color: rgba(255,255,255,.55); }
.footer .logo-mark { background: white; border-color: rgba(255,255,255,.1); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer__col--brand .header__logo { margin-bottom: 18px; }
.footer__about { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 22px; max-width: 280px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
    width: 38px; height: 38px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
    transition: all var(--tr);
}
.footer__social:hover { background: var(--yellow); color: var(--text); transform: translateY(-2px); }
.footer__title { font-family: var(--f-head); font-size: 14px; font-weight: 600; color: white; letter-spacing: .3px; margin-bottom: 18px; text-transform: uppercase; }
.footer__list, .footer__contacts { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__list a, .footer__contacts a, .footer__contacts span { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--tr); display: inline-flex; align-items: center; gap: 10px; }
.footer__list a:hover, .footer__contacts a:hover { color: var(--yellow); }
.footer__contacts svg { color: var(--yellow); opacity: .8; flex-shrink: 0; }
.footer__bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: var(--yellow); }
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ═══════════ MOBILE MENU (без скролла внутри, всё видно сразу) ═══════════ */
.mob-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%; height: 100dvh;
    background: var(--bg); z-index: 1000;
    transition: right .45s cubic-bezier(.16, 1, .3, 1);
    display: flex; flex-direction: column; padding: 18px 22px;
    overflow: hidden;
}
.mob-menu.is-open { right: 0; }
.mob-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mob-menu__close {
    width: 42px; height: 42px; border: 1.5px solid var(--border); border-radius: 50%;
    background: var(--surface); color: var(--text); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all var(--tr); line-height: 1; flex-shrink: 0;
}
.mob-menu__close:hover { border-color: var(--coral); color: var(--coral); transform: rotate(90deg); }
.mob-menu__nav { display: flex; flex-direction: column; flex: 1; justify-content: center; padding: 12px 0; min-height: 0; }
.mob-menu__link {
    font-family: var(--f-head); font-size: clamp(15px, 4vw, 19px); font-weight: 600;
    color: var(--text); padding: 11px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    transition: color var(--tr); letter-spacing: -.3px;
}
.mob-menu__link:last-child { border-bottom: none; }
.mob-menu__link:hover { color: var(--blue-h); }
.mob-menu__link-arrow { font-size: 16px; color: var(--text-l); transition: all var(--tr); }
.mob-menu__link:hover .mob-menu__link-arrow { color: var(--blue); transform: translateX(4px); }
.mob-menu__footer { padding-top: 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.mob-menu__phone { font-family: var(--f-head); font-size: 20px; font-weight: 700; color: var(--blue-h); display: block; margin-bottom: 12px; }
.mob-menu__actions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mob-menu__actions .btn { width: 100%; justify-content: center; font-size: 14px; padding: 12px; }
.mob-menu__socials { display: flex; gap: 10px; justify-content: center; }
.mob-menu__socials .header__social { width: 40px; height: 40px; }

/* ═══════════ PAGE HERO (для подстраниц) ═══════════ */
.page-hero {
    padding: 70px 0 60px;
    background:
        radial-gradient(circle at 80% 30%, rgba(127,190,224,.18) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(141,197,66,.10) 0%, transparent 35%),
        var(--bg);
    text-align: center;
}
.page-hero__crumb { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--text-l); margin-bottom: 18px; }
.page-hero__crumb a:hover { color: var(--blue-h); }
.page-hero__title { font-family: var(--f-head); font-size: clamp(28px, 4vw, 46px); font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -1.2px; margin-bottom: 16px; max-width: 920px; margin-left: auto; margin-right: auto; }
.page-hero__subtitle { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; color: var(--text-m); max-width: 720px; margin: 0 auto; }

/* ═══════════ ABOUT page ═══════════ */
.about__content { max-width: 880px; margin: 0 auto; }
.about__lead { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 26px; }
.about__label { font-family: var(--f-head); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.about__principles { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.about__principles li { display: flex; align-items: start; gap: 12px; padding: 14px 18px; background: var(--cream); border-radius: var(--r); font-size: 14.5px; color: var(--text); }
.about__principles li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 8px; }
.about__mission { font-size: 16px; line-height: 1.7; color: var(--text-m); padding: 24px 28px; background: var(--blue-soft); border-radius: var(--r); border-left: 4px solid var(--blue); }

/* ═══════════ CATALOG page ═══════════ */
.cat__filters { display: flex; flex-wrap: wrap; gap: 18px 24px; padding: 24px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.cat__filter-group { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 240px; }
.cat__filter-label { font-size: 11.5px; font-weight: 700; color: var(--text-l); text-transform: uppercase; letter-spacing: .4px; }
.cat__filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cat__chip {
    background: var(--bg); border: 1.5px solid var(--border);
    padding: 7px 13px; border-radius: 100px; font-size: 12.5px;
    color: var(--text); cursor: pointer; transition: all var(--tr);
    font-family: inherit; font-weight: 500;
}
.cat__chip:hover { border-color: var(--blue); color: var(--blue-h); }
.cat__chip.is-active { background: var(--blue); border-color: var(--blue); color: white; }
.cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ═══════════ DIRECTION SINGLE page ═══════════ */
.svc-single__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.svc-single__hero img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
.svc-single__pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 26px; }
.svc-single__price { background: var(--cream); padding: 14px 16px; border-radius: var(--r); }
.svc-single__price-label { font-size: 11px; font-weight: 600; color: var(--text-l); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.svc-single__price-value { font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--text); }
.svc-single__blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-block { background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); }
.svc-block__title { font-family: var(--f-head); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.svc-block__title::before { content: ''; width: 6px; height: 22px; background: var(--blue); border-radius: 3px; }
.svc-block__text { font-size: 14px; line-height: 1.6; color: var(--text-m); }

/* ═══════════ DOCUMENTS page ═══════════ */
.docs__list { display: flex; flex-direction: column; gap: 12px; }
.doc-item {
    background: var(--surface); border-radius: var(--r); padding: 18px 22px;
    display: flex; align-items: center; gap: 18px; border: 1px solid var(--border);
    transition: all var(--tr);
}
.doc-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.doc-item__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-h); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-item__body { flex: 1; min-width: 0; }
.doc-item__title { font-family: var(--f-head); font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.doc-item__meta { font-size: 12.5px; color: var(--text-l); }
.doc-item__actions { display: flex; gap: 8px; flex-shrink: 0; }
.doc-item__btn { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); color: var(--text-m); display: flex; align-items: center; justify-content: center; transition: all var(--tr); border: 1px solid var(--border); }
.doc-item__btn:hover { background: var(--blue); border-color: var(--blue); color: white; }

/* ═══════════ EVENTS page ═══════════ */
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--tr);
    display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.event-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); position: relative; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-card__img img { transform: scale(1.05); }
.event-card__date { position: absolute; top: 14px; left: 14px; background: var(--surface); padding: 8px 14px; border-radius: 10px; font-family: var(--f-head); font-size: 13px; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm); }
.event-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__title { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.3; letter-spacing: -.3px; }
.event-card__text { font-size: 13.5px; line-height: 1.55; color: var(--text-m); flex: 1; }
.event-card__more { color: var(--blue-h); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ═══════════ CONTACTS page ═══════════ */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contacts__info { background: var(--surface); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.contacts__org { font-family: var(--f-head); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.contacts__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contacts__list li { display: flex; gap: 14px; }
.contacts__list-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-h); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contacts__list-label { font-size: 12px; color: var(--text-l); text-transform: uppercase; letter-spacing: .3px; font-weight: 600; margin-bottom: 2px; }
.contacts__list-value { font-size: 15px; color: var(--text); font-weight: 500; }
.contacts__list-value a { color: var(--text); }
.contacts__list-value a:hover { color: var(--blue-h); }
.contacts__socials { display: flex; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.contacts__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; background: var(--cream); }
.contacts__map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1200px) {
    .header__nav-link { font-size: 12.5px; padding: 8px 10px; }
    .advantages__grid, .whyus__grid { grid-template-columns: repeat(3, 1fr); }
    .day-item { grid-template-columns: 90px 60px 1fr; }
    .day-item__time { text-align: left !important; order: 0 !important; }
    .day-item__card { order: 0 !important; text-align: left !important; }
}

@media (max-width: 1024px) {
    .header__nav, .header__cta { display: none; }
    .hamburger { display: flex; }
    .header__contacts { gap: 18px; }
    body { padding-top: 110px; }

    .hero { padding: 50px 0 60px; padding-top: 150px; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { order: -1; }
    .hero__logo-wrap { width: min(100%, 320px); }

    .advantages__grid { grid-template-columns: repeat(3, 1fr); }
    .gtypes__grid, .teachers__grid, .reviews__grid, .events__grid, .cat__grid { grid-template-columns: repeat(2, 1fr); }
    .schedule__panel-grid { grid-template-columns: repeat(2, 1fr); }
    .lead__wrap { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
    .svc-single__hero { grid-template-columns: 1fr; }
    .svc-single__blocks { grid-template-columns: 1fr; }
    .contacts__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gallery__photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .header__top { display: none; }
    body { padding-top: 80px; }

    .section { padding: 60px 0; }
    .section__head { margin-bottom: 40px; }

    .hero__deco--dot1, .hero__deco--dot2, .hero__deco--dot3 { display: none; }
    .hero__stats { padding: 22px 18px; margin-top: 40px; }
    .hero__stat { padding: 8px 12px; }

    .advantages__grid, .gtypes__grid, .teachers__grid, .whyus__grid, .reviews__grid, .events__grid, .cat__grid, .schedule__panel-grid, .gallery__videos { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .schedule__features { grid-template-columns: 1fr; }
    .gallery__photos { grid-template-columns: repeat(2, 1fr); }
    .gallery__photos a:nth-child(1), .gallery__photos a:nth-child(6) { grid-row: span 1; aspect-ratio: 1/1; }
    .about__principles { grid-template-columns: 1fr; }
    .svc-single__pricing { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    /* Day timeline в одну колонку — сбрасываем все grid-column из десктоп-стилей */
    .day__line { left: 30px; transform: none; }
    .day-item,
    .day-item:nth-child(odd),
    .day-item:nth-child(even) { grid-template-columns: 60px 1fr; gap: 16px; }
    .day-item__bubble,
    .day-item:nth-child(odd) .day-item__bubble,
    .day-item:nth-child(even) .day-item__bubble { grid-column: 1; width: 60px; height: 60px; box-shadow: 0 0 0 4px var(--surface); }
    .day-item__time,
    .day-item:nth-child(odd) .day-item__time,
    .day-item:nth-child(even) .day-item__time { display: none; }
    .day-item__card,
    .day-item:nth-child(odd) .day-item__card,
    .day-item:nth-child(even) .day-item__card { grid-column: 2; text-align: left; padding: 14px 18px; }
    .day-item__card::before { content: attr(data-time); display: block; font-family: var(--f-head); font-size: 13px; font-weight: 700; color: var(--blue-h); margin-bottom: 4px; }

    .lead__wrap { padding: 28px 22px; }
    .doc-item { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .logo-name { font-size: 17px; }
    .logo-sub { font-size: 10px; }
    .logo-mark { width: 48px; height: 48px; }
    .header__main { padding: 10px 0; }

    .hero__title { letter-spacing: -.8px; }
    .hero__buttons { flex-direction: column; align-items: stretch; }
    .hero__buttons .btn { width: 100%; }
    .hero__stats-inner { grid-template-columns: 1fr; gap: 14px; }
    .hero__stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
    .hero__stat:last-child { border-bottom: none; padding-bottom: 0; }

    .advantages__grid, .gtypes__grid, .teachers__grid, .whyus__grid, .reviews__grid, .events__grid, .cat__grid, .schedule__panel-grid, .gallery__videos { grid-template-columns: 1fr; }

    .schedule__panel { padding: 22px; }
    .lead__form { padding: 22px 20px; }
    .doc-item__actions { width: 100%; justify-content: flex-end; }
}

/* ═══════════ A11Y ═══════════ */
.wcag body { font-size: 18px; }
.wcag .section__title, .wcag .hero__title { letter-spacing: .3px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}


.shg-toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 100000; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 36px)); }
.shg-toast { padding: 16px 18px; border-radius: 14px; color: #fff; background: #2f6f3e; box-shadow: 0 18px 45px rgba(23, 33, 54, .22); font-size: 15px; line-height: 1.45; transform: translateY(14px); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.shg-toast.is-visible { opacity: 1; transform: translateY(0); }
.shg-toast--error { background: #a82929; }
@media (max-width: 640px) { .shg-toast-wrap { left: 14px; right: 14px; bottom: 14px; max-width: none; } .shg-toast { border-radius: 12px; } }


.branches__grid { display: grid; gap: 26px; }
.branch-card { display: grid; grid-template-columns: minmax(260px, .86fr) minmax(340px, 1.14fr); gap: 24px; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.branch-card__info { display: flex; flex-direction: column; gap: 12px; }
.branch-card__title { font-family: var(--f-head); font-size: 24px; line-height: 1.2; color: var(--text); margin: 0 0 4px; }
.branch-card__line { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.5; margin: 0; }
.branch-card__line svg { color: var(--yellow-h); flex-shrink: 0; margin-top: 2px; }
.branch-card__line a { color: var(--text); }
.branch-card__line a:hover { color: var(--blue-h); }
.branch-card__note { color: var(--text-m); font-size: 14px; line-height: 1.55; margin: 6px 0 0; }
.branch-card__map { min-height: 320px; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--blue-soft); }
.branch-card__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.branch-card__map-empty, .branches__empty { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-m); background: var(--cream); border-radius: var(--r); padding: 24px; }
@media (max-width: 900px) { .branch-card { grid-template-columns: 1fr; } .branch-card__map, .branch-card__map iframe { min-height: 280px; } }
