.contacto-hero {
    padding: 50px 0 0;
    background: linear-gradient(135deg, #0d1f45 0%, #1a3a6b 55%, #1e4fa0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contacto-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.contacto-hero-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
}

.contacto-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.contacto-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.contacto-hero-wave {
    display: block;
    width: 100%;
    margin-bottom: -2px;
}

/* ── SECCIÓN PRINCIPAL ── */
.contacto-section {
    padding: 30px 0 70px;
    background: var(--section-bg);
}

/* ── TARJETAS DE INFO ── */
.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(26,58,107,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26,58,107,0.13);
}

.info-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-title i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--blue-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.info-item i {
    color: var(--blue-light);
    font-size: 1rem;
    margin-top: 2px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}

.info-item a:hover {
    color: var(--blue-light);
}

/* Redes sociales */
.redes-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.btn-red {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-red-fb   { background: #e8f0fe; color: #1877f2; }
.btn-red-wa   { background: #e8f5e9; color: #25d366; }
.btn-red-ig   { background: #fce4ec; color: #e91e63; }
.btn-red-yt   { background: #ffebee; color: #f44336; }
.btn-red-tk   { background: #f3e5f5; color: #6a1b9a; }

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* ── FORMULARIO ── */
.form-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 38px 36px;
    box-shadow: 0 8px 30px rgba(26,58,107,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-card .form-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.campo-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.campo-input {
    width: 100%;
    border: 2px solid #e4eaf5;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 0.93rem;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: #fafbff;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}

.campo-input:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(46,107,196,0.1);
    background: #fff;
}

.campo-input.textarea {
    resize: vertical;
    min-height: 120px;
}

.campo-grupo {
    margin-bottom: 20px;
}

/* Botón enviar */
.btn-enviar {
    background: linear-gradient(135deg, var(--primary), var(--blue-light));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 25px;
    padding: 12px 36px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,58,107,0.25);
    color: #fff;
}

/* Alerta de éxito/error */
.form-alert {
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
}

.form-alert.success {
    background: #e8f5e9;
    color: #1a8a5a;
    border: 1px solid #c8e6c9;
}

.form-alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ── MAPA ── */
.mapa-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(26,58,107,0.1);
    margin-top: 24px;
    height: 260px;
}

.mapa-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* WhatsApp flotante */
.btn-whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 6px 18px rgba(37,211,102,0.3);
}

.btn-whatsapp-cta i {
    font-size: 1.5rem;
}

.btn-whatsapp-cta:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37,211,102,0.35);
}

.btn-whatsapp-cta small {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .form-card {
        padding: 24px 18px;
    }

    .contacto-hero h1 {
        font-size: 1.8rem;
    }
}