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

:root {
    --primary: #1C56C5;
    --primary-dark: #123D99;
    --primary-deep: #0B2F78;
    --primary-light: #EAF2FF;

    --accent: #F57C00;
    --accent-dark: #D96A00;
    --accent-light: green;

    --cream: #F8FAFC;
    --surface: #FFFFFF;
    --white: #FFFFFF;

    --charcoal: #1F2937;
    --muted: #6B7280;
    --border: #DCE4EE;

    --shadow-soft: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-medium: 0 14px 35px rgba(15, 23, 42, .14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    min-height: auto;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1586105251261-72a756497a11?w=1600&q=80');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(.45) saturate(.95);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11,47,120,.88) 0%, rgba(28,86,197,.62) 55%, rgba(245,124,0,.28) 100%);
}

/* Single consolidated hero-content rule (previously declared 3x, each
   overriding the last — merged here to the final effective values) */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 6% 150px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 560px;
}

.hero-eyebrow {
    display: inline-block;
    background-color:white;
    color: grey;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--white);
    line-height: 1.02;
    margin-bottom: 1.2rem;
}

.hero h1 em {
    font-style: italic;
    color: #FFD9B0;
}

.hero-sub {
    color: rgba(255,255,255,.86);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 2.4rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: green;
    color: var(--white);
    border: none;
    padding: 13px 28px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 10px 24px rgba(245,124,0,.28);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(245,124,0,.35);
}

.btn-outline {
    background: rgba(255,255,255,.06);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.55);
    padding: 12px 28px;
    font-size: .88rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, background .2s, transform .15s;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    background: rgba(11,47,120,.92);
    backdrop-filter: blur(8px);
}

.hero-stat {
    flex: 1;
    padding: 1.3rem 2rem;
    border-right: 1px solid rgba(255,255,255,.13);
    text-align: center;
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-num {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.9rem;
    color: #FFD9B0;
    line-height: 1;
    margin-bottom: .3rem;
}

.hero-stat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.68);
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* EO SUMMARY CARD (in hero) */
.eo-summary {
    background: rgba(255,255,255,.95);
    color: #1f2937;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
    border-top: 5px solid var(--accent);
    max-width: 520px;
    justify-self: end;
}

.eo-summary h2 {
    color: var(--primary-dark);
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.eo-summary p,
.eo-summary li {
    color: #1f2937;
    font-size: .95rem;
    line-height: 1.65;
}

.eo-summary ul {
    padding-left: 20px;
    margin-top: 14px;
}

/* ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 560px;
}

.about-img {
    position: relative;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 5rem 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FFD9B0;
    margin-bottom: .9rem;
}

.about-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.4rem;
}

.about-text p {
    color: rgba(255,255,255,.82);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-text p:last-of-type {
    margin-bottom: 2rem;
}

.about-text .btn-primary {
    align-self: flex-start;
}

/* WHO MUST ATTEND */
.must-attend {
    background: var(--primary-light);
    padding: 5rem 8%;
    text-align: center;
}

.must-attend h2,
.modules-header h2,
.resp-text h2,
.penalties-header h2,
.faq-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    color: var(--primary-dark);
    margin-bottom: .6rem;
}

.must-attend .lead {
    color: var(--muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: var(--surface);
    border-radius: 14px;
    padding: 2rem 1.6rem;
    text-align: left;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent);
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: .9rem;
}

.card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: .5rem;
}

.card p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.65;
}

/* PROGRAMME MODULES */
.modules {
    padding: 5.5rem 8%;
    background: var(--cream);
}

.modules-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.modules-header p {
    color: var(--muted);
    font-size: .95rem;
    max-width: 500px;
    margin: 0 auto;
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    border-radius: 16px;
    overflow: hidden;
}

.module-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: start;
    gap: 1.6rem;
    background: var(--surface);
    padding: 1.8rem 2rem;
    border-left: 4px solid transparent;
    transition: border-color .2s, background .2s;
}

.module-item:hover {
    border-left-color: var(--accent);
    background: #FBFDFF;
}

.module-num {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.module-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: .35rem;
}

.module-body p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
}

.module-tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: start;
    margin-top: 2px;
}

.tag-required {
    background: var(--accent-light);
    color: #B45309;
}

.tag-core {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.tag-practical {
    background: #E8FFF4;
    color: #047857;
}

/* PROCESS */
.process {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
    padding: 5.5rem 8%;
}

.process-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.process-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    color: var(--white);
    margin-bottom: .5rem;
}

.process-header p {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255,255,255,.18);
}

.step {
    text-align: center;
    padding: 0 1.5rem 2rem;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #FFD9B0;
    position: relative;
    z-index: 1;
}

