/* ==========================================================================
   MONTE WHITE DENTAL CLINIC - SYSTEMA DE ESTILOS PREMIUM
   ========================================================================== */

/* 1. IMPORTACIONES & FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* 2. VARIABLES DEL SISTEMA DE DISEÑO */
:root {
    /* Paleta Principal Solicitada */
    --primary-magenta: #CD4093;
    --primary-magenta-rgb: 205, 64, 147;
    --secondary-grey: #9C9C9A;
    --accent-gold: #BE934D;
    --accent-gold-rgb: 190, 147, 77;
    
    /* Contrastes Médicos Premium (Slate / Navy) */
    --dark-navy: #0A1128;
    --dark-navy-rgb: 10, 17, 40;
    --dark-slate: #131D3B;
    --light-bg: #F7F9FC;
    --white: #FFFFFF;
    
    /* Tipografía */
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
    
    /* Colores de Texto */
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --text-muted-light: #94A3B8;
    
    /* Transiciones & Sombras */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(10, 17, 40, 0.05);
    --shadow-lg: 0 20px 40px rgba(10, 17, 40, 0.08);
    --shadow-glow: 0 0 30px rgba(205, 64, 147, 0.2);
    --shadow-gold-glow: 0 0 25px rgba(190, 147, 77, 0.15);
    
    /* Bordes & Radios */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;
    
    --border-light: 1px solid rgba(226, 232, 240, 0.8);
    --border-gold: 1px solid rgba(190, 147, 77, 0.3);
}

/* 3. RESET DE ESTILOS & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* 4. ANIMACIONES DE SCROLL & UTILERÍAS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.section-padding {
    padding: 100px 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Títulos Secciones */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-magenta);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-round);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(205, 64, 147, 0.3);
}

.btn-primary:hover {
    background-color: #b3327d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 64, 147, 0.45);
}

.btn-secondary {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-glow);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark-navy);
    transform: translateY(-2px);
}

/* 5. NAVEGACIÓN & HEADER */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-nav.scrolled {
    padding: 8px 0;
}

.header-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Estilizado */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--dark-navy);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.03);
}

/* Menú Enlaces */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-magenta);
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-magenta);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Hamburguesa Menú Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--dark-navy);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--dark-navy) !important;
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--dark-navy) !important;
}

/* 6. HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark-navy);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.65;
    z-index: 1;
}

/* Overlay solicitado: azul oscuro con 50% opacity */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.85) 0%, rgba(19, 29, 59, 0.6) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.hero-content {
    max-width: 750px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-magenta);
    background: linear-gradient(120deg, var(--primary-magenta) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Indicadores */
.hero-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.indicator-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.indicator-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Scroll Indicator Animado */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-magenta);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel-anim {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* 7. SOBRE NOSOTROS */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.about-text-column {
    display: flex;
    flex-direction: column;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-magenta);
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin: 10px 0 30px 0;
    font-style: italic;
}

/* Pestañas Misión/Visión/Valores */
.about-tabs {
    display: flex;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 24px;
    gap: 24px;
}

.tab-btn {
    padding: 12px 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary-magenta);
}

.tab-btn.active {
    color: var(--primary-magenta);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-magenta);
    transition: var(--transition-smooth);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: tab-fade 0.5s ease-out;
}

@keyframes tab-fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.value-item svg {
    color: var(--accent-gold);
    width: 18px;
    height: 18px;
}

/* Imagen de Sobre Nosotros */
.about-image-column {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    transform: translate(15px, 15px);
    z-index: -1;
    transition: var(--transition-smooth);
}

.about-image-column:hover .about-image-wrapper::after {
    transform: translate(8px, 8px);
}

.about-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 15px 40px rgba(10, 17, 40, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 5px solid var(--primary-magenta);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-magenta);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* 8. TRATAMIENTOS / SERVICIOS */
.treatments-section {
    background-color: var(--light-bg);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.treatment-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.treatment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.treatment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.treatment-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.treatment-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.treatment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-magenta);
}

.treatment-link svg {
    transition: var(--transition-fast);
}

/* Hover con animación elegante */
.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(205, 64, 147, 0.2);
}

.treatment-card:hover .treatment-img {
    transform: scale(1.08);
}

.treatment-card:hover .treatment-title {
    color: var(--primary-magenta);
}

.treatment-card:hover .treatment-link svg {
    transform: translateX(4px);
}

