/* ================= VARIABLES ================= */
:root {
    --primary-dark: #004b79; /* Azul oscuro del PDF */
    --primary-light: #166e9f; /* Azul claro */
    --accent-yellow: #f1c40f; /* Amarillo estrellas */
    --accent-green: #8cc63f; /* Verde detalles */
    --text-main: #333333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ================= RESET & BASE ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-dark); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================= UTILITIES ================= */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 4rem 0; }
.text-center { text-align: center; }
.btn { display: inline-block; padding: 1rem 2rem; background-color: var(--accent-yellow); color: var(--primary-dark); font-weight: bold; border-radius: 5px; transition: 0.3s; text-align: center; }
.btn:hover { background-color: #e2b60b; transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--primary-dark); }

/* ================= HEADER ================= */
header { background-color: var(--primary-dark); color: var(--white); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: bold; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--white); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-yellow); }
.menu-toggle { display: none; font-size: 2rem; cursor: pointer; }

/* ================= HERO ================= */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%); color: var(--white); padding: 10rem 5% 6rem 5%; text-align: center; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

/* ================= WHY US ================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-card { background: var(--bg-light); padding: 2rem; border-radius: 8px; border-top: 4px solid var(--primary-dark); }
.feature-card h3 { display: flex; align-items: center; gap: 10px; }
.accreditations { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; opacity: 0.8; font-weight: bold; }

/* ================= METHODOLOGY ================= */
.methodology { background-color: var(--primary-dark); color: var(--white); }
.methodology h2 { color: var(--white); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.method-box { background: rgba(255,255,255,0.1); padding: 2.5rem; border-radius: 8px; }
.method-box h3 { color: var(--accent-yellow); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1rem; }
.method-box ul { margin-top: 1.5rem; }
.method-box li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.method-box li::before { content: '✔'; color: var(--accent-green); font-weight: bold; }

/* ================= ADMISSIONS & PRICING ================= */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.price-card { background: var(--white); border: 1px solid #ddd; padding: 2rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.price-card h3 { color: var(--primary-light); }
.price-amount { font-size: 2.5rem; font-weight: bold; color: var(--primary-dark); margin: 1rem 0; }
.price-card ul { text-align: left; margin: 1.5rem 0; }
.price-card li { margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; }
.schedule-box { background: var(--bg-light); padding: 2rem; border-radius: 8px; margin-top: 2rem; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }

/* ================= FAQ ================= */
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-light); margin-bottom: 1rem; padding: 1rem; border-radius: 5px; cursor: pointer; }
summary { font-weight: bold; font-family: var(--font-heading); color: var(--primary-dark); outline: none; list-style-position: inside; }
details p { margin-top: 1rem; padding-left: 1rem; border-left: 3px solid var(--primary-light); }

/* ================= ADMISSION FORM ================= */
.admission-form-container { background: var(--bg-light); padding: 3rem; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.admission-form { max-width: 800px; margin: 0 auto; }
.form-section { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #e0e0e0; }
.form-section:last-of-type { border-bottom: none; }
.form-section h3 { color: var(--primary-dark); margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea { padding: 0.8rem; border: 2px solid #e0e0e0; border-radius: 6px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(22, 110, 159, 0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.checkbox-group { flex-direction: row; align-items: flex-start; gap: 0.8rem; }
.checkbox-group input[type="checkbox"] { width: auto; margin: 0; }
.checkbox-group label { margin-bottom: 0; font-weight: normal; }
.form-actions { text-align: center; margin-top: 2rem; }
.form-note { font-size: 0.9rem; color: #666; margin-top: 1rem; }

/* ================= CONTACT ================= */
.contact { background-color: var(--primary-dark); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.contact-info p { font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.map-container iframe { width: 100%; height: 300px; border: none; border-radius: 8px; }

footer { background-color: #002d4a; color: var(--white); text-align: center; padding: 1.5rem; font-size: 0.9rem; }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-dark); padding: 1rem 0; text-align: center; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .split-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .admission-form-container { padding: 2rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    .checkbox-group { flex-direction: column; align-items: flex-start; }
}