/* VARIABLES CLÍNICA DE OSTEOPATÍA */
:root {
    --osteo-sage: #6B8E7B;      /* Verde Salvia (Sanación) */
    --osteo-slate: #2C3E50;     /* Gris Pizarra (Rigor Clínico) */
    --osteo-bone: #F9F6F0;      /* Blanco Hueso (Fondo) */
    --osteo-white: #FFFFFF;
    --text-dark: #1A252F;
    --text-light: #7F8C8D;
    --font-titles: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--osteo-bone); color: var(--text-dark); line-height: 1.8; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-titles); font-weight: 600; color: var(--osteo-slate); line-height: 1.2; }

/* HEADER DINÁMICO */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 25px 5%; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition-smooth); background: transparent;
}
header.scrolled { background: var(--osteo-white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 15px 5%; }
.logo-container { text-decoration: none; display: flex; flex-direction: column; }
.logo-name { font-size: 1.8rem; font-family: var(--font-titles); color: var(--osteo-slate); letter-spacing: 1px; }
.logo-prof { font-size: 0.8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 4px; color: var(--osteo-sage); }

/* MENÚ PANTALLA COMPLETA (JS) */
.menu-btn {
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    color: var(--osteo-slate); display: flex; align-items: center; gap: 10px; font-weight: 600; z-index: 1002; position: relative;
}
.menu-btn span { text-transform: uppercase; letter-spacing: 2px; }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(44, 62, 80, 0.98); z-index: 1001;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: var(--transition-smooth);
}
.menu-overlay.active { opacity: 1; pointer-events: all; }
.nav-links { list-style: none; text-align: center; }
.nav-links li { margin: 20px 0; overflow: hidden; }
.nav-links a {
    color: var(--osteo-white); text-decoration: none; font-size: 2.5rem; font-family: var(--font-titles);
    display: block; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.menu-overlay.active .nav-links a { transform: translateY(0); }
.nav-links a:hover { color: var(--osteo-sage); }
.lang-selector { margin-top: 40px; background: transparent; color: var(--osteo-sage); border: 1px solid var(--osteo-sage); padding: 10px 20px; font-size: 1rem; border-radius: 30px; cursor: pointer; outline: none; }

/* HERO SECTION CON PARALLAX */
.hero {
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: flex-start;
    padding: 0 10%; background: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat fixed;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(249, 246, 240, 0.9) 0%, rgba(249, 246, 240, 0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero-content p { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 40px; }
.btn-main {
    display: inline-block; background: var(--osteo-sage); color: var(--osteo-white);
    padding: 15px 35px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
    text-decoration: none; border-radius: 4px; transition: var(--transition-smooth);
}
.btn-main:hover { background: var(--osteo-slate); transform: translateY(-5px); }

/* ANIMACIONES (JS) */
.reveal { opacity: 0; transform: translateY(60px); transition: 0.8s all ease-in-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* SECCIONES COMUNES */
.section-pad { padding: 120px 10%; max-width: 1600px; margin: 0 auto; }
.section-title { font-size: 3rem; margin-bottom: 50px; text-align: center; }
.section-title span { color: var(--osteo-sage); font-style: italic; }

.text-block { background: var(--osteo-white); padding: 80px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border-radius: 8px; margin-bottom: 50px; }
.text-block p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 20px; text-align: justify; }

/* SERVICIOS (REGLA: SÓLO TÍTULOS) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { position: relative; height: 450px; border-radius: 8px; overflow: hidden; cursor: pointer; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,62,80,0.9), transparent); transition: opacity 0.4s ease; }
.service-card h3 { position: absolute; bottom: 30px; left: 30px; right: 30px; color: var(--osteo-white); font-size: 1.8rem; text-align: center; }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS) */
.reviews-masonry { column-count: 2; column-gap: 40px; }
.review-item { break-inside: avoid; background: var(--osteo-white); padding: 50px; border-radius: 8px; margin-bottom: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-top: 4px solid var(--osteo-sage); }
.review-item p { font-size: 1.2rem; font-style: italic; color: var(--osteo-slate); }

/* FAQ (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-box { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--osteo-white); padding: 40px; border-radius: 8px; margin-bottom: 30px; cursor: pointer; border-left: 4px solid var(--osteo-sage); box-shadow: 0 5px 20px rgba(0,0,0,0.02); }
.faq-item h3 { font-size: 1.5rem; color: var(--osteo-slate); display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.faq-item p { font-size: 1.1rem; color: var(--text-light); display: none; margin: 0; }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 2.5rem; margin-bottom: 30px; }
.contact-info p { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-light); }
.contact-info strong { color: var(--osteo-slate); display: block; margin-top: 20px; font-family: var(--font-titles); letter-spacing: 1px; }

/* FOOTER & LOGO KIT (REGLA ESTRICTA) */
footer { background: var(--osteo-slate); color: var(--osteo-white); padding: 100px 10% 40px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; list-style: none; }
.footer-links a { color: #BDC3C7; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--osteo-sage); }

/* REGLA INQUEBRANTABLE LOGO_KIT.PNG */
.footer-logo-kit {
    height: 125px !important;
    background-color: transparent !important;
    display: block;
    margin: 0 auto 30px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .reviews-masonry { column-count: 1; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .menu-btn span { display: none; } /* Solo icono en móvil */
    .hero-content h1 { font-size: 2.8rem; }
    .section-pad { padding: 80px 5%; }
}