:root {
    --primary-blue: #0A2463;
    --electric-cyan: #00D9FF;
    --bright-white: #FFFFFF;
    --soft-gray: #F5F7FA;
    --text-dark: #1A1A2E;
    --accent-gold: #FFB800;
    --success-green: #00C896;
    --gradient-hero: linear-gradient(135deg, #0A2463 0%, #1E3A8A 100%);
    --gradient-flash: linear-gradient(90deg, #00D9FF 0%, #0EA5E9 100%);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bright-white);
}

/* Header con efecto glassmorphism */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--electric-cyan);
}

.logo {
    height: 60px;
}

.logo img {
    height: 100%;
    width: auto;
}

.cta-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-secondary {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--electric-cyan);
    background: transparent;
    color: var(--primary-blue);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--electric-cyan);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.3);
}

.btn-primary {
    padding: 0.8rem 2rem;
    background: var(--gradient-flash);
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.hamburger-menu {
    display: none;
}

/* Hero Section - IMPACTO MÁXIMO */
.hero {
    margin-top: 80px;
    background: var(--gradient-hero);
    color: white;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Raleway', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-text {
    background: var(--gradient-flash);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.btn-hero {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background: var(--electric-cyan);
    color: var(--primary-blue);
    border: none;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.6);
}

.btn-hero-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Hero Desafío Badge - Logo blanco con texto */
.hero-desafio-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-left: 1.5rem;
    padding: 0.5rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
    transition: all 0.3s ease;
}

.hero-desafio-badge:hover {
    transform: translateY(-3px);
}

.desafio-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--electric-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desafio-logo {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 184, 0, 0.2));
}

.countdown-timer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--electric-cyan);
    text-align: center;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.countdown-time {
    font-size: 2rem;
    font-weight: 800;
    color: var(--electric-cyan);
}

/* Stats Bar */
.stats-bar {
    background: white;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.stat-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out both;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-flash);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Problem Section */
.problem-section {
    padding: 6rem 2rem;
    background: var(--soft-gray);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Raleway', serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.problem-list {
    list-style: none;
    padding: 0;
}

.problem-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.problem-list li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

/* Solution Section */
.solution-section {
    padding: 6rem 2rem;
    background: white;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.solution-visual {
    position: relative;
}

.solution-image {
    width: 100%;
    border-radius: 30px;
    background-image: url('https://smileflash.cl/desafio-smile-01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 700px;
    /* Define una altura para que se vea */
}

.tech-badge {
    position: absolute;
    background: var(--gradient-hero);
    color: white;
    padding: 1rem 2rem;
	margin: 0 1rem;
    border-radius: 15px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-badge-1 {
    top: 10%;
    left: -5%;
}

.tech-badge-2 {
    bottom: 15%;
    right: -5%;
    background: var(--gradient-flash);
    color: var(--primary-blue);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.feature-content p {
    color: #666;
    line-height: 1.7;
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 2rem;
    background: var(--soft-gray);
}

.comparison-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    background: white;
}

.comparison-table {
    min-width: 850px;
    background: white;
    overflow: hidden;
}

.comparison-mobile-hint {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .comparison-wrapper {
        overflow-x: visible;
        border-radius: 20px;
        box-shadow: none;
        background: transparent;
    }

    .comparison-table {
        min-width: 100%;
        display: block;
        background: transparent;
    }

    .comparison-header {
        display: block;
        /* Volvemos a mostrar el header pero con cambios */
        background: var(--primary-blue);
        color: white;
        text-align: center;
        padding: 1rem;
        font-weight: 800;
        border-radius: 15px;
        margin-bottom: 1rem;
    }

    .comparison-header div:not(:first-child) {
        display: none;
        /* Ocultamos todas las columnas excepto la primera */
    }

    .comparison-header div:first-child {
        width: 100%;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .comparison-row {
        display: flex;
        flex-direction: column;
        background: white;
        margin-bottom: 2rem;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-bottom: none;
    }

    .comparison-cell:first-child {
        width: 100%;
        text-align: center;
        font-size: 1.4rem;
        padding: 0 0 1rem 0;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--soft-gray);
        color: var(--primary-blue);
    }

    .comparison-cell:not(:first-child) {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
        font-size: 1rem;
    }

    .comparison-cell:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 700;
        color: #666;
        text-align: left;
        min-width: 148px;
        max-width: 250px;
        /* Ancho mínimo para etiquetas */
        margin-right: 1rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        flex-shrink: 0;
    }

    /* Alineación de los valores e iconos */
    .comparison-cell:not(:first-child) span,
    .comparison-cell:not(:first-child) strong {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-direction: row;
        /* Icono después del texto si es span/strong */
        text-align: left;
    }

    .check-icon,
    .cross-icon {
        min-width: 24px;
        display: inline-flex;
        justify-content: flex-start;
    }

    .comparison-cell:last-child {
        border-bottom: none;
    }

    .comparison-cell.highlight-cell {
        background: rgba(0, 217, 255, 0.05);
        margin: 0.2rem 0;
        padding: 0.8rem 0.5rem;
        border-radius: 8px;
    }

    .comparison-cell.highlight-cell::before {
        color: var(--primary-blue);
    }

    .comparison-mobile-hint {
        display: none !important;
    }
}


.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    background: var(--gradient-hero);
    color: white;
    font-weight: 700;
    padding: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.comparison-row:hover {
    background: var(--soft-gray);
}

.comparison-cell {
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.comparison-cell:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--primary-blue);
    justify-content: flex-start;
}

.check-icon,
.cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    /* Ancho fijo para alineación */
    text-align: center;
}

