/* ==========================================================
   01. Design tokens and global defaults
   ========================================================== */
:root {
    --ink: #172036;
    --muted: #62687a;
    --purple: #8a6cdb;
    --purple-dark: #7557cc;
    --orange: #ff6725;
    --white: #fff;
    --button-font-size: 17px;
    --section-kicker-size: 12px;
    --section-title-size: clamp(38px, 3.7vw, 54px);
    --section-lead-size: 17px;
    --card-title-size: 20px;
    --card-text-size: 15px;
    --supporting-text-size: 14px;
    --section-space: 92px;
    --section-space-mobile: 68px;
}
 
* { box-sizing: border-box; }

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section[id],
footer[id],
[id="kindergarten"],
[id="school"] { scroll-margin-top: 24px; }
 
body {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: #f6f2f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Media and embedded widgets must never enlarge the mobile viewport. */
img,
svg,
iframe,
video { max-width: 100%; }
  
a,
a:hover,
a:focus { text-decoration: none; }
 
/* ==========================================================
   02. Hero and main navigation
   ========================================================== */
.hero { 
    position: relative;
    min-height: auto;
    overflow: hidden;
    isolation: isolate;
    background-color: #f7f2f8;
    background-image:
        linear-gradient(90deg, rgba(249, 246, 251, .99) 0%, rgba(249, 246, 251, .94) 36%, rgba(249, 246, 251, .44) 57%, rgba(249, 246, 251, .04) 76%),
        url("img/bg.webp");
    background-position: center, center;
    background-size: cover;
}
 
.hero::before {
    position: absolute;
    z-index: -1;
    top: -140px;
    left: -100px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(153, 115, 208, .09);
    filter: blur(1px);
    content: "";
}

/* Optional hero variant used by index-video.html. */
.hero-video {
    background-image: url("img/bg.webp");
}

.hero-video::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(249,246,251,.96) 0%, rgba(249,246,251,.88) 38%, rgba(249,246,251,.42) 62%, rgba(30,20,45,.18) 100%);
    content: "";
    pointer-events: none;
}

.hero-video-background {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    background: #dcd2e6 url("img/bg.webp") center/cover no-repeat;
    pointer-events: none;
}

.hero-video-background video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
 
.site-header {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 20px;
}

.nav-shell {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    width: min(1420px, 100%);
    min-height: 92px;
    margin: 0 auto;
    padding: 14px 18px 14px 22px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 55px rgba(51, 37, 71, .08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.brand-mark {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(64, 39, 88, .14));
}

.brand-name {
    display: block;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.35px;
}

.brand-subtitle {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.3vw, 38px);
    margin: 0 auto;
    padding: 0 24px;
}

.desktop-nav > a,
.desktop-nav .nav-parent {
    color: #292c38;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

.desktop-nav > a:hover,
.desktop-nav .nav-parent:hover { color: var(--purple-dark); }

.nav-parent { display: inline-flex; align-items: center; }

.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 22px; }

.phone-block { min-width: 155px; }
.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}
.phone .icon-placeholder { color: #d04e1c; }
.phone-svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: currentColor; }
.phone-svg path { fill: currentColor; }
.phone .phone-svg { color: #c9552b; }
.mobile-header-phone .phone-svg,
.field-placeholder .phone-svg,
.trial-form .phone-svg,
.address-content .phone-svg { color: var(--purple); }
.footer-contacts .phone-svg { color: rgba(255,255,255,.78); }
.floating-call .phone-svg { width: 24px; height: 24px; color: #fff; }
.thanks-note .phone-svg { width: 22px; height: 22px; color: var(--purple-dark); }
.callback { display: block; margin-top: 7px; color: var(--purple); font-size: 13px; font-weight: 700; }
.callback { padding: 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.callback:hover { color: var(--purple-dark); }

.button-contact {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #8c6bd9, #987be2);
    box-shadow: 0 10px 25px rgba(112, 78, 196, .2);
    font-size: var(--button-font-size);
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button-contact:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(112,78,196,.3); }

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--purple);
    cursor: pointer;
}

.mobile-header-phone {
    display: none;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--ink);
    background: #f3eefc;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.mobile-header-phone:hover { color: var(--purple-dark); }
.mobile-header-phone .icon-placeholder { color: var(--purple); }
.control-icon-placeholder { display: grid; width: 22px; height: 22px; place-items: center; }

.hero-content {
    display: flex;
    box-sizing: border-box;
    width: min(1420px, calc(100% - 48px));
    min-height: 0;
    align-items: flex-start;
    margin: 0 auto;
    padding: 44px 0 112px;
}

.hero-copy { width: min(720px, 54%); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    margin: 0 0 24px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #8062d0, #9a80dd);
    box-shadow: 0 8px 20px rgba(114, 80, 197, .15);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .25px;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(42px, 3.25vw, 54px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -2.1px;
}

h1 span { color: var(--purple); }

.hero-text {
    max-width: 490px;
    margin: 24px 0 0;
    color: #5c6272;
    font-size: 16px;
    line-height: 1.55;
}

.hero-buttons { display: flex; align-items: stretch; gap: 16px; margin-top: 30px; }

.primary-button,
.video-button {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.primary-button {
    min-width: 292px;
    gap: 36px;
    padding: 0 28px;
    color: #fff;
    background: linear-gradient(135deg, #ff5d1a, #ff7a2b);
    box-shadow: 0 14px 30px rgba(255, 102, 35, .25);
}

.primary-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255,102,35,.35); }

.video-button {
    gap: 12px;
    min-width: 218px;
    padding: 0 23px;
    border: 1px solid rgba(132, 99, 212, .42);
    color: #35374a;
    background: rgba(255,255,255,.64);
    text-align: left;
    font-weight: 500;
    line-height: 1.25;
    backdrop-filter: blur(8px);
}

.video-button:hover { color: var(--purple-dark); transform: translateY(-2px); background: #fff; }

/* Prominent animated video CTA on both homepage variants. */
.hero .video-button {
    position: relative;
    isolation: isolate;
    min-width: 246px;
    overflow: hidden;
    gap: 14px;
    padding: 0 24px 0 18px;
    border: 1px solid rgba(255,255,255,.7);
    color: #fff;
    background: linear-gradient(115deg, #7451ce 0%, #9874e6 52%, #7653d0 100%);
    background-size: 200% 100%;
    box-shadow: 0 14px 32px rgba(102,66,188,.36), 0 0 0 0 rgba(137,98,222,.28);
    font-weight: 800;
    animation: hero-video-cta-pulse 2.4s ease-in-out infinite;
}

.hero .video-button::before {
    position: absolute;
    z-index: -1;
    top: -45%;
    left: -38%;
    width: 30%;
    height: 190%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
    content: "";
    transform: rotate(18deg);
    animation: hero-video-cta-shine 3.2s ease-in-out infinite;
}

.hero .video-button:hover {
    color: #fff;
    background-position: 100% 0;
    box-shadow: 0 19px 40px rgba(91,55,178,.46);
    transform: translateY(-3px) scale(1.025);
}

.hero .video-button .video-play-mark {
    position: relative;
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(49,27,103,.24);
}

.hero .video-button .video-play-mark::before {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--purple-dark);
    content: "";
    transform: translate(-42%, -50%);
}

.hero .video-button .video-button-copy { font-size: 16px; line-height: 1.12; }
.hero .video-button small { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600; }

@keyframes hero-video-cta-pulse {
    0%, 100% { box-shadow: 0 14px 32px rgba(102,66,188,.36), 0 0 0 0 rgba(137,98,222,.3); }
    50% { box-shadow: 0 17px 38px rgba(102,66,188,.42), 0 0 0 9px rgba(137,98,222,0); }
}

@keyframes hero-video-cta-shine {
    0%, 58% { left: -38%; opacity: 0; }
    66% { opacity: 1; }
    88%, 100% { left: 118%; opacity: 0; }
}

.play-icon {
    display: block;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    transform-origin: center;
    animation: video-play-pulse 1.8s ease-in-out infinite;
}

.play-icon path { fill: var(--purple); }

@keyframes video-play-pulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================
   03. Academy programs and trust points
   ========================================================== */
.programs-section {
    position: relative;
    z-index: 2;
    padding: 34px 0 80px;
    background: linear-gradient(180deg, #f8f5fa 0%, #fff 100%);
}

.trust-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -76px;
    padding: 31px 36px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 50px rgba(54, 39, 78, .08);
    backdrop-filter: blur(14px);
}

.trust-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 80px; }
.trust-item > div { min-width: 0; }
.trust-icon { display: grid; width: 64px; height: 64px; place-items: center; align-self: center; color: var(--purple); }
.trust-icon > svg { display: block; width: 56px; height: 56px; }
.icon-placeholder::after { width: 16px; height: 16px; border: 2px dashed currentColor; border-radius: 4px; opacity: .55; content: ""; }
.trust-item h2 { margin: 0 0 7px; color: var(--ink); font-size: var(--card-title-size); font-weight: 800; line-height: 1.22; letter-spacing: -.25px; }
.trust-item p { max-width: 360px; margin: 0; color: var(--muted); font-size: var(--card-text-size); line-height: 1.48; }

.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }

.program-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 210px;
    overflow: hidden;
    align-items: flex-start;
    padding: 25px 22px;
    border-radius: 18px;
    color: var(--ink);
    background-color: #f3eaf2;
    background-position: center;
    background-size: cover;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease;
}

.program-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.5) 42%, rgba(255,255,255,0) 72%);
    content: "";
}

