:root {
    --bg: #F7F1E8;
    --bg-soft: #EFE4D4;
    --paper: #FFF9F2;
    --ink: #1E2A38;
    --muted: #324A67;
    --line: rgba(30, 42, 57, 0.10);

    --sage: #324A67;
    --sage-deep: #1E2A38;
    --terracotta: #D9B97A;
    --terracotta-deep: #B89256;
    --plum: #324A67;
    --gold-soft: #EFE4D4;

    --shadow: 0 18px 50px rgba(30, 42, 57, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1180px;
    --nav-h: 70px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 185, 122, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(50, 74, 103, 0.10), transparent 28%),
        var(--bg);
    line-height: 1.55;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    font: inherit;
    position: relative;
    overflow: hidden;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        opacity .22s ease;
}

.button:active,
button:active {
    transform: translateY(0) scale(0.985);
}

.button-primary {
    background: var(--sage);
    color: #fff;
    padding: 0.95rem 1.45rem;
    box-shadow: 0 12px 30px rgba(30, 42, 57, 0.22);
}

.button-secondary {
    background: rgba(217, 185, 122, 0.18);
    color: var(--sage-deep);
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(217, 185, 122, 0.36);
}

.button-ghost {
    background: rgba(255, 249, 242, 0.88);
    color: var(--ink);
    padding: 0.8rem 1.15rem;
    border: 1px solid rgba(30, 42, 57, 0.10);
    backdrop-filter: blur(10px);
}

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(217, 185, 122, 0.18);
    color: var(--sage-deep);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sage-deep);
    box-shadow: 0 0 0 6px rgba(217, 185, 122, 0.22);
}

.section {
    padding: 4.2rem 0;
}

.section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.06;
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 760px;
    margin: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 249, 242, 0.84);
    border-bottom: 1px solid rgba(30, 42, 57, 0.08);
}

.topbar-inner {
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.30), rgba(50, 74, 103, 0.14));
    color: var(--sage-deep);
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.brand-copy strong {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.84rem;
}

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

.nav-links,
.nav .button-primary {
    display: none;
}

.nav-links {
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 600;
}

.nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(217, 185, 122, 0.18);
    color: var(--sage-deep);
}

.nav-mobile {
    display: none;
    padding: 0 0 1rem;
}

.nav-mobile.open {
    display: grid;
    gap: .7rem;
}

.nav-mobile a {
    color: var(--muted);
    font-weight: 600;
}

/* Hero */
.hero {
    padding: 1.5rem 0 3.6rem;
    overflow: clip;
}

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

.hero-copy h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: .98;
    margin: 1rem 0 1.1rem;
    letter-spacing: -0.04em;
}

.hero-copy p {
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    margin: 0;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.6rem 0 1.8rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(255, 249, 242, 0.84);
    border: 1px solid rgba(30, 42, 57, 0.07);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.stat-card strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: .3rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.94rem;
}

.hero-media {
    position: relative;
    width: min(100%, 640px);
    margin-inline: auto;
}

.hero-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 249, 242, 0.94), rgba(239, 228, 212, 0.72));
    border: 1px solid rgba(30, 42, 57, 0.08);
    border-radius: 28px;
    padding: .85rem;
    box-shadow: 0 24px 60px rgba(30, 42, 57, 0.12);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
    opacity: .8;
}

.hero-card::before {
    width: 180px;
    height: 180px;
    background: rgba(217, 185, 122, 0.18);
    top: -40px;
    right: -40px;
}

.hero-card::after {
    width: 140px;
    height: 140px;
    background: rgba(50, 74, 103, 0.10);
    bottom: -20px;
    left: -30px;
}

.hero-image-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    min-height: 0;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.14), rgba(50, 74, 103, 0.10));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-side-card {
    position: relative;
    margin-top: .9rem;
    padding: 1.05rem 1.1rem 1.05rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 249, 242, 0.96), rgba(239, 228, 212, 0.90));
    border: 1px solid rgba(30, 42, 57, 0.10);
    box-shadow: 0 16px 34px rgba(30, 42, 57, 0.12);
    overflow: hidden;
}

.hero-side-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--sage-deep), var(--terracotta));
}

.hero-side-card strong {
    display: block;
    padding-left: .35rem;
    font-size: .96rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

.chip {
    padding: .72rem .95rem;
    border-radius: 999px;
    background: rgba(255, 249, 242, 0.82);
    border: 1px solid rgba(30, 42, 57, 0.07);
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--muted);
}

/* Generic grids */
.grid-3,
.grid-4,
.grid-2 {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.card h3,
.card h4 {
    margin: 0 0 .7rem;
    font-size: 1.08rem;
    line-height: 1.2;
}

.card p,
.card li {
    color: var(--muted);
    margin: 0;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--sage-deep);
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.22), rgba(50, 74, 103, 0.10));
}

