/* -------------------------------------------------------------
   CLUB CASABLANCA JURIQUILLA 2.0 - STYLESHEET (LIGHT THEME)
   Author: Expert Sports Club Design System
   Theme: Luminous Premium Light-Theme with permanent Institutional Blue Header
------------------------------------------------------------- */

/* 1. Core Variables & Design System */
:root {
    /* Brand Colors (HSL Tailored) */
    --primary: hsl(210, 100%, 31%);        /* Azul Deportivo #004F9F */
    --primary-light: hsl(210, 100%, 45%);
    --primary-glow: hsla(210, 100%, 45%, 0.15);
    
    --secondary: hsl(143, 100%, 29%);      /* Verde Vitalidad #009639 */
    --secondary-light: hsl(143, 90%, 35%);
    --secondary-glow: hsla(143, 90%, 35%, 0.15);
    
    --accent: hsl(180, 100%, 30%);         /* Luminous Teal */
    --accent-glow: hsla(180, 100%, 30%, 0.12);

    /* Backgrounds & Textures (Light Theme Premium) */
    --bg-dark: #ffffff;                    /* Pure White background */
    --bg-light-gray: #f8fafc;              /* Soft slate light-gray */
    --bg-card: #f8fafc;                    /* Luminous card bg */
    --bg-card-hover: #f1f5f9;
    --border-color: rgba(15, 23, 42, 0.08); /* Soft slate border */
    --border-color-glow: rgba(0, 150, 57, 0.15);

    /* Typography & Hierarchy */
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --text-main: #0f172a;                  /* Deep Slate/Dark Navy for high contrast readability */
    --text-muted: #475569;                 /* Soft slate gray */
    --text-inverse: #ffffff;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-glow-blue: 0 0 25px rgba(0, 79, 159, 0.15);
    --shadow-glow-green: 0 0 25px rgba(0, 150, 57, 0.15);
    
    /* Layout Dimensions */
    --header-height: 85px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
}

/* 2. Reset & Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light-gray);
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-light);
}

/* Ambient Glowing Background Orbs (Soft Pastels for Light Theme) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
}
body::before {
    top: 5%;
    left: -150px;
    background: var(--primary-light);
}
body::after {
    top: 45%;
    right: -150px;
    background: var(--secondary-light);
}

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

/* Section Common Styles */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 750px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 12px;
    position: relative;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--secondary-light);
    border-radius: 50%;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.section-description {
    color: var(--text-muted);
    font-size: 17px;
}

/* 3. Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

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

/* 4. Buttons Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--secondary-glow), var(--shadow-glow-green);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--bg-light-gray);
    transform: translateY(-2px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* 5. Header & Navigation (With Permanent Institutional Blue Background) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--primary); /* Permanent brand deep blue */
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 79, 159, 0.18);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 75px;
    background: rgba(0, 79, 159, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px; /* Standout display size */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 48px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8); /* High contrast white navigation links */
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff; /* Bright white highlight */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-light); /* Active Green accent bar */
    border-radius: 2px;
    transition: var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff; /* White toggle menu icon */
    font-size: 24px;
    cursor: pointer;
}

.nav-cta-mobile {
    display: none;
}

.main-header .btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 150, 57, 0.25);
    padding: 10px 22px;
    font-size: 14px;
}

/* 6. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 35%, rgba(255, 255, 255, 0.5) 100%), url('assets/club_foto_2.png'); /* Real Olympic swimming pool background */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0, 150, 57, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 79, 159, 0.08);
    border: 1px solid rgba(0, 79, 159, 0.2);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span.slogan-highlight {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-top: 15px;
    color: var(--secondary);
    letter-spacing: 0px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 680px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-quick-stats {
    display: flex;
    gap: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 20px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    display: inline-flex;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.scroll-down:hover {
    color: var(--primary);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 7. Differentiators Section */
.differentiators-section {
    background-color: var(--bg-light-gray);
    position: relative;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.diff-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.diff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 79, 159, 0.15);
    box-shadow: var(--shadow-premium);
}

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

.diff-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 79, 159, 0.05);
    color: var(--primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.diff-card:hover .diff-icon-wrapper {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.05);
}

.diff-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.diff-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Comparison Dashboard */
.comparison-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.comparison-title {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.comparison-title h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.comparison-title p {
    color: var(--text-muted);
    font-size: 15px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-main);
}

.comparison-table th.highlight {
    color: var(--primary);
}

.comparison-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-muted);
}

