/* ============================================================
    ARCHIVO: contacto.css
    Página de Contacto | UrgencLink
    Estilos para Hero, Redes Sociales, Formulario, Ubicación y CTA
    Reutiliza estilos de style.css para botones, badges y secciones
    ============================================================ */

/* ============================================================
    SECCIÓN 1: HERO CONTACTO
    ============================================================ */

.hero-contacto {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 0 120px;
    background:
        radial-gradient(circle at top left, #16C2F5 0%, transparent 35%),
        radial-gradient(circle at bottom right, #0B5ED7 0%, transparent 30%),
        linear-gradient(135deg, #061224, #0B5ED7);
}

/* ===== Decoraciones animadas ===== */
.hero-contacto::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    top: -260px;
    left: -220px;
    animation: floatBg 12s ease-in-out infinite alternate;
}

.hero-contacto::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .06);
    bottom: -180px;
    right: -160px;
    animation: floatBg2 14s ease-in-out infinite alternate-reverse;
}

@keyframes floatBg {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 25px) scale(1.05); }
}

@keyframes floatBg2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25px, -20px) scale(1.08); }
}

.hero-contacto .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeUp 0.9s ease both;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-content .badge i {
    color: #16C2F5;
}

.hero-content h1 {
    font-size: 62px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    font-family: var(--font-sifon);
}

.hero-content h1 span {
    color: #8BE9FF;
    position: relative;
}

.hero-content p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ============================================================
    SECCIÓN 2: REDES SOCIALES (4 en una fila)
    ============================================================ */

.redes-sociales {
    padding: 100px 0;
    background: #F7FAFD;
    position: relative;
    overflow: hidden;
}

.redes-sociales::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .04);
    top: -200px;
    left: -180px;
}

.redes-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.redes-header .badge {
    background: rgba(11, 94, 215, .08);
    color: #0B5ED7;
    border: 1px solid rgba(22, 194, 245, .12);
}

.redes-header h2 {
    font-size: 38px;
    color: #061224;
    margin: 18px 0 10px;
    font-family: var(--font-sifon);
}

.redes-header p {
    color: #6C757D;
    line-height: 1.8;
    font-size: 16px;
}

/* ===== Grid: 4 columnas en desktop ===== */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* ===== Tarjeta de red social - TODAS IGUALES ===== */
.red-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 25px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #E9EEF5;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
    position: relative;
    overflow: hidden;
    /* ===== FORZAR MISMO TAMAÑO ===== */
    width: 100%;
    min-height: 220px;
    height: 100%;
    justify-content: center;
}

/* ===== Asegurar que todos los hijos ocupen el mismo espacio ===== */
.red-social-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.red-social-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -90px;
    top: -90px;
    transition: transform 0.5s ease;
}

.facebook::before { background: rgba(24, 119, 242, .06); }
.whatsapp::before { background: rgba(37, 211, 102, .06); }
.linkedin::before { background: rgba(10, 102, 194, .06); }
.youtube::before { background: rgba(255, 61, 61, .06); }

.red-social-card:hover {
    transform: translateY(-8px);
    border-color: #16C2F5;
    box-shadow: 0 20px 50px rgba(11, 94, 215, .10);
}

.red-social-card:hover::before {
    transform: scale(1.3);
}

/* ===== ICONO - TAMAÑO FIJO ===== */
.red-social-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 14px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.red-social-card:hover .red-social-icon {
    transform: scale(1.06) rotate(-4deg);
}

