/* ==========================================================
   BrasApp — landing
   Paleta tomada de la app:
   brasa  #F26C0D  · brasa-soft #FDECDF · hueso #F8F8F5
   tinta  #171B2D  · gris #6B7080       · mp #009EE3
   ========================================================== */

:root {
  --brasa: #F26C0D;
  --brasa-hover: #D95C05;
  --brasa-soft: #FDECDF;
  --brasa-line: #F8CFAF;
  --hueso: #F8F8F5;
  --blanco: #FFFFFF;
  --tinta: #171B2D;
  --tinta-2: #23283F;
  --gris: #6B7080;
  --linea: #E7E6E1;
  --ok: #16A34A;
  --mp: #009EE3;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--hueso);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brasa);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brasa); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--brasa); color: #fff; border: 0; border-radius: 999px;
  transition: background-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--brasa-hover); }
.btn:active { transform: scale(.98); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--big { padding: 16px 30px; font-size: 17px; box-shadow: 0 10px 28px -10px rgba(242, 108, 13, .7); }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.pill--dark { background: rgba(242, 108, 13, .14); color: #FFB27A; border: 1px solid rgba(242, 108, 13, .35); }
.pill--mp { background: #E3F4FC; color: #0077AD; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav.is-solid {
  background: rgba(23, 27, 45, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav__links a:hover { color: #fff; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo__mark { width: 32px; height: 32px; }
.logo__mark rect { fill: var(--brasa); }
.logo__mark path { fill: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--tinta);
  color: #fff;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 0;
}

/* Parrilla: varillas diagonales que se desvanecen hacia arriba */
.hero__grill {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      100deg,
      transparent 0 34px,
      rgba(255, 255, 255, .045) 34px 38px
    );
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  mask-image: linear-gradient(to top, #000 10%, transparent 75%);
}
.hero__ember {
  position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 520px; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(242, 108, 13, .55), rgba(242, 108, 13, .18) 55%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end;
}
.hero__copy { padding-bottom: 120px; max-width: 34rem; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 6.4vw, 76px);
  letter-spacing: -0.045em;
  line-height: .98;
}
.hero__lead { margin-top: 24px; font-size: 19px; color: rgba(255,255,255,.74); max-width: 30rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22); color: #fff;
  background: rgba(255,255,255,.04);
}
.store svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.15; }
.store small { font-weight: 500; font-size: 11px; color: rgba(255,255,255,.6); }

.hero__phones {
  position: relative; height: 640px;
  display: flex; justify-content: center; align-items: flex-end;
}

/* ---------- Teléfono ---------- */
.phone {
  margin: 0;
  width: 280px;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  padding: 9px;
  background: #0E1120;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,.08) inset,
    0 40px 80px -30px rgba(0, 0, 0, .55);
  overflow: hidden;
  flex-shrink: 0;
}
.phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 33px;
  background: var(--hueso);
}

.hero .phone--front {
  position: relative; z-index: 2;
  transform: translate(-40px, 70px) rotate(-4deg);
  animation: rise-front 1s cubic-bezier(.2,.8,.2,1) both .1s;
}
.hero .phone--back {
  position: absolute; z-index: 1;
  width: 250px;
  right: 0; bottom: 40px;
  transform: rotate(6deg);
  opacity: .92;
  animation: rise-back 1.1s cubic-bezier(.2,.8,.2,1) both .25s;
}

@keyframes rise-front {
  from { transform: translate(-40px, 240px) rotate(-4deg); opacity: 0; }
  to   { transform: translate(-40px, 70px) rotate(-4deg); opacity: 1; }
}
@keyframes rise-back {
  from { transform: translateY(200px) rotate(6deg); opacity: 0; }
  to   { transform: translateY(0) rotate(6deg); opacity: .92; }
}

/* ---------- Intro ---------- */
.intro { padding-block: clamp(80px, 11vw, 140px) clamp(40px, 6vw, 72px); }
.intro__text {
  max-width: 46rem;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--tinta);
}

/* ---------- Secciones ---------- */
.flow h2, .vaquita h2, .pagos h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-lead { margin-top: 16px; color: var(--gris); font-size: 18px; max-width: 34rem; }

