:root {
    --navy-950: #0a1235;
    --navy-900: #101a4d;
    --navy-800: #18286f;
    --blue-700: #2441a5;
    --blue-600: #2e55c7;
    --cyan-500: #168bb2;
    --sky-100: #eaf7fb;
    --blue-100: #edf1ff;
    --ink-900: #111936;
    --ink-700: #3f4965;
    --ink-500: #68718a;
    --line: #dde3ef;
    --surface: #ffffff;
    --surface-soft: #f6f8fc;
    --success: #2ca37b;
    --shadow-sm: 0 8px 24px rgba(16, 26, 77, 0.08);
    --shadow-md: 0 18px 50px rgba(16, 26, 77, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --header-height: 82px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    background: var(--surface);
    color: var(--ink-700);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink-900); line-height: 1.13; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5.2rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); letter-spacing: -0.04em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }

.site-shell { margin: 0 auto; max-width: 1220px; padding-inline: 28px; width: 100%; }
.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--surface-soft); }
.section--navy { background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: rgba(255, 255, 255, 0.8); overflow: hidden; }
.section--navy::after { background: radial-gradient(circle, rgba(46, 85, 199, 0.32), transparent 68%); content: ""; height: 620px; position: absolute; right: -230px; top: -240px; width: 620px; }

.sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.skip-link { background: #fff; border-radius: 0 0 8px 8px; color: var(--navy-900); font-weight: 700; left: 16px; padding: 10px 16px; position: fixed; top: -80px; z-index: 1000; }
.skip-link:focus { top: 0; }

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(16, 26, 77, 0.08);
    height: var(--header-height);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
    z-index: 100;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 8px 30px rgba(10, 18, 53, 0.1); }
