/* =========================================================
   Skill Tech LMS - Landing Page Stylesheet
   Modern SaaS-style design
   ========================================================= */

/* ---------- CSS RESET & BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color palette */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-accent: #3b82f6;
    --color-accent-dark: #2563eb;
    --color-accent-light: #60a5fa;
    --color-success: #10b981;
    --color-whatsapp: #25d366;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    --color-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-accent: 0 10px 24px rgba(59, 130, 246, 0.25);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.25rem;

    /* Header height; ticker height is 0 unless body.has-top-ticker (see below) */
    --header-height: 72px;
    --ticker-height: 0px;
    --fixed-offset: calc(var(--ticker-height) + var(--header-height));
}

/* When the news ticker is present, reserve space for it (matches .top-ticker height). */
body.has-top-ticker {
    --ticker-height: 46px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--fixed-offset);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--color-text-muted);
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: 5rem 0;
    scroll-margin-top: var(--fixed-offset);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    color: var(--color-accent);
}

.btn-dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-dark:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ---------- TOP TICKER BAR ---------- */
.top-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ticker-height);
    z-index: 1100;
    background: linear-gradient(90deg, #0b1220 0%, #0f172a 55%, #172554 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
}

.top-ticker-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 0 0;
}

.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfdbfe;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.25;
}

.ticker-label i {
    color: #60a5fa;
    line-height: 1;
    transform: translateY(1px);
}

.ticker-marquee {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* `cqw` is relative to this box so the ticker can start off the right edge and exit left. */
    container-type: inline-size;
    container-name: news-ticker;
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Single line: enter from right (100cqw), leave left (-100% of track width), then loop. */
.ticker-marquee-track {
    display: inline-block;
    flex-shrink: 0;
    width: max-content;
    max-width: none;
    animation: ticker-scroll-rtl 18s linear infinite;
    will-change: transform;
}

.ticker-item {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.25;
}

.top-ticker:hover .ticker-marquee-track {
    animation-play-state: paused;
}

@keyframes ticker-scroll-rtl {
    from {
        transform: translateX(100cqw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ---------- HEADER / NAVBAR ---------- */
.header {
    position: fixed;
    top: var(--ticker-height);
    left: 0;
    right: 0;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: 1000;
    transition: box-shadow var(--transition-base), background var(--transition-base);
    border-bottom: 1px solid transparent;
    padding: 0;
}

.header .container {
    display: flex;
    align-items: center;
    width: 100%;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-border);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
    min-height: var(--header-height);
}

.nav > .logo.logo--header-mark {
    flex: 0 0 auto;
}

.nav-menu.nav-menu--desktop {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    gap: clamp(0.75rem, 1.5vw, 1.75rem);
}

.nav > .nav-actions {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-accent);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.logo-text {
    color: var(--color-primary);
}

/* Header: logo-only slot — wide or tall marks scale inside bounds (never cropped). */
.header .logo.logo--header-mark {
    gap: 0;
    font-size: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: min(240px, 44vw);
    min-height: 44px;
    max-height: 56px;
}
.header .logo.logo--header-mark .logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.header .logo.logo--header-mark .logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    font-size: 1.35rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-actions-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.nav-login-dropdown {
    position: relative;
}

.nav-login-dropdown-toggle .nav-login-dropdown-chevron {
    font-size: 0.65em;
    margin-left: 0.35em;
    vertical-align: middle;
    transition: transform var(--transition-base);
}

.nav-login-dropdown.is-open .nav-login-dropdown-toggle .nav-login-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-login-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12.5rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity var(--transition-base),
        visibility var(--transition-base),
        transform var(--transition-base);
}

.nav-login-dropdown.is-open .nav-login-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-login-dropdown-menu li {
    margin: 0;
}

.nav-login-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition-base), color var(--transition-base);
}

.nav-login-dropdown-item-icon {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.nav-login-dropdown-item-label {
    flex: 1;
    min-width: 0;
}

.nav-login-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--color-accent);
}