.facebook .red-social-icon { background: linear-gradient(135deg, #1877F2, #0B5ED7); }
.whatsapp .red-social-icon { background: linear-gradient(135deg, #25D366, #0EA95C); }
.linkedin .red-social-icon { background: linear-gradient(135deg, #0A66C2, #084E96); }
.youtube .red-social-icon { background: linear-gradient(135deg, #FF3D3D, #C50000); }

/* ===== TEXTO - TAMAÑO FIJO ===== */
.red-social-info h3 {
    color: #061224;
    font-size: 18px;
    margin-bottom: 4px;
    font-family: var(--font-sifon);
}

.red-social-info p {
    color: #6C757D;
    font-size: 14px;
    margin-bottom: 4px;
}

.red-social-info span {
    color: #0B5ED7;
    font-size: 13px;
    font-weight: 500;
    display: block;
}

/* ===== FLECHA - TAMAÑO FIJO ===== */
.red-social-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F7FB;
    color: #0B5ED7;
    font-size: 14px;
    margin-top: 12px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.red-social-card:hover .red-social-arrow {
    background: linear-gradient(135deg, #16C2F5, #0B5ED7);
    color: #ffffff;
    transform: translateX(4px) rotate(-4deg);
}

/* ============================================================
    RESPONSIVE - REDES SOCIALES (TODAS IGUALES)
    ============================================================ */

/* ===== Tablet grande ===== */
@media (max-width: 1200px) {
    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
        gap: 24px;
    }

    .red-social-card {
        min-height: 200px;
    }
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
    .redes-grid {
        max-width: 600px;
        gap: 20px;
    }

    .red-social-card {
        min-height: 180px;
        padding: 24px 16px 20px;
    }

    .red-social-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        border-radius: 14px;
    }

    .red-social-info h3 {
        font-size: 17px;
    }

    .red-social-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ===== Tablet pequeña ===== */
@media (max-width: 768px) {
    .redes-sociales {
        padding: 70px 0;
    }

    .redes-header h2 {
        font-size: 30px;
    }

    .redes-grid {
        max-width: 480px;
        gap: 16px;
    }

    .red-social-card {
        min-height: 160px;
        padding: 20px 14px 16px;
        border-radius: 16px;
    }

    .red-social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .red-social-info h3 {
        font-size: 16px;
    }

    .red-social-info p {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .red-social-info span {
        font-size: 12px;
    }

    .red-social-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
        margin-top: 8px;
    }
}

/* ===== Móvil ===== */
@media (max-width: 576px) {
    .redes-grid {
        max-width: 100%;
        gap: 12px;
    }

    .red-social-card {
        min-height: 140px;
        padding: 16px 10px 14px;
        border-radius: 14px;
    }

    .red-social-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .red-social-info h3 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .red-social-info p {
        font-size: 12px;
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .red-social-info span {
        font-size: 11px;
    }

    .red-social-arrow {
        width: 28px;
        height: 28px;
        font-size: 11px;
        margin-top: 6px;
    }

    .red-social-card::before {
        width: 120px;
        height: 120px;
        right: -60px;
        top: -60px;
    }
}

/* ===== Móvil muy pequeño ===== */
@media (max-width: 440px) {
    .redes-grid {
        gap: 10px;
    }

    .red-social-card {
        min-height: 120px;
        padding: 14px 8px 12px;
        border-radius: 12px;
    }

    .red-social-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 6px;
    }

    .red-social-info h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .red-social-info p {
        font-size: 11px;
        margin-bottom: 1px;
        -webkit-line-clamp: 1;
    }

    .red-social-info span {
        font-size: 10px;
    }

    .red-social-arrow {
        width: 24px;
        height: 24px;
        font-size: 10px;
        margin-top: 4px;
    }
}

@media (max-width: 380px) {
    .redes-grid {
        gap: 8px;
    }

    .red-social-card {
        min-height: 100px;
        padding: 10px 6px 10px;
        border-radius: 10px;
    }

    .red-social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-radius: 6px;
        margin-bottom: 4px;
    }

    .red-social-info h3 {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .red-social-info p {
        display: none;
    }

    .red-social-info span {
        font-size: 9px;
    }

    .red-social-arrow {
        width: 20px;
        height: 20px;
        font-size: 9px;
        margin-top: 2px;
    }
}

/* ============================================================
    SECCIÓN 3: FORMULARIO DE CONTACTO
    ============================================================ */

.contacto {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contacto::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .04);
    left: -220px;
    bottom: -200px;
}

.contacto-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.contacto-header .badge {
    background: rgba(11, 94, 215, .08);
    color: #0B5ED7;
    border: 1px solid rgba(22, 194, 245, .12);
}

.contacto-header h2 {
    font-size: 42px;
    color: #061224;
    margin: 20px 0 12px;
    font-family: var(--font-sifon);
}

.contacto-header p {
    color: #6C757D;
    line-height: 1.8;
    font-size: 17px;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 45px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: #F7FAFD;
    border-radius: 20px;
    border: 1px solid #E9EEF5;
    transition: all 0.35s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: #16C2F5;
    box-shadow: 0 12px 35px rgba(11, 94, 215, .06);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16C2F5, #0B5ED7);
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 17px;
    color: #061224;
    margin-bottom: 2px;
    font-family: var(--font-sifon);
}

.info-card p {
    color: #6C757D;
    line-height: 1.7;
    font-size: 14px;
}

.info-card p strong {
    color: #0B5ED7;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #E9EEF5;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .06);
    transition: box-shadow 0.4s ease;
}

.contact-form:hover {
    box-shadow: 0 30px 65px rgba(11, 94, 215, .08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #061224;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group label i {
    color: #0B5ED7;
    font-size: 14px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #E9EEF5;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: #FAFCFE;
    transition: all 0.35s ease;
    resize: none;
    color: #061224;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #94A3B8;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #16C2F5;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 194, 245, .08);
}

.input-group textarea {
    min-height: 130px;
}

.contador-caracteres {
    align-self: flex-end;
    font-size: 13px;
    color: #94A3B8;
    margin-top: 6px;
    transition: color 0.3s ease;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-footer .check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #64748B;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.5;
}

.form-footer .check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0B5ED7;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-footer .check a {
    color: #0B5ED7;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-footer .check a:hover {
    color: #16C2F5;
    text-decoration: underline;
}

.form-footer .btn-primary {
    padding: 16px 34px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================================
    SECCIÓN 4: UBICACIÓN (VERSIÓN COMPACTA)
    ============================================================ */

.ubicacion {
    padding: 80px 0 100px;
    background: #F7FAFD;
    position: relative;
    overflow: hidden;
}

.ubicacion::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .04);
    top: -200px;
    right: -200px;
}

.ubicacion-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.ubicacion-header .badge {
    background: rgba(11, 94, 215, .08);
    color: #0B5ED7;
    border: 1px solid rgba(22, 194, 245, .12);
}

.ubicacion-header h2 {
    font-size: 36px;
    color: #061224;
    margin: 16px 0 8px;
    font-family: var(--font-sifon);
}

.ubicacion-header p {
    color: #6C757D;
    line-height: 1.8;
    font-size: 16px;
}

.ubicacion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    align-items: start;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ubicacion-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E9EEF5;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.ubicacion-card:hover {
    transform: translateY(-3px);
    border-color: #16C2F5;
    box-shadow: 0 12px 35px rgba(11, 94, 215, .06);
}

.ubicacion-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16C2F5, #0B5ED7);
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.ubicacion-card h3 {
    font-size: 15px;
    color: #061224;
    margin-bottom: 2px;
    font-family: var(--font-sifon);
}

.ubicacion-card p {
    color: #6C757D;
    line-height: 1.6;
    font-size: 13px;
}

.ubicacion-buttons {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.ubicacion-buttons .btn-primary,
.ubicacion-buttons .btn-secondary {
    padding: 11px 22px;
    font-size: 13px;
    border-radius: 12px;
}

.mapa-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .08);
    border: 1px solid #E9EEF5;
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    filter: grayscale(.10);
}

.mapa-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(6, 18, 36, .15), transparent 60%);
}

.mapa-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .95);
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    backdrop-filter: blur(12px);
}

.mapa-badge i {
    color: #E53935;
    font-size: 18px;
}

.mapa-badge div strong {
    color: #061224;
    font-size: 13px;
    display: block;
}

.mapa-badge div span {
    color: #6C757D;
    font-size: 11px;
}

/* ============================================================
    SECCIÓN 5: CTA FINAL
    ============================================================ */

.cta-contacto {
    padding: 100px 0;
    background: linear-gradient(135deg, #061224, #0B5ED7);
    position: relative;
    overflow: hidden;
}

.cta-contacto::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    top: -240px;
    left: -200px;
    animation: floatBg 15s ease-in-out infinite alternate;
}

.cta-contacto::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .05);
    bottom: -160px;
    right: -120px;
    animation: floatBg2 18s ease-in-out infinite alternate-reverse;
}

