/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================================================== */
:root {
    /* Colores principales */
    --primary-color: black;
    --secondary-color: #4a4a4a;
    --accent-color: #0056b3;
    --accent-light: #4d94ff;
    --light-color: #f8f9fa;
    --border-color: #e0e0e0;
    --text-light: #6c757d;
    --white: #ffffff;
    
    /* Variables adicionales para eventos */
    --primary: #9ecae3;
    --text: #1f2933;
    --bg: #fff;
    --border: #e0e0e0;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0056b3, #003d82);
    --gradient-secondary: linear-gradient(135deg, #4d94ff, #1a75ff);
    
    /* Sombras */
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Tipografía */
    --font-primary: 'Inter', 'Segoe UI', sans-serif;
    
    /* Espaciados consistentes */
    --section-padding: 8rem 0;
    --card-padding: 2.5rem;
    --card-gap: 2.5rem;
    --title-margin-bottom: 6rem;
}

/* ==========================================================================
   RESET Y CONFIGURACIÓN BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: var(--font-primary);
    scroll-behavior: smooth;
}

body {
    color: var(--primary-color);
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   CONTENEDORES Y ESTRUCTURA
   ========================================================================== */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   NAVBAR ESTILOS (DE HOME)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1250px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    padding: 14px 26px;
    gap: 24px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--primary-color);
    white-space: nowrap;
}

/* DESKTOP MENU */
.menu-desktop {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    flex: 1;
}

.menu-desktop a {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    color: black;
    transition: color .2s ease;
}

.menu-desktop a:hover {
    color: var(--accent-light);
}

.menu-desktop .active {
    color: var(--accent-light);
    position: relative;
}

.menu-desktop .active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-light);
}

/* DESKTOP DROPDOWN (EDUCACIÓN CONTINUA) */
.desktop-dropdown {
    position: relative;
}

.desktop-dropdown > a::after {
    content: "▾";
    font-size: .1rem;
    margin-left: 6px;
    opacity: .6;
}

.desktop-dropdown .dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    overflow: hidden;
    z-index: 1000;
}

.desktop-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown a {
    display: block;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: background .2s ease;
}

.dropdown a:hover {
    background: #f1f5f9;
}

/* DESKTOP ACTIONS */

.btn-outline {
    padding: 8px 18px;
    background: #ffffff;
    border: 1.5px solid #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    color: #000;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}


.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline:active {
    background: #9ecae3;
    color: #000;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-outline:focus {
    outline: none;
}

.btn-primary {
    padding: 8px 18px;
    background: #9ecae3;
    border: 1.5px solid #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    transition: box-shadow 0.25s ease, transform 0.15s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
    background: white;
    filter: brightness(0.95);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 6px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-primary:focus {
    outline: none;
}

/* MOBILE MENU BUTTON */
.menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .4s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* MOBILE HEADER */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border-color);
}

.close-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* MOBILE LINKS */
.mobile-links {
    list-style: none;
    padding: 24px;
    flex: 1;
}

.mobile-links li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-links a,
.accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    background: white;
    border: none;
    cursor: pointer;
}

/* ACORDEÓN MOBILE */
.accordion-content {
    display: none;
    padding-left: 12px;
}

