/* ==========================================
   GRAN ASAMBLEA BOLIVIA 2027
   HOME
========================================== */

:root {
    --primary: #C2DAE8;
    --primary-dark: #AFC8D9;
    --secondary: #40515C;
    --accent: #F2E6B1;
    --dark: #40515C;
    --text: #475467;
    --light: #F7E0E8;
    --white: #ffffff;
    --border: #D7E2E9;
}


/* ==========================================
   GENERAL
========================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
}

section {
    scroll-margin-top: 80px;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}

.section {
    padding: 110px 0;
}


/* ==========================================
   NAVBAR
========================================== */

.event-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 24, 39, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-container {
    width: min(1200px, 90%);
    height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.event-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-main {
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-year {
    margin-top: 5px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}


/* MENU */

.event-navbar .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
}

.event-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .event-menu a {
        color: rgba(255,255,255,.8);
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: .25s;
    }

        .event-menu a:hover {
            color: white;
        }


/* BOTÓN REGISTRO */

.navbar-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 6px;
    background: var(--accent);
    color: #111827;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: .25s;
}

    .navbar-register:hover {
        color: #111827;
        transform: translateY(-2px);
    }


/* BOTÓN MOBILE */

.navbar-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 8px;
}

    .navbar-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px;
        background: white;
    }


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 760px;
    position: relative;
    padding-top: 78px;
    display: flex;
    align-items: center;
    background: linear-gradient( 270deg, rgba(182, 204, 228, 0.95), rgba(182, 204, 228, 0.70), rgba(182, 204, 228, 0.25) ), url("/images/hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: auto;
    color: #40515C;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 900px;
    margin: 25px 0;
    font-size: clamp(50px, 8vw, 100px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -3px;
}

    .hero h1 span {
        display: block;
        color: var(--accent);
    }

.hero-text {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,.82);
}

.hero-details {
    display: flex;
    gap: 50px;
    margin: 40px 0;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-icon {
    font-size: 28px;
}

.hero-detail small {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: .65;
}

.hero-detail strong {
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}


/* ==========================================
   BOTONES
========================================== */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 28px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: .3s;
}

.btn-primary {
    background: var(--accent);
    color: #111827;
}

    .btn-primary:hover {
        color: #111827;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,.2);
    }

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
}

    .btn-outline:hover {
        background: white;
        color: var(--dark);
    }


/* ==========================================
   HERO SCROLL
========================================== */

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,.6);
    font-size: 9px;
    letter-spacing: 2px;
}

    .hero-scroll div {
        margin-top: 8px;
        font-size: 20px;
    }


/* ==========================================
   INFORMACIÓN RÁPIDA
========================================== */

.event-info {
    position: relative;
    z-index: 5;
    background: white;
    box-shadow: 0 -10px 40px rgba(0,0,0,.08);
}

.event-info-container {
    width: min(1200px, 90%);
    margin: auto;
    padding: 25px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.info-icon {
    font-size: 28px;
}

.info-card span {
    display: block;
    color: #98a2b3;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.info-card strong {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}


/* ==========================================
   TITULOS
========================================== */

.section-label {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

    .section-heading h2,
    .about-content h2,
    .location-content h2,
    .registration-content h2 {
        margin: 15px 0 20px;
        font-size: clamp(38px, 5vw, 60px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

        .section-heading h2 span,
        .about-content h2 span,
        .location-content h2 span,
        .registration-content h2 span {
            color: var(--secondary);
        }

    .section-heading p,
    .about-content p,
    .location-content p {
        color: var(--text);
        font-size: 17px;
        line-height: 1.8;
    }


/* ==========================================
   SOBRE EL EVENTO
========================================== */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


/* ==========================================
   CARRUSEL
========================================== */

.event-carousel {
    position: relative;
    width: 85%;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 20px;
    background: #C2DAE8;
}


/* CONTENEDOR */

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}


/* CADA IMAGEN */

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}


    /* IMAGEN ACTIVA */

    .carousel-slide.active {
        opacity: 1;
        pointer-events: auto;
    }


    /* IMAGEN */

    .carousel-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        background-color: #C2DAE8;
    }


/* ==========================================
   BOTONES
========================================== */

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #40515C;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all .25s ease;
}


    .carousel-button:hover {
        background: #F2E6B1;
        transform: translateY(-50%) scale(1.08);
    }


.carousel-prev {
    left: 15px;
}


.carousel-next {
    right: 15px;
}


/* ==========================================
   INDICADORES
========================================== */

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}


