:root {
  --paper: #f3f3ee;
  --paper-soft: #e8ebe5;
  --white: #fbfbf8;
  --ink: #171916;
  --muted: #656a63;
  --line: rgba(23, 25, 22, .15);
  --moss: #526655;
  --moss-soft: #718773;
  --accent: #ff6543;
  --accent-soft: #ff947c;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  line-height: .98;
  letter-spacing: -.052em;
}

h1 {
  font-size: clamp(3rem, 13vw, 6.5rem);
}

h2 {
  font-size: clamp(2.35rem, 9vw, 4.7rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 238, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 243, 238, .96);
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: .82;
}

.brand-main {
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.brand-sub {
  margin-top: .38rem;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 750;
  letter-spacing: .28em;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.menu-lines {
  width: 1.25rem;
  display: grid;
  gap: .3rem;
}

.menu-lines i {
  display: block;
  height: 1px;
  background: currentColor;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    1.25rem
    max(1.25rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #1b1e1a;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 320ms var(--ease-out),
    opacity 200ms ease,
    visibility 0s linear 320ms;
}

.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.menu-panel.no-motion {
  transition: none;
}

.menu-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  margin: auto 0;
}

.mobile-nav a {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  text-decoration: none;
  font-size: clamp(1.8rem, 9vw, 3rem);
  font-weight: 620;
  letter-spacing: -.04em;
}

.mobile-nav small {
  color: rgba(255, 255, 255, .42);
  font-size: .75rem;
  letter-spacing: .08em;
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .55);
  font-size: .75rem;
}

/* =========================================================
   BOTONES Y ELEMENTOS COMPARTIDOS
   ========================================================= */

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .82rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 150ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:active {
  transform: scale(.97);
}

.button-small {
  min-height: 2.7rem;
  padding: .62rem 1rem;
  font-size: .88rem;
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button span[aria-hidden="true"],
.text-link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 180ms var(--ease-out);
}

.text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.mobile-only {
  display: inline-flex;
  margin-top: 1.5rem;
}

.desktop-only {
  display: none;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: .45rem;
  height: .45rem;
  display: inline-block;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   HERO DEL INDEX
   ========================================================= */

.hero {
  position: relative;
  min-height: calc(100svh - 4.25rem);
  display: flex;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .42),
      rgba(255, 255, 255, .04)
    ),
    linear-gradient(
      145deg,
      #e8e9e3 0%,
      #cdd3ca 56%,
      #a9b2a8 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(29, 35, 29, .19)
    );
}

.hero-wordmark {
  --spot-x: 50%;
  --spot-y: 50%;

  position: absolute;
  left: 50%;
  bottom: -7vw;
  z-index: 1;

  display: flex;

  transform: translateX(-50%);

  color: rgba(255, 255, 255, .5);
  font-size: clamp(11rem, 38vw, 34rem);
  font-weight: 850;
  line-height: .72;
  letter-spacing: -.09em;
  white-space: nowrap;
  pointer-events: none;
}

.hero-wordmark span {
  display: block;
  will-change: opacity, transform;
}

.hero-wordmark .word-ki {
  animation: word-ki-in 1800ms var(--ease-out) both;
}

.hero-wordmark .word-bo {
  animation: word-bo-in 1800ms var(--ease-out) 180ms both;
}

.hero-wordmark::after {
  content: "KIBO";
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 1.8rem rgba(255, 101, 67, .38);
  -webkit-mask-image:
    radial-gradient(
      circle 5.6rem at var(--spot-x) var(--spot-y),
      #000 0,
      rgba(0, 0, 0, .94) 24%,
      transparent 72%
    );
  mask-image:
    radial-gradient(
      circle 5.6rem at var(--spot-x) var(--spot-y),
      #000 0,
      rgba(0, 0, 0, .94) 24%,
      transparent 72%
    );
  transition: opacity 160ms ease;
}

