*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
}

:root {
    /* Brand colors */
    --primary-color: #0C1E45;
    --secondary-color: #C7EF66;
    --third-color: #11358B;
    --blue-accent: #6192FC;
    --text-muted: #5C6B86;
    --accent: var(--secondary-color);

    /* Age badge colors */
    --age-7:  #C7EF66;
    --age-8:  #B5E87A;
    --age-9:  #A3E18E;
    --age-10: #91DAA2;
    --age-11: #7FD3B6;
    --age-12: #6DCCCA;
    --age-13: #6192FC;
    --age-14: #547BE4;
    --age-15: #4764CC;
    --age-16: #3A4DB4;
    --age-17: #11358B;

    /* Fonts — Jakarta loads async via fonts-jakarta.css */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-size-base: 16px;

    /* Layout */
    --spacing-unit: 8px;
    --section-space: 36px;
    --section-space-location: 40px;
    --container: 1200px;
    --container-pad: clamp(12px, 4vw, 24px);
    --page-bg: #EFF0F4;

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--font-body);
    background: var(--page-bg);
    color: var(--primary-color);
    padding-top: 0;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

.gallery-media img,
.progressive-img.is-lqip,
.progressive-media img.is-lqip {
    transform: scale(1.02);
    filter: blur(10px);
}

.progressive-img.is-hq-loaded,
.progressive-media img.is-hq-loaded,
.gallery-media img.is-hq-loaded {
    transform: none;
    filter: none;
    transition: filter .4s ease, transform .4s ease;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-bar {
    height: 80px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(17, 53, 139, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.header.is-scrolled .header-bar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(17, 53, 139, 0.1);
    box-shadow: 0 8px 28px rgba(12, 30, 69, 0.08);
}

.header-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Clip container: hinge line under header border */
.main-nav {
    position: absolute;
    top: calc(80px - 1px);
    left: 0;
    right: 0;
    z-index: 90;
    max-height: 1px;
    overflow: hidden;
    pointer-events: none;
    transition: top .45s cubic-bezier(.22, .61, .36, 1),
                max-height .45s cubic-bezier(.22, .61, .36, 1);
}

/* Shutter: 1px border-top slides down with the panel */
.main-nav-shutter {
    border-top: 1px solid rgba(17, 53, 139, 0.08);
    background: #fff;
    margin-top: -1px;
    clip-path: inset(0 0 calc(100% - 1px) 0);
    transition: clip-path .45s cubic-bezier(.22, .61, .36, 1),
                margin-top .45s cubic-bezier(.22, .61, .36, 1),
                box-shadow .3s ease;
    box-shadow: none;
}

.main-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px var(--container-pad) 20px;
    background: #fff;
}

.main-nav.is-open {
    top: 80px;
    max-height: 420px;
    overflow: visible;
    pointer-events: auto;
}

.main-nav.is-open .main-nav-shutter {
    margin-top: 0;
    clip-path: inset(0 0 0 0);
    box-shadow: 0 20px 60px rgba(12, 30, 69, 0.08);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 12px var(--container-pad);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: none;
}

.logo img {
    display: block;
    width: 114px;
    height: 48px;
    max-width: none;
}

.right-block {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.whatapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    padding: 13px;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.menu-button {
    position: relative;
    height: 48px;
    width: 48px;
    background: rgba(255, 255, 255, 0.7);
    border: 0.666667px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0px 6px 18px rgba(20, 22, 58, 0.08);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--third-color);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform .25s ease, opacity .2s ease;
}

.menu-button span {
    top: 50%;
    margin-top: -1px;
}

.menu-button span::before {
    top: -6px;
}

.menu-button span::after {
    top: 6px;
}

.menu-button[aria-expanded="true"] span {
    background: transparent;
}

.menu-button[aria-expanded="true"] span::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.menu-button[aria-expanded="true"] span::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

.main-nav a {
    padding: 12px 4px;
    color: var(--third-color);
    font-weight: 700;
    text-decoration: none;
}

.main-nav .main-nav-cta {
    margin-top: 6px;
    padding: 12px 16px;
    background-color: var(--third-color);
    background-image: linear-gradient(30deg, var(--third-color) 0%, var(--third-color) 42%, var(--blue-accent) 100%);
    background-size: 200% auto;
    background-position: left center;
    color: #fff;
    border-radius: var(--radius-md);
    text-align: center;
    transition: background-position 0.45s ease;
}

.main-nav .main-nav-cta:hover {
    background-position: right center;
    color: #fff;
    animation: btn-pulse-primary 1.5s infinite;
}


.hero h1 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 38px;
    margin-top: 16px;
}

.hero h1 span:nth-child(1) {
    color: var(--third-color);
}

.hero h1 span:nth-child(2) {
    color: var(--blue-accent);
}

