/* Thin */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

/* ExtraLight */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-ExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

/* Light */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* Normal */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Normal.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-NormalItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

/* Medium */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* SemiBold */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-SemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

/* Bold */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* ExtraBold */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

/* Black */
@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'AltoPro';
    src: url('/fonts/AltoPro-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

:root {
    --blue: #2b05f5;
    --green: #36f47b;
    --ink: #181818;
    --paper: #f7f7f4;
    --grid: #b7f7cd;
    --gray: #e9e9e9;
    --pad: clamp(1.2rem,4vw,4rem)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: AltoPro, Arial,sans-serif;
    color: var(--ink);
    background: var(--paper)
}

a {
    color: inherit
}

button, input, select, textarea {
    font: inherit
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 72px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
    border-bottom: 1px solid #eee
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.edition {
    background: var(--blue);
    color: #fff;
    padding: .35rem .65rem;
    line-height: .8;
    font-size: 1.2rem
}

.brand-word {
    font-size: 1.65rem;
    letter-spacing: .12em;
    margin-left: .55rem;
    font-weight: 850;
}

/*.brand-word span, .hero-lockup h1 span, .footer-brand span {
}*/
.hero-lockup h1 span, .footer-brand span {
}

.menu-button {
    border: 1px solid var(--green);
    background: white;
    width: 48px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer
}

    .menu-button span:not(.sr-only) {
        display: block;
        width: 25px;
        height: 1px;
        background: #333
    }

.main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 1rem var(--pad);
    box-shadow: 0 8px 20px #0001;
}

.main-nav.open {
    display: flex
}

.main-nav a {
    padding: .85rem 0;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #ddd
}

.hero-image {
    min-height: 500px; 
    background: url('/img/hero.png') center 28% no-repeat;
    background-size: cover;
    position: relative;
}

.hero-badge {
    position: absolute;
    left: var(--pad);
    bottom: 1rem;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    padding: .35rem .65rem;
    border: 2px solid #fff
}

.grid-bg {
    background-color: #fafbf8;
    background-image: linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
    background-size: 70px 70px
}

/* Overr */
.section-pad {
    padding: clamp(3rem,8vw,7rem) var(--pad);
}

.hero-lockup {
    display: flex;
    align-items: flex-end;
    gap: 1rem
}

.mini-edition {
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    padding: .7rem 1rem;
    line-height: .9
}

.hero-lockup h1, .footer-brand {
    /*font-family: "Archivo Black";*/
    font-size: clamp(4rem,13vw,9rem);
    line-height: .75;
    letter-spacing: .12em;
    margin: 0
}

.eyebrow-large {
    font-size: 1.3rem;
    font-weight: 800;
    margin: .7rem 0 1.5rem
}

.date-display {
    /*font-size: clamp(2.7rem,9vw,6rem);*/
    color: var(--blue);
    line-height: .9;
    font-size: 3rem;
    font-weight: 800;
    margin: 0
}

.location {
    font-size: 1.2rem;
    font-weight: 600;
    margin: .6rem 0 2rem
}

.hero-actions {
    display: grid;
    gap: .75rem;
    /*max-width: 760px*/
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 0;
    text-decoration: none;
    padding: .9rem 1.2rem;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--blue);
    color: #fff
}

.btn-green {
    background: var(--green);
    color: #111
}

.btn-paper {
    background: var(--paper);
    color: var(--blue);
}

.btn span {
    font-size: 2.5rem
}

.kicker {
    /*font-size: .78rem;*/
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .08em
}

.kicker:before {
    content: "";
    display: inline-block;
   /* width: 34px;
    height: 4px;*/
    width: 40px;
    height: 7px;
    background: var(--blue);
    vertical-align: middle;
    margin-right: .75rem
}

.kicker.light:before {
    background: var(--green)
}

h2 {
    /*font-family: "Archivo Black";*/
    /*font-size: clamp(2.6rem,7vw,6.5rem);*/
    font-size: 3.65rem;
    line-height: .92;
    margin: 1rem 0 1.4rem;
    letter-spacing: -.03em
}

.intro-copy, .lead {
    /*max-width: 850px;*/
    font-size: clamp(1rem,1.5vw,1.25rem);
    line-height: 1.45
}

.pillars {
    margin-top: 3rem;
    border: 1px solid var(--green)
}

    .pillars article {
        padding: 1.4rem 2rem;
        position: relative;
        background: #fff;
        border-bottom: 1px solid var(--green)
    }

        .pillars article:last-child {
            border: 0
        }

    .pillars span, .facts small {
        font-size: 0.9rem;
        font-weight: 800
    }

    .pillars h3 {
        margin: .35rem 0 0;
        font-size: 1.35rem
    }

    .pillars p {
        margin: .2rem 3rem .2rem 0
    }

    .pillars b {
        position: absolute;
        right: 1.5rem;
        top: 10%;
        font-size: 2.5rem
    }

    .pillars .blue {
        background: var(--blue);
        color: white
    }

    .pillars .green {
        background: var(--green)
    }

