:root {
  --hueso: #f4efe8;
  --papel: #fbf8f3;
  --arena: #eae2d6;
  --linea: #ddd3c4;
  --tinta: #1f2620;
  --tinta2: #475046;
  --tinta3: #646c61;
  --terra: #b4532f;
  --terra-osc: #8f3f22;
  --terra-bg: #f3dfd3;
  --salvia: #566b4e;
  --salvia-bg: #e1e8da;
  --alerta: #a23b2a;
  --alerta-bg: #f6dcd5;
  --sombra: 0 1px 2px rgba(31, 38, 32, 0.06), 0 8px 24px rgba(31, 38, 32, 0.07);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
  --tab: 72px;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--hueso);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
  border-radius: 8px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}

/* Marco de la app */
#raiz {
  position: relative;
  height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--hueso);
}
@media (min-width: 700px) {
  body {
    background: #d9d0c1;
  }
  #raiz {
    height: min(100dvh - 48px, 880px);
    margin-top: 24px;
    max-width: 410px;
    border-radius: 36px;
    box-shadow: 0 30px 80px rgba(31, 38, 32, 0.25);
  }
}
.marco #raiz {
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}
.vista {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: calc(env(safe-area-inset-top) + 20px) 20px calc(var(--tab) + 28px + env(safe-area-inset-bottom));
  animation: entra 0.28s ease both;
  scrollbar-width: none;
}
.vista::-webkit-scrollbar {
  display: none;
}
.marco .vista {
  padding-top: 56px;
}
.vista.sin-tab {
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}
.vista.ancha {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}
@keyframes entra {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Barra de pestañas */
.tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tab) + env(safe-area-inset-bottom));
  padding: 8px 12px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--linea);
  z-index: 10;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tinta3);
  min-height: 56px;
  border-radius: 14px;
  position: relative;
}
.tab svg {
  width: 24px;
  height: 24px;
}
.tab[aria-current='page'] {
  color: var(--terra-osc);
}
.tab[aria-current='page']::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--terra);
}
.tab i {
  position: absolute;
  top: 4px;
  left: calc(50% + 6px);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--terra);
  color: #fff;
  font: 700 11px/18px var(--sans);
  text-align: center;
  font-style: normal;
}

