/* ========================================
   SECCIÓN DE CONTACTO - HOME.PHP
   ======================================== */

/* Variables de color - Alineadas con styles.css del sitio */
:root {
    --contact-primary: #ff5a5f;       /* Rojo vibrante del sitio */
    --contact-secondary: #4bc0c0;     /* Verde suave del sitio */
    --contact-success: #25d366;       /* Verde WhatsApp (mantener) */
    --contact-gradient-start: #ff5a5f; /* Primary del sitio */
    --contact-gradient-end: #f1a7a6;   /* Accent del sitio */
    --contact-bg-light: #f8f9fa;
    --contact-text-dark: #212529;
    --contact-text-muted: #6c757d;
}

/* ========================================
   SECCIÓN PRINCIPAL
   ======================================== */

.contact-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 48px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top, rgba(255, 90, 95, 0.08), transparent 45%);
    opacity: 1;
}

/* Compacto */
.contact-section--compact .contact-compact {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

.contact-compact__intro {
    margin-bottom: 1.5rem;
}

.contact-compact__eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--contact-primary);
    margin-bottom: 0.35rem;
}

.contact-compact__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--contact-text-dark);
    margin-bottom: 0.4rem;
}

.contact-compact__subtitle {
    color: var(--contact-text-muted);
    margin-bottom: 0;
}

.contact-compact__card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-compact__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.5rem;
    color: var(--contact-text-dark);
    font-size: 0.95rem;
}

.contact-compact__benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-compact__benefits i {
    color: #22c55e;
}

.contact-compact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-compact__actions .btn {
    flex: 1 1 220px;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.contact-compact__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--contact-text-muted);
}

.contact-compact__meta i {
    color: var(--contact-primary);
    margin-right: 0.35rem;
}

.contact-compact__social {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    color: var(--contact-text-muted);
    font-size: 0.95rem;
}

/* ========================================
   CONTENIDO IZQUIERDO
   ======================================== */

/* Mantener estilos de botones CTA */

/* Botones CTA */
.btn-cta-primary {
    background: linear-gradient(135deg, var(--contact-success) 0%, #20c05c 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #20c05c 0%, var(--contact-success) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-cta-secondary {
    background: white;
    border: 2px solid var(--contact-primary);
    color: var(--contact-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: var(--contact-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.3);
}



/* ========================================
   ZONA 2: SOCIAL SHARE
   ======================================== */

.social-buttons-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}


.btn-social {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-instagram:hover {
    filter: brightness(1.1);
    color: white;
}

.btn-share {
    background: #ffffff;
    color: var(--contact-primary);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 36px 0;
    }

    .contact-compact__benefits {
        grid-template-columns: 1fr;
    }

    .contact-compact__actions .btn {
        flex: 1 1 100%;
    }
}

.btn-share:hover {
    background: var(--contact-primary);
    color: white;
}

/* ========================================
   MODAL DE COMPARTIR
   ======================================== */
.share-url-box {
    display: flex;
    gap: 0.5rem;
}

.share-url-box input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
}

.share-url-box button {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.btn-share-social {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    color: white;
}

.btn-share-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-facebook {
    background: #1877f2;
}

.btn-facebook:hover {
    background: #0d6efd;
}

.btn-twitter {
    background: #1da1f2;
}

.btn-twitter:hover {
    background: #0d8bd9;
}

.btn-linkedin {
    background: #0077b5;
}

.btn-linkedin:hover {
    background: #005582;
}

.btn-whatsapp-share {
    background: #25d366;
}

.btn-whatsapp-share:hover {
    background: #20c05c;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .contact-headline {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-list li {
        font-size: 1rem;
    }
    
    .contact-cta-box {
        padding: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .contact-headline {
        font-size: 1.75rem;
    }
    
    .benefits-list li {
        font-size: 0.95rem;
    }
    
    .trust-badge {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .contact-cta-box {
        padding: 1.5rem;
    }
    
    .cta-box-title {
        font-size: 1.5rem;
    }
    
    .share-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons-row {
        gap: 0.75rem;
    }
    
    .btn-social {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-content,
.contact-cta-box {
    animation: fadeInUp 0.8s ease-out;
}

.contact-cta-box {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}
