:root {
    --bg-deep: #ffffff;
    --bg-mid: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --accent: #c2410c;
    --accent-soft: rgba(194, 65, 12, 0.1);
    --mint: #0d9488;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.1);
    --radius: 14px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
    --wa: #25d366;
    --wa-hover: #1ebe57;
    --panel: #f8fafc;
}

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

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

html { scroll-behavior: smooth; }

/* Scroll / load text reveal (see index.php initTextReveal) */
.tx-anim {
    opacity: 0;
    transform: translate3d(0.45rem, 1.05rem, 0);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--tx-stagger, 0) * 0.055s);
}

.tx-anim.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .tx-anim {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

body.lead-popup-open {
    overflow: hidden;
    touch-action: none;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 100% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 70% 45% at 0% 100%, rgba(194, 65, 12, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #ffffff 0%, #fafbfc 45%, #ffffff 100%);
}

.page-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, black 12%, transparent 65%);
    opacity: 0.35;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0;
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

body.nav-open .site-header {
    z-index: 999;
}

@media (min-width: 480px) {
    .wrap {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Full-bleed header shell (white) + inner bar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.35rem min(0.5rem, 2vw);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    min-width: 0;
    padding-top: max(0.25rem, env(safe-area-inset-top));
    padding-bottom: 0.35rem;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
    color: var(--text);
    background: transparent;
    border-bottom: none;
}

@media (min-width: 480px) {
    .site-bar {
        padding-top: max(0.35rem, env(safe-area-inset-top));
        padding-bottom: 0.45rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

@media (max-width: 767px) {
    .site-bar {
        padding-left: max(0.65rem, env(safe-area-inset-left));
        padding-right: max(0.65rem, env(safe-area-inset-right));
    }
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    cursor: pointer;
    flex-shrink: 0;
    touch-action: manipulation;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    position: relative;
    transition: transform 0.25s, opacity 0.2s;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle-bars::before {
    top: -7px;
}

.menu-toggle-bars::after {
    top: 7px;
}

.menu-toggle.is-open .menu-toggle-bars {
    background: transparent;
}

.menu-toggle.is-open .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.bar-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}

.bar-nav-sheet-head {
    display: none;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .bar-nav {
        display: none;
        position: fixed;
        left: max(0.5rem, env(safe-area-inset-left));
        right: max(0.5rem, env(safe-area-inset-right));
        top: auto;
        bottom: 0;
        max-height: min(88dvh, 640px);
        margin: 0;
        padding: 0.35rem 0.85rem calc(1rem + env(safe-area-inset-bottom)) 0.85rem;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.45rem;
        background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 28%, #ffffff 100%);
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-bottom: none;
        border-radius: 20px 20px 0 0;
        z-index: 120;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow:
            0 -8px 40px rgba(15, 23, 42, 0.12),
            0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }

    .bar-nav.is-open {
        display: flex;
    }

    .bar-nav-sheet-head {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        padding: 0.25rem 0 0.35rem;
        flex-shrink: 0;
    }

    .bar-nav-sheet-knob {
        width: 40px;
        height: 5px;
        border-radius: 999px;
        background: #cbd5e1;
    }

    .bar-nav-sheet-title {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .bar-nav > a:not(.bar-cta) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
        padding: 0.95rem 1rem;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        transition:
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease,
            box-shadow 0.2s ease;
    }

    .bar-nav > a:not(.bar-cta)::after {
        content: '›';
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--mint);
        line-height: 1;
        opacity: 0.85;
    }

    .bar-nav > a:not(.bar-cta):hover,
    .bar-nav > a:not(.bar-cta):focus-visible {
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        border-color: rgba(13, 148, 136, 0.35);
        border-bottom-color: rgba(13, 148, 136, 0.35);
        box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
        outline: none;
    }

    .bar-nav > a:not(.bar-cta):active {
        transform: scale(0.99);
    }

    .bar-nav .bar-cta {
        text-align: center;
        margin-top: 0.35rem;
        padding: 0.95rem 1.15rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 14px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--accent) 0%, #9a3412 100%);
        border: 1px solid rgba(194, 65, 12, 0.5);
        box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
    }

    .bar-nav .bar-cta:hover {
        filter: brightness(1.06);
    }

    .bar-nav > * + * {
        border-top: none;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }

    .bar-nav {
        display: flex !important;
        position: static;
        padding: 0;
        margin-left: auto;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
    }

    .bar-nav a:not(.bar-cta) {
        font-size: 0.8125rem;
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: none;
        padding: 0.25rem 0.2rem;
        border-top: none;
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

    .bar-nav a:not(.bar-cta):hover {
        color: var(--text);
        border-bottom-color: var(--mint);
    }

    .bar-nav > * + * {
        border-top: none;
    }

    .bar-nav .bar-cta {
        margin-top: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--accent);
        text-decoration: none;
        padding: 0.3rem 0.65rem;
        border-radius: 999px;
        border: 1px solid rgba(194, 65, 12, 0.35);
        background: transparent;
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }

    .bar-nav .bar-cta:hover {
        background: var(--accent);
        color: #ffffff;
        border-color: var(--accent);
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    text-decoration: none;
    color: var(--text);
}

.brand img {
    display: block;
    flex-shrink: 0;
    width: 200px;
    height: 75px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .brand img {
        width: 200px;
        height: 75px;
    }
}

@media (min-width: 1024px) {
    .brand img {
        width: 200px;
        height: 75px;
    }
}

/* Hero shell — full-bleed background */
.hero-shell {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 70% at 85% 15%, rgba(13, 148, 136, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse 70% 55% at 10% 85%, rgba(194, 65, 12, 0.1) 0%, transparent 48%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
        linear-gradient(165deg, #f0fdfa 0%, #fff7ed 35%, #f8fafc 70%, #ffffff 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.55;
}

.hero-blob--1 {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    top: -12%;
    right: -15%;
    background: rgba(13, 148, 136, 0.35);
}

.hero-blob--2 {
    width: min(320px, 75vw);
    height: min(320px, 75vw);
    bottom: 5%;
    left: -10%;
    background: rgba(194, 65, 12, 0.15);
}

.hero-blob--3 {
    width: min(200px, 50vw);
    height: min(200px, 50vw);
    top: 40%;
    left: 35%;
    background: rgba(99, 102, 241, 0.12);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
    opacity: 0.6;
}

.hero-bg-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 12vw, 80px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 24c240 32 480 32 720 0s480-32 720 0v24H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    opacity: 0.95;
}

/* Hero — extra side inset on mobile only (≥768px uses default .wrap padding) */
@media (max-width: 767px) {
    .wrap.hero {
        padding-left: max(1.35rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.35rem, env(safe-area-inset-right, 0px));
    }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: min(100vh - 4rem, 900px);
    display: grid;
    align-items: center;
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 960px) {
    .hero {
        grid-template-columns: 1fr 420px;
        gap: 4rem;
        padding-top: 3rem;
        padding-bottom: 3.5rem;
        min-height: calc(100vh - 56px);
    }

    .hero-content {
        margin-left: clamp(0.35rem, 2.5vw, 1.75rem);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mint);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.28);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-kicker {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    max-width: 32rem;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}

.hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero-lead {
    font-size: clamp(1rem, 2.8vw, 1.125rem);
    color: var(--text-muted);
    max-width: 36rem;
    margin-bottom: 1rem;
}

.hero-programs {
    font-size: clamp(0.8125rem, 2vw, 0.9375rem);
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.55);
    max-width: 38rem;
    margin: 0 0 1.5rem;
}

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

@media (max-width: 400px) {
    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-stats div strong {
    display: block;
    font-size: 1.5rem;
    font-family: 'Fraunces', serif;
    color: var(--text);
}

.hero-stats div span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-courses {
    margin-top: 0.25rem;
    padding: 1.25rem 1.15rem 1.35rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
    .hero-courses {
        padding: 1.35rem 1.35rem 1.5rem;
    }
}

.course-pills-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.course-pills-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--accent));
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
    flex-shrink: 0;
}

.course-pills-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
    max-width: 36rem;
}