/* Tipos y piezas */
.kick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tinta3);
}
.t1 {
  font-size: 34px;
}
.t2 {
  font-size: 24px;
}
.t3 {
  font-size: 19px;
}
.muted {
  color: var(--tinta2);
}
.chico {
  font-size: 13.5px;
  color: var(--tinta2);
}
.num {
  font-variant-numeric: tabular-nums;
}
.cab {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.cab p {
  margin: 6px 0 0;
  color: var(--tinta2);
}
.ic-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--papel);
  border: 1px solid var(--linea);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
}
.ic-btn svg {
  width: 21px;
  height: 21px;
}
.ic-btn .pt {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 9px;
  height: 9px;
  background: var(--terra);
  border-radius: 50%;
  border: 2px solid var(--papel);
  box-sizing: content-box;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 16px;
  background: var(--tinta);
  color: var(--hueso);
  transition: transform 0.12s, background 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn.terra {
  background: var(--terra);
  color: #fff;
}
.btn.suave {
  background: var(--arena);
  color: var(--tinta);
}
.btn.linea {
  background: transparent;
  border: 1.5px solid var(--tinta);
  color: var(--tinta);
}
.btn.peligro {
  background: var(--alerta);
  color: #fff;
}
.btn.g {
  width: 100%;
}
.btn.s {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14.5px;
}
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}
.btn .spin {
  width: 18px;
  height: 18px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 2px 20px 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1.5px solid var(--linea);
  background: var(--papel);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tinta2);
}
.chip[aria-pressed='true'] {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--hueso);
}
.chip svg {
  width: 16px;
  height: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--arena);
  color: var(--tinta2);
}
.pill.ok {
  background: var(--salvia-bg);
  color: var(--salvia);
}
.pill.terra {
  background: var(--terra-bg);
  color: var(--terra-osc);
}
.pill.mal {
  background: var(--alerta-bg);
  color: var(--alerta);
}
.seccion {
  margin-top: 32px;
}
.seccion-cab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.link {
  color: var(--terra-osc);
  font-weight: 700;
  font-size: 14.5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Inicio */
.saludo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.logo-p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.logo-p i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--terra);
  display: inline-flex;
  gap: 3.5px;
  align-items: center;
  justify-content: center;
}
.logo-p i b {
  width: 3.5px;
  height: 12px;
  background: var(--hueso);
  border-radius: 2px;
}
.prox {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: #3a3f36;
  isolation: isolate;
}
.prox > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.prox::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 24, 18, 0.88) 0%, rgba(20, 24, 18, 0.35) 55%, rgba(20, 24, 18, 0.05) 100%);
}
.prox .kick {
  color: rgba(255, 255, 255, 0.82);
}
.prox h2 {
  font-size: 30px;
  margin: 6px 0 4px;
}
.prox p {
  margin: 0;
  opacity: 0.9;
  font-size: 15px;
}
.prox .fila {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.prox .btn {
  background: var(--hueso);
  color: var(--tinta);
}
.prox .btn.vidrio {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.credito {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 16px 18px;
}
.anillo {
  width: 56px;
  height: 56px;
  flex: none;
  position: relative;
}
.anillo svg {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
}
.anillo b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 600 19px var(--serif);
}
.credito > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.credito strong {
  display: block;
  font-size: 16px;
}
.hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 0 20px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar {
  display: none;
}
.mini {
  flex: none;
  width: 164px;
  scroll-snap-align: start;
  text-align: left;
}
.mini .foto {
  position: relative;
  height: 206px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--arena);
}
.mini .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini .hora {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(251, 248, 243, 0.94);
  border-radius: 12px;
  padding: 3px 10px;
  font-weight: 700;
  font-size: 14px;
}
.mini h3 {
  font-size: 17px;
  margin: 10px 0 2px;
}
.disc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.disc {
  position: relative;
  height: 128px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  text-align: left;
  isolation: isolate;
  background: #3a3f36;
}
.disc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.disc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 18, 0.88), rgba(20, 24, 18, 0.15) 75%);
  z-index: -1;
}
.disc b {
  font: 500 21px var(--serif);
  display: block;
}
.disc span {
  font-size: 12.5px;
  opacity: 0.9;
}
.sede-fila {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  min-height: 72px;
}
.sede-fila img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
}
.sede-fila + .sede-fila {
  border-top: 1px solid var(--linea);
}
.promo {
  margin-top: 32px;
  border-radius: 24px;
  background: var(--terra);
  color: #fff;
  padding: 22px;
}
.promo h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.promo p {
  margin: 0 0 16px;
  opacity: 0.92;
}
.promo .btn {
  background: var(--hueso);
  color: var(--terra-osc);
}

