/* ============ Reset & tokens ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bg: #05060d;
  --bg-alt: #0a0c18;
  --surface: #10121f;
  --surface-2: #161932;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef0ff;
  --text-muted: #9ea3c9;
  --text-soft: #c5c9e8;

  --purple: #7c3aed;
  --purple-2: #5b2fe0;
  --blue: #3b82f6;
  --teal: #14e0d1;
  --cyan: #22d3ee;

  --gradient: linear-gradient(135deg, #7c3aed 0%, #5b2fe0 35%, #3b82f6 70%, #14e0d1 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(20,224,209,0.18));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 20px 60px -20px rgba(124, 58, 237, 0.45);
  --shadow-card: 0 8px 30px -12px rgba(0, 0, 0, 0.6);

  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(5, 6, 13, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo-bracket {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 8px 24px -10px rgba(124,58,237,0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(124,58,237,0.8); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 40px -14px rgba(124, 58, 237, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(124, 58, 237, 0.85); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.btn--full { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,224,209,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.hero__glow--purple {
  background: #7c3aed;
  top: -180px; left: -120px;
}
.hero__glow--teal {
  background: #14e0d1;
  top: -60px; right: -180px;
  opacity: 0.35;
}

.hero { min-height: 820px; padding-bottom: 40px; }
.hero__inner { position: relative; z-index: 1; }
.hero__top {
  position: relative;
  margin-bottom: 40px;
  min-height: 620px;
}
.hero__content {
  max-width: 58%;
  position: relative;
  z-index: 3;
}

.hero__image {
  position: absolute;
  right: -30px;
  bottom: 0;
  width: 50%;
  max-width: 720px;
  height: 100%;
  min-height: 620px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__image-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.3));
}
.hero__image::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.55), rgba(59, 130, 246, 0.28) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero__image-accent {
  position: absolute;
  inset: auto -30px -20px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 40px;
}

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

.hero__stats {
  position: relative;
  z-index: 4;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 18, 31, 0.85), rgba(10, 12, 24, 0.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}
.stat__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ============ Section ============ */
.section {
  padding: 100px 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
}
.section--stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--stage__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(5, 6, 13, 0.92) 0%, rgba(5, 6, 13, 0.82) 45%, rgba(5, 6, 13, 0.95) 100%),
    linear-gradient(90deg, rgba(5, 6, 13, 0.7), transparent 30%, transparent 70%, rgba(5, 6, 13, 0.7)),
    url("assets/maria-stage.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 1;
}
.section--stage__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(124, 58, 237, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(20, 224, 209, 0.18), transparent 55%);
  pointer-events: none;
}
.section--stage .section__grid { position: relative; z-index: 1; }
.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; max-width: 780px; margin-inline: auto; }
.section__kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section__lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ About ============ */
.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.about__lead {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
}
.about p {
  color: var(--text-soft);
  margin-bottom: 20px;
}
.awards {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.awards li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.awards li:hover { border-color: rgba(124, 58, 237, 0.4); transform: translateX(4px); }
.awards__icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--teal);
  font-size: 1.1rem;
}
.awards li strong { display: block; margin-bottom: 2px; }
.awards li span:last-child { color: var(--text-muted); font-size: 0.9rem; }

/* ============ Logos ============ */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.logo-card {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.logo-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-4px);
  background: var(--surface-2);
}
.logo-card span {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.logo-card small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============ Courses ============ */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.course::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.course:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--shadow-card);
}
.course:hover::before { opacity: 1; }

.course--featured {
  background: linear-gradient(145deg, rgba(124,58,237,0.12), rgba(20,224,209,0.06));
  border-color: rgba(124, 58, 237, 0.3);
}

