/* ==========================================================================
   1. VARIABLES DE ESTILO Y CONFIGURACIÓN GENERAL
   ========================================================================== */
:root {
    --primary-gold: #C9A44C;
    --primary-gold-hover: #b08d3b;
    --dark-black: #111111;
    --light-black: #1a1a1a;
    --pure-white: #ffffff;
    --off-white: #f9f9f9;
    --soft-gray: #ececec;
    --muted-text: #666666;
    --border-color: #e0e0e0;
     
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
     
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.05);
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
 
body {
    font-family: var(--font-sans);
    background-color: var(--pure-white);
    color: var(--dark-black);
    line-height: 1.6;
    overflow-x: hidden;
}
 
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
 
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
 
.subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
 
h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}
 
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
 
.btn-primary {
    background-color: var(--primary-gold);
    color: var(--pure-white);
}
 
.btn-primary:hover {
    background-color: var(--dark Black);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}
 
/* ==========================================================================
   2. NAVEGACIÓN STICKY
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
}
 
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
 
.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--dark-black);
    text-decoration: none;
}
 
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
 
.nav-menu a {
    text-decoration: none;
    color: var(--dark-black);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}
 
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: var(--transition-smooth);
}
 
.nav-menu a:hover {
    color: var(--primary-gold);
}
 
.nav-menu a:hover::after {
    width: 100%;
}
 
/* ==========================================================================
   3. HERO PRINCIPAL — PRIMERA IMAGEN ACTUALIZADA
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://i.ibb.co/bMp4TjTR/IMG-20260526-WA0003.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}
 
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.35), rgba(17, 17, 17, 0.65));
    z-index: 1;
}
 
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--pure-white);
}
 
.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
}
 
.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}
 
/* ==========================================================================
   4. SOBRE NOSOTROS
   ========================================================================== */
.about-section {
    padding: 8rem 0;
    background-color: var(--pure-white);
}
 
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
 
.about-text h2 {
    margin-bottom: 2rem;
}
 
.about-text p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 300;
}
 
.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-premium);
    border-radius: 2px;
}
 
/* ==========================================================================
   5. SERVICIOS
   ========================================================================== */
.services-section {
    padding: 8rem 0;
    background-color: var(--off-white);
}
 
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
 
.service-card {
    background-color: var(--pure-white);
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    text-align: center;
}
 
.service-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}
 
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--dark-black);
}
 
.service-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}
 
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
}
 
.service-card:hover .service-icon {
    transform: scale(1.1);
}
 
/* ==========================================================================
   6. NUESTRAS INSTALACIONES  
   ========================================================================== */
.installations-section {
    padding: 8rem 0;
    background-color: var(--pure-white);
}
 
.section-intro {
    max-width: 620px;
    margin: 1.25rem auto 0;
    color: var(--muted-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}
 
.installations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}
 
.install-card--large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.04);
}
 
.install-card--large .install-img-wrap {
    height: 380px;
}
 
.install-card--large .install-text {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--off-white);
}
 
.install-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.04);
    direction: rtl;
}
 
.install-card--wide > * {
    direction: ltr;
}
 
.install-card--wide .install-img-wrap {
    height: 320px;
}
 
.install-card--wide .install-text {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-black);
    color: var(--pure-white);
}
 
.install-card--wide .install-text h3 {
    color: var(--pure-white);
}
 
.install-card--wide .install-text p {
    color: rgba(255,255,255,0.7);
}
 
.install-card:not(.install-card--large):not(.install-card--wide) {
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
}
 
.install-card:not(.install-card--large):not(.install-card--wide):hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
}
 
.install-card:not(.install-card--large):not(.install-card--wide) .install-img-wrap {
    height: 260px;
}
 
.install-card:not(.install-card--large):not(.install-card--wide) .install-text {
    padding: 2rem;
    background-color: var(--off-white);
}
 
.install-img-wrap {
    position: relative;
    overflow: hidden;
}
 
.install-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
 
.install-card:hover .install-img-wrap img {
    transform: scale(1.04);
}
 
