@media screen and (max-width: 768px) {
    .logo-band {
        animation-duration: 10s !important; /* Más rápido en móvil */
    }
}
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-250%);
    }
}
/* Variables de colores */
:root {
    --primary-purple: #8B5FBF;
    --primary-blue: #5D8BF4;
    --white: #FFFFFF;
    --black: #000000;
    --gradient: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    --dark-bg: #1a1a1a;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow-x: hidden;
}

/* Barra de navegación */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para el menú cuando se hace scroll */
nav.scrolled .nav-menu a {
    color: var(--black);
}

nav.scrolled .nav-menu a:hover {
    color: var(--primary-purple);
}

/* Para el menú hamburguesa en móviles */
nav.scrolled .hamburger div {
    background-color: var(--primary-blue);
}

/* Logo */
.logo {
    width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary-purple)) 
            drop-shadow(0 0 20px var(--primary-blue));
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: var(--primary-purple);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

/* Menú hamburguesa para móviles */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding-right: 5%;
    color: var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Botones */
.btn-container {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(140, 49, 144);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(134, 21, 153);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(140, 49, 144);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(134, 21, 153);
    transform: translateY(-3px);
}

/* Carrusel */
.carousel {
    width: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Sección de beneficios */
.benefits-section {
    padding: 80px 5%;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--light-bg);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

/* Sección Nosotros - Animaciones con scroll */
.about-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%238B5FBF" points="1000,1000 0,1000 0,0 500,500"/></svg>');
    background-size: cover;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Galería de imágenes con animaciones */
.about-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 100%;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(139, 95, 191, 0.15);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Estado visible cuando entra en viewport */
.about-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos escalonados para cada imagen */
.about-image.main {
    transition-delay: 0.2s;
}

.about-image.small:nth-child(1) {
    transition-delay: 0.4s;
}

.about-image.small:nth-child(2) {
    transition-delay: 0.6s;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-blue));
    z-index: -1;
    border-radius: 25px;
    opacity: 0.1;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

/* Imagen grande superior */
.about-image.main {
    width: 100%;
}

/* Contenedor de las dos imágenes inferiores */
.about-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

/* Imágenes pequeñas inferiores */
.about-image.small {
    width: 48%;
}

/* Contenido textual con animación */
.about-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.1s;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-title {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 500;
}

.about-details {
    margin-bottom: 30px;
}

.about-details p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.1), rgba(93, 139, 244, 0.1));
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
    font-style: italic;
}

/* Características con animación individual */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(139, 95, 191, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Retrasos escalonados para las características */
.feature-item:nth-child(1) { transition-delay: 0.3s; }
.feature-item:nth-child(2) { transition-delay: 0.4s; }
.feature-item:nth-child(3) { transition-delay: 0.5s; }
.feature-item:nth-child(4) { transition-delay: 0.6s; }

.feature-item:hover {
    background: rgba(139, 95, 191, 0.1);
    transform: translateX(0) translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* CTA section con animación */
.about-cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    padding: 30px;
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease 0.7s;
}

.about-cta.visible {
    opacity: 1;
    transform: scale(1);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.sparkle {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.about-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.about-cta .btn {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--primary-purple);
}

.about-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Modal de Cotización */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    margin: 2% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 25px 50px rgba(139, 95, 191, 0.3);
    border: 1px solid rgba(139, 95, 191, 0.1);
}

@keyframes slideUp {
    from { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-purple);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-blue);
    background: rgba(139, 95, 191, 0.1);
    transform: rotate(90deg);
}

.modal h2 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    text-align: center;
    font-size: 2rem;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Formulario */
.cotizacion-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 95, 191, 0.1);
}