/* Clases */
.dias {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 18px -20px 0;
  padding: 2px 20px 4px;
  scrollbar-width: none;
}
.dias::-webkit-scrollbar {
  display: none;
}
.dia {
  flex: none;
  width: 56px;
  height: 76px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1.5px solid var(--linea);
  background: var(--papel);
  color: var(--tinta2);
}
.dia small {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dia b {
  font: 500 22px var(--serif);
  color: var(--tinta);
}
.dia[aria-pressed='true'] {
  background: var(--tinta);
  border-color: var(--tinta);
  color: rgba(244, 239, 232, 0.75);
}
.dia[aria-pressed='true'] b {
  color: var(--hueso);
}
.dia i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
}
.barra-f {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.barra-f .chips {
  flex: 1;
  min-width: 0;
  margin-right: -20px;
}
.lista {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fila-c {
  display: grid;
  grid-template-columns: 56px 1fr 84px;
  gap: 14px;
  align-items: center;
  text-align: left;
  width: 100%;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 20px;
  padding: 12px 12px 12px 16px;
  min-height: 96px;
  transition: transform 0.12s, box-shadow 0.15s;
}
.fila-c:active {
  transform: scale(0.985);
}
.fila-c .h {
  font: 600 20px var(--serif);
  line-height: 1;
}
.fila-c .h small {
  display: block;
  font: 500 12.5px var(--sans);
  color: var(--tinta3);
  margin-top: 4px;
}
.fila-c h3 {
  font-size: 18px;
}
.fila-c .meta {
  font-size: 13.5px;
  color: var(--tinta2);
  margin-top: 3px;
}
.fila-c img {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  object-fit: cover;
}
.cupo {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 6px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.cupo::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--salvia);
}
.cupo.poco {
  color: var(--terra-osc);
}
.cupo.poco::before {
  background: var(--terra);
}
.cupo.lleno {
  color: var(--tinta3);
}
.cupo.lleno::before {
  background: var(--tinta3);
}
.cupo.ok {
  color: var(--salvia);
}
.vacio {
  text-align: center;
  padding: 48px 12px;
}
.vacio .ic {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: var(--arena);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.vacio .ic svg {
  width: 28px;
  height: 28px;
  color: var(--tinta2);
}
.vacio h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.vacio p {
  color: var(--tinta2);
  margin: 0 auto 20px;
  max-width: 28ch;
}
.sk {
  background: linear-gradient(90deg, var(--arena) 25%, #f1eadf 50%, var(--arena) 75%);
  background-size: 200% 100%;
  animation: brillo 1.3s infinite linear;
  border-radius: 12px;
}
@keyframes brillo {
  to {
    background-position: -200% 0;
  }
}
.sk-fila {
  height: 96px;
  border-radius: 20px;
}

/* Detalle */
.hero {
  position: relative;
  height: 400px;
  background: var(--arena);
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 24, 18, 0.32), rgba(20, 24, 18, 0) 30%);
}
.hero .ic-btn {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 14px);
  z-index: 2;
  background: rgba(251, 248, 243, 0.92);
  border: 0;
}
.marco .hero .ic-btn {
  top: 54px;
}
.hero .atras {
  left: 16px;
}
.hero .fav {
  right: 16px;
}
.hoja-det {
  position: relative;
  margin-top: -28px;
  background: var(--hueso);
  border-radius: 28px 28px 0 0;
  padding: 26px 20px 0;
  z-index: 1;
}
.datos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
  border-radius: 18px;
  overflow: hidden;
  margin: 20px 0;
}
.datos > div {
  background: var(--papel);
  padding: 14px 16px;
}
.datos small {
  display: block;
  color: var(--tinta3);
  font-size: 12.5px;
  font-weight: 600;
}
.datos b {
  font-size: 15.5px;
}
.prof {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  margin: 20px 0;
}
.av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terra-bg);
  color: var(--terra-osc);
  font: 600 18px var(--serif);
  display: grid;
  place-items: center;
  flex: none;
}
.lista-i {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lista-i li {
  display: flex;
  gap: 12px;
  color: var(--tinta2);
  font-size: 15px;
}
.lista-i svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--salvia);
  margin-top: 1px;
}
.cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--linea);
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta > div {
  flex: none;
  line-height: 1.2;
}
.cta > div b {
  font: 600 19px var(--serif);
  display: block;
}
.cta .btn {
  flex: 1;
}

/* Hoja inferior */
.velo {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 18, 0.5);
  z-index: 40;
  animation: aparece 0.2s ease both;
}
@keyframes aparece {
  from {
    opacity: 0;
  }
}
.hoja {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92%;
  overflow-y: auto;
  background: var(--papel);
  border-radius: 28px 28px 0 0;
  z-index: 41;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  animation: sube 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes sube {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
.hoja .asa {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--linea);
  margin: 0 auto 16px;
}
.hoja h2 {
  font-size: 26px;
  margin-bottom: 6px;
}
.salon {
  margin: 18px 0 8px;
  background: var(--hueso);
  border: 1px solid var(--linea);
  border-radius: 20px;
  padding: 16px 12px 14px;
}
.salon .ventana {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinta3);
  border-bottom: 2px dashed var(--linea);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.spots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.spot {
  height: 64px;
  border-radius: 14px;
  border: 1.5px solid var(--tinta2);
  background: var(--papel);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 17px;
}
.spot small {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tinta3);
}
.spot[disabled] {
  background: repeating-linear-gradient(45deg, var(--arena), var(--arena) 5px, #e3dacc 5px, #e3dacc 10px);
  border-color: var(--linea);
  color: var(--tinta3);
}
.spot[aria-pressed='true'] {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}
.spot[aria-pressed='true'] small {
  color: rgba(255, 255, 255, 0.85);
}
.leyenda {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--tinta2);
  margin-top: 14px;
  justify-content: center;
}
.leyenda i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  vertical-align: -1px;
  margin-right: 5px;
  border: 1.5px solid var(--tinta2);
}
.resumen {
  border: 1px solid var(--linea);
  border-radius: 18px;
  background: var(--hueso);
  margin: 16px 0;
}
.resumen > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-size: 15px;
}
.resumen > div + div {
  border-top: 1px solid var(--linea);
}
.resumen span:first-child {
  color: var(--tinta2);
}
.resumen b {
  text-align: right;
}
.aviso {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--terra-bg);
  color: var(--terra-osc);
  font-size: 14px;
  margin: 12px 0;
}
.aviso.ok {
  background: var(--salvia-bg);
  color: var(--salvia);
}
.aviso.mal {
  background: var(--alerta-bg);
  color: var(--alerta);
}
.aviso svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.exito {
  text-align: center;
  padding: 12px 0 4px;
}
.tilde {
  width: 76px;
  height: 76px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: var(--salvia-bg);
  display: grid;
  place-items: center;
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.tilde svg {
  width: 38px;
  height: 38px;
  color: var(--salvia);
}
.tilde path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: trazo 0.5s 0.25s ease forwards;
}
@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
@keyframes trazo {
  to {
    stroke-dashoffset: 0;
  }
}

