/* ============================================================
   VIDA INDOOR CYCLING - components.css
   Cabecera, botones pildora, superficies clay, listas, tabla,
   acordeon, formulario, marquesina y pie.
   ============================================================ */

/* ---------- Logotipo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.34em;
  color: var(--ivory);
  text-decoration: none;
  line-height: 1;
}

.logo__mark {
  display: block;
  width: var(--logo-w, 100px);
  height: auto;
  aspect-ratio: 702 / 212;
  fill: currentColor;
  transition: fill var(--t-ui) var(--ease-out);
}

.logo__sub {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-indent: 0.42em;
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  a.logo:hover .logo__mark { fill: var(--yellow); }
}

/* ---------- Cabecera ----------
   Flota dentro del panel de portada, como en las referencias. */
.site-head {
  position: fixed;
  inset: var(--frame) 0 auto;
  z-index: 60;
  height: var(--head-h);
  display: flex;
  align-items: center;
}

.site-head__inner {
  position: relative;
  width: min(100% - (var(--gut) * 2), var(--max));
  margin-inline: auto;
  height: 100%;
  padding-inline: clamp(0.85rem, 1.8vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: var(--r-shell) var(--r-shell) 0 0;
  transition: background var(--t-panel) var(--ease-out);
}

/* Arriba del todo la cabecera no dibuja nada: ni fondo ni borde.
   La pildora aparece solo al desplazar. */
.site-head.is-stuck .site-head__inner {
  background: rgba(12, 12, 11, 0.82);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.95);
}


.nav { display: none; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }

.nav a {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-soft);
  padding: 0.55rem 0;
  position: relative;
  transition: color var(--t-ui) var(--ease-out);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.nav a[aria-current='page'] { color: var(--ivory); }
.nav a[aria-current='page']::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ivory); }
  .nav a:hover::after { transform: scaleX(1); }
}

.btn.head-cta { display: none; }

@media (min-width: 1040px) {
  .nav { display: flex; }
  .btn.head-cta { display: inline-flex; }
}

/* ---------- Hamburguesa ---------- */
.burger {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--clay-sm);
  transition: transform var(--t-press) var(--ease-out);
}

.burger:active { transform: scale(0.94); }

.burger span,
.burger span::before,
.burger span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: var(--r-pill);
  background: currentColor;
  transition: transform 300ms var(--ease-out), opacity 160ms linear;
}

.burger span::before,
.burger span::after { position: absolute; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }

.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: rotate(-45deg); }

@media (min-width: 1040px) { .burger { display: none; } }

/* ---------- Menu movil ----------
   Una hoja compacta que cae desde el boton, no una pantalla entera.
   El fondo oscurecido cierra al tocarlo. */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 6, 5, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: calc(var(--head-h) + var(--frame) + 0.35rem) var(--frame) var(--frame);
  display: grid;
  align-content: start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-out), visibility 0s linear 240ms;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms var(--ease-out), visibility 0s linear 0s;
}

.drawer__panel {
  background: linear-gradient(176deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--clay);
  padding: 0.5rem;
  display: grid;
  gap: 0.5rem;
  max-height: calc(100svh - var(--head-h) - (var(--frame) * 3));
  overflow: auto;
  /* Nace desde el boton que la abre, no desde el centro */
  transform-origin: top right;
  transform: translateY(-10px) scale(0.985);
  opacity: 0;
  transition: transform 340ms var(--ease-out), opacity 200ms var(--ease-out);
}

.drawer.is-open .drawer__panel { transform: none; opacity: 1; }

.drawer__nav { display: grid; gap: 1px; }

.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1rem;
  border-radius: var(--r-inner);
  color: var(--fg);
  opacity: 0;
  transform: translateY(8px);
}

.drawer__nav a svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.3;
  transition: transform var(--t-ui) var(--ease-out), opacity var(--t-ui) var(--ease-out);
}

.drawer__nav a:active { background: var(--surface-3); }

.drawer.is-open .drawer__nav a {
  opacity: 1;
  transform: none;
  transition:
    opacity 320ms var(--ease-out) calc(70ms + var(--i, 0) * 38ms),
    transform 320ms var(--ease-out) calc(70ms + var(--i, 0) * 38ms);
}

.drawer__nav a[aria-current='page'] {
  color: var(--yellow);
  background: var(--surface-3);
  box-shadow: var(--clay-sm);
}

.drawer__nav a[aria-current='page'] svg { opacity: 1; transform: translateX(2px); }

.drawer__foot {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem 0.5rem;
  border-top: 1px solid var(--line);
}

.drawer__foot .label { line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .drawer__panel { transform: none; }
  .drawer .drawer__nav a { opacity: 1; transform: none; }
}

/* ---------- Botones pildora ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 1.05em 1.75em;
  border-radius: var(--r-pill);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--yellow);
  color: var(--on-yellow);
  border: 1px solid transparent;
  box-shadow: var(--clay-yellow);
  transition:
    transform var(--t-press) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out),
    background var(--t-ui) var(--ease-out),
    color var(--t-ui) var(--ease-out),
    border-color var(--t-ui) var(--ease-out);
}

/* Al pulsar, la pieza se hunde: se comprime la sombra exterior */
.btn:active {
  transform: scale(0.97);
  box-shadow:
    0 6px 14px -10px rgba(140, 126, 0, 0.5),
    inset -4px -5px 10px rgba(120, 108, 0, 0.32),
    inset 5px 6px 10px rgba(255, 255, 255, 0.34);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ivory); }
}

