/* ============================================================
   Foro PBIP Theme — Estilos principales
   Portado y adaptado desde css/app.css del sitio estático
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
    --pbip-dark:        #0a1628;
    --pbip-navy:        #003366;
    --pbip-cyan:        #00e5ff;
    --pbip-gold:        #c9a84c;
    --pbip-light:       #ededed;
    --pbip-text-dark:   #626262;
    --pbip-white:       #ffffff;
    --pbip-gradient-cd: linear-gradient(135deg, rgba(13,71,161,0.95), rgba(1,87,155,0.9), rgba(0,131,143,0.85));
    --pbip-nav-height:  60px;
}

/* ─── Reset básico ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ─── Body ───────────────────────────────────────────────────── */
body {
    background: #0a1628;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--pbip-white);
    line-height: 1.6em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: var(--pbip-white);
}
h1 { font-size: 40px; }
h3 { font-weight: 400; }
h4 { font-weight: 400; font-size: 20px; }
p  { margin-bottom: 20px; font-size: 16px; }

a { color: #bdc3c7; word-wrap: break-word; transition: color .1s ease-in, background .1s ease-in; }
a:hover, a:focus { color: #99a2a9; text-decoration: none; outline: 0; }

::selection       { color: #fff; background: #666; }
::-moz-selection  { color: #fff; background: #666; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.foropbip-nav {
    height: var(--pbip-nav-height);
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease;
    z-index: 1030;
}
.foropbip-nav.scrolled,
.foropbip-nav.navbar-dark-solid {
    background: rgba(0, 30, 60, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,.4);
    backdrop-filter: blur(10px);
}
.foropbip-nav .navbar-brand { font-family: 'Exo 2', sans-serif; font-weight: 700; color: #fff; font-size: 1.3em; }
.foropbip-nav .nav-link { color: rgba(255,255,255,.85) !important; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: .5px; padding: .5rem 1rem !important; transition: color .2s; }
.foropbip-nav .nav-link:hover,
.foropbip-nav .nav-item.active .nav-link { color: var(--pbip-cyan) !important; }
.foropbip-nav .custom-logo-link img { max-height: 50px; width: auto; }

/* ─── Preloader ──────────────────────────────────────────────── */
#preloader {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2d2e2e; z-index: 99999;
    animation: preloader-timeout 0.5s ease forwards 3s;
}
@keyframes preloader-timeout {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#status {
    width: 150px; height: 150px; position: absolute;
    left: 50%; top: 50%; margin: -75px 0 0 -75px;
}
.spinner { margin: 50px auto; width: 50px; height: 30px; text-align: center; font-size: 10px; }
.spinner > div { background-color: #fff; height: 100%; width: 6px; display: inline-block; animation: stretchdelay 1.2s infinite ease-in-out; }
.spinner .rect2 { animation-delay: -1.1s; }
.spinner .rect3 { animation-delay: -1.0s; }
.spinner .rect4 { animation-delay: -0.9s; }
.spinner .rect5 { animation-delay: -0.8s; }
@keyframes stretchdelay {
    0%, 40%, 100% { transform: scaleY(.4); }
    20%            { transform: scaleY(1); }
}

/* ─── Fondo global (video/imagen fijo, cubre toda la página) ──── */
.site-bg-wrapper {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;            /* detrás de todo el contenido */
    overflow: hidden;
}
.site-bg-video,
.site-bg-image,
.site-bg-fallback {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.site-bg-video   { filter: brightness(.55) contrast(1.05); }
.site-bg-image   { background-size: cover; background-position: center; filter: brightness(.55); }
.site-bg-fallback {
    background: linear-gradient(135deg, #0a1f3d 0%, #0a1628 60%, #06101f 100%);
}
.site-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,15,40,.45) 0%, rgba(5,15,40,.62) 100%);
}

/* El body debe ser transparente para que el fondo fijo se vea al scrollear */
body { background: transparent !important; }

/* ─── Hero ───────────────────────────────────────────────────── */
.foropbip-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--pbip-nav-height);
    background: transparent;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 50px 24px 80px;
}

.hero-seal { margin-bottom: 22px; }
.hero-seal img,
.hero-seal .custom-logo-link img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,.55));
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.38);
    border: 1px solid rgba(201,168,76,.45);
    color: rgba(255,255,255,.88);
    font-size: .72em;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 30px;
    margin-bottom: 24px;
}
.hero-tagline-dot { color: var(--pbip-cyan); font-size: .85em; }

