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

:root {
  --blue-deep:  #1a4fa0;
  --blue-mid:   #2563c0;
  --blue-light: #4a90d9;
  --blue-pale:  #e8f0fc;
  --gray:       #e8e8e8;
  --gray-mid:   #9a9a9a;
  --gray-dark:  #3a3a3a;
  --white:      #ffffff;
  --cream:      #f7f8fa;
  --text:       #1c1c1c;
  --text-muted: #5e5e6a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 5%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.9rem;
}
.nav-logo-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.85rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em;
}
.nav-logo-img {
  width: 125px; height: 125;
  display: block;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block; font-size: 0.88rem; font-weight: 600; color: var(--blue-deep);
}
.nav-logo-text span {
  font-size: 0.7rem; color: var(--text-muted); font-weight: 300; letter-spacing: 0.08em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-deep); }
.nav-cta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; background: var(--blue-deep); color: var(--white);
  text-decoration: none; border-radius: 3px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-mid); }

/* ── HERO ── */
.hero {
  min-height: 60vh;
  max-height: 720px;
  background: var(--blue-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 5%;
  position: relative; overflow: hidden;
}
.hero-stripe {
  position: absolute; top: 0; right: 0;
  width: 38%; height: 100%;
  background: var(--blue-mid);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-stripe-2 {
  position: absolute; top: 0; right: 0;
  width: 18%; height: 100%;
  background: var(--blue-light);
  opacity: 0.35;
}
.hero-badge {
  display: inline-block; margin-bottom: 1.8rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-light); border: 1px solid rgba(74,144,217,0.4);
  padding: 0.35rem 0.9rem; border-radius: 2px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  font-weight: 300; color: var(--white); line-height: 1.0;
  max-width: 820px; margin-bottom: 0;
  position: relative;
}
.hero h1 em { font-style: italic; color: var(--blue-light); }
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.5); font-weight: 300;
  margin-top: 1.5rem; max-width: 480px; line-height: 1.7;
  position: relative;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.8rem; position: relative; }
.btn-primary {
  padding: 0.85rem 2rem; background: var(--white); color: var(--blue-deep);
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-pale); }
.btn-ghost {
  padding: 0.85rem 2rem; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  font-weight: 500; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ── SECTIONS COMMON ── */
.section { padding: 6rem 5%; }
.section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-light); display: block; margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1; color: var(--blue-deep); max-width: 680px;
}
.section-title em { font-style: italic; }
.divider { width: 44px; height: 3px; background: var(--blue-light); margin: 1.8rem 0; border-radius: 2px; }
.divider--faded { background: rgba(74,144,217,0.5); }

/* ── NOSOTROS ── */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; margin-top: 3.5rem;
}
.about-body p {
  font-size: 1rem; color: var(--text-muted); line-height: 1.85;
  font-weight: 300; margin-bottom: 1.1rem;
}
.about-body p strong { color: var(--blue-deep); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
  padding: 1.6rem; border-radius: 4px;
  background: var(--blue-pale);
}
.stat:nth-child(odd) { background: var(--blue-deep); }
.stat-num {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 300; line-height: 1;
  color: var(--blue-deep);
}
.stat:nth-child(odd) .stat-num { color: var(--white); }
.stat-label {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.4rem; font-weight: 500;
}
.stat:nth-child(odd) .stat-label { color: rgba(255,255,255,0.55); }

/* ── NIVELES ── */
.niveles { background: var(--cream); }
.niveles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.nivel-card {
  background: var(--white); padding: 2.5rem 2rem;
  border-radius: 4px; border: 1px solid var(--gray);
  border-top: 4px solid var(--blue-deep);
  transition: box-shadow 0.2s, border-top-color 0.2s;
}
.nivel-card:hover { box-shadow: 0 8px 30px rgba(26,79,160,0.1); border-top-color: var(--blue-light); }
.nivel-num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 300;
  color: var(--gray); line-height: 1; margin-bottom: 0.8rem;
}
.nivel-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400;
  color: var(--blue-deep); margin-bottom: 0.4rem;
}
.nivel-ages {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-light); font-weight: 600; margin-bottom: 1.2rem;
}
.nivel-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; }