.hero .title-description {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.tags {
    margin-top: 13px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    align-items: flex-start;
}

.tags a,
.tags-item {
    margin-right: 8px;
    margin-bottom: 9px;
    padding: 7px 12px;
    border-radius: 35px;
    background: rgb(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 700;
    color: var(--third-color);
    border: 1px solid #ffffff;
    white-space: nowrap;
    text-decoration: none;
}

.tags a:first-child,
.tags-item:first-child {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.hero-media {
    position: relative;
    margin-top: 12px;
    overflow: visible;
    padding-top: 8px;
}

.hero-slide {
    position: relative;
    overflow: visible;
}

.hero-slide .rating-mark {
    position: absolute;
    top: -14px;
    right: 36px;
    z-index: 2;
    background: var(--secondary-color);
    border-radius: 12px;
    box-sizing: border-box;
    padding: 8px 12px;
    transform: rotate(3deg);
    text-align: center;
    box-shadow: 0 8px 20px rgba(12, 30, 69, 0.12);
}

.hero-slide .rating-mark-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 24px;
    color: var(--third-color);
}

.hero-slide .rating-mark-num:after {
    content: '★';
    font-size: 32px;
}

.hero-slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 32px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.buttons .btn {
    flex: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 12px 28px rgba(17, 53, 139, 0.32);
    z-index: 10;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    border-radius: 16px;
    font-weight: bold;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    font-family: inherit;
    background-size: 200% auto;
    background-position: left center;
    transition: background-position 0.45s ease;
}

.btn-primary {
    background-color: var(--third-color);
    background-image: linear-gradient(30deg, var(--third-color) 0%, var(--third-color) 42%, var(--blue-accent) 100%);
    color: white;
    padding: 15px;
}

.btn-primary:hover {
    background-position: right center;
    animation: btn-pulse-primary 1.5s infinite;
}

.btn-accent {
    background-color: var(--secondary-color);
    background-image: linear-gradient(30deg, var(--secondary-color) 0%, var(--secondary-color) 42%, var(--blue-accent) 100%);
    color: var(--primary-color);
    padding: 15px;
}

.btn-accent:hover {
    background-position: right center;
    animation: btn-pulse-accent 1.5s infinite;
}

.chat-wa {
    background-color: var(--secondary-color);
    background-image: linear-gradient(30deg, var(--secondary-color) 0%, var(--secondary-color) 42%, var(--blue-accent) 100%);
    color: var(--third-color);
    padding: 15px 5px;
}

.chat-wa:hover {
    background-position: right center;
    animation: btn-pulse-accent 1.5s infinite;
}

@keyframes btn-pulse-primary {
    0% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.32), 0 0 0 0 rgba(97, 146, 252, 0.45);
    }

    70% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.32), 0 0 0 10px rgba(97, 146, 252, 0);
    }

    100% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.32), 0 0 0 0 rgba(97, 146, 252, 0);
    }
}

@keyframes btn-pulse-accent {
    0% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.2), 0 0 0 0 rgba(199, 239, 102, 0.55);
    }

    70% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.2), 0 0 0 10px rgba(199, 239, 102, 0);
    }

    100% {
        box-shadow: 0 12px 28px rgba(17, 53, 139, 0.2), 0 0 0 0 rgba(199, 239, 102, 0);
    }
}

.chat-wa img{
    margin-right: 5px;
}

.students-text {
    margin-top: 20px;
    background: white;
    padding: 10px;
    border-radius: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 16px;
}

.students-avatars {
    display: flex;
    flex-shrink: 0;
}

.students-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -15px;
}

.students-avatars img:first-child {
    margin-left: 0;
}

.students-text-block {
    margin-left: 0;
}

.students-num {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--third-color);
}

.guarantee {
    margin-top: 12px;
    text-align: center;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.guarantee img {
    margin-right: 8px;
}

.hero .guarantee {
    margin-bottom: 0;
}

.about-title h2 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 32px;
    margin-top: 0;
}

.about-title h2 span:nth-child(1) {
    color: var(--third-color);
}

.about-title h2 span:nth-child(2) {
    color: var(--blue-accent);
}

.about-text {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ---- About camp (compact split) ---- */
.about-camp {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-camp-media,
.about-camp-body {
    min-width: 0;
    width: 100%;
}

.about-camp-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.15;
    color: var(--primary-color);
    margin: 0;
}

.about-camp-title span:nth-child(1) {
    color: var(--third-color);
}

.about-camp-title span:nth-child(2) {
    color: var(--blue-accent);
}

.about-camp-text {
    margin: 10px 0 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-muted);
}

.about-camp-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-camp-list li {
    position: relative;
    padding-left: 18px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary-color);
}

.about-camp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.about-camp-list li:nth-child(2)::before {
    background: var(--blue-accent);
}

.about-camp-list li:nth-child(3)::before {
    background: var(--third-color);
}