.nav-login-dropdown-item:hover .nav-login-dropdown-item-icon {
    color: var(--color-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile offcanvas (hidden on desktop) */
.nav-drawer-backdrop,
.nav-drawer {
    display: none;
}

body.nav-drawer-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1110;
        /* Above .top-ticker (1100) so overlay is edge-to-edge; solid enough to hide page behind */
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity var(--transition-base),
            visibility var(--transition-base);
    }

    .nav-drawer-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-drawer {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        height: 100dvh;
        width: min(20rem, 92vw);
        max-width: 100%;
        z-index: 1120;
        pointer-events: none;
    }

    .nav-drawer.is-open {
        pointer-events: auto;
    }

    .nav-drawer-panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background: var(--color-white);
        box-shadow: 8px 0 40px rgba(15, 23, 42, 0.12);
        border-right: 1px solid var(--color-border);
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-drawer.is-open .nav-drawer-panel {
        transform: translateX(0);
    }

    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.125rem 1rem;
        border-bottom: 1px solid var(--color-border);
        flex-shrink: 0;
        background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
    }

    .nav-drawer-title {
        font-family: 'Poppins', sans-serif;
        font-size: 1.0625rem;
        font-weight: 600;
        color: var(--color-primary);
        letter-spacing: -0.02em;
    }

    .nav-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: none;
        border-radius: var(--radius-sm);
        background: transparent;
        color: var(--color-text-muted);
        cursor: pointer;
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .nav-drawer-close:hover {
        background: var(--color-bg-alt);
        color: var(--color-primary);
    }

    .nav-drawer-close i {
        font-size: 1.25rem;
    }

    .nav-drawer-nav {
        flex: 0 1 auto;
        max-height: calc(100dvh - 17rem);
        max-height: calc(100vh - 17rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.35rem 0 0.5rem;
    }

    .nav-menu--mobile {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu--mobile li {
        margin: 0;
    }

    .nav-drawer-link {
        display: flex;
        align-items: center;
        padding: 0.9375rem 1.25rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text);
        border-bottom: 1px solid rgba(226, 232, 240, 0.85);
        text-decoration: none;
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .nav-drawer-link:hover,
    .nav-drawer-link:focus-visible {
        background: rgba(59, 130, 246, 0.06);
        color: var(--color-accent);
    }

    .nav-drawer-link.active {
        color: var(--color-accent);
        background: rgba(59, 130, 246, 0.08);
        border-left: 3px solid var(--color-accent);
        padding-left: calc(1.25rem - 3px);
    }

    .nav-drawer-footer {
        flex-shrink: 0;
        padding: 1.125rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        background: var(--color-bg-alt);
        border-top: 1px solid var(--color-border);
    }

    .nav-drawer-section-label {
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-muted);
        margin: 0 0 0.75rem;
    }

    .nav-drawer-portals {
        list-style: none;
        margin: 0 0 1rem;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-drawer-portal-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.65rem 0.75rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--color-text);
        text-decoration: none;
        border-radius: var(--radius-sm);
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .nav-drawer-portal-link:hover,
    .nav-drawer-portal-link:focus-visible {
        background: var(--color-white);
        color: var(--color-accent);
    }

    .nav-drawer-portal-icon {
        width: 1.375rem;
        text-align: center;
        color: var(--color-text-muted);
        font-size: 0.9375rem;
    }

    .nav-drawer-portal-link:hover .nav-drawer-portal-icon,
    .nav-drawer-portal-link:focus-visible .nav-drawer-portal-icon {
        color: var(--color-accent);
    }

    .nav-drawer-enroll {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.875rem 1rem;
        font-weight: 600;
        text-decoration: none;
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    padding: calc(var(--fixed-offset) + 4rem) 0 5rem;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 2.5rem 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.125rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-title {
    margin-bottom: 1rem;
    font-size: clamp(1.625rem, 3.1vw, 2.5rem);
    line-height: 1.15;
}

@keyframes hero-highlight-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-title .highlight {
    background: linear-gradient(
        105deg,
        var(--color-accent) 0%,
        var(--color-accent-light) 35%,
        var(--color-accent-dark) 50%,
        var(--color-accent-light) 65%,
        var(--color-accent) 100%
    );
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-highlight-shimmer 3.5s ease-in-out infinite;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero .btn-lg {
    padding: 0.8125rem 1.5rem;
    font-size: 0.9375rem;
}

.hero-stats {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Poppins', sans-serif;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Soft bottom fade so cut-off artwork (e.g. figures) blends into the hero background. */
    isolation: isolate;
}

/* Ground tint — reads like a floor plane under the figures (colors from admin via CSS variables). */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-blend-before-h, clamp(56px, 18%, 140px));
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to top,
        var(--hero-blend-floor-0, rgba(241, 245, 249, 0.95)) 0%,
        var(--hero-blend-floor-mid, rgba(248, 250, 252, 0.55)) 45%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Feather into section background (solid + mid alpha from admin). */
.hero-image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-blend-after-h, clamp(72px, 30%, 220px));
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        to top,
        var(--hero-blend-feather-solid, #ffffff) 0%,
        var(--hero-blend-feather-mid, rgba(255, 255, 255, 0.88)) 38%,
        rgba(255, 255, 255, 0) 100%
    );
}