.word-light {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 .42rem rgba(255, 101, 67, .15),
    0 0 2rem rgba(255, 101, 67, .8);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  transition:
    opacity 140ms ease,
    transform 180ms var(--ease-out);
}

.hero-wordmark.is-hovered::after {
  opacity: .95;
}

.hero-wordmark.is-hovered .word-light {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-glow {
  position: absolute;
  right: -16%;
  top: -30%;
  width: 80vw;
  height: 80vw;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 245, .94) 0%,
      rgba(232, 238, 225, .46) 25%,
      transparent 67%
    );
  filter: blur(4px);
  animation: glow-in 1200ms var(--ease-out) both;
}

.hero-topography {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: rgba(52, 65, 52, .17);
  animation: topo-in 1200ms var(--ease-out) both;
}

.hero-topography path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(4.5rem, 14vh, 9rem) 1.4rem;
}

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

.availability {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(23, 25, 22, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  font-size: .82rem;
  font-weight: 720;
  backdrop-filter: blur(10px);
}

.availability span {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 .25rem rgba(255, 101, 67, .13);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
}

.hero-lead {
  max-width: 37rem;
  margin-bottom: 0;
  color: #464c46;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.8rem;
}

.actions .text-link {
  justify-content: center;
  border: 0;
}

.hero-meta {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  color: rgba(23, 25, 22, .6);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes word-ki-in {
  from {
    opacity: 0;
    transform: translate3d(-24%, 0, 0);
  }
}

@keyframes word-bo-in {
  from {
    opacity: 0;
    transform: translate3d(24%, 0, 0);
  }
}

@keyframes glow-in {
  from {
    opacity: 0;
    transform: scale(.92);
  }
}

@keyframes topo-in {
  from {
    opacity: 0;
    transform: translateY(2%);
  }
}

/* =========================================================
   SECCIONES DEL INDEX
   ========================================================= */

.section {
  padding-block: 5.5rem;
}

.section-intro {
  max-width: 52rem;
  margin-bottom: 2.6rem;
}

.section-intro h2 {
  margin-bottom: 1.1rem;
}

.section-intro > p:last-child {
  max-width: 39rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.principles-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.principle {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-number {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--moss);
  font-size: .72rem;
  font-weight: 800;
}

.principle h3 {
  margin-bottom: .7rem;
}

.principle p {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
}

.service-section {
  position: relative;
  padding-block: 5.5rem;
  background: var(--paper-soft);
}

.service-layout {
  position: relative;
}

.service-copy {
  max-width: 48rem;
}

.service-copy h2 {
  margin-bottom: 1rem;
}

.service-copy > p:last-child {
  color: var(--muted);
}

.plans-grid {
  display: grid;
  gap: .8rem;
  margin-top: 2.4rem;
}

.plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .34);
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background-color 180ms ease;
}

.plan-featured {
  order: -1;
  padding: 1.55rem;
  border-color: rgba(23, 25, 22, .34);
  background: var(--white);
  box-shadow: 0 1.2rem 3.5rem rgba(45, 55, 46, .11);
}

.plan-card > p:not(.plan-kicker, .plan-price) {
  min-height: 4.7rem;
  color: var(--muted);
}

.plan-kicker {
  line-height: 1.3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .7rem;
  font-size: .76rem;
  font-weight: 830;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.plan-kicker > span {
  padding: .34rem .52rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: .64rem;
  letter-spacing: .08em;
}

.plan-price {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 13vw, 5rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.07em;
}

.plan-price span {
  margin-left: .25rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: 0;
}

.plan-card ul {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 1.6rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 620;
}

.plan-card li::before {
  content: "—";
  color: var(--accent);
}

.plan-card > .button,
.plan-card > .text-link {
  margin-top: auto;
}

.plan-card > .button {
  width: 100%;
}

.section-heading-row {
  margin-bottom: 2.25rem;
}

.section-heading-row h2 {
  max-width: 13ch;
}

.people-preview {
  display: grid;
  gap: 1.2rem;
}

.person-preview {
  display: grid;
  gap: .9rem;
}

.person-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe2dc;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms var(--ease-out);
}

.person-image-meri img {
  object-position: center 36%;
}

.person-preview p {
  margin-bottom: .2rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.person-preview h3 {
  margin: 0;
  font-size: 1.9rem;
}

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

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

.faq-list summary {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 720;
}

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

.faq-list summary span {
  position: relative;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: .85rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms var(--ease-out);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%);
}

.faq-list details p {
  max-width: 40rem;
  padding: 0 2rem 1.4rem 0;
  color: var(--muted);
}

.final-cta {
  padding-block: 2rem 6rem;
  text-align: center;
}

.final-cta h2 {
  max-width: 13ch;
  margin: 0 auto 1.8rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding-block: 3rem 1.5rem;
  background: #1b1e1a;
  color: white;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
}

.footer-main p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
}