.cta-box {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
    padding: 60px 70px;
    text-align: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}

.cta-box .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .08);
    color: #8BE9FF;
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.cta-box .badge i {
    color: #16C2F5;
}

.cta-box h2 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 18px;
    line-height: 1.2;
    font-family: var(--font-sifon);
}

.cta-box p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .80);
    font-size: 18px;
    line-height: 1.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #16C2F5, #0B5ED7);
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(11, 94, 215, .30);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(11, 94, 215, .40);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .20);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-5px);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.stat-card i {
    font-size: 30px;
    color: #16C2F5;
    margin-bottom: 10px;
}

.stat-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-family: var(--font-sifon);
}

.stat-card p {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    margin: 0;
}

/* ============================================================
    SECCIÓN 6: RESPONSIVE
    ============================================================ */

@media (max-width: 1200px) {
    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-content h1 { font-size: 52px; }
    .contacto-wrapper,
    .ubicacion-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 44px; }
    .cta-box h2 { font-size: 36px; }
    .redes-grid { max-width: 520px; }
    .cta-stats { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .contacto-wrapper,
    .ubicacion-wrapper { gap: 35px; }
    .ubicacion-wrapper { grid-template-columns: 1fr; }
    .mapa-wrapper { min-height: 320px; }
    .mapa-wrapper iframe { min-height: 320px; }
}

