/* ==========================================================================
   VARIABLES DE COLOR Y FUENTES
   ========================================================================== */
:root {
    /* Colores Tech/Neón (Para el Inicio) */
    --tech-bg: #28375d;       /* Azul Oscuro Profundo */
    --tech-dark: #17213b;     /* Azul aún más oscuro para gradientes */
    --tech-purple: #7f30cb;   /* Morado Vibrante */
    --tech-cyan: #01dcba;     /* Turquesa Neón */

    /* Colores Claros (Para el resto del contenido) */
    --bg-light: #FDF2E9;      /* Beige/Crema Suave */
    --bg-alt: #E6EBF1;        /* Gris Azulado Claro */
    --text-color: #17213b;    /* Texto principal oscuro */
    --text-muted: #57606a;    /* Texto secundario gris */

    --font-main: 'Poppins', sans-serif;
}

/* ==========================================================================
   RESETS BÁSICOS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   PLACEHOLDERS (Espacios para futuras imágenes)
   ========================================================================== */
.image-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    overflow: hidden;
}

.logo-congreso-top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo-uchile-bottom {
    width: 180px;
    height: 60px;
}

.sponsor-logo {
    width: 100%;
    height: 100px;
    background-color: #d1d8e0; /* Color gris para que resalte en el fondo claro */
    border-color: rgba(0,0,0,0.1);
    color: var(--text-muted);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN
   ========================================================================== */
.navbar {
    background-color: rgba(40, 55, 93, 0.95); /* Azul oscuro semitransparente */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .logo .image-placeholder {
    color: #fff;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
}

.menu a:hover {
    color: var(--tech-cyan);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--tech-cyan);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* ==========================================================================
   SECCIÓN HERO (Inicio Split Moderno con Animación CSS)
   ========================================================================== */
.hero {
    background-color: var(--tech-bg);
    background-image: linear-gradient(135deg, var(--tech-bg) 0%, var(--tech-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    min-height: 90vh;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text .subtitle {
    color: var(--tech-cyan);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-text h1 .highlight {
    background: linear-gradient(to right, var(--tech-cyan), var(--tech-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-fecha {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(1, 220, 186, 0.4);
    border-bottom: 1px solid rgba(1, 220, 186, 0.4);
    padding: 10px 30px;
    display: inline-block;
}

/* Botones Hero */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--tech-cyan);
    color: var(--tech-dark);
    border: 2px solid var(--tech-cyan);
    box-shadow: 0 4px 15px rgba(1, 220, 186, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--tech-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--tech-purple);
}

.btn-secondary:hover {
    background-color: var(--tech-purple);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 48, 203, 0.3);
}

/* ==========================================================================
   HERO IMAGE (SVG Animado Acuicultura)
   ========================================================================== */
.hero-image {
    flex: 1;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   ESTILOS GENERALES DE SECCIONES (Claros)
   ========================================================================== */
.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-alt { background-color: var(--bg-alt); }

h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--tech-bg);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--tech-cyan);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Nosotros */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.italic-quote {
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--tech-purple);
    padding-left: 20px;
    font-size: 1.1rem;
}

/* Temario */
.temario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tema-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tema-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--tech-cyan);
}

.tema-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--tech-purple);
}

.tema-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sponsors */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--tech-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo .image-placeholder {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   ANIMACIONES (Keyframes)
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes morph-ring {
    0% { transform: rotate(0deg) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { transform: rotate(180deg) scale(1.05); border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes pulse-glow {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.9; }
}

.fade-in-up { animation: fadeInUp 1s ease-out forwards; }
.fade-in-down { animation: fadeInDown 1s ease-out forwards; }

/* ==========================================================================
   RESPONSIVIDAD (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    .hero-text { text-align: center; }
    .hero-buttons { justify-content: center; }

    .hero-text h1 { font-size: 3rem; }

    .hero-image {
        max-width: 300px;
        margin-top: 30px;
    }

    .grid-2, .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .menu { display: none; /* Idealmente aquí iría un menú hamburguesa luego */ }
}
/* ==========================================================================
   LOGOS
   ========================================================================== */
.navbar-logo-img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(1.05);
}
.hero-logo-img {
    height: 260px;
    width: auto;
    max-width: 440px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(1,220,186,0.25));
}

