/* Keys to Success — Public homepage header only */
.site-header .header-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.site-header .header-logo-image {
    width: 116px;
    height: 70px;
    max-width: 116px;
    max-height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .kts-public-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    white-space: nowrap;
}

.site-header .kts-public-brand-title {
    color: #801330;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.site-header .kts-public-brand-subtitle {
    color: #9a7115;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2px;
}

@media (max-width: 1200px) {
    .site-header .header-container { gap: 15px; }
    .site-header .desktop-nav { gap: 15px; }
    .site-header .header-logo-image {
        width: 95px;
        max-width: 95px;
    }
    .site-header .kts-public-brand-title { font-size: 17px; }
    .site-header .kts-public-brand-subtitle {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 900px) {
    .site-header .header-logo-image {
        width: 105px;
        height: 60px;
        max-width: 105px;
        max-height: 60px;
    }
    .site-header .kts-public-brand-title { font-size: 18px; }
}

@media (max-width: 450px) {
    .site-header .header-logo { gap: 7px; }
    .site-header .header-logo-image {
        width: 78px;
        height: 54px;
        max-width: 78px;
        max-height: 54px;
    }
    .site-header .kts-public-brand-title {
        font-size: 15px;
        letter-spacing: 0;
    }
    .site-header .kts-public-brand-subtitle {
        font-size: 9px;
        letter-spacing: 1px;
    }
}
/* Gold decorative lines beside DRIVING SCHOOL */
.site-header .kts-public-brand-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-header .kts-public-brand-subtitle::before,
.site-header .kts-public-brand-subtitle::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background-color: #9a7115;
    flex-shrink: 0;
}

@media (max-width: 450px) {
    .site-header .kts-public-brand-subtitle {
        gap: 5px;
    }

    .site-header .kts-public-brand-subtitle::before,
    .site-header .kts-public-brand-subtitle::after {
        width: 14px;
        height: 1px;
    }
}

/* =========================================================
   KTS STEP 59 - DESKTOP TRUST BADGE ALIGNMENT
   ========================================================= */

@media (min-width: 1051px) {
    .youth-trust-row {
        flex-wrap: nowrap;
        gap: 7px;
    }

    .youth-trust-item {
        white-space: nowrap;
        padding: 8px 9px;
        font-size: 11px;
    }
}

/* =========================================================
   KTS STEP 66 - MODERN HERO EFFECTS
   ========================================================= */

/* Subtle vibrant accents with existing brand colours */

.youth-hero {
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(242, 189, 24, 0.24),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 80%,
            rgba(139, 28, 62, 0.11),
            transparent 32%
        ),
        radial-gradient(
            circle at 72% 78%,
            rgba(255, 112, 99, 0.09),
            transparent 34%
        ),
        radial-gradient(
            circle at 46% 15%,
            rgba(134, 87, 217, 0.055),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fff8ef 55%,
            #f9e8c0 100%
        );
}

/* Frosted-glass trust badges */