.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.footer-main a,
.footer-bottom a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .45);
  font-size: .8rem;
}

/* =========================================================
   SOBRE NOSOTROS
   ========================================================= */

.page-hero {
  padding-block: 4.5rem 3.5rem;
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
}

.page-hero .lead {
  max-width: 39rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.founder-stories {
  padding-bottom: 5rem;
}

.founder-story {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem 3.5rem;
  border-top: 1px solid var(--line);
}

.founder-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dfe2dc;
}

.founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  transition: transform 600ms var(--ease-out);
}

.founder-media.andres img {
  object-position: center;
}

.founder-media.meri img {
  object-position: center 35%;
}

.founder-content {
  align-self: center;
}

.founder-role {
  margin-bottom: .75rem;
  color: var(--moss);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.founder-content h2 {
  margin-bottom: 1.2rem;
}

.founder-content p {
  color: var(--muted);
}

.founder-facts {
  display: grid;
  gap: .7rem;
  margin: 1.4rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.founder-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
}

.founder-facts span {
  color: var(--muted);
}

.values-section {
  padding-block: 5rem;
  background: var(--paper-soft);
}

.values-grid {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
}

.value-card {
  padding: 1.4rem;
  background: var(--paper-soft);
}

.value-card span {
  color: var(--moss);
  font-size: .75rem;
  font-weight: 800;
}

.value-card h3 {
  margin: 2.5rem 0 .7rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.form-page {
  padding-block: 3rem 5rem;
}

.form-intro {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.form-intro h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 11vw, 5rem);
}

.form-intro > p:last-child {
  color: var(--muted);
}

.form-layout {
  display: grid;
  gap: 1.5rem;
}

.progress-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .24);
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  font-size: .82rem;
  font-weight: 750;
}

.progress-copy span:last-child {
  color: var(--muted);
}

.progress-track {
  height: 2px;
  overflow: hidden;
  background: rgba(23, 25, 22, .1);
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: transform 240ms var(--ease-in-out);
  transform: scaleX(.2);
  transform-origin: left;
}

.progress-steps {
  display: none;
}

.form-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: step-in 260ms var(--ease-out) both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(.35rem);
  }
}

.form-step h2 {
  margin-bottom: .6rem;
  font-size: 2rem;
}

.form-step > p {
  color: var(--muted);
}

.form-fields {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field label,
.field legend {
  font-size: .87rem;
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: .78rem .9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f6f6f2;
  color: var(--ink);
  font-size: 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(82, 102, 85, .12);
  background: white;
}

.field-hint {
  color: var(--muted);
  font-size: .78rem;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-list {
  display: grid;
  gap: .55rem;
}

.choice-list label {
  min-height: 3.15rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  background: #f6f6f2;
  cursor: pointer;
  font-weight: 630;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 150ms var(--ease-out);
}

.choice-list label:active {
  transform: scale(.99);
}

.choice-list input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--moss);
}