/* 9. ¿POR QUÉ ELEGIRNOS? */
.why-section {
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: var(--border-light);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--primary-magenta) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.why-icon-container {
    width: 70px;
    height: 70px;
    background-color: rgba(190, 147, 77, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-container {
    background-color: var(--primary-magenta);
    color: var(--white);
    transform: scale(1.05);
}

.why-icon-container svg {
    width: 32px;
    height: 32px;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 14px;
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(190, 147, 77, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}

/* 10. CASOS CLÍNICOS / ANTES Y DESPUÉS */
.cases-section {
    background-color: var(--light-bg);
}

/* Slider Antes/Después Principal */
.before-after-slider-wrapper {
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: var(--border-gold);
    position: relative;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 500px;
    user-select: none;
    -webkit-user-select: none;
}

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

.before-after-after {
    z-index: 1;
}

.before-after-before {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    will-change: clip-path;
}

/* Slider Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--white);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    will-change: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-gold);
    font-size: 1.2rem;
    pointer-events: none;
}

.slider-button svg {
    width: 20px;
    height: 20px;
}

/* Etiquetas */
.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    background-color: rgba(10, 17, 40, 0.85);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 4;
    letter-spacing: 1px;
}

.slider-label.label-before {
    left: 20px;
}

.slider-label.label-after {
    right: 20px;
}

/* Galería Masonry Inteligente */
.cases-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border: var(--border-light);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.2) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* 11. TECNOLOGÍA Y EQUIPAMIENTO */
.tech-section {
    background-color: var(--dark-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.tech-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(205, 64, 147, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    filter: blur(80px);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.tech-subtitle-premium {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    font-style: italic;
}

.tech-desc-main {
    font-size: 1.05rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 40px;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tech-item {
    display: flex;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.tech-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(190, 147, 77, 0.3);
    transform: translateY(-3px);
}

.tech-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.tech-item-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.tech-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    line-height: 1.4;
}

.tech-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: var(--border-gold);
}

/* 12. TESTIMONIOS */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
}

.testimonial-bubble {
    background-color: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Controles de testimonios */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: var(--border-light);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.control-btn:hover {
    background-color: var(--primary-magenta);
    border-color: var(--primary-magenta);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(205, 64, 147, 0.2);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-grey);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary-magenta);
    transform: scale(1.3);
}

/* 13. SECCIÓN FINANCIAMIENTO */
.finance-section {
    background-color: var(--dark-navy);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Resplandores visuales */
.finance-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(190, 147, 77, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(80px);
}

.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.finance-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(190, 147, 77, 0.3);
    box-shadow: var(--shadow-gold-glow);
}

.finance-title-premium {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.finance-title-premium span {
    background: linear-gradient(120deg, var(--accent-gold) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.finance-text {
    font-size: 1.05rem;
    color: var(--text-muted-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.finance-options {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.finance-option-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
}

.finance-option-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* 14. EQUIPO MÉDICO */
.team-section {
    background-color: var(--white);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
    width: 100%;
    max-width: 380px;
    transition: var(--transition-smooth);
}

.team-img-wrapper {
    height: 380px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-gold);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.team-specialty {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.team-cop {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(190, 147, 77, 0.08);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-gold-glow);
    border-color: rgba(190, 147, 77, 0.2);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.04);
}

/* 15. CONTACTO Y UBICACIÓN */
.contact-section {
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

/* Formulario */
.contact-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: var(--border-light);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--light-bg);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    background-color: var(--white);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(190, 147, 77, 0.15);
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    border: var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--light-bg);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23BE934D' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    transition: var(--transition-fast);
}

.form-select:focus {
    background-color: var(--white);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(190, 147, 77, 0.15);
}

.contact-success-msg {
    display: none;
    background-color: rgba(46, 117, 89, 0.08);
    border-left: 4px solid #2e7559;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #2e7559;
    font-weight: 500;
}

/* Info y Mapa */
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(190, 147, 77, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-value a:hover {
    color: var(--primary-magenta);
}

/* Mapa */
.map-container {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 16. CTA FINAL */
.cta-final-section {
    background-color: var(--primary-magenta);
    background-image: linear-gradient(135deg, var(--primary-magenta) 0%, #b3327d 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.cta-final-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-final-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 17. FOOTER */
.footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-block;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-magenta);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-magenta);
    padding-left: 4px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.footer-bottom-link:hover {
    color: var(--primary-magenta);
}

/* 18. BOTÓN FLOTANTE WHATSAPP & MODAL LIGHTBOX */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Animación de pulso para el botón flotante */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.6;
    z-index: -1;
    animation: whatsapp-pulse-anim 2s infinite;
}

@keyframes whatsapp-pulse-anim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: var(--border-gold);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--primary-magenta);
}

.lightbox-caption {
    background-color: rgba(10, 17, 40, 0.9);
    padding: 16px 24px;
    color: var(--white);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* 19. RESPONSIVIDAD (MOBILE) */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Navbar Móvil con Menú Hamburguesa */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 1.15rem;
    }
    
    .header-nav.scrolled .nav-link {
        color: var(--text-dark);
    }
    
    .nav-cta {
        display: none; /* Ocultar CTA del nav en móvil y meterlo en el menú o dejar solo en hero */
    }
    
    /* Layouts en 1 columna */
    .about-grid,
    .tech-grid,
    .finance-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-column {
        order: -1; /* Mostrar imagen antes del texto en móvil */
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-floating-badge {
        left: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .indicator-text {
        font-size: 0.8rem;
    }
    
    .before-after-container {
        height: 350px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .tech-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .cta-final-title {
        font-size: 2rem;
    }
    
    .cta-final-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
    
    .cases-gallery {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-indicators {
        grid-template-columns: 1fr;
    }
    
    .before-after-container {
        height: 260px;
    }
    
    .slider-button {
        width: 38px;
        height: 38px;
    }
    
    .slider-button svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-bubble {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .finance-card {
        padding: 24px;
    }
    
    .finance-title-premium {
        font-size: 1.6rem;
    }
    
    .team-img-wrapper {
        height: 320px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