/* ---------- Cómo funciona ---------- */
.flow { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); overflow: hidden; }
.flow__grid {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.flow__steps { display: flex; flex-direction: column; gap: 4px; }

.step {
  display: flex; gap: 18px; align-items: flex-start; text-align: left;
  width: 100%; padding: 20px 22px;
  font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 0; border-radius: var(--r-md);
  transition: background-color .2s ease;
}
.step:hover { background: rgba(242, 108, 13, .05); }
.step__n {
  flex-shrink: 0; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-weight: 800; font-size: 16px;
  color: var(--gris); border: 1.5px solid var(--linea); background: var(--blanco);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.step__body { display: flex; flex-direction: column; gap: 4px; }
.step__body strong { font-size: 20px; letter-spacing: -0.02em; }
.step__body span { color: var(--gris); font-size: 16px; max-width: 32rem; }

.step.is-active { background: var(--blanco); box-shadow: 0 1px 0 var(--linea), 0 14px 30px -20px rgba(23, 27, 45, .25); }
.step.is-active .step__n { background: var(--brasa); color: #fff; border-color: var(--brasa); }

.flow__stage {
  position: relative; display: flex; justify-content: center;
}
.flow__stage::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(420px, 115%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: var(--brasa-soft); border-radius: 50%;
  z-index: 0;
}
.phone--stage { position: relative; z-index: 1; width: 300px; }
.phone--stage img { transition: opacity .25s ease; }
.phone--stage img.is-swapping { opacity: 0; }

/* ---------- Calculadora de asado ---------- */
.carne { padding-bottom: clamp(80px, 10vw, 128px); }
.carne__panel {
  position: relative; overflow: hidden;
  background: var(--tinta); color: #fff;
  border-radius: 36px;
  padding: clamp(28px, 5vw, 64px);
}
.carne__grill {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 15% 110%, rgba(242,108,13,.4), transparent 70%),
    repeating-linear-gradient(100deg, transparent 0 34px, rgba(255,255,255,.04) 34px 38px);
}
.carne__head, .carne__grid, .carne__foot { position: relative; }
.carne__head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.carne__head p { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.72); max-width: 34rem; }

.carne__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 5vw, 64px); align-items: start;
}

.carne__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.carne__group + .carne__group { margin-top: 36px; }
.carne__group legend { padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 18px; }

