/* ============================================================
   MAIN CSS — Sitio Público Colegio Célestin Freinet
   Design: Institutional warmth with organic educational spirit
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy: #042C53;
    --navy-dark: #021d38;
    --blue: #185FA5;
    --teal: #0F6E56;
    --teal-light: #1a9970;
    --teal-pale: #E6F4F0;
    --gold: #C8922A;
    --gold-light: #E8B34A;
    --gold-pale: #FBF3E2;
    --white: #ffffff;
    --off-white: #F8FAFC;
    --light-gray: #F0F4F8;
    --text: #1A2332;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --font-display: 'Lora', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --max-w: 1180px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 20px rgba(4,44,83,.08);
    --shadow-lg: 0 8px 40px rgba(4,44,83,.14);
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --section-py: 90px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; }

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }

img { max-width: 100%; height: auto; }
button { font-family: var(--font-body); cursor: pointer; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section-label {
    display: inline-block;
    background: var(--teal-pale);
    color: var(--teal);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.section-label.gold { background: var(--gold-pale); color: var(--gold); }
.section-label.navy { background: rgba(4,44,83,.08); color: var(--navy); }

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--navy);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ==================== NAV ==================== */
#mainNav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    padding: 0;
}
#mainNav.scrolled {
    background: rgba(4,44,83,.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 44px; height: 44px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.nav-logo-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1.1;
}
.nav-logo-text span {
    color: rgba(255,255,255,.6);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,.85);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-cta {
    background: var(--gold) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.hamburger-line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-mobile-toggle.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 100%);
    height: 100%;
    background: var(--navy);
    z-index: 1200;
    transition: right var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}
.mobile-sidebar.open { right: 0; }
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1100;
    display: none;
    backdrop-filter: blur(3px);
}
.mobile-overlay.open { display: block; }

.mobile-sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-sidebar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav {
    flex: 1;
    padding: 16px 0;
}

/* Accordion nav items */
.mobile-nav-item {
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.mobile-nav-link i { font-size: 12px; transition: transform var(--transition); }
.mobile-nav-item.open .mobile-nav-link i { transform: rotate(180deg); }

.mobile-subnav {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    background: rgba(0,0,0,.15);
}
.mobile-nav-item.open .mobile-subnav { max-height: 400px; }
.mobile-subnav a {
    display: block;
    padding: 10px 24px 10px 40px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition);
}
.mobile-subnav a:hover { color: #fff; padding-left: 48px; }

.mobile-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #0a4a7a 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(15,110,86,.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(24,95,165,.15) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(200,146,42,.1) 0%, transparent 30%);
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-left { max-width: 560px; }

.hero-frase {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(200,146,42,.15);
    border: 1px solid rgba(200,146,42,.3);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 58px);
    color: #fff;
    line-height: 1.18;
    margin-bottom: 20px;
}
.hero-title em {
    color: var(--gold-light);
    font-style: normal;
}

.hero-desc {
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
    padding: 14px 28px;
    background: var(--gold);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
}
.btn-hero-primary:hover { background: var(--gold-light); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,146,42,.35); }

.btn-hero-secondary {
    padding: 14px 28px;
    border: 2px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.9);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-hero-secondary:hover { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.1); }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat strong { display: block; color: #fff; font-size: 28px; font-weight: 800; font-family: var(--font-display); }
.hero-stat span { color: rgba(255,255,255,.55); font-size: 13px; }

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 20px;
    transition: all var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,.11); }
.hero-card-icon { font-size: 28px; margin-bottom: 10px; }
.hero-card h3 { color: #fff; font-size: 16px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.hero-card p { color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.5; }
.hero-card.featured { border-color: rgba(200,146,42,.4); background: rgba(200,146,42,.1); }

/* ==================== SECTION BASE ==================== */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy); }
.section-teal { background: var(--teal); }

/* ==================== HISTORIA ==================== */
.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.historia-img-wrapper {
    position: relative;
}
.historia-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.historia-year-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius);
    padding: 14px 20px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow);
    text-align: center;
}
.historia-year-badge span { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }

.historia-text .section-title { margin-bottom: 20px; }
.historia-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }

.valores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}
.valor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--teal-pale);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
}
.valor-item i { font-size: 16px; }