.choice-list label:has(input:checked) {
  border-color: var(--moss);
  background: #eef1ec;
  box-shadow: inset 3px 0 0 var(--moss);
}

.plan-choice-list {
  gap: .65rem;
}

.plan-choice-list label {
  align-items: flex-start;
  padding: .95rem;
}

.plan-choice-list .plan-choice-featured {
  border-color: rgba(82, 102, 85, .5);
  background: #eef1ec;
}

.plan-choice-list span {
  display: grid;
  gap: .15rem;
}

.plan-choice-list small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 540;
}

.choice-list-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list-days {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-list-days label {
  justify-content: center;
  padding-inline: .35rem;
}

.field-error {
  color: #a23f35;
  font-size: .78rem;
}

.form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  margin-top: 1.6rem;
}

.form-actions .button:last-child {
  justify-self: stretch;
}

.form-actions .is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.privacy-note {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .83rem;
}

.success-card {
  display: none;
  padding: 2rem .5rem;
  text-align: center;
}

.success-card.is-active {
  display: block;
  animation: step-in 260ms var(--ease-out) both;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--moss);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
}

.success-card p {
  max-width: 30rem;
  margin-inline: auto;
  color: var(--muted);
}

/* =========================================================
   ENTRENAMIENTOS PERSONALES EN KINNOVA
   ========================================================= */

.personal-hero {
  --collab-x: 0px;
  --collab-y: 0px;

  position: relative;
  min-height: 34rem;
  display: flex;
  overflow: hidden;
  background: linear-gradient(145deg, #e9ebe6, #cbd2c8);
  isolation: isolate;
}

.personal-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -13rem;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 247, .92),
      rgba(255, 255, 247, .22) 43%,
      transparent 70%
    );
}

.collab-wordmark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding:
    clamp(2.5rem, 6vh, 4.5rem)
    clamp(1rem, 3vw, 3.5rem);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.collab-word {
  display: block;
  font-size: clamp(7rem, 12vw, 13.5rem);
  font-weight: 850;
  line-height: .72;
  letter-spacing: -.075em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: opacity, transform;
}

.collab-word-kibo {
  align-self: flex-start;
  margin-top: clamp(5.5rem, 7.5vw, 8rem);
  color: rgba(255, 132, 103, .38);
  text-shadow: 0 0 2.5rem rgba(255, 101, 67, .12);
  animation:
    collab-kibo-in 1600ms var(--ease-out) both,
    collab-kibo-float 9s ease-in-out 1600ms infinite alternate;
}

.collab-kinnova-lockup {
  display: grid;
  justify-items: center;
  align-self: flex-start;
  gap: .2rem;
  will-change: opacity, transform;
  animation:
    collab-kinnova-in 1600ms var(--ease-out) 120ms both,
    collab-kinnova-float 10s ease-in-out 1720ms infinite alternate;
}

.collab-kinnova-logo {
  display: block;
  width: clamp(8rem, 12vw, 12.5rem);
  height: auto;
  opacity: .58;
}

.collab-word-kinnova {
  color: rgba(255, 255, 255, .42);
  text-shadow: 0 1px 0 rgba(23, 25, 22, .04);
  animation: none;
}

.personal-topography {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: rgba(52, 65, 52, .17);
}

.personal-topography path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.personal-hero-inner {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 5rem;
}

.personal-hero h1 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
}

.personal-hero .lead {
  max-width: 37rem;
  margin-bottom: 1.8rem;
  color: #464c46;
  font-size: 1.08rem;
}

@keyframes collab-kibo-in {
  from {
    opacity: 0;
    transform:
      translate3d(
        calc(-42vw + var(--collab-x)),
        var(--collab-y),
        0
      );
  }

  to {
    opacity: 1;
    transform:
      translate3d(
        var(--collab-x),
        var(--collab-y),
        0
      );
  }
}

