/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary: #0f1d3a;          /* Deep Navy Blue */
    --primary-light: #1b3a70;    /* Muted Navy */
    --primary-lightest: #e0f2fe; /* Light Blue Sky tint */
    --accent: #7cdb64;           /* Flyer Green Accent (fresh, active) */
    --accent-hover: #61b84c;     /* Darker green hover */
    --accent-light: #f0fdf4;     /* Light Green tint */
    --secondary: #3a86c8;        /* Flyer Blue */
    --secondary-hover: #2b6cb0;  /* Darker Blue */
    --color-orange: #ff8552;     /* Flyer Orange */
    --color-green: #7cdb64;      /* Flyer Green */
    --color-blue: #3a86c8;       /* Flyer Blue */
    --color-yellow: #ffca3a;     /* Flyer Yellow */
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Borders & Shadows */
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 29, 58, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 29, 58, 0.08), 0 4px 6px -2px rgba(15, 29, 58, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(15, 29, 58, 0.1), 0 10px 10px -5px rgba(15, 29, 58, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
section[id] {
    scroll-margin-top: 90px; /* Offset for sticky header */
}

.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-tagline {
    font-family: var(--font-headings);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 100;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-cta {
    flex-shrink: 0;
}

.school-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--bg-white);
    padding: 2px;
}

.school-logo-img.footer-logo {
    height: 48px;
    border: 2px solid var(--accent);
}

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

.logo-title {
    font-family: var(--font-headings);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    line-height: 1.1;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

@media (max-width: 1200px) {
    .desktop-nav ul {
        gap: 20px;
    }
}

.desktop-nav a {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition-normal);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 100px 32px 40px 32px;
    transition: var(--transition-normal);
    display: none;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
    display: block;
}

.mobile-nav a:hover {
    color: var(--accent);
    padding-left: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: var(--header-height);
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-wrapper {
    position: relative;
    width: 100%;
}

.hero-badges-container {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 10;
}

.hero-badge-experience,
.hero-badge-admissions {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    pointer-events: auto;
}

button.hero-badge-experience,
button.hero-badge-admissions {
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    outline: none;
}

.hero-badge-experience:hover,
.hero-badge-admissions:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

button.hero-badge-experience:focus-visible,
button.hero-badge-admissions:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-badge-experience .badge-icon,
.hero-badge-admissions .badge-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.badge-text-group {
    display: flex;
    flex-direction: column;
}

.badge-text-group .badge-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.badge-text-group .badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-badges-container {
        bottom: 16px;
        left: auto;
        right: 16px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
    
    .hero-badge-experience,
    .hero-badge-admissions {
        padding: 10px 16px;
        gap: 10px;
        border-radius: var(--radius-md);
    }
    
    .hero-badge-experience .badge-icon,
    .hero-badge-admissions .badge-icon {
        width: 24px;
        height: 24px;
    }
    
    .badge-text-group .badge-title {
        font-size: 0.95rem;
    }
    
    .badge-text-group .badge-subtitle {
        font-size: 0.75rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   WHY CHOOSE US (DIFERENCIADORES)
   ========================================================================== */
.why-us-section {
    background-color: #f8fafc;
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

button.feature-card {
    display: block;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    background: var(--bg-white);
    outline: none;
}

button.feature-card:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-wrapper i {
    width: 26px;
    height: 26px;
}

.feature-icon-wrapper.color-1 { background-color: var(--accent-light); color: var(--accent); }
.feature-icon-wrapper.color-2 { background-color: #f0f9ff; color: #0284c7; }
.feature-icon-wrapper.color-3 { background-color: #fdf2f8; color: #db2777; }
.feature-icon-wrapper.color-4 { background-color: #fef3c7; color: #d97706; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   EDUCATIONAL LEVELS
   ========================================================================== */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.level-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.level-image-container {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.level-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.level-card:hover .level-image-container img {
    transform: scale(1.05);
}

.level-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bg-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-kinder { background-color: var(--accent); }
.badge-primaria { background-color: var(--secondary); }

.level-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.level-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.level-body p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.level-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.level-features span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.level-features i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* ==========================================================================
   FACILITIES & WORKSHOPS
   ========================================================================== */
.facilities-section {
    background-color: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    background-color: var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    background: linear-gradient(to top, rgba(15, 29, 58, 0.95) 0%, rgba(15, 29, 58, 0.4) 60%, transparent 100%);
    color: var(--bg-white);
    transform: translateY(0);
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) 0.05s;
}

.gallery-item:hover .gallery-overlay p {
    max-height: 80px;
    margin-top: 8px;
}

.extracurriculars-wrapper {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.extracurriculars-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.extracurriculars-lead {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 32px auto;
}

.workshop-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.workshop-badge {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.workshop-badge:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.workshop-badge i {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}

.stars {
    color: #eab308;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 24px;
}

.author-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-details {
    text-align: center;
}

.author-details strong {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    color: var(--primary);
    display: block;
}

.author-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

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

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

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

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

.dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* ==========================================================================
   PROMOTIONS SECTION
   ========================================================================== */
.promo-section {
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.promo-slider-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.promo-slider {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, var(--primary-light) 0%, #111e3b 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    overflow: hidden;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 380px;
}

.promo-image-area {
    position: relative;
    overflow: hidden;
}

.promo-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content-area {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .promo-slider {
        min-height: 520px;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .promo-image-area {
        height: 200px;
    }
    
    .promo-content-area {
        padding: 30px 24px;
        gap: 12px;
    }
}

.promo-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    pointer-events: auto;
}

.promo-slide h3 {
    color: var(--bg-white);
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.promo-slide p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.promo-slogan {
    font-style: italic;
    color: var(--color-yellow);
    font-weight: 600;
    margin-top: 8px;
}

.promo-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.promo-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.promo-slider-btn:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
}

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

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

.promo-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

.promo-badge {
    align-self: flex-start;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.badge-orange { background-color: var(--color-orange); color: var(--bg-white); }
.badge-green { background-color: var(--color-green); color: var(--bg-white); }
.badge-yellow { background-color: var(--color-yellow); color: var(--primary); }

/* ==========================================================================
   CONTACT & LOCATION
   ========================================================================== */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-area h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

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

.contact-detail-item {
    display: flex;
    gap: 16px;
}

.contact-detail-item i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 4px;
}

.icon-accent {
    color: var(--accent);
}

.contact-detail-item strong {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

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

.contact-detail-item a:hover {
    color: var(--accent);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #ef4444;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.775rem;
    font-weight: 500;
    margin-top: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px 48px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

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

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bg-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-headings);
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity var(--transition-fast);
}

.social-icons a:hover img {
    opacity: 0.85;
}

.btn-wa-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.btn-wa-footer:hover {
    color: var(--bg-white);
}

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

.footer-bottom-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-privacy:hover {
    color: var(--accent);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 29, 58, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 40px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 680px;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-container.modal-wide {
    max-width: 900px;
}

.modal-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 500px;
}

.modal-image-column {
    position: relative;
    background-color: var(--border-color);
}

.modal-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-column {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-section-grid-single {
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.modal-bullets-area h4 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-bullets-area h4 i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.modal-bullets-area ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-bullets-area li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
    color: var(--text-main);
}

.modal-bullets-area li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 20px 12px;
    }
    
    .modal-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .modal-image-column {
        height: 200px;
    }
    
    .modal-content-column {
        padding: 32px 24px;
    }
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content {
    padding: 48px;
}

.modal-badge-kind {
    font-family: var(--font-headings);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.modal-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.modal-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.modal-section-grid h4 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-grid h4 i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.modal-section-grid ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-section-grid li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.modal-section-grid li::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 4px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.modal-cta-row {
    display: flex;
    justify-content: flex-end;
}

.modal-action-btn {
    min-width: 180px;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: var(--bg-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition-fast);
    animation: heartBeat 4s ease-in-out infinite;
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.08); }
    70% { transform: scale(1); }
}

/* ==========================================================================
   TOAST NOTIFICATION SUCCESS
   ========================================================================== */
.toast-container {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 24px;
    z-index: 300;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: calc(100% - 48px);
    max-width: 450px;
    border-left: 6px solid var(--accent);
}

.toast-container.show {
    top: 24px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.toast-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
}

.toast-text {
    flex-grow: 1;
}

.toast-text strong {
    font-family: var(--font-headings);
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.toast-text p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.toast-close {
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.toast-close:hover {
    color: var(--bg-white);
}

/* ==========================================================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================================================== */

/* Laptop / Small Desktop */
@media (max-width: 1024px) {
    .hero-container {
        gap: 32px;
    }
    
    .hero-content h1 {
        font-size: 2.85rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
    
    .footer-social {
        grid-column: span 2;
    }
    
    .desktop-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* Hamburger Menu open state animation */
    .mobile-menu-btn.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .section-container {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-bottom: 60px;
    }
    
    .hero-lead {
        margin: 0 auto 32px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-social {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .extracurriculars-wrapper {
        padding: 32px 20px;
    }
    
    .form-card {
        padding: 24px 20px;
    }
    
    .slider-wrapper {
        padding: 0;
    }
    
    .slider-btn {
        display: none;
    }
    
    .promo-card {
        padding: 40px 24px;
    }
}
