:root {
  --ink: #0b1628;
  --navy: #152650;
  --blue: #2266a4;
  --ochre: #d58c3b;
  --orange: #e8542f;
  --orange-deep: #c8431c;
  --green: #008f77;
  --cream: #fbfaf7;
  --paper: #ffffff;
  --line: #dedbd3;
  --muted: #596374;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(11, 22, 40, .09);
  --max: 1180px;
  --warm-paper: #f7edda;
}

* { box-sizing: border-box; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; z-index: 200; padding: 12px 20px;
  background: var(--navy); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: "Fraunces", Georgia, serif; line-height: 1.04; }
h1 { font-size: clamp(3rem, 7.4vw, 6.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); letter-spacing: -.04em; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; }
p { margin: 0; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 105px 0; }
.section-sm { padding: 72px 0; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lead { max-width: 730px; margin-top: 24px; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-head p { max-width: 560px; color: var(--muted); }

.topbar { background: var(--navy); color: #fff; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: center; padding: 8px 0; }
.topbar span { color: #b9c9ee; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(11, 22, 40, .09);
  background: rgba(251, 250, 247, .93);
  backdrop-filter: blur(15px);
}
.scroll-thread {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
}
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; width: 185px; align-items: center; }
.brand img { display: block; width: 100%; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav-toggle { display: none; min-height: 44px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--navy); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21, 38, 80, .2); }
.button.secondary { background: transparent; color: var(--navy); }
.button.light { border-color: #fff; background: #fff; color: var(--navy); }

.hero { position: relative; overflow: hidden; padding: 108px 0 92px; }
.hero::before {
  position: absolute; inset: -130px -10% auto auto; width: 520px; height: 520px;
  border-radius: 50%; background: rgba(213, 140, 59, .18); filter: blur(35px); content: "";
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: .84rem; }
.platform-map { position: relative; min-height: 500px; }
.map-card {
  position: absolute; width: 78%; padding: 25px; border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius); color: #fff; box-shadow: var(--shadow);
  transform: rotate(var(--angle, 0deg));
  animation: cardFloat 5.5s ease-in-out infinite;
  transition: transform .38s cubic-bezier(.16,.8,.24,1), box-shadow .38s ease, filter .38s ease;
  will-change: transform;
}
.map-card small { display: block; margin-bottom: 8px; opacity: .72; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.map-card strong { font-family: "Fraunces", Georgia, serif; font-size: 1.65rem; }
.map-card.one { --angle: 2deg; top: 30px; right: 0; background: var(--blue); }
.map-card.two { --angle: -2deg; top: 150px; left: 0; background: var(--navy); animation-delay: -.9s; }
.map-card.three { --angle: 1deg; top: 270px; right: 3%; background: var(--green); animation-delay: -1.8s; }
.map-card.four { --angle: -1deg; top: 390px; left: 6%; background: var(--ochre); animation-delay: -2.7s; }
.map-card:hover {
  z-index: 5;
  animation-play-state: paused;
  transform: translateY(-15px) scale(1.055) rotate(0deg);
  box-shadow: 0 28px 60px rgba(11, 22, 40, .25);
  filter: saturate(1.08);
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(var(--angle, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--angle, 0deg)); }
}

/* Home — immersive Andamia system */
.home-hero {
  display: grid;
  justify-items: center;
  gap: 72px;
  padding: 100px 0 0;
  overflow: visible;
  background: var(--cream);
}
.home-hero::before { display: none; }
.home-hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}
.home-hero-copy h1 {
  max-width: 1120px;
  margin-inline: auto;
  font-family: "Lexend", system-ui, sans-serif;
  font-size: clamp(3.9rem, 7.7vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -.068em;
  line-height: .93;
}
.home-hero-copy h1 span {
  color: var(--orange);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.home-hero-copy .lead {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero-prompt {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(670px, 100%);
  min-height: 68px;
  margin: 38px auto 0;
  padding: 7px 8px 7px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(11, 22, 40, .09);
  color: var(--muted);
  text-align: left;
}
.hero-prompt > span { flex: 1; }
.hero-prompt a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--orange-deep);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-prompt a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(232,84,47,.24); }
.prompt-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.prompt-options a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.5);
  color: var(--muted);
  font-size: .75rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.prompt-options a:hover { transform: translateY(-2px); background: #fff; color: var(--ink); }

.hero-art {
  --mx: 0;
  --my: 0;
  position: relative;
  width: 100%;
  min-height: clamp(650px, 63vw, 930px);
  overflow: hidden;
  background: var(--warm-paper);
  isolation: isolate;
}
.hero-art::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--cream) 0%, transparent 12%, transparent 84%, var(--warm-paper) 100%),
    radial-gradient(circle at 50% 45%, transparent 45%, rgba(251,250,247,.28) 100%);
  content: "";
}
.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035) translate(calc(var(--mx) * -14px), calc(var(--my) * -10px));
  transition: transform .7s cubic-bezier(.16,.8,.24,1);
}
.orbit {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(11,22,40,.22);
  border-radius: 999px;
  background: rgba(251,250,247,.88);
  box-shadow: 0 12px 32px rgba(11,22,40,.12);
  backdrop-filter: blur(12px);
  font-size: .74rem;
  font-weight: 700;
  animation: orbitFloat 5s ease-in-out infinite;
}
.orbit i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.orbit-one { top: 18%; left: 7%; transform: translate(calc(var(--mx) * 22px), calc(var(--my) * 18px)); }
.orbit-two { top: 47%; right: 7%; animation-delay: -1.7s; transform: translate(calc(var(--mx) * -26px), calc(var(--my) * -18px)); }
.orbit-two i { background: var(--blue); }
.orbit-three { bottom: 13%; left: 17%; animation-delay: -3s; transform: translate(calc(var(--mx) * 16px), calc(var(--my) * -22px)); }
.orbit-three i { background: var(--green); }
@keyframes orbitFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }

.campus-window {
  position: absolute;
  z-index: 4;
  right: clamp(22px, 7vw, 110px);
  bottom: clamp(38px, 6vw, 86px);
  width: min(620px, 46vw);
  border: 1px solid #c9d1dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 34px 80px rgba(21,38,80,.18);
  transform: perspective(1200px) rotateY(calc(var(--mx) * -4deg)) rotateX(calc(var(--my) * 3deg)) rotate(-1.5deg);
  transform-origin: center;
  transition: transform .6s cubic-bezier(.16,.8,.24,1);
}
.window-bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid #dce1e8;
  border-radius: 18px 18px 0 0;
  background: #edf1f6;
}
.window-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #cbd2da; }
.window-bar b { margin-left: 9px; font-size: .76rem; }
.window-body { display: grid; grid-template-columns: 66px minmax(0,1fr); min-height: 390px; }
.window-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 20px 12px;
  border-radius: 0 0 0 18px;
  background: var(--blue);
}
.window-nav strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--blue);
  font-family: "Fraunces", Georgia, serif;
}
.window-nav i { width: 26px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.52); }
.window-dashboard { padding: 26px; border-radius: 0 0 18px; background: #f4f7fa; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dashboard-heading > div { display: grid; gap: 4px; }
.dashboard-heading small { color: #7d8796; font-size: .7rem; }
.dashboard-heading strong { font-family: "Fraunces", Georgia, serif; font-size: 1.55rem; }
.dashboard-heading > span { padding: 8px 11px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .68rem; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 22px; }
.dashboard-stats article { position: relative; min-height: 105px; padding: 13px; overflow: hidden; border: 1px solid #e1e6ec; border-radius: 10px; background: #fff; }
.dashboard-stats small { display: block; color: #84909e; font-size: .62rem; }
.dashboard-stats b { display: block; margin-top: 6px; font-size: 1.35rem; }
.dashboard-stats article i { position: absolute; right: 9px; bottom: 10px; left: 9px; height: 22px; opacity: .16; background: var(--blue); clip-path: polygon(0 82%,18% 48%,40% 68%,68% 18%,100% 0,100% 100%,0 100%); }
.dashboard-stats article:nth-child(2) i { background: var(--green); clip-path: polygon(0 40%,22% 62%,44% 18%,72% 42%,100% 8%,100% 100%,0 100%); }
.dashboard-stats article:nth-child(3) i { background: var(--ochre); }
.course-list { margin-top: 20px; }
.course-list > p { margin-bottom: 8px; color: #687384; font-size: .72rem; font-weight: 700; }
.course-list > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-top: 8px; padding: 8px; border-radius: 8px; background: #fff; font-size: .66rem; }
.course-list > div > i { width: 30px; height: 26px; border-radius: 6px; background: #b9d5ee; }
.course-list > div > i.green { background: #bce4da; }
.course-list > div > i.orange { background: #f2d0ab; }
.course-list small { color: #84909e; }
.floating-status {
  position: absolute;
  right: 18px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  border: 1px solid #d8ded8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(21,38,80,.16);
}
.floating-status > i { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(0,143,119,.12); }
.floating-status span { display: grid; line-height: 1.2; }
.floating-status small { color: var(--muted); font-size: .62rem; }

.clients { background: #fff; border-top: 1px solid var(--line); }
.clients-row { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 44px; text-align: center; }
.clients-label {
  margin: 0; color: var(--muted); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.client-logo img { display: block; height: 64px; width: auto; }
.client-logo { opacity: .85; transition: opacity .15s ease; }
.client-logo:hover { opacity: 1; }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 27px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: .93rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 30px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
  transition: transform .3s cubic-bezier(.16,.8,.24,1), box-shadow .3s ease, border-color .3s ease;
}
.card {
  --shape-size: 64px;
}
.card::before {
  position: absolute;
  top: 26px;
  right: 26px;
  width: var(--shape-size);
  height: var(--shape-size);
  border: 2px solid var(--card-accent, var(--blue));
  border-radius: 50% 35% 55% 30%;
  opacity: .22;
  transform: rotate(-12deg);
  transition: transform .45s cubic-bezier(.16,.8,.24,1), opacity .3s ease;
  content: "";
}
.card:hover::before { opacity: .65; transform: rotate(18deg) scale(1.12); }
.card:hover { transform: translateY(-7px); border-color: rgba(34,102,164,.32); box-shadow: var(--shadow); }
.card::after { position: absolute; right: -20px; bottom: -20px; width: 75px; height: 75px; border-radius: 50%; background: var(--card-accent, var(--blue)); opacity: .09; content: ""; }
.card p { margin-top: 14px; color: var(--muted); font-size: .93rem; }
.card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); font-size: .88rem; }
.card a.more { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 700; text-decoration: none; }
.status {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; padding: 5px 10px;
  border-radius: 999px; background: #edf7f4; color: #00735f; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.status.building { background: #fff4e7; color: #a55b08; }
.status.roadmap { background: #edf2fb; color: var(--blue); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.legend .status { margin: 0; }

.dark { background: var(--navy); color: #fff; }
.dark .eyebrow { color: #91b9ea; }
.dark .lead, .dark .section-head p { color: #bdc8df; }
.audience-card { min-height: 310px; color: #fff; text-decoration: none; transition: transform .2s; }
.audience-card:hover { transform: translateY(-9px) rotate(-.4deg); }
.audience-card:nth-child(1) { background: var(--orange); }
.audience-card:nth-child(2) { background: var(--blue); }
.audience-card:nth-child(3) { background: var(--green); }
.audience-card:nth-child(4) { background: var(--ochre); }
.audience-card p { color: rgba(255,255,255,.82); }
.audience-card .arrow { position: absolute; right: 28px; bottom: 24px; font-size: 1.5rem; }
.audience-card::before { border-color: #fff; opacity: .35; }

.steps { counter-reset: steps; }
.step { padding-top: 28px; border-top: 1px solid var(--line); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 25px; color: var(--orange); font-weight: 800; }
.step p { margin-top: 12px; color: var(--muted); }
.step { transition: transform .3s cubic-bezier(.16,.8,.24,1); }
.step:hover { transform: translateY(-8px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.panel h3 { margin-bottom: 22px; }
.checklist { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 11px; color: var(--muted); }
.checklist li::before { color: var(--green); font-weight: 900; content: "✓"; }
.cta { padding: 70px 0; background: var(--orange); color: #fff; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 760px; }

.page-hero { padding: 92px 0 76px; }
.page-hero h1 { max-width: 980px; font-size: clamp(3rem, 6.5vw, 6rem); }
.breadcrumb { margin-bottom: 30px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { text-decoration: none; }
.feature-band { padding: 35px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.feature-band p { color: #c5cee1; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow-item { position: relative; padding: 24px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.flow-item:not(:last-child)::after { position: absolute; top: 50%; right: -12px; z-index: 2; color: var(--orange); font-weight: 900; content: "→"; }
.flow-item strong { display: block; margin-bottom: 8px; }
.flow-item span { color: var(--muted); font-size: .82rem; }
.matrix { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
.matrix th, .matrix td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix th { background: #f1efe9; font-size: .78rem; text-transform: uppercase; }
.matrix td { color: var(--muted); font-size: .9rem; }

/* Documentos legales: lectura tranquila, jerarquía clara y rutas de acción visibles. */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 38px; }
.legal-document { padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.legal-document h2 { margin-top: 52px; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin-top: 30px; margin-bottom: 10px; font-family: "Lexend", system-ui, sans-serif; font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; }
.legal-document p, .legal-document li { color: var(--muted); }
.legal-document p + p { margin-top: 16px; }
.legal-document ul, .legal-document ol { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 22px; }
.legal-document a { color: var(--blue); font-weight: 700; }
.legal-callout { margin-top: 30px; padding: 22px; border-left: 4px solid var(--green); border-radius: 0 16px 16px 0; background: #edf8f5; }
.legal-callout strong { display: block; margin-bottom: 4px; }
.legal-aside { position: sticky; top: 104px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.legal-aside h2 { font-family: "Lexend", system-ui, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.legal-aside a { display: block; padding: 9px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-aside a:hover { color: var(--blue); }
.legal-meta { margin-top: 20px; color: var(--muted); font-size: .88rem; }

footer { padding: 62px 0 30px; background: #0b1628; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 42px; }
.footer-brand { width: 180px; filter: brightness(0) invert(1); }
footer p, footer a { color: #aeb9ce; font-size: .84rem; }
footer a { display: block; margin: 2px 0; padding-block: 8px; text-decoration: none; }
footer h4 { margin: 0 0 15px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { display: inline-flex; margin: 0; padding: 6px; color: #aeb9ce; transition: color .15s; }
.footer-social a:hover, .footer-social a:focus-visible { color: #fff; }
.footer-social svg { width: 20px; height: 20px; display: block; }
.copyright { align-items: center; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 16px 32px; justify-content: space-between; margin-top: 45px; padding-top: 24px; }

.motion-ready .animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.16,.8,.24,1), transform .75s cubic-bezier(.16,.8,.24,1);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-ready .animate-in.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .hero-art {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.16,.8,.24,1);
}
.motion-ready .hero-art.is-visible { opacity: 1; transform: translateY(0); }

/* Página /planes/: tarjetas de precio sobre el mismo .card de siempre. */
/*
 * `overflow: visible` anula el `hidden` que .card trae de serie, y hace falta:
 * la etiqueta «Más elegido» se coloca en `top: -13px` para montarse sobre el
 * borde superior, y el recorte de la tarjeta se comía justo esos 12 px. El
 * resultado era una etiqueta cortada por la mitad en la única tarjeta que
 * queremos que destaque.
 *
 * Quitar el recorte aquí es seguro porque lo único que .card recorta es su
 * forma decorativa (`::before`, 64 px a 26 px del borde), que cabe de sobra
 * dentro de una tarjeta de plan —comprobado en la página real: 784 px de alto—.
 */
.plan-card { display: flex; flex-direction: column; overflow: visible; }
.plan-card[data-destacado] { border-color: var(--orange); box-shadow: 0 18px 45px rgba(232,84,47,.18); }
.plan-card .plan-tag {
  position: absolute; top: -13px; right: 26px; padding: 5px 14px; border-radius: 999px;
  background: var(--orange-deep); color: #fff; font-size: .75rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.plan-price { margin: 16px 0 2px; }
.plan-price .cifra { font-family: "Fraunces", Georgia, serif; font-size: 2.3rem; letter-spacing: -.02em; }
.plan-price .periodo { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.plan-card ul.incluye { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .87rem; color: var(--muted); }
.plan-card ul.incluye li { display: flex; gap: 9px; }
.plan-card ul.incluye li::before { flex-shrink: 0; color: var(--green); font-weight: 900; content: "✓"; }
.plan-card ul.incluye li.hereda { font-weight: 700; color: var(--ink); }
.plan-card ul.incluye li.hereda::before { color: var(--blue); content: "↳"; }
.plan-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .82rem; color: var(--muted); }
.plan-footer b { color: var(--ink); }
.plan-card .button { align-self: flex-start; margin-top: 22px; }
.matrix td:not(:first-child) { text-align: center; font-weight: 700; }

/* Bloque de comisión en /planes/: el argumento más fuerte contra las
   plataformas globales, así que se muestra como tarjeta propia y no como una
   fila más de la tabla de comparación. */
.comision-panel { background: var(--warm-paper); }
.comision-titulo { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.comision-tabla { background: var(--paper); }
.comision-tabla td:last-child { font-size: 1.05rem; }
.comision-cero { color: var(--green); font-size: 1.3rem; }

/* Página /contacto/: dos tarjetas .panel, igual que el resto del sitio —
   formulario a la izquierda, qué esperar a la derecha. Ninguna quedaba
   flotando en el vacío como antes. */
.contact-split { align-items: start; }
.contact-panel { background: var(--paper); }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.form-field input, .form-field textarea {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--cream); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34,102,164,.15);
}
.contact-form .button { justify-self: start; border: none; cursor: pointer; }
.contact-form .button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
#form-estado:not(:empty) { margin-top: 18px; font-weight: 700; }
.schedule-panel { text-align: center; }
.schedule-panel h2 { margin: 4px 0 28px; }
.meetings-iframe-container { min-height: 600px; }

/* Preferencia explícita para la medición publicitaria: discreta, legible y
   reversible desde cualquier página. */
.cookie-consent {
  position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: end; gap: 22px;
  max-width: min(620px, calc(100vw - 32px)); padding: 20px 22px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; background: var(--navy); box-shadow: 0 18px 42px rgba(11,22,40,.28); color: #fff;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent p { display: grid; gap: 5px; margin: 0; }
.cookie-consent strong { font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; }
.cookie-consent span { color: #d3dcef; font-size: .84rem; line-height: 1.45; }
.cookie-consent > div { display: flex; flex-shrink: 0; gap: 9px; }
.cookie-consent .button { min-height: 40px; padding: 9px 14px; border: 0; cursor: pointer; font-size: .82rem; }
.cookie-consent .button.light { border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; }
.cookie-preferences {
  position: fixed; z-index: 49; left: 16px; bottom: 16px; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 4px 14px rgba(11,22,40,.12);
  cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700;
}
.cookie-preferences:focus-visible, .cookie-consent .button:focus-visible { outline: 3px solid #91b9ea; outline-offset: 3px; }

/* Señuelo anti-bot: fuera de la vista sin display:none, que algunos bots
   ya saltan. */
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-next { background: var(--navy); color: #fff; }
.contact-next .eyebrow { color: #91b9ea; }
.contact-steps { display: grid; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: paso; }
.contact-steps li { display: grid; grid-template-columns: 2.2rem 1fr; align-items: start; gap: 14px; }
.contact-steps li > div { min-width: 0; }
.contact-steps li::before {
  counter-increment: paso; content: counter(paso);
  display: flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--orange-deep); color: #fff; font-family: "Fraunces", Georgia, serif; font-weight: 700;
}
.contact-steps strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; }
.contact-steps span { display: block; margin-top: 4px; color: #c5cee1; font-size: .88rem; }
.contact-direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-direct a { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: #fff; text-decoration: none; }
.contact-direct a:hover { color: var(--orange); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; display: none; top: 78px; left: 0; right: 0; padding: 22px; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .platform-map { min-height: 440px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-item:not(:last-child)::after { top: auto; right: 50%; bottom: -19px; content: "↓"; }
  .home-hero-copy h1 { font-size: clamp(3.6rem, 10.8vw, 6rem); }
  .hero-art { min-height: 720px; }
  .campus-window { right: 4vw; width: min(620px, 66vw); }
}
@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .hero { padding: 76px 0 55px; }
  h1 { font-size: 3.35rem; }
  .grid-3, .grid-4, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head, .cta-row { align-items: start; flex-direction: column; }
  .platform-map { min-height: 420px; }
  .map-card { width: 88%; }
  .matrix { display: block; overflow-x: auto; }
  .home-hero { gap: 46px; padding-top: 66px; }
  .home-hero-copy h1 { font-size: clamp(3.25rem, 14vw, 4.8rem); }
  .hero-prompt { display: grid; padding: 10px; }
  .hero-prompt > span { padding: 8px 8px 2px; }
  .hero-prompt a { width: 100%; justify-content: center; }
  .hero-art { min-height: 650px; }
  .hero-illustration { object-position: 55% center; }
  .campus-window { right: 14px; bottom: 38px; width: calc(100vw - 28px); transform: none; }
  .window-body { grid-template-columns: 46px minmax(0,1fr); min-height: 315px; }
  .window-nav { padding: 15px 7px; }
  .window-dashboard { padding: 14px; }
  .dashboard-heading > span { display: none; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .dashboard-stats article:nth-child(3) { display: none; }
  .course-list > div { grid-template-columns: 30px 1fr; }
  .course-list small { display: none; }
  .floating-status { right: 8px; }
  .orbit { padding: 8px 10px; font-size: .62rem; }
  .orbit-one { top: 11%; left: 5%; }
  .orbit-two { top: 43%; right: 4%; }
  .orbit-three { display: none; }
  .copyright { align-items: flex-start; flex-direction: column; }
  .cookie-consent { right: 14px; bottom: 14px; left: 14px; align-items: stretch; flex-direction: column; max-width: none; }
  .cookie-consent > div { justify-content: stretch; }
  .cookie-consent .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .animate-in { opacity: 1; transform: none; }
  .motion-ready .hero-art { opacity: 1; transform: none; }
  .scroll-thread { display: none; }
}