.course-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

@media (min-width: 420px) {
    .course-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 720px) {
    .course-pills {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }
}

.course-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    text-decoration: none;
    word-break: break-word;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.course-pill::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 12px 0 0 12px;
    opacity: 0.9;
}

.course-pill--ko::before { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.course-pill--zh::before { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.course-pill--ja::before { background: linear-gradient(180deg, #be123c, #881337); }
.course-pill--de::before { background: linear-gradient(180deg, #f59e0b, #b45309); }
.course-pill--fr::before { background: linear-gradient(180deg, #6366f1, #4338ca); }
.course-pill--es::before { background: linear-gradient(180deg, #ea580c, #c2410c); }

.course-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    border-color: rgba(13, 148, 136, 0.35);
    color: var(--text);
}

.course-pill:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 24px rgba(15, 23, 42, 0.08);
}

.course-pill:active {
    transform: translateY(0);
}

/* Form card */
.form-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.1rem, 4vw, 1.75rem);
    box-shadow: var(--shadow), 0 0 0 1px rgba(13, 148, 136, 0.06);
}

.form-card h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.form-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.35rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

select { cursor: pointer; }

.form-actions {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
    margin-top: 0.25rem;
}

@media (min-width: 380px) {
    .form-actions {
        grid-template-columns: 1fr 1fr;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent) 0%, #9a3412 100%);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(194, 65, 12, 0.28);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--wa);
    color: #fff;
    text-decoration: none;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-whatsapp:hover {
    background: var(--wa-hover);
    transform: translateY(-1px);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-whatsapp--inline {
    display: inline-flex;
    width: auto;
    padding: 0.65rem 1.25rem;
}

.success-wa {
    text-align: center;
    margin-top: 0.25rem;
}

/* Trust strip */
.trust-strip {
    padding: 0 0 2.5rem;
}

.trust-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .trust-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .trust-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.trust-list strong {
    display: block;
    color: var(--accent);
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

/* Content sections */
.section-block {
    padding: clamp(2.25rem, 6vw, 3.5rem) 0;
}

.section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: var(--radius);
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border: 1px solid var(--border);
}

@media (max-width: 479px) {
    .section-alt {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

#top,
#enquiry,
#courses,
#why,
#how,
#faq,
#contact {
    scroll-margin-top: calc(3.25rem + env(safe-area-inset-top, 0px));
}

.courses-section {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.courses-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 35% at 0% 100%, rgba(194, 65, 12, 0.05) 0%, transparent 50%);
}

.courses-section-head {
    position: relative;
    z-index: 1;
}

.courses-section .section-sub {
    margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
}

@media (min-width: 768px) {
    #courses.section-alt.courses-section {
        margin-left: auto;
        margin-right: auto;
        padding-left: clamp(1.75rem, 3.5vw, 2.75rem);
        padding-right: clamp(1.75rem, 3.5vw, 2.75rem);
    }
}

@media (min-width: 900px) {
    #courses .course-grid {
        max-width: 1040px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

@media (min-width: 720px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(13, 148, 136, 0.35);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: block;
    font-size: 1.25rem;
    color: var(--mint);
    margin-bottom: 0.65rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Fraunces', serif;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.course-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(0.85rem, 2.5vw, 1.25rem);
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .course-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.course-card {
    --card-accent: var(--mint);
    --card-accent-soft: rgba(13, 148, 136, 0.12);
    padding: clamp(1.15rem, 3vw, 1.5rem);
    padding-top: calc(0.85rem + 4px);
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.course-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 65%, white));
}

.course-card--ko {
    --card-accent: #2563eb;
    --card-accent-soft: rgba(37, 99, 235, 0.14);
}

.course-card--zh {
    --card-accent: #dc2626;
    --card-accent-soft: rgba(220, 38, 38, 0.14);
}

.course-card--ja {
    --card-accent: #be123c;
    --card-accent-soft: rgba(190, 18, 60, 0.14);
}

.course-card--de {
    --card-accent: #d97706;
    --card-accent-soft: rgba(217, 119, 6, 0.16);
}

.course-card--fr {
    --card-accent: #4f46e5;
    --card-accent-soft: rgba(79, 70, 229, 0.14);
}

.course-card--es {
    --card-accent: #ea580c;
    --card-accent-soft: rgba(234, 88, 12, 0.14);
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--card-accent) 35%, var(--border));
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.06),
        0 20px 48px rgba(15, 23, 42, 0.1);
}

.course-card:focus-within {
    border-color: color-mix(in srgb, var(--card-accent) 45%, transparent);
    box-shadow:
        0 0 0 3px var(--card-accent-soft),
        0 12px 36px rgba(15, 23, 42, 0.08);
}

.course-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.course-card-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 75%, #0f172a));
    box-shadow: 0 2px 8px var(--card-accent-soft);
}

.course-card h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1rem, 2.4vw, 1.125rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin: 0;
    padding-top: 0.15rem;
}

.course-card p {
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
    color: var(--text-muted);
    flex: 1;
    line-height: 1.6;
    margin: 0;
}

.course-card-cta {
    align-self: flex-start;
    margin-top: 0.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mint);
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid rgba(13, 148, 136, 0.45);
    background: rgba(255, 255, 255, 0.9);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.course-card-cta:hover {
    background: var(--mint);
    color: #fff;
    border-color: var(--mint);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.course-card-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 20px rgba(13, 148, 136, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .course-card,
    .course-card-cta {
        transition: none;
    }

    .course-card:hover {
        transform: none;
    }
}

.steps {
    list-style: none;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.steps li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(232, 165, 75, 0.45);
    color: var(--accent);
    font-weight: 700;
    font-family: 'Fraunces', serif;
    display: grid;
    place-items: center;
}

.steps strong {
    display: block;
    margin-bottom: 0.35rem;
}

.steps p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* On-page FAQ accordion */
.faq-accordion-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .faq-accordion-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-acc {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.faq-acc summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: clamp(0.875rem, 2.5vw, 0.92rem);
    min-height: 48px;
    padding: 0.85rem 2.25rem 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    color: var(--text);
    position: relative;
    padding-right: 2.5rem;
    touch-action: manipulation;
}

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

.faq-acc summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-acc[open] summary::after {
    content: '−';
}

.faq-acc summary:hover {
    background: var(--panel);
}

.faq-acc p {
    padding: 0.75rem 1.1rem 1.1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* CTA banner */
.cta-banner {
    padding: 2rem 0 3rem;
}

.cta-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    padding: clamp(1.35rem, 4vw, 2rem) clamp(1.1rem, 4vw, 1.75rem);
    border-radius: var(--radius);
    border: 1px solid rgba(194, 65, 12, 0.2);
    background: linear-gradient(125deg, rgba(194, 65, 12, 0.08) 0%, rgba(13, 148, 136, 0.08) 50%, #f8fafc 100%);
    box-shadow: var(--shadow);
}

@media (min-width: 720px) {
    .cta-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.cta-banner-inner h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.cta-banner-inner > div p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 52ch;
}

.btn--light {
    width: auto;
    min-width: 180px;
    background: var(--text);
    color: #ffffff;
    box-shadow: none;
}

@media (max-width: 719px) {
    .btn--light {
        width: 100%;
        min-width: 0;
    }
}

.btn--light:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #115e59;
}

/* Testimonials */
.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials {
    padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
}

.slider-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
}

.slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 1.25rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .slide {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        padding: 1.75rem 1.5rem;
    }
}

@media (min-width: 900px) {
    .slide {
        padding: 2rem 2.25rem;
        gap: 1.5rem;
    }
}

.review-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
    padding: 1.1rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
    .review-box {
        padding: 1.25rem 1.15rem;
    }
}