.hero-image-wrap.hero-image-wrap--blend-off::before,
.hero-image-wrap.hero-image-wrap--blend-off::after {
    display: none;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    position: relative;
    z-index: 0;
}

/* ---------- ABOUT SECTION ---------- */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content > p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.highlight-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.about-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
}

.about-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

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

/* ---------- OUR TEAM SECTION ---------- */
.team {
    position: relative;
    padding: clamp(3.75rem, 7vw, 5.5rem) 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, color-mix(in srgb, var(--color-accent) 14%, transparent), transparent 55%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 42%, var(--color-bg) 100%);
}

.team::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, color-mix(in srgb, var(--color-text-muted) 9%, transparent) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    opacity: 0.6;
}

.team::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 80rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 35%, var(--color-border)), transparent);
    pointer-events: none;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .team {
        background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 45%, var(--color-bg) 100%);
    }
    .team::before {
        background-image: radial-gradient(circle at center, rgba(100, 116, 139, 0.12) 0.5px, transparent 0.5px);
    }
    .team::after {
        background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    }
}

.team .container {
    position: relative;
    z-index: 1;
}

.team-section-head {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.team .section-title {
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary);
}

@supports not (background-clip: text) {
    .team .section-title {
        background: none;
        -webkit-text-fill-color: currentColor;
    }
}

.team-section-subtitle {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 1.35rem;
    background: color-mix(in srgb, var(--color-white) 88%, var(--color-bg) 12%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, var(--color-white) 20%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px -8px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    overflow: visible;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 45%, color-mix(in srgb, var(--color-border) 60%, transparent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 20px 48px -12px color-mix(in srgb, var(--color-accent) 16%, rgba(15, 23, 42, 0.12));
    border-color: color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
}

.team-card:hover::before {
    opacity: 1;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .team-card {
        background: var(--color-white);
    }
    .team-card:hover {
        border-color: var(--color-accent);
    }
}

/* Circular avatar with gradient ring */
.team-card-avatar-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
}

.team-card-avatar-ring {
    position: relative;
    flex-shrink: 0;
    width: 8.25rem;
    height: 8.25rem;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 45%, var(--color-accent-dark) 100%);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--color-accent) 22%, transparent);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.team-card:hover .team-card-avatar-ring {
    transform: scale(1.04);
    box-shadow: 0 12px 36px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.team-card-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg);
}

.team-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card:hover .team-card-photo {
    transform: scale(1.05);
}