.about-camp-cta {
    display: inline-flex;
    margin-top: 18px;
    width: auto;
    min-width: 160px;
    padding-inline: 24px;
}

.about-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.about-video-el {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    background: #000;
}

.about-blocks {
    margin-top: 16px;
}

.about-skills, .about-career, .about-confidence {
    background: white;
    border-radius: 24px;
    padding: 16px 18px;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-start;
}

.about-skills-title, .about-career-title, .about-confidence-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #0C1E45;
}

.about-skills-desc, .about-career-desc, .about-confidence-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #5C6B86;
}

.about-skills-text, .about-career-text, .about-confidence-text {
    margin-left: 16px;
}

.about-skills-icon, .about-career-icon, .about-confidence-icon {
    border-radius: 16px;
    padding: 12px;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.about-skills-icon {
    background: var(--secondary-color);
}
.about-career-icon {
    background: var(--blue-accent);
}
.about-confidence-icon {
    background: var(--third-color);
}

.projects-title h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: clamp(30px, 4.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-top: 24px;
}

.projects-title h3 span {
    color: var(--blue-accent);
}

.projects-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
    margin-top: 24px;
}

.projects-course {
    border-radius: 16px;
    background: white;
    width: 100%;
    padding-bottom: 12px;
}

.projects-course-media {
    overflow: hidden;
    border-radius: 16px;
}

.projects-course img{
    display: block;
    border-radius: 16px;
    height: 153px;
    width: 100%;
    object-fit: cover;
}
.projects-course-name {
    margin-top: 15px;
    padding: 0 10px;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}
.projects-course-desc {
    width: fit-content;
    margin: 10px 10px 0;
    padding: 2px 10px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
}

.projects-course:nth-child(1) .projects-course-desc {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.projects-course:nth-child(2) .projects-course-desc {
    background: var(--blue-accent);
    color: white;
}

.projects-course:nth-child(3) .projects-course-desc {
    background: var(--blue-accent);
    color: white;
}

.projects-course:nth-child(4) .projects-course-desc {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Section rhythm — sections live inside <main>, not body */
main > section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

main > section.main {
    padding-top: 0;
}

main > section.location {
    padding-top: var(--section-space-location);
}

main > section.cta {
    padding-top: 0;
    padding-bottom: 0;
}

.projects .btn-primary {
    margin-top: 32px;
    border: none;
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
}

.projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.projects-title h3 {
    margin-top: 24px;
    margin-bottom: 0;
}

.projects .projects-cta.btn-primary {
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-top: 24px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.path-title h3,
.path h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 32px;
    margin-top: 24px;
}

.path h3 span {
    color: var(--blue-accent);
}

.path ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
    position: relative;
}

.path ol::before {
    content: "";
    position: absolute;
    left: 33px;
    top: 42px;
    bottom: 42px;
    width: 6px;
    background: #1D3F95;
    border-radius: 4px;
}

.path ol li {
    counter-increment: step;
    position: relative;
    min-height: 120px;
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.path ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.path ol li:nth-child(odd)::before {
    background: #1D3F95;
    color: var(--secondary-color);
}

.path ol li:nth-child(even)::before {
    background: var(--secondary-color);
    color: #1D3F95;
}

.path-num-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    color: #142A63;
}

.path-num-text {
    font-size: 16px;
    line-height: 1.35;
    color: #6E7A9A;
}

.worth-title h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 32px;
    margin: 0 0 16px;
}

.worth-title h3 span {
    color: var(--blue-accent);
}

.worth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.worth-card {
    --worth-accent: var(--third-color);
    --worth-hover-title: #fff;
    --worth-hover-desc: rgba(255, 255, 255, 0.82);

    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 18px 16px;
    overflow: hidden;
    border: 1px solid rgba(12, 30, 69, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 30, 69, 0.04);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.28s ease-out, border-color 0.28s ease-out, box-shadow 0.28s ease-out;
}

.worth-card:nth-child(1) {
    --worth-accent: var(--third-color);
    --worth-hover-title: #fff;
    --worth-hover-desc: rgba(255, 255, 255, 0.85);
}

.worth-card:nth-child(2) {
    --worth-accent: var(--secondary-color);
    --worth-hover-title: var(--primary-color);
    --worth-hover-desc: rgba(12, 30, 69, 0.72);
}

.worth-card:nth-child(3) {
    --worth-accent: var(--third-color);
    --worth-hover-title: #fff;
    --worth-hover-desc: rgba(255, 255, 255, 0.85);
}

.worth-card:nth-child(4) {
    --worth-accent: var(--secondary-color);
    --worth-hover-title: var(--primary-color);
    --worth-hover-desc: rgba(12, 30, 69, 0.72);
}

.worth-card:nth-child(5) {
    --worth-accent: var(--blue-accent);
    --worth-hover-title: #fff;
    --worth-hover-desc: rgba(255, 255, 255, 0.85);
}