@keyframes collab-kinnova-in {
  from {
    opacity: 0;
    transform:
      translate3d(
        calc(42vw - var(--collab-x)),
        calc(0px - var(--collab-y)),
        0
      );
  }

  to {
    opacity: 1;
    transform:
      translate3d(
        calc(0px - var(--collab-x)),
        calc(0px - var(--collab-y)),
        0
      );
  }
}

@keyframes collab-kibo-float {
  from {
    transform:
      translate3d(
        var(--collab-x),
        var(--collab-y),
        0
      );
  }

  to {
    transform:
      translate3d(
        calc(var(--collab-x) + 1rem),
        calc(var(--collab-y) - .4rem),
        0
      );
  }
}

@keyframes collab-kinnova-float {
  from {
    transform:
      translate3d(
        calc(0px - var(--collab-x)),
        calc(0px - var(--collab-y)),
        0
      );
  }

  to {
    transform:
      translate3d(
        calc(-1rem - var(--collab-x)),
        calc(.4rem - var(--collab-y)),
        0
      );
  }
}

.personal-intro .section-intro > p:last-child {
  max-width: 44rem;
}

.personal-goals {
  display: grid;
  border-top: 1px solid var(--line);
}

.personal-goal {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.personal-goal > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--moss);
  font-size: .72rem;
  font-weight: 800;
}

.personal-goal h3 {
  margin-bottom: .7rem;
}

.personal-goal p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
}

.personal-rates {
  padding-block: 5.5rem;
  background: var(--paper-soft);
}

.rate-grid {
  display: grid;
  gap: .8rem;
}

.rate-card {
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .42);
}

.rate-price {
  margin: .5rem 0 .9rem;
  font-size: clamp(3.5rem, 15vw, 6rem);
  font-weight: 780;
  line-height: .9;
  letter-spacing: -.075em;
}

.rate-price span {
  margin-left: .35rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: 0;
}

.rate-card > p:not(.plan-kicker, .rate-price) {
  color: var(--muted);
}

.rate-card .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.booking-section {
  padding-block: 5.5rem;
}

.booking-heading {
  max-width: 48rem;
  margin-bottom: 2.3rem;
}

.booking-heading h2 {
  margin-bottom: 1rem;
}

.booking-heading > p:last-child {
  max-width: 40rem;
  color: var(--muted);
}

.booking-unavailable {
  max-width: 46rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .36);
}