.slide-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), #0f766e);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .slide-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.05rem;
    }
}

.review-box blockquote {
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    word-break: break-word;
}

.review-box cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.review-box cite strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.slider-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
}

.slider-nav button:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.slider-dots button.active {
    background: var(--accent);
    transform: scale(1.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    touch-action: manipulation;
    max-width: 100%;
}

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Site footer — full width, light black, layered look */
.site-footer {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-top: none;
    background: linear-gradient(168deg, #2f2f34 0%, #26262b 42%, #1e1e22 100%);
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.875rem;
    padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(3.5rem, 8vw, 5rem);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 50% at 12% -10%, rgba(13, 148, 136, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse 60% 45% at 100% 110%, rgba(194, 65, 12, 0.1) 0%, transparent 50%);
    opacity: 1;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.footer-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 2.75rem);
    grid-template-columns: 1fr;
    padding-bottom: clamp(2rem, 5vw, 2.75rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
        gap: clamp(1.75rem, 3vw, 2.5rem);
    }

    .footer-col,
    .footer-brand {
        padding-right: 0.5rem;
    }
}

.footer-brand {
    max-width: 22rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #f8fafc;
    margin-bottom: 1rem;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.9;
}

.footer-logo img {
    display: block;
    width: 200px;
    height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.68);
    margin: 0;
}

