@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --navy-soft: #163154;
  --ink: #122033;
  --muted: #5c6b78;
  --paper: #f4f2ec;
  --white: #fffcf8;
  --line: #e2ddd3;
  --orange: #ff6b2c;
  --orange-deep: #e45718;
  --shadow: 0 0 0 1px var(--line);
  --header: 4.5rem;
  --wrap: 1120px;
  --font: Outfit, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--orange);
  color: var(--navy);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 650;
}

.skip:focus { top: 0.7rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0.85rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1080px, calc(100% - 1.5rem));
  height: 4.15rem;
  margin: 0.85rem auto 0;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.brand img { width: 58px; height: auto; }

.menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-btn {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.15rem;
}

.site-nav a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--navy);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: white;
  transform: translateY(-1px);
}

.site-nav a:not(.nav-cta):hover::before,
.site-nav a:not(.nav-cta):focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.site-nav a[aria-current="page"] {
  background: var(--navy);
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.4rem;
  background: var(--orange);
  color: white;
  font-weight: 650;
  white-space: nowrap;
}

.nav-cta svg { width: 16px; height: 16px; flex: none; }

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: white;
  transform: translateY(-2px);
  background: #ff8148;
}

.nav-cta:hover::after,
.nav-cta:focus-visible::after { transform: translateX(130%); }

.site-nav a.nav-cta[aria-current="page"] {
  background: var(--navy);
  color: white;
}

.nav-user {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  margin-left: 0.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

.nav-user svg { width: 18px; height: 18px; }

.nav-user:hover,
.nav-user:focus-visible {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.ingreso {
  width: min(25rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition:
    opacity 0.32s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    overlay 0.5s ease allow-discrete,
    display 0.5s ease allow-discrete;
}

.ingreso[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .ingreso[open] {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
}

.ingreso::backdrop {
  background: rgba(11, 31, 58, 0);
  backdrop-filter: blur(0);
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    overlay 0.4s ease allow-discrete,
    display 0.4s ease allow-discrete;
}

.ingreso[open]::backdrop {
  background: rgba(11, 31, 58, 0.58);
  backdrop-filter: blur(8px);
}

@starting-style {
  .ingreso[open]::backdrop {
    background: rgba(11, 31, 58, 0);
    backdrop-filter: blur(0);
  }
}

.ingreso form {
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(11, 31, 58, 0.28);
}

.ingreso-cabeza {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.25rem 1.1rem 1.15rem;
  background: var(--navy);
  color: white;
}

.ingreso-marca { width: 74px; height: auto; }

.ingreso-cabeza .eyebrow { margin: 0; }

.ingreso-cabeza h2 {
  margin: 0.12rem 0 0;
  color: white;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.ingreso-cuerpo {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-top: 4px solid var(--orange);
  background: #fffcf8;
}

.ingreso .btn { width: 100%; }

.ingreso-cerrar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ingreso-cerrar:hover,
.ingreso-cerrar:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.ingreso-cerrar svg { width: 16px; height: 16px; }

.ingreso-nota {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ingreso-error {
  margin: 0;
  color: #9a3412;
  line-height: 1.5;
}

.ingreso-codigo {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: 0.42em;
  text-align: center;
  -webkit-text-security: disc;
}

.ingreso-cuerpo [data-paso]:not([hidden]) {
  display: grid;
  gap: 0.85rem;
}

.ingreso-cuerpo [data-paso][hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ingreso,
  .ingreso::backdrop {
    transition: none;
    transform: none;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  min-height: 100svh;
  margin-top: -5.85rem;
  padding-top: 5.85rem;
  display: grid;
  align-items: center;
}

.hero-wash,
.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-wash {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.6px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 92px 92px, 92px 92px, 92px 92px;
  background-position: 0 0;
  animation: panGrid 28s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  animation: orbMove 18s ease-in-out infinite alternate;
}

.orb-a {
  width: 46vw;
  height: 46vw;
  left: -12%;
  top: -18%;
  background: #24558f;
}

.orb-b {
  width: 40vw;
  height: 40vw;
  right: -14%;
  bottom: -22%;
  background: #1a446f;
  animation-duration: 24s;
}

.orb-c {
  width: 24vw;
  height: 24vw;
  right: 6%;
  top: 18%;
  left: auto;
  background: rgba(255, 107, 44, 0.28);
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}

.hero-field { z-index: 1; }

.hero-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  animation: drift var(--t) ease-in-out infinite;
}

.hero-field span.hot { background: var(--orange); width: 7px; height: 7px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4.5rem 3.5rem;
}

.hero-copy > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.4vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 560;
}

.lede {
  margin: 1.2rem 0 0;
  max-width: 38rem;
  font-size: 1.16rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .lede,
.section .lede,
.ink .lede { color: var(--muted); }

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-deep); color: white; }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-line {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-line:hover { border-color: white; }
.btn-line-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 31, 58, 0.22);
}
.btn-line-dark:hover { border-color: var(--navy); }

.hero-visual {
  justify-self: end;
  width: min(100%, 460px);
}

.hero-stage {
  position: relative;
  animation: float 7s ease-in-out infinite;
}

.hero-visual svg { width: 100%; height: auto; }

.orbit {
  position: absolute;
  inset: -8% -4%;
  animation: spin 22s linear infinite;
}

.orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.orbit span:nth-child(1) { top: 6%; left: 46%; background: var(--orange); }
.orbit span:nth-child(2) { bottom: 8%; left: 8%; }
.orbit span:nth-child(3) { top: 18%; right: 2%; width: 5px; height: 5px; }

.draw {
  stroke: white;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: ink 1.15s ease forwards;
  animation-delay: var(--delay, 0s);
}

.dot {
  fill: white;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.45s ease forwards;
  animation-delay: var(--delay, 0s);
}

.core {
  fill: var(--orange);
  transform-box: fill-box;
  transform-origin: center;
  animation: beat 2.6s ease-in-out infinite;
  animation-delay: 1s;
}

.halo {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: ring 2.8s ease-out infinite;
  animation-delay: 1.1s;
}

.mover {
  fill: var(--orange);
  offset-distance: 0%;
  animation: ride 3.4s linear infinite;
}

.mover.a { offset-path: path("M22 18 L58 50 L80 50"); }
.mover.b { offset-path: path("M22 82 L58 50 L80 50"); animation-delay: 0.7s; }
.mover.c { offset-path: path("M138 18 L102 50 L80 50"); animation-delay: 0.35s; }
.mover.d { offset-path: path("M138 82 L102 50 L80 50"); animation-delay: 1.05s; }

.flow::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px);
  background-size: 24px 2px;
  animation: march 0.9s linear infinite;
  pointer-events: none;
}

.hero-caption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-caption span:nth-child(2) { color: var(--orange); text-align: center; }
.hero-caption span:last-child { text-align: right; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.4rem;
  padding-block: 0.85rem;
  animation: slide 42s linear infinite;
}

.marquee span {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  padding-inline: 0.85rem;
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.85rem;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-1px);
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

@keyframes panGrid {
  to { background-position: 92px 92px, 92px 92px, 92px 92px; }
}

@keyframes orbMove {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8%, 12%, 0) scale(1.12); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.35; }
  50% { transform: translate3d(14px, -22px, 0); opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise-visible {
  from { transform: translateY(14px); }
  to { transform: none; }
}

@keyframes arrive {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ink {
  to { stroke-dashoffset: 0; }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

@keyframes ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.6); }
}