.hero-main-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 5.5em;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    text-shadow: 0 4px 24px rgba(0,0,0,.55);
}
.hero-title-foro { color: #ffffff; }
.hero-title-pbip { color: var(--pbip-gold); margin-left: .12em; }

.hero-location {
    font-size: 1.25em;
    color: rgba(255,255,255,.9);
    margin-bottom: 6px;
    font-weight: 300;
}
.hero-location-name { color: var(--pbip-cyan); font-weight: 600; }

.hero-date {
    font-style: italic;
    font-size: 1.2em;
    color: rgba(255,255,255,.85);
    margin-bottom: 6px;
}

.hero-orgs {
    font-size: .82em;
    color: rgba(255,255,255,.65);
    margin-bottom: 28px;
    letter-spacing: .2px;
}

/* Tarjeta hotel */
.hero-hotel-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(8,22,58,.65);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    padding: 13px 22px;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
}
.hero-hotel-logo {
    width: 48px; height: 48px;
    border-radius: 8px;
    background: #c0392b;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.hero-hotel-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-hotel-logo-text {
    color: #fff; font-weight: 800; font-size: .75em;
    line-height: 1.1; text-align: center; font-style: italic;
}
.hero-hotel-info { text-align: left; }
.hero-hotel-name { color: #fff; font-size: .95em; font-weight: 600; margin: 0 0 2px; }
.hero-hotel-desc { color: rgba(255,255,255,.6); font-size: .78em; margin: 0; }

/* Stats row */
.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 22px;
    border-right: 1px solid rgba(255,255,255,.18);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-icon { font-size: 1.3em; margin-bottom: 3px; }
.hero-stat-label {
    font-size: .6em; color: rgba(255,255,255,.58);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1px;
}
.hero-stat-value { font-size: .9em; color: #fff; font-weight: 600; }

/* Botón registrarse */
.hero-register-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c9a84c, #e6c96a);
    color: #1a1000;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    padding: 16px 58px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s ease;
    letter-spacing: .5px;
    box-shadow: 0 5px 28px rgba(201,168,76,.45);
}
.hero-register-btn:hover {
    background: linear-gradient(135deg, #e0ba5a, #f0d080);
    color: #1a1000;
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(201,168,76,.65);
    text-decoration: none;
}

/* ─── Logos fijos OEA / CIP ──────────────────────────────────── */
.fixed-logo {
    position: fixed;
    top: calc(var(--pbip-nav-height) + 12px);
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 9px;
    pointer-events: none;
}
.fixed-logo-left  { left: 18px; }
.fixed-logo-right { right: 18px; }
.fixed-logo img {
    height: 44px; width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
}
.fixed-logo-icon {
    width: 44px; height: 44px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.35);
    flex-shrink: 0;
}
.fixed-logo-text {
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.15;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.fixed-logo-sep { opacity: .6; }
.fixed-logo-subtext {
    display: block;
    font-size: .52em;
    font-weight: 300;
    color: rgba(255,255,255,.78);
    line-height: 1.2;
}

/* Lang badge en navbar */
.lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: .85em;
    cursor: pointer;
}
.lang-flag {
    background: rgba(255,255,255,.2);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: .75em;
    font-weight: 700;
    letter-spacing: .5px;
}
.lang-arrow { font-size: .7em; opacity: .7; }

/* ─── Botones ────────────────────────────────────────────────── */
.btn { border-radius: 0; }
.btn-theme {
    color: #fff; background-color: transparent; border: 1px solid #fff;
    padding: 10px 20px; transition: all .5s ease;
}
.btn-theme:hover { color: #000; background-color: #fff; }
.btn-theme2 {
    color: #000; opacity: .7; background-color: #ededed; border: 1px solid #fff;
    padding: 10px 20px; transition: all .5s ease;
}
.btn-theme2:hover { color: #000; background-color: #fff; opacity: 1; }

/* ─── Flecha scroll ──────────────────────────────────────────── */
.arrow-down { width: 100%; text-align: center; position: absolute; bottom: 40px; display: none; }
.scroll {
    width: 30px; height: 30px; border-radius: 50%; font-size: 35px;
    padding: 10px; color: #fff; animation: arrowBounce 2.5s infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(-20px); }
    50%       { transform: translateY(-10px); }
}
@media (min-width: 768px) { .arrow-down { display: block; } }

/* ─── Secciones generales ────────────────────────────────────── */
.section { padding: 60px 0; position: relative; z-index: 10; }
.section-title {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 2.2em !important;
    font-weight: 300 !important;
    color: #fff !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.5) !important;
    letter-spacing: 2px !important;
}
.section-title-white {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 2.2em !important;
    font-weight: 300 !important;
    color: var(--pbip-navy) !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    letter-spacing: 2px !important;
}
.section-title-border {
    width: 70px; height: 3px;
    background: rgba(0,0,0,.13);
    margin: 0 auto 45px; border-radius: 3px;
}

/* ─── Sección "Nosotros" ─────────────────────────────────────── */
#about { background: var(--pbip-light); color: var(--pbip-text-dark); }
#about h1, #about h2, #about h3, #about h4, #about h5, #about h6 { color: var(--pbip-navy); }
#about a { color: var(--pbip-navy); }

.feature-box-container { margin: 60px 0; }
.feature-box-container:last-child { margin-bottom: 0; }
.feature-box { text-align: center; background: #e4e4e4; }
.feature-box .icon {
    width: 100px; height: 55px; color: #fff;
    position: relative; background: #bbbcbc;
    margin: 35px auto 20px;
}
.feature-box .icon::before {
    content: ""; position: absolute; top: -25px; left: 0;
    border-left: 50px solid transparent; border-right: 50px solid transparent;
    border-bottom: 25px solid #bbbcbc;
}
.feature-box .icon::after {
    content: ""; position: absolute; bottom: -25px; left: 0;
    border-left: 50px solid transparent; border-right: 50px solid transparent;
    border-top: 25px solid #bbbcbc;
}
.feature-box .icon i { font-size: 35px; padding-top: 12px; display: block; }
.feature-box .description { padding: 20px 15px 10px; }
.feature-box .description p { font-size: 14px; }
@media (min-width: 768px) { .feature-box-container { margin: 0; } }

/* ─── Sección "Delegados" ────────────────────────────────────── */
#team { background: rgba(0,0,0,.6); }

.team-member-container { max-width: 250px; display: inline-block; margin: 20px 0; }
.team-member { max-width: 220px; padding-bottom: 25px; background: rgba(255,255,255,.15); }
.team-member-placeholder {
    width: 225px; height: 140px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.4);
}
.team-member-profession { color: #ccc; font-size: 12px; margin-top: -3px; display: block; margin-bottom: 5px; }
.team-member .social a { font-size: 12px; width: 26px; height: 26px; line-height: 25px; margin: 0 7px; border: 1px solid rgba(255,255,255,.7); }
.team-member h4 { margin-bottom: 0; margin-top: 15px; }
.team-member p  { font-size: 12px; line-height: 18px; margin: 5px 0; }
.team-member h4, .team-member p { padding: 0 15px; }

.carousel-container { max-width: 1000px; margin: 0 auto; }
.owl-pagination { margin-top: 25px; }
.owl-theme .owl-controls .owl-page.active span { background: #fff; }
.owl-theme .owl-controls .owl-page span {
    border-radius: 0; height: 6px; width: 25px; margin: 5px 3px;
    background: transparent; border: 1px solid #fff;
}
@media (min-width: 1000px) {
    .owl-carousel .owl-item { width: 220px !important; margin: 0 15px; }
}
@media (min-width: 768px) { .team-member-container { margin: 0; } }

/* ─── Contador regresivo ─────────────────────────────────────── */
.contenedor { width: 100%; margin: 0 auto; padding: 20px; }
.contenido {
    background: var(--pbip-gradient-cd);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.1);
    position: relative; overflow: hidden;
    width: 100%; max-width: 1200px; margin: 0 auto;
}
.contenido::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }

.contador {
    display: flex; justify-content: center; align-items: center;
    gap: 15px; flex-wrap: wrap; position: relative; z-index: 2; width: 100%;
}
.responsivo1, .responsivo2 { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }

.cartel {
    background: rgba(255,255,255,.1);
    border-radius: 15px; padding: 15px 12px; text-align: center;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2);
    transition: all .3s ease; min-width: 120px;
    animation: floatAnim 6s ease-in-out infinite;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.cartel:nth-child(1) { animation-delay: 0s; }
.cartel:nth-child(2) { animation-delay: 1.5s; }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.cartel:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 30px rgba(0,229,255,.3); }

#dias, #horas, #minutos, #segundos {
    font-family: 'Orbitron', monospace !important;
    font-size: 2.2em !important; font-weight: 900 !important;
    color: var(--pbip-cyan) !important;
    text-shadow: 0 0 20px rgba(0,229,255,.5) !important;
    display: block !important; margin-bottom: 8px !important;
    animation: glow 2s ease-in-out infinite alternate !important;
    line-height: 1 !important; text-align: center !important; width: 100% !important;
}
@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0,229,255,.5); color: #00e5ff; }
    to   { text-shadow: 0 0 30px rgba(0,229,255,.8), 0 0 40px rgba(0,229,255,.3); color: #40e0d0; }
}
.txt {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 1em !important; font-weight: 600 !important;
    color: rgba(255,255,255,.9) !important;
    text-transform: uppercase !important; letter-spacing: 1px !important;
    margin: 0 !important; text-align: center !important; width: 100% !important;
}
.anchor-decoration {
    position: absolute; top: 15px; right: 25px; font-size: 3em;
    color: rgba(255,255,255,.1); animation: anchorFloat 4s ease-in-out infinite; z-index: 1;
}
@keyframes anchorFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(5deg); } }
.wave-decoration {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.15' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    animation: waveMove 8s linear infinite; z-index: 1;
}
@keyframes waveMove { 0% { background-position-x: 0; } 100% { background-position-x: 1200px; } }

