:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --surface: #FFFFFF;
    --background: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--background); color: var(--text-main); overflow-x: hidden; }

/* Header Glassmorphism */
.header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; max-width: 1400px; margin: 0 auto; }
.logo-dental { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.desktop-nav a { text-decoration: none; color: var(--text-main); margin-left: 2rem; font-weight: 500; transition: color 0.3s; }
.desktop-nav a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: white !important; padding: 0.6rem 1.2rem; border-radius: 8px; }

/* Hero Section Split */
.hero-premium {
    display: flex; align-items: center; min-height: 100vh; padding: 6rem 5% 2rem; max-width: 1400px; margin: 0 auto; gap: 4rem;
}
.hero-text { flex: 1; }
.badge { display: inline-block; background: #DBEAFE; color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.5rem; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-main); }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; }
.btn-primary { background: var(--primary); color: white; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 700; transition: transform 0.3s, box-shadow 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.btn-text { color: var(--text-main); font-weight: 700; text-decoration: none; }

.hero-image { flex: 1; }
.img-placeholder { background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%); border-radius: 24px; height: 500px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-weight: 500; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); }

/* Barra de Estadísticas */
.stats-bar { display: flex; justify-content: center; gap: 4rem; padding: 3rem 5%; background: white; border-top: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9; }
.stat-item h3 { font-size: 2.5rem; color: var(--primary); font-weight: 900; }
.stat-item p { color: var(--text-muted); font-weight: 500; }

/* Servicios Premium */
.servicios-premium { padding: 8rem 5%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card-premium { background: white; padding: 2.5rem; border-radius: 16px; border: 1px solid #F1F5F9; transition: all 0.3s ease; cursor: pointer; }
.card-premium:hover { transform: translateY(-10px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05); border-color: #DBEAFE; }
.icon-wrapper { font-size: 2.5rem; margin-bottom: 1.5rem; background: #F8FAFC; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 16px; }
.card-premium h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.card-premium p { color: var(--text-muted); line-height: 1.6; }

/* FAQ Acordeón */
.faq-section { padding: 4rem 5% 8rem; max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }
.faq-item { background: white; border: 1px solid #E2E8F0; border-radius: 8px; margin-bottom: 1rem; padding: 1.5rem; cursor: pointer; transition: all 0.3s; }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.faq-item summary { font-weight: 700; font-size: 1.1rem; list-style: none; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 1rem; color: var(--text-muted); line-height: 1.6; padding-top: 1rem; border-top: 1px solid #F1F5F9; }

/* WhatsApp Flotante */
.floating-wa { position: fixed; bottom: 30px; right: 30px; background: #25D366; padding: 15px; border-radius: 50%; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; transition: transform 0.3s; display: flex; align-items: center; justify-content: center; }
.floating-wa:hover { transform: scale(1.1) rotate(-10deg); }

/* Animaciones Base */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .hero-premium { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .stats-bar { flex-direction: column; gap: 2rem; text-align: center; }
}

.img-main {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Para que quede moderno */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.faq-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

details {
    background: white;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
}

summary {
    font-weight: bold;
    color: #2c3e50;
    list-style: none;
}

details p {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}