.accordion-content a {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.accordion.active .accordion-content {
    display: block;
}

.plus {
    font-size: 1.4rem;
    transition: transform .3s ease;
}

.accordion.active .plus {
    transform: rotate(45deg);
}

/* MOBILE ACTIONS */
.mobile-actions {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1050;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* =========================
   TABLET & MOBILE (≤1024px)
========================= */
@media (max-width: 1024px) {

  /* Oculta desktop */
  .menu-desktop,
  .actions-desktop {
    display: none;
  }

  /* Muestra botón hamburguesa */
  .menu-btn {
    display: block;
    margin-left: auto;
  }

  /* Navbar más flexible */
  .navbar {
    width: calc(100% - 32px);
    top: 12px;
  }

  .navbar-inner {
    padding: 12px 18px;
  }
}


/* =========================
   MOBILE (≤768px)
========================= */
@media (max-width: 768px) {

  /* Logo */
  .logo-text {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 32px;
  }

  /* Navbar */
  .navbar {
    border-radius: 16px;
  }

  /* Mobile menu spacing */
  .mobile-links {
    padding: 200px;
  }

  .mobile-links a,
  .accordion-btn {
    font-size: 1.05rem;
    padding: 16px 0;
  }

  .accordion-content a {
    font-size: 0.95rem;
  }

  /* Botones mobile */
  .mobile-actions a {
    font-size: 1rem;
    padding: 12px;
    text-align: center;
  }
}


/* =========================
   SMALL MOBILE (≤480px)
========================= */
@media (max-width: 480px) {

  /* Logo aún más compacto */
  .logo-text {
    font-size: 1.05rem;
  }

  .logo-img {
    height: 28px;
  }

  /* Navbar */
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  /* Mobile menu */
  .mobile-header {
    padding: 18px;
  }

  .mobile-links {
    padding: 16px;
  }

  .mobile-links a,
  .accordion-btn {
    font-size: 0.95rem;
  }

  .mobile-actions {
    padding: 16px;
    gap: 12px;
  }

  .mobile-actions a {
    font-size: 0.95rem;
  }
}






/* ==========================================================================
   HERO SECTION – EVENTOS
========================================================================== */
.hero-with-image {
    position: relative;
    height: 88.2vh;
    min-height: 700px;
    overflow: hidden;
}

/* Fondo */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contenedor */
.hero-with-image .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 2rem; /* ← Añadido para mover todo a la izquierda */
}

/* Contenido principal - MODIFICADO */
.hero-content {
    max-width: 800px;
    color: #fff;
    padding: 4rem 0;
    transform: translate(0);
    margin-top: -60px;
    margin-left: -8.9rem; /* ← Añadido para compensar y mover más a la izquierda */
    animation: fadeInUp 1s ease 0.2s forwards;
}

/* Título */
.hero-content h1 {
    font-size: 6.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding-left: 0; /* ← Asegura que no haya padding interno */
}

/* Texto */
.hero-content p {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    padding-left: 0; /* ← Asegura que no haya padding interno */
}

/* Botones */
.hero-with-image .hero-buttons {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 1s ease 1s both;
}

.hero-with-image .btn-primary {
    background: #8bc3de;
    color: #000;
    padding: 1.5rem 3.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.hero-with-image .btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-with-image .btn-outline-white {
    background: transparent;
    color: #fff;
    padding: 1.5rem 3.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.hero-with-image .btn-outline-white:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================================================================
   RESPONSIVE – LAPTOP / TABLET
================================================================== */
@media (max-width: 1024px) {
    .hero-with-image {
        height: 75vh;
        min-height: 620px;
    }

    .hero-with-image .container {
        padding-left: 3rem; /* ← Añadido: mueve contenido a la derecha */
    }

    .hero-content {
        margin-left: 0; /* ← Restablece el margen negativo del desktop */
        padding-right: 2rem; /* ← Añade espacio a la derecha */
    }

    .hero-with-image .hero-content h1 {
        font-size: 4rem;
        text-align: left; /* ← Asegura alineación izquierda */
    }

    .hero-with-image .hero-content p {
        font-size: 2rem;
        text-align: left; /* ← Asegura alineación izquierda */
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL
================================================================== */
@media (max-width: 768px) {
    .hero-with-image {
        height: auto;
        min-height: 0;
        padding: 6rem 0 4rem;
    }

    .hero-with-image .container {
        align-items: flex-start;
        padding-left: 2.5rem; /* ← Mueve contenido a la derecha en móvil */
    }

    .hero-content {
        margin-left: 0; /* ← Elimina compensación del desktop */
        padding-right: 1.5rem; /* ← Espacio derecho */
        width: 100%; /* ← Asegura que ocupe ancho completo */
    }

    .hero-with-image .hero-content h1 {
        font-size: 2.6rem;
        line-height: 1.15;
        text-align: left; /* ← Asegura alineación izquierda */
        margin-right: 0; /* ← Limpia márgenes anteriores */
    }

    .hero-with-image .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        text-align: left; /* ← Asegura alineación izquierda */
    }

    .hero-with-image .hero-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
        justify-content: flex-start; /* ← Alinea botones a la izquierda */
    }

    .hero-with-image .btn-primary,
    .hero-with-image .btn-outline-white {
        width: auto;
        padding: 1.1rem 1.8rem;
        font-size: 1.2rem;
        white-space: nowrap;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL PEQUEÑO
================================================================== */
@media (max-width: 480px) {
    .hero-with-image {
        padding: 10rem 0 4rem; /* ← Corregido: faltaba el 4 en 4rem */
        margin-top: 0; /* ← Añadido 0 para limpiar */
    }

    .hero-with-image .container {
        padding-left: 2rem; /* ← Mantiene desplazamiento derecho */
    }

    .hero-with-image .hero-content h1 {
        margin-top: 50px;
        padding: 0;
        text-align: left;
        margin-right: 0; /* ← Elimina margen derecho anterior */
        padding-right: 1rem; /* ← Añade espacio derecho */
    }

    .hero-with-image .hero-content p {
        font-size: 1rem;
        text-align: left;
        padding-right: 1rem; /* ← Espacio derecho para texto */
    }

    /* 👇 BOTONES SIEMPRE LADO A LADO */
    .hero-with-image .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.8rem;
        flex-wrap: nowrap;
        margin-top: -10px;
        justify-content: flex-start; /* ← Alinea botones a la izquierda */
        padding-right: 1rem; /* ← Espacio derecho para botones */
    }

    .hero-with-image .btn-primary,
    .hero-with-image .btn-outline-white {
        width: auto;
        min-width: unset;
        padding: 0.9rem 1.4rem;
        font-size: .9rem;
        white-space: nowrap;
    }
}


/* ==========================================================================
   NUEVOS EVENTOS – MISMO TAMAÑO QUE NUEVOS EPISODIOS (CON FONDO EN HTML)
   ========================================================================== */

/* ==========================================================================
   EVENTOS PASADOS – FONDO CONTROLADO COMO WEBINAR
   ========================================================================== */

.new-episodes.eventos-section{
    position: relative;
    padding: 8rem 0 !important;
    overflow: hidden !important;
}

/* Contenedor del fondo */
.eventos-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Imagen controlada exactamente como webinar */
.eventos-bg-image{
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 🔥 clave */
    object-position: center;
}


/* Contenido encima */
.new-episodes.eventos-section .container{
    position: relative;
    z-index: 2;
}

/* TÍTULOS */
.new-episodes-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-align: center;
    color: rgb(0, 0, 0); /* antes black */
}

.new-episodes-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85); /* antes var(--text) */
    margin-bottom: 5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* GRID */
.new-episodes-grid.eventos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* CARD */
.new-episode-card.evento-card {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.new-episode-card.evento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* IMAGEN */
.new-episode-image.evento-image {
    position: relative;
    height: 200px; /* 🔥 IGUAL QUE EPISODIOS */
    overflow: hidden;
}

.new-episode-image.evento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.new-episode-card.evento-card:hover 
.new-episode-image.evento-image img {
    transform: scale(1.05);
}

/* CATEGORÍA */
.new-episode-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--text);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* FECHA */
.evento-fecha {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg);
    color: var(--text);
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.fecha-dia {
    font-size: 2rem;
    line-height: 1;
}

.fecha-mes {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BADGE */
.new-episode-badge {
    display: inline-block;
    margin: 1.5rem 0 0.5rem 0; /* 🔥 sin margen izquierdo */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    background: var(--text);
    color: var(--bg);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
}


/* CONTENIDO */
.new-episode-content.evento-content {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TÍTULO */
.new-episode-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text);
    flex: 1;
}

/* META */
.new-episode-meta {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* ESTADO */
.evento-estado {
    margin-top: auto; /* 🔥 CLAVE para mismo alto */
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estado-badge {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid black;
}

.estado-badge.abierto {
    background: var(--primary);
    color: black;
}

.estado-badge.cerrado {
    background: var(--white);
    color: black;
}

/* FOOTER */
.new-episodes-footer {
    margin-top: 4rem;
    text-align: center;
}

.new-episodes-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: black;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid black;
}

.new-episodes-btn:hover {
    background: transparent;
    color: white; /* para que se lea sobre fondo oscuro */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==================================================================
   RESPONSIVE – DESKTOP MEDIANO
================================================================== */
@media (max-width: 1200px) {

    .new-episodes-grid.eventos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================================================================
   RESPONSIVE – LAPTOP
================================================================== */
@media (max-width: 992px) {

    .new-episodes-grid.eventos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ==================================================================
   RESPONSIVE – TABLET / MÓVIL
================================================================== */
@media (max-width: 768px) {

    .new-episodes.eventos-section {
        padding: 6rem 0 !important;
    }

    .new-episodes-title {
        font-size: 2.8rem;
    }

    .new-episodes-subtitle {
        font-size: 1.6rem;
        margin-bottom: 4rem;
        padding: 0 1rem;
    }

    .new-episode-title {
        font-size: 1.3rem;
        min-height: 70px;
    }

    .evento-fecha {
        width: 50px;
        height: 50px;
    }

    .fecha-dia {
        font-size: 1.6rem;
    }

    .fecha-mes {
        font-size: 1rem;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL
================================================================== */
@media (max-width: 576px) {

    .new-episodes-grid.eventos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .new-episodes-title {
        font-size: 2.4rem;
    }

    .new-episodes-subtitle {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }

    .new-episode-image.evento-image {
        height: 180px;
    }

    .new-episode-title {
        font-size: 1.2rem;
        min-height: 60px;
    }

    .new-episode-meta {
        font-size: 1rem;
    }

    .estado-badge {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL PEQUEÑO
================================================================== */
@media (max-width: 400px) {

    .new-episodes-title {
        font-size: 2rem;
    }
}


/* ==========================================================================
   EVENTO DESTACADO 
   ========================================================================== */
.featured-event {
    position: relative;
    padding: 10rem 0 5rem 0; /* Reducido padding superior para subir */
    margin: -3rem 0 0 0; /* Margen negativo para subir más */
    overflow: hidden;
}

.featured-event-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-event-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    z-index: 2;
}

.featured-event-header {
    text-align: center;
    margin-bottom: 3rem; /* Reducido */
}

.featured-event-title {
    font-size: 4rem;
    font-weight: 900;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.featured-event-subtitle {
    font-size: 1.8rem;
    color: black;
    max-width: 600px;
    margin: 0 auto;
}

/* CARRUSEL */
.featured-event-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botones arriba como en podcast */
.carousel-nav-top {
    position: absolute;
    top: -60px; /* Reducido para subir más */
    right: 0;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.carousel-nav {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--border);
    color: black;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.featured-event-carousel-container {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.featured-event-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TARJETA DE EVENTO - ESTILO PODCAST */
.featured-event-card {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    height: 600px; /* Ligeramente reducido */
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-event-card.active {
    opacity: 1;
}

.featured-event-image-container {
    position: absolute;
    inset: 0;
}

.featured-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradiente sobre la imagen como en podcast */
.featured-event-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.9));
    z-index: 1;
}

/* Etiqueta superior centrada */
.featured-event-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Fecha grande */
.featured-event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 100px;
    z-index: 2;
}

.date-day {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin: 5px 0;
}

.date-year {
    font-size: 1.4rem;
    color: #666;
    font-weight: 500;
}

/* INFORMACIÓN DEL EVENTO SOBRE LA IMAGEN */
.featured-event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem; /* Reducido de 3rem */
    color: white;
    z-index: 2;
    text-align: center;
}


.event-title {
    font-size: 3.2rem; /* Reducido ligeramente */
    color: #fff;
    margin-bottom: 1.5rem; /* Reducido */
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem; /* Reducido */
    margin-bottom: 1.5rem; /* Reducido */
    padding-bottom: 1.5rem; /* Reducido */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.event-type {
    font-size: 1.6rem;
    padding: 8px 20px;
    border-radius: 25px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

.event-location,
.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.event-location i,
.event-time i {
    color: var(--white);
}

.event-description {
    font-size: 1.6rem; /* Reducido ligeramente */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem; /* Reducido */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ACCIONES DEL EVENTO */
.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem; /* Reducido */
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-event-register {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-event-register:hover {
    background: var(--white);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.event-status {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
}

.status-badge.available {
    background: rgba(46, 125, 50, 0.2);
    color: #81c784;
    border: 1px solid rgba(129, 199, 132, 0.3);
}

.status-badge.limited {
    background: rgba(245, 124, 0, 0.2);
    color: #ffb74d;
    border: 1px solid rgba(255, 183, 77, 0.3);
}

.status-badge i {
    font-size: 1.6rem;
}

.price-tag {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.price-tag.free {
    color: #81c784;
}

/* INDICADORES */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem; /* Reducido */
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgb(133, 133, 133);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: black;
    transform: scale(1.3);
}
/* ==================================================================
   RESPONSIVE – LAPTOP
================================================================== */
@media (max-width: 992px) {

    .featured-event-card {
        height: 550px;
    }

    .featured-event-title {
        font-size: 3.2rem;
    }

    .event-title {
        font-size: 2.8rem;
    }

    .featured-event-footer {
        margin-top: 2rem;
    }
}

/* ==================================================================
   RESPONSIVE – TABLET
================================================================== */
@media (max-width: 768px) {

    .featured-event {
        padding: 8rem 0 4rem;
    }

    .featured-event-title {
        font-size: 2.8rem;
    }

    .featured-event-subtitle {
        font-size: 1.6rem;
        padding: 0 2rem;
    }

    .featured-event-card {
        height: 500px;
    }

    .carousel-nav-top {
        top: -50px;
    }

    .featured-event-tag {
        font-size: 1.4rem;
        padding: 6px 16px;
    }

    .featured-event-date {
        min-width: 80px;
        padding: 12px;
    }

    .date-day {
        font-size: 2.6rem;
    }

    .date-month {
        font-size: 1.5rem;
    }

    .event-title {
        font-size: 2.4rem;
    }

    .event-details {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .event-type,
    .event-location,
    .event-time {
        font-size: 1.4rem;
    }

    .event-description {
        font-size: 1.4rem;
    }

    .event-actions {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .btn-event-register {
        width: 100%;
        justify-content: center;
    }

    .event-status {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL
================================================================== */
@media (max-width: 576px) {

    .featured-event {
        padding: 6rem 0 3rem;
    }

    .featured-event-title {
        font-size: 2.4rem;
        padding: 0 1rem;
    }

    .featured-event-subtitle {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .featured-event-card {
        height: 450px;
    }

    .carousel-nav-top {
        top: -40px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }

    .featured-event-tag {
        font-size: 1.2rem;
        padding: 5px 12px;
    }

    .featured-event-date {
        top: 15px;
        right: 15px;
        min-width: 70px;
        padding: 10px;
    }

    .date-day {
        font-size: 2.2rem;
    }

    .date-month {
        font-size: 1.3rem;
    }

    .featured-event-info {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .event-details {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .event-type,
    .event-location,
    .event-time {
        font-size: 1.2rem;
    }

    .event-description {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .btn-event-register {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    .price-tag {
        font-size: 2.2rem;
    }

    .carousel-indicators {
        margin-top: 2rem;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL PEQUEÑO
================================================================== */
@media (max-width: 400px) {

    .featured-event-title {
        font-size: 2rem;
    }

    .featured-event-card {
        height: 400px;
    }

    .event-title {
        font-size: 1.8rem;
    }

    .btn-event-register {
        font-size: 1.3rem;
    }
}



/* FOOTER */
.featured-event-footer {
    text-align: center;
    margin-top: 3rem; /* Reducido */
    padding-top: 2rem; /* Reducido */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-event-footer p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
}

.featured-event-footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.featured-event-footer a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   PRÓXIMO WEBINAR
   ========================================================================== */

.featured-webinar{
  position: relative;
  padding: 10rem 0 5rem;
  margin: -3rem 0 0 0;
  overflow: hidden;
}

/* Fondo */

.featured-webinar-bg{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.featured-webinar-bg-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-webinar-overlay{
  position: absolute;
  inset: 0;
}

/* Header */

.featured-webinar-header{
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.featured-webinar-title{
  font-size: 4rem;
  font-weight: 900;
  color: black;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   TARJETA
   ========================================================================== */

.featured-webinar-card{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 600px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,.4);
  z-index: 2;
}

/* Imagen */

.featured-webinar-image-container{
  position: absolute;
  inset: 0;
}

.featured-webinar-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradiente oscuro inferior */

.featured-webinar-image-container::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,0,0,.9)
  );
  z-index: 1;
}

/* ==========================================================================
   TAG SUPERIOR
   ========================================================================== */

.featured-webinar-tag{
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  border: 2px solid rgba(255,255,255,.2);
}

/* ==========================================================================
   FECHA
   ========================================================================== */

.featured-webinar-date{
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  min-width: 100px;
  z-index: 2;
}

.featured-webinar-date .date-day{
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.featured-webinar-date .date-month{
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  margin: 5px 0;
}

.featured-webinar-date .date-year{
  font-size: 1.3rem;
  color: #666;
  font-weight: 500;
}

/* ==========================================================================
   INFO INFERIOR
   ========================================================================== */

.featured-webinar-info{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  color: white;
  z-index: 2;
  text-align: center;
}

/* Título */

.featured-webinar-info .event-title{
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

/* Detalles */

.featured-webinar-info .event-details{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255,255,255,.2);
}

.featured-webinar-info .event-type,
.featured-webinar-info .event-location,
.featured-webinar-info .event-time{
  font-size: 1.5rem;
  color: rgba(255,255,255,.9);
}

/* Descripción */

.featured-webinar-info .event-description{
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.9);
}

/* Acciones */

.featured-webinar-info .event-actions{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid rgba(255,255,255,.2);
  padding-top: 1.5rem;
}

.featured-webinar-info .btn-event-register{
  background: var(--primary-color);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.featured-webinar-info .btn-event-register:hover{
  background: white;
  color: black;
  transform: translateY(-3px);
}

.featured-webinar-info .price-tag{
  font-size: 2.4rem;
  font-weight: 900;
  color: #81c784;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* =========================
   TABLETS GRANDES
   ========================= */
@media (max-width: 992px){

  .featured-webinar-card{
    height: 520px;
  }

  .featured-webinar-title{
    font-size: 3rem;
    text-align: center;
  }

  .featured-webinar-info .event-title{
    font-size: 2.4rem;
  }

}

/* =========================
   TABLETS
   ========================= */
@media (max-width: 768px){

  .featured-webinar{
    padding: 7rem 0 4rem;
  }

  .featured-webinar-title{
    font-size: 2.6rem;
    text-align: center;
  }

  .featured-webinar-card{
    height: auto;
    min-height: 480px;
  }

  .featured-webinar-tag{
    font-size: 1.3rem;
    padding: 6px 14px;
  }

  .featured-webinar-date{
    min-width: 75px;
    padding: 10px;
  }

  .featured-webinar-date .date-day{
    font-size: 2.3rem;
  }

  .featured-webinar-info{
    padding: 1.8rem;
  }

  .featured-webinar-info .event-title{
    font-size: 2.2rem;
  }

  .featured-webinar-info .event-description{
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .featured-webinar-info .event-details{
    flex-direction: column;
    gap: 1rem;
  }

  .featured-webinar-info .event-actions{
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .featured-webinar-info .btn-event-register{
    width: 100%;
    text-align: center;
  }

}

/* =========================
   MÓVILES
   ========================= */
@media (max-width: 576px){

  .featured-webinar{
    padding: 5rem 0 3rem;
  }

  .featured-webinar-title{
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .featured-webinar-card{
    height: auto;
    min-height: 430px;
  }

  .featured-webinar-info{
    padding: 1.5rem;
  }

  .featured-webinar-info .event-title{
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .featured-webinar-info .event-description{
    font-size: 1.25rem;
  }

  .featured-webinar-info .btn-event-register{
    padding: 1rem 2rem;
    font-size: 1.35rem;
    width: 100%;
  }

  .featured-webinar-info .price-tag{
    font-size: 1.9rem;
  }

}

/* =========================
   MÓVILES PEQUEÑOS
   ========================= */
@media (max-width: 400px){

  .featured-webinar{
    padding: 4rem 0 2.5rem;
  }

  .featured-webinar-title{
    font-size: 1.9rem;
  }

  .featured-webinar-card{
    min-height: 390px;
  }

  .featured-webinar-info{
    padding: 1.2rem;
  }

  .featured-webinar-info .event-title{
    font-size: 1.6rem;
  }

  .featured-webinar-info .event-description{
    font-size: 1.15rem;
  }

  .featured-webinar-info .btn-event-register{
    font-size: 1.25rem;
    padding: 0.9rem 1.6rem;
  }

  .featured-webinar-info .price-tag{
    font-size: 1.7rem;
  }

}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0046a5;
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo span {
    font-size: 2.4rem;
    font-weight: 800;
}

.footer-section p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 35rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: black;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.8rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer-section .active {
    color: var(--accent-light);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}


/* Para reducir movimiento en preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ==================================================================
   RESPONSIVE – LAPTOP
================================================================== */
@media (max-width: 992px) {

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* ==================================================================
   RESPONSIVE – TABLET
================================================================== */
@media (max-width: 768px) {

    .footer {
        padding: 6rem 0 3rem;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL
================================================================== */
@media (max-width: 576px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }
}

/* ==================================================================
   RESPONSIVE – MÓVIL PEQUEÑO
================================================================== */
@media (max-width: 400px) {

    .footer {
        padding: 5rem 0 2.5rem;
    }
}


/* Animaciones para elementos con clase animate-in */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Clase visible para observer */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =========================================================
   MODAL "ARTÍCULOS PRÓXIMAMENTE" (ESTILO DE TUS SECCIONES)
========================================================= */
.articulos-soon-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 99990;
}

.articulos-soon-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(680px, 92vw);
  background: #fff;
  border-radius: 24px;
  border: 2px solid #000;
  box-shadow: var(--shadow, 0 20px 45px rgba(0,0,0,.12));
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  z-index: 99999;
  overflow: hidden; /* CLAVE para el ribbon */
}

/* franja suave tipo "sección overlay" */
.articulos-soon-modal::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(158, 202, 227, .35), rgba(0,0,0,0) 55%);
  pointer-events:none;
  z-index: 0;
}

/* =========================================================
   RIBBON DIAGONAL "PRÓXIMAMENTE" (COMO LA IMAGEN)
========================================================= */
.articulos-soon-ribbon{
  position: absolute;
  top: 18px;
  right: -70px;
  width: 260px;
  height: 56px;
  transform: rotate(35deg);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.2));
}

.articulos-soon-ribbon span{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    #63df63 0%,
    #34c84c 55%,
    #1fa833 100%
  );

  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -2px 0 rgba(0,0,0,.15);
}

/* =========================================================
   ESTADO ACTIVO
========================================================= */
.articulos-soon-overlay.active{
  opacity: 1;
  visibility: visible;
}
.articulos-soon-modal.active{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
/* titulo y texto */
.articulos-soon-title{
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 2.4rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  line-height: 1.15;
}

.articulos-soon-desc{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 1.55rem;
  color: #111;
  line-height: 1.7;
  font-weight: 600;
  max-width: 62ch;
}

/* acciones */
.articulos-soon-actions{
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.articulos-soon-btn{
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #9ecae3;
  color: #000;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}

.articulos-soon-btn:hover{
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 480px){
  .articulos-soon-modal{
    padding: 20px;
    border-radius: 18px;
  }

  .articulos-soon-title{
    font-size: 2rem;
  }

  .articulos-soon-desc{
    font-size: 1.35rem;
  }

  .articulos-soon-ribbon{
    top: 14px;
    right: -78px;
    width: 210px;
    height: 48px;
  }

  .articulos-soon-ribbon span{
    font-size: 1.15rem;
    letter-spacing: 1.6px;
  }
}