.booking-unavailable h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.booking-unavailable > p:not(.plan-kicker) {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.booking-layout {
  display: grid;
  gap: 1rem;
}

.slots-panel,
.booking-form,
.booking-success {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.slots-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.slots-panel-head h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

.slots-refresh,
.booking-selection button {
  border: 0;
  padding: .4rem 0;
  background: transparent;
  color: var(--moss);
  font-size: .8rem;
  font-weight: 760;
  text-decoration: underline;
  cursor: pointer;
}

.slots-status {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.slots-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.slot-day {
  display: grid;
  gap: .65rem;
}

.slot-day h4 {
  margin: 0;
  font-size: .82rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.slot-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.slot-button {
  min-height: 3.15rem;
  border: 1px solid var(--line);
  background: #f6f6f2;
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 150ms var(--ease-out);
}

.slot-button:active {
  transform: scale(.98);
}

.slot-button[aria-pressed="true"] {
  border-color: var(--moss);
  background: #e8eee7;
  box-shadow: inset 3px 0 0 var(--moss);
}

.booking-selection {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.booking-selection span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.booking-selection strong {
  grid-row: 2;
}

.booking-selection button {
  grid-column: 2;
  grid-row: 1 / 3;
}

.booking-form .choice-list {
  margin-top: .45rem;
}

.booking-form .form-fields {
  margin-top: 1.25rem;
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: .78rem;
}

.booking-consent input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: .1rem;
  accent-color: var(--moss);
}

.booking-submit {
  width: 100%;
  margin-top: 1.4rem;
}

.booking-success {
  min-height: 18rem;
  place-content: center;
  text-align: center;
}

.booking-success:not([hidden]) {
  display: grid;
}

.booking-success > span {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--moss);
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
}

.booking-success h3 {
  margin-bottom: .6rem;
  font-size: 1.8rem;
}

.booking-success p {
  max-width: 30rem;
  margin: 0 auto;
  color: var(--muted);
}

/* =========================================================
   ANIMACIONES GENERALES
   ========================================================= */

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 560ms var(--ease-out),
    transform 560ms var(--ease-out);
}

.reveal.reveal-ready:not(.is-visible) {
  opacity: 0;
  transform: translateY(.85rem);
}

.reveal[data-delay="1"] {
  transition-delay: 65ms;
}

.reveal[data-delay="2"] {
  transition-delay: 130ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   EFECTOS HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
  }

  .button-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
  }

  .button:hover span[aria-hidden="true"],
  .text-link:hover span[aria-hidden="true"] {
    transform: translateX(.22rem);
  }

  .desktop-nav a:hover {
    color: var(--ink);
  }

  .footer-main a:hover,
  .footer-bottom a:hover {
    color: white;
  }

  .plan-card:hover {
    transform: translateY(-.25rem);
    background: rgba(255, 255, 255, .55);
  }

  .plan-featured:hover {
    box-shadow: 0 1.5rem 4.5rem rgba(45, 55, 46, .15);
    background: white;
  }

  .person-preview:hover img,
  .founder-story:hover img {
    transform: scale(1.02);
  }

  .slot-button:hover {
    border-color: var(--moss);
    background: #eef1ec;
  }

  .rate-card:hover {
    background: rgba(255, 255, 255, .65);
  }
}

/* =========================================================
   TABLETS
   ========================================================= */

