/* ESTÉTICA LIQUID WAVE - SWIM STARS ESPANA, SL (ESCUELA DE NATACIÓN) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
    --ocean-blue: #0A2540;     /* Azul oscuro profundo */
    --pool-cyan: #00D4FF;      /* Cian brillante piscina */
    --foam-white: #FFFFFF;     /* Blanco puro */
    --sky-light: #F0FBFF;      /* Azul muy claro */
    --text-dark: #1E293B;      /* Texto principal */
    --text-light: #64748B;     /* Texto secundario */
    --wave-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--foam-white); 
    color: var(--text-dark); 
    line-height: 1.7; 
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--ocean-blue); font-weight: 800; }

/* NAVEGACIÓN GLASSMORPHISM FLOTANTE */
.glass-nav-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}
.brand h1 { font-size: 1.8rem; letter-spacing: -0.5px; }
.brand h1 span { color: var(--pool-cyan); }

nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; list-style: none; gap: 5px; }
.nav-links a { text-decoration: none; color: var(--ocean-blue); font-weight: 600; padding: 8px 20px; border-radius: 50px; transition: var(--wave-transition); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { background: var(--pool-cyan); color: var(--ocean-blue); }

.lang-selector { 
    background: transparent; 
    border: 2px solid var(--pool-cyan); 
    color: var(--ocean-blue); 
    padding: 8px 15px; 
    border-radius: 50px; 
    font-family: 'Outfit', sans-serif; 
    font-weight: 700; 
    cursor: pointer; 
    outline: none; 
    transition: var(--wave-transition); 
}
.lang-selector:hover { background: var(--pool-cyan); color: var(--ocean-blue); }

/* HERO ACUÁTICO */
.hero {
    position: relative;
    padding: 180px 5% 100px;
    background: linear-gradient(135deg, var(--sky-light) 0%, var(--foam-white) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
.hero-content { max-width: 600px; z-index: 2; position: relative; }
.hero-content h2 { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.hero-content p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; font-weight: 500; }
.hero-image { z-index: 2; position: relative; }
.hero-image img { width: 500px; height: 500px; object-fit: cover; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: morph 8s ease-in-out infinite; box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3); }

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* ONDAS SEPARADORAS SVG */
.wave-divider { position: relative; width: 100%; height: 100px; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: calc(100% + 1.3px); height: 100px; }
.wave-divider .shape-fill { fill: var(--ocean-blue); }

/* BLOQUES DE CONTENIDO */
.content-block { padding: 80px 5%; max-width: 1300px; margin: 0 auto; }
.alt-bg { background-color: var(--sky-light); max-width: 100%; }
.section-title { font-size: 3.2rem; margin-bottom: 50px; text-align: center; position: relative; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--pool-cyan); border-radius: 10px; margin: 15px auto 0; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - DISEÑO "BURBUJA") */
.services-bubble-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.service-bubble { text-align: center; cursor: pointer; transition: var(--wave-transition);  }
.service-bubble:hover { transform: translateY(-15px); }
.service-bubble .img-container { width: 220px; height: 220px; margin: 0 auto 25px; border-radius: 50%; padding: 10px; background: linear-gradient(135deg, var(--pool-cyan), var(--ocean-blue)); transition: var(--wave-transition); }
.service-bubble img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--foam-white); }
.service-bubble:hover .img-container { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4); }
.service-bubble h3 { font-size: 1.4rem; color: var(--ocean-blue); }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS - CAJAS DE AGUA) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--foam-white); border-radius: 20px; padding: 40px; border-top: 5px solid var(--pool-cyan); box-shadow: 0 10px 40px rgba(10, 37, 64, 0.05); }
.testimonial-card p { font-size: 1.15rem; color: var(--text-light); font-style: italic; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-container { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.faq-box { background: var(--foam-white); border-radius: 15px; padding: 35px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-left: 5px solid var(--ocean-blue); }
.faq-box h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--ocean-blue); }
.faq-box p { font-size: 1.05rem; color: var(--text-light); }

/* FOOTER WAVE */
footer { background: var(--ocean-blue); color: var(--foam-white); padding: 80px 5% 40px; position: relative; }
.footer-wave { position: absolute; top: -99px; left: 0; width: 100%; height: 100px; overflow: hidden; line-height: 0; }
.footer-wave svg { display: block; width: calc(100% + 1.3px); height: 100px; transform: rotate(180deg); }
.footer-wave .shape-fill { fill: var(--ocean-blue); }

.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 50px; }
.footer-columns h4 { color: var(--pool-cyan); font-size: 1.3rem; margin-bottom: 25px; }
.footer-columns p { margin-bottom: 10px; font-size: 0.95rem; color: #94A3B8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 0.95rem; transition: var(--wave-transition); display: inline-block; }
.footer-links a:hover { color: var(--pool-cyan); transform: translateX(5px); }

/* REGLA ESTRICTA LOGO KIT DIGITAL: BLANCO, PADDING */
.logo-kit-local { display: block; margin: 0 auto 30px; max-width: 250px; width: 100%; height: auto; background-color: #FFFFFF !important; padding: 15px; border-radius: 12px; }
.footer-legal-text { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.85rem; color: #64748B; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .glass-nav { flex-direction: column; gap: 15px; border-radius: 20px; padding: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero { flex-direction: column; text-align: center; padding-top: 220px; }
    .hero-content { margin-bottom: 50px; }
}