/* Approved Indigo concept: white, navy, violet, warm untinted media; locally hosted Manrope. */
@font-face {
    font-family:Manrope;
    src:url('/fonts/booking/Manrope.ttf') format('truetype');
    font-style:normal;
    font-weight:200 800;
    font-display:swap
}

:root {
    --ink:#181b45;
    --muted:#68718d;
    --line:#e5e5f1;
    --brand:#5847eb;
    --brand-dark:#4533cc;
    --lavender:#f2efff;
    --green:#087b62;
    --mint:#eff8f5;
    --error:#a52142;
    --page:1380px
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:28px
}

body {
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:Manrope,Arial,sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased
}

[hidden] {
    display:none!important
}

a {
    color:inherit;
    text-underline-offset:4px
}

button,input,select,textarea {
    font:inherit
}

button,a,select {
    -webkit-tap-highlight-color:transparent
}

button {
    cursor:pointer
}

button:disabled {
    cursor:default
}

a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
    outline:3px solid #a99bf9;
    outline-offset:4px
}

h1,h2,h3,p,figure {
    margin:0
}

h1,h2,h3 {
    font-weight:800;
    line-height:1.13
}

h1 {
    font-size:clamp(42px,4.6vw,68px);
    letter-spacing:-2.8px
}

h2 {
    font-size:clamp(29px,3.1vw,44px);
    letter-spacing:-1.5px
}

h3 {
    font-size:22px;
    letter-spacing:-.65px;
    line-height:1.3
}

p {
    color:var(--muted)
}

.page-width {
    width:calc(100% - 96px);
    max-width:var(--page);
    margin-inline:auto
}

.icon-definitions {
    position:absolute;
    width:0;
    height:0;
    overflow:hidden;
    pointer-events:none
}

.icon {
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex-shrink:0;
    vertical-align:middle
}

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

.site-header {
    border-bottom:1px solid #f1f1f6;
    background:#fff
}

.header-inner {
    max-width:var(--page);
    width:calc(100% - 96px);
    margin:auto;
    min-height:74px;
    display:flex;
    align-items:center;
    gap:50px
}

.brand {
    display:inline-flex;
    flex-shrink:0
}

.brand img {
    display:block;
    width:215px;
    height:auto
}

.site-header nav {
    display:flex;
    gap:38px;
    font-size:14px;
    font-weight:750
}

.site-header nav a {
    text-decoration:none;
    padding:15px 0
}

.help-link {
    margin-left:auto;
    display:inline-flex;
    align-items:center;
    gap:9px;
    text-decoration:none;
    font-size:14px;
    min-height:44px
}

.help-link span {
    display:grid;
    place-items:center;
    border:1.6px solid currentColor;
    border-radius:50%;
    width:19px;
    height:19px;
    font-size:12px;
    font-weight:800
}

.preview-banner {
    text-align:center;
    background:var(--lavender);
    color:#51438f;
    font-size:12px;
    padding:9px 22px
}

.hero {
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:38px;
    align-items:center;
    padding-top:0;
    padding-bottom:48px
}

.hero-copy {
    padding-block:12px
}

.hero h1 {
    max-width:670px
}

.hero-description {
    font-size:21px;
    line-height:1.55;
    margin-top:22px;
    max-width:590px
}

.teacher-identity {
    font-size:19px;
    margin-top:22px;
    color:var(--ink)
}

.teacher-identity strong {
    font-weight:650;
    text-decoration:underline;
    text-decoration-color:#c5bbff;
    text-underline-offset:7px
}

.hero-actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:20px 30px;
    margin:27px 0
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    min-height:56px;
    border:1px solid transparent;
    border-radius:12px;
    background:var(--brand);
    color:#fff;
    font:750 16px/1.35 Manrope,Arial,sans-serif;
    padding:15px 23px;
    text-decoration:none;
    box-shadow:0 8px 20px #5847eb12
}

.button:hover {
    background:var(--brand-dark)
}

.button:disabled {
    background:#d6d3e4;
    color:#fff;
    box-shadow:none
}