@media (max-width: 768px) {
    .hero-contacto {
        padding: 140px 0 70px;
        min-height: auto;
    }

    .hero-content h1 { font-size: 36px; }
    .hero-content p { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons a { width: 100%; max-width: 300px; justify-content: center; }

    .redes-sociales,
    .contacto,
    .ubicacion,
    .cta-contacto { padding: 70px 0; }

    .redes-header h2,
    .contacto-header h2,
    .ubicacion-header h2 { font-size: 32px; }

    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 480px;
    }

    .red-social-card {
        padding: 22px 16px 18px;
    }

    .red-social-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 14px;
    }

    .red-social-info h3 {
        font-size: 16px;
    }

    .red-social-info p {
        font-size: 13px;
    }

    .red-social-info span {
        font-size: 12px;
    }

    .red-social-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
        margin-top: 10px;
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contacto-wrapper,
    .ubicacion-wrapper { gap: 28px; }

    .mapa-wrapper {
        min-height: 300px;
        border-radius: 18px;
    }

    .mapa-wrapper iframe {
        min-height: 300px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 30px;
        margin-top: 35px;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .form-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .ubicacion-buttons {
        flex-direction: row;
    }

    .ubicacion-buttons a {
        flex: 1;
        justify-content: center;
        font-size: 12px;
        padding: 10px 16px;
    }

    .mapa-badge {
        bottom: 14px;
        left: 14px;
        padding: 8px 14px;
        border-radius: 12px;
    }

    .mapa-badge i {
        font-size: 15px;
    }

    .mapa-badge div strong {
        font-size: 12px;
    }

    .mapa-badge div span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }

    .redes-sociales,
    .contacto,
    .ubicacion,
    .cta-contacto { padding: 50px 0; }

    .redes-header h2,
    .contacto-header h2,
    .ubicacion-header h2 { font-size: 26px; }

    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    .red-social-card {
        padding: 18px 12px 16px;
        border-radius: 16px;
    }

    .red-social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .red-social-info h3 {
        font-size: 14px;
    }

    .red-social-info p {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .red-social-info span {
        font-size: 11px;
    }

    .red-social-arrow {
        width: 30px;
        height: 30px;
        font-size: 11px;
        margin-top: 8px;
    }

    .contact-form {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .cta-box {
        padding: 25px 16px;
        border-radius: 22px;
    }

    .cta-box h2 {
        font-size: 22px;
    }

    .cta-box p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-stats {
        gap: 14px;
    }

    .stat-card i {
        font-size: 24px;
    }

    .stat-card h3 {
        font-size: 17px;
    }

    .form-footer .check {
        font-size: 13px;
    }

    .ubicacion-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .ubicacion-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .ubicacion-card h3 {
        font-size: 13px;
    }

    .ubicacion-card p {
        font-size: 11px;
    }

    .ubicacion-buttons {
        flex-direction: column;
    }

    .ubicacion-buttons a {
        width: 100%;
        justify-content: center;
    }

    .mapa-wrapper {
        min-height: 200px;
        border-radius: 14px;
    }

    .mapa-wrapper iframe {
        min-height: 200px;
    }

    .mapa-badge {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
        border-radius: 10px;
        gap: 8px;
    }

    .mapa-badge i {
        font-size: 13px;
    }

    .mapa-badge div strong {
        font-size: 11px;
    }

    .mapa-badge div span {
        font-size: 9px;
    }

    .hero-buttons a {
        max-width: 260px;
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* ============================================================
    FORZAR REDES SOCIALES - CENTRADO PERFECTO
    ============================================================ */

/* ===== FORZAR QUE TODAS LAS TARJETAS TENGAN EL MISMO TAMAÑO ===== */
.redes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.red-social-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 30px 20px 25px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #E9EEF5 !important;
    min-height: 220px !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04) !important;
}

/* ===== CONTENEDOR DE INFORMACIÓN - CENTRADO PERFECTO ===== */
.red-social-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    flex: 1 !important;
}

