/* Main CSS for EncuestIA */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Import custom styles */
@import url('custom.css');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0693e3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0575c4;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Forms */
input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-section {
        display: none;
    }
} 

/* Testimonios mejor maquetados */
.testimonials-section {
    padding: 60px 0;
    background: #fff;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-rating {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 8px;
}

.testimonial-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.testimonial-info p {
    font-size: 1rem;
    color: #495057;
    margin: 0 0 2px 0;
}

.testimonial-info span {
    font-size: 0.95rem;
    color: #6c757d;
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-card {
        padding: 20px 10px 16px 10px;
    }
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
} 

/* Accesibilidad: ocultar skip link excepto en foco */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    background: #007bff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    text-decoration: none;
    transition: left 0.2s;
}
.skip-link:focus, .skip-link:active {
    left: 16px;
    top: 0;
    width: auto;
    height: auto;
    outline: 2px solid #0056b3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
} 

/* Ocultar menú hamburguesa en escritorio */
@media (min-width: 901px) {
    .menu-toggle {
        display: none !important;
    }
    .menu-overlay {
        display: none !important;
    }
}

/* Menú hamburguesa para móvil - versión simplificada */
@media (max-width: 900px) {
    .site-description {
        display: none;
    }
    
    .header-inner {
        padding: 15px 80px 15px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .site-branding {
        flex: 1;
        max-width: calc(100% - 80px);
    }
    
    .custom-logo {
        max-height: 45px;
        width: auto;
    }
    
    .menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 12001;
        background: #fff;
        border: 2px solid #0693e3;
        border-radius: 8px;
        padding: 8px 10px;
        cursor: pointer;
        font-size: 16px;
        color: #0693e3;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle:hover {
        background: #0693e3;
        color: #fff;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80vw;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 12000;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 20px 30px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.current {
        background: #f8f9fa;
        color: #0693e3;
        padding-left: 40px;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.3);
        z-index: 11999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Ocultar el menú en desktop */
    @media (min-width: 901px) {
        .menu-toggle {
            display: none;
        }
        .menu-overlay {
            display: none;
        }
    }
} 

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,50"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 1.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #0693e3;
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.8);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #0693e3;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

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

.benefit-item {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: #0693e3;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
}

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

.features-column ul {
    list-style: none;
    padding: 0;
}

.features-column li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.features-column li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0693e3;
    font-weight: bold;
}

.features-column li:last-child {
    border-bottom: none;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: #fff;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.how-it-works h3 {
    text-align: center;
    font-size: 1.3rem;
    color: #6c757d;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-item {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0693e3;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 1rem 0;
}

.step-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Results Section */
.results-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.results-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.result-testimonial {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.result-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.result-testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.result-testimonial cite {
    font-weight: 600;
    font-style: normal;
}

/* Key Benefits Section */
.key-benefits {
    padding: 5rem 0;
    background: #fff;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.benefits-text p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.7;
}

.benefits-accordion {
    space-y: 1rem;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item h6 {
    background: #f8f9fa;
    padding: 1.2rem;
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-item h6:hover {
    background: #e9ecef;
}

.accordion-content {
    padding: 1.2rem;
    background: #fff;
}

.accordion-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    color: #fff;
    text-align: center;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Language Selector Styles - Simplified */
.language-selector {
    margin-left: 20px;
    position: relative;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease;
    min-width: 50px;
    justify-content: center;
}

.language-toggle:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.language-code {
    font-weight: 600;
    font-size: 0.9rem;
}

.language-arrow {
    font-size: 0.7rem;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.language-dropdown:hover .language-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 4px;
    min-width: 50px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
}

.language-option:hover {
    background: #007bff;
    color: white;
}

.language-option .language-code {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile styles for language selector */
@media (max-width: 900px) {
    .language-selector {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .language-menu {
        width: 100%;
        right: auto;
        left: 0;
        top: calc(100% + 4px);
    }
    
    .language-option {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Desktop navigation improvements */
@media (min-width: 901px) {
    .main-navigation {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 30px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-menu a {
        color: #2c3e50;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        padding: 8px 0;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        transition: width 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-menu a:hover::after,
    .nav-menu a.current::after {
        width: 80%;
    }
    
    .nav-menu a:hover,
    .nav-menu a.current {
        color: #007bff;
    }
} 