.button.held {
    background:var(--mint);
    color:var(--green);
    border-color:#cfe6db
}

.text-link {
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:var(--brand);
    font-weight:650;
    font-size:15px;
    min-height:44px
}

.text-button {
    border:0;
    background:none;
    color:var(--brand);
    font-weight:650;
    font-size:14px;
    text-decoration:underline;
    text-underline-offset:4px;
    padding:9px 0;
    min-height:44px
}

.offer {
    display:flex;
    align-items:center;
    gap:24px;
    border-radius:16px;
    background:var(--mint);
    padding:18px 22px;
    max-width:620px
}

.offer-label {
    display:block;
    font-size:13px;
    font-weight:750;
    line-height:1.5
}

.price {
    display:flex;
    flex-wrap:wrap;
    gap:6px 16px;
    align-items:baseline;
    margin-top:4px
}

.price b {
    font-size:38px;
    line-height:1.2;
    letter-spacing:-1.5px;
    color:var(--green);
    white-space:nowrap
}

.price s {
    font-size:18px;
    color:var(--muted);
    white-space:nowrap
}

.offer-saving {
    font-size:12px;
    font-weight:750;
    color:var(--green);
    white-space:nowrap
}

.offer-freedom {
    font-size:12px;
    color:#31586a;
    border-left:1px solid #bcded5;
    padding-left:22px;
    max-width:190px;
    line-height:1.6
}

.offer-compact {
    display:block;
    min-width:280px;
    max-width:350px;
    text-align:center
}

.offer-compact .price {
    justify-content:center
}

.offer-compact .offer-freedom {
    border:0;
    padding:8px 0 0;
    margin:auto;
    max-width:260px
}

.teacher-media {
    position:relative;
    overflow:hidden;
    background:var(--lavender);
    border-radius:16px;
    aspect-ratio:4/3;
    isolation:isolate
}

.teacher-media>img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover
}

.teacher-media-hero {
    min-height:490px;
    /* Ширину задаёт колонка сетки, а не пропорции при min-height: иначе на 1280 px фото вылезает за экран и появляется горизонтальная прокрутка. */
    width:100%;
    min-width:0;
    aspect-ratio:auto
}

.teacher-initials {
    height:100%;
    display:grid;
    place-items:center;
    font-size:100px;
    color:#8f82c9;
    font-weight:800
}

.media-action {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    align-items:center;
    gap:16px;
    padding:45px 25px 24px;
    background:linear-gradient(transparent,#1513299c);
    border:0;
    color:white;
    text-align:left;
    font-size:20px;
    font-weight:750;
    line-height:1.4
}

.media-action small {
    display:block;
    font-size:12px;
    font-weight:400;
    margin-top:5px;
    opacity:.94
}

.play-circle {
    width:68px;
    height:68px;
    border-radius:50%;
    border:1.5px solid #ffffffdf;
    background:#181b45b8;
    color:white;
    display:grid;
    place-items:center;
    flex-shrink:0
}

.play-circle .icon {
    width:34px;
    height:34px
}

.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:25px
}

.section-heading p {
    font-size:14px;
    max-width:510px
}

.practice-section,.proof-section {
    padding-block:22px 44px
}

.practice-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px
}

.practice-image {
    aspect-ratio:16/9;
    border-radius:14px;
    overflow:hidden;
    position:relative
}

.practice-image img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover
}

.image-note {
    position:absolute;
    right:12px;
    top:12px;
    font-size:10px;
    background:#ffffffe8;
    color:#514b71;
    padding:4px 8px;
    border-radius:6px;
    max-width:calc(100% - 24px)
}

.practice-grid h3 {
    font-size:21px;
    margin-top:13px
}

.practice-grid p {
    font-size:13px;
    margin-top:4px
}

.proof-section {
    padding-top:32px
}

.proof-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px
}

.proof-item {
    border-radius:16px;
    overflow:hidden;
    background:var(--mint)
}

.proof-image {
    position:relative;
    aspect-ratio:16/9;
    background:var(--lavender);
    overflow:hidden
}

