/* ============================================
   CONTACTO.CSS - COMPLETAMENTE RESPONSIVE
   Paleta de colores: #203E79, #D4B896, grises
============================================ */

/* Variables CSS */
:root {
    --primary-blue: #203E79;
    --secondary-blue: #4A6FA5;
    --accent-gold: #D4B896;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
    --darker-gray: #333333;
}

/* Reset responsive */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--darker-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bold;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* ============================================
   HEADER RESPONSIVE - BOTÓN CONTACTO CORREGIDO
============================================ */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: bold;
    color: var(--accent-gold);
}

.logo img {
    height: clamp(30px, 8vw, 40px);
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links .contact-btn {
    background: var(--accent-gold);
    color: var(--primary-blue) !important;
    padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.nav-links .contact-btn:hover {
    background: transparent;
    color: var(--accent-gold) !important;
    border-color: var(--accent-gold);
}

.nav-links .contact-btn.active {
    background: var(--white);
    color: var(--primary-blue) !important;
    border-color: var(--white);
}

/* Menu móvil */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ============================================
   MAIN CONTENT RESPONSIVE
============================================ */
main {
    margin-top: 0;
}

/* Page Headers Responsive */
.page-header {
    background: var(--primary-blue);
    color: #BCD0F7;
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 4rem);
    padding-top: calc(clamp(4rem, 10vw, 6rem) + clamp(60px, 15vw, 80px));
    text-align: center;
    margin-top: 0;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--white);
}

/* ============================================
   INFORMACIÓN DE CONTACTO RESPONSIVE
============================================ */
.contacto-info {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--white);
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(3rem, 8vw, 4rem);
}

/* ============================================
   FORMULARIO DE CONTACTO RESPONSIVE
============================================ */
.contacto-form-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contacto-form-section > p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Selector de Interés Responsive */
.interes-selector {
    margin-bottom: 2rem;
}

.interes-selector h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.interes-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
}

.interes-btn {
    background: var(--light-gray);
    border: 2px solid transparent;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(0.8rem, 2.5vw, 1rem);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    text-align: center;
    color: var(--darker-gray);
    font-family: inherit;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interes-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.interes-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--accent-gold);
}

/* ============================================
   FORMULARIO RESPONSIVE
============================================ */
.contacto-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.6rem, 2vw, 0.8rem);
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(32, 62, 121, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.4;
    color: var(--dark-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--primary-blue);
    flex-shrink: 0;
}

.btn-submit {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 5px;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-family: inherit;
    min-height: 50px;
}

.btn-submit:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 62, 121, 0.3);
}

.btn-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   INFORMACIÓN DE CONTACTO DETALLES RESPONSIVE
============================================ */
.contacto-details h2 {
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--primary-blue);
}

.text-accent {
    color: var(--accent-gold);
}

.contact-item {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    align-items: flex-start;
}

.contact-icon {
    width: clamp(45px, 10vw, 50px);
    height: clamp(45px, 10vw, 50px);
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    flex-shrink: 0;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

/* ============================================
   CONTACTO RÁPIDO RESPONSIVE
============================================ */
.quick-contact {
    margin-top: clamp(2rem, 6vw, 3rem);
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 2px solid var(--light-gray);
}

.quick-contact h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.quick-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vw, 1rem);
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1rem);
    padding: clamp(0.8rem, 2vw, 1rem);
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--darker-gray);
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    min-height: 50px;
}

.quick-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.quick-btn.whatsapp:hover {
    background: #25D366;
}

.quick-btn.telefono:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.quick-btn.email:hover {
    background: var(--secondary-blue);
}

.quick-btn img {
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
}

.quick-btn .icon {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* ============================================
   FAQ CONTACTO RESPONSIVE
============================================ */
.faq-contacto {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--light-gray);
}

.faq-contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.faq-contacto-container h2 {
    color: var(--primary-blue);
    margin-bottom: clamp(2rem, 6vw, 3rem);
}

.faq-contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-top: 2rem;
}

.faq-contacto-item {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 10px;
    text-align: left;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.faq-contacto-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(32, 62, 121, 0.2);
    border-color: var(--accent-gold);
}

.faq-contacto-item:hover h3,
.faq-contacto-item:hover p {
    color: var(--white);
}

.faq-contacto-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.faq-contacto-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ============================================
   CTA FINAL RESPONSIVE