.worth-card:nth-child(6) {
    --worth-accent: var(--third-color);
    --worth-hover-title: #fff;
    --worth-hover-desc: rgba(255, 255, 255, 0.85);
}

.about-cta-row,
.location-cta-row {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.camp-facts {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.camp-fact {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 12px 14px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(12, 30, 69, 0.06);
}

.camp-fact-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    color: var(--third-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.camp-fact-value {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.35;
    color: var(--primary-color);
}

.location-layout--camp {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.location-camp-map,
.location-camp-details {
    min-width: 0;
    width: 100%;
}

.location-camp-details .location-title h3 {
    margin: 0 0 14px;
}

.location-camp-details .location-cta-row {
    justify-content: flex-start;
}

.location-map--camp,
.location-map--camp .location-map-canvas {
    min-height: 200px;
    aspect-ratio: 4 / 3;
    height: auto;
}

.location-map--camp iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.worth-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 18px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--worth-accent);
    transform: scale(0);
    transform-origin: 50% 50%;
    opacity: 0;
    transition: transform 0.35s ease-out, opacity 0.3s ease-out;
    pointer-events: none;
}

.worth-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: var(--worth-accent);
}

.worth-card-icon img {
    display: block;
    width: 28px;
    height: auto;
    max-height: 28px;
    object-fit: contain;
}

.worth-card:nth-child(2) .worth-card-icon img {
    width: 34px;
    max-height: 22px;
}

.worth-card-title {
    margin: 0;
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    transition: color 0.3s ease-out;
}

.worth-card-desc {
    margin: 0;
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.45;
    color: #5C6B86;
    transition: color 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .worth-card {
        background: #fff;
        border-color: rgba(12, 30, 69, 0.08);
        box-shadow: 0 8px 24px rgba(12, 30, 69, 0.04);
    }

    .worth-card::before {
        transform: scale(1);
        opacity: 1;
        transform-origin: 50% 50%;
    }

    .worth-card:hover {
        background: var(--worth-accent);
        border-color: transparent;
        box-shadow: 0 12px 32px rgba(12, 30, 69, 0.12);
    }

    .worth-card:hover::before {
        transform: scale(18);
    }

    .worth-card:hover .worth-card-title {
        color: var(--worth-hover-title);
    }

    .worth-card:hover .worth-card-desc {
        color: var(--worth-hover-desc);
    }
}

@media (hover: none), (pointer: coarse) {
    .worth-card {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }

    .worth-card::before {
        display: none;
    }

    .worth-card:active {
        background: var(--worth-accent);
        border-color: transparent;
        box-shadow: 0 8px 24px color-mix(in srgb, var(--worth-accent) 24%, transparent);
    }

    .worth-card:active .worth-card-title {
        color: var(--worth-hover-title);
        transition-duration: 0.22s;
    }

    .worth-card:active .worth-card-desc {
        color: var(--worth-hover-desc);
        transition-duration: 0.22s;
    }
}

.price-title h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 32px;
    margin: 24px 0;
}

.price-title h3 span {
    color: var(--blue-accent);
}

.price-plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
}

.price-plans--single {
    max-width: 400px;
    margin-inline: auto;
}

.price-card-includes {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    flex: 1;
}

.price-card-includes li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.78);
}

.price-card-includes li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.price-card-shell {
    padding: 3px;
    border-radius: 24px;
    background: #EFF0F4;
    transition: box-shadow .3s ease, background .3s ease;
}

.price-card-shell:hover {
    background-image: linear-gradient(163deg, var(--secondary-color) 0%, var(--blue-accent) 100%);
    box-shadow:
        0 16px 40px rgba(12, 30, 69, 0.14),
        0 6px 16px rgba(12, 30, 69, 0.1),
        0 0 28px rgba(97, 146, 252, 0.22);
}

.price-card-shell--featured {
    position: relative;
    padding: 6px;
}

.price-card-shell--featured:hover {
    box-shadow:
        0 20px 48px rgba(12, 30, 69, 0.18),
        0 8px 20px rgba(12, 30, 69, 0.12),
        0 0 32px rgba(97, 146, 252, 0.28);
}

.price-card-badge {
    position: absolute;
    top: 6px;
    left: 70%;
    z-index: 2;
    transform: translate(-50%, -50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.price-card {
    background: #fff;
    border-radius: 21px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    transition: transform .2s ease;
}

.price-card-shell:hover .price-card {
    transform: scale(0.98);
}

.price-card-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--primary-color);
}

.price-card-price {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--third-color);
    margin-top: 8px;
    margin-bottom: 8px;
}

.price-card-price--label {
    font-size: 24px;
    line-height: 1.2;
}

.price-card-description {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-muted);
    flex: 1;
}