.site-header__inner { align-items: center; display: flex; gap: 26px; height: 100%; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 12px; }
.brand__logo { background: #fff; border: 1px solid var(--line); border-radius: 50%; height: 54px; object-fit: contain; padding: 4px; width: 54px; }
.brand__copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand__copy strong { color: var(--navy-900); font-size: 1.03rem; }
.brand__copy span { color: var(--ink-500); font-size: 0.7rem; margin-top: 4px; }
.site-nav { align-items: center; display: flex; gap: 4px; margin-left: auto; }
.site-nav a { border-radius: 999px; color: var(--ink-700); font-size: 0.9rem; font-weight: 650; padding: 10px 13px; transition: color 0.2s ease, background-color 0.2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { background: var(--blue-100); color: var(--blue-700); }
.header-phone { align-items: center; background: var(--navy-900); border-radius: 999px; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 0.9rem; font-weight: 750; gap: 9px; padding: 11px 16px; transition: background-color 0.2s ease, transform 0.2s ease; }
.header-phone:hover { background: var(--blue-700); transform: translateY(-1px); }
.nav-toggle { background: transparent; border: 0; cursor: pointer; display: none; height: 46px; margin-left: auto; padding: 10px; width: 46px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { background: var(--navy-900); border-radius: 2px; display: block; height: 2px; position: relative; transition: transform 0.2s ease, opacity 0.2s ease; width: 25px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; position: absolute; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.hero { background: var(--navy-950); color: #fff; min-height: 760px; overflow: hidden; padding: calc(var(--header-height) + 82px) 0 76px; position: relative; }
.hero__backdrop { background-image: linear-gradient(90deg, rgba(7, 15, 48, 0.97) 0%, rgba(13, 27, 78, 0.89) 48%, rgba(22, 74, 132, 0.66) 100%), url("../../images/banner.jpg"); background-position: center; background-size: cover; inset: 0; position: absolute; }
.hero__backdrop::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; content: ""; inset: 0; position: absolute; }
.hero__inner { align-items: center; display: grid; gap: 90px; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); position: relative; z-index: 1; }
.hero__content { max-width: 780px; }
.eyebrow { color: var(--blue-600); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; margin-bottom: 15px; text-transform: uppercase; }
.eyebrow--light { color: #7bd5ee; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 span { color: #73d3ed; }
.hero__lead { color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; margin-bottom: 34px; max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-weight: 750; gap: 9px; justify-content: center; min-height: 52px; padding: 13px 23px; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: #fff; color: var(--navy-900); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.button--primary:hover { background: #eaf8fc; }
.button--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.button--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.button--light { background: #fff; color: var(--navy-900); }
.button--compact { background: var(--blue-700); color: #fff; flex: 0 0 auto; font-size: .88rem; min-height: 46px; padding: 10px 18px; }
.button--compact:hover { background: var(--navy-800); }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 18px 26px; list-style: none; margin: 34px 0 0; padding: 0; }
.hero__highlights li { color: rgba(255,255,255,.82); font-size: .9rem; }
.hero__highlights i { color: #72d7b4; margin-right: 7px; }
.hero-card { backdrop-filter: blur(10px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); box-shadow: 0 28px 65px rgba(0,0,0,.22); padding: 34px; text-align: center; }
.hero-card img { background: #fff; border-radius: 18px; height: 132px; margin: 0 auto 22px; object-fit: contain; padding: 9px; width: 230px; }
.hero-card > p { color: rgba(255,255,255,.82); font-weight: 700; margin-bottom: 15px; }
.hero-card__categories { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.hero-card__categories span { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; font-weight: 800; padding: 9px 4px; }
.hero-card > a { color: #8ce0f5; display: inline-flex; font-size: .9rem; font-weight: 750; gap: 8px; margin-top: 22px; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { align-items: center; border-right: 1px solid var(--line); display: flex; gap: 17px; min-height: 116px; padding: 22px 34px; }
.trust-item:last-child { border-right: 0; }
.trust-item > i { align-items: center; background: var(--blue-100); border-radius: 14px; color: var(--blue-700); display: flex; flex: 0 0 48px; font-size: 1.2rem; height: 48px; justify-content: center; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { color: var(--ink-900); font-size: .98rem; }
.trust-item span { color: var(--ink-500); font-size: .8rem; margin-top: 2px; }

.section-heading { margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 17px; }
.section-heading > p:last-child { color: var(--ink-500); font-size: 1.05rem; margin: 0; max-width: 720px; }
.section-heading--center { margin-inline: auto; max-width: 820px; text-align: center; }
.section-heading--center > p:last-child { margin-inline: auto; }
.section-heading--split { align-items: end; display: flex; justify-content: space-between; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--light h2 { color: #fff; }
.section-heading--light > p:last-child { color: rgba(255,255,255,.68); }
.text-link { align-items: center; color: var(--blue-700); display: inline-flex; font-weight: 750; gap: 9px; }

.course-grid { display: grid; gap: 15px; grid-template-columns: repeat(6, 1fr); }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; flex-direction: column; min-height: 250px; padding: 24px 20px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.course-card:hover { border-color: rgba(46,85,199,.45); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.course-card--featured { background: linear-gradient(150deg, var(--navy-900), var(--blue-700)); border-color: transparent; color: rgba(255,255,255,.76); }
.course-card--featured h3, .course-card--featured .course-card__age { color: #fff; }
.course-card--featured .course-card__mark { background: rgba(255,255,255,.14); color: #fff; }
.course-card__mark { align-items: center; background: var(--blue-100); border-radius: 12px; color: var(--blue-700); display: flex; font-size: 1.05rem; font-weight: 850; height: 47px; justify-content: center; margin-bottom: 28px; min-width: 47px; padding: 0 10px; width: max-content; }
.course-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.course-card p { color: inherit; font-size: .84rem; line-height: 1.55; margin-bottom: 20px; }
.course-card__age { color: var(--navy-800); font-size: .75rem; font-weight: 800; margin-top: auto; text-transform: uppercase; }
.service-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 54px; }
.service-card { border-top: 1px solid var(--line); padding: 30px 12px 0; }
.service-card > i { color: var(--cyan-500); font-size: 1.45rem; margin-bottom: 18px; }
.service-card h3 { margin-bottom: 9px; }
.service-card p { color: var(--ink-500); font-size: .9rem; margin-bottom: 0; }

.pricing-section { background: #fff; }
.pricing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; padding: 24px; }
.pricing-card__scroll-hint { color: var(--ink-500); display: none; font-size: .82rem; margin: 0 0 12px; text-align: center; }
.pricing-table-wrapper { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.pricing-table { border-collapse: collapse; color: var(--ink-700); font-size: .9rem; min-width: 900px; width: 100%; }
.pricing-table caption { clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; }
.pricing-table th, .pricing-table td { border-bottom: 1px solid var(--line); border-right: 1px solid #eef1f6; padding: 17px 13px; text-align: center; vertical-align: middle; white-space: nowrap; }
.pricing-table th:last-child, .pricing-table td:last-child { border-right: 0; }
.pricing-table thead th { background: var(--navy-900); color: #fff; font-weight: 800; }
.pricing-table thead th:first-child { min-width: 235px; text-align: left; }
.pricing-table tbody th { background: #f1f4fb; color: var(--navy-800); font-weight: 750; text-align: left; white-space: normal; }
.pricing-table tbody tr:first-child td { background: #eef2ff; color: var(--blue-700); font-weight: 850; }
.pricing-table tbody tr:nth-child(even) td { background: #fafbfe; }
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-card__footer { align-items: center; background: var(--blue-100); border-radius: 13px; display: flex; gap: 22px; justify-content: space-between; margin-top: 18px; padding: 17px 20px; }
.pricing-card__footer p { font-size: .84rem; margin: 0; }
.pricing-card__footer strong { color: var(--navy-800); }

.about-grid { align-items: center; display: grid; gap: 82px; grid-template-columns: 1.05fr .95fr; position: relative; z-index: 1; }
.about-media { position: relative; }
.about-media > img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); box-shadow: 0 25px 60px rgba(0,0,0,.28); object-fit: cover; width: 100%; }
.about-media__badge { align-items: center; background: #fff; border-radius: 16px; bottom: -25px; box-shadow: var(--shadow-md); display: flex; gap: 14px; left: 28px; padding: 17px 20px; position: absolute; }
.about-media__badge strong { color: var(--blue-700); font-size: 1.5rem; }
.about-media__badge span { color: var(--ink-500); font-size: .76rem; line-height: 1.3; max-width: 120px; }
.about-copy h2 { color: #fff; margin-bottom: 23px; }
.about-copy > p:not(.eyebrow) { line-height: 1.8; }
.check-list { display: grid; gap: 14px; list-style: none; margin: 28px 0 34px; padding: 0; }
.check-list li { align-items: flex-start; display: flex; gap: 11px; }
.check-list i { align-items: center; background: rgba(114,215,180,.13); border-radius: 50%; color: #72d7b4; display: flex; flex: 0 0 24px; font-size: .7rem; height: 24px; justify-content: center; margin-top: 1px; }

.gallery-preview { background: #fff; }
.preview-grid { display: grid; gap: 18px; grid-template-columns: 1.4fr .8fr .8fr; }
.preview-card { border-radius: var(--radius-md); min-height: 370px; overflow: hidden; position: relative; }
.preview-card img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.preview-card::after { background: linear-gradient(transparent 50%, rgba(6,13,42,.82)); content: ""; inset: 0; position: absolute; }
.preview-card span { bottom: 22px; color: #fff; font-size: 1.05rem; font-weight: 750; left: 24px; position: absolute; z-index: 1; }
.preview-card:hover img { transform: scale(1.045); }

.contact-section { background: linear-gradient(160deg, #0a1235 0%, #12266d 60%, #155c8a 130%); color: rgba(255,255,255,.78); overflow: hidden; }
.location-showcase-list { display: grid; gap: 22px; margin-bottom: 22px; }
.location-showcase { background: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-lg); box-shadow: 0 28px 70px rgba(3,9,34,.26); color: var(--ink-700); display: grid; grid-template-columns: minmax(300px, .75fr) minmax(420px, 1.25fr); min-height: 410px; overflow: hidden; }
.location-showcase--reverse { background: #f4f7ff; grid-template-columns: minmax(420px, 1.25fr) minmax(300px, .75fr); }
.location-showcase--reverse .location-showcase__content { order: 2; }
.location-showcase--reverse .location-showcase__map { order: 1; }
.location-showcase__content { align-self: center; padding: 48px; }
.location-showcase__eyebrow { align-items: center; color: var(--blue-700); display: inline-flex; font-size: .75rem; font-weight: 850; gap: 9px; letter-spacing: .12em; margin-bottom: 17px; text-transform: uppercase; }
.location-showcase__eyebrow i { color: var(--cyan-600); font-size: 1rem; }
.location-showcase h3 { color: var(--ink-900); font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 18px; }
.location-showcase address { color: var(--blue-700); font-size: 1.15rem; font-style: normal; font-weight: 800; line-height: 1.5; margin-bottom: 16px; }
.location-showcase p { font-size: .94rem; line-height: 1.75; margin: 0; }
.location-showcase__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.location-showcase__actions .button--primary { background: var(--blue-700); box-shadow: 0 12px 28px rgba(25,62,176,.24); color: #fff; }
.location-showcase__actions .button--primary:hover { background: var(--blue-800); }
.location-showcase__actions .button--text { color: var(--blue-700); }
.location-showcase__map { min-height: 410px; position: relative; }
.location-showcase__map::after { border: 1px solid rgba(15,42,130,.08); content: ""; inset: 0; pointer-events: none; position: absolute; }
.location-showcase__map iframe { border: 0; display: block; height: 100%; inset: 0; min-height: 410px; position: absolute; width: 100%; }
.contact-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-sm); display: flex; flex-direction: column; min-height: 178px; padding: 24px; transition: background-color .2s ease, transform .2s ease; }
.contact-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.contact-card > i { color: #77d7ee; font-size: 1.25rem; margin-bottom: 28px; }
.contact-card span { color: rgba(255,255,255,.58); font-size: .75rem; margin-bottom: 5px; text-transform: uppercase; }
.contact-card strong { color: #fff; font-size: .92rem; overflow-wrap: anywhere; }
.contact-details-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.info-panel { align-items: flex-start; background: #fff; border-radius: var(--radius-sm); color: var(--ink-700); display: flex; gap: 18px; margin: 0; padding: 27px; }
.info-panel__icon { align-items: center; background: var(--blue-100); border-radius: 13px; color: var(--blue-700); display: flex; flex: 0 0 46px; height: 46px; justify-content: center; }
.info-panel h3 { margin: 2px 0 14px; }
.info-panel p { font-size: .88rem; margin: 7px 0 0; }
.info-panel a { color: var(--blue-700); font-weight: 700; }
.opening-hours { margin: 0; }
.opening-hours > div { display: flex; font-size: .88rem; gap: 20px; justify-content: space-between; padding: 5px 0; }
.opening-hours dt { color: var(--ink-500); }
.opening-hours dd { color: var(--ink-900); font-weight: 750; margin: 0; }
.instructors-block { border-top: 1px solid rgba(255,255,255,.15); margin-top: 55px; padding-top: 42px; }
.instructors-block__heading h3 { color: #fff; font-size: 1.9rem; margin-bottom: 25px; }
.instructor-grid { display: grid; gap: 13px; grid-template-columns: repeat(4, 1fr); }
.instructor-card { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; display: flex; gap: 12px; padding: 15px; }
.instructor-card > span { align-items: center; background: #fff; border-radius: 50%; color: var(--blue-700); display: flex; flex: 0 0 42px; font-size: .76rem; font-weight: 850; height: 42px; justify-content: center; }
.instructor-card > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.instructor-card strong { color: #fff; font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.instructor-card small { color: rgba(255,255,255,.58); margin-top: 2px; }
.instructor-card > i { color: #77d7ee; font-size: .82rem; }

.site-footer { background: #070d26; color: rgba(255,255,255,.55); padding: 42px 0; }
.site-footer__inner { align-items: center; display: grid; gap: 20px; grid-template-columns: auto 1fr auto; }
.brand--footer .brand__copy strong { color: #fff; }
.brand--footer .brand__copy span { color: rgba(255,255,255,.48); }
.site-footer__inner > p { font-size: .85rem; margin: 0; }
.site-footer__links { display: flex; gap: 18px; }
.site-footer__links a { color: rgba(255,255,255,.78); font-size: .84rem; font-weight: 650; }
.site-footer__copyright { border-top: 1px solid rgba(255,255,255,.1); grid-column: 1 / -1; padding-top: 20px; text-align: center; }

/* Gallery */
.page-hero { background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #fff; padding: calc(var(--header-height) + 74px) 0 75px; position: relative; text-align: center; }
.page-hero::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; content: ""; inset: 0; position: absolute; }
.page-hero .site-shell { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.8rem); margin-bottom: 15px; }
.page-hero p:last-child { color: rgba(255,255,255,.68); margin: 0 auto; max-width: 680px; }
.gallery-page { background: var(--surface-soft); }
.gallery-toolbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 28px; }
.gallery-toolbar p { color: var(--ink-500); margin: 0; }
.back-link { align-items: center; color: var(--blue-700); display: inline-flex; font-weight: 750; gap: 8px; }
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.gallery-card { aspect-ratio: 4 / 3; background: #e7eaf2; border: 0; border-radius: 14px; cursor: zoom-in; overflow: hidden; padding: 0; position: relative; }
.gallery-card img { height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; width: 100%; }
.gallery-card::after { align-items: center; background: rgba(9,18,58,.58); border-radius: 50%; color: #fff; content: "\f00e"; display: flex; font-family: "Font Awesome 5 Free"; font-size: 1rem; font-weight: 900; height: 46px; justify-content: center; left: 50%; opacity: 0; position: absolute; top: 50%; transform: translate(-50%, -40%); transition: opacity .25s ease, transform .25s ease; width: 46px; }
.gallery-card:hover img, .gallery-card:focus-visible img { filter: brightness(.78); transform: scale(1.04); }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: 1; transform: translate(-50%, -50%); }
.gallery-card:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; }
.gallery-dialog { background: transparent; border: 0; height: 100%; margin: 0; max-height: none; max-width: none; padding: 0; width: 100%; }
.gallery-dialog::backdrop { background: rgba(3,7,22,.94); }
.gallery-dialog__inner { align-items: center; display: flex; height: 100%; justify-content: center; padding: 54px 88px; position: relative; width: 100%; }
.gallery-dialog__figure { align-items: center; display: flex; height: 100%; justify-content: center; margin: 0; max-width: 1500px; width: 100%; }
.gallery-dialog__figure img { border-radius: 8px; box-shadow: 0 25px 75px rgba(0,0,0,.45); max-height: calc(100vh - 110px); max-width: 100%; object-fit: contain; }
.gallery-dialog__close, .gallery-dialog__nav { align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; cursor: pointer; display: flex; height: 50px; justify-content: center; position: absolute; width: 50px; }
.gallery-dialog__close { right: 24px; top: 22px; }
.gallery-dialog__nav { top: 50%; transform: translateY(-50%); }
.gallery-dialog__nav--prev { left: 22px; }
.gallery-dialog__nav--next { right: 22px; }
.gallery-dialog__counter { bottom: 20px; color: rgba(255,255,255,.7); font-size: .85rem; left: 50%; position: absolute; transform: translateX(-50%); }

@media (max-width: 1120px) {
    .brand__copy span { display: none; }
    .site-nav a { padding-inline: 10px; }
    .header-phone span { display: none; }
    .header-phone { height: 44px; justify-content: center; padding: 0; width: 44px; }
    .course-grid { grid-template-columns: repeat(3, 1fr); }
    .course-card { min-height: 220px; }
    .preview-grid { grid-template-columns: 1.2fr .8fr; }
    .preview-card:last-child { display: none; }
    .contact-grid, .instructor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --header-height: 72px; }
    .site-shell { padding-inline: 22px; }
    .nav-toggle { display: block; }
    .header-phone { margin-left: 0; }
    .site-nav { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 22px 40px rgba(10,18,53,.16); display: none; flex-direction: column; gap: 3px; left: 0; padding: 14px 22px 22px; position: absolute; right: 0; top: var(--header-height); }
    .site-nav.is-open { display: flex; }
    .site-nav a { border-radius: 10px; padding: 12px 14px; width: 100%; }
    .hero { min-height: auto; padding-top: calc(var(--header-height) + 68px); }
    .hero__inner { gap: 50px; grid-template-columns: 1fr; }
    .hero__content { max-width: 760px; }
    .hero-card { display: none; }
    .trust-strip__grid { grid-template-columns: 1fr; padding-block: 12px; }
    .trust-item { border-bottom: 1px solid var(--line); border-right: 0; min-height: 88px; padding: 16px 4px; }
    .trust-item:last-child { border-bottom: 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card__scroll-hint { display: block; }
    .pricing-table thead th:first-child, .pricing-table tbody th { left: 0; position: sticky; z-index: 2; }
    .pricing-table thead th:first-child { z-index: 3; }
    .pricing-card__footer { align-items: stretch; flex-direction: column; }
    .pricing-card__footer .button { align-self: flex-start; }
    .about-grid { gap: 58px; grid-template-columns: 1fr; }
    .about-media { max-width: 720px; }
    .location-showcase { grid-template-columns: 1fr; }
    .location-showcase--reverse .location-showcase__content { order: 1; }
    .location-showcase--reverse .location-showcase__map { order: 2; }
    .location-showcase__map { min-height: 360px; }
    .location-showcase__map iframe { min-height: 360px; }
    .contact-details-grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .site-footer .brand { justify-content: center; }
    .site-footer__links { justify-content: center; }
    .site-footer__copyright { grid-column: auto; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
    .section { padding: 76px 0; }
    .site-shell { padding-inline: 16px; }
    .brand__logo { height: 47px; width: 47px; }
    .brand__copy strong { font-size: .94rem; }
    .header-phone { display: none; }
    .hero { padding-bottom: 58px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero__highlights { align-items: flex-start; flex-direction: column; gap: 10px; }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .course-card { min-height: 225px; padding: 20px 16px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { padding-inline: 0; }
    .pricing-card { border-radius: 15px; padding: 12px; }
    .pricing-table { font-size: .78rem; min-width: 820px; }
    .pricing-table thead th:first-child { min-width: 220px; }
    .pricing-table th, .pricing-table td { padding: 14px 11px; }
    .pricing-card__footer { padding: 15px; }
    .pricing-card__footer .button { align-self: stretch; text-align: center; }
    .about-grid { gap: 55px; }
    .about-media__badge { bottom: -28px; left: 14px; }
    .section-heading--split { align-items: flex-start; flex-direction: column; gap: 18px; }
    .preview-grid { grid-template-columns: 1fr; }
    .preview-card { min-height: 290px; }
    .preview-card:not(:first-child) { display: none; }
    .contact-grid, .instructor-grid { grid-template-columns: 1fr; }
    .contact-card { min-height: 150px; }
    .location-showcase { border-radius: var(--radius-md); }
    .location-showcase__content { padding: 30px 24px; }
    .location-showcase__actions { align-items: stretch; flex-direction: column; }
    .location-showcase__actions .button { justify-content: center; width: 100%; }
    .location-showcase__map, .location-showcase__map iframe { min-height: 310px; }
    .info-panel { padding: 21px; }
    .opening-hours > div { flex-direction: column; gap: 0; }
    .site-footer__links { flex-wrap: wrap; }
    .gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .gallery-card { border-radius: 10px; }
    .gallery-dialog__inner { padding: 65px 8px; }
    .gallery-dialog__nav { height: 44px; top: auto; bottom: 16px; transform: none; width: 44px; }
    .gallery-dialog__nav--prev { left: 16px; }
    .gallery-dialog__nav--next { right: 16px; }
    .gallery-dialog__counter { bottom: 27px; }
}

@media (max-width: 420px) {
    .course-grid { grid-template-columns: 1fr; }
    .course-card { min-height: 195px; }
    .course-card__mark { margin-bottom: 22px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