@keyframes ride {
  to { offset-distance: 100%; }
}

@keyframes march {
  to { background-position: 24px 0; }
}

.section { padding-block: 5rem; }

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 560;
  margin: 0;
}

.section-head p:last-child { margin: 0; color: var(--muted); }

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.flow article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.2rem 1.25rem;
  min-height: 100%;
}

.flow h3, .plan h3, .door h3, .include h3 { margin: 0.8rem 0 0.35rem; letter-spacing: -0.03em; }
.flow p, .plan p, .door p { margin: 0; color: var(--muted); }

.node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 6px rgba(11, 31, 58, 0.08);
}

.node-hot {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.18);
}

.band {
  background: var(--navy);
  color: white;
}

.band .kicker { color: var(--orange); }
.band .section-head p:last-child { color: rgba(255, 255, 255, 0.72); }

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.include {
  padding: 1.15rem 1rem 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.include:nth-child(odd) { padding-right: 1.5rem; }
.include:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }

.include span {
  display: block;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.include h3 { color: white; font-size: 1.15rem; }
.include p { margin: 0; color: rgba(255, 255, 255, 0.7); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.2rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step b {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  font-weight: 650;
}

.step h3 { margin: 0 0 0.25rem; font-size: 1.35rem; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--muted); max-width: 40rem; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  padding-top: 0.4rem;
}

.plan {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(255, 107, 44, 0.16), transparent 52%),
    var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 28px;
  padding: 1.35rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.07);
  overflow: hidden;
}

.plan:not(.plan-featured)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 42%, var(--orange) 42% 100%);
}