.proof-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.proof-play {
    position:absolute;
    inset:0;
    border:0;
    display:grid;
    place-items:center;
    width:100%;
    background:transparent
}

.proof-caption {
    padding:22px 25px
}

.proof-caption h3 {
    margin-top:6px
}

.proof-caption p {
    font-size:14px;
    margin-top:9px
}

.proof-scope {
    font-size:11px;
    font-weight:700;
    letter-spacing:.3px;
    color:var(--green)
}

.teacher-about {
    padding-block:30px 45px
}

.teacher-about p {
    max-width:850px;
    margin-top:16px
}

.catalogue-hero {
    padding-block:30px
}

.back-link {
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-size:14px;
    color:var(--brand);
    min-height:44px;
    margin-bottom:14px
}

.back-link .icon {
    width:19px;
    transform:rotate(180deg)
}

.catalogue-hero-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px
}

.catalogue-hero p {
    margin-top:16px;
    font-size:19px
}

.catalogue-hero .offer p {
    font-size:12px;
    margin-top:5px
}

.saved-filters {
    font-size:13px!important;
    color:var(--brand)
}

.groups-section {
    padding-block:30px 40px
}

.teacher-page .groups-section {
    border-top:1px solid var(--line);
    margin-top:20px
}

.group-introduction {
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:24px
}

.group-introduction>img {
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:50%
}

.group-introduction p {
    font-size:16px;
    margin-top:8px
}

.booking-filters {
    display:flex;
    align-items:end;
    flex-wrap:wrap;
    gap:14px;
    background:#f6f5fb;
    padding:17px 20px;
    border-radius:14px
}

.booking-filters label {
    display:flex;
    flex:1;
    flex-direction:column;
    gap:6px;
    min-width:145px
}

.booking-filters label>span {
    font-size:11px;
    font-weight:750;
    color:var(--muted)
}

.booking-filters select {
    color:var(--ink);
    background:white;
    border:1px solid #dcdaec;
    border-radius:9px;
    min-height:48px;
    padding:9px 35px 9px 13px;
    font-size:14px;
    width:100%;
    max-width:100%
}

.filter-clear {
    font-size:12px;
    padding-inline:7px;
    text-decoration:none
}

.list-meta {
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin:15px 0 18px;
    font-size:12px
}

.list-meta>span {
    color:var(--muted)
}

.list-meta p {
    color:var(--ink)
}

.teacher-list {
    display:grid;
    gap:21px
}

.teacher-group {
    display:grid;
    grid-template-columns:340px minmax(0,1fr);
    gap:28px;
    padding:0;
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden;
    background:white
}

.teacher-group .teacher-media {
    border-radius:0;
    min-height:285px;
    height:100%;
    width:100%;
    min-width:0;
    aspect-ratio:auto
}

.teacher-group .teacher-media>img {
    position:absolute;
    inset:0
}

.teacher-group .media-action {
    font-size:17px;
    gap:12px;
    padding:40px 19px 18px
}

.teacher-group .play-circle {
    width:54px;
    height:54px
}

.teacher-group .play-circle .icon {
    width:27px;
    height:27px
}

.teacher-group-body {
    padding:22px 22px 22px 0;
    min-width:0
}

.teacher-group-heading {
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px
}

.teacher-group-heading h3 {
    font-size:29px;
    letter-spacing:-1px
}

.teacher-bio {
    font-size:13px;
    margin-top:5px
}

.teacher-profile-link {
    font-size:12px;
    color:var(--brand)
}

.schedule-list {
    display:grid;
    gap:11px
}