.info {
    background: var(--gray)
}

.info-card {
   /* max-width: 1050px;
    margin: 2.5rem auto 0*/
}

.date-card {
    background: var(--blue);
    color: #fff;
    padding: 2rem
}

    .date-card strong {
        /*font-family: "Archivo Black";*/
        /*font-size: clamp(3.5rem,10vw,7.5rem);*/
        font-size: 3rem;
        font-weight:800;
        line-height: .75;
        display: block;
    }

    .date-card span {
        display: block;
        margin-top: 1.5rem
    }

.facts {
    background: #fff;
    border: 1px solid var(--green)
}

    .facts article {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 1rem;
        padding: 1rem 1.2rem;
        border-bottom: 1px solid var(--green)
    }

        .facts article:last-child {
            border: 0
        }

        .facts article > b {
            /*font-family: "Archivo Black";*/
            font-size: 1.5rem;
            border: 2px solid #222;
            height: 38px;
            text-align: center
        }

    .facts h3 {
        margin: .1rem 0;
        font-size: 1.25rem
    }

    .facts p {
        margin: 0
    }

.signup {
    background: var(--blue);
    color: white;
    position: relative;
    overflow: hidden
}

.signup h3 {
    font-weight: 800;
}

.signup p{
    font-size: 1.1rem;
    margin: 0px;
}

.chevron {
    position: absolute;
    right: 0%;
    top: 0px;
    /*width: 200px;
    height: 120px;*/
    width: 180px;
    height: 108px;
    background: var(--green);
    clip-path: polygon(0 0,50% 50%,100% 0,100% 40%,50% 90%,0 40%)
}

.lead.light {
    color: #fff
}

form {
    background: white;
    color: #111;
    padding: clamp(1.2rem,3vw,2rem);
    max-width: 1050px;
    margin: 2rem auto 0;
    /*border-right: 12px solid var(--green);
    border-bottom: 12px solid var(--green)*/
    box-shadow: 12px 12px 0px 0px var(--green);
}

    form h3 {
        margin: 0;
        font-size: 1.6rem
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0
}

label {
    font-weight: 700;
    font-size: .9rem
}

input, select, textarea {
    display: block;
    width: 100%;
    border: 1px solid #777;
    background: #fff;
    padding: .75rem;
    margin-top: .35rem;
    border-radius: 0
}

textarea {
    resize: vertical
}

.check {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-weight: 400;
    margin: .75rem 0
}

    .check input {
        width: auto;
        margin: .2rem 0
    }

.form-status {
    font-weight: 700;
}

    .form-status.success {
        color: #087b36
    }

    .form-status.error {
        color: #b00020
    }

.past .lead {
    max-width: 900px
}

.video-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem
}

.video-card {
    position: relative;
    min-height: 280px;
    border: 0;
    text-align: left;
    cursor: pointer;
    padding: 2rem;
    /*overflow: hidden*/
}