.plan-mark {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-count {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin: 0;
}

.plan-count b {
  font-size: clamp(4.4rem, 6vw, 5.6rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  font-weight: 560;
  background: linear-gradient(180deg, var(--navy) 30%, #5d7390);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-count span {
  margin-bottom: 0.45rem;
  max-width: 6.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.plan-price {
  margin: 0.85rem 0 0;
  font-size: clamp(2.15rem, 3vw, 2.7rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 650;
}

.plan-price small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
  font-weight: 500;
}

.plan dl {
  margin: 1.05rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.plan dl > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(11, 31, 58, 0.045);
  font-size: 0.95rem;
}

.plan dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

.plan dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan dd {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.plan > p:not(.plan-mark):not(.plan-price):not(.plan-count) {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
  border-radius: 14px;
}

.plan-featured {
  color: white;
  background:
    radial-gradient(80% 50% at 85% -10%, rgba(255, 107, 44, 0.55), transparent 55%),
    linear-gradient(165deg, #1a3d66 0%, var(--navy) 48%, #071426 100%);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 107, 44, 0.45),
    0 28px 60px rgba(11, 31, 58, 0.28);
  transform: translateY(-18px);
}

.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 107, 44, 0.75);
  animation: planPulse 2.8s ease-in-out infinite;
}

.plan-featured .plan-mark {
  background: var(--orange);
  color: var(--navy);
}

.plan-featured .plan-count b {
  background: linear-gradient(180deg, #fff 20%, #ffc7a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-featured .plan-count span,
.plan-featured dt,
.plan-featured .plan-price small { color: rgba(255, 255, 255, 0.68); }

.plan-featured dl > div { background: rgba(255, 255, 255, 0.08); }

.plan-featured .plan-price,
.plan-featured dd { color: white; }

.plan-featured > p:not(.plan-mark):not(.plan-price):not(.plan-count) { color: rgba(255, 255, 255, 0.74); }

@keyframes planPulse {
  50% { box-shadow: inset 0 0 0 1.5px var(--orange), inset 0 0 36px rgba(255, 107, 44, 0.22); }
}

.plan h2,
.form-layout h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.plan h2 {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 650;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.door {
  border-radius: 20px;
  padding: 1.6rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.door-a { background: var(--navy); color: white; }
.door-b { background: var(--white); border: 1px solid var(--line); }
.door h3 { font-size: 1.8rem; letter-spacing: -0.04em; margin-top: 0; }
.door-a p { color: rgba(255, 255, 255, 0.74); }
.door span {
  margin-top: auto;
  font-weight: 650;
  color: var(--orange);
}

.page-hero {
  background: var(--navy);
  color: white;
  margin-top: -5.85rem;
  padding: 8.4rem 0 3.2rem;
}

.page-hero .lede { color: rgba(255, 255, 255, 0.76); }

.crumb {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.crumb a { color: white; }

.cycle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.cycle li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.cycle li span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--orange-deep);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 650;
}

.rubro-grid,
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rubro-grid li,
.org-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.faq { display: grid; gap: 0.6rem; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.faq p { margin: 0.7rem 0 0.2rem; color: var(--muted); }

.guarantee {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 18px;
  padding: 1.4rem 1.4rem;
}

.guarantee h2 { margin: 0; font-size: 1.8rem; letter-spacing: -0.04em; }
.guarantee p { margin: 0; color: var(--muted); }

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

legend { font-weight: 650; margin-bottom: 0.2rem; }

.choices { display: grid; gap: 0.45rem; }

.choices label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  cursor: pointer;
}

.choices label:has(input:checked) {
  border-color: var(--navy);
  background: #f7f5f0;
}

label span, .field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field { display: grid; gap: 0.35rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  font: inherit;
}

textarea { min-height: 8rem; resize: vertical; }

.only-empresa, .only-proveedora { display: none; }
form:has(#tipo-empresa:checked) .only-empresa { display: grid; }
form:has(#tipo-proveedora:checked) .only-proveedora { display: grid; }

.resumen {
  margin-top: 1rem;
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 1.2rem;
}

.resumen h2 { margin: 0 0 0.6rem; font-size: 1.5rem; letter-spacing: -0.03em; }
.resumen p { color: rgba(255, 255, 255, 0.76); }
.resumen dl { display: grid; gap: 0.45rem; margin: 0 0 1rem; }
.resumen div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.6rem; }
.resumen dt { color: var(--orange); }
.resumen dd { margin: 0; }
.resumen dl:empty { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled { opacity: 0.65; cursor: wait; }

.form-error {
  margin: 0.8rem 0 0;
  color: var(--orange-deep);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 2.4rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer a { text-decoration: none; font-weight: 560; }
.site-footer p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .site-header { border-radius: 22px; height: auto; min-height: 4.15rem; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    background: rgba(255, 252, 248, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.14);
  }
  .menu-check:checked ~ .site-nav { display: flex; }
  .nav-user { align-self: center; margin: 0.35rem 0 0.15rem; }
  .menu-check:focus-visible + .menu-btn { outline: 2px solid var(--orange); }
  .hero-grid,
  .section-head,
  .flow,
  .include-grid,
  .plan-grid,
  .doors,
  .form-layout,
  .guarantee,
  .rubro-grid,
  .org-grid,
  .cycle { grid-template-columns: 1fr; }
  .include:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .hero-visual { justify-self: start; }
  .hero { min-height: 0; }
  .flow::before { display: none; }
  .footer-grid { flex-direction: column; align-items: start; }
  .org-grid, .rubro-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 0.3rem; }
  .rubro-grid, .org-grid { grid-template-columns: 1fr; }
  .resumen div { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
}

.flow article,
.plan,
.door,
.cycle li,
.rubro-grid li,
.org-grid li,
.guarantee,
.faq details,
.step,
.include,
.choices label,
input,
select,
textarea,
.site-footer a,
.brand,
.crumb a,
.node,
.door span,
.include h3,
.step b {
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    letter-spacing 0.3s ease,
    box-shadow 0.4s ease;
}

.flow article:hover,
.cycle li:hover,
.rubro-grid li:hover,
.org-grid li:hover,
.guarantee:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 31, 58, 0.28);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
}

.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 31, 58, 0.16);
  box-shadow: 0 24px 48px rgba(11, 31, 58, 0.12);
}

.plan-featured:hover {
  transform: translateY(-26px);
  box-shadow:
    0 0 0 1px rgba(255, 107, 44, 0.7),
    0 36px 70px rgba(11, 31, 58, 0.34);
}

.flow article:hover .node {
  transform: scale(1.35);
}

.flow article:hover .node-hot {
  box-shadow: 0 0 0 8px rgba(255, 107, 44, 0.22);
}

.door { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.door span { display: inline-block; }
.door:hover { transform: translateY(-6px); }
.door:hover span { transform: translateX(8px); }

.step { position: relative; }
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  bottom: 1.15rem;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.step:hover::after { transform: scaleY(1); }
.step:hover b { letter-spacing: 0.18em; }

.include h3 { display: inline-block; }
.include:hover h3 { transform: translateX(6px); }

.faq details:hover,
.faq details[open] { border-color: var(--navy); }
.faq details[open] summary { color: var(--orange-deep); }

.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.35s ease, content-visibility 0.35s ease allow-discrete;
}
.faq details[open]::details-content { height: auto; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.15);
}

.site-footer a:hover { color: var(--orange-deep); }
.brand:hover { transform: translateY(-1px); }
.crumb a:hover { color: var(--orange); }

.page-hero .crumb,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lede,
.page-hero .hero-actions {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page-hero .eyebrow { animation-delay: 0.06s; }
.page-hero h1 { animation-delay: 0.12s; }
.page-hero .lede { animation-delay: 0.2s; }
.page-hero .hero-actions { animation-delay: 0.28s; }

.hero-copy > h1,
.page-hero h1 {
  animation-name: rise-visible;
  animation-delay: 0s;
}

@supports (animation-timeline: view()) {
  .section-head,
  .flow article,
  .plan,
  .door,
  .step,
  .include,
  .cycle li,
  .rubro-grid li,
  .org-grid li,
  .guarantee,
  .faq details,
  form {
    animation: arrive 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  .flow article:nth-child(2),
  .plan:nth-child(2),
  .door:nth-child(2),
  .include:nth-child(2),
  .cycle li:nth-child(2) { animation-range: entry 6% cover 36%; }

  .flow article:nth-child(3),
  .plan:nth-child(3),
  .include:nth-child(3),
  .cycle li:nth-child(3) { animation-range: entry 12% cover 42%; }

  .include:nth-child(n + 4),
  .step:nth-child(n + 2),
  .rubro-grid li:nth-child(n + 3),
  .org-grid li:nth-child(n + 3) { animation-range: entry 8% cover 38%; }

  .ingreso form { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .hero-wash,
  .orb,
  .hero-field span,
  .hero-copy > *,
  .hero-stage,
  .orbit,
  .draw,
  .dot,
  .core,
  .halo,
  .mover,
  .flow::before,
  .btn,
  .section-head,
  .flow article,
  .plan,
  .door,
  .step,
  .include,
  .cycle li,
  .rubro-grid li,
  .org-grid li,
  .guarantee,
  .faq details,
  form,
  .page-hero .crumb,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .lede,
  .page-hero .hero-actions,
  .plan-featured::before { animation: none; transition: none; }
  .draw { stroke-dashoffset: 0; }
  .dot, .hero-copy > *, .page-hero h1, .page-hero .lede { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .plan-featured,
  .plan-featured:hover { transform: none; }
}
