:root {
    --bg: #07140f;
    --line: rgba(214, 255, 230, 0.18);
    --text: #f4fff8;
    --muted: #b8d4c2;
    --green: #7cff9b;
    --lime: #d3ff6a;
    --gold: #ffd36a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 8px;
    --max: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(124, 255, 155, 0.16), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(112, 216, 255, 0.13), transparent 24rem),
        linear-gradient(180deg, #06110d 0%, var(--bg) 38%, #102015 100%);
    color: var(--text);
    font-family: "Manrope", system-ui, sans-serif;
    line-height: 1.7;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

a {
    color: inherit;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.barra {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 20, 15, 0.72);
    backdrop-filter: blur(18px);
}

.barra-int {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 32px));
    min-height: 60px;
    margin: 0 auto;
    gap: 18px;
}

.marca {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.marca-ico {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(124, 255, 155, 0.38);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 255, 155, 0.22), rgba(255, 211, 106, 0.14));
    box-shadow: 0 0 28px rgba(124, 255, 155, 0.22);
    overflow: hidden;
}

.marca-ico img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.links a {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.btn-menu {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(124, 255, 155, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.btn-menu:hover {
    border-color: rgba(211, 255, 106, 0.72);
    background: rgba(255, 255, 255, 0.12);
}

.btn-menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--text);
}

.portada {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    padding: 118px 0 64px;
}

.portada::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 16, 12, 0.92) 0%, rgba(5, 16, 12, 0.72) 48%, rgba(5, 16, 12, 0.3) 100%),
        linear-gradient(180deg, rgba(5, 16, 12, 0.08) 0%, rgba(5, 16, 12, 0.66) 74%, #07140f 100%),
        url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1800&q=85");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.portada::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 36%;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.portada-int {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--lime);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.etiqueta::before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 0 18px rgba(211, 255, 106, 0.8);
}

h1 {
    max-width: 900px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.25rem, 9.2vw, 8.35rem);
    line-height: 0.88;
    letter-spacing: 0;
    text-wrap: balance;
}

.intro {
    max-width: 660px;
    margin-top: 26px;
    color: #dcf3e4;
    font-size: clamp(1.06rem, 1.82vw, 1.4rem);
}

.acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.boton {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(124, 255, 155, 0.36);
    border-radius: 999px;
    padding: 11px 18px;
    background: linear-gradient(135deg, rgba(124, 255, 155, 0.22), rgba(255, 211, 106, 0.18));
    box-shadow: 0 0 40px rgba(124, 255, 155, 0.2);
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.boton:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 255, 106, 0.72);
    background: linear-gradient(135deg, rgba(124, 255, 155, 0.32), rgba(255, 211, 106, 0.28));
}

.boton-ico {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nota {
    color: var(--muted);
    font-size: 0.95rem;
}

.seccion {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0;
}

.tit-sec {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 24px;
}

h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 4.8vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0;
    text-wrap: balance;
}

.bajada {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow);
}

.dato {
    min-height: 140px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
}

.dato strong {
    display: block;
    color: var(--green);
    font-size: clamp(1.85rem, 3.4vw, 3.1rem);
    line-height: 1;
}

.dato span {
    display: block;
    margin-top: 12px;
    color: #d9f2df;
    font-weight: 700;
}