.team-card-photo-fallback {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: rgba(255, 255, 255, 0.88);
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.team-card-body {
    width: 100%;
    padding: 0.75rem 1rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.team-card-name {
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: "Poppins", var(--font-heading, system-ui, sans-serif);
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.team-card-role {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.team-card-bio {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    line-height: 1.58;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

.team-card-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
    width: 100%;
    max-width: 11rem;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .team-card-actions {
        border-top-color: var(--color-border);
    }
}

/* Compact contact icons */
.team-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 0.64rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.team-card-link:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
    filter: brightness(1.05);
    opacity: 1;
}

.team-card-link--in {
    background: linear-gradient(145deg, #0a66c2, #006097);
}

.team-card-link--em {
    background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card-avatar-ring {
        width: 7.5rem;
        height: 7.5rem;
    }
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials {
    position: relative;
    padding: clamp(3.5rem, 6.5vw, 5.25rem) 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 50%, var(--color-bg) 100%);
}

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 20% 20%, color-mix(in srgb, var(--color-accent) 12%, transparent), transparent 55%),
        radial-gradient(ellipse 80% 50% at 80% 80%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 50%);
    pointer-events: none;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .testimonials::before {
        background: transparent;
    }
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-section-head {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.testimonials .section-title {
    letter-spacing: -0.03em;
    color: var(--color-primary);
}

.testimonials-section-subtitle {
    max-width: 36rem;
    margin: 0.5rem auto 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* Carousel shell (card visuals unchanged) */
.testimonials-carousel {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 100%;
}

.testimonials-carousel-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
}

.testimonials-carousel-viewport {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Swiper: stretch slides to equal height; keep existing card look */
.testimonial-swiper {
    width: 100%;
    --swiper-wrapper-transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    padding-top: 10px !important;
}

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-swiper .swiper-slide {
    display: flex;
    height: auto;
    box-sizing: border-box;
}

.testimonial-swiper .swiper-slide .testimonial-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 0;
}

/* Prev / next */
.testimonial-nav-btn {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.testimonial-nav-btn:hover:not(:disabled) {
    color: var(--color-accent);
    border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
    box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--color-accent) 25%, rgba(15, 23, 42, 0.12));
}

.testimonial-nav-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.testimonial-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .testimonial-nav-btn:hover:not(:disabled) {
        border-color: var(--color-accent);
    }
}

@media (max-width: 639px) {
    .testimonials-carousel-row {
        gap: 0.5rem;
    }
    .testimonial-nav-btn {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 0.78rem;
    }
}

.testimonial-card {
    position: relative;
    min-height: 0;
}

.testimonial-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.4rem 1.35rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    overflow: hidden;
}

.testimonial-card-inner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 10%, transparent), transparent 65%);
    pointer-events: none;
    border-radius: 0 0 0 100%;
    opacity: 0.9;
}

.testimonial-card:hover .testimonial-card-inner {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .testimonial-card:hover .testimonial-card-inner {
        border-color: var(--color-accent);
    }
}

.testimonial-quote-icon {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-size: 2rem;
    line-height: 1;
    color: color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
    opacity: 0.65;
    pointer-events: none;
}

.testimonial-stars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    color: #f59e0b;
    letter-spacing: 0.02em;
}

.testimonial-star--off {
    opacity: 0.3;
    color: var(--color-text-muted);
}

.testimonial-body {
    margin: 0 0 1.1rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text);
    flex: 1;
}

.testimonial-body p {
    margin: 0;
}

.testimonial-earning {
    margin: 0 0 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    max-width: 100%;
}

.testimonial-earning-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.testimonial-earning-value {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Poppins", var(--font-heading, system-ui, sans-serif);
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.2rem;
    border-top: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    margin-top: auto;
}

@supports not (color-mix(in srgb, white 50%, black)) {
    .testimonial-author {
        border-top-color: var(--color-border);
    }
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
    border: 2px solid color-mix(in srgb, var(--color-accent) 20%, var(--color-border));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

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

.testimonial-avatar-fallback {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    font-family: "Poppins", var(--font-heading, system-ui, sans-serif);
}

.testimonial-author-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    text-align: left;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-family: "Poppins", var(--font-heading, system-ui, sans-serif);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

/* ---------- COURSES SECTION ---------- */
.courses {
    background: var(--color-bg-alt);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.course-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.course-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    position: relative;
}

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

.course-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.course-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.course-title {
    font-size: 1.1875rem;
    margin-bottom: 0.625rem;
    color: var(--color-primary);
}

.course-description {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.course-description-placeholder {
    color: var(--color-text-light);
    font-style: italic;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.course-footer--actions {
    justify-content: flex-end;
    border-top: none;
    padding-top: 0;
    margin-top: auto;
}

.course-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-accent);
    cursor: pointer;
    transition: gap var(--transition-base), color var(--transition-fast);
}

.course-detail-btn:hover {
    gap: 0.625rem;
    color: var(--color-accent-dark);
}

.course-detail-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Empty programs state */
.programs-empty {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    background: var(--color-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
}

.programs-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.programs-empty-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.programs-empty-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ---------- PROGRAM DETAIL MODAL ---------- */
.program-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.program-modal.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.program-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.program-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform var(--transition-base);
}

.program-modal.is-open .program-modal-dialog {
    transform: translateY(0) scale(1);
}

.program-modal-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    z-index: 3;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.program-modal-close:hover {
    background: rgba(15, 23, 42, 0.75);
    color: var(--color-white);
}

.program-modal-header {
    padding: 1.75rem 3.25rem 1.5rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a5f 100%);
    color: var(--color-white);
}

