/* Variables Globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 8rem 0;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: white;
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.logo img {
    max-height: 5rem;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 2.5rem;
}

.main-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    background-color: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.whatsapp-button i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

/* REGLA GLOBAL: Ocultar botón WhatsApp del header en TODOS los dispositivos móviles */
@media (max-width: 1024px) {
    .whatsapp-button,
    .nav-right .whatsapp-button,
    header .whatsapp-button,
    nav .whatsapp-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
}

.chile-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.chile-flag-icon {
    width: 2rem;
    height: 1.3rem;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.chile-flag-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chile-flag span {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-new.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 60px 0;
    position: relative;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        padding: 0;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }
    
    .hero .container {
        padding: 0 2rem;
    }
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    text-align: center;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .hero-content p {
        font-size: 1.6rem;
        margin-bottom: 30px;
        text-align: left;
    }
}

/* Scroll down arrow */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: none;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@media (min-width: 992px) {
    .scroll-down {
        display: block;
    }
}

.scroll-down i {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

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

/* Estilos para keywords tags - Mejorados para móvil */
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
    justify-content: center; /* Centrar en móviles */
}

@media (min-width: 992px) {
    .hero-keywords {
        justify-content: flex-start; /* Alinear a la izquierda en desktop */
    }
}

.keyword-tag {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .keyword-tag {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
}

/* Hero Form - Ajustes para móviles */
.hero-form {
    background: rgba(0, 0, 0, 0.7); /* Más opaco para mejor legibilidad */
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .hero-form {
        padding: 30px;
        margin-top: 0;
    }
}

.hero-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

@media (min-width: 992px) {
    .hero-form h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
}

.hero-form .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

@media (min-width: 992px) {
    .hero-form .contact-form {
        gap: 15px;
    }
}

.hero-form .form-group {
    margin-bottom: 0;
}

.hero-form input,
.hero-form textarea {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 1.2rem 1rem;
    border-radius: 8px;
    width: 100%;
    color: #333;
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    .hero-form input,
    .hero-form textarea {
        padding: 12px 15px;
        font-size: 1.6rem;
    }
}

.hero-form textarea {
    height: 100px;
    resize: none;
}

@media (min-width: 992px) {
    .hero-form textarea {
        height: 120px;
    }
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
    color: #666;
    font-size: 1.3rem;
}

@media (min-width: 992px) {
    .hero-form input::placeholder,
    .hero-form textarea::placeholder {
        font-size: 1.4rem;
    }
}

.hero-form .btn {
    width: 100%;
    padding: 1.4rem 1rem;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1.6rem;
    border-radius: 8px;
}

@media (min-width: 992px) {
    .hero-form .btn {
        padding: 12px;
        font-size: 1.6rem;
        margin-top: 10px;
    }
}

/* Contact Banner - You can remove this or leave it for mobile only */
.contact-banner {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.contact-banner h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .contact-banner {
        display: none; /* Hide on desktop since we moved the form to hero */
    }
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
}

input, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1.6rem;
}

textarea {
    height: 12rem;
    resize: vertical;
}

#contact-form-mini {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

#contact-form-mini .form-group:last-child {
    grid-column: 1 / -1;
}

/* Services Section */
.services {
    text-align: center;
    background-color: white;
}

.services h2 {
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 4rem;
    margin-bottom: 4rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

/* Service Cards Icons - Página principal */
.service-card .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background: transparent;
    border-radius: 0;
    margin: 0 auto 2rem auto;
    box-shadow: none;
}

.service-card .service-icon i {
    font-size: 4.5rem;
    color: var(--secondary-color);
}

.service-item .service-icon {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
    margin-bottom: 2.5rem;
}

.service-item .service-icon i {
    font-size: 4.5rem;
    color: var(--secondary-color);
}

.service-item .service-content {
    order: 2;
    width: 100%;
}

/* Eliminar comportamiento alternado - todos iguales */
.service-item:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item:nth-child(even) .service-icon {
    order: 1;
}

.service-item:nth-child(even) .service-content {
    order: 2;
}