.blue-card {
    background-color: var(--blue);
    color: var(--green);
    background-image: linear-gradient(#ffffff30 1px,transparent 1px),linear-gradient(90deg,#ffffff30 1px,transparent 1px);
    background-size: 70px 70px
}

.green-card {
    background-color: var(--green);
    color: var(--blue);
    background-image: linear-gradient(#ffffff55 1px,transparent 1px),linear-gradient(90deg,#ffffff55 1px,transparent 1px);
    background-size: 70px 70px
}

.video-card {
    margin-bottom: 2rem;
}
.video-card .play {
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%,-50%);
    background: #fff;
    color: var(--blue);
    font-size: 2rem;
    padding: 1rem 1.35rem
}

.video-card strong {
    /*font-family: "Archivo Black";*/
    font-size: clamp(3rem,8vw,6rem);
    position: absolute;
    left: 2rem;
    bottom: 2.8rem
}

.video-card small {
    position: absolute;
    left: 0;
    bottom: -2.6rem;
    color: #111;
    font-weight: 800
}

.video-card .category {
    font-weight: 800
}
.video-card .subtitle {
    font-weight: 600
}

.video-card i {
    font-size: 4rem;
    position: absolute;
    left: 2rem;
    bottom: 2.5rem
}

.entities {
    padding-top: 1rem
}

.entity-box {
    border: 1px solid var(--green);
    min-height: 430px;
    padding: clamp(1.5rem,5vw,4rem);
    /*max-width: 1050px;*/
    margin: auto
}

.entity-box h2 {/*
    */font-size: clamp(2.5rem,6vw,5rem);
    font-size: 3.65rem;
}

.entity-box p {
    font-size: 1.1rem;
    margin: 0px;
}

footer {
    background: #191919;
    color: white;
    padding: 3rem var(--pad)
}

.footer-brand {
    /*font-size: clamp(3rem,8vw,6rem)*/
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

    .footer-brand span {
        display: inline-block;
        background: white;
        color: #191919;
        padding: .05em .12em;
        margin: 0 .1em
    }

    .footer-brand em {
        font: 800 .35em Inter;
        color: var(--green);
        letter-spacing: 0
    }

.footer-grid {
    border-top: 1px solid #2f7f4b;
    margin-top: 2rem;
    padding-top: 2rem;
    display: grid;
    gap: 2rem
}

    .footer-grid div {
        display: flex;
        flex-direction: column;
        gap: .25rem
    }

    .footer-grid b {
        color: var(--green);
        /*font-size: .75rem*/
        font-size: 1.1rem;
    }

    .footer-grid a, .footer-grid button {
        color: white;
        background: none;
        border: 0;
        padding: 0;
        text-align: left;
        font: inherit;
        font-size: .95rem
    }

.cookie-banner {
    position: fixed;
    z-index: 30;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 2px solid var(--green);
    box-shadow: 0 8px 30px #0004;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

    .cookie-banner button {
        border: 0;
        padding: .7rem 1rem;
        font-weight: 700
    }

        .cookie-banner button:last-child {
            background: var(--green)
        }

dialog {
    border: 0;
    padding: 0;
    max-width: 600px;
    width: 90%;
    background: var(--blue);
    color: white
}

    dialog::backdrop {
        background: #000b
    }

.dialog-close {
    position: absolute;
    right: .6rem;
    top: .4rem;
    background: transparent;
    border: 0;
    color: white;
    font-size: 2rem
}

.dialog-content {
    padding: 5rem 2rem;
    text-align: center
}

    .dialog-content .play {
        display: inline-block;
        background: white;
        color: var(--blue);
        font-size: 2rem;
        padding: 1rem 1.3rem
    }

@media(min-width:760px) {
    .main-nav {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 1.4rem;
        padding: 0;
        box-shadow: none
    }

        .main-nav a {
            border: 0;
            padding: 0;
            /*font-size: .85rem*/
        }

    .menu-button {
        display: none
    }

    .hero-image {
        min-height: 660px
    }

    .pillars {
        /*max-width: 1100px;*/
        margin-left: auto;
        margin-right: auto
    }

    .info-card {
        display: grid;
        grid-template-columns: .95fr 1.05fr
    }

    .facts article {
        min-height: 104px
    }

    .form-grid {
        grid-template-columns: 1fr 1fr
    }

        .form-grid .full {
            grid-column: 1/-1
        }

    .video-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr
    }
}

/*@media(min-width:1100px) {
    .section-pad {
        padding-left: max(var(--pad),calc((100vw - 1280px)/2));
        padding-right: max(var(--pad),calc((100vw - 1280px)/2))
    }

    .hero-image {
        max-width: 1600px;
        margin: auto;
        background-position: center 25%
    }
}*/

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}



/******* FOTOS *****************************************/
/* Contenedor principal que maneja la cuadrícula */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* Por defecto: 1 columna en móvil */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estructura de cada tarjeta */
.card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Contenedor de la imagen */
.card-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.card-video-container {
    position: relative;
    padding-bottom: 56.25%; /* Truco CSS para mantener formato panorámico */
    height: 0;
}

    .card-video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.card-media-image {
    position: relative;
    padding-bottom: 56.25%; /* Misma proporción 16:9 que el video */
    height: 0;
}

    .card-media-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ajusta la foto al espacio sin deformarla */
        object-position: center; /* Centra la imagen en el recorte */
        display: block;
    }

/* Bloque de texto inferior */
.card-info {
    padding-top: 12px;
}

.card-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 2px;
}

.card-title {
    font-size: 13px;
    font-weight: 400;
    color: #333333;
}



/******* Logos Entidades **************************/
/* Lista horizontal de logos */
.lista-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Menor espacio en móvil para evitar saltos bruscos */
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-logos li {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logos optimizados para pantallas pequeñas */
.lista-logos img {
    max-width: 100px; /* Tamaño inicial más pequeño */
    height: auto;
    object-fit: contain;
    /*filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;*/
}

/* En dispositivos táctiles, el hover no siempre aplica, 
    pero lo dejamos para cuando se detecte un puntero */
/*.lista-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}*/