.form-section h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(139, 95, 191, 0.2);
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 95, 191, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Términos y condiciones */
.form-terms {
    margin: 10px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-container a {
    color: var(--primary-purple);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Botón de envío */
.submit-btn {
    margin-top: 20px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* Mensaje de confirmación */
.confirmation-message {
    display: none;
}

.confirmation-content {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.confirmation-content h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.confirmation-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.confirmation-details {
    background: rgba(139, 95, 191, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
}

.confirmation-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.confirmation-details li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-actions {
    margin-top: 30px;
}

.confirmation-actions p {
    margin-bottom: 15px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

#nuevaCotizacionBtn {
    margin: 5px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--primary-purple));
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Esto hace que el logo sea blanco */
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.social-link:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #ccc;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-blue);
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #999;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--primary-blue);
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:hover::after {
    content: "¡Hola!, ¿cómo podemos ayudarte?";
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--white);
    color: var(--black);
    padding: 10px 15px;
    border-radius: 10px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    text-align: center;
}

.whatsapp-btn::before {
    content: "";
    position: absolute;
    bottom: 60px;
    right: 25px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* MEDIA QUERIES RESPONSIVE */

@media screen and (max-width: 1024px) {
    .hero-content, .carousel {
        width: 100%;
        padding-right: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .btn-container {
        justify-content: center;
    }
    
    .carousel {
        height: 350px;
    }
    
    .about-container {
        gap: 40px;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: absolute;
        right: 0;
        top: 70px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .carousel {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-policies {
        justify-content: center;
    }
    
    /* Sección Nosotros - Móviles */
    .about-section {
        padding: 60px 5%;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-gallery {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ajustes de animación para móviles */
    .about-image {
        transform: translateY(20px);
    }
    
    .about-content {
        transform: translateY(20px);
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 5% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .modal h2 {
        font-size: 1.6rem;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    .btn-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .carousel {
        height: 250px;
    }
    
    .logo {
        width: 120px;
        height: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
    
    /* Sección Nosotros - Móviles pequeños */
    .about-section {
        padding: 40px 5%;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .about-cta {
        padding: 20px;
    }
    
    .about-cta .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Modal móviles pequeños */
    .modal-content {
        padding: 25px 15px;
    }
    
    .form-section {
        padding: 15px 10px;
    }
    
    .confirmation-icon {
        font-size: 4rem;
    }
    
    .confirmation-content h3 {
        font-size: 1.5rem;
    }
}

/* Asegurar que no haya desbordamientos horizontales */
@media screen and (max-width: 768px) {
    .about-section,
    .about-container,
    .about-gallery,
    .about-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .about-image {
        max-width: 100%;
    }
}
/* Estilos para la nueva sección de banda de logos (Nuestros Clientes Satisfechos) */
.logo-band-section {
    width: 100%;
    overflow: hidden; /* Asegura que los logos que están fuera de vista no se muestren */
    background-color: var(--primary-purple); /* Fondo gris claro, o ajusta según tu diseño */
    padding-top: 80px; /* Padding superior para el título */
    padding-bottom: 80px; /* Padding inferior para el título y la banda */
}

.logo-band-container {
    padding: 20px 0; /* Espaciado vertical dentro de la banda */
    white-space: nowrap; /* Evita que los logos salten de línea */
    position: relative;
    overflow: hidden; /* Oculta el contenido desbordado para la animación */
    background-color: var(--primary-purple); /* Color de fondo de la banda */
}

.logo-band {
    display: flex;
    align-items: center;
    animation: scrollLogos 100s linear infinite; /* Más lento en pantallas grandes */
    animation-play-state: running; /* Asegura que la animación se reproduzca */
}

.logo-item {
    height: 60px; /* Ajusta la altura de tus logos según sea necesario */
    margin: 0 40px; /* Espacio entre los logos */
    flex-shrink: 0; /* Evita que los logos se encojan */
    /* Transforma los logos SVG a blanco */
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(270deg) brightness(200%) contrast(100%);
}

/* Pausar la animación al pasar el ratón */
.logo-band-container:hover .logo-band {
    animation-play-state: paused;
}

/* =========================================
   ESTILOS PARA PÁGINAS LEGALES (Términos y Privacidad)
   ========================================= */

/* Ajuste para la barra de navegación en páginas con fondo blanco */
.nav-solid {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-solid .nav-menu a {
    color: var(--black) !important; /* Enlaces oscuros para que se vean */
}

.nav-solid .nav-menu a:hover {
    color: var(--primary-purple) !important;
    background: rgba(139, 95, 191, 0.1);
}

/* Icono hamburguesa en fondo blanco */
.nav-solid .hamburger div {
    background-color: var(--black); 
}

/* Contenedor Principal */
.legal-section {
    padding: 140px 5% 80px; /* Padding superior alto porque el menú es fijo */
    min-height: 80vh;
    background-color: #fff;
    background-image: radial-gradient(circle at 10% 10%, rgba(139, 95, 191, 0.03) 0%, transparent 20%);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Botón de volver atrás */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 40px;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(93, 139, 244, 0.1);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-5px);
}

/* Títulos */
.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.2;
}

.legal-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.legal-content h2 {
    color: var(--primary-purple);
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 95, 191, 0.1);
}

/* Textos y Listas */
.legal-content p {
    color: #444; /* Gris oscuro para mejor lectura que el negro puro */
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
    position: relative;
    list-style: none;
}

/* Viñetas personalizadas */
.legal-content ul li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: -20px;
    top: -2px;
}

.legal-content strong {
    color: var(--black);
}

/* Footer simple para estas páginas */
.footer-simple {
    background: var(--dark-bg);
    color: #999;
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* RESPONSIVE para legales */
@media screen and (max-width: 768px) {
    .legal-section {
        padding: 120px 20px 60px;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    /* Ajuste menú móvil en página blanca */
    .nav-solid .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/* =========================================
   PRELOADER MEJORADO
   ========================================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient); /* Usa el mismo gradiente que tu hero section */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), 
                opacity 0.8s ease-out;
    overflow: hidden;
}

.preloader-logo {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatLogo 3s ease-in-out infinite;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Efecto de ondas concéntricas mejorado */
.wave-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: wave 2s infinite ease-out;
    opacity: 0;
    z-index: 1;
}

.wave-effect:nth-child(2) {
    animation-delay: 0.5s;
}

.wave-effect:nth-child(3) {
    animation-delay: 1s;
}

@keyframes wave {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
        border-width: 2px;
    }
    70% {
        opacity: 0.4;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Texto de carga opcional */
.loading-text {
    position: absolute;
    bottom: 30%;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Barra de progreso opcional */
.progress-bar {
    position: absolute;
    bottom: 25%;
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: white;
    border-radius: 2px;
    transition: width 0.3s ease;
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Estados de salida mejorados */
#preloader.fade-out {
    transform: translateY(-100%);
    opacity: 0;
}

#preloader.slide-out {
    transform: translateY(-100%);
    opacity: 0;
}

#preloader.zoom-out {
    transform: scale(1.5);
    opacity: 0;
}

@keyframes wave {
    0% {
        width: 0;
        height: 0;
        opacity: 0.7;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Optimización de animaciones */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Remover CSS no utilizado */
.logo-band-container:hover .logo-band {
    animation-play-state: running; /* En lugar de pausado */
}