:root {
    --institucional-oscuro: #0C2340;
    /* Azul marino profundo */
    --institucional-celeste: #0EA5E9;
    /* Celeste */
    --institucional-dorado: #DAA520;
    /* Dorado */
    --institucional-claro: #F0F8FF;
    /* Fondo celeste claro */
    --text-main: #1E3A5F;
    /* Azul marino texto */
    --text-muted: #4B7EA6;
    /* Celeste grisáceo */
    --border-color: #BAE6FD;
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- HERO PREMIUM --- */
.bg-institucional-gradient {
    background: linear-gradient(135deg, #0C2340 0%, var(--institucional-oscuro) 50%, #1E3A5F 100%);
    position: relative;
    overflow: hidden;
}

.bg-institucional-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    bottom: -50%;
    left: -20%;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(218, 165, 32, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.titulo-decorativo::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--gradiente-primario);
    margin: 16px auto 0 auto;
    border-radius: 10px;
}

.seccion-titulo {
    color: var(--institucional-oscuro);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.seccion-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: var(--institucional-celeste);
    border-radius: 2px;
}

/* --- BLOQUES DE INFORMACIÓN DE CONTACTO --- */
.contacto-item {
    background: var(--institucional-claro);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.08);
}

.contacto-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-icon-blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--institucional-celeste);
}

.bg-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.bg-icon-red {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

.bg-icon-orange {
    background: rgba(218, 165, 32, 0.1);
    color: var(--institucional-dorado);
}

/* --- REDES SOCIALES --- */
.btn-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    background: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-social:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.btn-social.fb:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.btn-social.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.btn-social.wsp:hover {
    background-color: #25D366;
    border-color: #25D366;
}

/* --- TARJETA DE FORMULARIO --- */
.card-form-contacto {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.05);
}

.form-control-custom {
    background-color: var(--institucional-claro);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background-color: #ffffff;
    border-color: var(--institucional-celeste);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--institucional-oscuro);
    margin-bottom: 6px;
}

.btn-submit-custom {
    background: var(--gradiente-boton);
    color: #ffffff;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
    color: #ffffff;
}

/* --- CONTENEDOR DE MAPA --- */
.map-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.04);
}

/* --- SECCIÓN CTA --- */
.bg-cta-gradient {
    background: linear-gradient(135deg, var(--institucional-oscuro) 0%, #1E3A5F 100%);
    position: relative;
}

.bg-cta-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 85%, rgba(14, 165, 233, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.btn-warning-custom {
    background-color: var(--institucional-dorado);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.btn-warning-custom:hover {
    background-color: var(--dorado-oscuro);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(218, 165, 32, 0.45);
}

/* --- ANIMACIONES --- */
.reveal-detail {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatP {
    0% {
        transform: translateY(100px) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.h-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatP linear infinite;
}