.program-modal-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(147, 197, 253, 0.95);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-modal-title {
    font-size: 1.375rem;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
}

.program-modal-body {
    padding: 1.5rem 1.75rem 1.75rem;
    overflow-y: auto;
}

.program-modal-meta {
    margin: 0 0 1.25rem;
    padding: 1rem 1.125rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.program-modal-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.5rem 0;
}

.program-modal-meta-row + .program-modal-meta-row {
    border-top: 1px solid var(--color-border);
}

.program-modal-meta dt {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-modal-meta dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}

.program-modal-section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin: 0 0 0.625rem;
}

.program-modal-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text);
    white-space: pre-wrap;
}

.program-modal-description.is-muted {
    color: var(--color-text-muted);
    font-style: italic;
}

body.program-modal-open {
    overflow: hidden;
}

/* ---------- LEGAL DOCUMENT MODAL ---------- */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.legal-modal.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.legal-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transform: translateY(14px) scale(0.98);
    transition: transform var(--transition-base);
}

.legal-modal.is-open .legal-modal-dialog {
    transform: translateY(0) scale(1);
}

.legal-modal-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.legal-modal-close:hover {
    background: rgba(15, 23, 42, 0.65);
    color: var(--color-white);
}

.legal-modal-header {
    padding: 1.5rem 3.25rem 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1e3a5f 0%, var(--color-primary) 100%);
    color: var(--color-white);
    flex-shrink: 0;
}

.legal-modal-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(147, 197, 253, 0.95);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-modal-title {
    font-size: 1.35rem;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
}

.legal-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    background: var(--color-white);
}

.legal-modal-body .legal-modal-editor {
    min-height: 200px;
    max-height: min(62vh, 560px);
    overflow-y: auto;
    padding: 1.35rem 1.5rem 1.6rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text);
}

.legal-modal-empty {
    margin: 0;
    color: var(--color-text-muted);
    font-style: italic;
}

body.legal-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .legal-modal-dialog {
        max-height: 92vh;
    }

    .legal-modal-body .legal-modal-editor {
        max-height: min(70vh, 520px);
        padding: 1.1rem 1.15rem 1.35rem;
    }
}

/* ---------- FEATURES SECTION ---------- */
.features {
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.08);
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.feature-description {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ---------- ADMISSIONS SECTION ---------- */
.admissions {
    background: var(--color-bg-alt);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent) 100%);
    opacity: 0.3;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-accent);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-accent);
    transition: all var(--transition-base);
}

.step:hover .step-number {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.1875rem;
    margin-bottom: 0.625rem;
}

.step-description {
    font-size: 0.9375rem;
    max-width: 280px;
    margin: 0 auto;
}

.admissions-cta {
    text-align: center;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FAQ SECTION ---------- */
.faq {
    background: var(--color-bg-alt);
}

.faq-inline-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-inline-link:hover {
    color: var(--color-accent-dark);
}

.faq-list {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.25);
}

.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.faq-summary-text {
    flex: 1;
    text-align: left;
    line-height: 1.35;
}

.faq-summary-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform var(--transition-base), background var(--transition-fast);
}