.comparison-table td.feat {
    font-weight: 700;
    color: var(--text-main);
}

.comparison-table td.highlight-cell {
    color: var(--text-main);
    font-weight: 600;
    background: rgba(0, 79, 159, 0.02);
}

.text-success {
    color: var(--secondary);
    margin-right: 8px;
}

/* 8. Lifestyle (Pillars) Section */
.lifestyle-section {
    background: #ffffff;
}

.pillars-tabs-container {
    width: 100%;
}

.pillars-tabs-headers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pillar-tab-btn {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.pillar-tab-btn:hover {
    color: var(--primary);
    border-color: rgba(0,79,159,0.2);
}

.pillar-tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-blue);
}

.pillar-tab-content {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.pillar-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.pillar-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-soft);
}

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

.pillar-badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    margin-bottom: 16px;
    background: rgba(0, 150, 57, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
}

.pillar-text h3 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pillar-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
}

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

.pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.pillar-list li i {
    color: var(--secondary);
    margin-top: 4px;
}

.pillar-visual {
    height: 380px;
    border-radius: var(--border-radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

/* Premium Photo Carousel Styles */
.pillar-visual-carousel {
    height: 380px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-controls {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.c-prev-btn, .c-next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.c-prev-btn:hover, .c-next-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.05);
}

.pillar-img-raqueta {
    background-image: url('assets/club_foto_cancha.jpg'); /* Real Casablanca Tennis Court photo! */
}
.pillar-img-wellness {
    background-image: url('https://images.unsplash.com/photo-1540497077202-7c8a3999166f?q=80&w=800&auto=format&fit=crop'); /* Technogym gym card */
}
.pillar-img-familia {
    background-image: url('assets/club_foto_2.png'); /* Real Casablanca Swimming pool card! */
}
.pillar-img-social {
    background-image: url('assets/club_foto_1.png'); /* Real Casablanca Running Track and field! */
}

.pillar-overlay-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

.pillar-overlay-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.pillar-overlay-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 0;
}

/* 9. Aspirational Section */
.aspirational-section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-light-gray);
}

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

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

.aspirational-tag {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.aspirational-content h2 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.aspirational-content p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 36px;
}

.aspirational-quote {
    border-left: 4px solid var(--secondary);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aspirational-quote i {
    font-size: 24px;
    color: var(--secondary);
}

.aspirational-quote blockquote {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    font-style: italic;
    color: var(--primary);
}

.aspirational-image-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 480px;
}

.collage-item {
    border-radius: var(--border-radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.collage-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.6) 0%, transparent 60%);
}

.c-img-1 {
    grid-row: span 2;
    background-image: url('assets/club_foto_2.png'); /* Real Pool */
}
.c-img-2 {
    background-image: url('assets/club_foto_1.png'); /* Real Track */
}
.c-img-3 {
    background-image: url('assets/club_foto_cancha.jpg'); /* Real Courts */
}

.collage-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* 10. Distinguishing Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.facility-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,79,159,0.15);
    box-shadow: var(--shadow-premium);
}