.price-card .btn {
    margin-top: 25px;
    border: none;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.price-card--dark {
    background: var(--third-color);
}

.price-card--dark .price-card-title,
.price-card--dark .price-card-price {
    color: #fff;
}

.price-card--dark .price-card-description {
    color: rgba(255, 255, 255, 0.78);
}

.price-card--accent {
    background: var(--secondary-color);
}

.price-card--accent .price-card-title {
    color: var(--primary-color);
}

.price-card--accent .price-card-price {
    color: var(--third-color);
}

.price-card--accent .price-card-description {
    color: var(--primary-color);
    opacity: 0.72;
}

.location-title h3 {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    align-items: center;
    color: var(--primary-color);
    margin: 0 0 12px;
}

.location-title h3 span {
    color: var(--third-color);
}

.location-map {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 190px;
    background: #dfe3eb;
}

.location-map-canvas {
    position: relative;
    min-height: 190px;
}

.location-map-static {
    display: block;
    width: 100%;
    min-height: 190px;
    object-fit: cover;
}

.location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-map-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 68px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.location-map-pin {
    display: block;
    width: 52px;
    height: 68px;
    filter: drop-shadow(0 8px 18px rgba(12, 30, 69, 0.28));
}

.location-map-pin-logo {
    position: absolute;
    left: 50%;
    top: 21px;
    width: 26px;
    height: auto;
    transform: translate(-50%, -50%);
}

.location-map.is-interactive .location-map-marker {
    z-index: 3;
}

.location-map-open {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(12, 30, 69, 0.14);
    transition: transform .2s ease, box-shadow .2s ease;
}

.location-map-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(12, 30, 69, 0.18);
}

.location-map.is-interactive .location-map-open {
    display: none;
}

.location-timetable {
    margin-top: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
}

.timetable-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 14px;
}

.timetable th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    padding: 0 8px 10px 0;
    border-bottom: 2px solid rgba(17, 53, 139, 0.12);
    white-space: nowrap;
}

.timetable td {
    padding: 10px 8px 10px 0;
    vertical-align: middle;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(17, 53, 139, 0.08);
}

.timetable tbody tr:hover td {
    background-color: rgba(12, 30, 69, 0.05);
}

.timetable tbody tr:last-child td {
    border-bottom: none;
}

.timetable th:first-child,
.timetable-age {
    width: 52px;
    padding-right: 12px;
    text-align: center;
}

.timetable-course {
    font-weight: 600;
    line-height: 1.3;
}

.timetable-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