/* ── POR QUÉ ── */
.porque { background: var(--blue-deep); }
.porque .section-title { color: var(--white); }
.porque .section-label { color: var(--blue-light); }
.porque-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.porque-card {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: background 0.2s;
}
.porque-card:hover { background: rgba(255,255,255,0.1); }
.porque-icon {
  font-family: var(--serif); font-size: 2rem; color: var(--blue-light);
  margin-bottom: 1.2rem; display: block;
}
.porque-card h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.7rem;
}
.porque-card p { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.75; font-weight: 300; }

/* ── GALERÍA ── */
.galeria { background: var(--white); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 8px; margin-top: 3.5rem;
}
.galeria-item {
  background: var(--gray); border-radius: 3px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.galeria-item:first-child {
  grid-column: 1; grid-row: 1 / 3; background: var(--blue-pale);
}
.galeria-placeholder {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-mid); font-weight: 500;
}
.galeria-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── TESTIMONIOS ── */
.testimonios { background: var(--cream); }
.testimonios-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.testimonio-card {
  background: var(--white); padding: 2rem 2rem 1.8rem;
  border-radius: 4px; border: 1px solid var(--gray);
  position: relative;
}
.testimonio-quote {
  font-family: var(--serif); font-size: 3rem; color: var(--blue-pale);
  line-height: 0.5; margin-bottom: 1rem; display: block;
}
.testimonio-text {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
  font-style: italic; font-family: var(--serif); font-weight: 400;
  margin-bottom: 1.5rem;
}
.testimonio-author { font-size: 0.78rem; font-weight: 600; color: var(--blue-deep); letter-spacing: 0.06em; }
.testimonio-role { font-size: 0.72rem; color: var(--gray-mid); font-weight: 300; }

/* ── CONTACTO ── */
.contacto { background: var(--white); }
.contacto-intro { margin-top: 2rem; }
.contacto-intro p {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
  font-weight: 300; margin-bottom: 1.8rem; max-width: 680px;
}
.contacto-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 3rem; margin-top: 2.5rem; align-items: start;
}
.contacto-grid .mapa { min-height: 420px; }
.contact-info p {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
  font-weight: 300; margin-bottom: 2rem;
}
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem;
}
.contact-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-light); margin-top: 0.45rem; flex-shrink: 0;
}
.contact-text { font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.contact-text span { display: block; font-size: 0.72rem; color: var(--gray-mid); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--gray);
  border-radius: 3px; font-family: var(--sans); font-size: 0.9rem;
  color: var(--text); background: var(--cream);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-light);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  padding: 0.9rem 2rem; background: var(--blue-deep); color: var(--white);
  border: none; border-radius: 3px; font-family: var(--sans);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; align-self: flex-start;
}
.form-submit:hover { background: var(--blue-mid); }

/* ── MAPA ── */
.mapa { padding: 0; height: 420px; background: var(--gray); position: relative; }
.mapa iframe { width: 100%; height: 100%; border: none; display: block; }
.mapa-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 0.8rem;
}
.mapa-placeholder span {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-mid); font-weight: 500;
}
.mapa-note { font-size: 0.68rem; color: #bbb; }

/* ── FOOTER ── */
footer {
  background: var(--gray-dark); padding: 3.5rem 5%;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; align-items: start;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.8rem;
}
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); font-weight: 300; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  background: rgba(0,0,0,0.25); padding: 1rem 5%;
  display: flex; justify-content: space-between;
  font-size: 0.74rem; color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .niveles-grid, .porque-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .niveles-grid, .testimonios-grid, .galeria-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; }
}
