/* Estilos personalizados para GOWeb */

/* Variables para fácil edición */
:root {
    --color-primary: #00ADB5;
    --color-secondary: #393E46;
    --color-dark: #222831;
    --color-light: #EEEEEE;
}

/* Estilos generales */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-dark);
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Estilos para secciones */
section {
    overflow: hidden;
}

/* Animaciones */
.transition {
    transition: all 0.3s ease;
}

/* Personalización de elementos del cotizador */
.step-indicator.active {
    background-color: var(--color-primary);
    color: white;
}

.type-option.selected {
    border-color: var(--color-primary);
    background-color: rgba(0, 173, 181, 0.1);
}

/* Personalización del carrusel de testimonios */
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Estilo para el acordeón de FAQ */
.faq-question.active i {
    transform: rotate(45deg);
}

/* Accesibilidad */
*:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Personalización de scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Estilos simples para resumen */
#resumen-container {
    font-size: 0.95rem;
}

#resumen-container ul {
    margin-left: 0.5rem;
    padding-left: 1rem;
}

#resumen-container li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Optimizaciones para dispositivos móviles */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .testimonial-slide {
        padding: 0 0.5rem;
    }
    
    /* Estilos para el cotizador en móviles */
    #cotizador-wizard {
        padding: 1rem;
    }
    
    /* Mejor visualización de radio buttons en móvil */
    input[type="radio"] {
        min-width: 1.25rem;
    }
    
    /* Ajuste de espaciado para elementos del cotizador */
    .step-content {
        padding-bottom: 1rem;
    }
    
    /* Indicadores de paso con scroll horizontal */
    .step-indicator {
        min-width: 2.5rem;
        min-height: 2.5rem;
    }
    
    .mobile-hidden {
        display: none !important;
    }
    
    /* Ajustes para el resumen en móvil */
    #resumen-container {
        font-size: 0.9rem;
    }
    
    #resumen-container ul {
        padding-left: 1rem;
    }
    
    #resumen-container li {
        margin-bottom: 0.4rem;
    }
}

/* Optimizaciones para imágenes y rendimiento */
img {
    max-width: 100%;
    height: auto;
}

/* Efectos de hover */
a:hover, button:hover {
    opacity: 0.9;
}

/* Animación simplificada para WhatsApp */
a[href^="https://wa.me"]:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Estilos simplificados para los iconos */
.icon-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-animated {
    color: var(--color-primary);
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon-animated:hover {
    transform: scale(1.1);
}

/* Estilo simplificado para el botón de regalo */
.gift-animated {
    box-shadow: 0 0 15px rgba(0, 173, 181, 0.5);
    transition: transform 0.3s ease;
}

.gift-animated:hover {
    transform: translateY(-5px);
}

/* Estilos para la promoción de SEO */
#seo-promo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#seo-promo.visible {
    opacity: 1;
}

/* Resaltados para el texto */
.highlight {
    position: relative;
    color: var(--color-primary);
    font-weight: 700;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background-color: rgba(0, 173, 181, 0.2);
    z-index: -1;
    border-radius: 3px;
}

/* Estilos profesionales para el hero */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Patrón de puntos para el fondo */
.hero-dots-pattern {
    background-image: radial-gradient(circle, rgba(0, 173, 181, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* Efectos de entrada suaves para el contenido */
.hero-content-wrapper {
    animation: heroFadeInUp 1.2s ease-out;
}

.hero-title {
    animation: heroFadeInUp 1.2s ease-out 0.2s both;
}

.hero-subtitle {
    animation: heroFadeInUp 1.2s ease-out 0.4s both;
}

.hero-description {
    animation: heroFadeInUp 1.2s ease-out 0.6s both;
}

.hero-cta {
    animation: heroFadeInUp 1.2s ease-out 0.8s both;
}

/* Animación de entrada suave */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos para los highlights del texto */
.hero-highlight {
    position: relative;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 173, 181, 0.3);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 173, 181, 0.6), 0 0 25px rgba(0, 173, 181, 0.4);
        transform: scale(1.02);
    }
}

/* Botón hero mejorado */
.hero-button {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-primary), #00969e);
    box-shadow: 0 10px 30px rgba(0, 173, 181, 0.3);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 173, 181, 0.4);
}



/* Efectos responsivos mejorados */
@media (max-width: 768px) {
    .hero-dots-pattern {
        background-size: 20px 20px;
    }
    
    .hero-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-highlight::after {
        height: 2px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .hero-content-wrapper,
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-cta,
    .hero-highlight {
        animation: none;
    }
}

/* Clase para forzar visibilidad */
.force-visible {
    display: block !important;
}

/* Clase para el fondo del resumen */
.bg-e6f4ee {
    background-color: #e6f4ee;
}

/* Clase para el borde del resumen */
.border-b0dfcc {
    border-color: #b0dfcc;
}

/* Estilos específicos para dispositivos muy pequeños */
@media (max-width: 375px) {
    .step-indicator {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .type-option {
        padding: 0.75rem;
    }
    
    .type-option h4 {
        font-size: 1rem;
    }
    
    #resumen-container {
        font-size: 0.85rem;
    }
    
    #resumen-container li {
        line-height: 1.3;
        margin-bottom: 0.3rem;
    }
}
