:root {
    --navy: #071829;
    --navy-2: #0c2d4a;
    --navy-3: #123a5c;
    --teal: #2ee6c8;
    --teal-dark: #12b89e;
    --sand: #f6efe6;
    --paper: #fbf8f4;
    --ink: #122033;
    --muted: #5a6b7c;
    --line: rgba(12, 45, 74, 0.12);
    --white: #fff;
    --shadow: 0 18px 50px rgba(7, 24, 41, 0.12);
    --radius: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Outfit, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

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

a {
    color: var(--navy-2);
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--teal);
    color: var(--navy);
    padding: 8px 12px;
    z-index: 20;
}

.skip-link:focus {
    left: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 16px;
}

.brand img {
    display: block;
    height: 72px;
    width: auto;
    border-radius: 12px;
    background: #000;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--navy-2);
}

.site-nav a[aria-current="page"] {
    color: var(--teal-dark);
}

.social-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    font-size: 0.92rem;
}

.footer-social {
    margin-top: 14px;
}

.footer-social a {
    color: var(--teal);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 8px;
    background: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-nav,
.btn-whatsapp {
    background: #25d366;
    color: #07321a;
}

.hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(46, 230, 200, 0.18), transparent 28%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 58%, #16445a 100%);
    color: var(--white);
    padding: 72px 0 64px;
    overflow: hidden;
}

.hero-grid,
.split,
.cards,
.stats,
.modules,
.contact-grid {
    display: grid;
    gap: 28px;
}

.hero-grid,
.split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.split.start {
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 230, 200, 0.14);
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
.display {
    font-family: Syne, Outfit, sans-serif;
    line-height: 1.08;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.screen {
    background: #10263c;
    border: 1px solid rgba(46, 230, 200, 0.22);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.screen-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.screen-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d5a73;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tile {
    background: linear-gradient(180deg, #16344f, #122b42);
    border-radius: 14px;
    padding: 14px;
    min-height: 92px;
}

.tile strong {
    display: block;
    color: var(--teal);
    font-size: 1.2rem;
}

.tile span {
    color: #b7c6d3;
    font-size: 0.85rem;
}

.section {
    padding: 72px 0;
}

.section.sand {
    background: var(--sand);
}

.stats {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.stat b {
    display: block;
    font-size: 1.6rem;
    color: var(--navy-2);
}

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

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

.card,
.module,
.list-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.module:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.list-card ul,
.module + .module {
    margin: 0;
}

.list-card ul,
.card p + a {
    color: var(--navy-2);
}

.list-card li {
    margin: 8px 0;
}

.btn:hover {
    filter: brightness(1.05);
}

.site-nav a:hover {
    color: var(--teal-dark);
}

.section h2 + .muted {
    max-width: 40rem;
}

.card h3,
.module h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.muted {
    color: var(--muted);
}

.badge {
    display: inline-block;
    background: rgba(18, 184, 158, 0.12);
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.cta-band {
    background: var(--navy-2);
    color: var(--white);
    border-radius: 32px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.site-footer {
    background: var(--navy);
    color: #d7e2ec;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 28px;
}

.site-footer a {
    color: var(--teal);
    text-decoration: none;
}

.site-footer h2 {
    font-size: 1rem;
    color: var(--white);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin: 8px 0;
}

.site-footer img {
    display: block;
    height: 88px;
    width: auto;
    margin-bottom: 12px;
    border-radius: 12px;
}

.float-whatsapp {
    z-index: 11;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 32px;
    padding-top: 16px;
    font-size: 0.9rem;
}

.float-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(7, 24, 41, 0.25);
}

.form {
    display: grid;
    gap: 12px;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: var(--white);
}

.notice {
    background: #e8fff8;
    border: 1px solid #b6eadc;
    color: #0c4a3d;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
}

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

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.video-card {
    flex: 1 1 240px;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.video-card-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.video-card:hover {
    box-shadow: var(--shadow);
}

.video-thumb {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #122033;
}

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

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 38px;
    margin: -19px 0 0 -27px;
    border-radius: 10px;
    background: #ff0000;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.video-play::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 11px;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

.video-title {
    display: block;
    padding: 12px 14px 16px;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
}

.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 24, 41, 0.82);
}

.yt-modal[hidden] {
    display: none;
}

.yt-modal-box {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
}

.yt-modal-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 16px;
    background: #000;
}

.yt-modal-close {
    position: absolute;
    right: -8px;
    top: -42px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 900px) {
    .hero-grid,
    .split,
    .stats,
    .cards,
    .modules,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        display: block;
    }

    .video-card {
        display: inline-block;
        width: 47%;
        vertical-align: top;
        margin: 0 1.5% 18px 0;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        background: var(--paper);
        flex-direction: column;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--line);
        align-items: flex-start;
    }

    .site-nav.open {
        display: flex;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 48px;
    }
}

@media (max-width: 640px) {
    .video-card {
        display: block;
        width: 100%;
        margin: 0 0 18px;
    }
}