.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.counter label { font-weight: 700; font-size: 18px; display: flex; flex-direction: column; line-height: 1.25; }
.counter small { font-weight: 500; font-size: 14px; color: rgba(255,255,255,.55); }
.counter__ctrl {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 4px;
}
.counter__ctrl button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(242,108,13,.18); color: #FFB27A; font-size: 22px; font-weight: 700; line-height: 1;
}
.counter__ctrl button:hover { background: var(--brasa); color: #fff; }
.counter__ctrl input {
  width: 56px; text-align: center; font: inherit; font-size: 20px; font-weight: 800; color: #fff;
  background: transparent; border: 0; padding: 0; -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.counter__ctrl input::-webkit-outer-spin-button,
.counter__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.counter__ctrl input:focus { outline: none; }
.counter__ctrl:focus-within { border-color: var(--brasa); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8);
  font-weight: 700; font-size: 16px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip span::before {
  content: ""; width: 18px; height: 18px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.4); background: transparent center / 12px no-repeat;
}
.chip input:checked + span { background: var(--brasa); border-color: var(--brasa); color: #fff; }
.chip input:checked + span::before {
  border-color: #fff; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26C0D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.chip input:focus-visible + span { outline: 3px solid #FFB27A; outline-offset: 3px; }
.carne__hint { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.6); }

/* Ticket de carnicería */
.ticket {
  background: var(--blanco); color: var(--tinta);
  border-radius: 22px 22px 4px 4px;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  position: relative;
}
.ticket::after {
  /* borde dentado abajo, como un ticket */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 8px 0, var(--blanco) 7px, transparent 7.5px) 0 0 / 16px 10px repeat-x;
}
.ticket__title { font-size: 15px; font-weight: 700; color: var(--gris); letter-spacing: 0; }
.ticket__main { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ticket__main strong { font-size: clamp(48px, 6vw, 64px); letter-spacing: -0.045em; line-height: 1; color: var(--brasa); font-variant-numeric: tabular-nums; }
.ticket__main strong.is-bump { animation: bump .35s ease; }
.ticket__main span { font-size: 20px; font-weight: 700; }
.ticket__note { margin-top: 10px; font-size: 15px; color: var(--gris); min-height: 1.5em; }

.ticket__list {
  list-style: none; margin: 18px 0 0; padding: 16px 0 0;
  border-top: 1.5px dashed var(--linea);
  display: flex; flex-direction: column; gap: 10px;
}
.ticket__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.ticket__list li span:first-child { color: var(--gris); }
.ticket__list li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ticket__empty { margin-top: 16px; color: var(--gris); font-weight: 600; }

.btn--wa {
  margin-top: 22px; width: 100%; padding: 14px 18px; font-size: 16px;
  background: #1FAF55; border-radius: 14px;
}
.btn--wa:hover { background: #17964A; }
.btn--wa svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.btn--wa[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.carne__foot { margin-top: 36px; font-size: 14px; color: rgba(255,255,255,.5); max-width: 44rem; }

/* ---------- Vaquita ---------- */
.vaquita {
  background: var(--blanco);
  border-block: 1px solid var(--linea);
  padding-block: clamp(80px, 10vw, 128px);
}
.vaquita__grid { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 6vw, 88px); align-items: center; }
.vaquita__note { margin-top: 20px; font-size: 16px; color: var(--gris); }

.calc {
  background: var(--hueso);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--linea);
}
.calc__title { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 18px; }

.calc__add { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; width: 110px; }
.field--grow { flex: 1 1 140px; width: auto; }
.field label { font-size: 13px; font-weight: 600; color: var(--gris); }
.field input {
  font: inherit; font-size: 16px; color: var(--tinta);
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--linea); background: var(--blanco);
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--brasa); box-shadow: 0 0 0 4px rgba(242,108,13,.15); }
.btn--add { padding: 13px 20px; border-radius: var(--r-sm); font-size: 16px; }

.calc__error { width: 100%; color: #C2410C; font-size: 14px; font-weight: 600; }

.calc__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.calc__item {
  display: flex; align-items: center; gap: 12px;
  background: var(--blanco); border-radius: 14px; padding: 12px 12px 12px 16px;
}
.calc__item-name { flex: 1; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.calc__item-amount { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc__remove {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--gris); cursor: pointer;
}
.calc__remove:hover { background: var(--brasa-soft); color: var(--brasa); }
.calc__remove svg { width: 18px; height: 18px; }
.calc__empty { color: var(--gris); font-size: 15px; padding: 8px 2px; }

.calc__people {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--linea);
  font-weight: 700;
}
.stepper { display: flex; align-items: center; gap: 6px; background: var(--blanco); border-radius: 999px; padding: 4px; border: 1px solid var(--linea); }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brasa-soft); color: var(--brasa); font-size: 20px; font-weight: 700; line-height: 1;
}
.stepper button:hover { background: var(--brasa-line); }
.stepper output { min-width: 36px; text-align: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

.calc__result {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.calc__result > div { padding: 16px 18px; border-radius: var(--r-md); background: var(--blanco); }
.calc__result strong { display: block; font-size: 26px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__label { font-size: 13px; font-weight: 600; color: var(--gris); }
.calc__per { background: var(--brasa) !important; color: #fff; }
.calc__per .calc__label { color: rgba(255,255,255,.8); }
.calc__per strong.is-bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }

/* ---------- Pagos ---------- */
.pagos { padding-block: clamp(80px, 10vw, 128px); overflow: hidden; }
.pagos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pagos__phones { display: flex; justify-content: center; position: relative; min-height: 560px; align-items: center; }
.pagos__phones .phone { width: 250px; }
.phone--tilt-l { transform: rotate(-5deg) translateX(30px); z-index: 1; }
.phone--tilt-r { transform: rotate(4deg) translate(-30px, 50px); z-index: 2; }
.pagos__copy h2 { margin-top: 18px; }

.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--tinta); color: #fff;
  padding-block: clamp(88px, 11vw, 140px);
  text-align: center;
}
.cta__grill {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 50% 120%, rgba(242,108,13,.45), transparent 70%),
    repeating-linear-gradient(100deg, transparent 0 34px, rgba(255,255,255,.04) 34px 38px);
}
.cta__inner { position: relative; max-width: 720px; }
.cta h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.04em; }
.cta p { margin: 18px auto 0; color: rgba(255,255,255,.72); font-size: 18px; max-width: 32rem; }