/* ==========================================================================
   HERO – canvas + layout centrado
   ========================================================================== */
.hero { position: relative; overflow: hidden; }

#hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

.hero-layout {
    position: relative; z-index: 2;
    display: flex; justify-content: center; align-items: center;
}

.hero-center {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 30px;
}

.hero-logo-wrap { display: flex; justify-content: center; }

.hero-logo-placeholder {
    width: 140px; height: 140px; border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    border: 2.5px dashed rgba(1,220,186,0.55);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 6px;
    cursor: pointer; transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.hero-logo-placeholder:hover {
    background-color: rgba(1,220,186,0.12);
    border-color: rgba(1,220,186,0.85);
    transform: scale(1.04);
}
.hero-logo-placeholder .hero-logo-icon { font-size: 2.2rem; line-height: 1; }
.hero-logo-placeholder p {
    font-size: 0.7rem; color: rgba(1,220,186,0.8);
    font-weight: 600; letter-spacing: 1px; margin: 0;
}

.hero-text { text-align: center; max-width: 680px; }
.hero-buttons { justify-content: center; }

/* ==========================================================================
   INSCRIPCIONES
   ========================================================================== */
.inscripciones {
    background: linear-gradient(135deg, var(--tech-dark) 0%, var(--tech-bg) 100%);
    position: relative; overflow: hidden;
}
.inscripciones::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(1,220,186,0.08) 0%, transparent 65%),
                radial-gradient(ellipse at 20% 80%, rgba(127,48,203,0.07) 0%, transparent 55%);
    pointer-events: none;
}
.inscripciones h2 { color: #ffffff; border-left: none !important; padding-left: 0 !important; }
.inscripciones h2::before { display: none !important; content: none !important; }
.inscripciones h2::after { background-color: var(--tech-cyan); }

.insc-card {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(1,220,186,0.25);
    border-radius: 20px;
    padding: 60px 50px;
    max-width: 680px; margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(6px);
}

.insc-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(1,220,186,0.12);
    border: 1px solid rgba(1,220,186,0.4);
    border-radius: 50px;
    padding: 8px 22px;
    margin-bottom: 28px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--tech-cyan); letter-spacing: 2px;
    text-transform: uppercase;
}
.insc-badge::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background-color: var(--tech-cyan);
    animation: pulse-dot 1.8s ease-in-out infinite;
}
.insc-badge-open {
    background: rgba(1,220,186,0.18);
    border-color: rgba(1,220,186,0.6);
    color: #01ffcc;
    box-shadow: 0 0 20px rgba(1,220,186,0.2);
}
.insc-badge-open::before { background-color: #01ffcc; }

@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

.insc-date {
    font-size: 2.4rem; font-weight: 700;
    color: #ffffff; line-height: 1.2; margin-bottom: 16px;
}
.insc-date span { color: var(--tech-cyan); }

.insc-desc {
    color: rgba(255,255,255,0.65);
    font-size: 1rem; line-height: 1.7; margin-bottom: 36px;
}

.insc-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-insc-primary {
    background: var(--tech-cyan); color: var(--tech-dark);
    border: 2px solid var(--tech-cyan);
    padding: 14px 36px; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s;
    text-decoration: none; display: inline-block;
}
.btn-insc-primary:hover {
    background: transparent; color: var(--tech-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1,220,186,0.25);
}

.btn-insc-ghost {
    background: transparent; color: rgba(255,255,255,0.75);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 14px 36px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s;
    text-decoration: none; display: inline-block;
}
.btn-insc-ghost:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff; transform: translateY(-2px);
}