/* ─── Sección "Temas del Foro" ───────────────────────────────── */
.foropbip-temas {
    background: rgba(5,12,32,.55);   /* velo translúcido: el video se ve detrás */
    padding: 80px 0;
}
.section-subtitle {
    color: rgba(255,255,255,.7);
    font-size: .95em;
    text-align: center;
    margin-bottom: 40px;
    margin-top: -15px;
}
.temas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}
.tema-card {
    background: rgba(8,25,70,.68);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 17px 20px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    transition: border-color .25s, background .25s, transform .25s;
    backdrop-filter: blur(6px);
}
.tema-card:hover {
    border-color: rgba(0,229,255,.4);
    background: rgba(10,35,90,.8);
    transform: translateY(-2px);
}
.tema-bullet { color: var(--pbip-cyan); font-size: .75em; margin-top: 4px; flex-shrink: 0; }
.tema-text   { color: rgba(255,255,255,.88); font-size: .92em; line-height: 1.45; }

/* ─── Sección Registro ───────────────────────────────────────── */
.foropbip-registro {
    background: rgba(3,10,28,.5);   /* velo translúcido: el video se ve detrás */
    padding: 80px 0;
}
.registro-card {
    background: rgba(8,22,62,.78);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 680px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}
.registro-label {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: .78em;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
}
.registro-label .required { color: var(--pbip-cyan); }
.registro-card .form-control {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color .2s, background .2s;
}
.registro-card .form-control::placeholder { color: rgba(255,255,255,.35); }
.registro-card .form-control:focus {
    background: rgba(255,255,255,.11);
    border-color: rgba(0,229,255,.5);
    box-shadow: 0 0 0 2px rgba(0,229,255,.1);
    color: #fff;
    outline: none;
}
.btn-registro {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #c9a84c, #e6c96a);
    color: #1a1000;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1em;
    padding: 14px;
    border-radius: 50px;
    border: none;
    transition: all .3s ease;
    cursor: pointer;
    letter-spacing: .5px;
    margin-top: 6px;
}
.btn-registro:hover {
    background: linear-gradient(135deg, #e0ba5a, #f0d080);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201,168,76,.5);
}
#foropbip-registro-message.success { color: #4caf50; margin-top: 14px; }
#foropbip-registro-message.error   { color: #f44336; margin-top: 14px; }

/* ─── Sección Patrocinadores ─────────────────────────────────── */
.sponsors-section {
    background: transparent;
    padding: 70px 0;
    position: relative;
}
.sponsors-white-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 12px 50px rgba(0,0,0,.35);
}
.sponsors-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.sponsor-logo-item img {
    max-height: 72px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity .3s;
}
.sponsor-logo-item img:hover { opacity: .85; }
.sponsor-logo-placeholder {
    color: #555;
    font-size: .9em;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
}