.acordeon {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.item-ac {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease, border-color 220ms ease;
}

.item-ac.activo {
    opacity: 1;
    transform: translateY(0);
}

.item-ac:hover {
    border-color: rgba(124, 255, 155, 0.36);
}

.cab-ac {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    border: 0;
    padding: 21px 24px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.tit-ac {
    color: var(--text);
    font-size: clamp(1.1rem, 1.75vw, 1.48rem);
    font-weight: 800;
}

.ico-ac {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(124, 255, 155, 0.28);
    border-radius: 50%;
    color: var(--green);
    transition: transform 240ms ease, background 240ms ease;
}

.cab-ac[aria-expanded="true"] .ico-ac {
    transform: rotate(45deg);
    background: rgba(124, 255, 155, 0.12);
}

.cont-ac {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.cont-ac.abierto {
    grid-template-rows: 1fr;
}

.cont-ac-int {
    min-height: 0;
    overflow: hidden;
}

.cuerpo-ac {
    padding: 0 24px 24px;
    color: var(--muted);
    font-size: 1rem;
}

.img-dest {
    overflow: hidden;
    margin-top: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #14251b;
}

.img-dest img {
    aspect-ratio: 16 / 8;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.05);
    transition: transform 700ms ease;
}

.img-dest:hover img {
    transform: scale(1.035);
}

.grid-impacto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tarj {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease, border-color 220ms ease;
}

.tarj.activo {
    opacity: 1;
    transform: translateY(0);
}

.tarj:hover {
    border-color: rgba(255, 211, 106, 0.42);
}

.tarj img {
    height: 205px;
    object-fit: cover;
    filter: saturate(1.05);
}

.tarj-cont {
    padding: 20px;
}

.tarj h3 {
    color: var(--gold);
    font-size: 1.32rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.tarj p {
    color: var(--muted);
    font-size: 0.98rem;
}

.panel-video {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 32px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(124, 255, 155, 0.1), rgba(112, 216, 255, 0.06)),
        rgba(255, 255, 255, 0.065);
    box-shadow: var(--shadow);
}

.panel-video p {
    color: var(--muted);
    margin-top: 16px;
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: #111;
}

.video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    background: #111;
}

.fuente {
    display: inline-flex;
    margin-top: 14px;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.fuente:hover {
    color: var(--lime);
}

.pie-link {
    display: block;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(124, 255, 155, 0.1), rgba(255, 211, 106, 0.08), rgba(112, 216, 255, 0.1)),
        rgba(255, 255, 255, 0.04);
    color: var(--muted);
    text-align: center;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.pie-link:hover {
    color: var(--text);
    background:
        linear-gradient(90deg, rgba(124, 255, 155, 0.16), rgba(255, 211, 106, 0.12), rgba(112, 216, 255, 0.16)),
        rgba(255, 255, 255, 0.07);
}

footer {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
}

footer strong {
    color: var(--text);
    font-weight: 800;
    text-transform: capitalize;
}

.aparece {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.aparece.activo {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .barra-int {
        position: relative;
    }

    .btn-menu {
        display: inline-flex;
    }

    .links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: grid;
        min-width: 190px;
        gap: 6px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(7, 20, 15, 0.94);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 180ms ease, transform 180ms ease;
        backdrop-filter: blur(18px);
    }

    .links.abierto {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .links a {
        width: 100%;
        border-radius: 6px;
        padding: 10px 12px;
    }

    .tit-sec,
    .panel-video {
        grid-template-columns: 1fr;
    }

    .datos,
    .grid-impacto {
        grid-template-columns: 1fr;
    }

    .portada {
        min-height: 88vh;
    }
}

@media (max-width: 560px) {
    .barra-int {
        min-height: 56px;
    }

    .marca {
        font-size: 0.9rem;
    }

    .btn-menu {
        width: 38px;
        height: 38px;
    }

    .portada {
        min-height: 84vh;
        padding-top: 96px;
        padding-bottom: 48px;
    }

    h1 {
        font-size: clamp(2.65rem, 15.8vw, 4.65rem);
    }

    .intro {
        margin-top: 18px;
        font-size: 1.04rem;
        line-height: 1.6;
    }

    .acciones {
        margin-top: 20px;
        gap: 10px;
        align-items: stretch;
        flex-direction: column;
    }

    .boton {
        width: 100%;
    }

    .seccion {
        padding: 64px 0;
    }

    .cab-ac {
        padding: 16px;
    }

    .cuerpo-ac {
        padding: 0 16px 18px;
    }

    .tarj img {
        height: 180px;
    }

    .panel-video { 
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}