.schedule-row {
    border:1px solid var(--line);
    border-radius:11px;
    background:linear-gradient(100deg,#faf9ff,#fff);
    padding:17px 18px;
    display:grid;
    grid-template-columns:minmax(170px,1.05fr) minmax(130px,.85fr) auto;
    gap:20px;
    align-items:center
}

.schedule-main {
    min-width:0
}

.schedule-when {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:19px;
    line-height:1.4;
    font-weight:800;
    letter-spacing:-.55px
}

.schedule-when .icon {
    width:23px;
    color:var(--brand)
}

.schedule-start {
    font-size:11px;
    line-height:1.5;
    color:var(--muted);
    margin-top:4px;
    padding-left:33px
}

.schedule-about {
    font-size:12px;
    line-height:1.7;
    min-width:0
}

.schedule-about .icon {
    width:18px;
    height:18px;
    margin-right:5px
}

.schedule-address {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:4px;
    overflow-wrap:anywhere
}

.schedule-seats {
    display:block;
    font-size:11px;
    color:var(--green);
    margin-top:5px
}

.schedule-row .button {
    min-height:48px;
    padding:12px 17px;
    font-size:13px;
    border-radius:10px
}

.group-message {
    grid-column:1/-1;
    font-size:13px;
    color:var(--error)
}

.directory-page .schedule-row {
    grid-template-columns:minmax(155px,1fr) minmax(100px,.65fr) auto;
    gap:13px;
    padding:14px
}

.directory-page .schedule-when {
    font-size:16px
}

.directory-page .schedule-row .button {
    font-size:12px;
    padding:11px 13px
}

.date-note {
    font-size:12px;
    margin-top:17px;
    max-width:960px
}

.other-teachers {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    background:var(--lavender);
    border-radius:14px;
    padding:25px 30px;
    margin-top:30px
}

.other-teachers h3 {
    font-size:22px
}

.other-teachers p {
    font-size:13px;
    margin-top:5px
}

.other-teachers .text-link {
    font-size:14px
}

.empty {
    border-block:1px solid var(--line);
    padding:35px 20px;
    text-align:center;
    font-size:16px;
    color:var(--muted)
}

.empty .text-button {
    display:block;
    margin:8px auto 0
}

.refresh-error {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:#fff5ed;
    color:#8b4e23;
    padding:15px 20px;
    margin-bottom:18px;
    border-radius:9px;
    font-size:13px
}

.questions {
    padding-bottom:48px;
    max-width:1100px
}

.questions details {
    border-bottom:1px solid var(--line)
}

.questions summary {
    padding:20px 0;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px
}

.questions summary:after {
    content:'+';
    font-size:22px;
    font-weight:400;
    color:var(--brand)
}

.questions details[open]>summary:after {
    content:'−'
}

.questions details>p {
    font-size:14px;
    padding-bottom:22px;
    max-width:850px
}

.site-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:28px;
    border-top:1px solid var(--line);
    padding-block:30px 45px;
    color:var(--muted);
    font-size:12px
}

.site-footer>div {
    display:flex;
    gap:15px;
    flex-wrap:wrap
}

.site-footer img {
    display:block;
    width:155px;
    height:auto
}

.nogroup {
    padding-bottom:25px
}

.nogroup h2 {
    font-size:26px;
    margin:8px 0 12px
}

.nogroup .lead {
    font-size:14px;
    max-width:760px;
    margin-bottom:20px
}

.fgrid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}

.field label {
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:7px
}

.wide {
    grid-column:1/-1
}

.field input,.field select,.field textarea {
    width:100%;
    background:#fff;
    color:var(--ink);
    border:1px solid #d8dce8;
    border-radius:9px;
    padding:11px 13px;
    min-height:48px;
    font-size:16px
}

.field textarea {
    min-height:95px;
    resize:vertical
}

.opt-l {
    font-size:12px;
    font-weight:400;
    color:var(--muted)
}

.consent {
    display:flex;
    align-items:start;
    gap:12px;
    font-size:12px;
    line-height:1.7;
    color:var(--muted)
}

.consent input {
    width:19px;
    height:19px;
    flex-shrink:0;
    margin-top:1px;
    accent-color:var(--brand)
}

.consent a {
    color:var(--brand)
}

.hp {
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden
}

.ferr,.formmsg.err {
    color:var(--error);
    font-size:12px;
    margin-top:6px
}

.bad input,.bad textarea,.bad select {
    border-color:var(--error)
}

.consent.bad {
    color:var(--error)
}