/* ==================== PEDAGOGÍA ==================== */
.pedagogia-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.ped-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px 24px;
    transition: all var(--transition);
}
.ped-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.ped-card-icon {
    width: 56px; height: 56px;
    background: var(--teal-pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.ped-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.ped-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ==================== NIVELES ==================== */
.niveles-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: center;
}
.nivel-tab-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.nivel-tab-btn:hover { border-color: var(--teal); color: var(--teal); }
.nivel-tab-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.nivel-panel { display: none; animation: fadeIn .3s ease; }
.nivel-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

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

.nivel-info { }
.nivel-info h2 { font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.nivel-info .nivel-rango {
    display: inline-block;
    background: var(--gold-pale);
    color: var(--gold);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.nivel-info p { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.nivel-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nivel-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
}
.nivel-features li::before {
    content: '';
    width: 20px; height: 20px;
    background: var(--teal);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.nivel-visual {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nivel-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(15,110,86,.3) 0%, transparent 60%);
}
.nivel-emoji { font-size: 64px; position: relative; z-index: 1; }
.nivel-visual h3 { font-size: 22px; margin: 12px 0 6px; position: relative; z-index: 1; }
.nivel-visual p { opacity: .75; font-size: 14px; position: relative; z-index: 1; }

/* ==================== ADULTOS ==================== */
.adultos-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0a3d6e 100%);
    position: relative;
    overflow: hidden;
}
.adultos-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(15,110,86,.2) 0%, transparent 60%);
}
.adultos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.adultos-text .section-title { color: #fff; }
.adultos-text .section-subtitle { color: rgba(255,255,255,.7); }
.adultos-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.adultos-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.adultos-feature-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--gold-light);
}
.adultos-feature-text strong { display: block; color: #fff; font-size: 15px; margin-bottom: 3px; }
.adultos-feature-text span { color: rgba(255,255,255,.6); font-size: 13.5px; }

.adultos-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.adultos-card h3 { font-family: var(--font-display); font-size: 24px; color: var(--gold-light); margin-bottom: 20px; }
.horario-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14.5px;
}
.horario-item:last-child { border-bottom: none; }
.horario-item span:first-child { color: rgba(255,255,255,.7); }
.horario-item span:last-child { color: #fff; font-weight: 600; }

/* ==================== TALLERES ==================== */
.talleres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.taller-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}
.taller-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.taller-emoji { font-size: 36px; margin-bottom: 12px; }
.taller-card h4 { font-size: 15px; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.taller-card p { font-size: 12.5px; color: var(--text-muted); }

/* ==================== GALERÍA ==================== */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 36px;
}
.galeria-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}
.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.galeria-item:hover img { transform: scale(1.05); }
.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(4,44,83,.8));
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay span { color: #fff; font-size: 14px; font-weight: 600; }

/* ==================== NOTICIAS ==================== */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.noticia-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.noticia-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.noticia-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light-gray);
}
.noticia-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.noticia-card:hover .noticia-img img { transform: scale(1.04); }
.noticia-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.noticia-fecha { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.noticia-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.35;
    flex: 1;
}
.noticia-resumen { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ==================== FORMULARIO POSTULACION ==================== */
.form-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
    position: relative;
}
.postulacion-tabs {
    display: flex;
    gap: 0;
    background: var(--light-gray);
    border-radius: 14px;
    padding: 4px;
    max-width: 400px;
    margin: 0 auto 36px;
}
.post-tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.post-tab-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pub-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.pub-form-grid .full { grid-column: 1 / -1; }

.pub-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pub-form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}
.pub-form-control {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.pub-form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15,110,86,.1);
}
textarea.pub-form-control { resize: vertical; min-height: 110px; }
select.pub-form-control { cursor: pointer; }
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
}
.checkbox-wrapper input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex-shrink: 0;
}
.checkbox-wrapper span { font-size: 14px; color: var(--text); }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.btn-submit:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,110,86,.3); }

.form-success {
    text-align: center;
    padding: 40px;
    display: none;
}
.form-success.visible { display: block; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-size: 26px; color: var(--teal); margin-bottom: 10px; }
.form-success p { color: var(--text-muted); font-size: 16px; }
.folio-badge {
    display: inline-block;
    background: var(--teal-pale);
    color: var(--teal);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    margin-top: 12px;
    font-family: monospace;
}

/* ==================== CONTACTO ==================== */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contacto-info { }
.contacto-info h2 { font-size: 32px; color: var(--navy); margin-bottom: 16px; }
.contacto-info p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }
.contacto-items { display: flex; flex-direction: column; gap: 16px; }
.contacto-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}
.contacto-item-icon {
    width: 44px; height: 44px;
    background: var(--teal-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 18px;
    flex-shrink: 0;
}
.contacto-item strong { display: block; font-size: 14px; color: var(--navy); }
.contacto-item span { font-size: 13.5px; color: var(--text-muted); }

.contacto-form { }

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.7);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon {
    width: 48px; height: 48px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.footer-logo strong { color: #fff; font-size: 18px; font-family: var(--font-display); display: block; }
.footer-logo span { color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.footer-desc { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 16px;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--teal); color: #fff; }

.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,.35);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    :root { --section-py: 64px; }
    .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-stats { justify-content: center; }
    .hero-btns { justify-content: center; }
    .historia-grid, .adultos-grid, .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nivel-panel.active { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 48px; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .historia-year-badge { right: 0; bottom: -12px; }
    .pub-form-grid { grid-template-columns: 1fr; }
    .pub-form-grid .full { grid-column: 1; }
    .form-card { padding: 24px 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats { flex-direction: row; justify-content: space-around; }
    .hero-right { display: none; }
    .valores-grid { grid-template-columns: 1fr; }
}