.split-panel,
.feature-showcase,
.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.problem-list,
.result-list,
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .95rem;
}

.problem-list li,
.result-list li,
.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    color: var(--muted);
}

.problem-list li::before,
.result-list li::before,
.bullet-list li::before {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-top: 0.05rem;
}

.problem-list li::before {
    content: "!";
    background: rgba(217, 185, 122, 0.22);
    color: var(--sage-deep);
}

.result-list li::before,
.bullet-list li::before {
    content: "✓";
    background: rgba(50, 74, 103, 0.12);
    color: var(--sage-deep);
}

.accent-panel {
    background: linear-gradient(180deg, rgba(255, 249, 242, 1), rgba(239, 228, 212, 0.78));
    border: 1px solid rgba(50, 74, 103, 0.16);
    border-radius: 32px;
    padding: 1.7rem;
    box-shadow: var(--shadow);
}

.accent-panel.terracotta {
    background: linear-gradient(180deg, rgba(255, 249, 242, 1), rgba(217, 185, 122, 0.18));
    border-color: rgba(217, 185, 122, 0.30);
}

.story-band {
    background: linear-gradient(135deg, rgba(255, 249, 242, 0.94), rgba(239, 228, 212, 0.92));
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.story-band p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 860px;
}

.module-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.module-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    background: rgba(217, 185, 122, 0.12);
}

.module-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 .75rem;
    border-radius: 999px;
    background: rgba(217, 185, 122, 0.20);
    color: var(--sage-deep);
    font-size: .84rem;
    font-weight: 800;
    margin-bottom: .85rem;
}

.module-card h3 {
    font-size: 1.05rem;
    margin: 0 0 .35rem;
}

.module-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

.showcase-block {
    border-radius: 28px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.showcase-block h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.showcase-block small {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: rgba(217, 185, 122, 0.18);
    color: var(--sage-deep);
    font-weight: 700;
    letter-spacing: .02em;
}

.faq-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    color: var(--ink);
    padding: 1.15rem 1.2rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    transition: background-color .22s ease;
}

.faq-question span:last-child {
    font-size: 1.4rem;
    color: var(--sage-deep);
    transition: transform .2s ease;
}

.faq-item.open .faq-question span:last-child {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-answer-inner {
    padding: 0 1.2rem 1.2rem;
    color: var(--muted);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 2.2rem;
    background: linear-gradient(135deg, rgba(255, 249, 242, 1), rgba(239, 228, 212, 0.86), rgba(217, 185, 122, 0.18));
    border: 1px solid rgba(30, 42, 57, 0.10);
    box-shadow: var(--shadow);
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(50, 74, 103, 0.08);
}

.cta-banner>* {
    position: relative;
    z-index: 1;
}

.cta-banner p {
    max-width: 760px;
    color: var(--muted);
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.3rem;
}

/* =========================
Offer + guarantee elements
========================= */

.promo-strip {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .72rem .95rem;
    margin: 1.1rem 0 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.22), rgba(239, 228, 212, 0.92));
    border: 1px solid rgba(217, 185, 122, 0.34);
    box-shadow: 0 12px 26px rgba(30, 42, 57, 0.08);
    color: var(--sage-deep);
    font-weight: 700;
    line-height: 1.35;
}

.promo-strip::before {
    content: "⏳";
    font-size: 1rem;
    line-height: 1;
}

.promo-strip span {
    color: var(--muted);
    font-weight: 600;
}

.chip.guarantee-chip {
    background: rgba(50, 74, 103, 0.10);
    border-color: rgba(50, 74, 103, 0.14);
    color: var(--sage-deep);
}

.cta-support {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
}

.cta-support-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem 1rem;
    background: rgba(255, 249, 242, 0.72);
    border: 1px solid rgba(30, 42, 57, 0.08);
    border-radius: 18px;
    color: var(--muted);
    box-shadow: 0 10px 24px rgba(30, 42, 57, 0.06);
}

.cta-support-item strong {
    color: var(--sage-deep);
    display: block;
    margin-bottom: .15rem;
}

.cta-support-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(217, 185, 122, 0.18);
    color: var(--sage-deep);
    font-size: .95rem;
    font-weight: 800;
}

@media (max-width: 760px) {
    .promo-strip {
        display: flex;
        border-radius: 18px;
        padding: .85rem .95rem;
    }

    .cta-support-item {
        border-radius: 16px;
    }
}

footer {
    padding: 2.5rem 0 6rem;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(30, 42, 57, 0.08);
}