/* Packs y pago */
.pack {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px;
  border-radius: 22px;
  background: var(--papel);
  border: 1.5px solid var(--linea);
  position: relative;
  min-height: 96px;
}
.pack + .pack {
  margin-top: 12px;
}
.pack .n {
  font: 500 38px/1 var(--serif);
  width: 52px;
  text-align: center;
}
.pack .n small {
  display: block;
  font: 600 11px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tinta3);
  margin-top: 2px;
}
.pack > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.pack b {
  font-size: 17px;
}
.pack .pr {
  font: 600 19px var(--serif);
  white-space: nowrap;
}
.pack.dest {
  border-color: var(--terra);
  background: #fdf5ee;
}
.pack .cinta {
  position: absolute;
  top: -11px;
  left: 18px;
}
.campo {
  margin-bottom: 16px;
}
.campo label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--linea);
  background: var(--papel);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 4px rgba(180, 83, 47, 0.14);
}
.campo.mal .input {
  border-color: var(--alerta);
}
.campo .err {
  display: none;
  color: var(--alerta);
  font-size: 13.5px;
  margin-top: 6px;
  font-weight: 500;
}
.campo.mal .err {
  display: block;
}
.fila2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.medios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.medio {
  min-height: 64px;
  border-radius: 16px;
  border: 1.5px solid var(--linea);
  background: var(--papel);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.medio svg {
  width: 22px;
  height: 22px;
}
.medio[aria-pressed='true'] {
  border-color: var(--terra);
  background: #fdf5ee;
  color: var(--terra-osc);
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--linea);
  margin-top: 8px;
}
.total b {
  font: 600 26px var(--serif);
}