.install-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(201,164,76,0.92), rgba(176,141,59,0.85));
    color: var(--pure-white);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.55rem 1.1rem;
}
 
.install-text h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--dark-black);
}
 
.install-text p {
    color: var(--muted-text);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}
 
/* ==========================================================================
   7. SECCIÓN RESERVA DE CITAS Y FORMULARIO MODERNO 
   ========================================================================== */
.booking-section {
    padding: 8rem 0;
    background-color: var(--off-white);
}
 
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}
 
.intro-booking {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--muted-text);
    margin-bottom: 2.5rem;
}
 
.bizum-card {
    background-color: var(--pure-white);
    padding: 2.5rem;
    border-left: 3px solid var(--primary-gold);
    box-shadow: var(--shadow-premium);
    margin-bottom: 3rem;
}
 
.bizum-icon {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}
 
.bizum-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
 
.bizum-card p {
    font-size: 0.95rem;
    color: var(--muted-text);
    font-weight: 300;
    margin-bottom: 1.25rem;
}
 
.bizum-notes {
    list-style: none;
}
 
.bizum-notes li {
    font-size: 0.88rem;
    color: var(--dark-black);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}
 
.bizum-notes li i {
    color: var(--primary-gold);
    font-size: 0.85rem;
}
 
.direct-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 
.btn-whatsapp-direct {
    background-color: #25D366;
    color: var(--pure-white);
}
 
.btn-whatsapp-direct:hover {
    background-color: #1ebd57;
    transform: translateY(-2px);
}
 
.btn-email-direct {
    background-color: transparent;
    color: var(--dark-black);
    border-color: var(--border-color);
}
 
.btn-email-direct:hover {
    background-color: var(--dark-black);
    color: var(--pure-white);
    border-color: var(--dark-black);
}
 
/* Estilos del Formulario Moderno */
.booking-form-container {
    background-color: var(--pure-white);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.02);
}
 
.modern-form .form-group {
    margin-bottom: 1.75rem;
}
 
.modern-form label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-black);
}
 
.modern-form input[type="text"],
.modern-form input[type="tel"],
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background-color: var(--off-white);
    color: var(--dark-black);
    transition: var(--transition-smooth);
    border-radius: 0;
}
 
.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: var(--pure-white);
}
 
.btn-submit {
    width: 100%;
    background-color: var(--dark-black);
    color: var(--pure-white);
    padding: 1.1rem;
    margin-top: 1rem;
}
 
.btn-submit:hover {
    background-color: var(--primary-gold);
    color: var(--pure-white);
}
 
.form-success {
    margin-top: 1.5rem;
    color: #25D366;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
 
/* ==========================================================================
   8. TESTIMONIOS
   ========================================================================== */
.testimonials-section {
    padding: 8rem 0;
    background-color: var(--pure-white);
}
 
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
 
.testimonial-card {
    background-color: var(--off-white);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
}
 
.stars {
    color: var(--primary-gold);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}
 
.testimonial-text {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
 
.patient-name {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--dark-black);
}
 
/* ==========================================================================
   9. FOOTER Y BOTÓN FLOTANTE
   ========================================================================== */
.main-footer {
    background-color: var(--dark-black);
    color: var(--pure-white);
    padding: 5rem 0 2rem;
}
 
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
 
.footer-brand h2 {
    color: var(--pure-white);
    margin-bottom: 1rem;
}
 
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    font-size: 0.95rem;
}
 
.footer-contact h3,
.footer-social h3 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}
 
.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
 
.social-links {
    display: flex;
    gap: 1.25rem;
}
 
.social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}
 
.social-links a:hover {
    color: var(--primary-gold);
}
 
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
}
 
.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
}
 
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
}
 
.whatsapp-floating:hover {
    transform: scale(1.08);
    background-color: #1ebd57;
}
 
/* ==========================================================================
   10. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .booking-grid, .installations-grid {
        grid-template-columns: 1fr;
    }
    .install-card--large, .install-card--wide {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .install-card--large .install-img-wrap,
    .install-card--wide .install-img-wrap {
        height: 280px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .nav-menu {
        display: none; /* Simplificado para móviles */
    }
}