.btn--sm { padding: 0.8em 1.3em; }

.btn--ghost {
  background: var(--surface-2);
  color: var(--fg);
  border-color: var(--line-strong);
  box-shadow: var(--clay-sm);
}

.btn--ghost:active {
  box-shadow:
    0 4px 10px -8px rgba(0, 0, 0, 0.8),
    inset -3px -4px 8px rgba(0, 0, 0, 0.4),
    inset 3px 4px 8px rgba(248, 246, 239, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: var(--surface-3); color: var(--yellow); border-color: var(--yellow); }
}

.btn--dark {
  background: var(--carbon);
  color: var(--ivory);
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow:
    0 18px 34px -16px rgba(0, 0, 0, 0.6),
    inset -5px -7px 14px rgba(0, 0, 0, 0.5),
    inset 6px 8px 14px rgba(248, 246, 239, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #262623; }
}

.btn__arrow { width: 1.05em; height: 1.05em; flex: none; transition: transform 260ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--clay-sm);
  display: grid;
  place-items: center;
  color: var(--fg);
  flex: none;
  transition:
    background var(--t-ui) var(--ease-out),
    color var(--t-ui) var(--ease-out),
    transform var(--t-press) var(--ease-out);
}

.arrow-btn svg { width: 15px; height: 15px; transition: transform 280ms var(--ease-out); }
.arrow-btn:active { transform: scale(0.94); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em 1.1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  transition:
    color var(--t-ui) var(--ease-out),
    border-color var(--t-ui) var(--ease-out),
    background var(--t-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--yellow); border-color: var(--yellow); background: var(--surface-2); }
  .on-yellow .link:hover { color: var(--on-yellow); border-color: var(--on-yellow); background: transparent; }
}

.on-yellow .link { border-color: rgba(11, 11, 11, 0.35); }

/* ---------- Filas: al pasar el cursor la fila se vuelve tarjeta ---------- */
.rows { display: grid; }

.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1rem, 2.4vw, 1.9rem);
  border-radius: var(--r-card);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition:
    background var(--t-ui) var(--ease-out),
    border-color var(--t-ui) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-out);
}

.row + .row { margin-top: 0.4rem; }

.row::after {
  content: '';
  position: absolute;
  left: clamp(1rem, 2.4vw, 1.9rem);
  right: clamp(1rem, 2.4vw, 1.9rem);
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.row:last-child::after { display: none; }

.row__body { display: grid; gap: 0.65rem; }
.row__body p { color: var(--fg-soft); font-size: var(--fs-sm); line-height: 1.6; max-width: 56ch; }

.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; padding-top: 0.2rem; }

.row__meta span {
  padding: 0.35em 0.85em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--fg-faint);
}

.row__end { display: flex; align-items: center; }

@media (hover: hover) and (pointer: fine) {
  a.row:hover {
    background: linear-gradient(176deg, var(--surface-2), var(--surface));
    border-color: var(--line);
    box-shadow: var(--clay-sm);
    transform: translateY(-2px);
  }
  a.row:hover::after { opacity: 0; }
  a.row:hover h3 { color: var(--yellow); }
  a.row:hover .arrow-btn { background: var(--yellow); color: var(--on-yellow); }
  a.row:hover .arrow-btn svg { transform: translateX(3px); }
}

a.row:active { transform: scale(0.995); }
a.row h3 { transition: color var(--t-ui) var(--ease-out); }

@media (max-width: 600px) {
  .row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.1rem; }
  .row__end { justify-self: end; }
  .arrow-btn { width: 42px; height: 42px; }
}

/* ---------- Tabla de horarios ---------- */
.schedule-wrap {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--r-card);
  background: linear-gradient(176deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--clay);
}

.schedule caption {
  text-align: left;
  padding-bottom: 1.1rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}

.schedule th,
.schedule td {
  text-align: left;
  padding: clamp(0.8rem, 1.7vw, 1.1rem) 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  transition: background var(--t-ui) var(--ease-out);
}

.schedule th:first-child,
.schedule td:first-child { padding-left: 0.2rem; }
.schedule th:last-child,
.schedule td:last-child { padding-right: 0.2rem; }

.schedule thead th {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-block: 0.6rem;
}

.schedule tbody th {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 7.5rem;
}

.schedule tr:last-child th,
.schedule tr:last-child td { border-bottom: 0; }

@media (hover: hover) and (pointer: fine) {
  .schedule tbody tr:hover th,
  .schedule tbody tr:hover td { background: rgba(248, 246, 239, 0.035); }
}

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