.insc-deco {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(1,220,186,0.08);
    pointer-events: none;
}
.insc-deco-1 { width: 400px; height: 400px; top: -100px; right: -80px; }
.insc-deco-2 { width: 250px; height: 250px; bottom: -60px; left: -40px; border-color: rgba(127,48,203,0.1); }

/* ==========================================================================
   LUGAR
   ========================================================================== */
.lugar-section { padding: 0; background-color: var(--bg-alt); }

.lugar-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.lugar-info {
    background: linear-gradient(135deg, var(--tech-bg) 0%, #1e2e52 100%);
    padding: 80px 60px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.lugar-info::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(1,220,186,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.lugar-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
}
.lugar-eyebrow::before {
    content: '';
    width: 4px; height: 36px;
    background: var(--tech-cyan);
    border-radius: 2px; flex-shrink: 0;
}
.lugar-eyebrow h2 {
    font-size: 2.2rem; color: #fff;
    text-align: left; margin: 0;
}
.lugar-eyebrow h2::after { display: none; }

.lugar-venue-name {
    font-size: 1.4rem; font-weight: 700;
    color: var(--tech-cyan); margin-bottom: 8px;
    line-height: 1.3;
}
.lugar-venue-sub {
    font-size: 1rem; color: rgba(255,255,255,0.55);
    margin-bottom: 28px; font-weight: 400;
}
.lugar-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem; line-height: 1.8;
    margin-bottom: 32px;
}
.lugar-address-block {
    background: rgba(1,220,186,0.08);
    border: 1px solid rgba(1,220,186,0.2);
    border-radius: 12px; padding: 18px 22px;
    margin-bottom: 28px;
}
.lugar-address-block strong {
    display: block; color: var(--tech-cyan);
    font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 6px;
}
.lugar-address-block p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem; line-height: 1.6; margin: 0;
}
.btn-lugar {
    display: inline-block;
    background: var(--tech-cyan); color: var(--tech-dark);
    padding: 13px 32px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    text-decoration: none; transition: all 0.3s;
    align-self: flex-start;
}
.btn-lugar:hover {
    background: transparent; color: var(--tech-cyan);
    box-shadow: 0 0 0 2px var(--tech-cyan);
    transform: translateY(-2px);
}
.lugar-map {
    width: 100%; height: 100%; min-height: 520px;
    border: none;
}

/* ==========================================================================
   TEMARIO REDISEÑADO
   ========================================================================== */