/* Legacy sponsor classes (para compatibilidad) */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px; max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.sponsor-card {
    background: rgba(255,255,255,.5); border-radius: 12px; padding: 25px 18px;
    text-align: center; backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    transition: all .4s ease;
}
.sponsor-card:hover { background: rgba(255,255,255,.12); transform: translateY(-8px); }
.sponsor-logo {
    width: 140px; height: 90px; background: transparent; border-radius: 8px;
    margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.sponsor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-name     { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.sponsor-name a   { color: #fff; }
.sponsor-category { color: #ccc; font-size: .85rem; opacity: .8; }

/* ─── Agenda / Timeline ──────────────────────────────────────── */
.agenda-timeline-container {
    background: rgba(255,255,255,.05); border-radius: 15px; padding: 0;
    margin: 20px 0; backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1); overflow: hidden;
}
.timeline-nav {
    background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.05));
    padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1);
    position: sticky; top: var(--pbip-nav-height); z-index: 100;
}
.nav-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 15px; }
.tab-btn {
    background: linear-gradient(135deg, #76b1f0, #5484b8);
    border: 2px solid rgba(255,255,255,.2); color: white;
    padding: 15px 25px; border-radius: 12px; cursor: pointer;
    transition: all .3s ease; display: flex; flex-direction: column;
    align-items: center; gap: 5px; min-width: 120px; font-family: inherit;
}
.tab-btn:hover    { border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.tab-btn.active   { background: linear-gradient(135deg, #007bff, #0056b3); border-color: #007bff; box-shadow: 0 5px 15px rgba(0,123,255,.3); }
.tab-title { font-weight: 600; font-size: 1.1rem; }
.tab-date  { font-size: .85rem; opacity: .8; }

.progress-track { height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.progress-fill  { height: 100%; background: linear-gradient(90deg, #007bff, #28a745); border-radius: 2px; transition: width .3s ease; }

.day-timeline      { display: none; padding: 10px 20px; }
.day-timeline.active { display: block; animation: fadeInUp .5s ease; }
.timeline-header   { text-align: center; margin-bottom: 20px; color: white; }
.timeline-header h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: white; }
.day-subtitle      { font-size: 1rem; opacity: .8; }

.timeline-track    { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line     { position: absolute; left: 30px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #007bff, #28a745, #ffc107, #dc3545); border-radius: 2px; }
.timeline-item     { position: relative; margin-bottom: 25px; padding-left: 80px; }
.timeline-marker   {
    position: absolute; left: 15px; top: 15px;
    width: 30px; height: 30px; background: #007bff;
    border: 3px solid white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.timeline-marker i { font-size: .6rem; color: white; }
.timeline-card {
    background: rgba(255,255,255,.95); border-radius: 12px; padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1); border-left: 4px solid #007bff;
    transition: all .3s ease;
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.card-time       { font-size: 1rem; font-weight: 700; color: #007bff; margin-bottom: 10px; text-transform: uppercase; }
.card-content h5 { font-size: 1rem; font-weight: 600; color: #333; margin-bottom: 10px; }
.speaker-name    { font-size: .9rem; color: #666; font-style: italic; display: block; margin-bottom: 3px; }
.event-type      { display: inline-block; background: #007bff; color: white; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 15px; text-transform: uppercase; }

/* Colores por tipo de evento */
.timeline-item.keynote      .timeline-marker,
.timeline-item.keynote      .event-type  { background: #dc3545; }
.timeline-item.keynote      .timeline-card { border-left-color: #dc3545; }
.timeline-item.panel        .timeline-marker,
.timeline-item.panel        .event-type  { background: #28a745; }
.timeline-item.panel        .timeline-card { border-left-color: #28a745; }
.timeline-item.break        .timeline-marker,
.timeline-item.break        .event-type  { background: #ffc107; color: #333; }
.timeline-item.break        .timeline-card { border-left-color: #ffc107; }
.timeline-item.lunch        .timeline-marker,
.timeline-item.lunch        .event-type  { background: #fd7e14; }
.timeline-item.lunch        .timeline-card { border-left-color: #fd7e14; }
.timeline-item.registration .timeline-marker,
.timeline-item.registration .event-type  { background: #6f42c1; }
.timeline-item.registration .timeline-card { border-left-color: #6f42c1; }
.timeline-item.closing .timeline-marker, .timeline-item.final .timeline-marker,
.timeline-item.closing .event-type,      .timeline-item.final .event-type  { background: #e83e8c; }
.timeline-item.closing .timeline-card,   .timeline-item.final .timeline-card { border-left-color: #e83e8c; }

/* ─── Sección Contacto ───────────────────────────────────────── */
.foropbip-contact { background: rgba(0,30,60,.6); }
.foropbip-contact .form-control {
    background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.3); border-radius: 0;
}
.foropbip-contact .form-control::placeholder { color: rgba(255,255,255,.6); }
.foropbip-contact .form-control:focus {
    background: rgba(255,255,255,.15); border-color: var(--pbip-cyan);
    box-shadow: none; color: #fff;
}
.list-contacts { list-style: none; padding-left: 0; margin: 2em 0; }
.list-contacts li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 12px; }
.list-contacts .fa, .list-contacts .fab { margin-top: 4px; color: var(--pbip-cyan); }

#foropbip-contact-message.success { color: #4caf50; }
#foropbip-contact-message.error   { color: #f44336; }

/* ─── Footer ─────────────────────────────────────────────────── */
.foropbip-footer { background: rgba(0,20,45,.75); padding: 30px 0 20px; margin-top: 0; }
.foropbip-inner-footer { margin-top: 40px; }
.social { margin-top: 20px; font-size: 14px; }
.social a {
    font-size: 1.1em; padding: 0 .3em; border: 1px solid #fff;
    margin: 0 5px; width: 30px; height: 30px;
    display: inline-block; line-height: 28px;
}
p.copyright { margin-top: 20px; color: #fff; text-align: center; font-size: 14px; }

/* ─── 404 ────────────────────────────────────────────────────── */
.section-404 { background: var(--pbip-dark); }

/* ─── Animaciones ────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .fixed-logo { display: none; }
}
@media (max-width: 768px) {
    .section-title { font-size: 1.5em !important; }
    .hero-main-title { font-size: 3.5em; }
    .hero-tagline { font-size: .65em; padding: 7px 14px; }
    .hero-location { font-size: 1.05em; }
    .hero-stats { gap: 0; }
    .hero-stat  { padding: 8px 12px; min-width: 80px; }
    .hero-stat-label { font-size: .55em; }
    .temas-grid { grid-template-columns: 1fr; }
    .registro-card { padding: 28px 20px; margin: 0 10px; }
    .sponsors-white-card { padding: 35px 20px; margin: 0 15px; }
    .sponsors-logos-row { gap: 30px; }
    /* legacy */
    .sponsors-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
    .sponsor-card  { padding: 18px 12px; }
    .sponsor-logo  { width: 110px; height: 70px; }
    .contenedor    { padding: 10px; }
    .contenido     { padding: 20px 15px; }
    .cartel        { min-width: 100px; padding: 12px 10px; }
    #dias, #horas, #minutos, #segundos { font-size: 1.8em !important; }
    .nav-tabs      { gap: 8px; }
    .tab-btn       { padding: 12px 15px; min-width: 90px; }
    .timeline-item { padding-left: 60px; }
    .timeline-line { left: 20px; }
    .timeline-marker { left: 5px; width: 25px; height: 25px; }
    .agenda-timeline-container { margin: 10px -15px; border-radius: 0; }
}
@media (max-width: 480px) {
    .hero-main-title { font-size: 2.8em; }
    .hero-hotel-card { flex-direction: column; text-align: center; }
    .hero-hotel-info { text-align: center; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); width: 50%; }
    .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
    .responsivo1, .responsivo2 { flex-direction: column; align-items: center; gap: 10px; }
    .cartel { width: 90px; min-width: 90px; }
}
@media (min-width: 1200px) {
    .cartel          { min-width: 140px; padding: 18px 15px; }
    #dias, #horas, #minutos, #segundos { font-size: 2.4em !important; }
    .hero-main-title { font-size: 6.5em; }
}
