:root {
    --color-primary: #E8A800;      /* Dorado/ámbar principal */
    --color-secondary: #1C3E38;    /* Teal oscuro — fondo principal */
    --color-text: #ffffff;
    --color-bg: #1C3E38;           /* Mismo teal oscuro */
    --color-accent: #A8C0B0;       /* Sage/mint — transversales */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    color: var(--color-text);
    overflow-x: hidden;
}



.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--color-primary);
    color: #000000;
    border: none;
    padding: 1.8rem 4.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #ffd05c;
}

.btn-ghost {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--color-primary);
    padding: 1.8rem 4.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    margin-top: 1rem;
    text-transform: uppercase;
}

.btn-ghost:hover {
    background-color: var(--color-primary);
    color: #000;
}


/* --- MAIN CONTENT TEMPLATE --- */
.main-content {
    min-height: 100vh;
}

/* Navbar */
.header {
    background: rgba(10, 31, 44, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 45px; /* Spacing for top promo bar */
    z-index: 100;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: top 0.3s ease;
}

/* Promo 2027 Styles */
.top-promo-bar {
    background: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
    padding: 12px 10%;
    font-weight: 800;
    font-size: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn-promo-2027 {
    background: linear-gradient(45deg, #FFB800, #FFD05C);
    color: #1C3E38;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
    margin-bottom: 3rem;
    display: inline-block;
    animation: pulse-promo 2.5s infinite;
    text-decoration: none;
    line-height: 1.2;
    border: 3px solid #ffffff;
}

@keyframes pulse-promo {
    0% { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(255, 184, 0, 0.7); }
    100% { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5); }
}

.btn-promo-2027:hover {
    transform: scale(1.1) translateY(-5px);
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 4rem;
    /* Adjusted side padding */
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 31, 44, 0.4) 0%, rgba(10, 31, 44, 0.9) 100%), url('hero-bg.jpg') no-repeat center right/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    min-width: 0;
    text-align: right;
    margin-top: 4rem;
    margin-right: 5%;
    word-break: normal;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 5.2rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    /* Increased gap */
    justify-content: flex-end;
}

/* Logos Band Below Hero */
.logos-band {
    background: #ffffff;
    padding: 3rem 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: transparent;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item-img {
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s;
    display: block;
    margin: 0 auto;
}

/* Centralized control for sponsor section logos */
.sponsor-logos img {
    height: 120px !important;
    max-height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 2rem;
    filter: none;
    transition: all 0.3s;
}

.sponsor-logos img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

.logo-item-img:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 120px;
    /* Increased from 100px to match ACCA global logic */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    width: 160px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-placeholder.sm {
    width: 100px;
    padding: 0.5rem;
    font-size: 0.7rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Location Section */
.location-section {
    display: flex;
    flex-wrap: wrap;
    background: var(--color-secondary);
    color: #ffffff;
    padding: 4rem 10%;
    align-items: center;
    gap: 3rem;
}

.location-text {
    flex: 1;
    min-width: 300px;
}

.location-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);   /* gold — visible on dark teal bg */
}

.location-text p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.location-date {
    color: var(--color-primary);
    font-size: 1.3rem !important;
    margin-top: 1rem;
}

.location-map {
    flex: 1;
    min-width: 300px;
}

/* Contador Section */
.counter-section {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 4rem 2rem;
    text-align: center;
}

.counter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 120px;
}

.time-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
}

.time-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Benefits Section (¡No te lo pierdas!) */
.benefits-section {
    background: var(--color-secondary);
    /* Teal oscuro (era petróleo medio */
    padding: 5rem 10%;
    position: relative;
    color: white;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-text {
    flex: 1;
    min-width: 300px;
}

.benefits-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.benefits-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-card {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    color: #5b7b7a;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefits-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li::before {
    content: '•';
    color: #5b7b7a;
    font-weight: bold;
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.logos-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem 5%;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.logos-bottom .logo-item-img {
    height: 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    max-height: 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    filter: none;
}

/* Agenda Summary */
.agenda-summary {
    background: var(--color-secondary);
    padding: 6rem 10%;
    text-align: center;
}

.agenda-summary h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);    /* gold on dark bg */
}