@media (min-width: 700px) {
  .shell {
    width: min(100% - 4rem, var(--shell));
  }

  .actions {
    flex-direction: row;
    align-items: center;
  }

  .actions .text-link {
    justify-content: flex-start;
    border-bottom: 1px solid currentColor;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 7rem);
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .principle {
    min-height: 19rem;
    padding: 1.6rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .principle:first-child {
    padding-left: 0;
  }

  .principle:last-child {
    border-right: 0;
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-featured {
    grid-row: span 2;
  }

  .section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
  }

  .desktop-only {
    display: inline-flex;
  }

  .mobile-only {
    display: none;
  }

  .people-preview {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .founder-story {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
  }

  .founder-story:nth-child(even) .founder-media {
    order: 2;
  }

  .founder-media {
    aspect-ratio: 4 / 4.7;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-card {
    padding: 2.25rem;
  }

  .form-fields.two-columns {
    grid-template-columns: 1fr 1fr;
  }

  .field.full {
    grid-column: 1 / -1;
  }

  .choice-list-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personal-goals {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .personal-goal {
    min-height: 20rem;
    padding: 1.6rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .personal-goal:first-child {
    padding-left: 0;
  }

  .personal-goal:last-child {
    border-right: 0;
  }

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

  .rate-card {
    min-height: 23rem;
    padding: 1.8rem;
  }

  .slot-times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   MÓVILES
   ========================================================= */

@media (max-width: 699px) {
  .collab-wordmark {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem .5rem;
  }

  .collab-word {
    font-size: clamp(6rem, 29vw, 8.5rem);
  }

  .collab-word-kibo {
    align-self: flex-start;
    margin-top: 0;
  }

  .collab-kinnova-lockup {
    align-self: flex-end;
    margin-top: .5rem;
  }

  .collab-kinnova-logo {
    width: clamp(6.5rem, 34vw, 8.5rem);
    opacity: .52;
  }

  .collab-word-kinnova {
    align-self: auto;
  }
}

/* =========================================================
   ESCRITORIO
   ========================================================= */

@media (min-width: 960px) {
  .header-inner {
    min-height: 5rem;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .desktop-nav a {
    position: relative;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 680;
    text-decoration: none;
    transition: color 160ms ease;
  }

  .desktop-nav a.is-current {
    color: var(--ink);
  }

  .desktop-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.72rem;
    height: 1px;
    background: var(--accent);
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-button {
    display: none;
  }

  /*
   * Ajuste del hero del index:
   * menos espacio superior, titular más compacto
   * y botón visible en la primera pantalla.
   */

  .hero {
    min-height: calc(100svh - 5rem);
  }

  .hero-inner {
    padding-block: clamp(2.2rem, 4vh, 3.5rem) 2rem;
  }

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

  .hero h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(4rem, 6vw, 5.7rem);
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .actions {
    margin-top: 1.35rem;
  }

  .section,
  .service-section {
    padding-block: 7rem;
  }

  .plans-grid {
    grid-template-columns: .88fr 1.18fr .88fr;
    align-items: stretch;
  }

  .plan-featured {
    order: 0;
    grid-row: auto;
    transform: translateY(-.7rem);
  }

  .plan-featured:hover {
    transform: translateY(-1rem);
  }

  .plan-card {
    padding: 1.65rem;
  }

  .form-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
  }

  .progress-panel {
    position: sticky;
    top: 7rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .progress-steps {
    display: grid;
    gap: .85rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
  }

  .progress-steps li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--muted);
    font-size: .86rem;
  }

  .progress-steps i {
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: .68rem;
    font-style: normal;
  }

  .progress-steps li.is-active {
    color: var(--ink);
    font-weight: 800;
  }

  .progress-steps li.is-active i {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
  }

  .progress-steps li.is-done i {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
  }

  .booking-layout {
    grid-template-columns:
      minmax(19rem, .75fr)
      minmax(0, 1.25fr);
    gap: 1.2rem;
    align-items: start;
  }

  .slots-panel,
  .booking-form,
  .booking-success {
    padding: 1.7rem;
  }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .collab-word-kibo,
  .collab-kinnova-lockup {
    animation: none;
    transform: none;
  }
}

/* Ilustración de la cabecera Sobre nosotros */

.page-hero {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero > *:not(.about-hero-sports) {
  position: relative;
  z-index: 2;
}

.about-hero-sports {
  position: absolute;
  right: 0;
  bottom: 1rem;
  z-index: 1;

  width: min(46vw, 44rem);
  height: auto;

  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

/* Móviles */

@media (max-width: 699px) {
  .page-hero {
    min-height: 31rem;
  }

  .about-hero-sports {
    right: auto;
    left: 50%;
    bottom: 0;

    width: min(110%, 32rem);
    max-width: none;

    opacity: 0.13;
    transform: translateX(-50%);
  }
}

/* Calendario decorativo de los planes */

.service-section {
  overflow: hidden;
}

.service-layout {
  position: relative;
}

.service-copy {
  position: relative;
  z-index: 2;
}

.plans-data-illustration {
  position: absolute;
  top: -5rem;
  right: -2rem;
  z-index: 1;

  width: min(42vw, 38rem);
  height: auto;

  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

.plans-grid {
  position: relative;
  z-index: 2;
}

/* Móviles */

@media (max-width: 699px) {
  .plans-data-illustration {
    position: relative;
    top: auto;
    right: auto;

    display: block;
    width: min(100%, 30rem);
    margin: -2rem auto 1.5rem;

    opacity: 0.18;
  }
}

/* Páginas legales */

.legal-page {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.legal-content {
  max-width: 52rem;
}

.legal-content h1 {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  margin: 2.5rem 0 .75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--ink);
}

.legal-warning {
  margin: 1.75rem 0;
  padding: 1rem 1.2rem;
  border-left: .25rem solid var(--accent);
  background: rgba(255, 101, 67, .08);
  color: var(--ink);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
}
