* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.uni-logo-header {
    height: 32px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.uni-logo-header:hover {
    opacity: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.logo i {
    color: #06b6d4;
    font-size: 1.7rem;
}

.logo-year {
    color: #06b6d4;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #06b6d4;
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-link:hover {
    color: #06b6d4;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/ExpoTec2026.png') center center / cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg.slide2 {
    background-image: url('../img/ExpoTec_2.png');
}

.hero-bg.slide3 {
    background-image: url('../img/campus-lima-UC.webp');
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 900px;
}

.hero-bg-dots {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.7rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: #06b6d4;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.countdown-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.countdown-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
    margin: 1.2rem auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 1.8rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-info span {
    color: #e2e8f0;
    font-size: 1rem;
}

.hero-info i {
    color: #06b6d4;
    margin-right: 0.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll i {
    font-size: 1rem;
    color: #06b6d4;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1.1rem 2.2rem;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.8rem;
}

.section-header h2 i {
    color: #06b6d4;
    margin-right: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== PONENTES ========== */
.ponentes {
    padding: 6rem 0;
    background: #fff;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
    border: 1px solid rgba(6, 182, 212, 0.08);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.25);
}

.card-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-img-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.card-titulo {
    display: inline-block;
    background: rgba(6, 182, 212, 0.08);
    color: #0891b2;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.card-especialidad {
    color: #06b6d4;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.card-especialidad i {
    margin-right: 0.3rem;
}

.card-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-social {
    display: flex;
    gap: 0.8rem;
}

.card-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
}

.card-social a:hover {
    background: #06b6d4;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== BENEFICIOS ========== */
.beneficios {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.beneficio-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    border: 1px solid rgba(6, 182, 212, 0.06);
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
}

.beneficio-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: #06b6d4;
    transition: all 0.4s;
}

.beneficio-card:hover .beneficio-icon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    transform: scale(1.1);
}

.beneficio-card h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.beneficio-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* ========== INSCRIPCION ========== */
.inscripcion {
    padding: 6rem 0;
    background: #fff;
}

.inscripcion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.inscripcion-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inscripcion-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.inscripcion-info-card:hover {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.03);
}

.inscripcion-info-card i {
    font-size: 1.5rem;
    color: #06b6d4;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inscripcion-info-card strong {
    display: block;
    color: #0f172a;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.inscripcion-info-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #06b6d4;
    margin-right: 0.4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #06b6d4;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-uni {
    margin-top: 0.5rem;
}

.uni-logo-footer {
    height: 38px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.uni-logo-footer:hover {
    opacity: 1;
}

.footer-contacto h4,
.footer-social h4 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-contacto p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contacto i {
    color: #06b6d4;
    width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #06b6d4;
    color: #fff;
    transform: translateY(-3px);
}

.footer-suscribete {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
}

/* ========== SCROLL TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .inscripcion-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(15px);
        padding: 5rem 2rem 2rem;
        transition: right 0.35s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .header-left {
        gap: 1rem;
    }

    .uni-logo-header {
        display: none;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 65px;
        padding: 0.6rem 0.8rem;
    }

    .countdown-num {
        font-size: 1.5rem;
    }

    .hero-info {
        flex-direction: column;
        gap: 0.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-scroll {
        display: none;
    }

    .hero-bg-dots {
        bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .inscripcion-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .inscripcion-info-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 200px;
    }

    .form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-hero {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .card-img {
        height: 240px;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .inscripcion-info-card {
        flex: 1 1 100%;
    }

    .scroll-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }
}