.check-icon {
    color: var(--success-green);
    font-size: 1.8rem;
}

.cross-icon {
    color: #E63946;
    font-size: 1.8rem;
}

.highlight-cell {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 217, 255, 0.05));
    border-radius: 10px;
    padding: 0.5rem;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 2rem;
    background: var(--gradient-hero);
    color: white;
}

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

.pricing-card {
    background: white;
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-flash);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-detail {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.pricing-cta {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    background: var(--gradient-flash);
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 2rem;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--electric-cyan);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Raleway', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.btn-cta-large {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 40px rgba(10, 36, 99, 0.3);
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(10, 36, 99, 0.5);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Raleway', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--electric-cyan);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--electric-cyan);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    font-size: 2rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.faq-item.active {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    border-color: var(--electric-cyan);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    /* Dejar que el click pase al faq-item */
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    pointer-events: none;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--electric-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #f9f9f9;
    color: #666;
    line-height: 1.8;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Suficiente para el contenido de las respuestas */
    opacity: 1;
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    color: #666;
    line-height: 1.8;
}

/* Brand Quote Section */
.brand-quote {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
    position: relative;
}

.brand-quote::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--soft-gray), transparent);
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 30px;
    background: var(--soft-gray);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-text {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--primary-blue);
    margin: 0;
}

.quote-text .highlight {
    background: var(--gradient-flash);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 1.6rem;
    }
}

.gallery-section {
    padding: 6rem 2rem;
    background: var(--soft-gray);
}

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

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ba-container {
    position: relative;
    height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ba-placeholder {
    position: relative;
    overflow: hidden;
}

.ba-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ba-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
}

.gallery-info {
    padding: 1.5rem;
}