.course__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}
.course__tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20,224,209,0.12);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}
.course__tag--hot {
  background: var(--gradient);
  color: #fff;
}
.course__meta {
  display: flex;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.course h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.course__goal {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.course ul {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.course li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.course li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.course--banner {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(20, 224, 209, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.course--banner::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.3;
  pointer-events: none;
}
.course--banner h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 10px 0 14px;
}
.course--banner .course__goal {
  font-size: 1.02rem;
  margin-bottom: 0;
}
.course__banner-content { position: relative; z-index: 1; }
.course__banner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  position: relative;
  z-index: 1;
}
.course__banner-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.course__banner-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.custom-course {
  margin-top: 32px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(20, 224, 209, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.custom-course h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.custom-course p {
  color: var(--text-soft);
  max-width: 620px;
}

/* ============ FAQ ============ */
.faq {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq__item:hover { border-color: rgba(124, 58, 237, 0.3); }
.faq__item[open] {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), transparent);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  position: relative;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__item summary:hover { color: var(--teal); }
.faq__answer {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq__answer a { color: var(--teal); text-decoration: underline; }
.faq__answer a:hover { color: #40f0e0; }

/* ============ Contact ============ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact__info p {
  color: var(--text-muted);
  margin: 20px 0 28px;
  font-size: 1.02rem;
}
.contact__list { display: grid; gap: 12px; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.contact__list li:hover { border-color: rgba(20, 224, 209, 0.35); }
.contact__icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
}
.contact__list a { color: var(--text); font-weight: 500; }

.contact__form {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.06);
}
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ea3c9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form__feedback {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  min-height: 20px;
  color: var(--teal);
}
.form__feedback.error { color: #ff7a8a; }

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}

.form__success {
  grid-column: 1 / -1;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(20, 224, 209, 0.14), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(20, 224, 209, 0.4);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  text-align: center;
}

/* ============ Footer ============ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer__brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.footer p { color: var(--text-muted); font-size: 0.92rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.footer__links a:hover { color: var(--teal); }
.footer__copy {
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: right;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .section__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); padding: 24px; }

  /* Hero: dejar de usar posición absoluta, volver a flujo normal */
  .hero { min-height: auto; padding: 48px 0 40px; }
  .hero__top {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }
  .hero__content { max-width: 100%; }
  .hero__image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: auto;
    margin: 0 auto;
    aspect-ratio: 1 / 1.1;
  }
  .hero__image::before { width: 80%; }

  .course--banner { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .course--banner h3 { font-size: 1.4rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__copy { text-align: left; }
}

@media (max-width: 720px) {
  /* Nav con fondo s\u00f3lido en m\u00f3vil (sin backdrop-filter que rompe en iOS) */
  .nav {
    background: #05060d;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0c18;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
    box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .nav__links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
  }
  .nav__links a:last-child { border-bottom: none; }

  /* Bot\u00f3n "Contratar" dentro del men\u00fa: pill con gradient bien contenido */
  .nav__cta {
    margin-top: 14px;
    padding: 14px 20px !important;
    text-align: center;
    border-radius: 999px;
    align-self: stretch;
  }

  /* Hamburguesa siempre visible y clicable */
  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .nav__inner { height: 64px; }

  .hero { padding: 40px 0 40px; }
  .section { padding: 60px 0; }

  /* Hero tipografía compacta para móvil */
  .hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .eyebrow {
    font-size: 0.74rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }
  .hero__ctas { gap: 10px; }
  .btn { padding: 12px 22px; font-size: 0.92rem; }

  .hero__image { max-width: 320px; }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 18px 16px;
  }
  .stat__num { font-size: 1.8rem; }
  .stat__label { font-size: 0.82rem; }

  .courses { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .contact__form { grid-template-columns: 1fr; padding: 24px; }
  .custom-course { padding: 28px; }
  .course__banner-list { grid-template-columns: 1fr; }

  .section__title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .section__kicker { font-size: 0.72rem; }

  .faq__item summary { padding: 18px 48px 18px 20px; font-size: 0.96rem; }
  .faq__answer { padding: 0 20px 20px; font-size: 0.92rem; }

  .custom-course { flex-direction: column; align-items: flex-start; gap: 18px; }
  .custom-course h3 { font-size: 1.2rem; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .nav__inner { height: 64px; }
  .nav__logo { font-size: 0.92rem; }
  .nav__toggle { inset-inline: auto; }

  .hero__title { font-size: 1.75rem; }
  .hero__subtitle { font-size: 0.96rem; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }

  .hero__image { max-width: 260px; }
  .hero__stats { padding: 18px; }

  .courses { gap: 14px; }
  .course { padding: 22px; }
  .course h3 { font-size: 1.08rem; }

  .logos { grid-template-columns: 1fr; }
}