.floating-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(.85rem + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta-card {
    width: min(860px, 100%);
    background: rgba(255, 249, 242, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(30, 42, 57, 0.10);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(30, 42, 57, 0.14);
    padding: .85rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    pointer-events: auto;
}

.floating-cta-copy {
    padding-left: .25rem;
    min-width: 0;
}

.floating-cta-title,
.floating-cta-text {
    display: block;
}

.floating-cta-title--full {
    white-space: normal;
}

.floating-cta-title--short {
    display: none;
}

.floating-cta-text {
    color: var(--muted);
    font-size: .92rem;
    margin-top: .2rem;
}

.floating-cta-button {
    width: 100%;
    min-height: 52px;
    justify-content: center;
}

.note {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .9rem;
}

/* =========================
Premium image sections
========================= */

.course-preview-band,
.modules-mosaic-band,
.include-visual-band {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-preview-card,
.modules-mosaic-card,
.include-visual-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 0.8rem;
}

.course-preview-head,
.modules-mosaic-head,
.include-visual-head {
    padding: 0.2rem 0.2rem 0.85rem;
}

.course-preview-head h3,
.modules-mosaic-head h3,
.include-visual-head h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    line-height: 1.2;
}

.course-preview-head p,
.modules-mosaic-head p,
.include-visual-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

/* 1) #diferente : preview band / slide deck */
.course-preview-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.2rem 0.2rem 0.35rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(50, 74, 103, 0.28) transparent;
}

.course-preview-slider::-webkit-scrollbar {
    height: 10px;
}

.course-preview-slider::-webkit-scrollbar-track {
    background: transparent;
}

.course-preview-slider::-webkit-scrollbar-thumb {
    background: rgba(50, 74, 103, 0.22);
    border-radius: 999px;
}

.course-preview-slide {
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 249, 242, 1), rgba(239, 228, 212, 0.72));
    border: 1px solid rgba(30, 42, 57, 0.08);
    box-shadow: 0 14px 30px rgba(30, 42, 57, 0.08);
}

.course-preview-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.12), rgba(50, 74, 103, 0.10));
}

.course-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-preview-caption {
    padding: 0.9rem 1rem 1rem;
}

.course-preview-caption strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.course-preview-caption span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* 2) #modulos : premium 4-image mosaic */
.modules-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.modules-mosaic-item {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 249, 242, 1), rgba(239, 228, 212, 0.72));
    border: 1px solid rgba(30, 42, 57, 0.08);
    box-shadow: 0 14px 30px rgba(30, 42, 57, 0.08);
}

.modules-mosaic-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.12), rgba(50, 74, 103, 0.10));
}

.modules-mosaic-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3) #incluye : supporting laptop visual */
.include-visual-media {
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(217, 185, 122, 0.12), rgba(50, 74, 103, 0.10));
    box-shadow: 0 14px 30px rgba(30, 42, 57, 0.08);
}

.include-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-preview-card,
.modules-mosaic-card,
.include-visual-card,
.course-preview-slide,
.modules-mosaic-item {
    transition:
        transform .26s ease,
        box-shadow .26s ease,
        border-color .26s ease;
}

/* =========================
Premium micro-interactions
========================= */

.nav-links a,
.nav-mobile a {
    position: relative;
    transition: color .2s ease;
}