.program-card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: 0 18px 35px rgba(44,31,67,.13); }
.program-card-nursery { background-image: url("img/program-nursery.webp"); background-color: #f9e8e3; }
.program-card-kindergarten { background-image: url("img/program-02.webp"); background-color: #f9edcf; }
.program-card-prep { background-image: url("img/program-03.webp"); background-color: #e8eef9; }
.program-card-school { background-image: url("img/program-04.webp"); background-color: #eee3fa; }
.program-copy { display: grid; gap: 8px; }
.program-copy strong { font-size: var(--card-title-size); font-weight: 800; line-height: 1.15; }
.program-copy small { font-size: var(--supporting-text-size); font-weight: 600; }

.program-arrow {
    position: absolute;
    bottom: 25px;
    left: 22px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--purple);
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 18px rgba(45,34,67,.08);
    font-size: 18px;
    font-weight: 800;
}

.program-arrow-orange { color: var(--orange); }

.program-arrow-image {
    width: 48px;
    height: 48px;
    padding: 10px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 10px 24px rgba(45,34,67,.1);
    transition: transform .22s ease, box-shadow .22s ease;
}

.program-card:hover .program-arrow-image {
    transform: translate(3px,-3px);
    box-shadow: 0 14px 28px rgba(45,34,67,.15);
}

/* ==========================================================
   04. Academy advantages
   ========================================================== */
.advantages-section {
    position: relative;
    overflow: hidden;
    padding: var(--section-space) 0;
    background:
        radial-gradient(circle at 16% 25%, rgba(255, 185, 120, .09), transparent 27%),
        radial-gradient(circle at 86% 15%, rgba(141, 108, 219, .08), transparent 25%),
        #fcfaf7;
}

.section-heading { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.section-heading > p { display: inline-flex; margin: 0 0 13px; padding: 7px 14px; border-radius: 999px; color: #ff6b28; background: #fff0e7; font-size: var(--section-kicker-size); font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: var(--section-title-size); font-weight: 800; line-height: 1.08; letter-spacing: -1.8px; }
.section-heading > span { display: block; margin-top: 17px; color: #777b88; font-size: var(--section-lead-size); line-height: 1.55; }

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.advantage-card {
    --accent: #ff6b28;
    --accent-soft: #fff0e7;
    position: relative;
    min-height: 380px;
    overflow: hidden;
    padding: 32px 30px 36px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 30px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 15px 38px rgba(62,45,82,.055);
    transition: transform .25s ease, box-shadow .25s ease;
}

.advantage-card:hover { transform: translateY(-5px); box-shadow: 0 21px 42px rgba(62,45,82,.1); }
.advantage-card::after { position: absolute; bottom: 28px; left: 30px; width: 50px; height: 3px; border-radius: 999px; background: var(--accent); content: ""; }
.advantage-icon {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: none;
    transition: transform .25s ease;
}
.advantage-icon > img { display: block; width: 56px; height: 56px; object-fit: contain; }
.advantage-card:hover .advantage-icon { transform: rotate(-4deg) scale(1.06); }
.advantage-card b { position: absolute; top: 29px; right: 25px; color: #f2efec; font-size: 58px; font-weight: 800; line-height: 1; }
.advantage-card h3 { margin: 24px 0 14px; color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.35px; }
.advantage-card p { margin: 0; color: #565b68; font-size: 16px; line-height: 1.58; }
.accent-mint { --accent: #28aa80; --accent-soft: #e9f8f1; }
.accent-yellow { --accent: #f4ad00; --accent-soft: #fff6dc; }
.accent-green { --accent: #69ad3d; --accent-soft: #eef8e8; }
.accent-purple { --accent: #8063ce; --accent-soft: #f0ecfb; }
.accent-blue { --accent: #397eb7; --accent-soft: #eaf3fa; }
.accent-orange { --accent: #ff6b28; --accent-soft: #fff0e7; }

/* ==========================================================
   05. Interactive daily routine
   ========================================================== */
.day-section { padding: var(--section-space) 0; background: #fff; }
.day-heading { margin-bottom: 38px; }
.day-heading > p { display: inline-flex; margin: 0 0 13px; padding: 7px 14px; border-radius: 999px; color: var(--purple); background: #f0ebfb; font-size: var(--section-kicker-size); font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.day-heading h2 { margin: 0; color: var(--ink); font-size: var(--section-title-size); font-weight: 800; line-height: 1.08; letter-spacing: -1.8px; }
.day-heading > span { display: block; margin-top: 17px; color: #777b88; font-size: var(--section-lead-size); line-height: 1.55; }

.day-tabs { display: grid; grid-template-columns: repeat(8, minmax(105px,1fr)); gap: 4px; margin-bottom: 34px; overflow-x: auto; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { --day-color: #7655c8; --day-bg: #f0ebfb; position: relative; display: grid; min-width: 0; justify-items: center; gap: 9px; padding: 0 5px; border: 0; color: #777b89; background: transparent; font-family: inherit; cursor: pointer; }
.day-tab:nth-child(1) { --day-color: #7655c8; --day-bg: #eee8fb; }
.day-tab:nth-child(2) { --day-color: #4f8c32; --day-bg: #eff6e9; }
.day-tab:nth-child(3) { --day-color: #e25f25; --day-bg: #fff0e8; }
.day-tab:nth-child(4) { --day-color: #4e8b37; --day-bg: #edf6e9; }
.day-tab:nth-child(5) { --day-color: #8060c5; --day-bg: #f1ecfa; }
.day-tab:nth-child(6) { --day-color: #dc8a13; --day-bg: #fff3df; }
.day-tab:nth-child(7) { --day-color: #299786; --day-bg: #e8f6f2; }
.day-tab:nth-child(8) { --day-color: #7557bd; --day-bg: #f1edfa; }
.day-tab::after { position: absolute; z-index: 0; top: 62px; left: calc(50% + 44px); width: calc(100% - 80px); border-top: 1px dashed #ddd7e7; content: ""; }
.day-tab:last-child::after { display: none; }
.day-tab small { color: #9e87db; font-size: 15px; font-weight: 700; line-height: 1; }
.day-icon { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid color-mix(in srgb, var(--day-color) 16%, white); border-radius: 50%; color: var(--day-color); background: var(--day-bg); box-shadow: 0 9px 22px rgba(60,42,86,.07); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.day-icon img { display: block; width: 46px; height: 46px; object-fit: contain; transition: filter .2s ease, transform .2s ease; }
.day-icon.is-missing::after { width: 20px; height: 20px; border: 2px dashed currentColor; border-radius: 6px; opacity: .5; content: ""; }
.day-icon.is-missing img { display: none; }
.day-tab > span { min-height: 42px; color: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; }
.day-tab:hover .day-icon { transform: translateY(-3px); box-shadow: 0 13px 27px rgba(112,76,196,.17); }
.day-tab.is-active .day-icon {
    color: var(--day-color);
    border: 2px solid color-mix(in srgb, var(--day-color) 45%, white);
    background: var(--day-bg);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--day-color) 18%, transparent), 0 12px 24px color-mix(in srgb, var(--day-color) 18%, transparent);
}
.day-tab:hover .day-icon img, .day-tab.is-active .day-icon img { transform: scale(1.06); }
.day-tab.is-active { color: var(--purple-dark); }
.day-tab.is-active > span:last-child { font-weight: 700; }

.day-panel { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); min-height: 440px; overflow: hidden; border: 1px solid #ede8f3; border-radius: 28px; background: linear-gradient(135deg,#fbf9ff,#fff); box-shadow: 0 18px 50px rgba(50,35,75,.07); }
.day-panel.is-changing { animation: day-panel-change .42s cubic-bezier(.22,1,.36,1); }
.day-panel-copy { display: flex; min-width: 0; min-height: 440px; flex-direction: column; justify-content: flex-start; padding: 42px 40px 36px; }
.day-panel-copy > header { display: flex; align-items: center; gap: 16px; }
.day-panel-copy > header span { display: grid; min-width: 70px; height: 44px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#b29de7,#8a6ad7); font-size: 18px; font-weight: 700; }
.day-panel-copy h3 { margin: 0; color: var(--ink); font-size: 27px; font-weight: 800; line-height: 1.2; }
.day-panel-copy > p { max-width: 540px; margin: 25px 0 30px; color: #565c6a; font-size: 16px; line-height: 1.62; }
.day-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.day-benefits li { display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: center; color: #535866; font-size: 13px; font-weight: 600; line-height: 1.4; }
.day-benefits i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--purple); background: #fff; box-shadow: 0 7px 18px rgba(65,43,101,.07); font-style: normal; }
.day-benefits i svg { width: 20px; height: 20px; stroke-width: 1.8; }
.day-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.day-controls button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 14px; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; }
.day-controls button:first-child { min-width: 112px; padding: 0 20px; color: var(--ink); background: #fff; box-shadow: 0 8px 20px rgba(50,36,74,.08); }
.day-controls button:last-child { min-width: 128px; padding: 0 22px; color: #fff; background: linear-gradient(100deg,#8464d5,#9876df); box-shadow: 0 12px 25px rgba(107,73,190,.2); }
.day-controls button:last-child > span { animation: day-next-arrow 1.45s ease-in-out infinite; }

@keyframes day-next-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
.day-panel-image { min-height: 440px; border-radius: 28px 0 0 28px; background: #eee8f4 url("img/01.webp") center/cover no-repeat; }

@keyframes day-panel-change {
    from { opacity: .76; }
    to { opacity: 1; }
}

/* ==========================================================
   06. Video tour and excursion form
   ========================================================== */
.excursion-section { padding: var(--section-space) 0; background: #fff; }

.excursion-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(123,91,180,.1);
    border-radius: 32px;
    background: linear-gradient(135deg,#fff,#fbf9ff);
    box-shadow: 0 24px 70px rgba(50,35,76,.1);
}

.excursion-content {
    position: relative;
    overflow: hidden;
    padding: 42px 42px 35px;
    border: 1px solid rgba(139,108,219,.08);
    border-radius: 25px;
    background:
        radial-gradient(circle at 100% 100%, rgba(137,106,218,.13), transparent 37%),
        radial-gradient(circle at 0 0, rgba(255,126,54,.055), transparent 30%),
        linear-gradient(145deg, #fff 0%, #faf8ff 100%);
}

.excursion-content::after { position: absolute; right: -65px; bottom: -95px; width: 260px; height: 210px; border: 1px solid rgba(139,108,219,.1); border-radius: 50%; content: ""; pointer-events: none; }

.excursion-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 19px;
    padding: 8px 13px;
    border: 1px solid #e6ddfa;
    border-radius: 9px;
    color: var(--purple);
    background: rgba(255,255,255,.8);
    font-size: var(--supporting-text-size);
    font-weight: 700;
}

.label-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; background: #efe9fb; }
.label-icon.icon-placeholder::after, .field-placeholder.icon-placeholder::after { width: 9px; height: 9px; border-width: 1px; }

.excursion-content h2 { margin: 0; color: var(--ink); font-size: var(--section-title-size); font-weight: 800; line-height: 1.04; letter-spacing: -1.5px; text-transform: uppercase; }
.excursion-content h2 span { color: var(--purple); }
.excursion-intro { max-width: 590px; margin: 20px 0 24px; color: #5f6472; font-size: var(--card-text-size); line-height: 1.58; }
.excursion-highlights { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 24px; padding: 0; list-style: none; }
.excursion-highlights li { padding: 7px 11px; border: 1px solid rgba(135,101,214,.14); border-radius: 999px; color: #656979; background: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; line-height: 1.2; }
.excursion-form { position: relative; z-index: 2; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.excursion-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.excursion-fields label {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid #ebe7f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(49,35,72,.04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.excursion-fields label:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(138,108,219,.09); }
.field-placeholder { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; color: var(--purple); }
.excursion-fields input { min-width: 0; width: 100%; height: 52px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; }
.excursion-fields input::placeholder { color: #989baa; font-weight: 500; }

.excursion-form > button {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(100deg, #8464d5 0%, #9a78df 100%);
    box-shadow: 0 14px 28px rgba(114,78,197,.22);
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.excursion-form > button span { font-size: 25px; font-weight: 400; line-height: 1; transition: transform .2s ease; }

.excursion-form > button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(114,78,197,.3); }
.excursion-form > button:hover span { transform: translateX(4px); }
.excursion-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: #777c89; font-size: 12px; line-height: 1.5; cursor: pointer; }
.excursion-consent input { flex: 0 0 15px; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--purple); }
.excursion-consent a { color: var(--purple); }

.excursion-success { position: relative; z-index: 2; margin-top: 25px; padding: 25px; border-radius: 15px; color: var(--ink); background: #efeafa; text-align: center; }
.excursion-success strong, .excursion-success span { display: block; }
.excursion-success strong { margin-bottom: 6px; font-size: 20px; }
.excursion-success span { color: var(--muted); font-size: 14px; }

.excursion-video {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 25px;
    background: #17131f;
    box-shadow: 0 18px 45px rgba(41,29,60,.14);
    min-height: 100%;
}

.excursion-video iframe { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { position: absolute; z-index: 2; bottom: 22px; left: 24px; display: none; color: #fff; pointer-events: none; }
.video-caption strong, .video-caption span { display: block; }
.video-caption strong { font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.video-caption span { margin-top: 10px; font-size: 13px; }

/* ==========================================================
   07. Pricing and tariff cards
   ========================================================== */
.pricing-section {
    padding: var(--section-space) 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(132,99,212,.07), transparent 27%),
        radial-gradient(circle at 88% 74%, rgba(255,126,54,.055), transparent 24%),
        #fbf9fc;
}

.pricing-heading { margin-bottom: 38px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }

.tariff-card {
    --tariff-accent: #72a842;
    --tariff-soft: #f0f7eb;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(54,39,77,.065);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tariff-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(54,39,77,.12); }
.tariff-olive { --tariff-accent: #799e42; --tariff-soft: #f2f6e9; }
.tariff-purple { --tariff-accent: #8267cf; --tariff-soft: #f0ecfa; }
.tariff-blue { --tariff-accent: #4175ad; --tariff-soft: #eaf2fb; }

.tariff-top {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 116px;
    margin: 10px 10px 0;
    padding: 16px 14px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--tariff-soft), rgba(255,255,255,.7));
}

.tariff-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: var(--tariff-accent); background: rgba(255,255,255,.72); box-shadow: 0 5px 15px rgba(48,38,65,.05); }
.tariff-icon svg { width: 29px; height: 29px; stroke-width: 1.8; }
.tariff-top h3 { margin: 0 0 8px; color: var(--ink); font-size: var(--card-title-size); font-weight: 800; line-height: 1.18; }
.tariff-top div > span { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--tariff-accent); background: color-mix(in srgb, var(--tariff-soft) 72%, white); font-size: 12px; font-weight: 700; }

.tariff-body { display: flex; flex: 1; flex-direction: column; padding: 20px 18px 0; }
.tariff-price { display: flex; align-items: baseline; gap: 8px; }
.tariff-price strong { color: var(--ink); font-size: clamp(25px, 2vw, 31px); font-weight: 800; line-height: 1; letter-spacing: -.7px; }
.tariff-price small { color: #515665; font-size: var(--supporting-text-size); font-weight: 600; }
.tariff-registration { margin: 9px 0 18px; color: #4e5361; font-size: var(--supporting-text-size); line-height: 1.4; }
.tariff-features { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tariff-features li { display: flex; align-items: center; gap: 9px; color: #3f4452; font-size: var(--card-text-size); font-weight: 600; line-height: 1.3; }
.mini-placeholder { display: inline-grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; color: var(--tariff-accent, var(--purple)); opacity: 1; }
.mini-placeholder svg { width: 16px; height: 16px; stroke-width: 2; }

.tariff-program {
    display: grid;
    gap: 6px;
    min-height: 92px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 13px;
    color: #333846;
    background: linear-gradient(135deg, var(--tariff-soft), rgba(255,255,255,.7));
    font-size: var(--supporting-text-size);
    line-height: 1.5;
}

.tariff-program strong { font-weight: 800; }
.tariff-photo { min-height: 150px; margin: 0 10px 10px; border-radius: 14px; background-color: var(--tariff-soft); background-position: center; background-size: cover; }
.tariff-photo-one { background-image: url("img/t1.webp"); }
.tariff-photo-two { background-image: url("img/t2.webp"); }
.tariff-photo-three { background-image: url("img/t3.webp"); }
.tariff-photo-four { background-image: url("img/t4.webp"); }

.pricing-cta {
    display: grid;
    grid-template-columns: 70px minmax(230px, 1.15fr) minmax(430px, 1.6fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 26px;
    padding: 22px 26px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: linear-gradient(110deg, rgba(248,244,255,.96), rgba(255,255,255,.96));
    box-shadow: 0 14px 38px rgba(54,39,77,.055);
}

.pricing-cta-icon { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 18px; color: var(--purple); background: #fff; box-shadow: 0 8px 22px rgba(80,54,136,.09); }
.pricing-cta-copy h3 { margin: 0 0 7px; color: var(--ink); font-size: var(--card-title-size); font-weight: 800; }
.pricing-cta-copy p { margin: 0; color: var(--muted); font-size: var(--supporting-text-size); line-height: 1.48; }
.pricing-cta > ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 0; padding: 0; list-style: none; }
.pricing-cta > ul li { display: flex; align-items: center; gap: 9px; color: #3e4351; font-size: var(--supporting-text-size); font-weight: 600; line-height: 1.35; }
.pricing-cta-action { display: grid; justify-items: center; gap: 7px; }

.pricing-cta-action button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 29px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(100deg, #8464d5, #9676df);
    box-shadow: 0 12px 25px rgba(107,73,190,.22);
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pricing-cta-action button:hover { transform: translateY(-2px); box-shadow: 0 17px 31px rgba(107,73,190,.32); }
.pricing-cta-action button span { font-size: 22px; }
.pricing-cta-action small { color: #696e7b; font-size: 12px; line-height: 1.35; white-space: nowrap; }

/* ==========================================================
   08. Educational program
   ========================================================== */
.education-section {
    position: relative;
    overflow: hidden;
    padding: var(--section-space) 0;
    background:
        radial-gradient(circle at 3% 5%, rgba(105,177,223,.12), transparent 20%),
        radial-gradient(circle at 95% 10%, rgba(115,185,98,.1), transparent 18%),
        #fff;
}

.education-intro { position: relative; display: grid; grid-template-columns: 260px minmax(0,720px) 260px; align-items: center; justify-content: center; min-height: 250px; margin-bottom: 26px; }
.education-intro > img { width: 245px; height: 245px; object-fit: contain; filter: drop-shadow(0 16px 25px rgba(62,42,61,.12)); }
.education-heading { text-align: center; }

@media (min-width: 1401px) {
    .education-intro { min-height: 360px; grid-template-columns: 1fr; }
    .education-intro > img {
        position: absolute;
        top: 50%;
        left: calc((100vw - 100%) / -2 + 18px);
        width: clamp(350px, 24vw, 430px);
        height: clamp(350px, 24vw, 430px);
        transform: translateY(-50%);
    }
    .education-heading { position: relative; z-index: 1; width: min(760px, 62vw); margin: 0 auto; }
}
.education-heading > p { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 7px 13px; border-radius: 999px; color: #56a555; background: #ecf8e9; font-size: var(--section-kicker-size); font-weight: 800; text-transform: uppercase; }
.education-heading h2 { margin: 0; color: var(--ink); font-size: var(--section-title-size); font-weight: 800; line-height: 1.08; letter-spacing: -1.8px; }
.education-heading > span, .education-heading > small { display: block; max-width: 700px; margin-inline: auto; color: #5e6371; font-size: 15px; line-height: 1.5; }
.education-heading > span { margin-top: 15px; }
.education-heading > small { margin-top: 9px; }
.education-switch { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.education-switch button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 12px; padding: 0 30px; border: 1px solid rgba(131,98,211,.32); border-radius: 999px; color: var(--purple-dark); background: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.education-switch button svg { width: 23px; height: 23px; stroke-width: 1.8; }
.education-switch button:hover, .education-switch button.is-active { color: #fff; background: linear-gradient(100deg,#8262d1,#9675df); box-shadow: 0 11px 24px rgba(107,73,190,.2); transform: translateY(-2px); }

.education-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.education-panel.is-active { animation: education-panel-in .5s cubic-bezier(.22,1,.36,1); }
.education-panel > header { margin: 0 0 26px 3px; }
.education-panel > header h3 { margin: 0 0 7px; color: var(--ink); font-size: 24px; font-weight: 800; }
.education-panel > header p { margin: 0; color: #666b78; font-size: 16px; line-height: 1.55; }
.education-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.education-grid article { position: relative; display: flex; min-height: 390px; overflow: hidden; flex-direction: column; border: 1px solid #eeeaf1; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(48,34,68,.06); transition: transform .25s ease, box-shadow .25s ease; }
.education-grid article:hover { transform: translateY(-5px); box-shadow: 0 17px 34px rgba(48,34,68,.1); }
.education-photo { height: 190px; flex: 0 0 190px; background-color: #eee9f4; background-position: center; background-size: cover; }
.education-grid h4 { margin: 20px 20px 10px; color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.25; }
.education-grid p { margin: 0; padding: 0 20px 24px; color: #5b606e; font-size: 15px; line-height: 1.58; }
.education-photo-01 { background-image: url("img/g01.webp"); }
.education-photo-02 { background-image: url("img/g02.webp"); }
.education-photo-03 { background-image: url("img/g03.webp"); }
.education-photo-04 { background-image: url("img/g04.webp"); }
.education-photo-05 { background-image: url("img/g05.webp"); }
.education-photo-06 { background-image: url("img/g06.webp"); }
.education-photo-07 { background-image: url("img/g07.webp"); }
.education-photo-08 { background-image: url("img/g08.webp"); }
.education-photo-09 { background-image: url("img/g11.webp"); }
.education-photo-10 { background-image: url("img/g12.webp"); }
.education-photo-11 { background-image: url("img/g13.webp"); }
.education-photo-12 { background-image: url("img/g14.webp"); }
.education-photo-13 { background-image: url("img/g15.webp"); }
.education-photo-14 { background-image: url("img/g16.webp"); }
.education-photo-15 { background-image: url("img/g17.webp"); }
.education-photo-16 { background-image: url("img/g18.webp"); }

@keyframes education-panel-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   09. Photo gallery and lightbox
   ========================================================== */
.gallery-section {
    padding: var(--section-space) 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(139,108,219,.08), transparent 27%),
        #fff;
}

.gallery-container { width: min(1760px, calc(100% - 40px)); margin: 0 auto; }
.gallery-heading { margin-bottom: 40px; }
.gallery-heading > p { align-items: center; gap: 7px; color: var(--purple); background: #f1edfb; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #eee8f8, #f7efe8);
    aspect-ratio: 1.34 / 1;
    box-shadow: 0 12px 30px rgba(45,33,65,.08);
    cursor: zoom-in;
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(39,28,59,.26);
    opacity: 0;
    content: "+";
    font-size: 38px;
    font-weight: 300;
    transition: opacity .25s ease;
}

.gallery-item:hover::after { opacity: 1; }
.gallery-item > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gallery-item:hover > img { transform: scale(1.045); }

/* Comfortable full-screen gallery: UIkit keeps native swipe and keyboard
   navigation, while these controls stay clearly visible on every viewport. */
.uk-lightbox { background: rgba(17, 13, 25, .96); }
.uk-lightbox-items > * { padding: 70px 92px 82px; touch-action: pan-y pinch-zoom; }
.uk-lightbox-items > * > img {
    width: auto;
    height: auto;
    max-width: min(1500px, 100%);
    max-height: calc(100svh - 152px);
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.uk-lightbox-toolbar {
    padding: 18px 22px;
    background: linear-gradient(180deg,rgba(12,9,18,.78),transparent);
}
.uk-lightbox-toolbar-icon {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(10px);
}
.uk-lightbox-button {
    display: grid;
    width: 58px;
    height: 58px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.14);
    box-shadow: 0 12px 34px rgba(0,0,0,.24);
    opacity: 1;
    backdrop-filter: blur(12px);
    transition: background .2s ease, transform .2s ease;
}
.uk-lightbox-button:hover { color: #fff; background: var(--purple); transform: translateY(-50%) scale(1.06); }
.uk-lightbox-caption {
    right: 50%;
    bottom: 20px;
    left: auto;
    width: max-content;
    max-width: calc(100% - 150px);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(23,18,34,.72);
    font-size: 15px;
    font-weight: 700;
    transform: translateX(50%);
    backdrop-filter: blur(12px);
}
.gallery-lightbox-counter {
    position: fixed;
    z-index: 2;
    top: 23px;
    left: 24px;
    min-width: 64px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    backdrop-filter: blur(10px);
}

.gallery-more { display: none; }
.gallery-more.is-shown { display: block; animation: gallery-reveal .6s cubic-bezier(.22,1,.36,1) var(--gallery-delay, 0ms) both; }

.gallery-show-more {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 34px auto 0;
    padding: 0 28px;
    border: 1px solid rgba(134,101,213,.35);
    border-radius: 999px;
    color: var(--purple-dark);
    background: #fff;
    box-shadow: 0 10px 28px rgba(80,54,136,.06);
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gallery-show-more:hover { color: #fff; background: var(--purple); transform: translateY(-2px); box-shadow: 0 15px 32px rgba(96,62,178,.2); }

@keyframes gallery-reveal {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================
   10. Trial day
   ========================================================== */
.trial-section { padding: var(--section-space) 0; background: #faf8fc; }
.trial-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(400px, .82fr); gap: 24px; align-items: start; }

@media (min-width: 1061px) {
    .trial-grid { align-items: stretch; }
    .trial-info, .trial-form-card { height: 100%; }
}

.trial-info {
    position: relative;
    overflow: hidden;
    padding: 46px 48px 42px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(173,130,217,.19), transparent 32%),
        linear-gradient(145deg, #251229 0%, #3a1735 100%);
    box-shadow: 0 22px 50px rgba(49,22,50,.2);
}

.trial-info::after { position: absolute; top: -35px; right: -30px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.035); content: ""; }
.trial-info > header { display: flex; align-items: center; }
.trial-info h2, .trial-form-card h2, .address-content h2 { margin: 0; color: inherit; font-size: 31px; font-weight: 800; line-height: 1.12; }
.trial-info header p { margin: 6px 0 0; color: #c5aee8; font-size: 13px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; }
.trial-intro { max-width: 780px; margin: 28px 0 29px; color: rgba(255,255,255,.87); font-size: 16px; line-height: 1.62; }
.trial-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.trial-list li { display: grid; grid-template-columns: 58px 1fr; gap: 17px; align-items: center; }
.trial-list li > b { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: #fff; background: rgba(255,255,255,.1); font-size: 17px; font-weight: 800; line-height: 1; }
.trial-list strong, .trial-list span { display: block; }
.trial-list strong { margin-bottom: 5px; color: #fff; font-size: 17px; }
.trial-list span { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }

.trial-form-card { padding: 40px 36px 34px; border: 1px solid rgba(129,96,196,.12); border-radius: 30px; background: radial-gradient(circle at 100% 0,rgba(139,108,219,.09),transparent 35%),linear-gradient(145deg,#fff,#faf8ff); box-shadow: 0 22px 55px rgba(57,39,83,.1); }
.trial-form-card > header { display: flex; align-items: center; gap: 15px; color: var(--ink); }
.trial-form-card > header > span { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 14px; color: var(--purple); background: #eee8fb; }
.trial-form-intro { max-width: 430px; margin: 14px 0 20px; color: #686d7a; font-size: 15px; line-height: 1.55; }
.trial-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.trial-facts li { position: relative; padding: 9px 10px 9px 25px; border-radius: 10px; color: #545967; background: #f3eefb; font-size: 13px; font-weight: 700; line-height: 1.25; }
.trial-facts li::before { position: absolute; top: 50%; left: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); content: ""; transform: translateY(-50%); }
.trial-form { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(127,94,190,.1); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(57,39,83,.055); }
.trial-form > label:not(.trial-consent) { display: flex; min-height: 58px; align-items: center; gap: 11px; padding: 0 16px; border: 1px solid #e8e3ee; border-radius: 14px; color: var(--purple); background: #fff; }
.trial-form input[type="text"], .trial-form input[type="tel"] { width: 100%; height: 52px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; }
.trial-form button, .footer-action button { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: 18px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(100deg,#8464d5,#9876df); box-shadow: 0 12px 25px rgba(107,73,190,.22); font-family: inherit; font-size: var(--button-font-size); font-weight: 800; line-height: 1; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.trial-form button:hover, .footer-action button:hover { transform: translateY(-2px); box-shadow: 0 17px 31px rgba(107,73,190,.32); }
.trial-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 5px; color: #757a87; font-size: 12px; line-height: 1.5; }
.trial-consent input { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; accent-color: var(--purple); }
.trial-consent a { color: var(--purple); }
.trial-success { margin-top: 25px; padding: 24px; border-radius: 14px; color: var(--ink); background: #eee8fb; text-align: center; }
.trial-success strong, .trial-success span { display: block; }
.trial-success strong { font-size: 19px; }
.trial-success span { margin-top: 5px; color: var(--muted); font-size: 14px; }

/* ==========================================================
   11. Address, contacts and map
   ========================================================== */
.address-section { padding: 0 0 100px; background: #faf8fc; }
.address-shell { display: grid; grid-template-columns: minmax(360px,.76fr) minmax(0,1.24fr); gap: 18px; padding: 16px; border: 1px solid #f0e9df; border-radius: 24px; background: linear-gradient(120deg,#fffaf4,#fff); box-shadow: 0 18px 50px rgba(64,43,34,.07); }
.address-content { position: relative; overflow: hidden; padding: 31px 30px 28px; border-radius: 21px; background: radial-gradient(circle at 100% 100%,rgba(139,108,219,.1),transparent 38%),linear-gradient(145deg,#fff,#fbf8ff); }
.address-content::after { position: absolute; right: -45px; bottom: -55px; width: 180px; height: 180px; border: 1px solid rgba(139,108,219,.08); border-radius: 50%; content: ""; pointer-events: none; }
.address-content > header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.address-content > header > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--purple); background: #fff; box-shadow: 0 8px 22px rgba(84,59,136,.08); }
.address-content > header small { display: block; margin-bottom: 3px; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .35px; text-transform: uppercase; }
.address-content address { display: grid; gap: 14px; margin: 0; font-style: normal; }
.address-content address p { position: relative; margin: 0; padding: 12px 14px 12px 44px; border: 1px solid rgba(105,79,140,.08); border-radius: 13px; color: #464b58; background: rgba(255,255,255,.72); font-size: 15px; line-height: 1.58; }
.address-content address p > span { position: absolute; top: 14px; left: 14px; color: var(--purple); }
.address-content address p > .phone-svg { position: absolute; top: 17px; left: 15px; }
.address-content address p > .address-phone-list {
    position: static;
    display: grid;
    gap: 2px;
    color: inherit;
}
.address-content address .address-phones { padding-left: 14px; }
.address-phone-list a { display: flex; align-items: center; gap: 12px; }
.address-phone-list .phone-svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--purple); }
.address-content address a { color: inherit; }
.address-content address a:hover { color: var(--purple); }
.address-content address p:nth-child(2) a { color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.7; letter-spacing: .05px; }
.address-content address p:nth-child(2) a:hover { color: var(--purple-dark); }
.address-note { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 20px 0; padding-top: 18px; border-top: 1px solid #e8e1ed; color: #626672; font-size: 14px; line-height: 1.55; }
.address-note > span { color: #68a651; }
.route-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 0 26px; border-radius: 999px; color: #fff; background: linear-gradient(100deg,#f15920,#ff7a2c); box-shadow: 0 12px 25px rgba(230,84,27,.2); font-size: var(--button-font-size); font-weight: 800; }
.route-button:hover { color: #fff; transform: translateY(-2px); }
.address-map { position: relative; min-height: 430px; overflow: hidden; border-radius: 18px; background: #eaf1e7; }
.address-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }
.map-label { position: absolute; z-index: 2; top: 16px; left: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 13px 8px 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 10px 25px rgba(45,39,51,.13); backdrop-filter: blur(10px); pointer-events: none; }
.map-label img { width: 39px; height: 39px; object-fit: contain; }
.map-label strong, .map-label small { display: block; }
.map-label strong { color: var(--ink); font-size: 13px; }
.map-label small { margin-top: 2px; color: var(--muted); font-size: 11px; }

/* ==========================================================
   12. Site footer
   ========================================================== */
.site-footer { padding: 68px 0 24px; color: rgba(255,255,255,.78); background: #171324; }
.footer-main { display: grid; grid-template-columns: 1.35fr .65fr 1fr .9fr; gap: 55px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-subtitle { color: rgba(255,255,255,.55); }
.footer-brand > p { max-width: 340px; margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.55; }
.footer-main h2 { margin: 0 0 18px; color: #fff; font-size: 16px; font-weight: 800; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-nav a, .footer-contacts a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-nav a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts a, .footer-contacts p { display: flex; align-items: flex-start; gap: 9px; margin: 0; line-height: 1.45; }
.footer-action p { margin: 0 0 18px; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.5; }
.footer-action button { min-height: 50px; padding: 0 24px; }
.footer-legal { margin-bottom: 22px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.035); }
.footer-legal p { max-width: 1240px; margin: 0; color: rgba(255,255,255,.56); font-size: 13px; line-height: 1.6; }
.footer-legal p + p { margin-top: 9px; }
.footer-legal strong { color: rgba(255,255,255,.8); }
.footer-legal a { color: #cbb8f3; font-weight: 700; }
.footer-legal a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; gap: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.58); font-size: 13px; }
.footer-bottom a { color: inherit; }
.footer-bottom a:last-child { margin-left: auto; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================
   13. Video, accessibility and callback modals
   ========================================================== */
.video-modal .uk-modal-dialog { width: min(960px, calc(100% - 30px)); border-radius: 20px; overflow: hidden; background: #0b0b0e; }
.video-modal .uk-modal-close-outside { color: #fff; }

.uk-modal {
    background: rgba(31, 22, 44, .34);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.video-frame { position: relative; width: 100%; padding-top: 56.25%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.callback-modal { padding: 22px 0; }

.accessibility-modal .uk-modal-dialog { width: min(680px,calc(100% - 28px)); overflow: hidden; padding: 34px; border-radius: 26px; background: linear-gradient(145deg,#fff,#faf8ff); box-shadow: 0 30px 90px rgba(35,22,65,.22); }
.accessibility-modal .uk-modal-close-default { top: 17px; right: 17px; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border-radius: 50%; background: #f0ebfa; }
.accessibility-header { display: flex; align-items: center; gap: 15px; padding-right: 45px; }
.accessibility-header > span { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg,#8061d0,#9b7ce2); box-shadow: 0 12px 25px rgba(111,76,194,.22); }
.accessibility-header p { margin: 0 0 3px; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.accessibility-header h2 { margin: 0; color: var(--ink); font-size: 27px; font-weight: 800; line-height: 1.15; }
.accessibility-options { display: grid; gap: 24px; margin-top: 28px; }
.accessibility-options h3 { margin: 0 0 11px; color: var(--ink); font-size: 14px; font-weight: 800; }
.accessibility-font-controls { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.accessibility-font-controls button { display: flex; min-height: 70px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e3dced; border-radius: 14px; color: var(--ink); background: #fff; font-family: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.accessibility-font-controls button small { color: #777b87; font-size: 11px; font-weight: 600; }
.accessibility-font-controls button.is-active { border-color: var(--purple); color: var(--purple-dark); background: #f0ebfa; box-shadow: 0 0 0 3px rgba(132,98,211,.09); }
.accessibility-switches { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.accessibility-switches button { display: grid; grid-template-columns: 28px 1fr 34px; gap: 9px; align-items: center; min-height: 58px; padding: 0 13px; border: 1px solid #e4deec; border-radius: 13px; color: var(--ink); background: #fff; font-family: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.accessibility-switches button > span:first-child { color: var(--purple); }
.accessibility-switches button i { position: relative; width: 33px; height: 19px; border-radius: 999px; background: #ded8e7; transition: background .2s ease; }
.accessibility-switches button i::after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(35,25,48,.2); content: ""; transition: transform .2s ease; }
.accessibility-switches button.is-active { border-color: rgba(132,98,211,.4); background: #f7f3fd; }
.accessibility-switches button.is-active i { background: var(--purple); }
.accessibility-switches button.is-active i::after { transform: translateX(14px); }
.accessibility-reset { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; margin-top: 24px; padding: 0 18px; border: 0; border-radius: 12px; color: #666b78; background: #eeeaf2; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.accessibility-reset:hover { color: var(--ink); background: #e6dfed; }

/* Accessibility modes */
html.a11y-font-large body p,
html.a11y-font-large body li,
html.a11y-font-large body a,
html.a11y-font-large body button,
html.a11y-font-large body input,
html.a11y-font-large body select,
html.a11y-font-large body textarea { font-size: 18px !important; line-height: 1.6 !important; }

html.a11y-font-xlarge body p,
html.a11y-font-xlarge body li,
html.a11y-font-xlarge body a,
html.a11y-font-xlarge body button,
html.a11y-font-xlarge body input,
html.a11y-font-xlarge body select,
html.a11y-font-xlarge body textarea { font-size: 21px !important; line-height: 1.7 !important; }

html.a11y-font-large .site-header a,
html.a11y-font-large .site-header button,
html.a11y-font-large .site-footer a,
html.a11y-font-large .site-footer button { font-size: 16px !important; line-height: 1.3 !important; }
html.a11y-font-xlarge .site-header a,
html.a11y-font-xlarge .site-header button,
html.a11y-font-xlarge .site-footer a,
html.a11y-font-xlarge .site-footer button { font-size: 18px !important; line-height: 1.35 !important; }
html.a11y-font-large body h1 { font-size: clamp(44px,5vw,62px) !important; line-height: 1.15 !important; }
html.a11y-font-large body h2 { font-size: clamp(36px,4vw,50px) !important; line-height: 1.2 !important; }
html.a11y-font-large body h3, html.a11y-font-large body h4 { font-size: 25px !important; line-height: 1.3 !important; }
html.a11y-font-xlarge body h1 { font-size: clamp(48px,5.5vw,68px) !important; line-height: 1.2 !important; }
html.a11y-font-xlarge body h2 { font-size: clamp(40px,4.5vw,56px) !important; line-height: 1.25 !important; }
html.a11y-font-xlarge body h3, html.a11y-font-xlarge body h4 { font-size: 29px !important; line-height: 1.35 !important; }
html.a11y-font-large .accessibility-modal button,
html.a11y-font-xlarge .accessibility-modal button { line-height: 1.2 !important; }
html.a11y-font-large .accessibility-modal h2,
html.a11y-font-xlarge .accessibility-modal h2 { font-size: 27px !important; }
html.a11y-font-large .accessibility-modal h3,
html.a11y-font-xlarge .accessibility-modal h3 { font-size: 15px !important; }
html.a11y-font-large .accessibility-modal p,
html.a11y-font-xlarge .accessibility-modal p { font-size: 12px !important; line-height: 1.3 !important; }

html.a11y-contrast body,
html.a11y-contrast section,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer { color: #000 !important; background: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4, html.a11y-contrast p, html.a11y-contrast a, html.a11y-contrast li, html.a11y-contrast span { color: #000 !important; text-shadow: none !important; }
html.a11y-contrast button, html.a11y-contrast .system-primary, html.a11y-contrast .route-button { border: 2px solid #000 !important; color: #fff !important; background: #000 !important; }
html.a11y-contrast button *, html.a11y-contrast .system-primary *, html.a11y-contrast .route-button * { color: #fff !important; }
html.a11y-contrast .nav-shell,
html.a11y-contrast .trust-panel,
html.a11y-contrast .program-card,
html.a11y-contrast .advantage-card,
html.a11y-contrast .day-panel,
html.a11y-contrast .excursion-shell,
html.a11y-contrast .excursion-content,
html.a11y-contrast .tariff-card,
html.a11y-contrast .education-panel,
html.a11y-contrast .education-grid article,
html.a11y-contrast .gallery-item,
html.a11y-contrast .trial-info,
html.a11y-contrast .trial-form-card,
html.a11y-contrast .address-shell,
html.a11y-contrast .address-content,
html.a11y-contrast .site-footer { border-color: #000 !important; color: #000 !important; background: #fff !important; box-shadow: none !important; }
html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { border: 2px solid #000 !important; color: #000 !important; background: #fff !important; }
/* Never filter `body`: a filter on the root content creates a new containing
   block and breaks UIkit's fixed modals. Keep controls and overlays usable. */
html.a11y-grayscale body > .hero,
html.a11y-grayscale body > main,
html.a11y-grayscale body > .site-footer { filter: grayscale(1); }
html.a11y-spacing body { letter-spacing: .08em; word-spacing: .12em; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 1.85 !important; }
html.a11y-no-images img { visibility: hidden !important; }
html.a11y-no-images .hero,
html.a11y-no-images [role="img"],
html.a11y-no-images .program-card,
html.a11y-no-images .day-panel-image,
html.a11y-no-images .tariff-photo,
html.a11y-no-images .education-photo,
html.a11y-no-images .gallery-item > span { background-image: none !important; }
html.a11y-no-images .address-map iframe,
html.a11y-no-images .excursion-video iframe { visibility: hidden !important; }

.callback-modal .uk-modal-dialog {
    position: relative;
    width: min(650px, calc(100% - 28px));
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(145deg, #fff 0%, #fbf9ff 100%);
    box-shadow: 0 30px 90px rgba(35, 22, 65, .22);
}

.callback-modal .uk-modal-close-default {
    top: 18px;
    right: 18px;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: #f1ecfb;
}

.form-decoration { position: absolute; border-radius: 50%; pointer-events: none; }
.form-decoration-one { top: -110px; right: -80px; width: 280px; height: 280px; background: rgba(136, 101, 216, .12); }
.form-decoration-two { bottom: -100px; left: -80px; width: 230px; height: 230px; background: rgba(255, 104, 37, .09); }

.callback-form-wrap { position: relative; z-index: 1; padding: 46px 52px 50px; }

.form-label {
    display: inline-flex;
    margin: 0 0 15px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #8062d0, #9a80dd);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.callback-form-wrap h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.form-intro { max-width: 500px; margin: 17px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.callback-form { display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; margin: 0; }
.form-field > span { color: #414658; font-size: 13px; font-weight: 800; }
.form-field small { color: #9295a1; font-size: inherit; font-weight: 500; }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #e3ddec;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: rgba(255,255,255,.88);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea { min-height: 82px; padding-top: 13px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a3a1ab; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(138,108,219,.1); }

.form-consent { display: flex; align-items: flex-start; gap: 10px; color: #707583; font-size: 13px; line-height: 1.45; cursor: pointer; }
.form-consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--purple); }

.form-submit {
    display: inline-flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 35px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #ff5d1a, #ff7a2b);
    box-shadow: 0 14px 28px rgba(255,102,35,.24);
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.form-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(255,102,35,.33); }

.form-success { padding: 65px 10px 40px; text-align: center; }
.form-success > span { display: inline-grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; color: #fff; background: var(--purple); }
.form-success h3 { margin: 20px 0 8px; color: var(--ink); font-size: 34px; font-weight: 800; }
.form-success p { max-width: 390px; margin: 0 auto 26px; color: var(--muted); line-height: 1.5; }
.form-success button { min-width: 180px; min-height: 50px; border: 0; border-radius: 13px; color: #fff; background: var(--purple); font-size: var(--button-font-size); font-weight: 800; cursor: pointer; }

/* ==========================================================
   14. Mobile off-canvas menu
   ========================================================== */
.mobile-menu .uk-offcanvas-bar {
    width: min(360px, 90vw);
    padding: 30px;
    color: var(--ink);
    background: linear-gradient(160deg, #fff 0%, #f3edff 100%);
    transform: translate3d(100%, 0, 0);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
    backface-visibility: hidden;
    overscroll-behavior: contain;
}
.mobile-menu.uk-open .uk-offcanvas-bar { transform: translate3d(0, 0, 0); }
.mobile-menu.uk-offcanvas-overlay::before { opacity: 0; transition: opacity .35s ease; }
.mobile-menu.uk-open::before { opacity: 1; }
.mobile-menu .uk-close { color: var(--ink); }
.mobile-brand { margin-bottom: 40px; color: var(--ink) !important; }
.mobile-brand .brand-mark { flex: 0 0 64px; width: 64px; height: 64px; }
.mobile-menu .mobile-brand .brand-name { color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.12; }
.mobile-links { margin: 0; padding: 0; list-style: none; }
.mobile-links li { border-bottom: 1px solid rgba(71,53,107,.1); }
.mobile-links a { display: block; padding: 16px 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.mobile-phone { display: grid; margin-top: 28px; }
.mobile-menu .mobile-phone .phone {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 0 13px;
    border-radius: 12px;
    color: var(--ink);
    background: rgba(255,255,255,.72);
    font-size: 17px;
    font-weight: 800;
}
.mobile-menu .mobile-phone .phone:hover { color: var(--purple-dark); background: #fff; }
.mobile-menu .mobile-phone .phone-svg { width: 18px; height: 18px; color: var(--purple); }
.mobile-address {
    display: block;
    margin-top: 10px;
    padding: 11px 13px;
    border-radius: 12px;
    color: #555b69 !important;
    background: rgba(255,255,255,.55);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}
.mobile-address:hover { color: var(--purple-dark) !important; background: #fff; }
.mobile-callback-button { width: 100%; min-height: 48px; margin-top: 20px; border: 1px solid rgba(132,98,211,.35); border-radius: 13px; color: var(--purple-dark); background: rgba(255,255,255,.65); font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.mobile-callback-button:hover { color: #fff; background: var(--purple); }
.mobile-contact { width: 100%; justify-content: center; margin-top: 24px; }

.reveal-enabled .reveal-item {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity .7s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
        transform .7s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-enabled .reveal-item.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-enabled .program-card.is-visible:hover,
.reveal-enabled .advantage-card.is-visible:hover,
.reveal-enabled .tariff-card.is-visible:hover { transform: translate3d(0, -5px, 0); }

/* ==========================================================
   15. Floating quick-action buttons
   ========================================================== */
.floating-call {
    position: fixed;
    z-index: 90;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #8b69db, #7553cc);
    box-shadow: 0 14px 35px rgba(91,59,170,.38);
}

.floating-call::before,
.floating-call::after {
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(132,96,215,.45);
    border-radius: inherit;
    content: "";
    animation: call-ring 2.4s ease-out infinite;
}

.floating-call::after { animation-delay: 1.2s; }
.floating-call:hover { color: #fff; background: linear-gradient(145deg, #9676e3, #7b58d1); }

.floating-call-label {
    position: absolute;
    right: calc(100% + 12px);
    padding: 8px 11px;
    border-radius: 9px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 9px 25px rgba(42,29,64,.13);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.floating-call:hover .floating-call-label { opacity: 1; transform: translateX(0); }

.floating-accessibility {
    position: fixed;
    z-index: 90;
    right: max(24px,env(safe-area-inset-right));
    bottom: calc(max(24px,env(safe-area-inset-bottom)) + 80px);
    display: grid;
    width: 58px;
    height: 58px;
    min-height: 58px !important;
    padding: 0 !important;
    place-items: center;
    border: 2px solid rgba(132,98,211,.3);
    border-radius: 50%;
    color: var(--purple-dark);
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(70,45,124,.2);
    cursor: pointer;
    transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.floating-accessibility:hover { color: #fff; background: var(--purple); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(80,50,151,.3); }
.floating-accessibility-label { position: absolute; right: calc(100% + 12px); padding: 9px 12px; border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 9px 25px rgba(42,29,64,.13); font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.floating-accessibility:hover .floating-accessibility-label { opacity: 1; transform: translateX(0); }

/* ==========================================================
   16. Unified interactive states
   ========================================================== */
a,
button { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(132,98,211,.38);
    outline-offset: 4px;
}

/* Form containers already provide a clear focus state. */
.excursion-fields input:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: none;
}

.desktop-nav > a { padding: 9px 0; }

@media (hover: hover) {
    .brand:hover .brand-mark { transform: translateY(-2px) rotate(-1deg); filter: drop-shadow(0 12px 16px rgba(64,39,88,.2)); }
    .phone:hover, .callback:hover { color: var(--purple-dark); }
    .mobile-header-phone:hover { background: #eae2fa; transform: translateY(-1px); }
    .mobile-toggle:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(107,73,190,.22); }
    .trust-item:hover .trust-icon { transform: translateY(-3px) scale(1.04); color: var(--purple-dark); }
    .day-controls button:hover { transform: none; box-shadow: 0 13px 27px rgba(74,48,127,.18); }
    .tariff-card:hover .tariff-icon { transform: scale(1.08) rotate(-3deg); }
    .pricing-cta:hover .pricing-cta-icon { transform: translateY(-3px) scale(1.04); }
    .education-grid article:hover > i { transform: translateY(-2px) scale(1.05); color: var(--purple-dark); }
    .trial-list li:hover i { color: #fff; background: rgba(255,255,255,.17); transform: translateY(-2px); }
    .address-content address a:hover { color: var(--purple-dark); }
    .footer-nav a:hover, .footer-contacts a:hover { padding-left: 4px; color: #fff; }
}

.brand-mark,
.mobile-header-phone,
.mobile-toggle,
.trust-icon,
.tariff-icon,
.pricing-cta-icon,
.education-grid article > i,
.trial-list i,
.footer-nav a,
.footer-contacts a { transition: color .22s ease, background .22s ease, box-shadow .22s ease, filter .22s ease, transform .22s ease, padding .22s ease; }

.primary-button:active,
.video-button:active,
.button-contact:active,
.form-submit:active,
.excursion-form > button:active,
.pricing-cta-action button:active,
.gallery-show-more:active,
.trial-form button:active,
.route-button:active,
.footer-action button:active { transform: translateY(0) scale(.98); }

/* ==========================================================
   17. Decorative theme refinements
   ========================================================== */
:root {
    --soft-lilac: #f5f1fb;
    --soft-peach: #fff5ee;
    --soft-mint: #f0f8f3;
    --premium-border: rgba(102,78,137,.09);
    --premium-shadow: 0 18px 50px rgba(54,38,78,.075);
    --premium-shadow-hover: 0 24px 58px rgba(54,38,78,.13);
}

.programs-section,
.day-section,
.excursion-section,
.education-section,
.gallery-section,
.trial-section,
.address-section,
.pricing-section,
.advantages-section { isolation: isolate; }

.programs-section { background: linear-gradient(180deg,#f8f4fb 0%,#fff 92%); }
.advantages-section { background: radial-gradient(circle at 8% 18%,rgba(255,190,133,.12),transparent 25%),radial-gradient(circle at 92% 75%,rgba(139,108,219,.09),transparent 25%),#fffaf6; }
.day-section { background: radial-gradient(circle at 93% 10%,rgba(137,194,151,.09),transparent 24%),linear-gradient(180deg,#fff,#fcfaff); }
.day-section { padding-bottom: 40px; }
.excursion-section { padding-top: 40px; background: linear-gradient(180deg,#fcfaff,#fff); }
.pricing-section { background: radial-gradient(circle at 8% 10%,rgba(139,108,219,.09),transparent 24%),radial-gradient(circle at 92% 82%,rgba(255,173,111,.08),transparent 22%),#faf8fc; }
.education-section { background: radial-gradient(circle at 4% 7%,rgba(104,182,224,.13),transparent 21%),radial-gradient(circle at 94% 9%,rgba(117,190,99,.11),transparent 19%),linear-gradient(180deg,#fff,#fbfdfb); }
.gallery-section { background: radial-gradient(circle at 50% 0%,rgba(139,108,219,.1),transparent 29%),#fff; }
.trial-section { background: linear-gradient(180deg,#faf8fc,#f8f4fb); }
.address-section { background: linear-gradient(180deg,#f8f4fb,#fffaf5); }

/* Soft child-themed SVG decorations */
:root {
    --decor-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 110' fill='none'%3E%3Cpath d='M31 10l4.8 11.2L47 26l-11.2 4.8L31 42l-4.8-11.2L15 26l11.2-4.8L31 10Z' fill='%23F9B74B'/%3E%3Cpath d='M101 48l3.5 8.5L113 60l-8.5 3.5L101 72l-3.5-8.5L89 60l8.5-3.5L101 48Z' fill='%238A6AD7'/%3E%3Ccircle cx='69' cy='22' r='4' fill='%2368B89A'/%3E%3Ccircle cx='51' cy='86' r='3' fill='%23F47B43'/%3E%3C/svg%3E");
    --decor-blocks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 130' fill='none'%3E%3Crect x='12' y='63' width='46' height='46' rx='10' fill='%23F8C45E' fill-opacity='.72'/%3E%3Crect x='55' y='27' width='50' height='50' rx='11' fill='%23977BDD' fill-opacity='.64'/%3E%3Crect x='96' y='70' width='40' height='40' rx='9' fill='%236CC09C' fill-opacity='.7'/%3E%3Cpath d='M70 45h20M80 35v20' stroke='white' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='86' r='9' stroke='white' stroke-width='4'/%3E%3C/svg%3E");
    --decor-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 120' fill='none'%3E%3Cpath d='m25 88 11-30 55-55 25 25-55 55-36 5Z' fill='%23F6B34A' fill-opacity='.62'/%3E%3Cpath d='m36 58 25 25M91 3l25 25M25 88l20-9-11-11-9 20Z' stroke='%23E98134' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M104 83c13-10 24-7 27 7' stroke='%238B6BD6' stroke-width='4' stroke-linecap='round' stroke-dasharray='3 8'/%3E%3C/svg%3E");
    --decor-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 110' fill='none'%3E%3Cpath d='M36 83h85c17 0 24-22 10-32-5-4-12-5-18-3C109 30 94 18 76 20 58 22 45 35 44 52c-8-3-18 0-23 7-8 12 1 24 15 24Z' fill='%23DDECF8'/%3E%3Cpath d='M52 91c8 8 18 12 29 12M101 91c-4 5-9 8-15 10' stroke='%238A6AD7' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    --decor-leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 140' fill='none'%3E%3Cpath d='M31 119c25-26 46-56 65-94' stroke='%236EAE63' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M68 72C43 68 27 52 24 30c24-3 43 13 44 42ZM84 49c3-22 17-36 38-40 4 21-10 38-38 40ZM53 91c-18 0-31-10-38-27 17-7 34 3 38 27ZM78 80c18-6 34-1 45 13-14 12-34 7-45-13Z' fill='%239ED493' fill-opacity='.72'/%3E%3C/svg%3E");
}

.programs-section,
.advantages-section,
.day-section,
.excursion-section,
.pricing-section,
.education-section,
.gallery-section,
.trial-section,
.address-section { position: relative; }

.programs-section::before,
.advantages-section::before,
.day-section::before,
.excursion-section::before,
.pricing-section::before,
.education-section::before,
.gallery-section::before,
.trial-section::before,
.address-section::before {
    position: absolute;
    z-index: 0;
    width: clamp(90px, 10vw, 155px);
    aspect-ratio: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    opacity: .48;
    pointer-events: none;
}

.programs-section > .uk-container,
.advantages-section > .uk-container,
.day-section > .uk-container,
.excursion-section > .uk-container,
.pricing-section > .uk-container,
.education-section > .uk-container,
.trial-section > .uk-container,
.address-section > .uk-container,
.gallery-section > .gallery-container { position: relative; z-index: 1; }

.programs-section::before { top: 70px; left: -18px; background-image: var(--decor-stars); transform: rotate(-8deg); }
.advantages-section::before { right: -25px; bottom: 8%; background-image: var(--decor-blocks); transform: rotate(7deg); }
.day-section::before { top: 105px; right: -24px; background-image: var(--decor-cloud); }
.excursion-section::before { top: 24%; left: -32px; background-image: var(--decor-pencil); transform: rotate(-8deg); }
.pricing-section::before { right: -15px; bottom: 12%; background-image: var(--decor-stars); transform: scale(1.08); }
.education-section::before { top: 23%; right: -30px; background-image: var(--decor-leaves); transform: rotate(-8deg); }
.gallery-section::before { top: 80px; left: -20px; background-image: var(--decor-stars); }
.trial-section::before { right: -25px; bottom: 12%; background-image: var(--decor-blocks); transform: rotate(9deg); }
.address-section::before { left: -30px; bottom: 15%; background-image: var(--decor-leaves); transform: rotate(12deg); }

@media (max-width: 900px) {
    .programs-section::before,
    .advantages-section::before,
    .day-section::before,
    .excursion-section::before,
    .pricing-section::before,
    .education-section::before,
    .gallery-section::before,
    .trial-section::before,
    .address-section::before { width: 88px; opacity: .3; }
}

@media (max-width: 600px) {
    .excursion-section::before,
    .education-section::before,
    .trial-section::before,
    .address-section::before { display: none; }
    .programs-section::before,
    .advantages-section::before,
    .day-section::before,
    .pricing-section::before,
    .gallery-section::before { width: 64px; opacity: .22; }
}

.section-heading > p,
.day-heading > p,
.education-heading > p,
.excursion-label,
.eyebrow { box-shadow: 0 8px 20px rgba(95,66,154,.08); }

.section-heading h2,
.day-heading h2,
.education-heading h2 { text-wrap: balance; }

.trust-panel,
.excursion-shell,
.pricing-cta,
.address-shell {
    border-color: var(--premium-border);
    border-radius: 28px;
    box-shadow: var(--premium-shadow);
}

.program-card,
.advantage-card,
.tariff-card,
.education-grid article {
    border-color: var(--premium-border);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(54,38,78,.065);
}

.advantage-card { border-radius: 30px; }

.program-card:hover,
.advantage-card:hover,
.tariff-card:hover,
.education-grid article:hover { box-shadow: var(--premium-shadow-hover); }

.program-card::before {
    position: absolute;
    z-index: 2;
    top: 15px;
    right: 15px;
    width: 9px;
    height: 9px;
    border: 3px solid rgba(255,255,255,.8);
    border-radius: 50%;
    background: rgba(139,108,219,.38);
    content: "";
}

.advantage-card::before { content: none; }
.advantage-card > * { position: relative; }

.day-panel { border-color: var(--premium-border); border-radius: 28px; box-shadow: var(--premium-shadow); }
.day-panel-image { position: relative; }
.day-panel-copy { background: radial-gradient(circle at 0% 100%,rgba(139,108,219,.07),transparent 35%); }

.excursion-content,
.trial-form-card { border-radius: 22px; background: radial-gradient(circle at 95% 100%,rgba(139,108,219,.09),transparent 35%),linear-gradient(145deg,#fff,#fbf9ff); }
.excursion-fields label,
.trial-form > label:not(.trial-consent),
.form-field input,
.form-field select,
.form-field textarea { border-color: rgba(102,78,137,.12); box-shadow: 0 8px 22px rgba(55,38,79,.045); }

.tariff-top,
.tariff-program { border: 1px solid rgba(255,255,255,.72); }
.tariff-photo { border-radius: 16px; }
.tariff-card:hover .tariff-photo { transform: scale(1.012); }
.tariff-photo { transition: transform .35s cubic-bezier(.22,1,.36,1); }

.education-photo { position: relative; overflow: hidden; }
.education-grid article:hover .education-photo { filter: saturate(1.04); }
.education-photo { transition: filter .3s ease; }

.gallery-item { border: 4px solid rgba(255,255,255,.88); border-radius: 24px; box-shadow: 0 14px 38px rgba(52,37,75,.1); }
.gallery-show-more { border-width: 2px; background: rgba(255,255,255,.9); }

.trial-info { border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: radial-gradient(circle at 100% 0%,rgba(190,143,224,.22),transparent 33%),linear-gradient(145deg,#251229,#3c1737); }
.trial-form-card { border-color: var(--premium-border); border-radius: 28px; box-shadow: var(--premium-shadow); }
.trial-list i { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.08); }

.address-map { border: 5px solid rgba(255,255,255,.8); border-radius: 22px; box-shadow: 0 12px 32px rgba(54,48,39,.08); }

.form-submit,
.excursion-form > button,
.pricing-cta-action button,
.trial-form button,
.footer-action button,
.system-primary { background: linear-gradient(110deg,#7d5dce 0%,#9d7de4 100%); }

.primary-button,
.button-contact,
.form-submit,
.excursion-form > button,
.pricing-cta-action button,
.trial-form button,
.route-button,
.footer-action button { letter-spacing: .05px; }

.site-footer { border-radius: 34px 34px 0 0; background: radial-gradient(circle at 12% 0%,rgba(139,108,219,.18),transparent 27%),#171324; }

@keyframes call-ring {
    0% { opacity: .65; transform: scale(.92); }
    75%, 100% { opacity: 0; transform: scale(1.55); }
}

/* ==========================================================
   18. 404 and thank-you pages
   ========================================================== */
.system-page { min-height: 100svh; background: #f7f3fa; }
.system-header { position: relative; z-index: 3; padding: 18px 0; }
.system-header .uk-container { display: flex; align-items: center; justify-content: space-between; }
.system-phone { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 0 17px; border-radius: 13px; color: var(--ink); background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(58,40,79,.07); font-size: 14px; font-weight: 700; transition: color .2s ease, transform .2s ease; }
.system-phone:hover { color: var(--purple-dark); transform: translateY(-2px); }
.system-main { position: relative; display: grid; min-height: calc(100svh - 158px); overflow: hidden; padding: 45px 20px 70px; place-items: center; }
.system-decoration { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.system-decoration-one { top: 2%; left: -110px; width: 370px; height: 370px; background: rgba(139,105,217,.09); }
.system-decoration-two { right: -100px; bottom: -140px; width: 430px; height: 430px; background: rgba(255,115,42,.07); }
.system-card { position: relative; z-index: 1; width: min(670px,100%); padding: 48px 52px; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 28px 80px rgba(51,34,76,.12); text-align: center; backdrop-filter: blur(16px); }
.system-label { display: inline-flex; margin-bottom: 16px; padding: 7px 14px; border-radius: 999px; color: var(--purple-dark); background: #eee8fa; font-size: 12px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.system-card h1 { margin: 0; color: var(--ink); font-size: clamp(36px,5vw,56px); font-weight: 800; line-height: 1.08; letter-spacing: -1.8px; }
.system-card > p { max-width: 540px; margin: 20px auto 0; color: #626775; font-size: 16px; line-height: 1.6; }
.error-number { display: block; margin: -5px 0 10px; color: transparent; background: linear-gradient(135deg,#8061cf,#9c7de4); background-clip: text; -webkit-background-clip: text; font-size: clamp(92px,15vw,150px); font-weight: 800; line-height: .9; letter-spacing: -7px; }
.success-icon { display: grid; width: 72px; height: 72px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#7f61cf,#9a7ce1); box-shadow: 0 14px 30px rgba(111,76,194,.25); }
.system-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.system-primary, .system-secondary { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 11px; padding: 0 23px; border-radius: 999px; font-size: 16px; font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.system-primary { color: #fff; background: linear-gradient(100deg,#8262d2,#9977df); box-shadow: 0 14px 28px rgba(108,73,191,.22); }
.system-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(108,73,191,.32); }
.system-secondary { color: var(--ink); background: #f2edf9; }
.system-secondary:hover { color: var(--purple-dark); transform: translateY(-2px); }
.thanks-note { display: flex; max-width: 390px; align-items: center; gap: 14px; margin: 25px auto 0; padding: 15px 18px; border-radius: 15px; color: var(--purple-dark); background: #f2edf9; text-align: left; }
.thanks-note > span { flex: 0 0 28px; }
.thanks-note strong, .thanks-note a { display: block; }
.thanks-note strong { color: var(--ink); font-size: 13px; }
.thanks-note a { margin-top: 3px; color: var(--purple-dark); font-size: 15px; font-weight: 800; }
.system-footer { padding: 18px; color: #858995; font-size: 13px; text-align: center; }

/* The full desktop header needs more room than the page content itself.
   Switch it before controls can push past the glass container. */
/* ==========================================================
   19. Responsive layout
   ========================================================== */
@media (max-width: 1400px) {
    .site-header { padding: 14px; }
    .nav-shell { width: 100%; max-width: 100%; min-height: 76px; padding: 10px 12px 10px 16px; }
    .brand-mark { width: 54px; height: 54px; }
    .brand-name { font-size: 18px; }
    .brand-name > span { display: block; }
    .brand-subtitle { display: none; }
    .brand { margin-right: auto; }
    .desktop-nav, .header-actions { display: none; }
    .mobile-header-phone { display: inline-flex; margin-left: 0; }
    .mobile-toggle { display: inline-flex; flex: 0 0 48px; margin-left: 8px; }
}

@media (max-width: 1180px) {
    .desktop-nav { gap: 17px; padding: 0 16px; }
    .desktop-nav > a, .desktop-nav .nav-parent { font-size: 13px; }
    .phone-block { display: none; }
    .hero-copy { width: min(620px, 58%); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-card { min-height: 250px; }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tariff-program { min-height: 80px; }
    .pricing-cta { grid-template-columns: 64px 1fr auto; }
    .pricing-cta > ul { grid-column: 1 / -1; grid-row: 2; }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .education-intro { grid-template-columns: 190px minmax(0,1fr); }
    .education-intro > img { width: 180px; height: 180px; }
    .education-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-main { grid-template-columns: 1.25fr .75fr 1fr; }
    .footer-action { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; }
    .footer-action h2, .footer-action p { margin: 0; }
    .footer-action button { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 1060px) {
    .site-header { padding: 14px; }
    .nav-shell { width: 100%; max-width: 100%; min-height: 76px; padding: 10px 12px 10px 16px; }
    .brand-mark { width: 54px; height: 54px; }
    .brand-name { font-size: 18px; }
    .brand-name > span { display: block; }
    .brand-subtitle { display: none; }
    .desktop-nav, .header-actions { display: none; }
    .mobile-header-phone { margin-left: 0; }
    .mobile-header-phone { display: inline-flex; }
    .mobile-toggle { display: inline-flex; flex: 0 0 48px; margin-left: 8px; }
    .hero {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(247,243,249,.98) 0%, rgba(247,243,249,.9) 47%, rgba(247,243,249,.28) 73%, rgba(247,243,249,.08) 100%),
            url("img/bg.webp");
        background-position: center, 65% center;
    }
    .hero-content { width: min(690px, calc(100% - 40px)); min-height: 0; align-items: flex-start; padding: 38px 0 190px; }
    .hero-copy { width: 100%; }
    h1 { max-width: 650px; font-size: clamp(40px, 8.2vw, 62px); }
    .hero-text { font-size: 15px; }
    .trust-panel { grid-template-columns: 1fr; gap: 20px; margin-top: -55px; }
    .trust-item { grid-template-columns: 64px minmax(0, 1fr); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .program-card { min-height: 230px; }
    .day-tabs { grid-template-columns: repeat(8, 118px); margin-inline: -14px; padding-inline: 14px; }
    .day-panel { grid-template-columns: 1fr; }
    .day-panel-image { min-height: 390px; grid-row: 1; border-radius: 28px 28px 0 0; }
    .day-panel-copy { grid-row: 2; }
    .excursion-shell { grid-template-columns: 1fr; }
    .excursion-content { padding: 38px; }
    .excursion-video { min-height: 0; aspect-ratio: 16 / 9; }
    .trial-grid, .address-shell { grid-template-columns: 1fr; }
    .address-map { min-height: 360px; }
}

@media (max-width: 600px) {
    .site-header { padding: 10px; }
    .nav-shell { width: 100%; max-width: 100%; border-radius: 15px; }
    .brand { gap: 10px; }
    .brand-name { font-size: 16px; }
    .mobile-header-phone { flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; }
    .mobile-phone-number { display: none; }
    .accessibility-modal .uk-modal-dialog { padding: 27px 18px 20px; border-radius: 21px; }
    .accessibility-header h2 { font-size: 22px; }
    .accessibility-header > span { width: 48px; height: 48px; }
    .accessibility-font-controls { grid-template-columns: 1fr; }
    .accessibility-font-controls button { min-height: 53px; }
    .accessibility-switches { grid-template-columns: 1fr; }
    .hero-content { width: calc(100% - 32px); padding: 30px 0 145px; }
    .eyebrow { margin-bottom: 18px; padding: 6px 13px; font-size: 11px; line-height: 1.35; text-align: center; }
    h1 { font-size: clamp(35px, 10.5vw, 48px); line-height: 1.1; letter-spacing: -1.35px; }
    .hero-text { margin-top: 20px; font-size: 14px; }
    .hero-buttons { flex-direction: column; margin-top: 25px; }
    .primary-button, .video-button { width: 100%; min-width: 0; }
    .primary-button { gap: 25px; }
    .video-button { text-align: center; }
    .callback-form-wrap { padding: 38px 22px 30px; }
    .callback-modal .uk-modal-close-default { top: 12px; right: 12px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-intro { margin-bottom: 22px; font-size: 14px; }
    .callback-form { gap: 14px; }
    .programs-section { padding-bottom: 60px; }
    .trust-panel { margin-top: -40px; padding: 22px 18px; border-radius: 17px; }
    .program-grid { grid-template-columns: 1fr; gap: 13px; }
    .program-card { min-height: 210px; }
    .advantages-section { padding: var(--section-space-mobile) 0; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2 { font-size: 34px; letter-spacing: -1.2px; }
    .section-heading > span { font-size: 15px; }
    .section-heading > span br { display: none; }
    .advantages-grid { grid-template-columns: 1fr; gap: 12px; }
    .advantage-card { min-height: 0; padding: 26px 24px 52px; border-radius: 24px; }
    .advantage-icon { width: 78px; height: 78px; }
    .advantage-icon > img { width: 48px; height: 48px; }
    .advantage-card b { top: 25px; right: 21px; font-size: 48px; }
    .advantage-card h3 { margin-top: 20px; font-size: 22px; }
    .advantage-card p { font-size: 15px; }
    .advantage-card::after { bottom: 25px; left: 24px; width: 44px; }
    .day-section { padding: var(--section-space-mobile) 0; }
    .day-section { padding-bottom: 30px; }
    .day-tabs {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 0;
        overscroll-behavior-inline: contain;
    }
    .day-heading { margin-bottom: 28px; }
    .day-heading h2 { font-size: 34px; letter-spacing: -1.2px; }
    .day-heading > span { font-size: 15px; }
    .day-heading > span br { display: none; }
    .day-tabs { grid-template-columns: repeat(8, 105px); }
    .day-icon { width: 56px; height: 56px; }
    .day-icon img { width: 34px; height: 34px; }
    .day-tab::after { top: 52px; left: calc(50% + 32px); width: calc(100% - 54px); }
    .day-panel { border-radius: 18px; }
    .uk-lightbox-items > * { padding: 64px 12px 92px; }
    .uk-lightbox-items > * > img { max-height: calc(100svh - 164px); border-radius: 13px; }
    .uk-lightbox-toolbar { padding: 10px 12px; }
    .uk-lightbox-toolbar-icon { width: 44px; height: 44px; }
    .uk-lightbox-button {
        top: auto;
        bottom: 18px;
        width: 50px;
        height: 50px;
        transform: none;
    }
    .uk-lightbox-button:hover { transform: scale(1.04); }
    .uk-lightbox-button.uk-position-center-left { left: 16px; }
    .uk-lightbox-button.uk-position-center-right { right: 16px; }
    .uk-lightbox-caption {
        bottom: 27px;
        max-width: calc(100% - 150px);
        overflow: hidden;
        padding: 7px 11px;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gallery-lightbox-counter { top: 15px; left: 14px; padding: 7px 11px; font-size: 13px; }
    .day-panel-image { min-height: 255px; border-radius: 18px 18px 0 0; }
    .day-panel-copy { min-height: 0; padding: 25px 18px 22px; }
    .day-panel-copy h3 { font-size: 21px; }
    .day-panel-copy > p { font-size: 15px; }
    .day-benefits { grid-template-columns: 1fr; margin-bottom: 23px; }
    .day-benefits li { font-size: 13px; }
    .day-controls button:last-child { flex: 1; }
    .excursion-section { padding: var(--section-space-mobile) 0; }
    .excursion-section { padding-top: 30px; }
    .excursion-shell { gap: 12px; padding: 10px; border-radius: 20px; }
    .excursion-content { padding: 27px 18px 23px; border-radius: 15px; }
    .excursion-content h2 { font-size: clamp(28px, 7.6vw, 31px); letter-spacing: -.9px; }
    .excursion-intro { margin: 17px 0 21px; font-size: 15px; }
    .excursion-fields { grid-template-columns: 1fr; gap: 10px; }
    .excursion-video { border-radius: 15px; }
    .floating-call { right: max(18px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
    .floating-call::before, .floating-call::after { inset: -2px; }
    .floating-call-label { display: none; }
    .floating-accessibility { right: max(20px,env(safe-area-inset-right)); bottom: calc(max(16px,env(safe-area-inset-bottom)) + 64px); width: 48px; height: 48px; min-height: 48px !important; }
    .floating-accessibility-label { display: none; }
    .pricing-section { padding: var(--section-space-mobile) 0; }
    .pricing-heading { margin-bottom: 28px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 13px; }
    .tariff-top { min-height: 108px; }
    .tariff-body { padding-inline: 17px; }
    .tariff-price strong { font-size: 29px; }
    .tariff-program { min-height: 0; }
    .tariff-photo { min-height: 180px; }
    .pricing-cta { grid-template-columns: 54px 1fr; gap: 14px; padding: 19px 17px; }
    .pricing-cta-icon { width: 52px; height: 52px; border-radius: 15px; }
    .pricing-cta > ul { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 10px; padding: 5px 0; }
    .pricing-cta-action { grid-column: 1 / -1; width: 100%; }
    .pricing-cta-action button { width: 100%; }
    .education-section { padding: var(--section-space-mobile) 0; }
    .education-intro { display: block; min-height: 0; margin-bottom: 25px; }
    .education-intro > img { display: block; width: 140px; height: 140px; margin: 0 auto 18px; }
    .education-heading h2 { font-size: 34px; letter-spacing: -1.2px; }
    .education-heading > span, .education-heading > small { font-size: 14px; }
    .education-heading br { display: none; }
    .education-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .education-switch button { min-height: 54px; padding: 0 12px; font-size: 13px; }
    .education-panel { padding: 0; border-radius: 0; }
    .education-panel > header { margin: 7px 4px 16px; }
    .education-grid { grid-template-columns: 1fr; gap: 12px; }
    .education-photo { height: 190px; }
    .education-grid h4 { font-size: 18px; }
    .education-grid p { font-size: 14px; }
    .gallery-section { padding: var(--section-space-mobile) 0; }
    .gallery-container { width: calc(100% - 24px); }
    .gallery-heading { margin-bottom: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .gallery-item { border-radius: 13px; aspect-ratio: 1 / 1; }
    .gallery-show-more { width: 100%; margin-top: 24px; padding-inline: 15px; }
    .trial-section { padding: var(--section-space-mobile) 0; }
    .trial-info, .trial-form-card { padding: 25px 19px; border-radius: 18px; }
    .trial-facts { grid-template-columns: 1fr; }
    .trial-form { padding: 14px; border-radius: 16px; }
    .trial-info h2, .trial-form-card h2, .address-content h2 { font-size: 24px; }
    .trial-list li { grid-template-columns: 40px 1fr; gap: 10px; }
    .trial-list i { width: 38px; height: 38px; }
    .address-section { padding-bottom: 68px; }
    .address-shell { gap: 16px; padding: 12px; border-radius: 19px; }
    .address-content { padding: 13px 7px 7px; }
    .route-button { width: 100%; }
    .address-map, .address-map iframe { min-height: 310px; }
    .site-footer { padding-top: 52px; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
    .footer-action { display: block; grid-column: auto; }
    .footer-action h2 { margin-bottom: 10px; }
    .footer-action p { margin-bottom: 17px; }
    .footer-action button { width: 100%; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
    .footer-bottom a:last-child { margin-left: 0; }
    .system-header { padding: 12px; }
    .system-header .brand-subtitle, .system-phone { display: none; }
    .system-main { min-height: calc(100svh - 125px); padding: 25px 12px 45px; }
    .system-card { padding: 38px 19px; border-radius: 22px; }
    .system-card h1 { font-size: 36px; letter-spacing: -1.2px; }
    .system-card > p { font-size: 15px; }
    .error-number { font-size: 100px; }
    .system-actions { flex-direction: column; }
    .system-primary, .system-secondary { width: 100%; }
}

@media (max-width: 420px) {
    .nav-shell { min-height: 70px; padding: 9px 9px 9px 12px; }
    .brand-mark { width: 48px; height: 48px; }
    .brand-name { max-width: 118px; font-size: 14px; line-height: 1.08; letter-spacing: -.2px; }
    .mobile-toggle { flex: 0 0 44px; width: 44px; height: 44px; }
}

@media (max-width: 360px) {
    .mobile-header-phone { display: none; }
    .mobile-toggle { margin-left: auto; }
}

/* Layout protection for enlarged-text accessibility modes */
:is(html.a11y-font-large, html.a11y-font-xlarge) body { overflow-wrap: anywhere; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .site-header { padding: 12px; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .nav-shell { width: 100%; max-width: 100%; min-height: 76px; padding: 10px 12px; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .desktop-nav,
:is(html.a11y-font-large, html.a11y-font-xlarge) .header-actions { display: none !important; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .brand-subtitle { display: none; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .mobile-header-phone { display: inline-flex; margin-left: 8px; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .mobile-toggle { display: inline-flex; flex: 0 0 48px; margin-left: 8px; }

:is(html.a11y-font-large, html.a11y-font-xlarge) .trust-panel { grid-template-columns: 1fr; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .program-grid,
:is(html.a11y-font-large, html.a11y-font-xlarge) .advantages-grid,
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-grid,
:is(html.a11y-font-large, html.a11y-font-xlarge) .education-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
:is(html.a11y-font-large, html.a11y-font-xlarge) .day-panel,
:is(html.a11y-font-large, html.a11y-font-xlarge) .excursion-shell,
:is(html.a11y-font-large, html.a11y-font-xlarge) .trial-grid,
:is(html.a11y-font-large, html.a11y-font-xlarge) .address-shell { grid-template-columns: 1fr; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .day-panel-image { min-height: 360px; grid-row: 1; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .day-panel-copy { grid-row: 2; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .day-tabs { grid-template-columns: repeat(8,160px); overflow-x: auto; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .day-benefits { grid-template-columns: 1fr; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .excursion-video { min-height: 0; aspect-ratio: 16/9; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .education-intro { grid-template-columns: 180px minmax(0,1fr); }
:is(html.a11y-font-large, html.a11y-font-xlarge) .education-intro > img { width: 170px; height: 170px; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .education-switch { flex-wrap: wrap; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .tariff-card,
:is(html.a11y-font-large, html.a11y-font-xlarge) .advantage-card,
:is(html.a11y-font-large, html.a11y-font-xlarge) .tariff-program { min-height: 0; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta { grid-template-columns: 64px 1fr; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta > ul,
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta-action { grid-column: 1/-1; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta > ul { grid-template-columns: 1fr; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta-action { width: 100%; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta-action button { width: 100%; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-cta-action small { white-space: normal; text-align: center; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
:is(html.a11y-font-large, html.a11y-font-xlarge) .footer-action { display: block; grid-column: 1/-1; }

:is(html.a11y-font-large, html.a11y-font-xlarge) button,
:is(html.a11y-font-large, html.a11y-font-xlarge) .system-primary,
:is(html.a11y-font-large, html.a11y-font-xlarge) .system-secondary,
:is(html.a11y-font-large, html.a11y-font-xlarge) .route-button { min-height: 56px; height: auto; padding-top: 12px; padding-bottom: 12px; white-space: normal; }
:is(html.a11y-font-large, html.a11y-font-xlarge) input,
:is(html.a11y-font-large, html.a11y-font-xlarge) select,
:is(html.a11y-font-large, html.a11y-font-xlarge) textarea { min-width: 0; max-width: 100%; height: auto; min-height: 56px; }
:is(html.a11y-font-large, html.a11y-font-xlarge) .accessibility-modal .uk-modal-dialog { max-height: calc(100svh - 28px); overflow-y: auto; }

html.a11y-font-xlarge .program-grid,
html.a11y-font-xlarge .advantages-grid,
html.a11y-font-xlarge .pricing-grid,
html.a11y-font-xlarge .education-grid,
html.a11y-font-xlarge .footer-main { grid-template-columns: 1fr; }
html.a11y-font-xlarge .education-intro { display: block; }
html.a11y-font-xlarge .education-intro > img { display: block; margin: 0 auto 18px; }
html.a11y-font-xlarge .day-tabs { grid-template-columns: repeat(8,190px); }

@media (max-width: 700px) {
    :is(html.a11y-font-large, html.a11y-font-xlarge) .program-grid,
    :is(html.a11y-font-large, html.a11y-font-xlarge) .advantages-grid,
    :is(html.a11y-font-large, html.a11y-font-xlarge) .pricing-grid,
    :is(html.a11y-font-large, html.a11y-font-xlarge) .education-grid,
    :is(html.a11y-font-large, html.a11y-font-xlarge) .footer-main { grid-template-columns: 1fr; }
    :is(html.a11y-font-large, html.a11y-font-xlarge) .mobile-phone-number { display: none; }
    :is(html.a11y-font-large, html.a11y-font-xlarge) .mobile-header-phone { flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; }
    :is(html.a11y-font-large, html.a11y-font-xlarge) .brand-name { max-width: 125px; }
    :is(html.a11y-font-large, html.a11y-font-xlarge) .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
    .floating-call, .floating-call::before, .floating-call::after,
    .day-controls button:last-child > span,
    .play-icon,
    .hero .video-button,
    .hero .video-button::before { animation: none !important; }
}

/* ==========================================================
   20. Universal text and legal page
   ========================================================== */
.text-page-body { min-height: 100vh; background: radial-gradient(circle at 8% 8%,rgba(139,108,219,.09),transparent 25%),#faf8fc; }
.text-page-header { position: relative; }
.text-page-main { padding: 28px 0 90px; }
.text-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 8px 0 24px; color: #8a8e9a; font-size: 14px; }
.text-breadcrumbs a { color: var(--purple-dark); font-weight: 700; }
.text-page-layout { display: grid; grid-template-columns: 250px minmax(0,900px); gap: 34px; align-items: start; justify-content: center; }
.text-page-aside { position: sticky; top: 20px; padding: 22px; border: 1px solid rgba(111,82,151,.1); border-radius: 20px; background: rgba(255,255,255,.8); box-shadow: 0 14px 35px rgba(51,36,73,.06); }
.text-page-aside > p { margin: 0 0 13px; color: var(--ink); font-size: 16px; font-weight: 800; }
.text-page-aside nav { display: grid; gap: 4px; }
.text-page-aside a { padding: 9px 10px; border-radius: 10px; color: #626775; font-size: 14px; line-height: 1.4; }
.text-page-aside a:hover { color: var(--purple-dark); background: #f1ecfb; }
.text-document { overflow: hidden; border: 1px solid rgba(111,82,151,.1); border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(51,36,73,.08); }
.text-document-header { padding: 48px 52px 42px; background: radial-gradient(circle at 100% 0,rgba(139,108,219,.13),transparent 34%),linear-gradient(145deg,#fff,#faf7ff); }
.text-document-header > span { display: inline-flex; padding: 7px 13px; border-radius: 999px; color: var(--purple-dark); background: #eee8fa; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.text-document-header h1 { max-width: none; margin: 18px 0 14px; font-size: clamp(38px,5vw,58px); line-height: 1.07; }
.text-document-header p { max-width: 700px; margin: 0; color: #656a78; font-size: 17px; line-height: 1.6; }
.text-document-header small { display: block; margin-top: 17px; color: #9295a0; font-size: 13px; }
.text-document > section { padding: 38px 52px; border-top: 1px solid #eeeaf2; scroll-margin-top: 24px; }
.text-document h2 { margin: 0 0 19px; color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1.2; }
.text-document h3 { margin: 26px 0 12px; color: var(--ink); font-size: 21px; font-weight: 800; }
.text-document section > p, .text-document li { color: #555b69; font-size: 16px; line-height: 1.75; }
.text-document section > p { margin: 0 0 16px; }
.text-document ul, .text-document ol { display: grid; gap: 8px; margin: 18px 0; padding-left: 25px; }
.text-document section a { color: var(--purple-dark); font-weight: 700; }
.text-note { margin: 25px 0 4px; padding: 20px 22px; border-left: 4px solid var(--purple); border-radius: 0 15px 15px 0; background: #f5f1fc; }
.text-note strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 16px; }
.text-note p { margin: 0; color: #626775; font-size: 15px; line-height: 1.6; }
.text-contact-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 25px; }
.text-contact-card > div { padding: 18px 20px; border-radius: 15px; background: #f7f3fc; }
.text-contact-card small, .text-contact-card a { display: block; }
.text-contact-card small { margin-bottom: 6px; color: #888c98; font-size: 12px; }
.text-contact-card a { overflow-wrap: anywhere; color: var(--ink) !important; font-size: 15px; font-weight: 800; }

@media (max-width: 900px) {
    .text-page-layout { grid-template-columns: 1fr; }
    .text-page-aside { position: static; }
    .text-page-aside nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
    .text-page-main { padding: 14px 0 55px; }
    .text-breadcrumbs { margin-bottom: 16px; font-size: 13px; }
    .text-page-aside { padding: 15px; border-radius: 16px; }
    .text-page-aside nav { grid-template-columns: 1fr; }
    .text-document { border-radius: 20px; }
    .text-document-header { padding: 31px 22px 28px; }
    .text-document-header h1 { font-size: 36px; letter-spacing: -1.2px; }
    .text-document-header p { font-size: 15px; }
    .text-document > section { padding: 29px 22px; }
    .text-document h2 { font-size: 25px; }
    .text-document h3 { font-size: 19px; }
    .text-document section > p, .text-document li { font-size: 15px; line-height: 1.68; }
    .text-contact-card { grid-template-columns: 1fr; }
}

/* ==========================================================
   21. Педагогический состав
   ========================================================== */
.teachers-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--section-space) 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(139,108,219,.09), transparent 26%),
        radial-gradient(circle at 92% 84%, rgba(255,173,111,.08), transparent 24%),
        #faf8fc;
}

.teachers-heading { margin-bottom: 34px; }
.teachers-heading > p { color: var(--purple); background: #f1edfb; }

/* ---------- Вкладки групп ---------- */
.teachers-tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 30px;
    padding: 4px 4px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.teachers-tabs::-webkit-scrollbar { display: none; }

.teachers-tab {
    display: flex;
    flex: 0 0 auto;
    min-height: 62px;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid rgba(129,96,196,.18);
    border-radius: 16px;
    color: #4c515f;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 26px rgba(54,38,78,.05);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease;
}

.teachers-tab > span { display: grid; gap: 4px; }
.teachers-tab small { color: #8b8f9c; font-size: 12px; font-weight: 600; }

.teachers-tab:hover {
    color: var(--purple-dark);
    border-color: rgba(129,96,196,.42);
    transform: translateY(-2px);
}

.teachers-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(110deg, #7d5dce, #9d7de4);
    box-shadow: 0 14px 30px rgba(107,73,190,.24);
}

.teachers-tab.is-active small { color: rgba(255,255,255,.78); }

/* ---------- Панели групп ---------- */
.teachers-panel { animation: teachers-panel-in .5s cubic-bezier(.22,1,.36,1); }
.teachers-panel[hidden] { display: none; }

@keyframes teachers-panel-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.teachers-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 20px;
    padding-left: 3px;
}

.teachers-group-head h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.teachers-group-head span {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--purple-dark);
    background: #f0ebfb;
    font-size: 12px;
    font-weight: 700;
}

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

/* ---------- Карточка педагога ---------- */
.teacher-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(102,78,137,.09);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(54,38,78,.065);
    transition: transform .25s ease, box-shadow .25s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(54,38,78,.13);
}

.teacher-photo {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    place-items: center;
    background: linear-gradient(145deg, #f1ecfa, #fdf4ec);
}

.teacher-photo-initials {
    color: rgba(132,98,211,.34);
    font-size: 74px;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.teacher-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}

.teacher-card:hover .teacher-photo img { transform: scale(1.045); }

.teacher-role {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--purple-dark);
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 20px rgba(45,34,67,.12);
    font-size: 12px;
    font-weight: 800;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.teacher-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.teacher-name {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.teacher-note {
    margin: 0 0 20px;
    color: #5b606e;
    font-size: 15px;
    line-height: 1.55;
}

.teacher-more {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 0 20px;
    border: 1px solid rgba(134,101,213,.34);
    border-radius: 999px;
    color: var(--purple-dark);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease;
}

.teacher-more span { font-size: 19px; font-weight: 400; transition: transform .2s ease; }

.teacher-more:hover {
    color: #fff;
    border-color: transparent;
    background: var(--purple);
    box-shadow: 0 14px 28px rgba(107,73,190,.25);
    transform: translateY(-2px);
}

.teacher-more:hover span { transform: translateX(4px); }
.teacher-more:active { transform: translateY(0) scale(.98); }

/* ---------- Боковая панель педагога ---------- */
/* ---------- Боковая панель педагога ---------- */
.teacher-drawer .uk-offcanvas-bar {
    width: 50vw;
    max-width: 50vw;
    padding: 0;
    color: var(--ink);
    background: linear-gradient(160deg, #fff 0%, #f7f2ff 100%);
    box-shadow: -20px 0 60px rgba(35,22,65,.22);
    transform: translate3d(100%, 0, 0);
    transition: transform .42s cubic-bezier(.22,1,.36,1);
    will-change: transform;
    backface-visibility: hidden;
    overscroll-behavior: contain;
}

.teacher-drawer.uk-open .uk-offcanvas-bar { transform: translate3d(0, 0, 0); }

/* Затемнённый и размытый фон под панелью */
.teacher-drawer.uk-offcanvas-overlay::before {
    opacity: 0;
    background: rgba(31, 22, 44, .34);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity .35s ease;
}

.teacher-drawer.uk-open::before { opacity: 1; }

.teacher-drawer.uk-open .uk-offcanvas-bar { transform: translate3d(0, 0, 0); }

.teacher-drawer .uk-offcanvas-close {
    top: 18px;
    right: 18px;
    z-index: 5;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 22px rgba(45,34,67,.14);
}

.teacher-drawer-inner { padding: 0 0 40px; }

.teacher-drawer-hero {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3.2;
    place-items: center;
    background: linear-gradient(145deg, #efe8fa, #fdf3ea);
}

.teacher-drawer-hero .teacher-photo-initials {
    font-size: 96px;
    color: rgba(132,98,211,.3);
}

.teacher-drawer-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.teacher-drawer-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, transparent, rgba(24,16,38,.66));
    content: "";
    pointer-events: none;
}

.teacher-drawer-head {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 22px;
    left: 26px;
    color: #fff;
}

.teacher-drawer-head h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
}

.teacher-drawer-head span {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.22);
    font-size: 12px;
    font-weight: 800;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.teacher-drawer-body { padding: 26px 26px 0; }

.teacher-drawer-group {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--purple-dark);
    background: #f0ebfb;
    font-size: 12px;
    font-weight: 800;
}

.teacher-drawer-body > p {
    margin: 0 0 20px;
    color: #555b69;
    font-size: 15px;
    line-height: 1.68;
}

.teacher-drawer-sub {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.teacher-drawer-list {
    display: grid;
    gap: 9px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.teacher-drawer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #545a68;
    font-size: 14px;
    line-height: 1.55;
}

.teacher-drawer-list li::before {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--purple);
    content: "";
}

.teacher-drawer-facts {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 16px;
    background: #f6f2fc;
}

.teacher-drawer-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 1.45;
}

.teacher-drawer-facts dt { color: #7a7f8c; font-weight: 600; }
.teacher-drawer-facts dd { margin: 0; color: var(--ink); font-weight: 800; text-align: right; }

.teacher-drawer-quote {
    position: relative;
    margin: 0 0 24px;
    padding: 18px 20px 18px 48px;
    border-radius: 16px;
    color: #4e5462;
    background: #fff;
    box-shadow: 0 12px 30px rgba(54,38,78,.07);
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
}

.teacher-drawer-quote::before {
    position: absolute;
    top: 6px;
    left: 18px;
    color: rgba(132,98,211,.35);
    content: "\201C";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-style: normal;
    line-height: 1;
}

.teacher-drawer-cta {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(110deg, #7d5dce, #9d7de4);
    box-shadow: 0 14px 28px rgba(107,73,190,.22);
    font-family: inherit;
    font-size: var(--button-font-size);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.teacher-drawer-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(107,73,190,.32); }
.teacher-drawer-cta span { font-size: 20px; }

.teacher-drawer-note {
    margin: 0;
    color: #8b8f9c;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
    .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .teacher-drawer .uk-offcanvas-bar {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .teachers-section { padding: var(--section-space-mobile) 0; }
    .teachers-heading { margin-bottom: 24px; }
    .teachers-tabs { margin-bottom: 22px; padding-inline: 0; }
    .teachers-tab { min-height: 56px; padding: 9px 16px; font-size: 14px; white-space: normal; }
    .teachers-group-head h3 { font-size: 21px; }
    .teachers-grid { grid-template-columns: 1fr; gap: 14px; }
    .teacher-photo { aspect-ratio: 4 / 3; }
    .teacher-body { padding: 20px 20px 22px; }
    .teacher-drawer .uk-offcanvas-bar { width: 100%; }
    .teacher-drawer-head { right: 20px; bottom: 18px; left: 20px; }
    .teacher-drawer-head h3 { font-size: 23px; }
    .teacher-drawer-body { padding: 22px 20px 0; }
    .teacher-drawer-facts > div { flex-direction: column; gap: 3px; }
    .teacher-drawer-facts dd { text-align: left; }
}

/* ---------- Доступность ---------- */
:is(html.a11y-font-large, html.a11y-font-xlarge) .teachers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.a11y-font-xlarge .teachers-grid { grid-template-columns: 1fr; }

:is(html.a11y-font-large, html.a11y-font-xlarge) .teachers-tab {
    white-space: normal;
    min-height: 62px;
    padding-top: 12px;
    padding-bottom: 12px;
}

html.a11y-contrast .teacher-card,
html.a11y-contrast .teachers-tab,
html.a11y-contrast .teacher-drawer .uk-offcanvas-bar {
    border-color: #000 !important;
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
}

html.a11y-contrast .teacher-drawer-hero::after { display: none; }
html.a11y-contrast .teacher-drawer-head,
html.a11y-contrast .teacher-drawer-head h3,
html.a11y-contrast .teacher-drawer-head span { color: #000 !important; background: #fff !important; }
html.a11y-contrast .teacher-role { color: #000 !important; background: #fff !important; }
html.a11y-contrast .teacher-drawer-cta { color: #fff !important; background: #000 !important; border: 2px solid #000 !important; }

html.a11y-spacing .teacher-note,
html.a11y-spacing .teacher-drawer-body > p,
html.a11y-spacing .teacher-drawer-list li { line-height: 1.9 !important; }

@media (prefers-reduced-motion: reduce) {
    .teachers-panel,
    .teacher-drawer .uk-offcanvas-bar { animation: none !important; transition-duration: .01ms !important; }
}