.timetable-age-badge[data-age="7"]  { background: var(--age-7); }
.timetable-age-badge[data-age="8"]  { background: var(--age-8); }
.timetable-age-badge[data-age="9"]  { background: var(--age-9); }
.timetable-age-badge[data-age="10"] { background: var(--age-10); }
.timetable-age-badge[data-age="11"] { background: var(--age-11); }
.timetable-age-badge[data-age="12"] { background: var(--age-12); }
.timetable-age-badge[data-age="13"] { background: var(--age-13); color: #fff; }
.timetable-age-badge[data-age="14"] { background: var(--age-14); color: #fff; }
.timetable-age-badge[data-age="15"] { background: var(--age-15); color: #fff; }
.timetable-age-badge[data-age="16"] { background: var(--age-16); color: #fff; }
.timetable-age-badge[data-age="17"] { background: var(--age-17); color: #fff; }

.timetable-time {
    color: var(--text-muted);
    white-space: nowrap;
}

.timetable-time-range {
    display: inline-block;
}

.timetable-time-sep {
    color: var(--secondary-color);
    font-weight: 600;
}

.timetable-live-dot {
    display: none;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-radius: 50%;
    background: #4ade80;
    vertical-align: middle;
}

.timetable tbody tr.is-live .timetable-live-dot {
    display: inline-block;
}

.location-parking {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 17px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.location-parking img {
    margin-right: 8px;
    flex-shrink: 0;
}

/* ---- Location + Schedule (unified) ---- */
.location-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-map-col .location-title h3 {
    margin-bottom: 12px;
}

.location-map-col .location-map {
    margin-top: 0;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.location-map-col .location-parking {
    margin-top: 6px;
}

.schedule-heading {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.schedule-lead,
.schedule-note {
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.schedule-note {
    margin-top: 14px;
    margin-bottom: 0;
}

.schedule-tabs-shell {
    margin-bottom: 14px;
}

.schedule-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(17, 53, 139, 0.08);
}

.schedule-tab {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.schedule-tab.is-active {
    background: var(--third-color);
    color: #fff;
}

.schedule-panel {
    background: #fff;
    border-radius: 24px;
    padding: 18px 16px;
    max-height: none;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(12, 30, 69, 0.04);
}

.schedule-panel[hidden] {
    display: none;
}

.schedule-slots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17, 53, 139, 0.07);
}

.schedule-slot:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.schedule-slot-time {
    flex: 0 0 52px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    position: relative;
}

.schedule-slot-start {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.schedule-slot-end {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
    color: #9AA5BA;
}

.schedule-live-dot {
    display: none;
    position: absolute;
    top: 2px;
    right: -2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px #fff;
}

.schedule-slot.is-live .schedule-live-dot {
    display: block;
}

.schedule-slot-courses {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-course-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

.schedule-chip-age {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.schedule-chip-title {
    min-width: 0;
}

.schedule-course-chip--mblock {
    background: #E6F4EA;
}

.schedule-course-chip--block {
    background: #FFF1E6;
}

.schedule-course-chip--arduino {
    background: #E6F4FF;
}

.schedule-course-chip--camera {
    background: #FFEBEB;
}

.schedule-course-chip--javascript {
    background: #EAF7EE;
}

.schedule-course-chip--mecanum {
    background: #F3EBFF;
}

.term-dates-block {
    margin-top: 28px;
}

.term-dates-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.term-dates-table-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.term-dates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.term-dates-table th,
.term-dates-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(17, 53, 139, 0.08);
    vertical-align: middle;
}

.term-dates-table thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    background: rgba(12, 30, 69, 0.03);
}

.term-dates-table tbody th {
    font-weight: 700;
    color: var(--primary-color);
    width: 140px;
}

.term-dates-camp {
    background: var(--secondary-color);
}

.term-dates-link {
    color: var(--third-color);
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.rating {
    margin-top: 0;
}

.rating h3 {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    align-items: center;
    color: var(--primary-color);
}

.rating h3 span {
    color: var(--blue-accent);
}

.reviews {
    margin-top: 12px;
}

.reviews-track {
    position: relative;
    margin-inline: calc(-1 * var(--container-pad));
}

.reviews-track::before,
.reviews-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 8px;
    width: 64px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.reviews-track::after {
    right: 0;
    background: linear-gradient(
        to left,
        var(--page-bg) 0,
        color-mix(in srgb, var(--page-bg) 75%, transparent) 28px,
        color-mix(in srgb, var(--page-bg) 35%, transparent) 48px,
        transparent 100%
    );
}

.reviews-track::before {
    left: 0;
    background: linear-gradient(
        to right,
        var(--page-bg) 0,
        color-mix(in srgb, var(--page-bg) 75%, transparent) 28px,
        color-mix(in srgb, var(--page-bg) 35%, transparent) 48px,
        transparent 100%
    );
}

.reviews-track.is-fade-end::after {
    opacity: 1;
}

.reviews-track.is-fade-start::before {
    opacity: 1;
}

.reviews-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: var(--container-pad);
    scroll-padding-inline: var(--container-pad);
    padding-bottom: 8px;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 18px;
}

.reviews-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(12, 30, 69, 0.08);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.reviews-google-badge img {
    display: block;
    width: 22px;
    height: 22px;
}

.reviews-score-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-rating {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.reviews-stars {
    font-size: 16px;
    letter-spacing: 1px;
    color: #FBBC05;
    margin-bottom: 2px;
}

.reviews-meta {
    font-size: 13px;
    font-weight: 600;
    color: #60708c;
}

.reviews-google-link {
    margin-left: auto;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #4285F4;
    text-decoration: none;
}

.reviews-google-link:hover {
    text-decoration: underline;
}

.review-card {
    flex: 0 0 min(340px, 86%);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 20px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(12, 30, 69, 0.06);
    box-shadow: 0 8px 24px rgba(12, 30, 69, 0.04);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author-meta {
    min-width: 0;
    flex: 1;
}

.review-google-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.95;
}

.review-card-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.review-card-stars svg {
    display: block;
}

.review-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #10275f;
    overflow-wrap: anywhere;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--avatar-bg, #4285F4);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.review-when {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #60708c;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-role {
    font-size: 11px;
    color: #60708c;
}

.cta {
    width: 100%;
    background: var(--third-color);
    overflow: hidden;
    color: #fff;

    --accent: var(--secondary-color);
    --text: rgba(255,255,255,.78);
    --border: rgba(255,255,255,.18);
    --input-bg: rgba(255,255,255,.08);
    --radius: 20px;
}

.cta .container {
    max-width: var(--container);
    padding-inline: var(--container-pad);
    padding-block: 0;
}

.cta-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4px;
    padding-bottom: 28px;
}

.cta-copy,
.cta-panel {
    width: 100%;
    min-width: 0;
}

section.cta {
    padding-block: 0;
}

/* Gallery — mobile: horizontal scroll-snap; desktop: marquee */
.gallery {
    overflow: hidden;
}

.gallery-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.gallery-title h3 {
    margin: 24px 0;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--primary-color);
}

.gallery-title h3 span {
    color: var(--blue-accent);
}

.gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--container-pad);
    padding-inline: var(--container-pad);
    padding-bottom: 4px;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 84vw;
    max-width: 360px;
    margin: 0;
    scroll-snap-align: start;
}

.gallery-open {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    text-align: left;
    border-radius: inherit;
}

.gallery-open:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
}

.gallery-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #d8deea;
}

.gallery-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-strip {
    display: none;
}

.photo-strip-track {
    display: flex;
    width: max-content;
    gap: 8px;
    will-change: transform;
}

.photo-strip-item {
    margin: 0;
    flex: 0 0 auto;
    height: 100%;
}

.photo-strip-item .gallery-open,
.photo-strip-item img {
    display: block;
    height: 100%;
    width: auto;
    min-width: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.photo-strip.is-animated .photo-strip-track {
    animation: gallery-marquee 30s linear infinite;
}

.photo-strip.is-animated:hover .photo-strip-track,
.photo-strip.is-animated:focus-within .photo-strip-track {
    animation-play-state: paused;
}

@keyframes gallery-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Gallery lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(8, 18, 42, 0.86);
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
}

.gallery-lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: calc(100vh - 48px);
}

.gallery-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.gallery-lightbox-close {
    top: -8px;
    right: -8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.gallery-lightbox-nav::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.gallery-lightbox-prev {
    left: 8px;
}

.gallery-lightbox-prev::before {
    transform: translateX(2px) rotate(135deg);
}

.gallery-lightbox-next {
    right: 8px;
}

.gallery-lightbox-next::before {
    transform: translateX(-2px) rotate(-45deg);
}

body.is-lightbox-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .photo-strip.is-animated .photo-strip-track {
        animation: none;
    }
}

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;
    padding: 8px 14px;
    margin-bottom: 24px;

    background: var(--accent);
    border-radius: 999px;

    color: #10275F;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
    max-width: 100%;
}

