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

body {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #000;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    text-align: center;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-top: 5vh;
}

.outline {
    color: transparent;
    -webkit-text-stroke: 1px #000;
    font-style: italic;
}

/* Ticker Section - AJUSTADA */
.ticker-container {
    background-color: #ffffff;
    /* Fondo blanco */
    padding: 25px 0;
    /* Un poco más estrecho */
    width: 100vw;
    overflow: hidden;
    position: relative;

    /* Rayas negras arriba y abajo */
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    z-index: 10;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    gap: 100px;
    /* Más espacio entre frases para que se lea mejor lento */
}

.ticker-content span {
    /* Letra más pequeña */
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

/* --- NAVEGACIÓN --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    /* ajusta el 0.1 */
    backdrop-filter: blur(10px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: 0.3s;
}

nav a:hover {
    opacity: 1;
}

/* --- GALERÍA ACTUALIZADA --- */
.gallery {
    padding: 100px 0%;
    background-color: #fff;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
    padding: 0 5% 80px 5%;
    /* 👈 igual que image-grid */

}

.image-wrapper {
    position: relative;
    width: 100%;
    /* PROPORCIÓN RECTANGULAR: 16:9 es el estándar horizontal */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* --- BLOQUE DE TEXTO --- */
.text-content {
    margin-top: 20px;
    overflow: hidden;
    /* Para que la descripción parezca salir de la nada */
}

.title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;

    /* ESTADO INICIAL OCULTO */
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease-in-out;
}

/* --- EFECTOS HOVER --- */
.gallery-item:hover .description {
    /* ESTADO ACTIVO */
    max-height: 100px;
    /* Suficiente para el texto */
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Línea sutil que aparece al hacer hover (opcional) */
.gallery-item:hover .title {
    color: #000;
}

.image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Esto hace que el video llene el rectángulo 16:9 */
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Para que el efecto de zoom también funcione con el video */
.gallery-item:hover video {
    transform: scale(1.05);
}

/* --- FOOTER GENERAL --- */
.site-footer {
    background-color: #ffffff;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

/* --- SECCIÓN DUAL (DENTRO DEL FOOTER) --- */
.footer-cta-container {
    padding-bottom: 30px;
}

.dual-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.dual-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dual-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
}

.dual-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444;
    max-width: 380px;
}

.dual-button {
    display: inline-block;
    padding: 14px 35px;
    border: 1.5px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    /* Tus bordes redondeados */
    transition: all 0.3s ease;
    cursor: pointer; /* <--- AÑADE ESTA LÍNEA */
}

.dual-button:hover {
    background-color: #000;
    color: #fff;
}

/* --- BARRA INFERIOR (CRÉDITOS) --- */
.footer-bottom-bar {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a,
.copyright {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    color: #000;
    opacity: 0.5;
    /* Color grisáceo igual para todos */
    transition: opacity 0.3s ease;
}

.footer-col a {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-col.social {
    align-items: flex-end;
}

/* Responsive */
@media (max-width: 768px) {

    .dual-container,
    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .footer-col.social {
        align-items: center;
    }
}

.footer-left,
.footer-right {
    display: flex;
    gap: 30px;
    /* Espacio entre cada opción dentro de su bloque */
}

/* Botones Navegación */
.prev-btn,
.next-btn {
    background: none;
    border: 1px solid #000;
    font-size: 20px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: #000;
    color: #fff;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 40px;
    cursor: pointer;
    font-weight: 300;
}

/* Cursor de lupa sobre las imágenes de la galería */
.gallery-item {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    opacity: 0.9;
    /* Un cambio sutil de brillo ayuda a identificar que es clickable */
}

.hubspot-item .image-wrapper img {
    object-position: center 25%;
}

@media (max-width: 768px) {

    /* ================= NAV ================= */

    nav {
        padding: 15px 20px;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }


    /* ================= HERO ================= */

    .hero {
        height: auto;
        padding: 120px 6% 60px 6%;
    }

    h1 {
        font-size: 1.8rem;
        margin-top: 0;
    }


    /* ================= TICKER ================= */

    .ticker-content span {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .ticker-content {
        gap: 50px;
    }


    /* ================= GALERÍA ================= */

    .grid-container {
        grid-template-columns: 1fr;
        /* 👈 una sola columna */
        gap: 60px;
        padding: 0 6% 60px 6%;
    }

    .image-wrapper {
        aspect-ratio: 4 / 5;
        /* ligeramente más vertical en móvil */
    }

    .title {
        font-size: 0.8rem;
    }


    /* ================= FOOTER ================= */

    .dual-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

}
.subscribe-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
}

.subscribe-panel.active {
    max-height: 300px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.subscribe-row {
    display: flex;
    gap: 10px;
}

.subscribe-row input {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid #000;
    font-family: 'Inter', sans-serif;
}

.subscribe-row button {
    padding: 12px 20px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.subscribe-check {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #444;
}