/* =======================================
   CSS Variables & Reset (Aball Theme Vibe)
======================================= */
:root {
    /* Colors */
    --color-primary: #9e1b21;      /* Maroon / Granate */
    --color-primary-dark: #7a1519; /* Darker Maroon for hover */
    --color-secondary: #d4af37;    /* Gold */
    --color-text-main: #333333;    /* Dark gray text */
    --color-text-light: #666666;   /* Gray text */
    --color-bg-light: #f9f9fa;     /* Light gray background */
    --color-bg-white: #ffffff;
    --color-bg-dark: #222222;      /* Footer background */
    
    /* Specific Colors from image */
    --color-blue: #0ea5e9;
    --color-yellow: #eab308;
    --color-orange: #f97316;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Border Radius */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary); /* Most headers are maroon based on image */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.highlight-gold, .gold-text {
    color: var(--color-secondary);
}
.icon-primary, .text-primary, .text-maroon {
    color: var(--color-primary) !important;
}

/* =======================================
   Base Components & Shadow System
======================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Layered Shadow System for "Minimal Details" */
.shadow-premium {
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.02), 
        0 10px 15px rgba(0,0,0,0.05);
}

/* =======================================
   Header & Navigation
======================================= */
.main-header {
    background-color: var(--color-bg-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Soft premium shadow */
    height: 90px;
    display: flex;
    align-items: center;
}

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

.logo-img {
    height: 60px;
    width: auto;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    height: 100%;
}

.nav-list {
    display: flex;
    gap: 30px;
    height: 100%;
}

.nav-list li {
    height: 100%;
}

.nav-list a {
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-list a.active, .nav-list a:hover {
    color: var(--color-primary);
}

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

.header-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-pill {
    background-color: var(--color-primary);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(158, 27, 33, 0.3);
    white-space: nowrap;
}

.btn-pill:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(158, 27, 33, 0.4);
}

.lang-switcher {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-switcher span { cursor: pointer; opacity: 0.5; }
.lang-switcher span.active { opacity: 1; color: var(--color-primary); }
.lang-switcher .divider { opacity: 0.3; cursor: default; }

/* Preloader (Premium Version) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-orbital-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo-center {
    position: relative;
    z-index: 10;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.preloader-logo-center img {
    width: 100%;
    height: auto;
}

/* Orbit System */
.orbit-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle ring lines from image */
    border-radius: 50%;
}

.orbit-1 { width: 220px; height: 220px; animation: orbitRotate 12s linear infinite; }
.orbit-2 { width: 320px; height: 320px; animation: orbitRotate 18s linear infinite reverse; }
.orbit-3 { width: 420px; height: 420px; animation: orbitRotate 25s linear infinite; }
.orbit-4 { width: 520px; height: 520px; animation: orbitRotate 30s linear infinite reverse; }
.orbit-5 { width: 620px; height: 620px; animation: orbitRotate 40s linear infinite; }

.orbiting-element, .orbiting-dot {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Position mapping to match the image accurately */
.gold-circle { top: 0; left: 50%; background-color: #dfb163; } /* Center top */
.teal-circle { top: 30%; left: 100%; background-color: #48c9b0; } /* Right */
.blue-circle { top: 5%; left: 90%; background-color: #3498db; } /* Top Right */
.pink-circle { top: 60%; left: 95%; background-color: #cb4335; } /* Bottom Right */

.orbiting-dot {
    width: 15px;
    height: 15px;
    background-color: #48c9b0;
    top: 50%;
    left: -7px;
}

.dot-alt {
    top: 20%;
    left: auto;
    right: -7px;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes preloaderPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* =======================================
   Header (Improved)
======================================= */
.main-header {
    background: var(--color-bg-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0; /* Constant padding */
}

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

.logo {
    margin-right: 60px; /* Space between logo and menu */
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.main-nav .nav-list {
    display: flex;
    gap: 30px;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 40px; /* Gap between button and lang-switcher */
    margin-left: 60px; /* Space between menu (CONTACTO) and button group */
}

.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    z-index: 10000; /* Stays above the fixed nav */
    transition: transform 0.3s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-main);
    background: #f8f8f8;
    padding: 5px 12px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    color: #999;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn.active {
    color: var(--color-primary);
    transform: scale(1.1);
}

.lang-switcher .divider {
    color: #ddd;
    font-weight: 300;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-main);
    text-transform: uppercase;
    position: relative;
    padding: 0;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
    white-space: nowrap; /* Prevent wrapping (e.g. ABOUT US) */
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Offset from text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-medium);
}

.main-nav a:hover {
    color: var(--color-primary);
}

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

.main-nav a.active {
    color: var(--color-primary);
}

/* =======================================
   Hero Section
======================================= */
.hero-section {
    position: relative;
    padding: 180px 0 150px;
    text-align: left;
    overflow: hidden; /* To keep shapes and slider within bounds */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* --- Hero Slider Styles --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect - disabled on mobile */
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth cross-fade */
    z-index: 0;
}

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

/* --- Floating Shapes Styles --- */
.shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: floating 8s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
}

.shape i {
    font-size: inherit;
}

.shape-1 {
    width: 25px;
    height: 25px;
    font-size: 20px;
    color: var(--color-secondary); /* Gold */
    top: 15%;
    left: 25%;
    animation-duration: 6s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    top: 60%;
    left: 10%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.shape-3 {
    width: 20px;
    height: 20px;
    font-size: 18px;
    color: var(--color-primary); 
    top: 35%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.shape-4 {
    width: 35px;
    height: 35px;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.5);
    top: 75%;
    right: 25%;
    animation-delay: 0.5s;
    animation-duration: 10s;
}

.shape-5 {
    width: 15px;
    height: 15px;
    font-size: 12px;
    color: var(--color-secondary);
    top: 10%;
    right: 35%;
    animation-duration: 5s;
}

.shape-6 {
    width: 50px;
    height: 50px;
    background-color: rgba(158, 27, 33, 0.1);
    top: 40%;
    left: 45%;
    animation-delay: 3s;
    animation-duration: 12s;
}

@keyframes floating {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -20px) rotate(10deg); }
    66% { transform: translate(-10px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay atmosférico - menos opaco para que se vea la imagen */
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

/* Hero Redesign Styles */
.hero-content {
    position: relative;
    z-index: 20; /* Increased to stay above the stats bar (z-index: 10) */
    padding-top: 60px;
    padding-bottom: 220px; /* Increased to avoid overlap with stats bar */
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}

.hero-header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-header-line .line {
    height: 1px;
    width: 60px;
    background-color: var(--color-secondary);
}

.hero-header-line h2 {
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.hero-main-title {
    font-size: 92px;
    line-height: 0.85;
    font-weight: 900;
    margin-bottom: 35px;
    font-family: 'Cinzel', serif; /* Matching the high-contrast institutional serif in the image */
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    letter-spacing: -2px;
}

.hero-main-title .white-text { color: #ffffff; }
.hero-main-title .gold-text { color: var(--color-secondary); }

/* Entrance Animations */
@keyframes heroRevealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header-line, 
.hero-main-title, 
.hero-description-container, 
.hero-btns-group,
.hero-stats-wrapper,
.features-strip {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
}

.hero-description-container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 45px;
    max-width: 800px;
}

.hero-note-icon {
    font-size: 26px;
    color: var(--color-secondary);
    border-left: 3px solid var(--color-secondary);
    padding-left: 20px;
    height: 40px;
    display: flex;
    align-items: center;
}

.hero-sub-text {
    color: #ffffff;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.6);
}

.hero-btns-group {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 50px; /* More space from description */
    margin-bottom: 40px; /* Space from stats bar */
    position: relative;
    z-index: 100;
}

.btn-hero {
    padding: 18px 45px;
    font-size: 15px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-outline-gold {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--color-secondary);
}

.btn-outline-gold:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg-dark);
}

.btn-maroon {
    background-color: #8b1a1a;
    color: #ffffff !important; /* Force light text color */
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(139, 26, 26, 0.3);
}

.btn-maroon:hover {
    background-color: #6d1115;
}

.btn-arrow {
    font-size: 14px;
}

.gold-note {
    color: var(--color-secondary);
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Stats Bar */
.hero-stats-wrapper {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.hero-stats-bar {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 35px 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.stat-col {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-col.border-none { border-right: none; }

.stat-icon {
    font-size: 32px;
    color: var(--color-secondary);
    opacity: 0.9;
}

.stat-info h3 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 800;
}

.stat-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.stat-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .hero-main-title { font-size: 64px; }
    .stat-col { padding: 0 15px; }
    .stat-info h3 { font-size: 26px; }
}

@media (max-width: 1024px) {
    .hero-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .stat-col { border-right: none; }
}

@media (max-width: 768px) {
    /* Hero: switch to column layout so stats sit below content */
    .hero-section {
        flex-direction: column;
        padding: 0;
        min-height: auto;
        overflow: visible;
    }

    /* The slider stays fullscreen behind everything */
    .hero-slider,
    .hero-overlay,
    .shapes-container {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    /* Hero image takes full viewport height */
    .hero-slide {
        background-attachment: scroll; /* iOS fix */
    }

    /* Content sits on top of the image */
    .hero-content {
        position: relative;
        z-index: 20;
        padding: 130px 20px 60px;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-main-title  { font-size: 44px; letter-spacing: -1px; margin-bottom: 18px; }
    .hero-sub-text    { font-size: 15px; }
    .hero-description-container { margin-bottom: 28px; gap: 12px; }
    .hero-btns-group  { flex-direction: column; gap: 12px; margin-top: 28px; }
    .btn-hero         { padding: 14px 24px; font-size: 14px; width: 100%; justify-content: center; }

    /* Stats: pull OUT of the absolute layer, stack below */
    .hero-stats-wrapper {
        position: relative !important;
        bottom: auto !important;
        z-index: 5;
        width: 100%;
        padding: 40px 16px;
        background: #0a0a0a;
    }

    .hero-stats-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .stat-col {
        padding: 0;
        border-right: none;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 0;
    }

    .stat-icon { font-size: 24px; }
    .stat-info h3 { font-size: 26px; }

    /* Features strip */
    .features-strip  { grid-template-columns: 1fr 1fr; border-radius: 16px; }
    .strip-card       { border-right: none !important; border-bottom: 1px solid #f0f0f0; padding: 14px; }
}

/* iOS Safari: disable fixed background-attachment */
@supports (-webkit-touch-callout: none) {
    .hero-slide {
        background-attachment: scroll;
    }
}

/* =======================================
   General Sections
======================================= */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header.center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.center .section-title {
    justify-content: center;
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 25px;
}

.icon-title {
    color: var(--color-primary);
    font-size: 28px;
}

/* =======================================
   Sobre Nosotros (Premium Redesign)
======================================= */
.about-section.premium-style {
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch; /* Both columns will have exactly the same height */
}

.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s ease;
}

.about-text-content:hover {
    transform: translateX(10px); /* Subtle shift effect */
}

.subtitle-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.subtitle-badge h4 {
    color: var(--color-primary);
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 800;
    margin: 0;
}

.badge-line {
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.about-headline {
    font-size: 52px; /* Adjusted for better 2-line balance */
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.about-headline .text-primary {
    color: var(--color-primary);
}

.intro-box {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.intro-icon {
    flex: 0 0 45px;
    height: 45px;
    background: #f9f0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
}

.about-main-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.features-row {
    display: flex;
    justify-content: space-between;
    padding: 25px 0; /* Reduced padding for better balance */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 35px;
    gap: 15px;
}

.feat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.feat-item:not(:last-child) {
    border-right: 1px solid #eee;
}

.feat-item i {
    font-size: 26px;
    color: var(--color-primary);
    background: #fdf2f3;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.feat-item:hover i {
    transform: translateY(-5px);
}

.feat-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.3;
}

.btn-program {
    padding: 16px 35px;
    font-size: 14px;
    border-radius: 12px;
}

/* Image Column Styles */
.about-image-content {
    display: flex;
    align-items: stretch;
}

.premium-image-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.main-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.premium-image-wrapper:hover .main-about-img {
    transform: scale(1.08); /* Sophisticated zoom effect */
}

.mission-box {
    position: absolute;
    bottom: -15px;
    left: -40px;
    background-color: #6d1115; /* Darker maroon matching the image exactly */
    padding: 30px 40px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.mission-icon {
    font-size: 50px;
    color: #dfb163; /* Institutional gold for the icon */
    display: flex;
    align-items: center;
}

.mission-separator {
    width: 1px;
    height: 60px; /* Specific height for the line */
    background-color: rgba(255, 255, 255, 0.2);
}

.mission-area {
    display: flex;
    align-items: center;
}

.mission-area p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* Responsive Redesign */
@media (max-width: 1200px) {
    .about-container { gap: 40px; }
    .about-headline { font-size: 42px; }
    .mission-box { max-width: 380px; left: -20px; padding: 25px; }
}

@media (max-width: 1024px) {
    .about-container { grid-template-columns: 1fr; }
    .about-text-content { order: 1; }
    .about-image-content { order: 2; margin-top: 40px; }
    .mission-box { position: relative; left: 0; margin: -50px auto 0; max-width: 90%; }
}

@media (max-width: 768px) {
    .about-section.premium-style { padding: 60px 0; }
    .about-headline { font-size: 28px; }
    .features-row { flex-direction: column; gap: 20px; }
    .feat-item:not(:last-child) { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .about-main-desc { font-size: 15px; }
    .mission-box { padding: 20px; }
    .mission-area p { font-size: 14px; }
}

/* =======================================
   Premium Classes Catalog
======================================= */
.classes-premium-section {
    padding: 100px 0;
}

.classes-premium-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.header-badge-icon {
    font-size: 30px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.gold-label {
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.premium-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.header-divider-icon {
    color: var(--color-secondary);
    margin: 20px 0;
    font-size: 20px;
}

.premium-desc {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Stats Strips for Classes Section */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    border: 1px solid #f0f0f0;
}

.stats-strip.bottom-strip {
    margin-top: 60px;
    margin-bottom: 40px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.strip-item:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

.strip-icon.circle {
    width: 50px;
    height: 50px;
    background-color: #fdf2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.strip-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.strip-info p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Features Strip below Stats */
.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    margin-top: 40px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.strip-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
}

.strip-card:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

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

.strip-card-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--color-text-main);
}

.strip-card-info p {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.3;
}
.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(15, 15, 15, 0.85); /* Darker glassmorphism */
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    /* Gold top glow effect */
    box-shadow: 
        0 -2px 0 0 rgba(212, 175, 55, 0.6), 
        0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.hero-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.stat-col {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 25px;
}

.strip-item:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

.strip-icon {
    font-size: 24px;
    color: var(--color-primary);
}

.strip-icon.circle {
    width: 65px;
    height: 65px;
    background: #fdf2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.strip-item:hover .strip-icon.circle {
    transform: scale(1.1);
}

.strip-icon.gold-icon {
    color: var(--color-secondary);
}

.strip-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.strip-info p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.3;
}

/* Catalog Rows */
.courses-catalog {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.course-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.course-row:hover {
    transform: translateY(-5px);
}

.course-row.row-reverse {
    direction: ltr; /* Reset direction */
}

.row-reverse .course-content { order: 2; }
.row-reverse .course-image { order: 1; }

.course-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.course-number {
    background: var(--color-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
}

.course-icon {
    font-size: 28px;
    color: var(--color-primary);
}

.course-meta h3 {
    font-size: 36px;
    font-weight: 800;
}

.course-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.course-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 35px;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
}

.course-features li i {
    color: #4caf50;
    background: #e8f5e9;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.course-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-text-link {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-text-link:hover {
    gap: 12px;
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-row:hover .course-image img {
    transform: scale(1.05);
}

/* =======================================
   Premium Bible Study Section
======================================= */
.bible-premium-card {
    position: relative;
    background: #3d0a0e url('../imagen/bible_piano_bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 40px;
    overflow: hidden;
    color: white;
    box-shadow: 0 40px 80px rgba(61, 10, 14, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bible-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(61, 10, 14, 0.96) 0%, rgba(61, 10, 14, 0.85) 45%, rgba(61, 10, 14, 0.4) 100%);
    z-index: 1;
}

.bible-card-content {
    position: relative;
    z-index: 2;
    padding: 70px 80px;
}

.bible-card-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.bible-main-icon {
    width: 130px;
    height: 130px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    color: white;
    flex-shrink: 0;
}

.bible-vertical-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
}

.bible-header-text h2 {
    font-size: 52px;
    font-family: 'Cinzel', serif;
    line-height: 1.1;
    margin-bottom: 15px;
    color: white;
}

.bible-main-desc {
    font-size: 19px;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.95);
}

/* Mini Features inside card */
.bible-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.bible-mini-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    flex-grow: 1;
}

.b-mini-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.b-mini-icon {
    font-size: 24px;
    color: var(--color-secondary);
    opacity: 0.8;
}

.b-mini-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.b-mini-info p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.btn-gold-pill {
    background-color: #d4a04e; /* Golden brown matching image */
    color: white !important;
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-gold-pill:hover {
    background-color: #c48c3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 160, 78, 0.4);
}

/* Values Panel (White Strip) */
.bible-values-panel {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    margin-bottom: 60px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #f0f0f0;
}

.value-icon.circle {
    width: 75px;
    height: 75px;
    background: #dfb163;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(223, 177, 99, 0.3);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.value-sep-line {
    width: 30px;
    height: 2px;
    background: #dfb163;
    margin-bottom: 15px;
    opacity: 0.5;
}

.value-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Enhanced Footer Slogan */
.biblical-footer-slogan {
    text-align: center;
    padding: 40px 0;
}

.biblical-footer-slogan p {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.gold-text-bold {
    color: var(--color-primary);
    font-weight: 800;
}

.slogan-divider-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.gold-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dfb163, transparent);
}

.slogan-divider-premium i {
    color: #dfb163;
    font-size: 16px;
}

@media (max-width: 1200px) {
    .bible-card-content { padding: 50px; }
    .bible-mini-features { grid-template-columns: 1fr 1fr; }
    .bible-card-footer { flex-direction: column; align-items: center; }
    .bible-values-panel { grid-template-columns: 1fr 1fr; gap: 40px; }
    .value-item:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .bible-header-text h2 { font-size: 32px; }
    .bible-card-header { flex-direction: column; text-align: center; }
    .bible-vertical-divider { width: 60px; height: 1px; }
    .bible-mini-features { grid-template-columns: 1fr; }
    .bible-values-panel { grid-template-columns: 1fr; }
}

/* Bible Exclusive Banner Refined */
.bible-exclusive-banner {
    margin-top: 60px;
    background: linear-gradient(rgba(81, 12, 16, 0.94), rgba(81, 12, 16, 0.96)), url('https://images.unsplash.com/photo-1510915228340-29c85a43dbfe?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 80px 60px;
    color: white;
    box-shadow: 0 30px 60px rgba(109, 17, 21, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-secondary);
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.banner-text p {
    font-size: 18px;
    opacity: 0.9;
}

.btn-gold {
    background: var(--color-secondary);
    color: #1a1a1a;
    font-weight: 800;
    padding: 18px 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #c9a42f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-sm {
    padding: 12px 25px;
    font-size: 13px;
    border-radius: 10px;
}

/* Footer Slogan */
.classes-footer-slogan {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 20px;
}

.classes-footer-slogan p {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-text-main);
}

.slogan-divider {
    margin-top: 15px;
    color: var(--color-secondary);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .strip-item:nth-child(2n) { border-right: none; }
    .course-row { grid-template-columns: 1fr; }
    .course-content { padding: 40px; }
    .course-image { height: 300px; }
    .row-reverse .course-content { order: 1; }
    .row-reverse .course-image { order: 2; }
}

@media (max-width: 768px) {
    .stats-strip { grid-template-columns: 1fr; }
    .strip-item { border-right: none !important; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; }
    .banner-content { flex-direction: column; text-align: center; }
    .banner-icon { margin: 0 auto; }
}

/* =======================================
   Split Sections (Trimestres & Ofrecemos)
======================================= */
.info-split-section {
    padding: 60px 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.split-col {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.mb-small {
    margin-bottom: 30px !important;
}

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

.trimestre-card {
    text-align: center;
    padding: 20px 10px;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.trimestre-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.icon-large {
    font-size: 32px;
    margin-bottom: 10px;
}

.color-blue { color: var(--color-blue); }
.color-yellow { color: var(--color-yellow); }
.color-orange { color: var(--color-orange); }

.trimestre-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.trimestre-card p {
    font-size: 12px;
    color: var(--color-text-light);
}

.ofrecemos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ofrece-item {
    text-align: center;
}

.ofrece-item i {
    font-size: 36px;
    margin-bottom: 10px;
}

.ofrece-item p {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

/* =======================================
   Certificación
======================================= */
.certification-section {
    background-color: var(--color-primary);
    padding: 80px 0;
    color: var(--color-bg-white);
    text-align: center;
}

.cert-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cert-icon-area i {
    font-size: 60px;
    margin-bottom: 10px;
}

.cert-title {
    color: var(--color-bg-white);
    font-size: 40px;
    margin-bottom: 15px;
}

.cert-text-area p {
    font-size: 18px;
    opacity: 0.9;
}

.cert-highlight-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.highlight-role {
    font-size: 48px;
    font-style: italic;
    color: var(--color-bg-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.laurel i {
    font-size: 40px;
    color: var(--color-secondary);
}
.laurel-left i { transform: scaleX(-1); }

/* =======================================
   Footer
======================================= */
.main-footer {
    background-color: var(--color-bg-dark);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--color-bg-white);
    font-size: 18px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-list i {
    color: var(--color-bg-white);
    margin-top: 4px;
}

.map-container {
    margin-top: 15px;
}

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

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

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-logo-box {
    background-color: var(--color-bg-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* =======================================
   Responsive Media Queries
======================================= */
@media (max-width: 1024px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-action, .main-nav {
        display: none; /* simple hidden for mobile, js can toggle */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 40px;
    }
    .about-container, .teachers-container {
        grid-template-columns: 1fr;
    }
    
    .ofrecemos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlight-role {
        font-size: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =======================================
   WhatsApp Chat Widget
======================================= */
.whatsapp-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* Floating green button */
.whatsapp-btn {
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
    animation: waPulse 2.2s infinite;
    transition: transform 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    background-color: #20c05b;
}

/* ── Chat Widget Card ── */
.wa-chat-card {
    width: 330px;
    background: #f0f2f5;       /* WhatsApp light gray */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
}

.wa-chat-card.wa-card-visible {
    display: flex;
    animation: waCardIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ── Header ── */
.wa-chat-header {
    background: #075e54;  /* WhatsApp dark teal */
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.wa-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-header-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.wa-close-card {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s;
}

.wa-close-card:hover { color: white; }

/* ── Greeting Body ── */
.wa-greeting-body {
    padding: 28px 20px 18px;
    text-align: center;
    background: #075e54;  /* keeps header feel */
}

.wa-greeting-icon {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.wa-greeting-body h3 {
    color: white;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.wa-greeting-body p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* ── Quick Options ── */
.wa-options-list {
    background: #ece5dd;   /* WhatsApp chat beige */
    padding: 14px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wa-option-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    text-decoration: none;
    color: #111b21;          /* WhatsApp dark text */
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background: white;
    border-radius: 10px;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: background 0.15s ease, transform 0.15s ease;
}

.wa-option-item:hover {
    background: #f5f5f5;
    transform: translateX(3px);
    color: #075e54;
}

.wa-option-item i {
    font-size: 12px;
    color: #25d366;
    flex-shrink: 0;
}

/* ── Input Area ── */
.wa-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f0f2f5;
    border-top: 1px solid #e0e0e0;
}

.wa-input-area input {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 16px;
    color: #111b21;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.wa-input-area input::placeholder {
    color: #aaa;
}

.wa-input-area input:focus {
    border-color: #25d366;
}

.wa-send-btn {
    width: 36px;
    height: 36px;
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wa-send-btn:hover,
.wa-send-btn.active {
    background: #25d366;
    color: white;
}

/* ── Footer CTA ── */
.wa-footer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;   /* WhatsApp green */
    color: white;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s;
    letter-spacing: 0.2px;
}

.wa-footer-cta:hover { background: #20c05b; }
.wa-footer-cta i { font-size: 20px; }

/* Hide old tooltip */
.whatsapp-msg { display: none !important; }

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}



/* Main green button */
.whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s infinite;
    transition: transform 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    background-color: #20c05b;
}

/* Chat Card */
.wa-chat-card {
    width: 310px;
    background: #f0f2f5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
    animation: waChatIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chat-card.wa-card-visible {
    display: flex;
}

@keyframes waChatIn {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header */
.wa-chat-header {
    background: #075e54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.wa-contact-info {
    flex: 1;
}

.wa-contact-info h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
    font-family: 'Inter', sans-serif;
}

.wa-status {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
}

.wa-status i {
    font-size: 8px;
    color: #25d366;
}

.wa-close-card {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
    font-family: sans-serif;
}

.wa-close-card:hover {
    color: white;
}

/* Chat Body */
.wa-chat-body {
    padding: 20px 14px 14px;
    background: #e5ddd5;
    min-height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' opacity='0.05'%3E%3C/svg%3E");
}

.wa-message-bubble {
    background: white;
    border-radius: 12px 12px 12px 2px;
    padding: 10px 14px 6px;
    max-width: 90%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
}

.wa-message-bubble p {
    font-size: 14px;
    color: #111;
    line-height: 1.5;
    margin: 0 0 4px;
    font-family: 'Inter', sans-serif;
}

.wa-time {
    font-size: 11px;
    color: #999;
    display: block;
    text-align: right;
    font-family: 'Inter', sans-serif;
}

/* CTA Button */
.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 14px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease;
}

.wa-start-btn:hover {
    background: #20c05b;
}

.wa-start-btn i {
    font-size: 18px;
}

@keyframes whatsappPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Remove old whatsapp-msg styles */
.whatsapp-msg { display: none; }


/* Premium Modal: Registration */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 5000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Enable scroll if content is taller than screen */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}

.modal.active {
    display: flex !important;
    opacity: 1 !important;
}

.premium-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d0a0e 100%);
    width: 100%;
    max-width: 600px;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Removed overflow:hidden to allow close button to be positioned more flexibly if needed, 
       but we keep it for general aesthetics. We use margin for scroll safety. */
    margin: auto; /* Important for flex-start scenarios */
}

.modal.active .premium-modal {
    transform: translateY(0);
}

.modal-decoration-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: var(--color-secondary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-badge {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-secondary);
    font-size: 24px;
}

.modal-header h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 10px;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.modal-divider-premium {
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin: 20px auto 0;
}

/* Form Controls */
.modal-form-premium .form-group {
    margin-bottom: 25px;
}

.modal-form-premium label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff; /* pure white for maximum legibility */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modal-form-premium label i {
    color: var(--color-secondary);
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.modal-form-premium input, 
.modal-form-premium select {
    width: 100%;
    background: rgba(255, 255, 255, 0.1); /* lightened background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* brighter border */
    padding: 15px 20px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.modal-form-premium input::placeholder {
    color: rgba(255, 255, 255, 0.4); /* Much more visible placeholder */
}

.modal-form-premium input:focus, 
.modal-form-premium select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Form Row */
.modal-form-premium .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Select Styling */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-form-premium select {
    appearance: none;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 20px;
    color: var(--color-secondary);
    pointer-events: none;
    font-size: 14px;
}

/* Captcha Redesign */
.captcha-container-premium {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 15px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.captcha-interactive-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.captcha-label {
    background: var(--color-secondary);
    color: var(--color-bg-dark);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    min-width: 100px;
    text-align: center;
}

.captcha-interactive-box input {
    max-width: 120px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-style: solid;
}

/* Submit Button */
.btn-premium-submit {
    width: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #b8860b 100%);
    color: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    border: none;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-premium-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.4);
    filter: brightness(1.1);
}

.btn-premium-submit i {
    transition: transform 0.4s ease;
}

.btn-premium-submit:hover i {
    transform: translateX(5px) translateY(-5px);
}

@media (max-width: 600px) {
    .modal {
        padding: 10px;
        align-items: flex-start; /* Start from top on mobile to ensure header is seen */
    }
    .premium-modal { 
        padding: 40px 20px 30px; 
        border-radius: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 24px;
        background: rgba(0,0,0,0.3);
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    .modal-form-premium .form-row { grid-template-columns: 1fr; }
    .modal-header h2 { font-size: 26px; }
    .modal-header { margin-bottom: 25px; }
}

/* Hide WhatsApp when modal is open */
body.modal-open .whatsapp-wrapper {
    display: none !important;
}
/* =======================================
   Scroll Reveal Effects
======================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.5, 0, 0, 1), 
                transform 1s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for elements if needed */
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }
/* Mobile adjustments for new sections */
@media (max-width: 1024px) {
    .main-nav { display: none; } /* Mobile menu logic elsewhere */
    .hero-stats-bar, .features-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .strip-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
    .hero-stats-bar, .features-strip {
        grid-template-columns: 1fr;
    }
    .strip-card { border-right: none !important; border-bottom: 1px solid #f0f0f0; }
    .hero-main-title { font-size: 60px; }
}




/* Restored Header Mobile Logic */
@media (max-width: 1024px) {
    .main-nav, .header-action {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-container {
        justify-content: space-between;
    }
}

/* =======================================
   Preloader Exit Styles
======================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* --- Orbital Preloader Styles --- */
.preloader-orbital-wrapper {
    position: relative;
    width: 500px; /* Increased to accommodate larger orbits */
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo-center {
    width: 160px; /* Even bigger for more impact */
    height: 160px;
    z-index: 10;
    position: relative;
    background: #ffffff; /* ensure white background for the logo circle */
    border-radius: 50%;
    padding: 15px; /* give it some air */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: logoPulse 2s infinite ease-in-out;
}

.orbit-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(139, 26, 26, 0.1);
    transform: translate(-50%, -50%);
}

.orbiting-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Orbit 1: Clef */
.orbit-1 { width: 220px; height: 220px; animation: rotateCW 6s linear infinite; }
.orbit-1 .orbiting-element { top: -20px; left: 90px; background: #d4af37; }

/* Orbit 2: Notes */
.orbit-2 { width: 300px; height: 300px; animation: rotateCCW 8s linear infinite; }
.orbit-2 .orbiting-element { bottom: -20px; left: 130px; background: #8b1a1a; }

/* Orbit 3: Guitar */
.orbit-3 { width: 380px; height: 380px; animation: rotateCW 12s linear infinite; }
.orbit-3 .orbiting-element { top: 80px; left: -20px; background: #1a3a6d; }

/* Orbit 4: Piano */
.orbit-4 { width: 460px; height: 460px; animation: rotateCCW 15s linear infinite; }
.orbit-4 .orbiting-element { top: 80px; right: -20px; background: #2d8b1a; }

@keyframes rotateCW {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =======================================
   Teachers Premium Section
======================================= */
.teachers-premium-section {
    padding: 100px 0;
    overflow: hidden;
}

.teachers-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 30px;
}

.header-left {
    max-width: 600px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.subtitle-wrapper .line {
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.subtitle-wrapper .subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    letter-spacing: 2px;
}

.premium-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.teachers-main-desc {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.btn-text-gold {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-text-gold:hover {
    gap: 15px;
    color: #3d0a0e;
}

/* Teachers Grid */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.teacher-img-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #8b1a1a;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    z-index: 1;
}

.teacher-img-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid #ffffff;
}

.teacher-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-instrument-badge {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 50px;
    height: 50px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid #ffffff;
}

.teacher-instrument-badge.color-maroon {
    background: #8b1a1a;
}

.teacher-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.teacher-info .specialty {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.teacher-bio {
    margin-bottom: 20px;
    min-height: 50px;
}

.teacher-bio p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.teacher-milestones {
    list-style: none;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    margin-bottom: 25px;
}

.teacher-milestones li {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.teacher-milestones li i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.teacher-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.teacher-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #8b1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.teacher-socials a:hover {
    background: #8b1a1a;
    color: #fff;
    border-color: #8b1a1a;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .teachers-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .teachers-premium-section {
        padding: 60px 0;
    }
}

/* =======================================
   Split Premium Section (Trimestres & Ofrecemos)
======================================= */
.split-premium-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.split-premium-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.split-premium-card {
    flex: 1;
    min-width: 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Card Header */
.card-header-premium {
    text-align: center;
    margin-bottom: 40px;
}

.header-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}

.header-icon-circle.maroon { background: #8b1a1a; }

.card-header-premium h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.gold-sep-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.gold-sep-decoration .gold-line {
    width: 50px;
    height: 2px;
    background: #d4af37;
}

.gold-sep-decoration i {
    font-size: 10px;
    color: #d4af37;
}

/* Trimestres List */
.trimestres-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.trimestre-item-premium {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.trimestre-item-premium.winter-theme { background: linear-gradient(to right, #e3f2fd, #ffffff); }
.trimestre-item-premium.summer-theme { background: linear-gradient(to right, #fff9e6, #ffffff); }
.trimestre-item-premium.fall-theme { background: linear-gradient(to right, #fff4e6, #ffffff); }

.t-icon-circle {
    min-width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.winter-theme .t-icon-circle { color: #2196f3; }
.summer-theme .t-icon-circle { color: #ffc107; }
.fall-theme .t-icon-circle { color: #ff9800; }

.t-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #333;
}

.t-line {
    width: 30px;
    height: 3px;
    margin-bottom: 8px;
    border-radius: 2px;
}

.t-line.blue { background: #2196f3; }
.t-line.gold { background: #ffc107; }
.t-line.orange { background: #ff9800; }

.t-content p {
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

/* Ofrecemos Grid */
.ofrecemos-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ofrece-service-box {
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.ofrece-service-box:hover {
    border-color: #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.s-icon-box {
    min-width: 50px;
    height: 50px;
    background: #8b1a1a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}

.s-info h4 {
    font-size: 16px;
    color: #1a3a6d;
    line-height: 1.3;
    margin-bottom: 10px;
}

.s-divider.gold {
    width: 25px;
    height: 2px;
    background: #d4af37;
    margin-bottom: 10px;
}

.s-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Footer elements */
.card-footer-text {
    text-align: center;
    margin-top: auto;
    font-size: 14px;
    color: #888;
}

.offers-bottom-bar {
    margin-top: auto;
    background: #fdf8eb;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-circle-icon {
    width: 35px;
    height: 35px;
    border: 1.5px solid #d4af37;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 14px;
}

.offers-bottom-bar p {
    font-size: 13px;
    color: #444;
    margin: 0;
}

@media (max-width: 992px) {
    .ofrecemos-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .split-premium-card {
        min-width: 100%;
        padding: 30px 20px;
    }
}

/* =======================================
   Premium Dark Footer
======================================= */
.premium-dark-footer {
    background: #111111;
    color: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #8b1a1a, #d4af37, #8b1a1a);
}

/* Main Footer Grid - Force 4 columns on desktop */
.footer-grid-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 60px;
    flex-wrap: wrap; /* Still need wrap for mobile, but will control on desktop */
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.contact-info-col { flex: 1.2; }
.visit-info-col { flex: 1; }
.social-info-col { flex: 1; }
.brand-info-col { flex: 1.3; }

/* Bottom Bar - Strict alignment */
.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.bottom-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.bottom-item.center {
    justify-content: center;
    flex: 1.5;
}

.bottom-item.right {
    justify-content: flex-end;
}

.col-head .circle-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.col-head .circle-icon.maroon {
    background: rgba(139, 26, 26, 0.2);
    border: 1px solid #8b1a1a;
    color: #8b1a1a;
}

.col-head h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #ffffff;
}

.head-underline {
    width: 40px;
    height: 2px;
    background: #d4af37;
}

/* Contact Items */
.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 16px;
}

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

.item-text .main-val {
    font-size: 15px;
    font-weight: 600;
    color: #d4af37;
}

.item-text .sub-val {
    font-size: 12px;
    color: #888;
}

/* Visit / Map */
.address-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.address-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.footer-map-preview {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.map-live-container {
    height: 150px;
    background: #000;
}

.map-live-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(0.6) contrast(0.9) grayscale(0.2);
}

.footer-map-preview:hover {
    border-color: #8b1a1a;
    box-shadow: 0 0 20px rgba(139, 26, 26, 0.3);
}

.btn-map-link {
    display: block;
    background: #3d0a0e;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-map-link:hover {
    background: #8b1a1a;
}

/* Social Banners */
.social-intro {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.social-banners {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #333;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-banner:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(5px);
    border-color: #555;
}

.icon-sq {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
}

.fb .icon-sq { background: #1877f2; }
.ig .icon-sq { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.yt .icon-sq { background: #ff0000; }

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

.soc-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.soc-handle {
    font-size: 12px;
    color: #888;
}

/* Brand Area */
.footer-brand-header {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    border: 1px solid #222;
}

.footer-logo-img {
    width: 100px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.brand-title {
    font-size: 48px;
    font-weight: 900;
    color: #8b1a1a;
    letter-spacing: 5px;
    margin: 0;
}

.brand-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    color: #d4af37;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.brand-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.brand-sep .line {
    flex: 1;
    height: 1px;
    background: #333;
}

.brand-sep i { color: #d4af37; font-size: 14px; }

.brand-mission {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    font-style: italic;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #222;
    padding: 40px 0;
    background: #0a0a0a;
}

.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bottom-item {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px;
}

.bottom-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #3d0a0e;
    color: #d4af37;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.bottom-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #ccc;
}

.copy-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #d4af37;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 18px;
}

.copy-text {
    text-align: center;
}

.copy-text p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

@media (max-width: 992px) {
    .bottom-bar-flex {
        justify-content: center;
        text-align: center;
    }
    .bottom-item {
        flex-direction: column;
        max-width: 100%;
    }
}


/* =======================================
   GLOBAL MOBILE FIXES (iPhone / 480px)
======================================= */
@media (max-width: 480px) {
    /* General */
    .container { padding: 0 16px; }
    section { padding: 50px 0; }

    /* Header */
    .logo-img { height: 55px; }

    /* Hero */
    .hero-section { padding: 90px 0 60px; min-height: 100svh; }
    .hero-content { padding-top: 10px; padding-bottom: 60px; }
    .hero-main-title { font-size: 38px; letter-spacing: -1px; }
    .hero-header-line h2 { font-size: 11px; letter-spacing: 2px; }
    .hero-sub-text { font-size: 14px; }
    .hero-btns-group { gap: 10px; }
    .btn-hero { padding: 13px 22px; font-size: 13px; width: 100%; justify-content: center; }

    /* Teachers */
    .teachers-grid { grid-template-columns: 1fr; }
    .teacher-card { flex-direction: column; }

    /* Bible card */
    .bible-card-content { padding: 30px 20px; }
    .bible-card-header { flex-direction: column; gap: 20px; }
    .bible-vertical-divider { width: 60px; height: 2px; }
    .bible-main-icon { width: 80px; height: 80px; font-size: 36px; }
    .bible-header-text h2 { font-size: 28px; }
    .bible-main-desc { font-size: 15px; }
    .bible-mini-features { grid-template-columns: 1fr 1fr; gap: 20px; }

    /* Split section (Trimestres + Ofrecemos) */
    .split-premium-container { grid-template-columns: 1fr; gap: 20px; }
    .split-premium-card { padding: 30px 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-col { text-align: center; }

    /* WhatsApp widget on small phones */
    .whatsapp-wrapper { bottom: 16px; right: 16px; }
    .wa-chat-card { width: calc(100vw - 32px); }
    .whatsapp-btn { width: 54px; height: 54px; font-size: 28px; }
}

/* Ensure nav works on mobile */
@media (max-width: 1024px) {
    .main-nav.active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 9998;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease;
    }

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

    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-nav.active a {
        font-size: 24px;
        font-weight: 800;
        color: var(--color-text-main);
        letter-spacing: 2px;
    }

    .main-nav.active a:hover {
        color: var(--color-primary);
    }
}