.cta-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    align-self: center;
    border-radius: 50%;
    background: var(--third-color);
}

.cta-title h3 {
    margin: 0 0 18px;

    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.cta-title span {
    color: var(--accent);
}


.cta-desc {
    margin-bottom: 28px;

    font-size: 18px;
    line-height: 1.45;
    color: var(--text);
}

.cta-benefits {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0 0 4px;
    padding: 0;
}

.cta-benefits li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.35;
    color: #fff;
}

.cta-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}

.cta-benefits li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--third-color);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cta-form input {
    height: 56px;
    padding: 0 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    background: var(--input-bg);
    font-size: 18px;
    color: #fff;
    transition: .25s;
}

.cta-form input::placeholder {
    color: rgba(255,255,255,.45);
}

.cta-form input:focus {
    border-color: var(--accent);
}

.cta-age {
    width: 100%;
}

.cta-age-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 6px 14px 6px 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--input-bg);
    transition: .25s;
}

.cta-age-field:focus-within {
    border-color: var(--accent);
}

.cta-age-placeholder {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, .45);
}

.cta-age-options {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-block: 2px;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.cta-age-options.is-fade-end {
    -webkit-mask-image: linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 44px),
        rgba(0, 0, 0, .75) calc(100% - 32px),
        rgba(0, 0, 0, .35) calc(100% - 18px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        #000 0,
        #000 calc(100% - 44px),
        rgba(0, 0, 0, .75) calc(100% - 32px),
        rgba(0, 0, 0, .35) calc(100% - 18px),
        transparent 100%
    );
}

.cta-age-options.is-fade-start {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        rgba(0, 0, 0, .35) 18px,
        rgba(0, 0, 0, .75) 32px,
        #000 44px,
        #000 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        rgba(0, 0, 0, .35) 18px,
        rgba(0, 0, 0, .75) 32px,
        #000 44px,
        #000 100%
    );
}

.cta-age-options.is-fade-start.is-fade-end {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        rgba(0, 0, 0, .35) 18px,
        rgba(0, 0, 0, .75) 32px,
        #000 44px,
        #000 calc(100% - 44px),
        rgba(0, 0, 0, .75) calc(100% - 32px),
        rgba(0, 0, 0, .35) calc(100% - 18px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        rgba(0, 0, 0, .35) 18px,
        rgba(0, 0, 0, .75) 32px,
        #000 44px,
        #000 calc(100% - 44px),
        rgba(0, 0, 0, .75) calc(100% - 32px),
        rgba(0, 0, 0, .35) calc(100% - 18px),
        transparent 100%
    );
}

.cta-age-options::-webkit-scrollbar {
    display: none;
}