/* ===== ICONO - CENTRADO ===== */
.red-social-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    margin-bottom: 14px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===== TEXTO - CENTRADO ===== */
.red-social-info h3 {
    font-size: 18px !important;
    margin-bottom: 4px !important;
    font-family: var(--font-sifon);
    text-align: center !important;
    width: 100% !important;
}

.red-social-info p {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    width: 100% !important;
    color: #6C757D !important;
}

.red-social-info span {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
    width: 100% !important;
    color: #0B5ED7 !important;
    word-break: break-word !important;
}

/* ===== FLECHA - CENTRADA ===== */
.red-social-arrow {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    margin-top: 12px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #F2F7FB !important;
    color: #0B5ED7 !important;
    transition: all 0.4s ease !important;
}

.red-social-card:hover .red-social-arrow {
    background: linear-gradient(135deg, #16C2F5, #0B5ED7) !important;
    color: #ffffff !important;
    transform: translateX(4px) rotate(-4deg) !important;
}

/* ============================================================
    RESPONSIVE - TODAS IGUALES Y CENTRADAS
    ============================================================ */

@media (max-width: 992px) {
    .redes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }

    .red-social-card {
        min-height: 190px !important;
        padding: 24px 16px 20px !important;
    }

    .red-social-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 22px !important;
    }

    .red-social-info h3 {
        font-size: 17px !important;
    }

    .red-social-info p {
        font-size: 13px !important;
    }

    .red-social-info span {
        font-size: 12px !important;
    }

    .red-social-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .redes-sociales {
        padding: 70px 0 !important;
    }

    .redes-header h2 {
        font-size: 30px !important;
    }

    .redes-grid {
        max-width: 480px !important;
        gap: 16px !important;
    }

    .red-social-card {
        min-height: 170px !important;
        padding: 20px 14px 16px !important;
        border-radius: 16px !important;
    }

    .red-social-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .red-social-info h3 {
        font-size: 16px !important;
    }

    .red-social-info p {
        font-size: 13px !important;
        margin-bottom: 3px !important;
    }

    .red-social-info span {
        font-size: 12px !important;
    }

    .red-social-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 576px) {
    .redes-grid {
        max-width: 100% !important;
        gap: 12px !important;
    }

    .red-social-card {
        min-height: 150px !important;
        padding: 16px 10px 14px !important;
        border-radius: 14px !important;
    }

    .red-social-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }

    .red-social-info h3 {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .red-social-info p {
        font-size: 12px !important;
        margin-bottom: 2px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .red-social-info span {
        font-size: 11px !important;
    }

    .red-social-arrow {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        margin-top: 6px !important;
    }
}

@media (max-width: 440px) {
    .redes-grid {
        gap: 10px !important;
    }

    .red-social-card {
        min-height: 130px !important;
        padding: 14px 8px 12px !important;
        border-radius: 12px !important;
    }

    .red-social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        margin-bottom: 6px !important;
    }

    .red-social-info h3 {
        font-size: 13px !important;
        margin-bottom: 2px !important;
    }

    .red-social-info p {
        font-size: 11px !important;
        margin-bottom: 1px !important;
        -webkit-line-clamp: 1 !important;
    }

    .red-social-info span {
        font-size: 10px !important;
    }

    .red-social-arrow {
        width: 24px !important;
        height: 24px !important;
        font-size: 10px !important;
        margin-top: 4px !important;
    }
}

@media (max-width: 380px) {
    .redes-grid {
        gap: 8px !important;
    }

    .red-social-card {
        min-height: 110px !important;
        padding: 10px 6px 10px !important;
        border-radius: 10px !important;
    }

    .red-social-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        margin-bottom: 4px !important;
    }

    .red-social-info h3 {
        font-size: 12px !important;
        margin-bottom: 1px !important;
    }

    .red-social-info p {
        display: none !important;
    }

    .red-social-info span {
        font-size: 9px !important;
    }

    .red-social-arrow {
        width: 20px !important;
        height: 20px !important;
        font-size: 9px !important;
        margin-top: 2px !important;
    }
}