.agenda-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 4rem;
    align-items: center;
}

.agenda-item {
    background: rgba(255,255,255,0.08);
    color: #ffffff;                /* white text on dark bg */
    padding: 20px 30px;
    border-radius: 10px;
    font-weight: 500;
    width: 100%;
    max-width: 700px;
    text-align: left;
}

.agenda-day-label {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);   /* gold */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.agenda-buttons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-secondary-link {
    background: var(--color-primary);   /* gold */
    color: var(--color-secondary);      /* dark text */
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: transform 0.2s, background 0.2s;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-secondary-link:hover {
    transform: translateY(-3px);
    background: #FFB800;            /* brighter gold on hover */
    box-shadow: 0 6px 20px rgba(232,168,0,0.35);
}

/* Speakers Section */
.speakers-section {
    padding: 6rem 10%;
    text-align: center;
    background: var(--color-secondary);
}

.speakers-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--color-primary);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-img-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--color-primary);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background: #0a1f2c; /* Ensure background matches card in case of loading */
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05); /* reduced zoom so heads are not cut off */ /* 30% total zoom (15% more than previous) */
    transition: transform 0.3s;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.1); /* Subtle extra zoom on hover */
}

.speaker-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
    font-family: var(--font-heading);
}

.btn-outline-small {
    background: transparent;
    color: #aaaaaa;
    border: 1px solid #aaaaaa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-small:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

/* Community Section */
.community-section {
    background: #5b7b7a;
    padding: 6rem 10%;
    text-align: center;
    position: relative;
}

.community-card {
    background: rgba(232,168,0,0.15);
    /* Verde clarito muy suave */
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 20px;
    color: var(--color-secondary);
}

.community-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #3d5857;
}

.community-card p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-community {
    background: #5b7b7a;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-community:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

/* Sponsors Section (CO-ORGANIZA y abajo) — fondo BLANCO */
.sponsors-section {
    background: #ffffff;
    padding: 6rem 10%;
    text-align: center;
    color: var(--color-secondary);
}

/* Zona blanca: CO-ORGANIZA / APOYA / INVITADOS ESPECIALES */
.sponsors-white-zone {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 4rem 10%;
    margin: 0;
    color: var(--color-secondary);
}

.sponsors-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.sponsor-tier {
    margin-bottom: 4rem;
}

.sponsor-tier h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* En la zona blanca, los títulos CO-ORGANIZA etc usan teal oscuro (mejor contraste) */
.sponsors-white-zone .sponsor-tier h3 {
    color: var(--color-secondary);    /* dark teal sobre blanco */
}

.sponsor-tier.organiza-tier {
    margin-bottom: 2rem; /* Tighter for top tier */
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem; /* Increased from 4rem */
    flex-wrap: wrap;
    margin-top: 2rem;
}

.special-guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Increased from 180px */
    gap: 5rem; /* Increased from 3rem */
    align-items: center;
    justify-items: center;
    max-width: 1200px; /* Widened slightly */
    margin: 4rem auto;
}