.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: all .3s ease;
}


    .carousel-dot.active {
        width: 25px;
        border-radius: 10px;
        background: #F2E6B1;
    }


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .event-carousel {
        width: 90%;
        height: 400px;
    }
}


@media (max-width: 600px) {

    .event-carousel {
        width: 100%;
        height: 320px;
        border-radius: 15px;
    }
}


/* ==========================================
   TEXTO
========================================== */

.about-content {
    max-width: 550px;
}


.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary);
    font-weight: 800;
    text-decoration: none;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .event-carousel {
        width: 90%;
        height: 400px;
    }
}


@media (max-width: 600px) {

    .event-carousel {
        width: 100%;
        height: 320px;
        border-radius: 15px;
    }
}

/* ==========================================
   OBJETIVOS
========================================== */

.objectives {
    background: white;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.objective-card {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .3s;
}

    .objective-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.07);
    }

.objective-number {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
}

.objective-card h3 {
    font-size: 24px;
}

.objective-card p {
    color: var(--text);
    line-height: 1.7;
}


/* ==========================================
   PROGRAMA
========================================== */

.program {
    background: var(--light);
}

.program-list {
    max-width: 900px;
    margin: auto;
}

.program-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    padding: 30px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.program-date {
    text-align: center;
    color: var(--secondary);
}

    .program-date span {
        display: block;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .program-date strong {
        font-size: 40px;
    }

.program-time {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.program-content h3 {
    margin: 7px 0;
    font-size: 20px;
}

.program-content p {
    margin: 0;
    color: var(--text);
}


/* ==========================================
   REGISTRO
========================================== */

.registration {
    position: relative;
    padding: 100px 0;
    background: linear-gradient( 90deg, rgba(15,42,67,.98), rgba(15,42,67,.85) );
}

.registration-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    color: white;
}

    .registration-content p {
        max-width: 600px;
        color: rgba(255,255,255,.7);
        line-height: 1.7;
    }


/* ==========================================
   UBICACIÓN
========================================== */

.location {
    background: white;
}

.location-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.location-details {
    margin-top: 30px;
}

    .location-details div {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .location-details strong {
        font-size: 13px;
    }

    .location-details span {
        color: var(--text);
    }

.map-placeholder {
    height: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: linear-gradient( 135deg, #e2e8f0, #f8fafc );
}

    .map-placeholder div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .map-placeholder span {
        font-size: 50px;
    }

    .map-placeholder strong {
        font-size: 15px;
    }

    .map-placeholder small {
        color: #64748b;
    }


/* ==========================================
   ORGANIZADORES
========================================== */

.organizers {
    background: var(--light);
}

.organizers-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.organization-logo {
    width: 180px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #98a2b3;
    font-weight: 700;
}


/* ==========================================
   FOOTER
========================================== */

.event-footer {
    background: #081422;
    color: white;
    padding-top: 70px;
}

.footer-container {
    width: min(1200px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-year {
    margin-top: 5px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.footer-brand p {
    margin-top: 20px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    font-size: 14px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .footer-links h4,
    .footer-contact h4 {
        margin: 0 0 20px;
        font-size: 11px;
        letter-spacing: 2px;
        color: var(--accent);
    }

    .footer-links a {
        margin-bottom: 12px;
        color: rgba(255,255,255,.65);
        text-decoration: none;
        font-size: 14px;
        transition: .25s;
    }

        .footer-links a:hover {
            color: white;
        }

    .footer-contact p,
    .footer-contact a {
        margin: 0 0 10px;
        color: rgba(255,255,255,.65);
        text-decoration: none;
        font-size: 14px;
    }

        .footer-contact a:hover {
            color: white;
        }

.footer-bottom {
    width: min(1200px, 90%);
    margin: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.4);
    font-size: 12px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .navbar-toggle {
        display: block;
    }

    .event-navbar .navbar-collapse {
        width: 100%;
        background: #0a1828;
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .event-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .navbar-register {
        width: 100%;
    }

    .event-info-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .registration-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .hero {
        min-height: 720px;
    }

        .hero h1 {
            letter-spacing: -2px;
        }

    .hero-details {
        flex-direction: column;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .event-info-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .program-item {
        grid-template-columns: 70px 1fr;
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    /* ==========================================
   PÁGINA DE REGISTRO
========================================== */

    .registration-page {
        min-height: calc(100vh - 78px);
        padding: 150px 0 100px;
        background: linear-gradient( 135deg, #f8fafc, #eef2f7 );
    }

    .registration-container {
        width: min(1000px, 90%);
        margin: auto;
    }


    /* ENCABEZADO */

    .registration-header {
        max-width: 750px;
        margin: 0 auto 60px;
        text-align: center;
    }

        .registration-header h1 {
            margin: 15px 0;
            font-size: clamp(45px, 6vw, 70px);
            line-height: 1;
            letter-spacing: -3px;
        }

            .registration-header h1 span {
                color: var(--secondary);
            }

        .registration-header p {
            max-width: 650px;
            margin: auto;
            color: var(--text);
            font-size: 17px;
            line-height: 1.7;
        }


    /* FORMULARIO */

    .registration-form {
        background: white;
        border: 1px solid var(--border);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 25px 70px rgba(15,42,67,.08);
    }

    .form-section {
        padding: 45px;
        border-bottom: 1px solid var(--border);
    }

    .form-section-header {
        display: flex;
        gap: 20px;
        margin-bottom: 35px;
    }

        .form-section-header > span {
            color: var(--accent);
            font-size: 13px;
            font-weight: 800;
        }

        .form-section-header h2 {
            margin: 0 0 7px;
            font-size: 23px;
        }

        .form-section-header p {
            margin: 0;
            color: #98a2b3;
            font-size: 14px;
        }


    /* GRID */

    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .form-full {
        grid-column: 1 / -1;
    }


    /* INPUTS */

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .form-group label {
            color: #344054;
            font-size: 13px;
            font-weight: 700;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            box-sizing: border-box;
            padding: 15px 16px;
            border: 1px solid #d0d5dd;
            border-radius: 8px;
            background: white;
            color: #101828;
            font-family: inherit;
            font-size: 14px;
            outline: none;
            transition: .2s;
        }

            .form-group input::placeholder {
                color: #98a2b3;
            }

            .form-group input:focus,
            .form-group select:focus {
                border-color: var(--secondary);
                box-shadow: 0 0 0 3px rgba(29,78,216,.10);
            }


    /* TÉRMINOS */

    .form-terms {
        padding: 30px 45px;
        background: #f8fafc;
    }

    .checkbox-container {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
    }

        .checkbox-container input {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: var(--secondary);
        }

    .terms-text {
        color: #667085;
        font-size: 13px;
        line-height: 1.6;
    }


    /* SUBMIT */

    .form-submit {
        padding: 35px 45px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .registration-submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 17px 28px;
        border: none;
        border-radius: 7px;
        background: var(--accent);
        color: #111827;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .5px;
        cursor: pointer;
        transition: .25s;
    }

        .registration-submit span {
            font-size: 20px;
            transition: .25s;
        }

        .registration-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0,0,0,.12);
        }

            .registration-submit:hover span {
                transform: translateX(5px);
            }

    .form-submit p {
        margin: 0;
        color: #98a2b3;
        font-size: 12px;
    }


    /* ==========================================
   REGISTRO EXITOSO
========================================== */

    .registration-success {
        max-width: 650px;
        margin: auto;
        padding: 70px 50px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 25px 70px rgba(15,42,67,.08);
    }

    .success-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #ecfdf3;
        color: #039855;
        font-size: 35px;
        font-weight: 700;
    }

    .registration-success h2 {
        margin-bottom: 15px;
        font-size: 32px;
    }

    .registration-success p {
        max-width: 500px;
        margin: 0 auto 30px;
        color: var(--text);
        line-height: 1.7;
    }

    .registration-back {
        display: inline-flex;
        padding: 14px 25px;
        border-radius: 7px;
        background: var(--primary);
        color: white;
        text-decoration: none;
        font-size: 12px;
        font-weight: 800;
        transition: .25s;
    }

        .registration-back:hover {
            background: var(--secondary);
            color: white;
        }


    /* ==========================================
   REGISTRO RESPONSIVE
========================================== */

    @media (max-width: 700px) {

        .registration-page {
            padding: 120px 0 60px;
        }

        .form-section {
            padding: 30px 25px;
        }

        .form-grid {
            grid-template-columns: 1fr;
        }

        .form-full {
            grid-column: auto;
        }

        .form-terms {
            padding: 25px;
        }

        .form-submit {
            padding: 30px 25px;
            flex-direction: column;
            align-items: stretch;
        }

        .registration-submit {
            width: 100%;
        }

        .form-submit p {
            text-align: center;
        }

        .registration-success {
            padding: 50px 25px;
        }
    }
}