.cta-age-btn {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    scroll-snap-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cta-age-btn[data-age="14"] {
    font-size: 12px;
}

.cta-age-btn[data-age="7"]  { background: var(--age-7); }
.cta-age-btn[data-age="8"]  { background: var(--age-8); }
.cta-age-btn[data-age="9"]  { background: var(--age-9); }
.cta-age-btn[data-age="10"] { background: var(--age-10); }
.cta-age-btn[data-age="11"] { background: var(--age-11); }
.cta-age-btn[data-age="12"] { background: var(--age-12); }
.cta-age-btn[data-age="13"] { background: var(--age-13); color: #fff; }
.cta-age-btn[data-age="14"] { background: var(--age-14); color: #fff; }
.cta-age-btn[data-age="15"] { background: var(--age-15); color: #fff; }
.cta-age-btn[data-age="16"] { background: var(--age-16); color: #fff; }
.cta-age-btn[data-age="17"] { background: var(--age-17); color: #fff; }

.cta-age-btn.is-selected {
    box-shadow: 0 0 0 2px #fff;
    transform: scale(1.06);
}

.cta-age-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cta-form button[type="submit"] {
    width: 100%;
    height: 64px;
    margin-top: 6px;

    border: 0;
    border-radius: var(--radius);

    background-color: var(--accent);
    background-image: linear-gradient(30deg, var(--accent) 0%, var(--accent) 42%, #e5ff9e 100%);
    background-size: 200% auto;
    background-position: left center;

    color: #10275F;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;

    transition: background-position 0.45s ease;
}

.cta-form button[type="submit"]:hover {
    background-position: right center;
    animation: btn-pulse-accent 1.5s infinite;
}

.cta-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.75;
    animation: none;
}

.cta-wa {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 24px;

    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.cta-wa::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/icon-wa.svg") no-repeat center / contain;
}

/* ==========================================================================
   Thank You page
   ========================================================================== */

.thank-you {
    padding: 48px 0 64px;
}

.thank-you-card {
    max-width: 560px;
    margin-inline: auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
}

.thank-you-card h1 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.thank-you-lead {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.thank-you-steps-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.thank-you-steps ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.thank-you-steps li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-muted);
}

.thank-you-steps li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--third-color);
    font-weight: 700;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thank-you-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.footer {
    background: #0C285F;
    color: #fff;
}

.footer .container {
    max-width: 440px;
    padding: 32px var(--container-pad) 56px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 34px;
}

.footer-logo img {
    display: block;
    width: 164px;
    height: auto;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 200;
    font-size: 16px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
    width: 400px;
    max-width: 100%;
    height: 1px;
    margin: 42px auto 34px;
    background: rgba(255,255,255,.18);
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 28px;
}

.footer-menu a,
.footer-menu-item {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: 12px;
    transition: .2s;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-copy {
    color: rgba(255,255,255,.5);
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================================================
   Image hover zoom
   ========================================================================== */

.hero-slide picture {
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 32px;
}

.projects-course img,
.hero-slide img,
.gallery-media img {
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.projects-course:hover img,
.hero-slide:hover img,
.gallery-item:hover .gallery-media img {
    transform: scale(1.08);
}

/* ==========================================================================
   Scroll behaviour: gentle snap + reveal-on-scroll
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* Reveal-on-scroll: hero (.main) stays visible for LCP */
.reveal-enabled .about,
.reveal-enabled .worth,
.reveal-enabled .gallery,
.reveal-enabled .projects,
.reveal-enabled .path,
.reveal-enabled .price,
.reveal-enabled .location,
.reveal-enabled .rating {
    opacity: var(--reveal-o, 0.2);
    transform: translateY(calc(24px * (1 - var(--reveal-o, 0.2))));
    transition: opacity .22s ease-out, transform .22s ease-out;
    will-change: opacity, transform;
}

/* CTA form must stay fully visible — no reveal dimming */
.reveal-enabled .cta {
    opacity: 1;
    transform: none;
}

.reveal-enabled .is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .85s cubic-bezier(.22, .61, .36, 1),
                transform .85s cubic-bezier(.22, .61, .36, 1);
    will-change: auto;
}

/* Visibility helpers — mobile default; desktop overrides in adaptive.css */
.desktop-only {
    display: none !important;
}

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

    .header-bar {
        transition: none;
    }

    .reveal-enabled .worth,
    .reveal-enabled .gallery,
    .reveal-enabled .about,
    .reveal-enabled .projects,
    .reveal-enabled .path,
    .reveal-enabled .price,
    .reveal-enabled .location,
    .reveal-enabled .rating {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .projects-course img,
    .hero-slide img,
    .gallery-media img {
        transition: none;
    }

    .worth-card::before {
        transition: none;
    }

    .projects-course:hover img,
    .hero-slide:hover img,
    .gallery-item:hover .gallery-media img {
        transform: none;
    }

    .price-card-shell,
    .price-card {
        transition: none;
    }

    .price-card-shell:hover .price-card {
        transform: none;
    }

    .btn-primary:hover,
    .btn-accent:hover,
    .chat-wa:hover,
    .main-nav .main-nav-cta:hover,
    .cta-form button[type="submit"]:hover {
        animation: none;
    }
}


