:root {
    --bg: #09121c;
    --surface: rgba(255, 255, 255, 0.94);
    --ink: #0d2238;
    --muted: #516170;
    --line: rgba(13, 34, 56, 0.10);
    --brand: #0a6c8f;
    --brand-2: #0d8db3;
    --accent: #d9a15a;
    --accent-soft: rgba(217, 161, 90, 0.14);
    --brand-soft: rgba(10, 126, 164, 0.12);
    --shadow: 0 24px 70px rgba(5, 25, 42, 0.16);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
    font-family: "IBM Plex Sans", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(5, 15, 26, 0.92), rgba(7, 24, 39, 0.96));
}

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

.shell {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.topbar { padding: 18px 0 8px; }

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f5f7fb;
    font-weight: 700;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(245, 247, 251, 0.82);
    font-size: 0.95rem;
}

.nav a.active,
.nav a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.hero { padding: 22px 0; }

.hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(3, 12, 22, 0.62), rgba(7, 24, 39, 0.36)),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
}

.hero-main {
    padding: 54px 50px;
    color: #f5f7fb;
}

.hero-side {
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 247, 251, 0.92);
    font-size: 13px;
    font-weight: 700;
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.2rem, 4.8vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.lead {
    margin: 0;
    color: rgba(245, 247, 251, 0.80);
    font-size: 1.04rem;
    line-height: 1.95;
    max-width: 62ch;
}

.hero-stats, .grid {
    display: grid;
    gap: 16px;
}

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

.stat, .card { border-radius: var(--radius-lg); }

.stat {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: #f5f7fb;
}

.stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.55rem;
}

.stat span {
    color: rgba(245, 247, 251, 0.76);
    font-size: 0.92rem;
    line-height: 1.7;
}

main section { padding-top: 26px; }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    color: #f5f7fb;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-head p {
    margin: 0;
    max-width: 58ch;
    color: rgba(245, 247, 251, 0.78);
    line-height: 1.85;
}

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

.card,
.media-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 14px 35px rgba(23, 33, 43, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.card {
    padding: 22px;
}

.tag {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--brand-soft);
    color: var(--brand);
}

.tag.accent {
    background: var(--accent-soft);
    color: #8a5b21;
}

.card h3 { margin: 14px 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.9; }

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.media-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image,
.hero-video,
.media-card video {
    width: 100%;
    display: block;
    background: #06101a;
}

.hero-image,
.hero-video {
    min-height: 320px;
    height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-image {
    object-fit: cover;
    cursor: zoom-in;
}

.media-card video {
    max-height: 420px;
    cursor: pointer;
}

.media-card__body {
    padding: 18px 20px 22px;
}

.media-card__body h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
}

.media-card__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.placeholder-media,
.media-placeholder {
    min-height: 320px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(10, 108, 143, 0.30), rgba(13, 141, 179, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    color: #f5f7fb;
}

.media-placeholder {
    min-height: 230px;
    border-radius: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}

.placeholder-media__badge {
    align-self: start;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.placeholder-media h3 { margin: 0 0 10px; font-size: 1.6rem; }
.placeholder-media p { margin: 0; color: rgba(245, 247, 251, 0.76); line-height: 1.85; }

.cta {
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(10, 108, 143, 0.94), rgba(13, 141, 179, 0.86));
    color: #ffffff;
    box-shadow: var(--shadow);
}

.cta h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta p { margin: 0; max-width: 70ch; line-height: 1.9; color: rgba(255, 255, 255, 0.90); }

.cta__actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
    background: #ffffff;
    color: #0a6c8f;
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.18);
}

.btn--whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.24);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 34px;
    color: rgba(245, 247, 251, 0.78);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__link {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1000;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__dialog {
    position: relative;
    width: min(1100px, 100%);
}

.lightbox__close {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.lightbox__image,
.lightbox__video {
    width: 100%;
    max-height: 85vh;
    border-radius: 20px;
    background: #06101a;
}

.lightbox__video,
.lightbox--video .lightbox__image {
    display: none;
}

.lightbox--video .lightbox__video {
    display: block;
}

.reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    .hero-card, .grid.cols-4, .grid.cols-3, .media-grid, .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .topbar__inner, .section-head, .footer, .hero-card, .hero-stats, .grid.cols-4, .grid.cols-3, .media-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .hero-main { padding: 32px 24px; }
    .hero-side {
        padding: 18px;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }
    h1 { font-size: 2.3rem; }
}
