/* variables Globales */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --accent: #17a2b8;
    --light-bg: #f8fbff;
    --text-dark: #1f2937;
    --text-light: #6c757d;
    --radius: 12px;
}

/* Reset */
body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding-top: 80px;
}


section {
    padding: 100px 0;
}

h1, h2, h3 {
    letter-spacing: -0.5px;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* NAVBAR */

.navbar {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85) !important;
}

/* HERO */

.hero {
    background: linear-gradient(135deg, #e9f4ff, #ffffff);
    position: relative;
}

.hero h1 {
    font-weight: 700;
}

.hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* CARDS FUTURAS */

.card-modern {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-5px);
}

footer {
    border-top: 3px solid #0056b3;
    margin-top: 50px;
}

    footer p {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }

    /* If you add social icons or links later, this handles their hover state */
    footer a {
        color: #ffffff;
        transition: color 0.3s ease;
        text-decoration: none;
    }

        footer a:hover {
            color: #adb5bd;
        }

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-terms {
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.85;
}

    .recaptcha-terms a {
        text-decoration: none;
    }

        .recaptcha-terms a:hover {
            text-decoration: underline;
        }


/* Modal de anuncio CDMX */
/* Fondo oscuro que cubre toda la pantalla */
.modal-cdmx-anoucement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Transparencia para oscurecer el fondo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que el modal esté por encima de cualquier otro elemento */
}

/* Caja del anuncio */
.colect {
    background-color: #1f2937;
    padding: 35px 30px 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%; /* Responsivo para móviles */
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: system-ui, -apple-system, sans-serif;
}

    /* Posicionamiento y estilo del icono de cerrar */
    .colect > a:first-of-type {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        color: #6c757d;
        cursor: pointer;
        transition: color 0.2s ease-in-out;
    }

        .colect > a:first-of-type:hover {
            color: #dc3545; /* Cambia a rojo al pasar el cursor */
        }

    /* Estilos de los textos */
    .colect h2 {
        margin-top: 0;
        color: var(--text-light);
        font-size: 1.8rem;
    }

    .colect p {
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 25px;
        font-size: 1rem;
    }

/* Clase de utilidad para ocultar el modal mediante JavaScript */
.ocultar-modal {
    display: none !important;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero {
        text-align: center;
    }
}