.youth-hero .youth-trust-item {
    background: rgba(255, 255, 255, 0.76);

    border: 1px solid rgba(255, 255, 255, 0.85);

    box-shadow:
        0 8px 22px rgba(95, 14, 33, 0.07);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    transition:
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

@media (hover: hover) {
    .youth-hero .youth-trust-item:hover {
        background: rgba(255, 255, 255, 0.92);

        box-shadow:
            0 12px 26px rgba(95, 14, 33, 0.12);
    }
}

/* Enhanced Corolla presentation */

.youth-hero .youth-car-stage {
    border: 1px solid rgba(255, 255, 255, 0.9);

    box-shadow:
        0 30px 65px rgba(84, 54, 30, 0.14),
        0 8px 30px rgba(134, 87, 217, 0.045);
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .youth-hero .youth-trust-item {
        transition: none;
    }
}

/* =========================================================
   KTS STEP 71 - MODERN LESSON CARD ENHANCEMENTS
   ========================================================= */

/* Subtle glass finish and layered shadows */

.modern-lessons .modern-lesson-card {
    background: rgba(255, 255, 255, 0.84);

    border-color: rgba(128, 19, 48, 0.11);

    box-shadow:
        0 20px 55px rgba(72, 32, 35, 0.085),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Preserve the featured lesson's gold identity */

.modern-lessons .modern-lesson-card-featured {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(244, 197, 66, 0.24),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(255, 247, 223, 0.92)
        );

    border-color: rgba(224, 169, 24, 0.55);

    box-shadow:
        0 24px 62px rgba(128, 83, 25, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Desktop hover effects */

@media (hover: hover) and (pointer: fine) {
    .modern-lessons .modern-lesson-card:hover {
        transform: translateY(-7px);

        border-color: rgba(128, 19, 48, 0.28);

        box-shadow:
            0 30px 70px rgba(72, 32, 35, 0.15);
    }

    .modern-lessons .modern-lesson-card-featured:hover {
        border-color: rgba(224, 169, 24, 0.75);

        box-shadow:
            0 32px 72px rgba(128, 83, 25, 0.17);
    }
}

/* Mobile: retain existing spacing and card layout */

@media (max-width: 700px) {
    .modern-lessons .modern-lesson-card {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

/* Accessibility: disable motion when requested */

@media (prefers-reduced-motion: reduce) {
    .modern-lessons .modern-lesson-card,
    .modern-lessons .modern-lesson-button {
        transition: none;
    }

    .modern-lessons .modern-lesson-card:hover,
    .modern-lessons .modern-lesson-button:hover {
        transform: none;
    }
}

/* =========================================================
   KTS STEP 75 - STICKY HEADER ANCHOR ALIGNMENT
   ========================================================= */

/* Keep homepage section headings below the sticky header */

#about,
#lessons,
#instructors,
#contact {
    scroll-margin-top: 110px;
}

/* Mobile header uses a smaller offset */

@media (max-width: 700px) {
    #about,
    #lessons,
    #instructors,
    #contact {
        scroll-margin-top: 85px;
    }
}


/* =========================================================
   KTS STEP 285 - PREMIUM GLASS HEADER
   Modern Premium + Youthful redesign
   ========================================================= */

.site-header {
    background: rgba(255, 252, 246, 0.90);

    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);

    border-bottom: 1px solid rgba(180, 137, 42, 0.25);

    box-shadow:
        0 5px 24px rgba(91, 26, 43, 0.065);
}

@supports not (
    (backdrop-filter: blur(1px)) or
    (-webkit-backdrop-filter: blur(1px))
) {
    .site-header {
        background: #fffcf6;
    }
}


/* =========================================================
   KTS STEP 290 - PREMIUM COROLLA DEPTH
   Modern Premium + Youthful redesign
   ========================================================= */

.youth-hero .youth-car-stage {
    background:
        radial-gradient(
            circle at 72% 24%,
            rgba(244, 197, 66, 0.25),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 246, 225, 0.76)
        );

    border: 1px solid rgba(255, 255, 255, 0.94);

    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);

    box-shadow:
        0 34px 75px rgba(91, 26, 43, 0.16),
        0 12px 32px rgba(180, 137, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.youth-hero .youth-hero-car {
    filter:
        drop-shadow(0 24px 20px rgba(69, 29, 37, 0.20));
}

.youth-hero .youth-floating-badge {
    background: rgba(255, 255, 255, 0.91);

    border-color: rgba(255, 255, 255, 0.95);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 15px 34px rgba(91, 26, 43, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (max-width: 700px) {
    .youth-hero .youth-car-stage {
        box-shadow:
            0 18px 40px rgba(91, 26, 43, 0.12),
            0 6px 18px rgba(180, 137, 42, 0.09);
    }

    .youth-hero .youth-hero-car {
        filter:
            drop-shadow(0 14px 12px rgba(69, 29, 37, 0.16));
    }
}


/* =========================================================
   KTS STEP 294 - PREMIUM HERO TYPOGRAPHY
   Modern Premium + Youthful redesign
   ========================================================= */

.youth-hero .youth-hero-title {
    color: #321b22;
    font-weight: 850;
    text-wrap: balance;
}

.youth-hero .youth-hero-title span {
    color: #81162f;
    background: linear-gradient(
        110deg,
        #741129 0%,
        #a72b4b 62%,
        #a67a23 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.youth-hero .youth-hero-description {
    color: #51464a;
    line-height: 1.7;
}

.youth-hero .youth-primary-button {
    background: linear-gradient(
        135deg,
        #741129 0%,
        #991f40 65%,
        #b2344d 100%
    );

    box-shadow:
        0 14px 28px rgba(116, 17, 41, 0.23),
        0 4px 10px rgba(91, 26, 43, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.youth-hero .youth-secondary-button {
    background: #176A42;
    border: 1px solid #176A42;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 22px rgba(91, 26, 43, 0.07);
}

.youth-hero .youth-primary-button:focus-visible,
.youth-hero .youth-secondary-button:focus-visible {
    outline: 3px solid #a67a23;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .youth-hero .youth-primary-button,
    .youth-hero .youth-secondary-button {
        transition: none;
    }
}


/* =========================================================
   KTS STEP 300 - PREMIUM ABOUT SECTION
   Modern Premium + Youthful redesign
   ========================================================= */

.modern-about {
    background:
        radial-gradient(
            circle at 94% 12%,
            rgba(244, 197, 66, 0.10),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffbf6 100%
        );
}

.modern-about-heading h2 {
    color: #321b22;
    text-wrap: balance;
}

.modern-about-heading h2 span {
    color: #81162f;
}

.modern-about-card {
    border-color: rgba(128, 19, 48, 0.12);

    box-shadow:
        0 22px 55px rgba(91, 26, 43, 0.08),
        0 5px 16px rgba(180, 137, 42, 0.035);
}

.modern-about-card:hover {
    border-color: rgba(180, 137, 42, 0.38);

    box-shadow:
        0 30px 70px rgba(91, 26, 43, 0.14),
        0 8px 22px rgba(180, 137, 42, 0.08);
}

.modern-about-card-featured {
    border-color: rgba(180, 137, 42, 0.30);
}

.modern-about-bottom {
    background:
        linear-gradient(
            120deg,
            rgba(255, 252, 247, 0.98),
            rgba(255, 244, 222, 0.92)
        );

    box-shadow:
        0 18px 45px rgba(91, 26, 43, 0.07);
}

.modern-about-book {
    background: linear-gradient(
        135deg,
        #741129,
        #a02445
    );

    box-shadow:
        0 12px 26px rgba(116, 17, 41, 0.20);
}

.modern-about-book:focus-visible {
    outline: 3px solid #a67a23;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .modern-about-card,
    .modern-about-book,
    .modern-about-book span {
        transition: none;
    }

    .modern-about-card:hover,
    .modern-about-book:hover,
    .modern-about-book:hover span {
        transform: none;
    }
}


/* =========================================================
   KTS STEP 305 - PREMIUM HOW IT WORKS
   Maroon + gold premium process styling
   ========================================================= */

.modern-process {
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(244, 197, 66, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 85%,
            rgba(194, 115, 147, 0.14),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #4d0c20 0%,
            #801330 52%,
            #510d22 100%
        );
}

.modern-process-heading h2 {
    text-wrap: balance;
}

.modern-process-step {
    border-color: rgba(255, 255, 255, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.045)
        );

    box-shadow:
        0 22px 50px rgba(27, 2, 12, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modern-process-step:hover {
    border-color: rgba(244, 197, 66, 0.55);

    box-shadow:
        0 30px 65px rgba(27, 2, 12, 0.30),
        0 0 24px rgba(244, 197, 66, 0.08);
}

.modern-process-step-final {
    border-color: rgba(244, 197, 66, 0.48);

    background:
        linear-gradient(
            145deg,
            rgba(244, 197, 66, 0.20),
            rgba(255, 255, 255, 0.07)
        );
}

.modern-process-icon {
    background: linear-gradient(
        135deg,
        #ffe08a,
        #f4bd24
    );

    box-shadow:
        0 12px 28px rgba(244, 197, 66, 0.24);
}

.modern-process-arrow {
    background: #f4c542;

    box-shadow:
        0 5px 18px rgba(20, 0, 7, 0.22);
}

.modern-process-bottom {
    border-color: rgba(244, 197, 66, 0.42);

    background: linear-gradient(
        120deg,
        #fff9ec 0%,
        #f9e8c6 100%
    );

    box-shadow:
        0 20px 45px rgba(25, 2, 12, 0.20);
}

.modern-process-book {
    background: linear-gradient(
        135deg,
        #f8d568,
        #efb82a
    );

    box-shadow:
        0 12px 26px rgba(90, 40, 0, 0.18);
}

.modern-process-book:focus-visible {
    outline: 3px solid #801330;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .modern-process-step,
    .modern-process-book,
    .modern-process-book span {
        transition: none;
    }

    .modern-process-step:hover,
    .modern-process-book:hover,
    .modern-process-book:hover span {
        transform: none;
    }
}

/* =========================================================
   KTS STEP 313 - PREMIUM DRIVING LESSONS
   ========================================================= */

.modern-lessons {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(244, 197, 66, 0.20),
            transparent 28%
        ),
        radial-gradient(
            circle at 4% 88%,
            rgba(134, 87, 217, 0.055),
            transparent 28%
        ),
        linear-gradient(135deg, #fffdf9 0%, #fff8ee 55%, #fff3df 100%);
}

.modern-lessons-heading h2 {
    color: #291b20;
    text-wrap: balance;
}

.modern-lessons-heading h2 span {
    color: #871632;
}

.modern-lessons-badge {
    box-shadow: 0 7px 22px rgba(128, 19, 48, 0.07);
}

.modern-lessons .modern-lesson-card {
    border-radius: 28px;
    box-shadow:
        0 24px 65px rgba(72, 32, 35, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modern-lessons .modern-lesson-card-featured {
    border-color: rgba(224, 169, 24, 0.65);
    box-shadow:
        0 28px 70px rgba(128, 83, 25, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.modern-lesson-card h3 {
    color: #291b20;
    text-wrap: balance;
}

.modern-lesson-icon {
    border-radius: 19px;
    background: linear-gradient(145deg, #9b2044, #650d27);
    box-shadow: 0 14px 28px rgba(128, 19, 48, 0.22);
}

.modern-lesson-icon-gold {
    background: linear-gradient(145deg, #ffe18a, #efb928);
    color: #681027;
    box-shadow: 0 14px 30px rgba(224, 169, 24, 0.25);
}

.modern-lesson-popular {
    background: linear-gradient(135deg, #ffe18a, #efb928);
    box-shadow: 0 6px 15px rgba(128, 83, 25, 0.10);
}

.modern-lesson-button {
    background: linear-gradient(135deg, #9b2044, #6d102b);
    box-shadow: 0 12px 28px rgba(128, 19, 48, 0.20);
}

.modern-lesson-button:hover {
    background: linear-gradient(135deg, #ae2850, #801330);
}

.modern-lesson-card-featured .modern-lesson-button {
    background: linear-gradient(135deg, #ffe18a, #efb928);
    color: #681027;
}

.modern-lesson-card-featured .modern-lesson-button:hover {
    background: linear-gradient(135deg, #ffe9a6, #f4c545);
}

.modern-lesson-button:focus-visible,
.modern-lessons-all-button:focus-visible {
    outline: 3px solid #b46bdb;
    outline-offset: 4px;
}

.modern-lessons-bottom {
    border-color: rgba(128, 19, 48, 0.12);
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.94),
            rgba(255, 247, 230, 0.92)
        );
    box-shadow:
        0 20px 55px rgba(72, 32, 35, 0.085);
}

.modern-lessons-all-button {
    border-color: rgba(128, 19, 48, 0.20);
    box-shadow: 0 8px 22px rgba(128, 19, 48, 0.065);
}

@media (max-width: 700px) {
    .modern-lessons .modern-lesson-card {
        border-radius: 22px;
    }

    .modern-lessons-heading h2 {
        text-wrap: balance;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-lessons .modern-lesson-card,
    .modern-lessons .modern-lesson-button,
    .modern-lessons .modern-lessons-all-button {
        transition: none;
    }
}


/* =========================================================
   KTS STEP 320 - PREMIUM INSTRUCTORS
   Visual enhancements only - preserve portrait positioning
========================================================= */

.modern-instructors {
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(244, 197, 66, 0.17),
            transparent 29%
        ),
        radial-gradient(
            circle at 94% 80%,
            rgba(132, 80, 175, 0.09),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #fffdfa 0%,
            #ffffff 48%,
            #fff7ef 100%
        );
}

.modern-instructors-heading h2 {
    color: #291b20;
    text-wrap: balance;
}

.modern-instructors-heading h2 span {
    color: #871632;
}

.modern-instructors-badge {
    background: rgba(255, 249, 242, 0.92);
    box-shadow: 0 7px 22px rgba(128, 19, 48, 0.07);
}

.modern-instructors .modern-instructor-card {
    border-color: rgba(128, 19, 48, 0.13);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 26px 70px rgba(72, 32, 35, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.modern-instructors .modern-instructor-card-featured {
    border-color: rgba(224, 169, 24, 0.65);
    box-shadow:
        0 28px 75px rgba(101, 53, 74, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.modern-instructors .modern-instructor-card:hover {
    box-shadow:
        0 34px 80px rgba(72, 32, 35, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Preserve existing portrait dimensions and positioning */

.modern-instructor-photo-label {
    background: rgba(50, 10, 25, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.modern-instructor-card-featured .modern-instructor-photo-label {
    background: rgba(104, 16, 39, 0.78);
}

.modern-instructor-name-row h3 {
    color: #291b20;
}

.modern-instructor-status {
    border: 1px solid rgba(94, 139, 80, 0.12);
    background: #f2f8ee;
}

.modern-language-list span {
    border-color: rgba(128, 19, 48, 0.12);
    background: linear-gradient(135deg, #fffaf5, #fff3ea);
    color: #70203a;
    box-shadow: 0 4px 12px rgba(72, 32, 35, 0.035);
}

.modern-instructor-button {
    background: linear-gradient(135deg, #9b2044, #6d102b);
    box-shadow: 0 12px 28px rgba(128, 19, 48, 0.20);
}

.modern-instructor-button:hover {
    background: linear-gradient(135deg, #ae2850, #801330);
}

.modern-instructor-button-gold {
    background: linear-gradient(135deg, #ffe18a, #efb928);
    color: #681027;
    box-shadow: 0 12px 28px rgba(224, 169, 24, 0.22);
}

.modern-instructor-button-gold:hover {
    background: linear-gradient(135deg, #ffe9a6, #f4c545);
}

.modern-instructor-button:focus-visible,
.modern-instructor-contact-link:focus-visible,
.modern-instructors-bottom-button:focus-visible {
    outline: 3px solid #b46bdb;
    outline-offset: 4px;
}

.modern-instructors-bottom {
    border-color: rgba(128, 19, 48, 0.12);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.96),
        rgba(255, 247, 230, 0.94)
    );
    box-shadow: 0 20px 55px rgba(72, 32, 35, 0.09);
}

.modern-instructors-bottom-icon {
    background: linear-gradient(145deg, #9b2044, #650d27);
    box-shadow: 0 13px 28px rgba(128, 19, 48, 0.23);
}

.modern-instructors-bottom-button {
    border-color: rgba(128, 19, 48, 0.18);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(72, 32, 35, 0.06);
}

@media (max-width: 650px) {
    .modern-instructors .modern-instructor-card {
        border-radius: 23px;
    }

    .modern-instructors-heading h2 {
        text-wrap: balance;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-instructors .modern-instructor-card,
    .modern-instructor-button,
    .modern-instructors-bottom-button {
        transition: none;
    }
}


/* =========================================================
   KTS STEP 327 - PREMIUM BOOKING CTA
   Visual refinements - existing booking functionality intact
========================================================= */

.modern-booking-cta {
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(245, 195, 83, 0.13),
            transparent 30%
        ),
        linear-gradient(145deg, #fffaf4, #fff5ed);
}

.modern-booking-panel {
    border: 1px solid rgba(255, 220, 155, 0.22);
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(255, 210, 105, 0.23),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(180, 112, 205, 0.15),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #5c0d27 0%,
            #821637 48%,
            #a01f46 100%
        );
    box-shadow:
        0 38px 90px rgba(86, 17, 39, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.modern-booking-badge {
    border-color: rgba(255, 225, 155, 0.35);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(40, 5, 15, 0.10);
}

.modern-booking-content h2 {
    text-shadow: 0 8px 30px rgba(35, 4, 14, 0.12);
}

.modern-booking-content h2 span {
    color: #ffdb73;
}

.modern-booking-content > p {
    color: rgba(255, 255, 255, 0.85);
}

.modern-booking-feature-icon {
    border-color: rgba(255, 220, 155, 0.26);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.modern-booking-feature span {
    color: rgba(255, 255, 255, 0.76);
}

.modern-booking-primary {
    background: linear-gradient(135deg, #ffe28d, #f5be32);
    box-shadow: 0 15px 32px rgba(38, 5, 16, 0.24);
}

.modern-booking-primary:hover {
    background: linear-gradient(135deg, #ffedb0, #ffd04f);
    box-shadow: 0 20px 38px rgba(38, 5, 16, 0.28);
}

.modern-booking-secondary {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modern-booking-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.modern-booking-card {
    border-color: rgba(255, 255, 255, 0.76);
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.99),
        rgba(255, 248, 240, 0.97)
    );
    box-shadow:
        0 34px 75px rgba(40, 5, 15, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.modern-booking-progress-number {
    background: linear-gradient(135deg, #fff2e8, #f8e5eb);
    border: 1px solid rgba(128, 19, 48, 0.08);
}

.modern-booking-card-button {
    background: linear-gradient(135deg, #a11e45, #6e102c);
    box-shadow: 0 12px 26px rgba(128, 19, 48, 0.20);
}

.modern-booking-card-button:hover {
    background: linear-gradient(135deg, #b52a52, #811536);
}

.modern-booking-floating {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 35px rgba(38, 4, 14, 0.19);
}

.modern-booking-primary:focus-visible,
.modern-booking-secondary:focus-visible,
.modern-booking-card-button:focus-visible {
    outline: 3px solid #ffe28d;
    outline-offset: 4px;
}

@media (max-width: 650px) {
    .modern-booking-panel {
        border-radius: 26px;
        box-shadow: 0 22px 48px rgba(86, 17, 39, 0.17);
    }

    .modern-booking-card {
        border-radius: 22px;
    }

    .modern-booking-content h2 {
        overflow-wrap: break-word;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-booking-primary,
    .modern-booking-secondary,
    .modern-booking-card,
    .modern-booking-card-button {
        transition: none;
    }
}

/* KTS STEP 335 - PREMIUM STUDENT SUCCESS STORIES */

.modern-stories {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(255,195,160,.25), transparent 36%),
        radial-gradient(circle at 90% 85%, rgba(158,111,180,.13), transparent 36%),
        linear-gradient(160deg,#fffdf9,#fff5e9 55%,#fffaf5);
}

.modern-stories-badge {
    border: 1px solid rgba(133,38,65,.14);
    background: rgba(255,237,218,.85);
    color: #811a39;
    box-shadow: 0 6px 20px rgba(99,30,51,.06);
}

.modern-stories-heading h2 {
    color: #4c1025;
    letter-spacing: -1px;
}

.modern-stories-heading h2 span {
    color: #a66c16;
}

.modern-stories-feature {
    border: 1px solid rgba(139,71,79,.17);
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(77,18,40,.11);
}

.modern-stories-video {
    background:
        radial-gradient(circle at 85% 12%,rgba(255,203,125,.17),transparent 40%),
        radial-gradient(circle at 12% 90%,rgba(166,94,164,.18),transparent 42%),
        linear-gradient(145deg,#390817,#711632 65%,#8e2546);
}

.modern-stories-placeholder {
    border: 1px solid rgba(255,228,191,.34);
    border-radius: 22px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modern-stories-play {
    background: linear-gradient(135deg,#ffe49b,#f4ba3e);
    color: #63152c;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.modern-stories-content {
    background: linear-gradient(150deg,#fff,#fff9f5);
}

.modern-stories-content h3 {
    color: #4c1025;
    letter-spacing: -.7px;
}

.modern-stories-button {
    border-radius: 15px;
    background: linear-gradient(110deg,#8e183d,#68132e);
    color: #fff;
    box-shadow: 0 12px 26px rgba(105,18,46,.2);
}

.modern-stories-button:hover {
    background: linear-gradient(110deg,#a32149,#74152e);
}

@media (max-width:850px) {
    .modern-stories-feature {
        border-radius: 25px;
    }
}

@media (max-width:450px) {
    .modern-stories-feature {
        border-radius: 20px;
    }

    .modern-stories-placeholder {
        border-radius: 15px;
    }

    .modern-stories-button {
        min-height: 52px;
    }
}
/* KTS STEP 342 - PREMIUM CONTACT SUPPORT */

.modern-contact {
    background:
        radial-gradient(circle at 8% 12%,rgba(255,205,167,.22),transparent 35%),
        radial-gradient(circle at 94% 82%,rgba(154,110,184,.12),transparent 34%),
        linear-gradient(160deg,#fffdf9,#fff7ef 58%,#fffaf6);
}

.modern-contact-badge {
    background:rgba(255,238,221,.85);
    border-color:rgba(128,19,48,.15);
    box-shadow:0 6px 20px rgba(92,25,47,.06);
}

.modern-contact-heading h2 {
    color:#4c1025;
}

.modern-contact-heading h2 span {
    color:#a66c16;
}

.modern-contact-card {
    border-radius:28px;
    box-shadow:0 22px 58px rgba(75,25,43,.10);
}

.modern-contact-grid > .modern-contact-card:nth-child(1) {
    background:linear-gradient(145deg,#fff9ed,#ffecd7);
    border-color:#efd8bc;
}

.modern-contact-grid > .modern-contact-card:nth-child(2) {
    background:linear-gradient(145deg,#f4f8ef,#e4efdf);
    border-color:#d4e4cb;
}

.modern-contact-grid > .modern-contact-card:nth-child(3) {
    background:linear-gradient(145deg,#f0f9fa,#dfedf3);
    border-color:#cce2e8;
}

.modern-contact-icon {
    border-radius:19px;
    background:linear-gradient(135deg,#a32049,#68132e);
    box-shadow:0 12px 27px rgba(105,18,46,.20);
}

.modern-contact-card-primary .modern-contact-icon {
    background:linear-gradient(135deg,#ffe49b,#f4ba3e);
    color:#63152c;
}

.modern-contact-card h3 {
    color:#4c1025;
}

.modern-contact-link {
    background:linear-gradient(110deg,#941c43,#68132e);
    border-radius:15px;
    box-shadow:0 12px 26px rgba(105,18,46,.19);
}

.modern-contact-note {
    background:rgba(255,255,255,.65);
    border-color:rgba(128,19,48,.12);
    border-left-color:#941c43;
}

.modern-contact-language-list span {
    background:rgba(255,255,255,.72);
    border-color:rgba(128,19,48,.12);
}

.modern-direct-contact {
    background:linear-gradient(135deg,#fff4e8,#ffffff 70%);
    border-color:rgba(128,19,48,.16);
    border-radius:28px;
    box-shadow:0 22px 58px rgba(75,25,43,.10);
}

.modern-direct-contact-heading h3 {
    color:#4c1025;
}

.modern-direct-contact-person {
    background:linear-gradient(145deg,#ffffff,#fff9f6);
    border-color:rgba(128,19,48,.14);
    border-radius:18px;
    box-shadow:0 10px 25px rgba(75,25,43,.06);
}

.modern-direct-contact-actions a {
    min-height:44px;
    border-radius:12px;
    background:#fff8f4;
}

.modern-direct-contact-actions a:last-child {
    background:#e9f5ed;
    border-color:#a8d0b5;
    color:#245b39;
}

.modern-direct-contact-actions a:last-child:hover {
    background:#245b39;
    color:#ffffff;
}

.modern-contact-bottom {
    border-radius:25px;
    border-color:rgba(128,19,48,.15);
    background:linear-gradient(110deg,#fff2e5,#ffffff 70%);
    box-shadow:0 18px 45px rgba(75,25,43,.08);
}

.modern-contact-bottom-button {
    background:linear-gradient(110deg,#ffe49b,#f4bd35);
    color:#63152c;
    border-radius:15px;
    box-shadow:0 12px 26px rgba(195,138,27,.20);
}

.modern-contact-bottom-button:hover {
    background:linear-gradient(110deg,#ffeaa9,#ffd052);
}

.modern-contact a:focus-visible {
    outline:3px solid #b47720;
    outline-offset:4px;
}

@media (max-width:650px) {
    .modern-contact-card {
        border-radius:22px;
    }

    .modern-direct-contact {
        border-radius:20px;
    }

    .modern-contact-bottom {
        border-radius:20px;
    }
}
/* KTS STEP 349 - PREMIUM FOOTER */

.modern-footer {
    background:
        radial-gradient(circle at 8% 8%,rgba(255,207,111,.14),transparent 31%),
        radial-gradient(circle at 94% 92%,rgba(172,90,134,.18),transparent 36%),
        linear-gradient(135deg,#350715 0%,#65132e 48%,#400a1d 100%);
}

.modern-footer::before {
    height:2px;
    background:linear-gradient(90deg,transparent,#e7b75e,transparent);
}

.modern-footer-logo img {
    filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

.modern-footer-brand p {
    color:rgba(255,248,241,.83);
    line-height:1.85;
}

.modern-footer-book {
    min-height:53px;
    padding:0 23px;
    border:1px solid rgba(255,237,180,.6);
    border-radius:15px;
    background:linear-gradient(110deg,#ffe7a5,#f4be3f);
    box-shadow:0 14px 32px rgba(0,0,0,.20);
    color:#5b1027;
}

.modern-footer-book:hover {
    background:linear-gradient(110deg,#ffedba,#ffd15d);
    box-shadow:0 18px 36px rgba(0,0,0,.25);
}

.modern-footer-label {
    color:#f9ce79;
    font-size:10px;
    letter-spacing:1.8px;
}

.modern-footer-links a {
    color:rgba(255,249,244,.83);
    font-size:13px;
    line-height:1.55;
}

.modern-footer-links a:hover {
    color:#ffe0a0;
}

.modern-footer-language-column h3 {
    color:#fff7ed;
}

.modern-footer-language-column > p {
    color:rgba(255,249,244,.78);
}

.modern-footer-language-badges span {
    min-width:39px;
    height:34px;
    border:1px solid rgba(255,227,171,.25);
    border-radius:11px;
    background:rgba(255,255,255,.10);
    color:#fff4dd;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}

.modern-footer-divider {
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,218,145,.38),
        transparent
    );
}

.modern-footer-bottom p,
.modern-footer-bottom-links {
    color:rgba(255,249,244,.69);
}

.modern-footer-dot {
    background:#f9ce79;
}

.modern-footer a:focus-visible {
    outline:3px solid #ffe0a0;
    outline-offset:4px;
    border-radius:4px;
}

@media (max-width:700px) {
    .modern-footer {
        padding-top:60px;
    }

    .modern-footer-main {
        row-gap:38px;
    }

    .modern-footer-brand p {
        line-height:1.8;
    }
}

@media (max-width:450px) {
    .modern-footer-links {
        gap:13px;
    }

    .modern-footer-book {
        max-width:100%;
    }

    .modern-footer-bottom {
        gap:12px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .modern-footer-book,
    .modern-footer-links a {
        transition:none;
    }
}
/* =========================================================
   KTS STEP 358 - STUDENT VIDEO PLAYER CSS
   Prepared for future authentic student testimonial
========================================================= */

.modern-stories-player {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 228, 191, 0.34);
    border-radius: 22px;
    background: #210914;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.modern-stories-player-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #210914;
}

@media (max-width: 850px) {
    .modern-stories-player {
        border-radius: 18px;
    }
}

@media (max-width: 450px) {
    .modern-stories-player {
        border-radius: 14px;
    }

    .modern-stories-player-video {
        width: 100%;
        max-width: 100%;
    }
}
/* =========================================================
   KTS MOBILE INSTRUCTOR HEADING - 796BG-785
   Mobile-only typography. Desktop remains unchanged.
========================================================= */

@media (max-width: 650px) {
    .modern-instructors .modern-instructors-heading h2 {
        font-size: clamp(31px, 8vw, 36px);
        line-height: 1.08;
        letter-spacing: -1.1px;
    }
}

/* =========================================================
   KTS LANGUAGES PANEL CONTRAST - 796BG-787
   Improve visibility on desktop and mobile.
========================================================= */

.modern-instructors .modern-instructors-bottom {
    background: linear-gradient(
        115deg,
        #FFE6A5 0%,
        #FFF0CB 100%
    );
    border: 2px solid #D5A33C;
    box-shadow: 0 15px 34px rgba(91, 21, 43, 0.12);
}

.modern-instructors .modern-instructors-bottom strong {
    color: #5B152B;
    font-weight: 800;
}

.modern-instructors .modern-instructors-bottom p {
    color: #543B35;
}

/* =========================================================
   KTS LANGUAGE HEADING ROW - 796BG-789
   Larger heading beside number 5.
========================================================= */

.modern-instructors .modern-instructors-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.modern-instructors .modern-instructors-bottom-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.modern-instructors .modern-instructors-bottom-header > :first-child {
    flex: 0 0 auto;
    margin: 0;
}

.modern-instructors .modern-instructors-bottom-header > span {
    display: block;
    margin: 0;
    color: #801330;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.modern-instructors .modern-instructors-bottom-header + div {
    width: 100%;
    min-width: 0;
}

@media (max-width: 650px) {
    .modern-instructors .modern-instructors-bottom-header {
        gap: 14px;
    }

    .modern-instructors .modern-instructors-bottom-header > span {
        font-size: 18px;
        letter-spacing: 0.4px;
    }
}

/* =========================================================
   KTS MOBILE FOOTER READABILITY - 796BG-799
   Improve small footer text without changing desktop.
========================================================= */

@media (max-width: 650px) {
    .modern-footer .modern-footer-bottom p,
    .modern-footer .modern-footer-bottom-links,
    .modern-footer .modern-footer-bottom-links > span:not(.modern-footer-dot) {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* =========================================================
   KTS MOBILE FOOTER MESSAGE LAYOUT - 796BG-801
   Stack footer messages without an orphan separator.
========================================================= */

@media (max-width: 650px) {
    .modern-footer .modern-footer-bottom-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 5px;
    }

    .modern-footer .modern-footer-bottom-links > .modern-footer-dot {
        display: none;
    }
}

/* =========================================================
   KTS MOBILE HEADING HARMONY - 796BG-815
   Consistent section headings on mobile screens.
   Desktop, instructor and testimonial headings unchanged.
========================================================= */

@media (max-width: 650px) {

    /* Standard homepage section headings */

    .modern-about .modern-about-heading h2,
    .modern-process .modern-process-heading h2,
    .modern-lessons .modern-lessons-heading h2,
    .modern-contact .modern-contact-heading h2 {
        font-size: clamp(31px, 8vw, 36px);
        line-height: 1.08;
        letter-spacing: -1.1px;
    }

    /* Main booking invitation stays slightly larger */

    .modern-booking-cta .modern-booking-content h2 {
        font-size: clamp(36px, 9vw, 40px);
        line-height: 1.08;
        letter-spacing: -1.2px;
    }

    /* Main hero retains the strongest visual hierarchy */

    .youth-hero .youth-hero-title {
        font-size: clamp(40px, 10vw, 46px);
        line-height: 1.07;
        letter-spacing: -1.3px;
    }

    /* Preserve highlighted words at the heading's size */

    .modern-about .modern-about-heading h2 > span,
    .modern-process .modern-process-heading h2 > span,
    .modern-lessons .modern-lessons-heading h2 > span,
    .modern-contact .modern-contact-heading h2 > span,
    .modern-booking-cta .modern-booking-content h2 > span,
    .youth-hero .youth-hero-title > span {
        font-size: inherit;
    }
}

/* =========================================================
   KTS MOBILE HERO DESCRIPTION JUSTIFICATION - 796BG-816
   Justify hero paragraph while retaining left last line.
========================================================= */

@media (max-width: 650px) {
    .youth-hero .youth-hero-description {
        text-align: justify;
        text-align-last: left;
    }
}

/* =========================================================
   KTS MOBILE SECTION EXPLANATIONS - 796BG-817
   Justify section introductions only.
   Preserve headings, cards and desktop layout.
========================================================= */

@media (max-width: 650px) {

    .modern-about .modern-about-heading > p,
    .modern-process .modern-process-heading > p,
    .modern-lessons .modern-lessons-heading > p,
    .modern-instructors .modern-instructors-heading > p,
    .modern-booking-cta .modern-booking-content > p,
    .modern-stories .modern-stories-heading > p,
    .modern-contact .modern-contact-heading > p {
        text-align: justify;
        text-align-last: left;
    }

}

/* =========================================================
   KTS MOBILE NATURAL PARAGRAPH SPACING - 796BG-818
   Correct excessive gaps in two short explanations.
   Preserve all other justified paragraphs.
========================================================= */

@media (max-width: 650px) {

    .modern-about .modern-about-heading > p,
    .modern-instructors .modern-instructors-heading > p {
        text-align: left;
        text-align-last: left;
    }

}