#leadbtn {
    border:0;
    border-radius:10px;
    background:var(--brand);
    color:white;
    padding:13px 25px;
    font-weight:700;
    font-size:15px;
    margin-top:18px;
    min-height:48px
}

.thanks {
    background:var(--mint);
    padding:20px;
    color:var(--green);
    border-radius:10px
}

.holdbar {
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:30;
    background:#fff;
    box-shadow:0 -8px 30px #171b4514;
    border-top:1px solid var(--line)
}

.holdbar-in {
    max-width:var(--page);
    padding:18px 48px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:20px
}

.holdbar .t {
    font-size:13px;
    flex:1
}

.holdbar .t b {
    display:block;
    color:var(--green);
    font-size:15px
}

.holdbar .timer {
    font-size:20px;
    color:var(--ink);
    font-variant-numeric:tabular-nums;
    font-weight:750
}

.holdbar .go {
    background:var(--brand);
    color:white;
    border:0;
    border-radius:10px;
    padding:13px 22px;
    min-height:48px;
    font-size:15px;
    font-weight:750
}

.holdbar .rel {
    border:0;
    background:none;
    color:var(--muted);
    font-size:12px;
    min-height:44px
}

.holdbar .err,.holdbar .note {
    font-size:12px;
    color:var(--error)
}

.has-hold {
    padding-bottom:120px
}

.mobile-discovery {
    display:none
}

dialog {
    border:1px solid var(--line);
    border-radius:18px;
    padding:24px;
    width:min(820px,calc(100% - 36px));
    max-height:90dvh;
    color:var(--ink);
    background:white;
    box-shadow:0 20px 80px #14172b33
}

dialog::backdrop {
    background:#12172c99
}

.dialog-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin-bottom:18px
}

.dialog-top h2 {
    font-size:23px;
    line-height:1.4;
    letter-spacing:-.6px
}

.dialog-close {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex-shrink:0;
    border:0;
    border-radius:50%;
    color:var(--ink);
    background:var(--lavender)
}

#media-content video {
    width:100%;
    max-height:66dvh;
    display:block;
    border-radius:9px;
    background:#111
}

#media-content p {
    font-size:15px;
    line-height:1.8
}

.dialog-group {
    display:grid;
    gap:8px;
    background:var(--lavender);
    padding:20px;
    border-radius:10px;
    margin-bottom:15px
}

.dialog-group strong {
    font-size:22px
}

.dialog-group span {
    font-size:14px;
    color:var(--muted)
}

#video-error {
    font-size:14px;
    color:var(--error);
    padding-top:14px
}

@media(min-width:1450px) {
    .hero {
        gap:45px
    }

    .teacher-media-hero {
        min-height:540px
    }

}

@media(max-width:1180px) {
    .page-width,.header-inner {
        width:calc(100% - 64px)
    }

    .header-inner {
        gap:35px
    }

    .hero {
        gap:28px
    }

    .hero h1 {
        font-size:52px;
        letter-spacing:-2px
    }

    .hero-description {
        font-size:18px
    }

    .hero-actions {
        gap:15px 20px
    }

    .hero-actions .button {
        font-size:14px;
        padding:15px 18px
    }

    .offer {
        gap:14px;
        padding:17px
    }

    .price b {
        font-size:31px
    }

    .price s {
        font-size:15px
    }

    .offer-label {
        font-size:11px
    }

    .offer-freedom {
        font-size:11px;
        padding-left:14px
    }

    .teacher-media-hero {
        min-height:450px
    }

    .teacher-group {
        grid-template-columns:280px minmax(0,1fr);
        gap:22px
    }

    .teacher-group-heading h3 {
        font-size:26px
    }

    .schedule-row,.directory-page .schedule-row {
        grid-template-columns:minmax(0,1fr) auto;
        gap:12px
    }

    .schedule-about {
        grid-column:1;
        grid-row:2
    }

    .schedule-row>.button {
        grid-column:2;
        grid-row:1/3
    }

    .schedule-address {
        max-width:300px
    }

    .directory-page .schedule-start {
        padding-left:0
    }

    .directory-page .schedule-when .icon {
        display:none
    }

}

