@font-face { font-family: 'Open Sans'; font-weight: 300; font-display: swap; src: url('../fonts/open-sans-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 800; font-display: swap; src: url('../fonts/open-sans-latin-800-normal.woff2') format('woff2'); }

:root { --pad: clamp(20px, 4vw, 64px); --soft: #9b9b9b; --rule: rgba(255,255,255,0.13); }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; height: 100dvh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto;
  font-family: 'Open Sans', system-ui, sans-serif; color: #ededed; line-height: 1.55;
  background: #0a0a0a url('../img/textura.jpg') center / cover no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* barra */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); position: relative; z-index: 30; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.word { font-size: 15px; font-weight: 300; letter-spacing: 0.02em; white-space: nowrap; }
.word b { font-weight: 800; } .word sup { font-size: 8px; margin-left: 1px; }
.burger { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.burger i { display: block; width: 26px; height: 1.5px; background: #fff; transition: transform .25s ease; }
.open .burger i:first-child { transform: translateY(4.25px) rotate(45deg); }
.open .burger i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* escenario */
.stage { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(340px, 400px); align-items: center;
         gap: clamp(28px, 4vw, 72px); padding: 0 var(--pad); width: 100%; max-width: 1500px; margin: 0 auto; }

.copy h1 { margin: 0; font-size: clamp(36px, 4.4vw, 70px); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; color: #fff; max-width: 11ch; }
.copy p { margin: 26px 0 0; max-width: 42ch; font-size: clamp(15px, 1.15vw, 17px); color: #bdbdbd; }
.copy .by { margin-top: 18px; font-size: 13px; color: var(--soft); }

.device { margin: 0; height: 100%; max-height: 760px; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.device img { height: calc(100% - 28px); width: auto; max-width: none; filter: drop-shadow(0 50px 60px rgba(0,0,0,0.65)); }
.device figcaption { font-size: 12px; color: var(--soft); margin-top: -40px; }

/* pedido */
.order { background: #f4f4f2; color: #0a0a0a; border-radius: 22px; padding: 30px 30px 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.55); }
.order h2 { margin: 0 0 18px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 13px 0; border-top: 1px solid #dcdcd8; font-size: 15px; }
.rows li > span:last-child { font-weight: 700; white-space: nowrap; }
.rows .free { color: #2f7d4a; }
.rows .later { color: #6a6a66; }
.rows .later > span:last-child { font-weight: 600; color: #6a6a66; }
.rows small { display: block; font-size: 12.5px; margin-top: 2px; color: #8a8a85; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 18px; border-top: 1.5px solid #0a0a0a; }
.sum span { font-size: 15px; font-weight: 600; } .sum strong { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.cta { display: block; text-align: center; padding: 17px; border-radius: 12px; background: #0a0a0a; color: #fff; font-size: 16px; font-weight: 700;
       text-decoration: none; transition: background .15s ease; }
.cta:hover { background: #262626; }
.fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: #6a6a66; }
.ask { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #dcdcd8; font-size: 13px; color: #6a6a66; }
.ask a { color: #0a0a0a; font-weight: 700; text-decoration: none; border-bottom: 1px solid #0a0a0a; }

/* pie */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--pad); font-size: 12.5px; color: var(--soft); }
.foot nav { display: flex; gap: 22px; } .foot a { text-decoration: none; } .foot a:hover { color: #fff; }

/* menú */
.menu { position: fixed; inset: 0; z-index: 20; background: #0a0a0a url('../img/textura.jpg') center / cover no-repeat; display: flex; align-items: center; padding: 100px var(--pad) 60px; }
.menu[hidden] { display: none; }
.menu-in { width: 100%; max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.3fr; gap: 6vw; align-items: start; }
.menu-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.menu-nav button { font: inherit; font-size: clamp(28px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: rgba(255,255,255,0.28);
                   background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color .15s ease; }
.menu-nav button:hover, .menu-nav button[aria-current] { color: #fff; }
.menu-body { max-width: 640px; padding-top: 10px; }
.menu-body p { margin: 0 0 16px; font-size: clamp(15px, 1.2vw, 18px); color: #bdbdbd; }
.menu-body .big { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.menu-body b { color: #fff; }

/* pantallas medianas: fuera el móvil de ejemplo */
@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); }
  .device { display: none; }
}
/* móvil: todo en una pantalla */
@media (max-width: 760px) {
  .bar { padding-top: 16px; padding-bottom: 12px; }
  .stage { grid-template-columns: 1fr; align-content: center; gap: 22px; }
  .copy h1 { font-size: clamp(30px, 8.6vw, 42px); max-width: 14ch; }
  .copy p { margin-top: 12px; }
  .copy .by { display: none; }
  .order { padding: 22px 20px 18px; border-radius: 20px; }
  .order h2 { font-size: 18px; margin-bottom: 8px; }
  .rows li { padding: 9px 0; font-size: 14px; }
  .sum { padding: 12px 0 14px; } .sum strong { font-size: 27px; }
  .cta { padding: 15px; }
  .menu-in { grid-template-columns: 1fr; gap: 28px; }
  .foot { padding-top: 12px; padding-bottom: 14px; }
}
@media (max-width: 760px) { .ask { display: none; } }
@media (max-width: 760px) and (max-height: 760px) {
  .copy p, .fine { display: none; }
}
@media (max-width: 400px) { .word { font-size: 13px; } .foot > span { display: none; } .foot { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .burger i, .cta, .menu-nav button { transition: none; } }

/* pago integrado */
.pay, .thanks { position: fixed; inset: 0; z-index: 40; background: rgba(6,6,6,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay[hidden], .thanks[hidden] { display: none; }
.pay-in { width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,0.6); }
.pay-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #0a0a0a; color: #fff; font-size: 13px; }
.pay-x { font: inherit; font-weight: 700; color: #fff; background: none; border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 6px 14px; cursor: pointer; }
.pay-box { overflow-y: auto; padding: 8px 0; min-height: 300px; }
.pay-load { text-align: center; color: #6a6a66; padding: 60px 0; margin: 0; }
.thanks > div { text-align: center; max-width: 420px; }
.thanks h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; color: #fff; }
.thanks p { color: #cfcfcf; margin: 0 0 24px; }
.thanks .cta { display: inline-block; padding: 15px 30px; background: #fff; color: #0a0a0a; }