.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  padding: 0.42em 0.95em;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(248, 246, 239, 0.05);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.slot--hl {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* ---------- Acordeon ---------- */
.acc { display: grid; gap: 0.5rem; }

.acc__item {
  border-radius: var(--r-inner);
  border: 1px solid transparent;
  transition: background var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}

.acc__item:has(.acc__btn[aria-expanded='true']) {
  background: linear-gradient(176deg, var(--surface-2), var(--surface));
  border-color: var(--line);
  box-shadow: var(--clay-sm);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.05rem, 2.2vw, 1.4rem) clamp(0.85rem, 2vw, 1.4rem);
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color var(--t-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .acc__btn:hover { color: var(--yellow); }
}

.acc__sign { position: relative; width: 13px; height: 13px; flex: none; color: var(--yellow); }

.acc__sign::before,
.acc__sign::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: var(--r-pill);
  background: currentColor;
  transition: transform 280ms var(--ease-out);
}

.acc__sign::after { transform: rotate(90deg); }
.acc__btn[aria-expanded='true'] .acc__sign::after { transform: rotate(0deg); }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded='true'] + .acc__panel { grid-template-rows: 1fr; }

.acc__panel p {
  padding: 0 clamp(0.85rem, 2vw, 1.4rem) 1.5rem;
  color: var(--fg-soft);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ---------- Formulario: los campos se hunden en la superficie ---------- */
.form { display: grid; gap: 1.5rem; }

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

.field > label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95em 1.15em;
  border-radius: var(--r-input);
  background: #0c0c0b;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: var(--fs-sm);
  box-shadow: inset 2px 3px 8px rgba(0, 0, 0, 0.55), inset -1px -1px 0 rgba(248, 246, 239, 0.03);
  transition: border-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out);
}

.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #8b8b84; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--yellow);
  outline-offset: 2px;
  box-shadow: inset 2px 3px 8px rgba(0, 0, 0, 0.55);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-faint) 50%),
    linear-gradient(135deg, var(--fg-faint) 50%, transparent 50%);
  background-position: calc(100% - 1.4rem) 52%, calc(100% - 1.1rem) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.9rem;
}

.field--2 { display: grid; gap: 1.5rem; }

@media (min-width: 620px) { .field--2 { grid-template-columns: 1fr 1fr; } }

.choice { display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; }

.choice input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: inline-flex;
  padding: 0.7em 1.2em;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
  color: var(--fg-soft);
  box-shadow: var(--clay-sm);
  transition:
    border-color var(--t-ui) var(--ease-out),
    color var(--t-ui) var(--ease-out),
    background var(--t-ui) var(--ease-out),
    transform var(--t-press) var(--ease-out);
}

.choice label:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .choice label:hover { border-color: var(--line-strong); color: var(--fg); }
}

.choice input:checked + label {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
  box-shadow: var(--clay-yellow);
}

.choice input:focus-visible + label { outline: 2px solid var(--yellow); outline-offset: 3px; }

.form__note { font-size: var(--fs-micro); letter-spacing: 0.04em; color: var(--fg-faint); line-height: 1.6; max-width: 46ch; }

.form__error {
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--yellow);
  min-height: 1.2em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--yellow); }

.field__msg { font-size: var(--fs-micro); letter-spacing: 0.05em; color: var(--yellow); display: none; }
.field.has-error .field__msg { display: block; }

/* ---------- Marquesina ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: clamp(0.85rem, 1.7vw, 1.2rem);
  border-bottom: 1px solid rgba(11, 11, 11, 0.22);
  user-select: none;
}

.marquee__track {
  display: flex;
  flex: none;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-right: clamp(1.75rem, 4vw, 3.5rem);
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee span {
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--on-yellow);
}

.marquee span:nth-child(even) { font-weight: 400; opacity: 0.5; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { justify-content: center; }
  .marquee__track:last-child { display: none; }
}

/* ---------- Pie ---------- */
.site-foot {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.foot-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }

@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.foot-col { display: grid; gap: 0.85rem; align-content: start; }
.foot-col ul { display: grid; gap: 0.6rem; }

.foot-col a {
  font-size: var(--fs-sm);
  color: var(--fg-soft);
  text-decoration: none;
  width: fit-content;
  transition: color var(--t-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) { .foot-col a:hover { color: var(--yellow); } }

.foot-bar {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Barra fija de reserva (movil) ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: var(--frame);
  width: min(100% - (var(--frame) * 2), 1480px);
  translate: -50% 0;
  z-index: 50;
  display: flex;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--yellow);
  box-shadow: var(--clay-yellow);
  transform: translateY(calc(100% + var(--frame) + 4px));
  transition: transform 380ms var(--ease-out);
}

.sticky-cta.is-in { transform: none; }

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05em 1rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-yellow);
}

.sticky-cta a:active { background: var(--yellow-deep); }
.sticky-cta a.is-alt { background: var(--carbon); color: var(--yellow); }

@media (min-width: 1040px) { .sticky-cta { display: none; } }
@media (max-width: 1039px) { .site-foot { padding-bottom: 6rem; } }

/* ---------- Enlace de salto ---------- */
.skip {
  position: fixed;
  top: var(--frame);
  left: var(--frame);
  z-index: 100;
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 0.85em 1.25em;
  border-radius: var(--r-pill);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 220ms var(--ease-out);
}

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