@media(max-width:900px) {
    .hero {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)
    }

    .hero h1 {
        font-size:42px
    }

    .hero-description {
        font-size:16px
    }

    .teacher-identity {
        font-size:15px
    }

    .hero-actions {
        margin:20px 0
    }

    .hero-actions .text-link {
        font-size:13px
    }

    .hero .offer {
        display:block
    }

    .hero .offer-freedom {
        border:0;
        padding:7px 0 0;
        max-width:none
    }

    .teacher-media-hero {
        min-height:460px
    }

    .teacher-media .media-action {
        font-size:16px;
        padding:40px 16px 18px;
        gap:12px
    }

    .play-circle {
        width:54px;
        height:54px
    }

    .play-circle .icon {
        width:28px;
        height:28px
    }

    .section-heading {
        display:block
    }

    .section-heading p {
        margin-top:12px
    }

    .teacher-group {
        grid-template-columns:235px minmax(0,1fr);
        gap:20px
    }

    .teacher-group-body {
        padding:20px 20px 20px 0
    }

    .teacher-group .media-action {
        font-size:14px;
        gap:9px;
        padding-inline:13px
    }

    .teacher-group .play-circle {
        width:42px;
        height:42px
    }

    .teacher-group-heading {
        display:block
    }

    .teacher-profile-link {
        display:inline-block;
        margin-top:8px
    }

    .other-teachers {
        display:block
    }

    .other-teachers .text-link {
        margin-top:12px
    }

    .offer-compact {
        min-width:240px
    }

    .catalogue-hero h1 {
        font-size:44px
    }

    .catalogue-hero p {
        font-size:16px
    }

}