.service-content {
    width: 100%;
}

.service-content h2 {
    color: var(--primary-color);
    font-size: 2.6rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.service-content p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: left;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
}

.service-features li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.6;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.8rem;
}

/* Mejorar legibilidad en móvil para servicios */
@media (max-width: 768px) {
    .service-content h2 {
        font-size: 2.2rem; /* Aumentar tamaño en móvil */
        margin-bottom: 1.5rem;
    }
    
    .service-content p {
        font-size: 1.6rem; /* Aumentar tamaño en móvil */
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .service-features li {
        font-size: 1.5rem; /* Aumentar tamaño en móvil */
        margin-bottom: 0.8rem;
        padding-left: 2rem;
    }
    
    .service-features li::before {
        font-size: 1.6rem;
    }
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-images img {
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.05);
}

/* Optimización móvil para imágenes de la sección about */
@media (max-width: 768px) {
    .about-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .about-images img {
        height: 140px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Media query adicional para tablets pequeños y móviles grandes */
@media (max-width: 767px) and (min-width: 481px) {
    /* ASEGURAR que el botón WhatsApp del header esté oculto */
    .whatsapp-button,
    .nav-right .whatsapp-button,
    header .whatsapp-button,
    nav .whatsapp-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    .about-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-top: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .about-images img {
        height: 150px;
        border-radius: 7px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 480px) {
    /* ASEGURAR que el botón WhatsApp del header esté oculto */
    .whatsapp-button,
    .nav-right .whatsapp-button,
    header .whatsapp-button,
    nav .whatsapp-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    .about-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding: 0 0.8rem;
    }
    
    .about-images img {
        height: 120px;
        border-radius: 5px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    }
}

.about-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content ul {
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.about-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.about-content ul li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Benefits Section */
.benefits {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.benefit-card {
    background-color: var(--light-color);
    padding: 3rem 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    text-align: left;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

/* Stats Section */
.stats {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.stats h3 {
    color: white;
    margin-bottom: 1rem;
}

.stats p {
    color: var(--light-color);
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 1.8rem;
    color: var(--light-color);
}

/* Clients Section */
.clients {
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin: 5rem 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.client-logo img {
    max-height: 8rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.testimonial blockquote p:first-child {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.testimonial-author {
    margin-top: 2rem;
    text-align: right;
}

.author-name {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--text-light);
}

/* Team Section */
.team {
    background-color: var(--light-color);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 2rem 0 0.5rem 0;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-form-container h3 {
    margin-bottom: 2.5rem;
}

.contact-info h3 {
    margin-bottom: 2.5rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-phone {
    margin-bottom: 4rem;
}

.contact-phone h4 {
    margin-bottom: 1rem;
}

.phone-link {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cta {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
}

.cta h3 {
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--light-color);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
}

.floating-contact {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.floating-contact-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: var(--box-shadow);
}

.floating-contact-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .about-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-images {
        order: 1;
    }
    
    .about-content {
        order: 0;
    }
}

/* Estilos para menú móvil mejorado */
.main-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    z-index: 999;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.main-menu.active li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--light-color);
}

.main-menu.active li:last-child {
    border-bottom: none;
}

.main-menu.active a {
    display: block;
    padding: 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.main-menu.active a:hover,
.main-menu.active a.active {
    background-color: var(--secondary-color);
    color: white;
}

.mobile-menu-toggle.active {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

/* FAQ Styles - Home: Siempre visible, moderno */
.faq {
    background-color: var(--light-color);
    padding: 8rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ del HOME - Siempre visibles y modernas */
.faq .faq-item {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.faq .faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.faq .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-color);
}

/* Eliminar estructura de botón para FAQ del home */
.faq .faq-question {
    display: block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    cursor: default;
}

.faq .faq-question h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq .faq-question h3::before {
    content: "❓";
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Ocultar toggle en FAQ del home */
.faq .faq-toggle {
    display: none;
}

/* FAQ respuestas siempre visibles en home */
.faq .faq-answer {
    padding: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    margin-top: 1rem;
}

.faq .faq-answer p {
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 2.8rem;
    position: relative;
}

.faq .faq-answer p::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.4rem;
}

/* Responsive para FAQ del home */
@media (max-width: 768px) {
    .faq {
        padding: 6rem 0;
    }
    
    .faq h2 {
        font-size: 2.6rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .faq-grid {
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .faq .faq-item {
        padding: 2.5rem 2rem;
        border-radius: 12px;
    }
    
    .faq .faq-question h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .faq .faq-question h3::before {
        font-size: 1.6rem;
    }
    
    .faq .faq-answer p {
        font-size: 1.5rem;
        padding-left: 2.4rem;
    }
    
    .faq .faq-answer p::before {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .faq .faq-item {
        padding: 2rem 1.5rem;
        border-radius: 10px;
    }
    
    .faq .faq-question h3 {
        font-size: 1.6rem;
        gap: 0.8rem;
    }
    
    .faq .faq-question h3::before {
        font-size: 1.4rem;
    }
    
    .faq .faq-answer p {
        font-size: 1.4rem;
        padding-left: 2rem;
        line-height: 1.6;
    }
    
    .faq .faq-answer p::before {
        font-size: 1.1rem;
    }
}

/* Optimizaciones para dispositivos táctiles */
.touch-device .service-card:hover,
.touch-device .benefit-card:hover,
.touch-device .value-card:hover {
    transform: none;
}

.touch-device .btn:hover {
    transform: none;
}

/* Optimizaciones para dispositivos móviles */
.mobile-device * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.mobile-device .hero::before {
    background-attachment: scroll;
}

/* Mejoras para formularios en móvil */
@media (max-width: 768px) {
    html {
        font-size: 62.5%; /* Aumentar de 60% a 62.5% para mejor legibilidad */
    }
    
    header {
        padding: 1.2rem 0; /* Aumentar padding del header */
    }

    .main-menu {
        display: none;
    }

    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
    }

    .logo img {
        max-height: 4.5rem; /* Aumentar de 4rem a 4.5rem */
    }

    /* FORZAR ocultación completa del botón WhatsApp del header */
    .whatsapp-button,
    .nav-right .whatsapp-button,
    header .whatsapp-button,
    nav .whatsapp-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        z-index: -1 !important;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
        font-size: 2.8rem; /* Aumentar de 2.4rem a 2.8rem */
        color: var(--primary-color);
        cursor: pointer;
        margin-left: 1rem;
        padding: 0.5rem; /* Aumentar área de toque */
    }

    .chile-flag {
        order: 2;
        gap: 0.6rem; /* Aumentar de 0.4rem a 0.6rem */
        font-size: 1.3rem; /* Aumentar de 1rem a 1.3rem */
        flex-shrink: 0;
    }

    .chile-flag-icon {
        width: 2.2rem; /* Aumentar de 1.8rem a 2.2rem */
        height: 1.5rem; /* Aumentar de 1.2rem a 1.5rem */
    }

    .chile-flag span {
        font-size: 1.3rem; /* Aumentar de 1rem a 1.3rem */
        font-weight: 600; /* Hacer más bold */
    }

    /* Reorganizar nav-right para el nuevo orden */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem;
        order: 2;
        margin-left: auto;
    }

    /* Resto del contenido móvil */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        order: 1;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 3.6rem; /* Aumentar de 3.2rem a 3.6rem */
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    .hero-content p {
        font-size: 1.7rem; /* Aumentar de 1.5rem a 1.7rem */
        line-height: 1.5;
        margin-bottom: 2rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }

    .hero-form {
        order: 2;
        margin-top: 2rem;
        padding: 2.5rem 2rem;
    }

    .hero-form h2 {
        font-size: 2rem; /* Aumentar de 1.8rem a 2rem */
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    /* Botón del formulario más grande en móvil */
    .hero-form .btn {
        font-size: 2rem; /* Aumentar de 1.8rem a 2rem */
        padding: 1.6rem 2rem; /* Aumentar padding */
        font-weight: 600;
    }

    .keyword-tag {
        font-size: 1.4rem; /* Aumentar de 1.3rem a 1.4rem */
        padding: 0.8rem 1.2rem; /* Aumentar padding */
        margin: 0.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

}

@media (max-width: 576px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        margin: 0 auto;
        width: 3.5rem;
        height: 3.5rem;
        background: transparent;
        border-radius: 0;
    }
    
    .contact-icon i {
        font-size: 2rem;
        color: var(--secondary-color);
    }
    
    .contact-text {
        text-align: center;
        width: 100%;
    }
    
    .contact-text h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-text p {
        font-size: 1.4rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Botón del formulario aún más grande en móviles pequeños */
    .hero-form .btn {
        font-size: 2rem;
        padding: 1.6rem 2.5rem;
        font-weight: 700;
    }
    
    .thank-you-content h1 {
        font-size: 3rem;
    }
    
    .thank-you-icon i {
        font-size: 6rem;
    }
    
    .next-steps {
        padding: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-urgente {
        padding: 2rem;
    }
    
    .back-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .back-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* FAQ para móviles pequeños */
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.5rem;
        margin: 0;
        padding-right: 1rem;
    }
    
    .faq-toggle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .faq-answer.active {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1.4rem;
        padding-top: 1rem;
    }
}

/* Botón flotante de WhatsApp - Estilos base */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp i {
    font-size: 3rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Botón flotante WhatsApp optimizado para móvil */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 5.5rem;
        height: 5.5rem;
        bottom: 2rem;
        right: 1.5rem;
        font-size: 2.8rem;
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }

    .floating-whatsapp i {
        font-size: 2.8rem;
    }
}

@media (max-width: 430px) {
    .floating-whatsapp {
        width: 5rem;
        height: 5rem;
        bottom: 1.5rem;
        right: 1.2rem;
        font-size: 2.5rem;
    }

    .floating-whatsapp i {
        font-size: 2.5rem;
    }
}

/* Estilos para páginas internas */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-new.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sección About Extended */
.about-extended {
    padding: 8rem 0;
    background-color: white;
}

.about-story {
    background-color: var(--light-color);
    padding: 4rem;
    border-radius: 15px;
    margin-bottom: 6rem;
    box-shadow: var(--box-shadow);
}

.about-story h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
}

.about-story p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Sección de Valores */
.about-values {
    margin-top: 6rem;
}

.about-values h2 {
    text-align: center;
    margin-bottom: 5rem;
    color: var(--primary-color);
    font-size: 3.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

/* Value Cards Icons - Sobre nosotros */
.value-card i {
    font-size: 4.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    display: block;
    background: none;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.6rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-new.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    font-size: 1.8rem;
    padding: 1.5rem 3rem;
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Páginas internas optimizadas para móvil */
.page-header {
    padding: 10rem 0 4rem 0;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.6rem;
    padding: 0 1rem;
}

.about-story {
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.about-story h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.about-story p {
    font-size: 1.6rem;
    line-height: 1.7;
}

.about-values h2 {
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.values-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.value-card {
    padding: 3rem 2rem;
}

.value-card i {
    font-size: 5rem;
    margin-bottom: 2.5rem;
}

.value-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.value-card p {
    font-size: 1.5rem;
}

/* CTA Section para móvil */
.cta-section {
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.cta-section .btn {
    font-size: 1.6rem;
    padding: 1.3rem 2rem;
}

/* Página de Servicios */
.services-extended {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

/* Forzar orden en móvil también */
.service-item .service-icon {
    order: 1;
    width: 7rem;
    height: 7rem;
    margin: 0 auto 2rem auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.service-item .service-icon i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.service-item .service-content {
    order: 2;
    width: 100%;
}

.service-features li {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Página de Contacto */
.contact-page {
    padding: 8rem 0;
    background-color: white;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Formulario más ancho (2 partes) vs Info (1 parte) */
    gap: 6rem;
    align-items: start;
}

.contact-form-container {
    background: var(--light-color);
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form-container p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.6rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

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

.contact-form label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    background-color: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form textarea {
    height: 12rem;
    resize: vertical;
}

.contact-form .btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-check input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Información de contacto */
.contact-info {
    padding: 2rem 0;
    text-align: center;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.6rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
    margin: 0 auto;
}

.contact-icon i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-text p {
    color: var(--text-color);
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
}

.contact-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

/* Social Icons - Mantener circulares pero más simples */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: var(--primary-color);
}

/* Colores específicos para cada tipo de ícono */
.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #8b0a6b 100%) !important;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4) !important;
}

.social-whatsapp {
    background: #25d366 !important;
}

.social-whatsapp:hover {
    background: #128c7e !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
}

.social-email {
    background: #ea4335 !important;
}

.social-email:hover {
    background: #d33b2c !important;
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4) !important;
}

.social-phone {
    background: #007bff !important;
}

.social-phone:hover {
    background: #0056b3 !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4) !important;
}

/* Mapa */
.map-section {
    margin: 6rem 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section - Estilos limpios y funcionales */
.faq-section {
    background-color: var(--light-color);
    padding: 8rem 0;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 3.2rem;
    margin-bottom: 5rem;
}

.faq-container {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    margin: 0;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    flex: 1;
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.faq-toggle.active {
    background: var(--primary-color);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-answer.active {
    padding: 0 2.5rem 2.5rem 2.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
}

/* Responsive para FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 0;
    }
    
    .faq-section h2 {
        font-size: 2.6rem;
        margin-bottom: 3rem;
    }
    
    .faq-section .faq-question {
        padding: 2rem;
    }
    
    .faq-section .faq-question h3 {
        font-size: 1.6rem;
        padding-right: 1.5rem;
    }
    
    .faq-section .faq-toggle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.6rem;
    }
    
    .faq-section .faq-answer.active {
        padding: 0 2rem 2rem 2rem;
    }
    
    .faq-section .faq-answer p {
        font-size: 1.5rem;
        padding-top: 1rem;
    }
}

@media (max-width: 402px) {
    .faq-section .faq-question {
        padding: 1.8rem;
    }
    
    .faq-section .faq-question h3 {
        font-size: 1.5rem;
        padding-right: 1.2rem;
    }
    
    .faq-section .faq-toggle {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.4rem;
    }
    
    .faq-section .faq-answer.active {
        padding: 0 1.8rem 1.8rem 1.8rem;
    }
    
    .faq-section .faq-answer p {
        font-size: 1.4rem;
    }
}

@media (max-width: 375px) {
    .faq-section .faq-question {
        padding: 1.5rem;
    }
    
    .faq-section .faq-question h3 {
        font-size: 1.4rem;
        padding-right: 1rem;
    }
    
    .faq-section .faq-toggle {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }
    
    .faq-section .faq-answer.active {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-section .faq-answer p {
        font-size: 1.3rem;
    }
}

/* Responsive para formulario de contacto */
@media (max-width: 1024px) {
    .contact-page .contact-grid {
        grid-template-columns: 3fr 2fr; /* En tablets, formulario aún más ancho */
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 3rem 2rem;
    }
    
    .contact-form-container h2 {
        font-size: 2.4rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 1.2rem;
        font-size: 1.5rem;
    }
    
    .contact-form .btn {
        font-size: 1.6rem;
        padding: 1.3rem 2rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-form-container h2 {
        font-size: 2.2rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 1rem;
        font-size: 1.4rem;
    }
}

/* FAQ Section (Contacto) - Interactiva */
.faq-section .faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    margin: 0;
    position: relative;
}

.faq-section .faq-question:hover {
    background-color: #f8f9fa;
}

.faq-section .faq-question h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    flex: 1;
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-section .faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.faq-section .faq-toggle.active {
    background: var(--primary-color);
    transform: rotate(45deg);
}

.faq-section .faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-section .faq-answer.active {
    padding: 0 2.5rem 2.5rem 2.5rem;
    max-height: 500px;
}

.faq-section .faq-answer p {
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
}