/* VARIABLES Y RESET */
:root {
    --primary: #2563EB;
    /* Azul fuerte */
    --primary-dark: #1e40af;
    --secondary: #3B82F6;
    /* Azul claro */
    --accent: #06b6d4;
    /* Cyan */
    --text-main: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;

    /* Colores semáforo */
    --color-orange: #f97316;
    --color-orange-bg: #fff7ed;
    --color-green: #22c55e;
    --color-green-bg: #f0fdf4;
    --color-blue: #3b82f6;
    --color-blue-bg: #eff6ff;
    --color-gray: #9ca3af;
    --color-gray-bg: #f3f4f6;

    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

.section-padding {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
}

/* BOTONES */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-light {
    background-color: #f3f4f6;
    color: var(--text-main);
}

.btn-light:hover {
    background-color: #e5e7eb;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}



.header.abajo {
    background: #e67815;
}

header {
    width: 100vw;
    height: 11dvh;
    background: rgba(12, 12, 12, .35);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    transition: .6s;

}

.option {
    cursor: pointer;
}



.header__logo {
    width: 63px;
    height: 63px;
}



.header__logo img {
    width: auto;
    height: 100%;
    display: block;
    max-width: 100%;
}

nav {
    width: 70px;
    height: 58px;
}




/* HERO SECTION */

.link-registro {
    text-decoration: none;
    color: black;
}

.link-ubicacion {
    text-decoration: none;
    color: white;
}

.link-ubicacion :hover {
    text-decoration: underline;
}

.hero {
    height: 100dvh;
    width: 100%;
    height: fit-content;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(37, 99, 235, 0.8)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 40px; */
}

.hero-text {
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.icon-box {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.glass-card .label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.glass-card h3 {
    margin: 5px 0;
}

.glass-card .small-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

.pills span {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 4px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat strong {
    font-size: 2rem;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* SOBRE EL CONGRESO */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 30px;
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.icon-circle {
    background: #eff6ff;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* POR QUÉ ASISTIR */
.why-attend {
    background-color: var(--bg-white);
    margin: 80px 0;

}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.check-icon {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.links>* {
    text-align: none;
}

.image-content {

    height: 500px;

}

.image-content figure {
    width: 100%;
    height: 100%;
    background-color: #eee;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.image-content figure img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: contain;
    /* background-position: center; */
    object-fit: cover;
    /* object-position: top; */
}

/* PROGRAMA */
.program {
    background-color: var(--bg-light);
}

.tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    min-width: 200px;
    transition: all 0.2s;
}

.tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.schedule.active {
    display: flex;
}

.schedule {

    max-width: 900px;
    margin: 0 auto;
    display: none;

    flex-direction: column;
    gap: 15px;
    margin-bottom: 100px;
}

.schedule-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: center;
    border-left: 6px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.time {
    width: 140px;
}

.schedule-item .time {
    font-weight: 600;
    min-width: 100px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-item .time::before {
    content: '🕒';
    font-size: 0.9rem;
}

.schedule-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.schedule-item .tag {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.schedule-item .speaker {
    color: var(--primary);
    font-weight: 500;
}

/* Variantes de color agenda */
.schedule-item.orange {
    border-left-color: var(--color-orange);
    background: var(--color-orange-bg);
}

.schedule-item.blue {
    border-left-color: var(--color-blue);
    background: var(--color-blue-bg);
}

.schedule-item.green {
    border-left-color: var(--color-green);
    background: var(--color-green-bg);
}

.schedule-item.gray {
    border-left-color: var(--color-gray);
    background: var(--color-gray-bg);
}

.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-main);
}

.legend .dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 3px;
    margin-right: 5px;
}

.legend .blue {
    background: var(--color-blue);
}

.legend .green {
    background: var(--color-green);
}

.legend .orange {
    background: var(--color-orange);
}

.legend .gray {
    background: var(--color-gray);
}

/* PRECIOS */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.price-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    width: 320px;
    position: relative;
    box-shadow: var(--shadow);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 12px 12px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: -1px;
    /* fix visual gap */
}

.price-card.featured .card-header {
    margin-top: 20px;
}

.card-header h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.price small {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.features li::before {
    content: '';
    margin-right: 5px;
}

/* Los checks ya vienen en el texto del HTML como ejemplo simplificado */

/* CTA FOOTER */
.cta-box {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .img-placeholder {
        height: 300px;
        order: -1;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        width: 100%;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .price-card.featured {
        transform: none;
        width: 100%;
    }

    .price-card {
        width: 100%;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}