@media(max-width:680px) {
    body {
        font-size:15px
    }

    .page-width,.header-inner {
        width:calc(100% - 40px)
    }

    .header-inner {
        min-height:73px;
        gap:18px
    }

    .brand img {
        width:155px
    }

    .site-header nav {
        display:none
    }

    .help-link {
        font-size:13px
    }

    .preview-banner {
        font-size:10px;
        padding:8px 16px;
        line-height:1.7
    }

    .hero {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:25px;
        padding-top:28px;
        padding-bottom:32px
    }

    .hero-copy {
        padding:0
    }

    .hero h1 {
        font-size:40px;
        letter-spacing:-1.7px;
        line-height:1.13
    }

    .hero-description {
        font-size:17px;
        margin-top:17px
    }

    .teacher-identity {
        font-size:15px;
        margin-top:16px
    }

    .hero-actions {
        gap:13px 22px;
        margin:22px 0
    }

    .hero-actions .button {
        font-size:14px;
        min-height:53px
    }

    .hero-actions .text-link {
        font-size:13px
    }

    .hero .offer {
        display:flex;
        gap:15px;
        padding:15px 17px;
        border-radius:12px
    }

    .price b {
        font-size:31px
    }

    .price s {
        font-size:14px
    }

    .offer-label {
        font-size:11px
    }

    .hero .offer-freedom {
        border-left:1px solid #c8dfd8;
        padding:0 0 0 14px;
        max-width:135px;
        font-size:10px
    }

    .offer-saving {
        font-size:11px
    }

    .teacher-media-hero {
        min-height:0;
        aspect-ratio:4/3;
        border-radius:14px
    }

    .hero .media-action {
        font-size:17px;
        padding:40px 18px 19px
    }

    .media-action small {
        font-size:10px
    }

    h2 {
        font-size:30px;
        letter-spacing:-1px
    }

    .practice-section,.proof-section {
        padding-block:12px 30px
    }

    .section-heading {
        margin-bottom:20px
    }

    .section-heading p {
        font-size:12px
    }

    .practice-grid {
        grid-template-columns:1fr;
        gap:22px
    }

    .practice-grid figure {
        display:grid;
        grid-template-columns:130px minmax(0,1fr);
        align-items:center;
        gap:16px
    }

    .practice-image {
        aspect-ratio:4/3;
        border-radius:11px
    }

    .practice-grid h3 {
        font-size:18px;
        margin-top:0
    }

    .practice-grid p {
        font-size:12px;
        margin-top:5px
    }

    .practice-grid .image-note {
        font-size:8px;
        padding:3px 5px;
        top:6px;
        right:6px;
        max-width:calc(100% - 12px)
    }

    .proof-grid {
        grid-template-columns:1fr;
        gap:18px
    }

    .proof-caption {
        padding:19px 20px
    }

    .proof-caption h3 {
        font-size:21px
    }

    .proof-caption p {
        font-size:13px
    }

    .image-note {
        font-size:9px
    }

    .teacher-about {
        padding-block:10px 30px
    }

    .teacher-about p {
        font-size:14px
    }

    .groups-section {
        padding-block:24px 25px;
        scroll-margin-top:16px
    }

    .teacher-page .groups-section {
        margin-top:0
    }

    .group-introduction {
        gap:15px;
        align-items:start;
        margin-bottom:20px
    }

    .group-introduction>img {
        width:62px;
        height:62px
    }

    .group-introduction h2 {
        font-size:28px
    }

    .group-introduction p {
        font-size:12px;
        margin-top:8px
    }

    .booking-filters {
        display:grid;
        grid-template-columns:1fr 1fr;
        padding:15px;
        gap:12px
    }

    .booking-filters label {
        min-width:0
    }

    .booking-filters select {
        font-size:16px;
        padding:10px 24px 10px 10px;
        min-height:48px
    }

    .booking-filters label>span {
        font-size:10px
    }

    .filter-clear {
        text-align:left;
        font-size:12px;
        align-self:end;
        padding:0;
        min-height:48px
    }

    .list-meta {
        font-size:10px;
        margin:13px 0
    }

    .list-meta>span {
        white-space:nowrap
    }

    .teacher-group {
        display:block;
        border-radius:13px
    }

    .teacher-group .teacher-media {
        aspect-ratio:4/3;
        height:auto;
        min-height:0
    }

    .teacher-group-body {
        padding:20px 16px
    }

    .teacher-group-heading h3 {
        font-size:28px
    }

    .teacher-bio {
        font-size:13px
    }

    .teacher-group .media-action {
        font-size:17px;
        padding:40px 18px 19px
    }

    .teacher-group .play-circle {
        width:51px;
        height:51px
    }

    .teacher-list {
        gap:22px
    }

    .schedule-row,.directory-page .schedule-row {
        grid-template-columns:minmax(0,1fr);
        gap:12px;
        padding:17px 15px;
        background:#fbfaff
    }

    .schedule-when,.directory-page .schedule-when {
        font-size:19px;
        letter-spacing:-.55px
    }

    .directory-page .schedule-when .icon {
        display:block
    }

    .schedule-start,.directory-page .schedule-start {
        padding-left:0;
        font-size:11px;
        margin-top:6px
    }

    .schedule-about {
        grid-column:auto;
        grid-row:auto;
        font-size:12px
    }

    .schedule-row>.button,.directory-page .schedule-row>.button {
        grid-column:auto;
        grid-row:auto;
        min-height:48px;
        font-size:14px;
        width:100%;
        margin-top:2px
    }

    .schedule-address {
        max-width:none;
        font-size:11px
    }

    .schedule-seats {
        font-size:11px
    }

    .date-note {
        font-size:11px;
        margin-top:15px
    }

    .other-teachers {
        padding:21px 20px;
        margin-top:23px;
        border-radius:12px
    }

    .other-teachers h3 {
        font-size:21px
    }

    .other-teachers p {
        font-size:12px
    }

    .other-teachers .text-link {
        font-size:13px;
        line-height:1.7
    }

    .other-teachers .icon {
        width:20px
    }

    .catalogue-hero {
        padding-block:22px 15px
    }

    .catalogue-hero-row {
        display:block
    }

    .catalogue-hero h1 {
        font-size:39px;
        letter-spacing:-1.7px
    }

    .catalogue-hero p {
        font-size:16px;
        margin-top:15px
    }

    .offer-compact {
        min-width:0;
        max-width:none;
        margin-top:22px;
        text-align:left
    }

    .offer-compact .price {
        justify-content:start
    }

    .offer-compact .offer-freedom {
        margin:0;
        max-width:none
    }

    .back-link {
        font-size:12px;
        margin-bottom:15px
    }

    .questions {
        padding-bottom:30px
    }

    .questions summary {
        font-size:14px;
        padding:19px 0
    }

    .questions details>p {
        font-size:13px
    }

    .site-footer {
        display:block;
        padding-block:27px 100px
    }

    .site-footer>div {
        margin-top:18px;
        gap:10px 16px;
        font-size:11px
    }

    .site-footer img {
        width:140px
    }

    .fgrid {
        grid-template-columns:1fr;
        gap:16px
    }

    .wide {
        grid-column:auto
    }

    .nogroup h2 {
        font-size:24px
    }

    .nogroup .lead {
        font-size:13px
    }

    .consent {
        font-size:11px
    }

    .refresh-error {
        display:block;
        font-size:12px
    }

    .refresh-error button {
        display:block
    }

    .mobile-discovery {
        display:flex;
        position:fixed;
        bottom:14px;
        left:20px;
        right:20px;
        z-index:20;
        box-shadow:0 8px 30px #28205130;
        padding:14px 18px;
        font-size:15px;
        min-height:53px
    }

    .has-hold .mobile-discovery,.groups-in-view .mobile-discovery,.hero-actions-in-view .mobile-discovery {
        display:none
    }

    .holdbar-in {
        padding:13px 20px;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        gap:9px 12px
    }

    .holdbar .t {
        font-size:11px
    }

    .holdbar .t b {
        font-size:13px
    }

    .holdbar .timer {
        font-size:18px
    }

    .holdbar .go {
        grid-column:1/-1;
        grid-row:2;
        font-size:14px;
        min-height:48px
    }

    .holdbar .rel {
        grid-column:1/-1;
        font-size:10px;
        min-height:30px
    }

    .holdbar .err,.holdbar .note {
        grid-column:1/-1;
        font-size:11px
    }

    .has-hold {
        padding-bottom:185px
    }

    .dialog-top h2 {
        font-size:20px
    }

    dialog {
        padding:20px
    }

    .dialog-group strong {
        font-size:20px
    }

}