============================================ */
.cta-final {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.cta-final-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-final h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-final p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin: clamp(2rem, 6vw, 3rem) 0;
}

.cta-stats .stat {
    text-align: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-stats .stat:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.cta-stats .number {
    display: block;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: bold;
    color: var(--accent-gold);
    line-height: 1;
}

.cta-stats .label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    opacity: 0.9;
    margin-top: 0.5rem;
    color: var(--white);
}

.btn-cta-final {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: clamp(1rem, 3vw, 1.2rem) clamp(2rem, 5vw, 3rem);
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    margin: 0 auto;
}

.btn-cta-final:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 184, 150, 0.4);
}

/* ============================================
   FOOTER RESPONSIVE
============================================ */
footer {
    background: #1D2638;
    color: var(--white);
    padding: clamp(2rem, 6vw, 3rem) 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
}

.footer-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: clamp(35px, 10vw, 40px);
    height: clamp(35px, 10vw, 40px);
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.social-links img {
    width: clamp(18px, 5vw, 20px);
    height: clamp(18px, 5vw, 20px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    text-align: center;
}

.footer-column h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.footer-column a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* ============================================
   WHATSAPP RESPONSIVE
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: clamp(15px, 4vw, 20px);
    right: clamp(15px, 4vw, 20px);
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
}

.whatsapp-float a:hover {
    background: #1DAA50;
    transform: scale(1.05);
}

.whatsapp-float img {
    width: clamp(20px, 6vw, 24px);
    height: clamp(20px, 6vw, 24px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   NAVEGACIÓN MÓVIL MEJORADA
============================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
        text-align: center;
        color: var(--white);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links .contact-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        background: var(--accent-gold);
        color: var(--primary-blue) !important;
        font-weight: bold;
        width: auto;
        border: 2px solid var(--accent-gold);
    }
    
    .nav-links .contact-btn:hover {
        background: var(--white);
        color: var(--primary-blue) !important;
        border-color: var(--white);
    }
    
    .mobile-menu {
        display: flex;
    }
    
    /* Formulario móvil */
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .interes-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .interes-btn {
        white-space: normal;
        text-align: center;
        padding: 1rem;
    }
    
    /* CTA Stats móvil - 3 en fila siempre */
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(0.5rem, 2vw, 1rem);
    }
    
    /* WhatsApp móvil */
    .whatsapp-float a span {
        display: none;
    }
    
    .whatsapp-float a {
        border-radius: 50%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* Header extra pequeño */
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 28px;
    }
    
    /* Secciones extra compactas */
    .contacto-info,
    .faq-contacto,
    .cta-final {
        padding: 2.5rem 0.8rem;
    }
    
    /* Formulario extra compacto */
    .interes-buttons {
        grid-template-columns: 1fr;
    }
    
    /* Stats siempre 3 en fila, más compactos */
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .cta-stats .stat {
        padding: 0.8rem 0.5rem;
    }
    
    .cta-stats .number {
        font-size: 1.5rem;
    }
    
    .cta-stats .label {
        font-size: 0.65rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    /* Quick buttons compactos */
    .quick-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    /* CTA extra compacto */
    .btn-cta-final {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   MEJORAS PARA TABLET
============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .contacto-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .interes-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
        text-align: left;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   DESKTOP GRANDE
============================================ */
@media (min-width: 1025px) {
    .contacto-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .interes-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
        align-items: start;
        gap: clamp(2rem, 6vw, 4rem);
    }
    /* Hacer que el contenedor de columnas ocupe las 3 columnas derechas
       y mostrar sus columnas internas en 3 columnas separadas */
    .footer-links {
        grid-column: 2 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1rem, 4vw, 2rem);
        align-items: start;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   VALIDACIÓN Y ESTADOS
============================================ */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #27ae60;
    background-color: #f2fdf4;
}

.error-message {
    color: #e74c3c;
    font-size: clamp(0.75rem, 1.8vw, 0.8rem);
    margin-top: 0.3rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* ============================================
   SCROLL SUAVE Y SCROLLBAR
============================================ */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* ============================================
   MEJORAS DE ACCESIBILIDAD
============================================ */
.interes-btn:focus,
.btn-submit:focus,
.quick-btn:focus,
.nav-links a:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Reducir animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .faq-contacto-item:hover,
    .quick-btn:hover,
    .btn-submit:hover {
        transform: none;
    }
}

/* Prevenir zoom en iOS */
input, select, textarea {
    font-size: 16px !important;
}