.patient-type {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.patient-result {
    color: var(--electric-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.patient-testimony {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    background: white;
}

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

.video-card {
    background: var(--soft-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: var(--electric-cyan);
    color: white;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.video-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
}

/* Quiz Section */
.quiz-section {
    padding: 6rem 2rem;
    background: var(--gradient-hero);
    color: white;
}

.quiz-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 30px;
    padding: 3rem;
    color: var(--text-dark);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quiz-intro {
    text-align: center;
}

.quiz-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.quiz-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.quiz-intro p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-flash);
    transition: width 0.3s ease;
    width: 14%;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.question-container {
    margin: 2rem 0;
}

.question-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    padding: 1.2rem;
    border: 2px solid #E0E0E0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.quiz-option:hover {
    border-color: var(--electric-cyan);
    background: rgba(0, 217, 255, 0.05);
}

.quiz-option.selected {
    border-color: var(--electric-cyan);
    background: rgba(0, 217, 255, 0.1);
}

.quiz-option input[type="radio"] {
    margin-right: 1rem;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.quiz-result {
    text-align: center;
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.result-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.result-ideal {
    color: var(--success-green);
}

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

.quiz-benefits {
    margin-top: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 30px;
}

/* Refactored Utility Classes */
.list-standard {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.list-small {
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.text-spaced {
    margin-top: 1rem;
}

.text-success-bold {
    margin-top: 1rem;
    color: var(--success-green);
    font-weight: 600;
}

.text-danger-bold {
    font-weight: 700;
    color: #E63946;
    margin-bottom: 0.5rem;
}

.text-gray {
    color: #666;
}

.text-white {
    color: white;
}

.text-white-sub {
    color: rgba(255, 255, 255, 0.9);
}

.text-through {
    text-decoration: line-through;
}

.highlight-box-blue {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.stats-summary-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 20px;
}

.diet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.quiz-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Gallery Gradients */
.bg-coffee-stain {
    background: linear-gradient(135deg, #8B7355, #A0826D);
}

.bg-white-clean {
    background: linear-gradient(135deg, #E8E8E8, #FFFFFF);
}

.bg-smoker-stain {
    background: linear-gradient(135deg, #6B5B4D, #8B7355);
}

.bg-age-stain {
    background: linear-gradient(135deg, #9B8B7E, #B5A599);
}

.bg-wedding-stain {
    background: linear-gradient(135deg, #8B7969, #A08E7E);
}

.bg-white-clean-2 {
    background: linear-gradient(135deg, #F0F0F0, #FFFFFF);
}

.bg-white-clean-3 {
    background: linear-gradient(135deg, #EBEBEB, #FFFFFF);
}

.bg-white-clean-4 {
    background: linear-gradient(135deg, #E5E5E5, #FFFFFF);
}

.gallery-face-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.gallery-face-box.text-white {
    color: white;
}

/* Video Placeholders */
.video-bg-blue {
    background: linear-gradient(135deg, #1E3A8A, #00D9FF);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 20px;
    color: white;
}

.video-bg-dark-blue {
    background: linear-gradient(135deg, #0A2463, #1E3A8A);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 20px;
    color: white;
}

/* Pricing */
.price-saving-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success-green);
}

.price-detail-sub {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.stats-limited-box {
    text-align: center;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.limited-warning-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.limited-warning-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.benefit-title {
    font-weight: 700;
    margin-bottom: 0px;
}

.benefits-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

@media (max-width: 968px) {
    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 2rem 1.5rem;
    }

    .quiz-benefits>div {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        padding-top: 6rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-highlight {
        font-size: 1.5rem;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-desafio-badge {
        margin-left: 0;
        margin-top: 1rem;
    }

    .desafio-logo {
        height: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-cell {
        text-align: left !important;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: row;
        gap: 1rem;
        padding: 0 1rem;
    }

    .logo {
        height: 50px;
    }

    .nav-menu {
        display: none;
    }

    .cta-header {
        gap: 0.5rem;
        align-items: center;
    }

    .btn-secondary,
    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        margin-left: 0.5rem;
    }

    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background: var(--primary-blue);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    /* Mobile Nav Overlay */
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 80px;
        /* Below header */
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        align-items: center;
        animation: slideDownMenu 0.3s ease-out forwards;
        border-bottom: 2px solid var(--electric-cyan);
    }

    .nav-menu.active .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hamburger Animation when Active */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

/* Additional utility classes for inline styles */
.hero-subtitle-small {
    font-size: 1.2rem;
    margin-top: 0;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(255, 184, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.pricing-support-text {
    color: var(--primary-blue);
    font-weight: 600;
}

.cta-contact-info {
    margin-top: 2rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.footer-copyright {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Solution section placeholder */
.solution-placeholder {
    background: linear-gradient(135deg, #0A2463, #00D9FF);
    height: 400px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* FAQ section utility classes */
.faq-note {
    color: #666;
    font-size: 0.9rem;
}

.faq-allowed-title {
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 0.5rem;
}

.faq-avoid-title {
    font-weight: 700;
    color: #E63946;
    margin-bottom: 0.5rem;
}

.faq-list-small {
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.faq-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

/* Gallery section placeholders */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E0E0E0, #F5F5F5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
}

/* Video section placeholders */
.video-placeholder-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A2463, #00D9FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

/* Responsive adjustments for FAQ grid */
@media (max-width: 968px) {
    .faq-grid-two {
        grid-template-columns: 1fr;
    }
}

/* FAQ info box */
.faq-info-box {
    margin-top: 1rem;
    background: rgba(255, 184, 0, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Quiz questions container - hidden by default */
#quiz-questions-container {
    display: none;
}

/* FAQ utility classes */
.faq-comparison-text {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.faq-list-standard {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

/* Generic Utilities */
.text-center {
    text-align: center;
}

.d-inline-block {
    display: inline-block;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-1-5 {
    margin-top: 1.5rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-1-5 {
    margin-bottom: 1.5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-small {
    font-size: 0.9rem;
}

.text-lg {
    font-size: 1.1rem;
}

.d-none {
    display: none !important;
}

.text-muted {
    color: #999;
}

.stats-summary-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.price-installment {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.badge-red {
    background: #E63946;
}