.temario-new {
    background: linear-gradient(160deg, var(--tech-dark) 0%, #1a2540 60%, var(--tech-bg) 100%) !important;
    position: relative;
    overflow: hidden;
}
.temario-new h2,
.inscripciones h2,
.sponsors-section h2 {
    border-left: none !important;
    padding-left: 0 !important;
}
.temario-new h2::before,
.inscripciones h2::before,
.sponsors-section h2::before {
    display: none !important;
    content: none !important;
}

.temario-title { color: #ffffff; border-left: none !important; padding-left: 0 !important; }
.temario-title::after { background-color: var(--tech-cyan); }
.temario-title::before { display: none !important; content: none !important; }

.temario-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.temario-deco-1 {
    width: 500px; height: 500px; top: -160px; left: -100px;
    background: radial-gradient(circle, rgba(1,220,186,0.06) 0%, transparent 70%);
}
.temario-deco-2 {
    width: 400px; height: 400px; bottom: -100px; right: -80px;
    background: radial-gradient(circle, rgba(127,48,203,0.07) 0%, transparent 70%);
}

.temario-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    position: relative; z-index: 1;
}

.tema-card-new {
    position: relative;
    background: rgba(255,255,255,0.04) !important;
    border-radius: 14px;
    padding: 28px 28px 28px 24px;
    display: flex; align-items: flex-start; gap: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.tema-card-new.cyan  { border: 1px solid rgba(1, 220, 186, 0.25) !important; }
.tema-card-new.purple { border: 1px solid rgba(127, 48, 203, 0.3) !important; }
.tema-card-new:hover { transform: translateY(-5px); }
.tema-card-new.cyan:hover {
    background: rgba(1, 220, 186, 0.08) !important;
    box-shadow: 0 12px 40px rgba(1, 220, 186, 0.15), 0 0 0 1px rgba(1, 220, 186, 0.4);
}
.tema-card-new.purple:hover {
    background: rgba(127, 48, 203, 0.09) !important;
    box-shadow: 0 12px 40px rgba(127, 48, 203, 0.15), 0 0 0 1px rgba(127, 48, 203, 0.4);
}

.tema-num {
    font-size: 2.6rem; font-weight: 700; line-height: 1;
    flex-shrink: 0; letter-spacing: -2px;
    font-family: var(--font-main); opacity: 0.22;
    transition: opacity 0.3s; align-self: flex-start; padding-top: 2px;
}
.tema-card-new.cyan .tema-num   { color: var(--tech-cyan); }
.tema-card-new.purple .tema-num { color: #9b52e0; }
.tema-card-new:hover .tema-num  { opacity: 0.55; }

.tema-content { flex: 1; }
.tema-card-new h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 8px; line-height: 1.4; transition: color 0.3s;
}
.tema-card-new.cyan h3   { color: rgba(255,255,255,0.95) !important; }
.tema-card-new.purple h3 { color: rgba(255,255,255,0.95) !important; }
.tema-card-new.cyan:hover h3   { color: var(--tech-cyan) !important; }
.tema-card-new.purple:hover h3 { color: #b07cf0 !important; }

.tema-card-new p {
    font-size: 0.85rem; color: rgba(255,255,255,0.55) !important;
    line-height: 1.65; margin: 0; transition: color 0.3s;
}
.tema-card-new:hover p { color: rgba(255,255,255,0.75) !important; }

.tema-glow {
    position: absolute; top: -20px; right: -20px;
    width: 80px; height: 80px; border-radius: 50%;
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.tema-card-new.cyan  .tema-glow { background: radial-gradient(circle, rgba(1,220,186,0.25) 0%, transparent 70%); }
.tema-card-new.purple .tema-glow { background: radial-gradient(circle, rgba(127,48,203,0.28) 0%, transparent 70%); }
.tema-card-new:hover .tema-glow { opacity: 1; }

/* ==========================================================================
   AUSPICIADORES Y PATROCINADORES
   ========================================================================== */
.patrocinadores-section {
    background: var(--tech-dark);
    padding: 80px 0;
}

.patr-label {
    text-align: center;
    font-size: 0.72rem; font-weight: 700;
    color: var(--tech-cyan); letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 8px;
}

.patr-title {
    font-size: 2.4rem; font-weight: 700;
    color: #fff; text-align: center; margin-bottom: 10px;
}
.patr-title::after { display: none; }

.patr-desc { color: rgba(255,255,255,0.4) !important; margin-bottom: 40px !important; }

.patrocinadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.patr-grid-small {
    grid-template-columns: repeat(4, minmax(160px, 200px));
    justify-content:center;
 }
/*
.patr-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 24px 20px;
    display: flex; justify-content: center; align-items: center;
    min-height: 110px; transition: all 0.3s;
}
*/

.patr-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px; /* Reducido de 24px 20px para liberar mucho más espacio interno */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 130px; /* Aumentado ligeramente para dar un formato más simétrico y limpio */
    transition: all 0.3s;
}

.patr-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(1,220,186,0.25);
    transform: translateY(-4px);
}

/*
.patr-card img {
    max-width: 100%; max-height: 120px;
    object-fit: contain; opacity: 0.75; transition: opacity 0.3s;
}
*/

.patr-card img {
    width: 100%;        /* Obliga al logo a ensancharse hasta el límite de la tarjeta */
    height: 100%;       /* Obliga al logo a estirarse hasta el límite alto de la tarjeta */
    max-height: 100px;  /* Controla que logos muy verticales no rompan el diseño */
    object-fit: contain; /* Clave: escala el logo al máximo posible sin deformarlo */
    opacity: 0.75;
    transition: opacity 0.3s;
}

.patr-card:hover img { opacity: 1; }

.patr-card.bg-white {
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.15);
}
.patr-card.bg-white:hover {
    background: #ffffff;
    border-color: rgba(1,220,186,0.4);
}
.patr-card.bg-white img { opacity: 1; }

.patr-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 60px 0;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contacto-section {
    background: linear-gradient(135deg, var(--tech-bg) 0%, #1e2e52 100%);
    padding: 100px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.contacto-label {
    font-size: 0.72rem; font-weight: 700;
    color: var(--tech-cyan); letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 10px;
}

.contacto-title {
    font-size: 2.4rem; font-weight: 700;
    color: #fff; margin-bottom: 16px; text-align: left;
}
.contacto-title::after { display: none; }

.contacto-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem; line-height: 1.7; margin-bottom: 36px;
}

.contacto-items { display: flex; flex-direction: column; gap: 22px; }

.contacto-item { display: flex; align-items: flex-start; gap: 16px; }

.contacto-item-icon {
    font-size: 1.3rem; flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(1,220,186,0.1);
    border: 1px solid rgba(1,220,186,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.contacto-item-label {
    font-size: 0.75rem; color: rgba(255,255,255,0.4);
    font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 4px;
}
.contacto-item-value {
    font-size: 0.92rem; color: rgba(255,255,255,0.85);
    line-height: 1.6; text-decoration: none;
}
a.contacto-item-value:hover { color: var(--tech-cyan); }

.contacto-mapa {
    height: 380px; border-radius: 16px;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   FOOTER NUEVO
   ========================================================================== */
.footer-new {
    background: var(--tech-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 50px 0 30px;
}

.footer-organiza {
    display: flex; flex-direction: column;
    align-items: center; gap: 20px; margin-bottom: 36px;
}

.footer-organiza-label {
    font-size: 0.7rem; font-weight: 700;
    color: rgba(255,255,255,0.3);
    letter-spacing: 3px; text-transform: uppercase;
}

.footer-logos {
    display: flex; align-items: center;
    gap: 30px; flex-wrap: wrap; justify-content: center;
}

.footer-logo-img {
    height: 200px; width: auto;
    object-fit: contain; opacity: 0.75; transition: opacity 0.3s;
}
.footer-logo-img:hover { opacity: 1; }

.footer-logos-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.15);
}

.footer-contacto-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.9rem;
}
.footer-linkedin {
    color: rgba(255,255,255,0.4);
    display: flex; align-items: center;
    transition: color 0.3s, transform 0.3s;
}
.footer-linkedin:hover {
    color: #0A66C2;
    transform: translateY(-2px);
}
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
}
.footer-copy p { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

.footer-contacto {
    text-align: center;
    margin-bottom: 28px;
    display: flex; align-items: center;
    justify-content: center; gap: 8px;
}
.footer-contacto-label {
    font-size: 0.8rem; font-weight: 600;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
}
.footer-contacto-email {
    font-size: 0.88rem; color: var(--tech-cyan);
    text-decoration: none; transition: opacity 0.3s;
}
.footer-contacto-email:hover { opacity: 0.75; }

/* ==========================================================================
   RESPONSIVE – TODAS LAS SECCIONES
   ========================================================================== */
@media (max-width: 768px) {
    .navbar-logo-img { height: 42px; }
    .hero-logo-img   { height: 120px; }
    .hero-logo-placeholder { width: 110px; height: 110px; }
    .lugar-split { grid-template-columns: 1fr; }
    .lugar-info { padding: 60px 30px; }
    .lugar-map { min-height: 320px; }
    .insc-card { padding: 40px 24px; }
    .insc-date { font-size: 1.8rem; }
    .temario-grid-new { grid-template-columns: 1fr; }
    .contacto-grid { grid-template-columns: 1fr; }
    .contacto-mapa { height: 260px; }
    .contacto-title { font-size: 1.8rem; }
    .patr-title { font-size: 1.8rem; }
    .patrocinadores-grid { grid-template-columns: repeat(2, 1fr); }
}
