/* ==========================================
    CONTÁCTANOS
    Hoja de estilos complementaria a inicio.css
    Mismas variables y mismo lenguaje visual que
    el resto del sitio. La sección de contacto,
    el formulario y "Canales Digitales" ya están
    resueltos por inicio.css (.contacto-section,
    .social-section) — aquí solo va lo propio de
    esta página: hero, destacado y mapa.
   ========================================== */

/* Variables espejo de inicio.css (por si esta hoja
   se llega a usar sola, sin inicio.css) */
:root {
    --azul-profundo: #002E86;
    --amarillo-vibrante: #FFD500;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --rojo-detalle: #dc2626; /* rojo de validación, distinto del amarillo de marca */
    --negro-texto: #1E293B;
    --gris-oscuro: #64748B;
    --font-titles: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-elegant: 0 10px 30px rgba(0, 46, 134, 0.08);
    --radius-smooth: 12px;
    --transition-clean: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
    CONTENEDOR GENÉRICO
    (inicio.css no define un .container de ancho
    fijo; las secciones de esta página lo usan)
   ========================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
    TÍTULOS DE SECCIÓN
   ========================================== */
.section-title {
    font-family: var(--font-titles);
    font-size: 2rem;
    color: var(--azul-profundo);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--amarillo-vibrante);
    border-radius: 2px;
}

/* ==========================================
    BOTONES
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: var(--radius-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-clean);
}

.btn-yellow {
    background-color: var(--amarillo-vibrante);
    color: var(--azul-profundo);
}

.btn-yellow:hover {
    background-color: var(--azul-profundo);
    color: var(--blanco);
}

.btn-blue {
    background-color: var(--azul-profundo);
    color: var(--blanco);
}

.btn-blue:hover {
    background-color: var(--amarillo-vibrante);
    color: var(--azul-profundo);
}

/* ==========================================
    HERO — mismo lenguaje visual que en el resto
    del sitio (mismo degradé, misma tipografía)
   ========================================== */
.hero-banner {
    position: relative;
    min-height: 45vh;
    background: linear-gradient(135deg, var(--azul-profundo) 65%, #0c43ad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 230px 5% 60px;
}

.hero-overlay {
    display: none; /* el degradé ya cumple esa función, igual que en el resto del sitio */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--blanco);
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--amarillo-vibrante);
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================
    "APÓYANOS" — tarjeta destacada
   ========================================== */
.featured-section {
    padding: 4rem 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--blanco);
    border-radius: var(--radius-smooth);
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    margin-top: 2rem;
    border: 1px solid #f0f4f8;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .date {
    color: var(--azul-profundo);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.featured-content h3 {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--azul-profundo);
    line-height: 1.3;
}

.featured-content p {
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.featured-content .btn {
    align-self: flex-start;
    margin-top: 1rem;
}

/* ==========================================
    MAPA DE UBICACIÓN
   ========================================== */
.mapa-section {
    padding: 4rem 0;
}

.mapa-container {
    border-radius: var(--radius-smooth);
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    width: 100%;
    border: 1px solid #f0f4f8;
}

/* ==========================================
    RESPONSIVE — mismos breakpoints que inicio.css
    (1200 / 992 / 768 / 480)
   ========================================== */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
    .hero-banner {
        min-height: auto;
        padding: 130px 5% 50px;
    }
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
    .hero-banner { padding: 120px 5% 40px; }
    .hero-content h1 { font-size: 2rem; }

    .featured-card { grid-template-columns: 1fr; }
    .featured-content { padding: 1.5rem; }

    .mapa-container iframe { height: 320px; }
}

@media (max-width: 480px) {
    .hero-banner { padding: 110px 5% 35px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p { font-size: 0.95rem; }

    .section-title { font-size: 1.6rem; }

    .mapa-container iframe { height: 260px; }
}