.signup { margin-top: 36px; }
.signup__row {
  display: flex; gap: 8px; max-width: 520px; margin: 0 auto;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 6px; border-radius: 999px;
}
.signup__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; color: #fff;
  background: transparent; border: 0; padding: 0 18px;
}
.signup__row input::placeholder { color: rgba(255,255,255,.5); }
.signup__row input:focus { outline: none; }
.signup__row:focus-within { border-color: var(--brasa); box-shadow: 0 0 0 4px rgba(242,108,13,.25); }
.signup__row.is-invalid { border-color: #FB923C; }

.signup__os {
  border: 0; margin: 20px 0 0; padding: 0;
  display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,.72); font-size: 15px;
}
.signup__os legend { float: left; margin-right: 4px; padding: 0; }
.signup__os label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; font-weight: 600; }
.signup__os input { accent-color: var(--brasa); width: 18px; height: 18px; }

.signup__msg { margin-top: 18px; min-height: 1.6em; font-weight: 600; }
.signup__msg.is-ok { color: #86EFAC; }
.signup__msg.is-error { color: #FDBA74; }

/* ---------- Footer ---------- */
.footer { background: #12152A; color: rgba(255,255,255,.55); padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 24px; max-width: 40rem; }
  .hero__phones { height: 520px; }
  .hero .phone--front { width: 250px; transform: translate(-50px, 60px) rotate(-4deg); }
  .hero .phone--back { width: 220px; right: auto; left: calc(50% + 10px); bottom: 30px; }
  @keyframes rise-front {
    from { transform: translate(-50px, 220px) rotate(-4deg); opacity: 0; }
    to   { transform: translate(-50px, 60px) rotate(-4deg); opacity: 1; }
  }

  .flow__grid, .vaquita__grid, .pagos__grid, .carne__grid { grid-template-columns: minmax(0, 1fr); }
  .flow__stage { order: -1; }
  .pagos__phones { order: 1; min-height: 520px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__inner { height: 64px; }
  .nav .btn--small { margin-left: auto; padding: 9px 16px; font-size: 14px; }
  .nav__cta-long { display: none; }

  .hero { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .hero__lead { font-size: 17px; }
  .hero__phones { height: 440px; }
  .hero .phone--front { width: 210px; border-radius: 34px; padding: 7px; }
  .hero .phone--front img { border-radius: 27px; }
  .hero .phone--back { width: 180px; border-radius: 30px; padding: 7px; left: calc(50% + 4px); }
  .hero .phone--back img { border-radius: 24px; }

  .phone--stage { width: 240px; }
  .step { padding: 16px; gap: 14px; }
  .step__body strong { font-size: 18px; }

  .calc { padding: 20px; }
  .carne__panel { border-radius: 26px; padding: 24px 18px; }
  .wrap:has(> .carne__panel) { padding-inline: 12px; }
  .ticket { padding: 22px 20px 20px; }
  .counter label { font-size: 17px; }
  .field { width: 100%; }
  .btn--add { width: 100%; }
  .calc__result strong { font-size: 22px; }

  .pagos__phones { min-height: 440px; }
  .pagos__phones .phone { width: 180px; border-radius: 32px; padding: 7px; }
  .phone--tilt-l { transform: rotate(-5deg) translateX(24px); }
  .phone--tilt-r { transform: rotate(4deg) translate(-24px, 40px); }
  .pagos__phones .phone img { border-radius: 25px; }

  .signup__row { flex-direction: column; border-radius: 22px; padding: 8px; }
  .signup__row input { padding: 12px 14px; }
  .signup__row .btn { width: 100%; }
  .signup__os legend { float: none; width: 100%; margin: 0 0 4px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
