/* ==================== HERO SERVICIOS ==================== */
.hero-servicios {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    min-height: 85vh;
}

.hero-servicios .hero-overlay {
    background: linear-gradient(90deg, rgba(0,31,63,0.88), rgba(0,51,102,0.65));
}

.hero-visual-servicios {
    position: relative;
}

.hero-main-image {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 15px solid rgba(255,255,255,0.2);
}

/* ==================== BEFORE & AFTER - 2 PACIENTES ==================== */
.before-after-section {
    padding: 6rem 0;
    background: #f8fbff;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 3rem auto;
}

.ba-patient h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.image-comparison {
    position: relative;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    background: #000;
}

.before-img,
.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-img {
    clip-path: inset(0 50% 0 0);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 100%;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    z-index: 10;
    transform: translateX(-50%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    background: var(--accent);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 35px rgba(0,168,232,0.5);
    z-index: 11;
}

@media (max-width: 992px) {
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .image-comparison {
        height: 420px;
    }
}/* ==================== POR QUÉ ELEGIRNOS ==================== */

.porque-section {
    padding: 6rem 0;
    background: #f8fbff;
}

.porque-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================= LEFT ================= */

.porque-left {
    width: 100%;
}

.section-tag {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.porque-left h2 {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 1.3rem;
    color: var(--primary);
}

.porque-left p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ================= VIDEO ================= */

.video-vertical-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.video-vertical {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease;
}

.video-play-overlay i {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: .3s ease;
}

.video-play-overlay:hover i {
    transform: scale(1.08);
}

/* ================= RIGHT ================= */

.porque-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-self: center;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: .35s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.benefit-icon {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: .8rem;
    color: var(--primary);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .porque-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .porque-left {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .video-vertical-wrapper {
        margin: 0 auto;
    }

    .porque-right {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .porque-left h2 {
        font-size: 2.2rem;
    }

    .porque-right {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        text-align: center;
    }

    .video-play-overlay i {
        width: 65px;
        height: 65px;
    }
}

/* ==================== SERVICIOS DETALLADOS ==================== */
.services-detail-section {
    padding: 6rem 0;
    background: white;
}

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

.service-detail-card {
    background: #f8fbff;
    padding: 2.8rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-icon-large {
    font-size: 3.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-features {
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* ==================== GALERÍA DE SONRISAS ==================== */
.galeria-sonrisas {
    padding: 6rem 0;
    background: white;
}

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

.galeria-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s;
}

.galeria-item:hover {
    transform: translateY(-12px);
}

.galeria-hover {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.galeria-antes,
.galeria-despues {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

.galeria-despues {
    opacity: 0;
}

.galeria-item:hover .galeria-despues {
    opacity: 1;
}

.galeria-info {
    padding: 1.2rem 1.5rem;
    background: white;
    text-align: center;
}

.galeria-info h4 {
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.galeria-info small {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-hover {
        height: 320px;
    }
}
/* ==================== FAQ ROBUSTO ==================== */
.faq-section {
    padding: 6rem 0;
    background: #f8fbff;
}

.faq-accordion {
    max-width: 820px;
    margin: 3rem auto;
}

.faq-item {
    background: white;
    margin-bottom: 12px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::marker {
    display: none;
}

.faq-answer {
    padding: 0 2rem 1.8rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Estilo cuando está abierto */
.faq-item[open] .faq-question {
    border-bottom: 1px solid #eee;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 600;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-trust {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-benefits {
        gap: 1.5rem;
    }
}