.facility-img-wrapper {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.f-img-canchas {
    background-image: url('assets/club_foto_cancha.jpg'); /* Real courts */
}
.f-img-albercas {
    background-image: url('assets/club_foto_2.png'); /* Real Pool */
}
.f-img-gimnasio {
    background-image: url('assets/salon.png'); /* Gym */
}
.f-img-jardines {
    background-image: url('assets/club_foto_1.png'); /* Real track and field */
}

.facility-benefit-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.facility-info {
    padding: 30px;
}

.facility-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.facility-info p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.facility-bullet-list {
    margin-top: 15px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.facility-bullet-list li {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.facility-bullet-list li i {
    color: var(--secondary);
    font-size: 14px;
}

/* 11. Testimonials & QRs Section */
.testimonials-section {
    background: var(--bg-light-gray);
}

.testimonials-container-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.testimonials-slider {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    position: relative;
    box-shadow: var(--shadow-premium);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card {
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.stars {
    color: #ffd700;
    margin-bottom: 24px;
    font-size: 16px;
}

.quote-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-blue);
}

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

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

.dot.active {
    background: var(--secondary);
    width: 24px;
    border-radius: 10px;
}

/* QR Trust Card */
.qr-trust-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.qr-trust-card::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--secondary-glow);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.qr-trust-header {
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.qr-trust-header i {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.qr-trust-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.qr-trust-header p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.qrs-flex-container {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 24px;
}

.qr-box {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    transition: var(--transition-smooth);
}

.qr-box:hover {
    background: #ffffff;
    border-color: var(--primary-light);
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.qr-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--border-color);
}

.qr-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
}

.qr-callout-text {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* 12. Instagram Feed Section */
.instagram-section {
    background: #ffffff;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.instagram-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

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

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 79, 159, 0.85); /* Casablanca blue overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: #ffffff;
}

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

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

.instagram-icon-main {
    font-size: 28px;
    margin-bottom: 12px;
}

.instagram-stats {
    display: flex;
    gap: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
}

.instagram-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 13. Membership Simulator Section */
.memberships-section {
    background: var(--bg-light-gray);
}

.membership-simulator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.simulator-card-form {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.simulator-card-form h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.simulator-lead {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.sim-group {
    margin-bottom: 36px;
}

.sim-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sim-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sim-opt-btn {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--border-radius-md);
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.sim-opt-btn:hover {
    border-color: rgba(0,79,159,0.2);
    background: #ffffff;
}

.sim-opt-btn.active {
    background: rgba(0, 150, 57, 0.05);
    border-color: var(--secondary);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 150, 57, 0.08);
}

.sim-opt-btn i {
    font-size: 22px;
    color: var(--secondary);
}

.sim-opt-btn span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.sim-opt-btn small {
    font-size: 11px;
    color: var(--text-muted);
}

.interests-checkboxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.sim-checkbox-card {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px 12px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.sim-checkbox-card:hover {
    border-color: rgba(0,79,159,0.2);
    background: #ffffff;
}

.sim-checkbox-card.active {
    background: rgba(0, 79, 159, 0.05);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 79, 159, 0.08);
}

.sim-checkbox-card i {
    font-size: 20px;
    color: var(--primary-light);
}

.sim-checkbox-card.active i {
    color: var(--primary);
}

.sim-checkbox-card span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

/* Tarjeta Resultado */
.simulator-card-result {
    background: #ffffff;
    border: 2px solid var(--border-color-glow);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.simulator-card-result::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.result-badge {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    background: rgba(0, 150, 57, 0.08);
    border: 1px solid var(--border-color-glow);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.result-title {
    position: relative;
    z-index: 10;
    font-size: 28px;
    margin-bottom: 12px;
}

.result-desc {
    position: relative;
    z-index: 10;
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 30px;
}

.result-benefits-box {
    position: relative;
    z-index: 10;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 36px;
}

.result-benefits-box h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

.result-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.result-benefits-list li i {
    color: var(--secondary);
}

.result-action-box {
    position: relative;
    z-index: 10;
}

.price-sim-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.price-sim-val {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.price-subtext {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

/* 14. Contact & Appointment Section */
.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-info-panel h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 79, 159, 0.08);
    border: 1px solid rgba(0, 79, 159, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-detail-item:hover .icon-circle {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.05);
}

.contact-detail-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-detail-item a {
    color: var(--text-muted);
}
.contact-detail-item a:hover {
    color: var(--primary);
}

/* Maps placeholder */
.map-container-wrapper {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 220px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.map-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

.map-icon {
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.map-placeholder h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.map-placeholder p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Contact Form */
.contact-form-panel {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-row:has(> .form-group:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.appointment-form input, .appointment-form select {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px 20px 14px 46px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.appointment-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(15,23,42,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.appointment-form input:focus, .appointment-form select:focus {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 150, 57, 0.08);
}

.appointment-form input:focus + .input-icon, .appointment-form select:focus + .input-icon {
    color: var(--secondary);
}

.form-footer-terms {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer-terms i {
    color: var(--secondary);
}

/* 15. Footer */
.main-footer {
    background: #090e17; /* Deep Navy background for footer contrast */
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: 60px;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr) 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1); /* Forces White Logo inside dark footer */
}

.footer-tagline {
    color: #a0aec0;
    font-size: 14.5px;
}

.social-links-flex {
    display: flex;
    gap: 12px;
}

.social-links-flex a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: var(--transition-fast);
}

.social-links-flex a:hover {
    background: var(--secondary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-2px);
}

.footer-links-col h4, .footer-contact-col h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: #ffffff;
}

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

.footer-links-col ul a {
    font-size: 14px;
    color: #a0aec0;
}

.footer-links-col ul a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-col p {
    font-size: 13.5px;
    color: #a0aec0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-col p i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 13px;
    color: #718096;
}

.footer-bottom a {
    color: #ffffff;
}
.footer-bottom a:hover {
    color: var(--secondary-light);
}

/* 16. Permanent Floating WhatsApp Pill Button - "Pedir Informes" */
.sticky-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.25);
    background-color: #20ba5a;
}

.sticky-whatsapp-btn i {
    font-size: 20px;
}

.wa-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wa-ping-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* 17. Responsive Media Queries (Mobile-First Polish) */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .pillar-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .pillar-visual {
        height: 300px;
    }
    
    .aspirational-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .aspirational-image-collage {
        height: 380px;
    }
    
    .testimonials-container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .membership-simulator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-contact-col {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    /* Header Mobile Menu (Light theme adaptation) */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary); /* Deep blue mobile menu */
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        z-index: 1000;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 35px rgba(15,23,42,0.15);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-title span.slogan-highlight {
        font-size: 20px;
        margin-top: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-quick-stats {
        gap: 25px;
        flex-wrap: wrap;
        width: 100%;
        display: flex;
    }
    
    .comparison-box {
        padding: 24px;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 14px 10px;
        font-size: 13.5px;
    }
    
    .pillars-tabs-headers {
        gap: 8px;
    }
    
    .pillar-tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .pillar-text h3 {
        font-size: 24px;
    }
    
    .aspirational-content h2 {
        font-size: 30px;
    }
    
    .aspirational-quote blockquote {
        font-size: 16px;
    }
    
    .simulator-card-form {
        padding: 24px;
    }
    
    .sim-options-grid {
        grid-template-columns: 1fr;
    }
    
    .simulator-card-result {
        padding: 30px 24px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .form-row:has(> .form-group:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-contact-col {
        grid-column: span 1;
    }
    
    .sticky-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .stat-num {
        font-size: 26px;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   20. DISCIPLINAS Y HORARIOS ACADEMIAS INFANTILES (CUADRO)
   ========================================================================== */
.kids-disciplines-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.schedules-tabs-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.schedules-tabs-headers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sch-tab-btn {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 26px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.sch-tab-btn:hover {
    color: var(--primary);
    border-color: rgba(0, 79, 159, 0.2);
    background: #ffffff;
}

.sch-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-blue);
}

.sch-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.sch-tab-content.active {
    display: block;
}

.schedules-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}

.sch-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.sch-table th {
    background: var(--primary);
    color: #ffffff;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.sch-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14.5px;
    vertical-align: middle;
}

.sch-table tr:last-child td {
    border-bottom: none;
}

.time-block {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 16px;
    background: rgba(0, 79, 159, 0.02);
    text-align: center;
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
}

.area-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-name i {
    font-size: 14px;
}

.discipline-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.discipline-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.disc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    background: #ffffff;
}

.disc-pill:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Curated elegant category colors */
.disc-pill.natacion {
    background: rgba(0, 119, 255, 0.04);
    border-color: rgba(0, 119, 255, 0.15);
    color: #005cc5;
}
.disc-pill.tenis {
    background: rgba(109, 40, 217, 0.04);
    border-color: rgba(109, 40, 217, 0.15);
    color: #5b21b6;
}
.disc-pill.padel {
    background: rgba(4, 120, 87, 0.04);
    border-color: rgba(4, 120, 87, 0.15);
    color: #046a4e;
}
.disc-pill.futbol {
    background: rgba(220, 38, 38, 0.04);
    border-color: rgba(220, 38, 38, 0.15);
    color: #b91c1c;
}
.disc-pill.tkd {
    background: rgba(217, 119, 6, 0.04);
    border-color: rgba(217, 119, 6, 0.15);
    color: #b45309;
}
.disc-pill.telas {
    background: rgba(219, 39, 119, 0.04);
    border-color: rgba(219, 39, 119, 0.15);
    color: #be185d;
}
.disc-pill.zumba {
    background: rgba(147, 51, 234, 0.04);
    border-color: rgba(147, 51, 234, 0.15);
    color: #7e22ce;
}
.disc-pill.escalada {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.15);
    color: #4338ca;
}
.disc-pill.basquet, .disc-pill.iniciacion {
    background: rgba(13, 148, 136, 0.04);
    border-color: rgba(13, 148, 136, 0.15);
    color: #0f766e;
}
.disc-pill.jazz {
    background: rgba(219, 39, 119, 0.04);
    border-color: rgba(219, 39, 119, 0.15);
    color: #be185d;
}
.disc-pill.ludo {
    background: rgba(74, 85, 104, 0.04);
    border-color: rgba(74, 85, 104, 0.15);
    color: #2d3748;
}

.cost-extra {
    display: inline-block;
    background: #fbc02d;
    color: #000000;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    margin-left: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.schedule-notes-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 25px;
    line-height: 1.6;
    padding: 10px;
}

.schedule-notes-footer .cost-extra {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .discipline-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .sch-table th, .sch-table td {
        padding: 15px 16px;
    }
    
    .time-block {
        font-size: 14px;
        padding: 15px 12px;
    }
    
    .sch-tab-btn {
        padding: 10px 18px;
        font-size: 13.5px;
    }
}

/* === 12. NEW PREMIUM INTERACTIVE FACILITY SELECTORS === */
.facility-img-wrapper {
    position: relative;
    transition: background-image 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-img-selectors {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 20;
    max-width: calc(100% - 24px);
}

.img-sel-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.img-sel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-color: transparent;
    transform: translateY(-1px);
}

.img-sel-btn.active {
    background: var(--secondary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(132,189,0,0.4);
}

/* === 13. TESTIMONIALS SECTION COMPACT OVERRIDES === */
.testimonials-section {
    padding: 50px 0 !important; /* Reduced padding from 100px */
}

.testimonials-section .section-header {
    margin-bottom: 25px; /* Reduced from 60px */
}

.testimonials-container-grid {
    gap: 25px; /* Reduced from 50px */
    align-items: stretch;
}

.testimonials-slider {
    padding: 30px; /* Reduced from 50px */
    min-height: 250px; /* Reduced from 400px to avoid huge spacing */
    box-shadow: var(--shadow-soft);
}

.quote-text {
    font-size: 15px; /* Slightly smaller and tighter */
    line-height: 1.5;
    margin-bottom: 20px; /* Reduced from 30px */
}

.slider-controls {
    margin-top: 20px; /* Reduced from 40px */
    gap: 15px;
}

.slider-btn {
    width: 36px;
    height: 36px;
}

.qr-trust-card {
    padding: 25px; /* Reduced from 40px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.qr-trust-header {
    margin-bottom: 15px; /* Reduced from 30px */
    text-align: center;
}

.qr-trust-header i {
    font-size: 24px; /* Reduced from 32px */
    margin-bottom: 8px;
}

.qr-trust-header h3 {
    font-size: 18px; /* Reduced from 22px */
    margin-bottom: 4px;
}

.qr-trust-header p {
    font-size: 13px;
    line-height: 1.4;
}

.qrs-flex-container {
    gap: 15px; /* Reduced from 30px */
    margin-bottom: 15px;
}

.qr-box {
    padding: 12px; /* Tighter padding */
    gap: 8px;
}

.qr-img {
    width: 90px; /* Reduced from 110px */
    height: 90px;
}

.qr-callout-text {
    font-size: 11.5px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0;
}

@media (max-width: 991px) {
    .testimonials-container-grid {
        grid-template-columns: 1fr;
    }
}