.logo-item-img {
    height: 70px !important;
    max-height: 70px !important;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item-img:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.sponsor-logos .logo-large-scale,
.special-guests-grid .logo-large-scale,
.logo-large-scale {
    height: 360px !important; 
    max-height: 360px !important;
    width: auto !important;
    max-width: 600px !important; /* Cap width for extreme horizontal logos */
}

.sponsor-logos .logo-medium-scale,
.special-guests-grid .logo-medium-scale,
.logo-medium-scale {
    height: 210px !important; /* Visual 2x for logos */
    max-height: 210px !important;
    width: auto !important;
    max-width: 400px !important; /* Prevent overlap for wide logos like Bentley */
}



.footer-logo-img {
    height: 80px !important;
    max-height: 80px !important;
    width: auto;
    object-fit: contain;
}

.sponsor-logos .logo-placeholder {
    background: #f4f6f8;
    color: var(--color-secondary);
    border: 1px solid #ddd;
}

.empty-sponsors {
    color: #999;
    font-style: italic;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 4rem 10% 2rem;
    color: #333;
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #ddd;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.social-circles {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5b7b7a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: #555;
}

.footer-contact strong {
    color: #333;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-footer-light-new {
    background: #aabfbd;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding: 18px 36px !important; /* 1.5x scaling approx */
    cursor: pointer;
    text-decoration: underline;
    font-size: 1.2rem !important;
    transition: all 0.3s ease;
}

.btn-footer-dark-new {
    background: #5b7b7a;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding: 18px 36px !important;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1.2rem !important;
    transition: all 0.3s ease;
}

.btn-footer-light {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: background 0.3s;
}

.btn-footer-light:hover {
    background: #cccccc;
}

.btn-footer-dark {
    background: #106f70;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: background 0.3s;
}

.btn-footer-dark:hover {
    background: #0d5859;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .floating-logos {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-placeholder {
        width: 100px;
    }

    .nav-links {
        display: none;
        /* simple mobile fix */
    }

    .benefits-container,
    .location-section {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.logos-bottom {
    align-items: center !important;
}


/* --- AGENDA DETAILED --- */
.agenda-detailed-section {
    background-color: #507b7b;
    padding: 6rem   3%;
    color: #ffffff;
    min-height: 80vh;
}

.agenda-detailed-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: #ffffff;
    font-family: var(--font-heading);
}

.agenda-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.agenda-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-detailed-card {
    background-color: #aabfbd;
    color: #214343;
    border-radius: 20px;
    padding: 2rem 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.agenda-time {
    font-weight: 700;
    font-size: 1.6rem;
    width: 220px;
    flex-shrink: 0;
    text-align: left;
}

.agenda-desc {
    font-weight: 400;
    font-size: 1.6rem;
    flex-grow: 1;
}

.agenda-sticky-sidebar {
    position: sticky;
    top: 12rem;
}

.agenda-sticky-card {
    border: 2px dashed #aabfbd;
    border-radius: 15px;
    padding: 3rem 2rem;
    background: transparent;
}

.agenda-sticky-card .btn-primary {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

@media (max-width: 900px) {
    .agenda-detailed-grid {
        grid-template-columns: 1fr;
    }

    .agenda-detailed-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .agenda-time {
        font-weight: 700;
        width: auto;
    }

    .agenda-detailed-title {
        font-size: 2.5rem;
    }
}

/* --- AGENDA SUMMARY (Home) --- */
.agenda-summary {
    background-color: #507b7b;
    padding: 6rem 10%;
    color: #ffffff;
    text-align: center;
}

.agenda-summary h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.agenda-items {
    max-width: 800px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-item {
    background: #ffffff;
    color: #333;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-size: 1.6rem;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.agenda-buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-link {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 1.5rem 3rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary-link:hover {
    background: var(--color-primary);
    color: #000;
}

/* --- AGENDA TABLE STYLES --- */
.agenda-table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 3rem;
    background: rgba(0, 0, 0, 0.2); /* Darker semi-transparent background for better contrast */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.agenda-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    color: white;
    min-width: 800px;
}

.agenda-table th {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.agenda-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    line-height: 1.6;
}

.agenda-table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.time-col {
    white-space: nowrap;
    font-weight: 700;
    color: var(--color-primary);
    width: 250px;
}

.activity-col {
    font-weight: 500;
}

.company-col {
    font-weight: 700;
    color: var(--color-primary);
    width: 200px;
}

@media (max-width: 768px) {
    /* Global Section Padding Adjustments */
    .agenda-summary,
    .community-section,
    .sponsors-section,
    .footer,
    .benefits-section,
    .expositor-section,
    .lugar-section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    /* Hero Section Mobile Fixes */
    .hero {
        padding: 0 5%;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        text-align: center;
    }

    .hero-bg {
        background: linear-gradient(to bottom, rgba(10, 31, 44, 0.4) 0%, rgba(10, 31, 44, 0.9) 100%), url('hero-bg.jpg') no-repeat center center/cover !important;
    }

    .hero-content h1 {
        white-space: normal;
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary {
        padding: 1.5rem 2rem;
        font-size: 1.4rem;
        width: 100%;
    }

    /* Agenda Cards (Home Page) */
    .agenda-item {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    /* Agenda Tables (Detailed Pages) */
    .agenda-table {
        min-width: 600px; /* Reduced min-width to avoid excessive scrolling */
    }

    .agenda-table th, .agenda-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .time-col { 
        width: 120px;
        white-space: normal;
    }

    .company-col {
        width: 130px;
    }

    /* Speaker Grid */
    .speaker-grid {
        gap: 1.5rem;
    }

    /* Sponsors & Logos Band */
    .logos-band {
        gap: 2rem;
        padding: 2rem 5%;
    }

    .logo-item img {
        height: auto !important;
        max-width: 120px !important;
    }

    /* Counter Section */
    .time-box {
        min-width: 80px;
        padding: 1rem;
    }

    .time-value {
        font-size: 2.5rem;
    }

    /* Footer Bottom Fix */
    .logos-bottom {
        flex-direction: column;
        gap: 2rem;
    }
}

/* --- AGENDA DETAILED STYLES --- */
/* ============================================
   AGENDA PAGES — colors matching site palette
   ============================================ */

/* Page background & title */
.agenda-detailed-section {
    padding: 8rem 5% 4rem 5%;
    background: #1C3E38;           /* dark teal — same as site bg */
    min-height: 100vh;
}
.agenda-detailed-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.5rem;
    color: #E8A800;                /* gold — matches header bar */
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation button above table */
.agenda-navigation-top {
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
}

/* Table wrapper */
.agenda-table-container {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* Table base */
.agenda-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #1C3E38;           /* dark teal */
}

/* Header row */
.agenda-table thead th {
    background: #E8A800;           /* gold */
    color: #1C3E38;                /* dark text on gold */
    padding: 1.4rem 1.2rem;
    text-align: center !important;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Body cells */
.agenda-table tbody td {
    padding: 1.4rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    vertical-align: top;
}

/* Regular rows hover */
.agenda-table tbody tr.regular-row:hover {
    background: rgba(232,168,0,0.08);
}

/* Column widths & specific colors */
.time-col {
    width: 150px;
    font-weight: 800;
    color: #E8A800;                /* gold */
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    vertical-align: middle;
}
.speaker-col  { width: 220px; font-weight: 600; color: #ffffff; }
.company-col  { width: 220px; color: #E8A800; font-size: 0.88rem; }  /* gold */
.activity-col { font-weight: 500; color: #ffffff; }

/* ---- TRANSVERSAL ROWS ---- */
.transversal-row {
    background: #1C3E38;           /* same dark teal, box gives the contrast */
}
/* The time cell stays gold */
.transversal-row .time-col {
    color: #E8A800;
    font-weight: 800;
    vertical-align: middle;
    text-align: left;
}
/* The transversal cell spans cols 2-4 and centers content */
.transversal-cell {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 1.4rem 1.2rem !important;
}
/* The label box inside the cell */
.transversal-box {
    display: block;
    width: 100%;
    background: #A8C0B0;           /* sage/mint — matches screenshot */
    color: #1C3E38;                /* dark text on mint */
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 900;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    box-sizing: border-box;
}
.transversal-time {
    color: #E8A800;
    font-weight: 800;
    font-size: 0.9rem;
}

/* ---- BUTTON ---- */
.btn-footer-dark-new {
    background: #E8A800;
    color: #1C3E38;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-footer-dark-new:hover {
    background: #FFB800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,168,0,0.4);
}

/* ── BIO PHOTO STANDARD ─────────────────────────── */
.expositor-hero img,
.bio-photo,
.expositor-main-photo,
.expositor-photo {
    width: 220px !important;
    height: 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
    margin: 0 auto 1.5rem;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; background: var(--color-bg); position: absolute; top: 70px; left: 0; width: 100%; padding: 1rem 2rem; z-index: 999; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
    .hamburger span { display: block; width: 25px; height: 3px; background: white; border-radius: 3px; transition: 0.3s; }
    .hero-content h1 { font-size: 2.2rem; }
    .speakers-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .agenda-table { font-size: 0.8rem; }
    .agenda-table th, .agenda-table td { padding: 0.5rem; }
    .sponsor-logos { gap: 2rem !important; }
    .sponsor-logos img { height: 70px !important; }
    .location-section { flex-direction: column; }
    .logos-bottom { gap: 2rem !important; }
    .logo-item-img { height: 80px; }
    .nav-container { position: relative; display: flex; justify-content: space-between; align-items: center; }
}
@media (max-width: 480px) {
    .speakers-grid { grid-template-columns: 1fr !important; }
    .hero-content h1 { font-size: 1.8rem; }
}

/* Text Justify for Bios */
.bio-description, .ponencia-desc { text-align: justify !important; }

/* Sponsor Headers Enlarged */
.sponsors-white-zone h3 { font-size: 2.8rem !important; margin-bottom: 2.5rem; text-transform: uppercase; font-weight: 900; }

/* Specific Face Alignments */
img[src*="photo-david-francisco-marmolejo-carrasco"],
img[src*="photo-michael-vivas-sanchez"],
img[src*="photo-edgar-camilo-marin-lagos"],
img[src*="photo-daniel-diaz-final"],
img[src*="photo-elizabeth-marin"],
img[src*="photo-orlando-santiago-celi"],
img[src*="photo-simon-marin"],
img[src*="photo-jeamy-baena"],
img[src*="photo-rafael-pava"],
img[src*="photo-adolfo-camilo-torres-prada"],
img[src*="photo-camila-amin"],
img[src*="photo-felipe-villa"],
img[src*="photo-carlos-anderson-garcia-guerrero"],
img[src*="photo-juan-sebastian-arias"],
img[src*="photo-camilo-ernesto-zuniga-bello"],
img[src*="JULIAN DAVID ORTIZ MOJICA"] {
    object-position: center 10% !important;
}

img[src*="photo-oscar-girata"] {
    object-fit: cover !important;
    object-position: center 30% !important;
    transform: scale(1.25) !important;
}

img[src*="photo-andres-gutierrez-valencia"] {
    object-fit: contain !important;
    background-color: #f8f9fa;
}

/* Bio Name Tweaks */
.expositor-info-col h1 {
    font-size: 2.2rem !important;
    color: #1C3E38 !important;
}

.subfooter-section a {
    color: #85b035 !important;
    font-weight: 800;
    text-decoration: none;
}

/* Bio Paragraph Justify */
.expositor-bio, .expositor-bio p { text-align: justify !important; }

/* Fix Valentin Sierra Photo */
img[src*="photo-valentin-sierra"] {
    object-fit: cover !important;
    object-position: center 0% !important;
    transform: scale(1.0) !important;
}

/* --- MEMORIAS & LIGHTBOX MODAL --- */
.memorias-grid .memoria-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary) !important;
    box-shadow: 0 10px 30px rgba(232,168,0,0.2);
}
.memorias-grid .memoria-card:hover .play-icon {
    transform: scale(1.15);
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 15px var(--color-primary);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 31, 44, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
}
.lightbox-content {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    overflow: hidden;
    border: 2px solid var(--color-primary);
}
.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 2.5rem;
    font-family: sans-serif;
    font-weight: bold;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}
.lightbox-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