@media(max-width:370px) {
    .hero h1 {
        font-size:35px
    }

    .hero-description {
        font-size:15px
    }

    .hero .offer {
        display:block
    }

    .hero .offer-freedom {
        border:0;
        max-width:none;
        padding:8px 0 0;
        font-size:11px
    }

    .hero-actions .text-link {
        font-size:12px
    }

    .hero-actions {
        gap:12px
    }

    .practice-grid figure {
        grid-template-columns:100px minmax(0,1fr);
        gap:13px
    }

    .practice-grid h3 {
        font-size:16px
    }

    .practice-grid p {
        font-size:11px
    }

    .catalogue-hero h1 {
        font-size:34px
    }

    .group-introduction h2 {
        font-size:25px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }

}

.booking-page {
    overflow-wrap:anywhere
}

/* Переключатель формата «Online / W placówce» (как в макете): две кнопки в рамке вместо списка. */
.format-toggle {
    display:inline-flex;
    gap:4px;
    padding:4px;
    background:white;
    border:1px solid #dcdaec;
    border-radius:12px;
    align-self:end
}

.format-toggle button {
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:44px;
    padding:0 20px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:var(--ink);
    font:700 15px/1 Manrope,Arial,sans-serif;
    cursor:pointer
}

.format-toggle button .icon {
    width:20px;
    height:20px
}

.format-toggle button[aria-pressed="true"] {
    background:var(--brand);
    color:#fff
}

.format-toggle button:focus-visible {
    outline:3px solid #b8aff7;
    outline-offset:2px
}

.format-toggle[hidden] {
    display:none
}