.step h3 {
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.step p {
    color: rgba(255,255,255,.66);
    font-size: .82rem;
    line-height: 1.6;
}

/* RESPONSIBILITIES */
.responsibilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.resp-text {
    padding: 5rem 6%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.resp-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-size: .9rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.resp-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.resp-img {
    position: relative;
    overflow: hidden;
}

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

.resp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--surface) 0%, transparent 20%);
}

/* PULLQUOTE */
.pullquote {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 4rem 8%;
    text-align: center;
}

.pullquote blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: var(--white);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.35;
}

.pullquote cite {
    display: block;
    font-size: .8rem;
    font-style: normal;
    color: rgba(255,255,255,.82);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* PENALTIES */
.penalties {
    background: var(--primary-light);
    padding: 5rem 8%;
}

.penalties-header {
    text-align: center;
    margin-bottom: 3rem;
}

.penalties-header p {
    color: var(--muted);
    font-size: .9rem;
}

.penalty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
}

.penalty-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 1.8rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-soft);
}

.penalty-card h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.penalty-card p {
    font-size: .85rem;
    color: var(--charcoal);
    line-height: 1.65;
}

/* MOM BANNER */
.mom-banner {
    background: var(--primary-deep);
    padding: 4rem 8%;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.mom-logo-block {
    flex-shrink: 0;
}

.mom-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: -.01em;
}

.mom-logo-sub {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mom-desc {
    flex: 1;
    min-width: 260px;
}

.mom-desc p {
    font-size: .9rem;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mom-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mom-link {
    font-size: .82rem;
    color: #FFD9B0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,217,176,.35);
    padding-bottom: 1px;
    transition: border-color .2s;
}

.mom-link:hover {
    border-color: #FFD9B0;
}

/* FAQ */
.faq {
    padding: 5.5rem 8%;
    background: var(--cream);
    max-width: 820px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

details {
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}

details:first-of-type {
    border-top: 1px solid var(--border);
}

summary {
    font-size: .95rem;
    font-weight: 700;
    color: var(--charcoal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform .2s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-top: .8rem;
    padding-right: 2rem;
}

/* FOOTER */
footer {
    background: var(--primary-deep);
    padding: 3rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-brand span {
    display: block;
    font-size: .75rem;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    margin-top: 2px;
    color: rgba(255,255,255,.55);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-note {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    max-width: 380px;
    line-height: 1.6;
}

.footer-right {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    text-align: right;
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 260px;
    padding: 18px 30px;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 60px;
    box-shadow: 0 12px 30px rgba(15,23,42,.25);
    transition: all .3s ease;
}

.floating-cta a i {
    font-size: 1.4rem;
}

.cta-register {
    background: green;
    color: var(--white);
}

.cta-register:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(245,124,0,.38);
}

.cta-whatsapp {
    background: var(--primary);
    color: var(--white);
}

.cta-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(28,86,197,.35);
}

.price-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border);
}

.price-label {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: green;
    line-height: 1;
}

.price-note {
    margin-top: 5px;
    font-size: .8rem;
    color: var(--muted);
}

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

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

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

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 90px 6% 60px;
    }

    .eo-summary {
        justify-self: stretch;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    /* .hero-content stacks tall on mobile (both blocks in one column),
       so the stats bar can no longer be pinned absolutely to the
       bottom of .hero — it must join normal flow right away or it
       overlaps whatever content happens to land at that height. */
    .hero-stats {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .about,
    .responsibilities {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 280px;
    }

    .resp-img {
        height: 260px;
    }

    .steps::before {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        min-width: 50%;
    }

    .mom-banner {
        gap: 2rem;
    }

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

    .footer-right {
        text-align: center;
    }

    .module-item {
        grid-template-columns: 48px 1fr;
        gap: 1rem;
        padding: 1.4rem;
    }

    .module-tag {
        grid-column: 2;
    }

    .floating-cta {
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "price price"
            "register whatsapp";
        gap: 8px;
    }

    .floating-cta a {
        min-width: 0;
        justify-content: center;
        padding: 12px 10px;
        font-size: .82rem;
        gap: 8px;
    }

    .floating-cta a i {
        font-size: 1.1rem;
    }

    .price-card {
        grid-area: price;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 8px 16px;
        border-radius: 14px;
    }

    .price-label {
        margin-bottom: 0;
    }

    .price-amount {
        font-size: 1.3rem;
    }

    .price-note {
        margin-top: 0;
    }

    .cta-register {
        grid-area: register;
    }

    .cta-whatsapp {
        grid-area: whatsapp;
    }

    /* keep the fixed floating bar from ever covering the last
       section's content (footer, FAQ CTA, etc.) as the user scrolls */
    body {
        padding-bottom: 100px;
    }
}
