:root {
    --primary-burgundy: #6c1d45;
    --secondary-plum: #183C6B;
    --accent-pink: #e4568d;
    --light-pink: #fce4ec;
    --dark-navy: #2c2b2b;
    --blue-badge: #1a365d;
    --text-dark: #1E1E1E;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.font-heading {
    font-family: 'Montserrat', sans-serif;
}

/* Top Header Logos */
.header-logos {
    background-color: transparent;
    padding: 12px 0;
    top: 0;
    z-index: 2;
    position: relative;
}

.logo-img {
    max-height: 80px;
    object-fit: contain;
}

/* Hero Banner Section */
.hero-section {
    position: relative;
    width: 100%;
    /* Mantiene la proporción de aspecto original */
    aspect-ratio: 1900 / 888;
    overflow: hidden;
    background-color: transparent;
    top: -50px;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 10%;
    /* Deja libre el lado derecho para la silueta materna */
    color: #ffffff;
}

/* Tipografía responsiva escalada en base al viewport */
.hero-subtitle {
    font-size: clamp(0.7rem, 1.8vw, 1.5rem);
    font-weight: 200;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding-bottom: 3px;
    width: fit-content;
    position: relative;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 4px;
    background-color: var(--accent-pink);
}

.hero-title-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.roman-numeral {
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 900;
    color: var(--accent-pink);
    line-height: 0.85;
}

.roman-numeral-2 {
    color: #FFFFFF;
}

.hero-main-title {
    margin-top: 8px;
    font-size: clamp(0.79rem, 2.2vw, 1.7rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.hero-second-title {
    margin-top: -17px;
    font-size: clamp(0.79rem, 2.2vw, 1.7rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

/* Key Information Floating Card */
.info-card-container {
    margin-top: -170px;
    position: relative;
    z-index: 10;
}

.info-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #f1f1f1;
    padding: 25px 20px;
    transition: transform 0.3s ease;
}

.info-box {
    display: flex;
    align-items: center;
    padding: 10px;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.icon-date {
    background: #ae3869;
}

.icon-location {
    background: #133d6b;
}

.icon-time {
    background: #ae3869;
}

.info-text h6 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--secondary-plum);
    font-weight: 500;
}

.info-text p {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--secondary-plum);
    line-height: 1.2;
}

.divider-vertical {
    border-right: 2px solid #ae3869;
}

/* Section Headings */
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--secondary-plum);
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--primary-burgundy));
    border-radius: 2px;
}

/* Ponentes / Speakers Section - EXACT POSTER LAYOUT */
.speakers-layout-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Keynote Speaker - Left Side (Larger) */
.keynote-speaker-box {
    flex: 0 0 auto;
    width: 220px;
    text-align: center;
    margin-bottom: 20px;
}

.keynote-img-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, #993367, #1c476b);
    box-shadow: 0 10px 25px rgba(108, 29, 69, 0.35);
    margin: 0 auto 12px;
}

.keynote-img-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
}

/* Secondary Speakers - Right Side (2 rows of 5) */
.secondary-speakers-grid {
    flex: 1 1 650px;
    max-width: 900px;
}

.speaker-thumb-card {
    text-align: center;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.speaker-thumb-card:hover {
    transform: translateY(-5px);
}

.speaker-thumb-ring {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #993367, #1c476b);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    margin: 0 auto 8px;
}

.speaker-thumb-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
}

.speaker-thumb-name {
    font-size: 0.9rem;
    color: #1E1E1E;
    line-height: 1.5;
    margin: 0;
}

/* Agenda / Timeline Section */
.agenda-card {
    background: white;
    /*border-radius: 12px;*/
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--accent-pink);
    transition: all 0.2s ease;
    margin-bottom: 6px;
    position: relative;
}

.agenda-card::before {
    content: '';
    position: absolute;

    /* Centrado vertical */
    top: 50%;
    transform: translateY(-50%);

    /* Posicionamiento sobre la línea de 5px */
    left: -13px;
    /* Centra el círculo de 13px sobre el borde de 5px */

    /* Dimensiones del círculo */
    width: 22px;
    height: 22px;
    border-radius: 50%;

    /* Color del círculo (puedes cambiarlo por tu variable, ej: var(--secondary-purple)) */
    background-color: #1e3a5f;

    /* Opcional: si quieres un pequeño borde blanco alrededor del círculo para separarlo */
    border: 2px solid white;
}

.agenda-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.agenda-time {
    color: white;
    font-weight: 600;
    padding: 4px 30px;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap;
}

.agenda-line-vertical {
    border-left: 3px solid var(--accent-pink);
}

.agenda-time-color-pink {
    background-color: #ad3768;
}

.agenda-time-color-blue {
    background-color: #173c6a;
}

.agenda-time.break-time {
    background: linear-gradient(135deg, var(--accent-pink), #ad1457);
}

.agenda-title {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--dark-navy);
}

.agenda-speaker {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
    padding: 0px 12px;
    display: inline-block;
}


/* Contenedor principal del Banner */
.footer-container {
    /* Gradient idéntico al de la imagen */
    background: linear-gradient(90deg,
            #a03554 0%,
            #8e395b 20%,
            #6b3c66 45%,
            #4c416e 70%,
            #1b4c73 100%);
    border-radius: 25px;
    color: #ffffff;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.35);
    padding: 22px 35px;
    position: relative;
}

/* Títulos e información izquierda */
.banner-title {
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.banner-subtitle {
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.3;
    opacity: 0.95;
}

.banner-address {
    font-weight: 400;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* Sección de Cupo Limitado */
.cupo-section {
    text-align: center;
    padding: 0 15px;
}

.cupo-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cupo-divider {
    height: 2px;
    background-color: #e6518a;
    /* Línea divisoria rosa brillante */
    width: 100%;
    max-width: 260px;
    margin: 8px auto;
    border-radius: 2px;
}

/* Código QR */
.qr-box {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.qr-box img {
    width: 85px;
    height: 85px;
    display: block;
}

/* Sección Registro derecha */
.registro-title {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.registro-link {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}


/* Footer & Banner */
.footer-banner {
    background: #1c476b;
    color: white;
    padding: 35px 0 20px;
    border-top: 4px solid var(--accent-pink);
}

.badge-register {
    background-color: #e63974;
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-register-main {
    background-color: #1c476b;
    color: white;
    font-weight: 400;
    padding: 5px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 1px 4px #ffffff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-register-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 6px #ffffff;
    color: white;
    background-color: #1c476b;
}

/* Modal styling */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary-plum), var(--primary-burgundy));
    color: white;
    border: none;
    padding: 20px 25px;
}

/* Floating action button for mobile */
.fab-register {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.5);
    display: none;
}

@media (max-width: 768px) {
    .divider-vertical {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .roman-numeral {
        font-size: 3.5rem;
    }

    .fab-register {
        display: block;
    }

    .hero-section {
        top: -20px;
    }

    .hero-content-overlay {
        padding-left: 10%;
        padding-right: 10%;
    }

    .hero-main-title {
        margin-top: 16px;
    }

    .hero-second-title {
        margin-top: -18px;
    }

    .info-card-container {
        margin-top: 0px;
    }

    .speaker-thumb-ring {
        width: 70px;
        height: 70px;
    }

    .agenda-title {
        text-align: center;
    }

    .agenda-line-vertical {
        border-left: 0px;
    }

    .footer-container {
        border-radius: 20px;
        padding: 25px 20px;
    }

    .banner-title {
        font-size: 1.3rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .banner-address {
        font-size: 0.95rem;
    }

    .cupo-divider {
        max-width: 100%;
    }
}