.faq-item[open] .faq-summary-icon {
    transform: rotate(180deg);
    background: var(--color-accent);
    color: var(--color-white);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    padding-top: 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-method.whatsapp .contact-method-icon {
    background: var(--color-whatsapp);
}

.contact-method-text {
    display: flex;
    flex-direction: column;
}

.contact-method-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.contact-method-value {
    font-weight: 600;
    color: var(--color-primary);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all var(--transition-base);
}

.whatsapp-button:hover {
    background: #1ebd5b;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    color: var(--color-white);
}

.contact-form {
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-message {
    display: none;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    margin-top: 1rem;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-address-block {
    white-space: pre-line;
    margin-top: 0.125rem;
}

.contact-method--address {
    align-items: flex-start;
}

.contact-method--address .contact-method-icon {
    margin-top: 0.125rem;
}

.contact-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.contact-map-btn:hover {
    color: var(--color-accent-dark);
    border-bottom-color: rgba(37, 99, 235, 0.35);
    transform: none;
    box-shadow: none;
    filter: none;
}

.contact-map-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.contact-map-btn-text {
    letter-spacing: 0.01em;
}

.contact-map-btn-icon {
    font-size: 0.7rem;
    opacity: 0.75;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-methods-empty {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    margin-bottom: 1rem;
    max-width: 100%;
}

.footer-brand .footer-brand-link:hover .footer-brand-name {
    color: var(--color-accent-light);
}

.footer-brand .footer-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
    min-width: 0;
    transition: color var(--transition-fast);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    color: var(--color-white);
}

.footer-title {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-crafted-heart {
    color: #ef4444;
    margin: 0 0.3rem;
    font-size: 0.8125rem;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(239, 68, 68, 0.3));
    animation: landing-footer-heartbeat 2s ease-in-out infinite;
}

@keyframes landing-footer-heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    10%,
    30% {
        transform: scale(1.1);
    }
    20%,
    40% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-base);
    z-index: 999;
    font-size: 1.125rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-4px);
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    font-size: 1.5rem;
    z-index: 999;
    transition: transform var(--transition-base);
    animation: pulse-green 2.4s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--color-white);
}

@keyframes pulse-green {
    0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.fade-in-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-in-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-in-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-in-up[data-delay="4"] { transition-delay: 0.4s; }
.fade-in-up[data-delay="5"] { transition-delay: 0.5s; }

/* ---------- RESPONSIVE - TABLET ---------- */
@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding: calc(var(--fixed-offset) + 3rem) 0 4rem;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrap {
        max-width: min(560px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- RESPONSIVE - MOBILE ---------- */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    body.has-top-ticker {
        --ticker-height: 40px;
    }

    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .nav .nav-actions {
        margin-left: auto;
    }

    .nav-menu--desktop {
        display: none !important;
    }

    .nav-actions-desktop {
        display: none !important;
    }

    .header .logo.logo--header-mark {
        max-width: min(168px, 46vw);
        max-height: 48px;
    }

    .header .logo.logo--header-mark .logo-img {
        max-height: 44px;
    }

    .header .logo.logo--header-mark .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .ticker-label {
        font-size: 0.75rem;
    }

    .ticker-item {
        font-size: 0.8125rem;
    }

    .nav-link::after {
        display: none;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5.5vw, 2.125rem);
    }

    .hero-description {
        font-size: 0.9375rem;
        max-width: none;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 140px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
        flex-wrap: unset;
    }

    .hero-stats > div {
        text-align: center;
        padding: 1rem 0.5rem;
        background: var(--color-bg-alt);
        border-radius: var(--radius-md);
        min-width: 0;
    }

    .hero-stats .hero-stat-number {
        font-size: 1.375rem;
    }

    .hero-stats .hero-stat-label {
        font-size: 0.6875rem;
        line-height: 1.35;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }

    .highlight-item {
        padding: 1rem 0.5rem;
    }

    .highlight-number {
        font-size: 1.375rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps::before {
        display: none;
    }

    .contact-form {
        padding: 1.75rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand .footer-brand-name {
        font-size: 1.125rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .scroll-top,
    .whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .whatsapp-float {
        font-size: 1.25rem;
    }

    /* Landing admin: Footer → hide floating WhatsApp on small screens when disabled */
    .whatsapp-float.whatsapp-float--hide-on-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .program-modal-dialog {
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