.footer-heading {
    font-family: 'Fraunces', serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(13, 148, 136, 0.45);
    max-width: 12rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    display: inline-block;
    color: rgba(248, 250, 252, 0.82);
    text-decoration: none;
    padding: 0.15rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact li {
    color: rgba(248, 250, 252, 0.78);
}

.footer-contact .footer-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.45);
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: #5eead4;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #99f6e4;
    text-decoration: underline;
}

.footer-contact li:last-of-type {
    margin-bottom: 0;
}

.footer-wa {
    display: inline-flex;
    align-items: center;
    margin-top: 1.1rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: var(--wa);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-wa:hover {
    background: var(--wa-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 0;
    text-align: center;
}

@media (min-width: 720px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(248, 250, 252, 0.55);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
}

@media (min-width: 720px) {
    .footer-legal {
        justify-content: flex-end;
    }
}

.footer-legal a {
    color: rgba(248, 250, 252, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #f8fafc;
}

.footer-dot {
    color: rgba(248, 250, 252, 0.25);
    user-select: none;
}

.footer-seo {
    margin: 1.25rem 0 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.42);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .footer-links a:hover,
    .footer-wa:hover {
        transform: none;
    }
}

/* 7s lead popup */
.lead-popup-root {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    pointer-events: none;
}

.lead-popup-root[hidden] {
    display: none;
}

.lead-popup-root.is-open {
    pointer-events: auto;
}

.lead-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.lead-popup {
    position: relative;
    z-index: 1;
    width: min(100%, 400px);
    max-height: min(90vh, 90dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(1.25rem, 4vw, 1.65rem);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.lead-popup-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s, color 0.2s;
}

.lead-popup-close:hover {
    background: #e2e8f0;
    color: var(--accent);
}

.lead-popup-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    margin: 0 2.5rem 0.5rem 0;
    padding-right: 0.25rem;
    line-height: 1.2;
}

.lead-popup-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.lead-popup-alert {
    margin-bottom: 1rem;
}

.lead-popup-form label {
    margin-bottom: 0.35rem;
}

.lead-popup-form input {
    margin-bottom: 0.85rem;
}

.lead-popup-form .lead-popup-submit {
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.lead-toast {
    position: fixed;
    left: 50%;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    transform: translate3d(-50%, 120%, 0);
    z-index: 1001;
    max-width: min(90vw, 360px);
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: var(--text);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.lead-toast.is-visible {
    transform: translate3d(-50%, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .lead-toast {
        transition: none;
        transform: translate3d(-50%, 0, 0);
    }
}