/* Reservas, perfil, avisos */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--arena);
  border-radius: 24px;
  padding: 4px;
  margin-bottom: 20px;
}
.seg button {
  min-height: 44px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--tinta2);
}
.seg button[aria-pressed='true'] {
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 1px 3px rgba(31, 38, 32, 0.12);
}
.res {
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
}
.res-top {
  display: flex;
  gap: 14px;
  padding: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.res-top img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  flex: none;
}
.res-top h3 {
  font-size: 19px;
}
.res-pie {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}
.res-pie .btn {
  flex: 1;
}
.perfil-cab {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.perfil-cab .av {
  width: 68px;
  height: 68px;
  font-size: 26px;
}
.plan {
  background: var(--tinta);
  color: var(--hueso);
  border-radius: 24px;
  padding: 20px;
}
.plan .kick {
  color: rgba(244, 239, 232, 0.7);
}
.plan strong {
  display: block;
  font: 500 32px var(--serif);
  margin: 4px 0 12px;
}
.barra-p {
  height: 8px;
  background: rgba(244, 239, 232, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.barra-p i {
  display: block;
  height: 100%;
  background: #e0805a;
  border-radius: 4px;
}
.plan .btn {
  margin-top: 16px;
  background: var(--hueso);
  color: var(--tinta);
}
.menu {
  margin-top: 24px;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 22px;
  overflow: hidden;
}
.menu-i {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  text-align: left;
  font-weight: 600;
}
.menu-i + .menu-i,
.menu .sw-fila + .sw-fila,
.menu-i + .sw-fila,
.sw-fila + .menu-i {
  border-top: 1px solid var(--linea);
}
.menu-i svg {
  width: 22px;
  height: 22px;
  color: var(--tinta2);
  flex: none;
}
.menu-i em {
  margin-left: auto;
  font-style: normal;
  font-weight: 500;
  color: var(--tinta3);
  font-size: 14.5px;
}
.sw-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 8px 18px;
}
.sw-fila span small {
  display: block;
  color: var(--tinta3);
  font-weight: 400;
  font-size: 13px;
}
.sw-fila span {
  font-weight: 600;
}
.sw {
  width: 52px;
  height: 32px;
  border-radius: 16px;
  background: #c9bfae;
  position: relative;
  flex: none;
  transition: background 0.2s;
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.sw[aria-checked='true'] {
  background: var(--salvia);
}
.sw[aria-checked='true']::after {
  transform: translateX(20px);
}
.aviso-i {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--linea);
  width: 100%;
  text-align: left;
}
.aviso-i .ic-c {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--arena);
  display: grid;
  place-items: center;
  flex: none;
}
.aviso-i .ic-c svg {
  width: 21px;
  height: 21px;
}
.aviso-i.nuevo .ic-c {
  background: var(--terra-bg);
  color: var(--terra-osc);
}
.aviso-i b {
  display: block;
}
.aviso-i small {
  color: var(--tinta3);
  font-size: 12.5px;
}
.aviso-i p {
  margin: 2px 0 3px;
  color: var(--tinta2);
  font-size: 14.5px;
}
.nuevo-p {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
  margin-top: 8px;
}

/* Bienvenida */
.bienv {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #20261f;
  color: #fff;
}
.slides {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar {
  display: none;
}
.slide {
  flex: none;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 24px;
  isolation: isolate;
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 22, 17, 0.95) 0%, rgba(18, 22, 17, 0.6) 40%, rgba(18, 22, 17, 0) 70%), linear-gradient(to bottom, rgba(18, 22, 17, 0.55), rgba(18, 22, 17, 0) 22%);
}
.slide h1 {
  font-size: 40px;
  margin: 8px 0 12px;
}
.slide p {
  margin: 0;
  font-size: 17px;
  opacity: 0.9;
  max-width: 30ch;
}
.bienv-pie {
  padding: 18px 24px calc(22px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #20261f;
}
.puntos {
  display: flex;
  gap: 8px;
}
.puntos i {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s, background 0.25s;
}
.puntos i.on {
  width: 26px;
  background: #e0805a;
}
.saltar {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 16px);
  right: 16px;
  z-index: 3;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  font-weight: 700;
  background: rgba(20, 24, 18, 0.4);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}
.marco .saltar {
  top: 54px;
}
.bienv .logo-p {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 20px);
  left: 24px;
  z-index: 3;
  color: #fff;
}
.marco .bienv .logo-p {
  top: 58px;
}

/* Aviso flotante */
.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(var(--tab) + 16px + env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--tinta);
  color: var(--hueso);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: sube 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.toast.alto {
  bottom: 100px;
}
.toast svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: #9fc08f;
}
.toast.mal svg {
  color: #f0907a;
}
.toast small {
  display: block;
  font-weight: 400;
  opacity: 0.8;
}
.qr {
  width: 200px;
  height: 200px;
  margin: 12px auto 4px;
  display: block;
}
.spin {
  animation: gira 0.8s linear infinite;
}
@keyframes gira {
  to {
    transform: rotate(360deg);
  }
}
@media (hover: hover) {
  .fila-c:hover,
  .pack:hover {
    box-shadow: var(--sombra);
  }
  .chip:hover,
  .medio:hover {
    border-color: var(--tinta2);
  }
}

.credito .chico{display:block;line-height:1.3;margin-top:2px}

.marco .tabs{padding-bottom:20px;height:calc(var(--tab) + 20px)}
.marco .cta{padding-bottom:34px}
.marco .vista{padding-bottom:calc(var(--tab) + 56px)}
.marco .vista.sin-tab{padding-bottom:140px}
.marco .toast{bottom:calc(var(--tab) + 40px)}
