:root {
  --ink: #1a1d21;
  --ink-soft: #5c656e;
  --paper: #ffffff;
  --paper-deep: #f4f6f8;
  --cream: #f7f8fa;
  --sheet: #ffffff;
  --coral: #ff5819;
  --coral-hot: #ff6227;
  --orange: #ff7f1e;
  --cyan: #0cc4be;
  --green: #1ed192;
  --oxblood: var(--coral);
  --oxblood-deep: #e04810;
  --brass: var(--cyan);
  --brass-soft: #d7f6f4;
  --line: rgba(26, 29, 33, 0.1);
  --line-strong: rgba(26, 29, 33, 0.18);
  --serif: "Space Grotesk", "Avenir Next", sans-serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --header: 4.25rem;
  --shadow: 0 18px 44px rgba(26, 29, 33, 0.08);
  color-scheme: light;
  accent-color: var(--coral);
}

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

html {
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name,
.positioning,
.kicker {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.15rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.02;
  max-width: 12em;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.65rem;
}

a {
  color: inherit;
}

a:hover {
  color: var(--oxblood);
}

code {
  font-family: "Iowan Old Style", Palatino, ui-monospace, monospace;
  font-size: 0.92em;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  background: var(--oxblood);
  color: #ffffff;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--oxblood-deep);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #0d8f63;
  border-color: var(--green);
}

.btn-ghost:hover {
  background: rgba(30, 209, 146, 0.1);
  color: #0a7350;
}

.btn-block {
  width: 100%;
}

.text-btn {
  border: 0;
  background: transparent;
  padding: 0.4rem 0;
  color: var(--oxblood);
  font: 600 0.95rem/1.2 var(--sans);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.text-btn:disabled {
  color: rgba(28, 22, 18, 0.35);
  cursor: not-allowed;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  height: 42px;
  width: auto;
}

.brand-name {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  font: 600 0.92rem/1 var(--sans);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -5px;
}

.nav-toggle-lines::after {
  top: 5px;
}

.site-nav {
  display: none;
  position: absolute;
  inset: var(--header) 0 auto 0;
  padding: 0.5rem 1rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-nav.is-open {
  display: grid;
  gap: 0.2rem;
  box-shadow: 0 18px 40px rgba(28, 22, 18, 0.12);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-demo,
.nav-login,
.nav-wa {
  border-bottom: 0;
}

.site-nav a.nav-login {
  justify-content: center;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid rgba(26, 29, 33, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #1a1d21;
  font-weight: 700;
  white-space: nowrap;
}

.nav-wa {
  justify-content: center;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: #1ed192;
  color: #1a1d21;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a.is-here[data-nav="crm"] {
  color: #9a3412;
  font-weight: 700;
}

.site-nav a.is-here[data-nav="academy"] {
  color: #0a6e6a;
  font-weight: 700;
}

.site-nav a.is-here[data-nav="preguntas"],
.site-nav a.is-here[data-nav="contacto"] {
  color: #1a1d21;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0 7.75rem;
  background: linear-gradient(180deg, #e7f5fb 0%, #d7f0f8 52%, #cfe8f4 100%);
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: min(440px, 72%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.hero-curve {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 3;
  width: 148%;
  height: 92px;
  background: #fff1e6;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  text-align: center;
}

.hero-copy {
  max-width: 40rem;
}

.hero .deck {
  margin-left: auto;
  margin-right: auto;
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.9rem;
  width: min(100%, 44rem);
  text-align: left;
}

/* Ruta del hero: el bus sale de la casa de la familia, para en cada paso de
   Eduk CRM y llega al colegio, donde se encienden los módulos de Eduk Academy.
   Lo mueve js/hero-ruta.js. */
.hero-ruta {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  aspect-ratio: 1000 / 300;
  margin: 1.5rem 0 -2.25rem;
}

.hr-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hr-hill {
  fill: url(#hr-ground);
}

.hr-road {
  fill: none;
  stroke: #ffffff;
  stroke-width: 16;
  stroke-linecap: round;
}

.hr-road-line {
  fill: none;
  stroke: #ffc9a8;
  stroke-width: 2;
  stroke-dasharray: 8 10;
}

.hr-house rect:first-child,
.hr-body {
  fill: #ffffff;
}

.hr-roof {
  fill: #ff7f1e;
}

.hr-door-house {
  fill: #9a3412;
}

.hr-win {
  fill: #fde3cf;
}

.hr-pediment {
  fill: #0cc4be;
}

.hr-clock {
  fill: #ffffff;
}

.hr-pole {
  stroke: #1a1d21;
  stroke-width: 2;
}

.hr-flag {
  fill: #ff5819;
  transform-box: fill-box;
  transform-origin: left center;
  animation: hr-flag 1.6s ease-in-out infinite alternate;
}

@keyframes hr-flag {
  to { transform: skewY(6deg) scaleX(0.92); }
}

.hr-window {
  fill: #dbe7ee;
  transition: fill 0.35s ease;
}

.hr-window.is-lit {
  fill: #5ee6dc;
}

.hr-door {
  fill: #0a6e6a;
}

.hr-bus {
  will-change: transform, opacity;
}

.hr-bus-body {
  fill: #ff5819;
}

.hr-bus-win {
  fill: #fff4ec;
}

.hr-wheel {
  fill: #1a1d21;
  stroke: #ffffff;
  stroke-width: 1.5;
}

.hr-stops,
.hr-modules {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

/* Las coordenadas se calculan antes de mostrar las etiquetas y el bus. */
.hero-ruta:not(.is-positioned) .hr-stops,
.hero-ruta:not(.is-positioned) .hr-modules,
.hero-ruta:not(.is-positioned) .hr-bus {
  visibility: hidden;
}

.hr-stops li,
.hr-modules li {
  position: absolute;
  width: 0;
  height: 0;
}

.hr-stops li::after {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid #ff5819;
  border-radius: 50%;
  background: #ffffff;
  transition: background 0.25s ease;
}

.hr-stops li.is-done::after,
.hr-stops li.is-active::after {
  background: #ff5819;
}

.hr-stops a,
.hr-modules a {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.8rem 0.42rem 0.58rem;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1d21;
  font: 600 0.82rem/1 var(--serif);
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(28, 43, 74, 0.12), 0 2px 6px rgba(28, 43, 74, 0.06);
}

.hr-stops a::before,
.hr-modules a::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.hr-stops a::before { background: #ff5819; }
.hr-modules a::before { background: #0cc4be; }

.hr-stops a {
  transform: translate(-50%, calc(-100% - 34px)) scale(0.92);
  opacity: 0.6;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, color 0.3s ease;
}

.hr-stops li.is-done a {
  opacity: 0.85;
}

.hr-stops li.is-active a {
  z-index: 1;
  color: #9a3412;
  opacity: 1;
  transform: translate(-50%, calc(-100% - 40px)) scale(1.06);
}

/* Paradas alternas: la etiqueta va debajo del camino para no amontonarse. */
.hr-stops li.is-below a {
  transform: translate(-50%, 18px) scale(0.92);
}

.hr-stops li.is-below.is-active a {
  transform: translate(-50%, 22px) scale(1.06);
}

.hr-modules a {
  transform: translate(0, -50%) scale(0.94);
  transform-origin: left center;
  opacity: 0.6;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, color 0.3s ease;
}

.hr-modules li.is-done a {
  opacity: 0.9;
}

.hr-modules li.is-active a {
  z-index: 1;
  color: #0a6e6a;
  opacity: 1;
  transform: translate(0, -50%) scale(1.06);
}

/* Guías de Academy: del punto del edificio a su etiqueta. */
.hr-lead path {
  fill: none;
  stroke: #0cc4be;
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.5;
  transition: stroke-dashoffset 0.6s ease;
}

.hr-lead circle {
  fill: #ffffff;
  stroke: #0cc4be;
  stroke-width: 2;
  transition: fill 0.25s ease;
}

.hr-lead.is-active path,
.hr-lead.is-done path {
  stroke-dashoffset: 0;
}

.hr-lead.is-active path {
  opacity: 1;
}

.hr-lead.is-active circle,
.hr-lead.is-done circle {
  fill: #0cc4be;
}

.hr-lead.is-active circle {
  animation: hr-pin 1.1s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes hr-pin {
  0% { stroke-width: 2; stroke-opacity: 1; }
  100% { stroke-width: 14; stroke-opacity: 0; }
}

.hr-clock-hand {
  fill: none;
  stroke: #1a1d21;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* Etiquetas de zona: qué parte de la escena es cada producto. */
.hr-zone {
  position: absolute;
  top: -1.5rem;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  transform: translateX(-50%);
  font: 500 0.8rem/1 var(--sans);
  color: #5c6672;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

.hr-zone strong {
  font: 700 0.72rem/1 var(--serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hr-zone-crm strong { color: #c2410c; }
.hr-zone-academy strong { color: #0a6e6a; }

.hero-ruta.is-academy .hr-zone-crm,
.hero-ruta:not(.is-academy) .hr-zone-academy {
  opacity: 0.5;
}

@media (max-width: 560px) {
  .hero-ruta {
    margin-bottom: -1.25rem;
  }

  .hr-stops a,
  .hr-modules a {
    padding: 0.34rem 0.62rem 0.34rem 0.48rem;
    font-size: 0.7rem;
  }

  /* En móvil solo se lee la parada o el módulo activo. */
  .hr-stops li:not(.is-active) a,
  .hr-modules li:not(.is-active) a {
    opacity: 0;
    pointer-events: none;
  }

  /* La columna de Academy no cabe a la derecha: la etiqueta activa se
     alinea al borde derecho de la escena. */
  .hr-modules li {
    left: 100% !important;
  }

  .hr-modules a,
  .hr-modules li.is-active a {
    left: auto;
    right: 0;
    transform: translate(0, -50%);
    transform-origin: right center;
  }

  .hr-zone {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    top: -2rem;
    font-size: 0.68rem;
  }
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 18px;
  color: #1a1d21;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(28, 43, 74, 0.1);
}

.hero-card h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-card p {
  margin: 0;
}

.hero-card .product-badge {
  margin-bottom: 0.15rem;
}

.hero-card span {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
}

.hero-card-crm {
  background:
    radial-gradient(240px 140px at 100% 0%, rgba(255, 127, 30, 0.32), transparent 70%),
    linear-gradient(180deg, #fffaf6 0%, #fff1e6 100%);
}

.hero-card-crm span {
  color: #9a3412;
}

.hero-card-academy {
  background:
    radial-gradient(240px 140px at 100% 0%, rgba(12, 196, 190, 0.32), transparent 70%),
    linear-gradient(180deg, #f7fffe 0%, #e7f8f6 100%);
}

.hero-card-academy span {
  color: #0a6e6a;
}

.hero .kicker {
  color: #9a3412;
}

.aula {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 6.75rem;
  background: linear-gradient(180deg, #f3ecfb 0%, #e7dcf6 58%, #e3d6f4 100%);
  color: #1c2b4a;
  text-align: center;
}

.aula-copy {
  position: relative;
  z-index: 4;
}

.aula h2 {
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  color: #1c2b4a;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}

.aula-copy > p {
  max-width: 34rem;
  margin: 0 auto;
  color: #3a4668;
  font-size: 1.05rem;
}

.aula-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.aula-chips li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 9.2rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(72, 42, 120, 0.12);
  color: #1c2b4a;
  font-weight: 600;
  font-size: 0.98rem;
}

.aula-chips svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.aula-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.aula-art {
  position: absolute;
  bottom: 3.2rem;
  width: min(340px, 32vw);
  height: auto;
}

.aula-art-left { left: 0; }
.aula-art-right { right: 0; }

.aula-curve {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 2;
  width: 148%;
  height: 72px;
  background: #fff;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.producto {
  padding: 1.5rem 0 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.carousel {
  min-width: 0;
  max-width: 100%;
}

.carousel-frame {
  position: relative;
  min-width: 0;
}

.carousel-viewport {
  position: relative;
  height: clamp(240px, 48vh, 480px);
  overflow: hidden;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  visibility: hidden;
  z-index: 0;
}

.carousel-slide.is-current,
.carousel-slide.is-incoming {
  visibility: visible;
}

.carousel-slide.is-current {
  z-index: 1;
}

.carousel-slide.is-incoming {
  z-index: 2;
}

.carousel-slide img {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: #f4f6f8;
}

.carousel-slide figcaption {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.7rem 0.95rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.carousel-arrow {
  position: absolute;
  top: calc(46% - 1.3rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 1.7rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(26, 29, 33, 0.1);
}

.carousel-arrow:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.carousel-prev {
  left: 0.7rem;
}

.carousel-next {
  right: 0.7rem;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.95rem;
}

.carousel-dots button {
  margin: 0;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f7f8;
  color: var(--ink-soft);
  font: 600 0.84rem/1.2 var(--sans);
  cursor: pointer;
}

.carousel-dots button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  border-color: var(--coral);
}

.deck {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-systems {
  display: grid;
  gap: 0.45rem;
  margin: 0.15rem 0 1.35rem;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.hero-systems li {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.hero-systems strong {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-systems .is-crm strong { color: #9a3412; }
.hero-systems .is-academy strong { color: #0a6e6a; }

.positioning {
  max-width: 40rem;
  margin: 1.4rem 0 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--oxblood);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 520;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cta-note {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.folio {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.folio-back,
.folio-sheet {
  background: var(--sheet);
  border: 1px solid var(--line-strong);
}

.folio-back {
  position: absolute;
  inset: 0.8rem -0.35rem auto 1.1rem;
  height: 92%;
  transform: rotate(2.4deg);
  background: #eef8f6;
}

.folio-sheet {
  position: relative;
  padding: 1.15rem 1.15rem 1rem 2.15rem;
  background-image: linear-gradient(
    to right,
    transparent 1.35rem,
    rgba(255, 88, 25, 0.55) 1.35rem,
    rgba(255, 88, 25, 0.55) 1.48rem,
    transparent 1.48rem
  );
  box-shadow: var(--shadow);
}

.folio-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.folio-family {
  margin-bottom: 1rem;
  font-size: 1.55rem;
  font-style: italic;
}

.folio-family span {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.folio-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.folio-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.62rem 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.folio-steps b {
  font-family: var(--serif);
  font-weight: 560;
  color: var(--oxblood);
}

.folio-steps em {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.folio-steps .is-current {
  background: linear-gradient(90deg, rgba(12, 196, 190, 0.16), transparent 80%);
}

.folio-steps .is-current em {
  color: var(--oxblood);
}

.folio-foot {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.embudo {
  padding: 3.5rem 0;
  background: var(--paper-deep);
}

.ledger {
  display: grid;
  min-width: 0;
  max-width: 100%;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.ledger-rail {
  min-width: 0;
  padding: 1rem 1rem 0.4rem;
  background:
    linear-gradient(var(--paper-deep), var(--paper-deep)) 1.35rem 0 / 1px 100% no-repeat,
    #f4f6f8;
  border-bottom: 1px solid var(--line);
}

.rail-label {
  margin: 0 0 0.7rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.thread {
  display: flex;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  scroll-snap-type: x mandatory;
}

.thread-tab {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 8.5rem;
  min-height: 3.4rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.thread-tab[aria-selected="true"] {
  background: var(--sheet);
  border-color: var(--oxblood);
  box-shadow: inset 0 -3px 0 var(--oxblood);
}

.tab-index {
  font-family: var(--serif);
  font-size: 0.78rem;
  color: var(--oxblood);
}

.tab-name {
  font-weight: 600;
}

.ledger-page {
  min-width: 0;
  padding: 1.25rem 1.1rem 1rem;
}

.ledger-step {
  display: grid;
  gap: 1.25rem;
}

.step-no {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.step-copy p {
  color: var(--ink-soft);
}

.step-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1rem;
  border-top: 1px solid var(--line);
}

.step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.4rem;
  height: 1px;
  background: var(--oxblood);
}

.scene {
  padding: 1rem;
  background:
    linear-gradient(to right, transparent 0.85rem, rgba(12, 196, 190, 0.45) 0.85rem, rgba(12, 196, 190, 0.45) 0.95rem, transparent 0.95rem),
    #f4f6f8;
  border: 1px solid var(--line);
  min-height: 14rem;
}

.scene-kicker,
.scene-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scene-meta {
  margin-top: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  line-height: 1.4;
}

.slips {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.slip,
.tray {
  display: block;
  padding: 0.7rem 0.8rem;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
}

.slip:nth-child(1) { transform: rotate(-1.5deg); margin-right: 2rem; }
.slip:nth-child(2) { transform: rotate(1deg); margin-left: 1.2rem; }
.slip:nth-child(3) { transform: rotate(-0.6deg); margin-right: 0.8rem; }

.tray {
  margin-top: 0.8rem;
  background: var(--oxblood);
  color: #ffffff;
  border-color: var(--oxblood);
  font-weight: 600;
}

.dece-table {
  display: grid;
  grid-template-columns: 1fr 1.5rem 1fr;
  align-items: end;
  gap: 0.35rem;
  margin-top: 1.4rem;
  min-height: 7rem;
  border-bottom: 2px solid var(--ink);
}

.nameplate {
  padding: 0.7rem 0.5rem;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

.nameplate-dece {
  background: #eef8f6;
}

.exam-sheet {
  margin-top: 1rem;
  padding: 0.8rem 0.8rem 0.4rem 1.2rem;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
}

.exam-sheet span {
  display: block;
  height: 0.72rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(28, 22, 18, 0.25);
}

.exam-sheet span:nth-child(3) {
  width: 70%;
}

.seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 1rem;
}

.seats i {
  display: block;
  aspect-ratio: 1.15;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
}

.seats .is-offered {
  background: var(--oxblood);
  border-color: var(--oxblood);
}

.seats .is-wait {
  background: var(--brass-soft);
  border-color: var(--brass);
}

.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.2rem 0 0.45rem;
  vertical-align: -1px;
  background: var(--oxblood);
}

.dot-wait {
  background: var(--brass);
}

.handoff {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.handoff-book {
  padding: 0.9rem 0.85rem;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
}

.handoff-book strong,
.handoff-book span {
  display: block;
}

.handoff-book strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
}

.handoff-book span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.handoff-next {
  background: #eef8f6;
}

.handoff-arrow {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--oxblood);
}

.ledger-move {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.ledger-caption {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.diferencia,
.faq {
  padding: 3.5rem 0;
}

.diferencia {
  background: #15191d;
  color: #f4f7f8;
}

.diferencia .section-head p:last-child {
  color: #d5dbe2;
}

.diferencia .pipeline-mini li {
  color: var(--ink);
  background: #fff;
  border-color: transparent;
}

.pipeline-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pipe;
}

.pipeline-mini li {
  counter-increment: pipe;
  padding: 0.45rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.pipeline-mini li::before {
  content: counter(pipe, decimal-leading-zero) " ";
  color: var(--oxblood);
  font-family: var(--serif);
}

.alcance {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 247, 248, 0.28);
}

.alcance li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(244, 247, 248, 0.16);
  font-weight: 600;
}

.campus {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 760px;
  padding: 4.75rem 0 0;
  background: linear-gradient(180deg, #e7f5fb 0%, #d5eef8 42%, #cfe8f4 100%);
  color: #1c2b4a;
  text-align: center;
}

.campus-copy {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
}

.campus .kicker {
  color: #9a3412;
}

.campus h2 {
  max-width: 14em;
  margin-left: auto;
  margin-right: auto;
  color: #1c2b4a;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}

.campus-copy > p {
  max-width: 36rem;
  margin: 0 auto;
  color: #243044;
  font-size: 1.05rem;
}

.campus-cta {
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
}

.campus-scene {
  position: relative;
  z-index: 1;
  flex: 1 0 400px;
  min-height: 400px;
  margin-top: 2.5rem;
  pointer-events: none;
}

.campus-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.25rem;
  width: 100%;
  height: calc(100% - 2.25rem);
}

.campus-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.campus-curve {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 3;
  width: 150%;
  height: 110px;
  background: #f7f8fa;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.faq-grid,
.agenda-grid {
  display: grid;
  gap: 1.75rem;
}

.faq .section-head p,
.agenda-copy > p {
  color: var(--ink-soft);
}

.faq-art {
  display: block;
  width: min(100%, 26rem);
  height: auto;
  margin: 0.25rem 0 0;
}

.faq {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-top: 1px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  padding: 1rem 1.6rem 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.85rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--oxblood);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  color: var(--ink-soft);
}

.agenda {
  padding: 3.5rem 0 4.25rem;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.agenda-contact {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.agenda-contact li {
  display: grid;
  gap: 0.15rem;
}

.agenda-contact-label {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.agenda-contact a {
  color: var(--ink);
  font-weight: 650;
  font-size: 1.08rem;
  text-decoration: none;
}

.agenda-contact a:hover {
  color: var(--oxblood);
}

.form-card {
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.form-head h3 {
  font-size: 1.8rem;
}

.form-head p,
.form-success p {
  color: var(--ink-soft);
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.field label span {
  font-weight: 500;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--oxblood);
  outline-offset: 1px;
  border-color: var(--oxblood);
}

.field-error {
  margin: 0.25rem 0 0;
  color: var(--oxblood);
  font-size: 0.88rem;
}

.field-error:empty {
  display: none;
}

.field-check label {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.6rem;
  align-items: start;
  font-weight: 500;
}

.field-check input {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin-top: 0.2rem;
}

.field-trap {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.interest {
  border: 0;
  padding: 0;
  min-width: 0;
}

.interest legend {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.interest-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(26, 29, 33, 0.05);
  font-weight: 600;
  cursor: pointer;
}

.interest-options input {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin: 0;
  accent-color: var(--coral);
}

.interest-options label:has(input[value="Eduk CRM"]:checked) {
  background: rgba(255, 88, 25, 0.14);
  color: #9a3412;
}

.interest-options label:has(input[value="Eduk Academy"]:checked) {
  background: rgba(12, 196, 190, 0.18);
  color: #0a6e6a;
}

.interest-options label:has(input[value="Ambos"]:checked) {
  background: rgba(30, 209, 146, 0.18);
  color: #0a6e6a;
}

.field-row {
  display: grid;
  gap: 0.85rem;
}

.form-success {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.form-success[hidden],
.ledger-step[hidden],
form[hidden] {
  display: none;
}

.form-success h3 {
  font-size: 2rem;
}

.form-status {
  margin: 0 0 0.6rem;
  min-height: 1.2em;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--oxblood);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  background: #15191d;
  color: #f4f7f8;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-brand-block {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 2.35rem;
  background: #fff;
  border-radius: 6px;
  padding: 0.28rem 0.45rem;
}

.site-footer p {
  margin: 0;
  color: #c5ced6;
}

.footer-position {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #f4f7f8 !important;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f4f7f8;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brass-soft);
}

.footer-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

@media (min-width: 720px) {
  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .field-row,
  .handoff {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .handoff-arrow {
    text-align: center;
  }

}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .brand,
  .site-nav {
    flex-shrink: 0;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-wrap: nowrap;
    position: static;
    align-items: center;
    gap: 1.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
  }

  .site-nav a {
    min-height: 0;
    border: 0;
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .site-nav a.nav-login,
  .nav-wa {
    margin: 0 0 0 0.15rem;
    padding: 0.42rem 0.85rem;
  }

  .site-nav a.nav-login {
    border: 1.5px solid rgba(26, 29, 33, 0.35);
  }
}

@media (min-width: 960px) {
  .wrap {
    width: min(1120px, calc(100% - 3rem));
  }

  .hero {
    padding: 2.5rem 0 8.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.6rem;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .embudo,
  .diferencia,
  .faq,
  .agenda {
    padding: 5.5rem 0;
  }

  .producto {
    padding: 1.35rem 0 5.5rem;
  }

  .ledger {
    grid-template-columns: 16.5rem minmax(0, 1fr);
  }

  .ledger-rail {
    padding: 1.25rem 0 1.25rem 0.8rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .thread {
    flex-direction: column;
    overflow: visible;
    padding: 0;
    gap: 0;
  }

  .thread-tab {
    min-width: 0;
    width: calc(100% - 0.8rem);
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    box-shadow: none;
  }

  .thread-tab[aria-selected="true"] {
    width: 100%;
    margin-right: -1px;
    background: var(--sheet);
    border-left-color: var(--oxblood);
    box-shadow: none;
  }

  .ledger-page {
    padding: 1.6rem 1.5rem 1.2rem;
  }

  .ledger-step {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .scene {
    margin: 0;
  }

  .faq-grid,
  .agenda-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    align-items: end;
  }
}

@media (max-width: 719px) {
  .aula {
    padding-bottom: 6.5rem;
  }

  .aula-art {
    width: 150px;
    bottom: 2.4rem;
    opacity: 0.9;
  }

  .aula-curve,
  .campus-curve,
  .hero-curve {
    height: 72px;
  }

  .campus {
    min-height: 0;
    padding-top: 3.25rem;
  }

  .campus-scene {
    flex-basis: 250px;
    min-height: 250px;
    margin-top: 1.5rem;
  }

  .campus-sky {
    bottom: 1.75rem;
    height: calc(100% - 1.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .folio-steps .is-current em {
    animation: pulse-label 2.4s ease-in-out infinite;
  }

  .aula-float {
    animation: aula-float 7s ease-in-out infinite;
  }

  .aula-float-slow {
    animation: aula-float 8.5s ease-in-out infinite;
    transform-origin: center;
  }

  .aula-glow {
    animation: aula-glow 4.8s ease-in-out infinite;
  }

  .campus-cloud-a {
    animation: campus-drift 28s linear infinite;
  }

  .campus-cloud-b {
    animation: campus-drift 36s linear infinite reverse;
  }

  .campus-flag {
    transform-box: fill-box;
    transform-origin: 0% 50%;
    animation: campus-flag 2.8s ease-in-out infinite;
  }

  .campus-glow {
    animation: aula-glow 3.6s ease-in-out infinite;
  }

  .hero-cloud-a {
    animation: campus-drift 26s linear infinite;
  }

  .hero-cloud-b {
    animation: campus-drift 34s linear infinite reverse;
  }

  .hero-cloud-c {
    animation: campus-drift 30s linear infinite;
  }
}

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

@keyframes aula-glow {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

@keyframes campus-drift {
  0% { transform: translateX(0); }
  50% { transform: translateX(28px); }
  100% { transform: translateX(0); }
}

@keyframes campus-flag {
  0%,
  100% { transform: rotate(0deg); }
  50% { transform: rotate(7deg); }
}

@keyframes pulse-label {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Overlay de contacto (navbar → Contacto). */
body.modal-open {
  overflow: hidden;
}

.contact-modal {
  width: min(640px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.contact-modal::backdrop {
  background: rgba(26, 29, 33, 0.48);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Título y botón de envío fijos; solo las preguntas (.form-fields) hacen scroll. */
.contact-modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border-radius: 20px;
  background: var(--sheet);
  box-shadow: 0 30px 80px rgba(26, 29, 33, 0.28);
}

.contact-modal [data-modal-slot] {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.contact-modal .form-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.contact-modal #contacto-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.contact-modal #contacto-form[hidden] {
  display: none;
}

.contact-modal .form-head {
  flex: none;
  padding: 1.5rem 4rem 1rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.contact-modal .form-head p {
  margin-bottom: 0;
}

.contact-modal .form-fields {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.1rem 1.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.contact-modal .form-status {
  flex: none;
  margin: 0.75rem 1.6rem 0;
}

.contact-modal #contacto-form > button[type="submit"] {
  flex: none;
  width: auto;
  margin: 0.9rem 1.6rem 0;
}

.contact-modal .form-success {
  overflow-y: auto;
  padding: 1.6rem;
}

@media (min-width: 561px) {
  .contact-modal .field-row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.contact-modal-close:hover {
  background: #f4f5f6;
}

.contact-modal-close svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.contact-modal-alt {
  flex: none;
  margin: 0;
  padding: 0.75rem 1.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-modal-alt a {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 560px) {
  .contact-modal .form-head {
    padding: 1.2rem 3.6rem 0.85rem 1.1rem;
  }

  .contact-modal .form-head h3 {
    font-size: 1.45rem;
  }

  .contact-modal .form-fields {
    padding: 1rem 1.1rem 0.3rem;
  }

  .contact-modal .form-status {
    margin: 0.65rem 1.1rem 0;
  }

  .contact-modal #contacto-form > button[type="submit"] {
    margin: 0.75rem 1.1rem 0;
  }

  .contact-modal-alt {
    padding: 0.6rem 1.1rem 1rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact-modal[open] {
    animation: contact-modal-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .contact-modal[open]::backdrop {
    animation: contact-backdrop-in 0.28s ease;
  }
}

@keyframes contact-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

@keyframes contact-backdrop-in {
  from { opacity: 0; }
}

@media print {
  .site-header,
  .cta-row,
  .ledger-move,
  .nav-toggle,
  .form-card,
  .product-spy {
    display: none !important;
  }

  .ledger-step[hidden] {
    display: block !important;
  }

  body {
    background: white;
  }
}

/* Section chrome for Software para colegios.
   The device mockups stay in humano-mockup.css, eduk-crm.css, and eduk-academy.css.
   The browser's gray button face was showing through .hm-step, which only
   paints a background on the active chip. This reset stays under .hm-step.is-on. */
button.hm-step {
  appearance: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}
.band {
  position: relative;
  overflow: hidden;
}

.band-edu {
  --teal: #1DB2A6;
  --orange: #ff5819;
  --academy: #0cc4be;
  --ink-orange: #9a3412;
  --ink-academy: #0a6e6a;
  --fg: #1a1d21;
  --heading: #1a1d21;
  --line-idx: rgba(26, 29, 33, 0.12);
  --folio: rgba(26, 29, 33, 0.06);
  --tab-off: rgba(26, 29, 33, 0.42);
  --blurb: rgba(26, 29, 33, 0.82);
  --tag: rgba(26, 29, 33, 0.72);
  --note: rgba(26, 29, 33, 0.48);
  --glow-crm: rgba(255, 88, 25, 0.2);
  --glow-ac: rgba(12, 196, 190, 0.22);
  --edu-bg:
    radial-gradient(560px 420px at 88% 22%, rgba(255, 88, 25, 0.2), transparent 64%),
    radial-gradient(520px 380px at 6% 92%, rgba(12, 196, 190, 0.16), transparent 66%),
    linear-gradient(180deg, #ffffff 0, #ffffff 4.5rem, #e7f5fb 22%, #d7f0f8 100%);
  --edu-bg-ac:
    radial-gradient(560px 420px at 12% 24%, rgba(12, 196, 190, 0.22), transparent 64%),
    radial-gradient(420px 340px at 96% 86%, rgba(30, 209, 146, 0.18), transparent 66%),
    linear-gradient(180deg, #ffffff 0, #ffffff 4.5rem, #e8f8f6 28%, #f4fbf8 100%);
  --edu-ring-crm: rgba(255, 88, 25, 0.4);
  --edu-soft-crm: rgba(255, 88, 25, 0.08);
  --edu-sh-crm: rgba(26, 29, 33, 0.16);
  --edu-ring-ac: rgba(12, 196, 190, 0.45);
  --edu-soft-ac: rgba(12, 196, 190, 0.1);
  --edu-sh-ac: rgba(26, 29, 33, 0.16);
  --wrap: 1240px;
  --accent: var(--orange);
  --accent-ink: var(--ink-orange);
  background: var(--edu-bg);
  color: var(--fg);
}

.band-edu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.2  0 0 0 0 0.28  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.band-edu[data-edu="academy"] {
  --accent: var(--academy);
  --accent-ink: var(--ink-academy);
  background: var(--edu-bg-ac);
}

.band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap, 1240px);
  margin: 0 auto;
  padding: 4.2rem 1.4rem 4rem;
}

.folio {
  position: absolute;
  right: 2vw;
  top: 0.4rem;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 0.8;
  color: var(--folio);
  pointer-events: none;
}

.band-edu .folio { display: none; }

.band h2,
.edu-title h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--heading);
}

.hm-screen h2 { color: inherit; }

.hm-embed { margin-top: 0.35rem; }

.demo-note {
  margin-top: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--note);
}

.band-edu .hm-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 7%;
  right: 7%;
  top: 8%;
  bottom: 12%;
  border-radius: 28px;
  pointer-events: none;
}

.band-edu[data-edu="crm"] .hm-stage::before {
  border: 1px solid var(--edu-ring-crm);
  box-shadow: 0 0 0 50px var(--edu-soft-crm);
}

.band-edu[data-edu="academy"] .hm-stage::before {
  border: 1px solid var(--edu-ring-ac);
  box-shadow: 0 0 0 50px var(--edu-soft-ac);
}

.band-edu[data-edu="crm"] .hm-device { filter: drop-shadow(0 28px 16px var(--edu-sh-crm)); }
.band-edu[data-edu="academy"] .hm-device { filter: drop-shadow(0 28px 16px var(--edu-sh-ac)); }
.band-edu .hm-device { position: relative; z-index: 1; }

.band-edu[data-edu="crm"] .hm-glow { background: radial-gradient(circle, var(--glow-crm), transparent 70%); }
.band-edu[data-edu="academy"] .hm-glow { background: radial-gradient(circle, var(--glow-ac), transparent 70%); }

.tag {
  display: inline-block;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tag);
}

.edu-head { margin-bottom: 0.2rem; }
.edu-head .tag { color: var(--accent-ink); }

.edu-title {
  display: flex;
  align-items: flex-end;
  gap: 1.35rem;
  margin-top: 0.85rem;
}

.edu-title img {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
  margin-bottom: 0.45rem;
}

.edu-title h2 {
  max-width: 16em;
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.12;
}

.ed-blurb {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  margin: 0.85rem 0 0.2rem;
  letter-spacing: -0.03em;
  color: var(--blurb);
}

.band-edu .hm-screen,
.band-edu .hm-callout {
  font-family: Inter, "Segoe UI", sans-serif;
}

.band-edu .hm-screen h1,
.band-edu .hm-screen h2,
.band-edu .hm-screen h3,
.band-edu .hm-callout h3 {
  font-family: Inter, "Segoe UI", sans-serif;
}

@media (max-width: 860px) {
  .band-inner { padding: 3.2rem 1rem 2.6rem; }
  .edu-title { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .edu-title img { width: 112px; margin-bottom: 0; }
}

/* Product blocks. The badge is the mark: orange for Eduk CRM, teal for
   Eduk Academy. No border and no new rule between sections. */
.product-block {
  position: relative;
}

.product-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.34rem 0.78rem 0.34rem 0.58rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.product-badge::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.aula-copy > .product-badge,
.campus-copy > .product-badge,
.agenda-copy > .product-badge,
.edu-head .product-badge,
.section-head .product-badge,
.faq .section-head .product-badge {
  max-width: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.product-badge.product-badge-crm,
.aula-copy > .product-badge.product-badge-crm,
.campus-copy > .product-badge.product-badge-crm,
.agenda-copy > .product-badge.product-badge-crm,
.edu-head .product-badge.product-badge-crm,
.section-head .product-badge.product-badge-crm,
.faq .section-head .product-badge.product-badge-crm {
  color: #9a3412;
  background: rgba(255, 88, 25, 0.14);
}

.product-badge.product-badge-crm::before {
  background: #ff5819;
}

.product-badge.product-badge-academy {
  color: #0a6e6a;
  background: rgba(12, 196, 190, 0.18);
}

.product-badge.product-badge-academy::before {
  background: #0cc4be;
}

.aula .product-badge,
.campus .product-badge {
  margin-left: auto;
  margin-right: auto;
}

.diferencia .product-badge.product-badge-crm {
  color: #ffe8dc;
  background: rgba(255, 88, 25, 0.34);
}

.product-block-crm::before,
.product-block-academy::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  pointer-events: none;
}

.product-block-crm::before {
  background: linear-gradient(180deg, #ff5819, #ff7f1e);
}

.product-block-academy::before {
  background: linear-gradient(180deg, #0cc4be, #1ed192);
}

.product-spy {
  position: fixed;
  top: calc(var(--header) + 0.55rem);
  left: 1rem;
  z-index: 8;
  margin: 0;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.product-spy[hidden] {
  display: none;
}

.product-spy.is-crm {
  color: #9a3412;
  background: rgba(255, 244, 236, 0.96);
  box-shadow: 0 8px 22px rgba(154, 52, 18, 0.14);
}

.product-spy.is-academy {
  color: #0a6e6a;
  background: rgba(231, 248, 246, 0.96);
  box-shadow: 0 8px 22px rgba(10, 110, 106, 0.14);
}

#eduk-crm,
#eduk-academy {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.product-block-crm {
  background-color: #fff1e6;
  background-image:
    radial-gradient(820px 520px at 96% 12%, rgba(255, 127, 30, 0.16), transparent 64%),
    radial-gradient(720px 480px at 4% 78%, rgba(255, 88, 25, 0.1), transparent 66%);
}

.product-block-academy {
  background:
    radial-gradient(760px 520px at 0% 8%, rgba(12, 196, 190, 0.26), transparent 62%),
    radial-gradient(620px 440px at 100% 46%, rgba(30, 209, 146, 0.18), transparent 66%),
    radial-gradient(520px 360px at 18% 100%, rgba(12, 196, 190, 0.14), transparent 70%),
    linear-gradient(180deg, #e7f8f6 0%, #f3fbf9 46%, #e4f6f3 100%);
}

/* Wavy seam between CRM and Academy: Academy rises over the end of the CRM
   block and its top edge is masked into a soft wave. */
.product-block-crm {
  z-index: 0;
}

.product-block-academy {
  --seam: clamp(48px, 6vw, 88px);
  z-index: 1;
  margin-top: calc(var(--seam) * -1);
  padding-top: var(--seam);
  -webkit-mask:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 88' preserveAspectRatio='none'><path d='M0 88V40C180 8 360 0 560 22s400 60 620 46c110-7 190-30 260-52v72z'/></svg>") top / 100% var(--seam) no-repeat,
    linear-gradient(#000, #000) 0 calc(var(--seam) - 1px) / 100% calc(100% - var(--seam) + 1px) no-repeat;
  mask:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 88' preserveAspectRatio='none'><path d='M0 88V40C180 8 360 0 560 22s400 60 620 46c110-7 190-30 260-52v72z'/></svg>") top / 100% var(--seam) no-repeat,
    linear-gradient(#000, #000) 0 calc(var(--seam) - 1px) / 100% calc(100% - var(--seam) + 1px) no-repeat;
}

.product-block-crm .aula,
.product-block-crm .producto,
.product-block-crm .embudo,
.product-block-crm .band-edu,
.product-block-crm .band-edu[data-edu="crm"],
.product-block-crm .diferencia {
  background-color: transparent;
  background-image: none;
  color: #1a1d21;
}

.product-block-crm .aula {
  padding-top: 1.35rem;
  /* Sin ilustraciones ni curva debajo, no necesita el colchón inferior. */
  padding-bottom: 1.5rem;
}

.product-block-crm .band-edu[data-edu="crm"] .band-inner {
  padding-top: 2rem;
}

.product-block-crm .band-edu::before {
  content: none;
}

.product-block-crm .producto {
  border-bottom: 0;
}

.product-block-crm .aula-curve {
  display: none;
}

.product-block-crm .aula,
.product-block-crm .aula h2,
.product-block-crm .aula-chips li {
  color: #1a1d21;
}

.product-block-crm .aula-copy > p,
.product-block-crm .diferencia .section-head p:last-child {
  color: #5c4636;
}

.product-block-crm .diferencia .product-badge.product-badge-crm {
  color: #9a3412;
  background: rgba(255, 88, 25, 0.14);
}

.product-block-crm .alcance,
.product-block-crm .alcance li {
  border: 0;
}

.product-block-academy .band-edu,
.product-block-academy .band-edu[data-edu="academy"],
.product-block-academy .academy-anio,
.product-block-academy .academy-roles {
  background: transparent;
}


@media (min-width: 960px) {
  .academy-anio .thread-tab[aria-selected="true"],
  .academy-roles .thread-tab[aria-selected="true"] {
    border: 0;
    border-left: 3px solid #0cc4be;
    box-shadow: none;
  }
}

.academy-anio,
.academy-roles {
  padding: 3.5rem 0;
}

.academy-anio {
  background:
    radial-gradient(480px 280px at 0% 100%, rgba(30, 209, 146, 0.14), transparent 70%),
    #f4fbf8;
}

.academy-roles {
  background:
    radial-gradient(520px 300px at 100% 80%, rgba(12, 196, 190, 0.16), transparent 68%),
    #ffffff;
}

.academy-anio .kicker,
.academy-roles .kicker {
  color: #0a6e6a;
}

.academy-anio .thread-tab[aria-selected="true"],
.academy-roles .thread-tab[aria-selected="true"] {
  border-color: #0cc4be;
  box-shadow: inset 0 -3px 0 #0cc4be;
}

.academy-anio .tab-index,
.academy-roles .tab-index,
.academy-anio .step-no,
.academy-roles .step-no {
  color: #0a6e6a;
}

.academy-anio .step-list li::before,
.academy-roles .step-list li::before {
  background: #0cc4be;
}

.assign-list,
.role-pills,
.case-thread {
  list-style: none;
  margin: 0;
  padding: 0;
}

.assign-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.38rem 0;
  font-size: 0.95rem;
}

.assign-list b {
  font-weight: 600;
  color: #0a6e6a;
}

.year-card,
.assign-list,
.role-pills,
.case-thread,
.letter-row {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.year-card span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a6e6a;
}

.year-card strong {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.role-pills li {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 196, 190, 0.16);
  color: #0a6e6a;
  font-weight: 600;
}

.case-thread {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-thread li {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.letter-row {
  display: flex;
  gap: 0.45rem;
}

.letter-row b {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: rgba(12, 196, 190, 0.18);
  color: #0a6e6a;
  font-family: var(--serif);
}

.year-card {
  width: min(100%, 34rem);
  margin: 0;
}

.login-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(255, 127, 30, 0.16), transparent 62%),
    radial-gradient(640px 380px at 92% 18%, rgba(12, 196, 190, 0.18), transparent 64%),
    linear-gradient(180deg, #e7f5fb 0%, #f7fbf8 48%, #fff1e6 100%);
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.2  0 0 0 0 0.28  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.login-page .site-header,
.login-main {
  position: relative;
  z-index: 1;
}

.login-page .site-header {
  background: rgba(255, 255, 255, 0.72);
}

.login-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header));
  padding: 1.5rem 1rem 2.5rem;
}

.login-card {
  width: min(100%, 26rem);
  padding: 1.6rem 1.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(26, 29, 33, 0.08);
  backdrop-filter: blur(16px);
}

.login-card h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.login-lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.login-pass {
  position: relative;
}

.login-pass input {
  padding-right: 5.4rem;
}

.login-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9a3412;
  font: 600 0.82rem/1 var(--sans);
  cursor: pointer;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.15rem 0 1rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.login-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #ff5819;
}

.login-forgot {
  border: 0;
  background: transparent;
  padding: 0;
  color: #0a6e6a;
  font: 600 0.88rem/1.3 var(--sans);
  text-align: right;
  cursor: pointer;
}

.login-status {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(12, 196, 190, 0.16);
  color: #0a6e6a;
  font-weight: 600;
}

.login-back {
  display: inline-block;
  margin-top: 1rem;
  color: #1a1d21;
  font-weight: 600;
}

.login-card .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