.nav-links a::after,
.nav-mobile a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.22rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(30, 42, 56, 0.9), rgba(217, 185, 122, 0.9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.stat-card,
.card,
.module-card,
.showcase-block,
.faq-item,
.hero-side-card,
.accent-panel,
.story-band {
    transition:
        transform .26s ease,
        box-shadow .26s ease,
        border-color .26s ease,
        background-color .26s ease;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.00) 35%,
            rgba(255, 255, 255, 0.18) 50%,
            rgba(255, 255, 255, 0.00) 65%,
            transparent 100%);
    transform: translateX(-140%);
    animation: heroSheen 7.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes heroSheen {

    0%,
    70%,
    100% {
        transform: translateX(-140%);
    }

    85% {
        transform: translateX(140%);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .7s ease,
        transform .7s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal-stagger.in-view>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.in-view>*:nth-child(1) {
    transition-delay: .04s;
}

.reveal-stagger.in-view>*:nth-child(2) {
    transition-delay: .10s;
}

.reveal-stagger.in-view>*:nth-child(3) {
    transition-delay: .16s;
}

.reveal-stagger.in-view>*:nth-child(4) {
    transition-delay: .22s;
}

.reveal-stagger.in-view>*:nth-child(5) {
    transition-delay: .28s;
}

.reveal-stagger.in-view>*:nth-child(6) {
    transition-delay: .34s;
}

/* Hover only for devices that actually hover */
@media (hover: hover) and (pointer: fine) {

    .button:hover,
    button:hover {
        transform: translateY(-2px);
    }

    .button-primary:hover {
        background: var(--sage-deep);
        box-shadow: 0 16px 34px rgba(30, 42, 57, 0.28);
    }

    .button-secondary:hover,
    .button-ghost:hover {
        box-shadow: 0 12px 24px rgba(30, 42, 57, 0.10);
        border-color: rgba(30, 42, 57, 0.18);
    }

    .nav-links a:hover,
    .nav-mobile a:hover {
        color: var(--sage-deep);
    }

    .nav-links a:hover::after,
    .nav-mobile a:hover::after {
        transform: scaleX(1);
    }

    .hero-card:hover,
    .stat-card:hover,
    .card:hover,
    .module-card:hover,
    .showcase-block:hover,
    .faq-item:hover,
    .hero-side-card:hover,
    .accent-panel:hover,
    .story-band:hover,
    .course-preview-card:hover,
    .modules-mosaic-card:hover,
    .include-visual-card:hover,
    .course-preview-slide:hover,
    .modules-mosaic-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 54px rgba(30, 42, 57, 0.14);
        border-color: rgba(30, 42, 57, 0.16);
    }

    .module-card:hover::after {
        background: rgba(217, 185, 122, 0.18);
    }

    .faq-item:hover .faq-question {
        background: rgba(255, 249, 242, 0.52);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .reveal-stagger>* {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet and up */
@media (min-width: 761px) {
    :root {
        --nav-h: 78px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .nav .button-primary {
        display: inline-flex;
    }

    .nav-mobile,
    .nav-mobile.open {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .split-panel,
    .feature-showcase,
    .modules-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

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

    .section {
        padding: 5rem 0;
    }

    .hero {
        padding: 2rem 0 4rem;
    }

    .course-preview-band,
    .modules-mosaic-band,
    .include-visual-band {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .course-preview-card,
    .modules-mosaic-card,
    .include-visual-card {
        padding: 1rem;
        border-radius: 28px;
    }

    .course-preview-head,
    .modules-mosaic-head,
    .include-visual-head {
        padding: 0.3rem 0.3rem 1rem;
    }

    .course-preview-slider {
        grid-auto-columns: minmax(280px, 82%);
        gap: 1rem;
        padding: 0.2rem 0.2rem 0.6rem;
    }

    .modules-mosaic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .course-preview-slide,
    .modules-mosaic-item,
    .course-preview-media,
    .modules-mosaic-media,
    .include-visual-media {
        border-radius: 22px;
    }
}

/* Desktop and up */
@media (min-width: 1041px) {
    .hero-grid {
        grid-template-columns: 1.12fr 0.88fr;
        gap: 2rem;
    }

    .hero-copy {
        order: 1;
    }

    .hero-media {
        order: 2;
        margin-left: auto;
        margin-inline: 0 0;
    }

    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .split-panel {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 1.5rem;
    }

    .course-preview-slider {
        grid-auto-columns: minmax(280px, 72%);
    }

    .hero-card {
        border-radius: 40px;
        padding: clamp(0.9rem, 1.4vw, 1.15rem);
    }

    .hero-image-wrap {
        border-radius: 30px;
        min-height: 340px;
    }

    .hero-side-card {
        border-radius: 22px;
        margin-top: 1rem;
    }

    .hero-side-card strong {
        font-size: 1rem;
    }

    .course-preview-card,
    .modules-mosaic-card,
    .include-visual-card {
        border-radius: 30px;
    }

    .course-preview-slide,
    .modules-mosaic-item,
    .course-preview-media,
    .modules-mosaic-media,
    .include-visual-media {
        border-radius: 24px;
    }

    .floating-cta-card {
        border-radius: 999px;
        padding: .7rem .8rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .floating-cta-copy {
        padding-left: .5rem;
    }

    .floating-cta-title--full,
    .floating-cta-text {
        white-space: nowrap;
    }

    .floating-cta-title--short {
        display: none;
    }

    .floating-cta-text {
        margin-top: 0;
    }

    .floating-cta-button {
        width: auto;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        left: .75rem;
        right: .75rem;
        bottom: calc(.7rem + env(safe-area-inset-bottom));
    }

    .floating-cta-card {
        padding: .75rem;
        gap: .7rem;
        border-radius: 20px;
    }

    .floating-cta-title--full,
    .floating-cta-text {
        display: none;
    }

    .floating-cta-title--short {
        display: block;
        font-size: 1rem;
        line-height: 1.35;
    }

    .floating-cta-button {
        min-height: 50px;
    }

    .promo-strip {
        flex-wrap: wrap;
        width: 100%;
    }

    .cta-support-item {
        flex-direction: column;
        gap: .55rem;
    }
}

@media (max-width: 360px) {
    .floating-cta {
        left: .6rem;
        right: .6rem;
        bottom: calc(.55rem + env(safe-area-inset-bottom));
    }

    .floating-cta-card {
        padding: .65rem;
        border-radius: 18px;
    }

    .floating-cta-copy {
        display: none;
    }

    .floating-cta-button {
        min-height: 48px;
        font-size: .98rem;
    }
}