/* ==========================================================
   Filo Barbería · estilos
   Idea: la escala del fade (piel → 0 → 1 → 2 → 3 → tijera)
   es el lenguaje de toda la web. Interfaz oscura tipo app.
   ========================================================== */

:root {
  --bg:        #0f0d0c;
  --surface:   #181513;
  --surface-2: #221e1b;
  --surface-3: #2d2824;
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.16);
  --text:      #f2ede6;
  --text-2:    #c9c0b4;
  --text-3:    #9d9386;
  --bone:      #f2ede6;
  --ink:       #171412;
  --ink-mute:  #5c544b;
  --red:       #e04a3b;
  --red-lt:    #f27a68;
  --green:     #22c55e;

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-serif:   "Instrument Serif", Georgia, serif;
  --f-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-lt); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

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

/* ==========================================================
   Botones
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: 700 15.5px/1 var(--f-body); letter-spacing: .005em; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-red {
  color: #fff;
  background-color: #b9301f;
  background-image: linear-gradient(180deg, #d6463a 0%, #b02c1d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 32px -12px rgba(224,74,59,.75);
}
.btn-red:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 18px 40px -12px rgba(224,74,59,.9); }

.btn-wa {
  color: #fff;
  background-color: #137a3c;
  background-image: linear-gradient(180deg, #178c46 0%, #116d36 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 32px -12px rgba(34,197,94,.55);
}
.btn-wa:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 40px -12px rgba(34,197,94,.7); }

.btn-glass {
  color: var(--text);
  background: rgba(255,255,255,.07);
  border-color: var(--border-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }

.btn-arrow {
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-right: -12px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: transform .3s var(--ease);
}
.btn-arrow svg { width: 16px; height: 16px; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ==========================================================
   Navegación flotante
   ========================================================== */
.nav { position: fixed; z-index: 70; top: 12px; left: 0; right: 0; padding: 0 var(--gutter); pointer-events: none; }
.nav-bar {
  position: relative; pointer-events: auto;
  max-width: var(--max); height: 62px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 22px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(15,13,12,.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px -16px rgba(0,0,0,.8);
  transition: background-color .3s;
}
.nav.is-solid .nav-bar { background: rgba(15,13,12,.88); }
.brand { display: flex; align-items: baseline; gap: 7px; text-decoration: none; margin-right: auto; }
.brand-mark { font: 900 28px/1 var(--f-display); letter-spacing: .05em; }
.brand-sub { font: italic 400 18px/1 var(--f-serif); color: var(--text-3); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  padding: 10px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.nav-links a:not(.btn):hover { background: rgba(255,255,255,.07); color: var(--text); }
.nav-menu-cta { display: none; }
.nav-toggle {
  display: none; position: relative; flex: none;
  width: 46px; height: 46px; border: 1px solid var(--border-2); border-radius: 50%;
  background: rgba(255,255,255,.05); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav.is-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ==========================================================
   Portada
   ========================================================== */
.hero { position: relative; padding: 92px 0 28px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(224,74,59,.18), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - 120px);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-2);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2s var(--ease) infinite; }
.dot.is-closed { background: var(--text-3); }
.dot.is-closed::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-title {
  margin: 22px 0 20px;
  font: 900 clamp(46px, min(6.4vw, 10.5vh), 100px)/.9 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero-title em {
  display: inline-block; margin-top: .06em;
  font: italic 400 .8em/1 var(--f-serif); text-transform: none; letter-spacing: -.01em;
  color: var(--red-lt);
}
.hero-sub { max-width: 40ch; font-size: clamp(16px, 1.25vw, 18.5px); color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.hero-facts div {
  padding: 12px 18px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
}
.hero-facts dt { font-size: 13px; font-weight: 600; color: var(--text-3); }
.hero-facts dd { margin: 2px 0 0; font: 800 22px/1.1 var(--f-display); letter-spacing: .02em; }

.hero-photo {
  position: relative; margin: 0;
  height: clamp(460px, calc(100svh - 140px), 840px);
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(15,13,12,.75) 0%, rgba(15,13,12,0) 40%);
}

/* La escala del fade sobre la foto */
.scale {
  position: absolute; z-index: 2; right: 24px; top: 50%; transform: translateY(-50%);
  margin: 0; padding: 14px 16px 14px 26px; list-style: none;
  border-radius: var(--r-md);
  background: rgba(15,13,12,.45); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.scale::before {
  content: ""; position: absolute; left: 14px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px;
  background: linear-gradient(to top, var(--bone), rgba(242,237,230,.15));
}
.scale li { position: relative; padding: 6px 0; font: 800 17px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; }
.scale li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 6px; height: 2px; background: currentColor; }
.scale li:first-child { color: var(--red-lt); }

.float-card {
  position: absolute; z-index: 2; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(24,21,19,.72); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  animation: floatIn .8s .6s var(--ease) both;
}
.fc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #052e14; }
.fc-icon svg { width: 22px; height: 22px; }
.fc-text strong { display: block; font-size: 15px; }
.fc-text span { font-size: 13px; color: var(--text-2); }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* ==========================================================
   Encabezados de sección
   ========================================================== */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.sec-head h2 { font: 900 clamp(40px, 5vw, 68px)/.95 var(--f-display); text-transform: uppercase; }
.sec-head h2 em {
  display: block; margin-top: .08em;
  font: italic 400 .82em/1.05 var(--f-serif); text-transform: none; color: var(--red-lt);
}
.sec-head > p:last-child:not(.tag) { margin-top: 16px; max-width: 52ch; color: var(--text-2); }

/* ==========================================================
   Carta
   ========================================================== */
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .3s, background-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price-card h3 { font: 800 25px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .015em; }
.pc-time {
  flex: none; padding: 5px 10px; border-radius: 999px;
  background: var(--surface-3); font-size: 13px; font-weight: 700; color: var(--text-2);
}
.price-card p { margin-top: 10px; font-size: 15px; color: var(--text-3); }
.pc-price { margin-top: auto; padding-top: 22px; font: 900 40px/1 var(--f-display); letter-spacing: .01em; }
.price-card.is-star {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(140deg, rgba(224,74,59,.9), rgba(224,74,59,.1) 60%) border-box;
}
.price-card.is-star:hover { background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(140deg, var(--red), rgba(224,74,59,.2) 60%) border-box; }
.price-card.is-star .pc-price { color: var(--red-lt); }
.pc-badge {
  position: absolute; top: -12px; left: 22px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 20px -8px rgba(224,74,59,.8);
}
.carta-note { margin-top: 24px; font-size: 15px; color: var(--text-3); }
.carta-note strong { color: var(--text); }

/* ==========================================================
   Los números
   ========================================================== */
.numeros-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  grid-template-areas: "head photo" "ruler photo";
  column-gap: clamp(28px, 5vw, 72px); align-items: start;
}
.numeros .sec-head { grid-area: head; }
.ruler-card { grid-area: ruler; padding: 28px 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.ruler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 8px; height: 240px; }
.r-step {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
  height: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.r-num { order: 1; font: 900 24px/1 var(--f-display); transition: color .2s; }
.r-bar {
  order: 2; width: 100%; height: var(--h); min-height: 6px; border-radius: 8px 8px 3px 3px;
  background: repeating-linear-gradient(90deg, rgba(242,237,230,.75) 0 2px, transparent 2px 5px);
  transform-origin: bottom;
  transition: transform .8s var(--ease), background .25s;
}
.r-mm { order: 3; font-size: 13px; font-weight: 600; color: var(--text-3); text-align: center; line-height: 1.2; white-space: nowrap; }
.r-step:hover .r-bar { background: repeating-linear-gradient(90deg, var(--bone) 0 2px, transparent 2px 5px); }
.r-step.is-active .r-num { color: var(--red-lt); }
.r-step.is-active .r-bar { background: linear-gradient(180deg, #f27a68, #b02c1d); box-shadow: 0 0 24px -4px rgba(224,74,59,.6); }
.js .ruler:not(.is-in) .r-bar { transform: scaleY(.04); }
.ruler-hint { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.ruler-hint strong { color: var(--text); }

.numeros-photo { grid-area: photo; position: relative; margin: 0; }
.numeros-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-lg); border: 1px solid var(--border); }

.glass-cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(15,13,12,.6); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font: italic 400 19px/1.25 var(--f-serif);
}

/* ==========================================================
   Así se pidió
   ========================================================== */
.pedidos { padding-top: 0; }
.pedidos-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.pedidos-grid figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.pedidos-grid img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform 1s var(--ease); }
.pedidos-grid figure:hover img { transform: scale(1.04); }
.pedidos-grid figure:first-child img { object-position: 50% 40%; }
.pedidos-grid figure:last-child img { object-position: 50% 30%; }
.meta {
  flex: none; padding: 6px 12px; border-radius: 999px; background: var(--bone); color: var(--ink);
  font: 800 14px/1 var(--f-body); font-style: normal;
}

/* ==========================================================
   Arma tu corte
   ========================================================== */
.arma { background: radial-gradient(50% 40% at 85% 10%, rgba(224,74,59,.13), transparent 70%), var(--bg); }
.arma-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.builder { padding: 8px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.builder fieldset { margin: 0; padding: 24px 0; border: 0; min-width: 0; }
.builder fieldset + fieldset { border-top: 1px solid var(--border); }
.builder fieldset[hidden] { display: none; }
.builder legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0; font-size: 16px; font-weight: 800; }
.builder legend + * { clear: both; }
.step {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-3); font-size: 13px; font-weight: 800; color: var(--text-2);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .seg label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chips input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
  user-select: none;
}
.chips span::before {
  content: ""; width: 0; height: 16px; margin-right: -8px; opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: width .2s var(--ease), margin .2s var(--ease), opacity .2s;
}
.chips small { font-size: 13px; font-weight: 700; color: var(--text-3); }
.chips label:hover span { border-color: var(--border-2); color: var(--text); }
.chips input:checked + span { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chips input:checked + span::before { width: 16px; margin-right: 0; opacity: 1; }
.chips input:checked + span small { color: var(--ink-mute); }
.chips label:active span { transform: scale(.96); }
.chips input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--red-lt); outline-offset: 2px; }

/* Control segmentado tipo app */
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
  padding: 4px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border);
}
.seg + .seg { margin-top: 10px; }
.seg span {
  display: grid; place-items: center; min-height: 44px; padding: 0 8px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--text-3); text-align: center;
  transition: background-color .2s, color .2s, box-shadow .2s;
  user-select: none;
}
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--surface-3); color: var(--text); box-shadow: 0 4px 14px -4px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); }
.seg--nums span { font: 800 20px/1 var(--f-display); letter-spacing: .02em; }
.seg--nums input:checked + span { background: var(--bone); color: var(--ink); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.field select, .field input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font: 600 16px var(--f-body);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23c9c0b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: var(--surface); color: var(--text); }
.field select:focus, .field input:focus { outline: none; border-color: var(--red-lt); box-shadow: 0 0 0 4px rgba(224,74,59,.18); }
.field input::placeholder { color: #7d7468; }

.ticket {
  position: sticky; top: 92px;
  padding: 26px 24px 22px; border-radius: var(--r-lg);
  background: var(--bone); color: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
}
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; }
.ticket-head p { font: 900 28px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.ticket-chip { padding: 5px 10px; border-radius: 999px; background: rgba(23,20,18,.08); font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.ticket-lines { list-style: none; margin: 0; padding: 0; }
.ticket-lines li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 15.5px; font-weight: 600; border-top: 1px solid rgba(23,20,18,.1);
  animation: lineIn .35s var(--ease);
}
.ticket-lines li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: #178c46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.ticket-total {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  margin: 14px -24px 20px; padding: 18px 24px 0;
  border-top: 2px dashed rgba(23,20,18,.18);
}
.ticket-total::before, .ticket-total::after {
  content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
}
.ticket-total::before { left: -11px; }
.ticket-total::after { right: -11px; }
.ticket-total span { display: block; font-size: 14px; font-weight: 700; color: var(--ink-mute); }
.ticket-total small { font-size: 13.5px; color: var(--ink-mute); }
.ticket-total strong { font: 900 48px/.9 var(--f-display); letter-spacing: .01em; }
.ticket-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-mute); }

/* ==========================================================
   El local
   ========================================================== */
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.local-photo { margin: 0; min-height: 460px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.local-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
}
.rule-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(224,74,59,.12); color: var(--red-lt);
}
.rule-icon svg { width: 22px; height: 22px; }
.rules strong { display: block; font-size: 17px; margin-bottom: 4px; }
.rules p { font-size: 15px; color: var(--text-3); }

/* ==========================================================
   Preguntas
   ========================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, background-color .2s; }
.faq-list details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 18px 18px 22px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-3); font: 600 22px/1 var(--f-body); color: var(--text);
  transition: transform .3s var(--ease), background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--red); }
.faq-list details p { padding: 0 22px 20px; max-width: 60ch; color: var(--text-2); }

/* ==========================================================
   Visítanos
   ========================================================== */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.visit-addr { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.va-main { margin-top: 14px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.va-sub { color: var(--text-3); font-size: 15px; margin-bottom: 18px; }
.visit-addr .btn { margin-top: auto; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; margin-bottom: 8px; font: 900 26px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--border); text-align: left; font-size: 15.5px; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; color: var(--text-2); padding-right: 12px; }
.hours td { font-weight: 700; text-align: right; white-space: nowrap; }
.hours tr.is-today th { color: var(--text); font-weight: 700; }
.hours tr.is-today th::after {
  content: "Hoy"; display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #6ee7a0; font-size: 13px; font-weight: 800; vertical-align: 1px;
}
.card-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(224,74,59,.28), transparent 70%), var(--surface);
  border-color: rgba(224,74,59,.3);
}
.card-cta p { font: italic 400 32px/1.1 var(--f-serif); }
.card-cta > span { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.card-cta .btn { margin-top: auto; }

/* ==========================================================
   Pie
   ========================================================== */
.foot { padding: 36px 0 120px; border-top: 1px solid var(--border); color: var(--text-3); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.foot-brand { font: 900 24px/1 var(--f-display); color: var(--text); letter-spacing: .05em; white-space: nowrap; }
.foot-brand span { font: italic 400 17px var(--f-serif); color: var(--text-3); letter-spacing: 0; }
.foot p:last-child { font-size: 13px; line-height: 1.5; max-width: 70ch; text-align: right; }

/* ==========================================================
   WhatsApp flotante y barra de pedido
   ========================================================== */
.wa-float {
  position: fixed; z-index: 60; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(180deg, #178c46, #116d36); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 34px -10px rgba(34,197,94,.65);
  transition: transform .35s var(--ease), opacity .3s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { transform: translateY(100px); opacity: 0; pointer-events: none; }

.order-bar {
  position: fixed; z-index: 65; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px; border-radius: 22px;
  background: rgba(24,21,19,.86); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.9);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.order-bar.is-on { transform: none; }
.ob-info { min-width: 0; }
.ob-info strong { display: block; font: 900 26px/1 var(--f-display); letter-spacing: .02em; }
.ob-info span { display: block; font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================
   Aparición al hacer scroll
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */

/* Monitores grandes (1680 px o más): la página crece con la pantalla */
@media (min-width: 1680px) {
  :root { --max: 1440px; --gutter: 48px; }
  body { font-size: 18px; }
  .hero-inner { max-width: 1560px; }
  .hero-title { font-size: clamp(46px, min(6.2vw, 11.5vh), 119px); }
  .hero-sub { font-size: 20px; }
  .status { font-size: 15.5px; }
  .btn-lg { min-height: 62px; padding: 0 30px; font-size: 17.5px; }
  .hero-facts dt { font-size: 14.5px; }
  .hero-facts dd { font-size: 26px; }
  .hero-photo { height: clamp(520px, calc(100svh - 150px), 960px); }
  .nav-bar { height: 70px; padding-left: 28px; }
  .brand-mark { font-size: 32px; }
  .brand-sub { font-size: 20px; }
  .nav-links a:not(.btn) { font-size: 16px; padding: 10px 16px; }
  .nav-cta { min-height: 48px; padding: 0 20px; font-size: 16px; }
  .sec-head { max-width: 760px; }
  .sec-head h2 { font-size: clamp(40px, 4.6vw, 88px); }
  .tag { font-size: 14px; }
  .price-card { padding: 30px 28px 28px; }
  .price-card h3 { font-size: 29px; }
  .price-card p, .rules p, .carta-note { font-size: 16.5px; }
  .pc-time { font-size: 14px; }
  .pc-price { font-size: 48px; }
  .ruler { height: 300px; }
  .r-num { font-size: 30px; }
  .r-mm, .ruler-hint { font-size: 15px; }
  .chips span { min-height: 52px; padding: 0 22px; font-size: 16.5px; }
  .seg span { min-height: 50px; font-size: 16.5px; }
  .seg--nums span { font-size: 23px; }
  .builder legend { font-size: 18px; }
  .ticket-lines li { font-size: 17px; }
  .ticket-total strong { font-size: 58px; }
  .rules strong { font-size: 19px; }
  .faq-list summary { font-size: 19px; padding: 22px 22px 22px 26px; }
  .va-main { font-size: 23px; }
  .hours th, .hours td { font-size: 17px; }
}

/* Laptops bajitas (1366×768, 1280×720…) */
@media (min-width: 861px) and (max-height: 800px) {
  .hero { padding-top: 86px; }
  .hero-title { margin: 16px 0 14px; }
  .hero-ctas { margin-top: 22px; }
  .hero-facts { margin-top: 22px; }
  .hero-facts div { padding: 10px 16px; }
}

@media (max-width: 1080px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 24px;
    background: rgba(24,21,19,.97); border: 1px solid var(--border-2);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 18px; font-weight: 700; color: var(--text); border-radius: 14px; }
  .nav-menu-cta { display: flex; margin-top: 8px; }
  .nav-toggle { display: block; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .card-cta { grid-column: 1 / -1; }
}

/* Tablet vertical y celular */
@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }
  .hero { padding: 0; }
  .hero::before { display: none; }
  .hero-inner {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 100svh; padding: 0; max-width: none;
  }
  .hero-photo {
    position: absolute; inset: 0; height: auto;
    border-radius: 0; border: 0; box-shadow: none;
  }
  .hero-photo img { object-position: 64% 30%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(15,13,12,.85) 38%, rgba(15,13,12,.15) 65%, rgba(15,13,12,.45) 100%); }
  .float-card { display: none; }
  .scale { top: 96px; right: 16px; transform: none; padding: 10px 12px 10px 22px; }
  .scale::before { left: 11px; top: 16px; bottom: 16px; }
  .scale li { font-size: 14px; padding: 4px 0; }
  .scale li::before { left: -13px; width: 5px; }
  .hero-text { position: relative; z-index: 2; width: 100%; min-width: 0; padding: 0 var(--gutter) 28px; }
  .wa-float { display: none; }
  .hero-title { font-size: clamp(46px, 13vw, 84px); margin: 16px 0 14px; }
  .hero-ctas { margin-top: 22px; }
  .hero-facts { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-facts div { padding: 10px 12px; }
  .hero-facts dd { font-size: 19px; }

  .numeros-grid { grid-template-columns: 1fr; grid-template-areas: "head" "ruler" "photo"; }
  .numeros-photo { margin-top: 16px; }
  .numeros-photo img { aspect-ratio: 4/3; }
  .pedidos-grid { grid-template-columns: 1fr; }
  .pedidos-grid img { min-height: 0; aspect-ratio: 4/3; }
  .arma-grid { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .order-bar { display: flex; }
  .local-grid { grid-template-columns: 1fr; }
  .local-photo { min-height: 0; aspect-ratio: 16/10; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { flex-direction: column; }
  .foot p:last-child { text-align: left; }
}

/* Celular */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav-bar { height: 58px; padding: 0 6px 0 18px; gap: 8px; }
  .brand-mark { font-size: 26px; }
  .nav-cta span { display: none; }
  .nav-cta { width: 46px; min-height: 46px; padding: 0; }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; }
  .hero-ctas .btn-lg { padding: 0 16px; }
  .hero-sub { font-size: 16px; }
  .hero-facts dt { font-size: 13px; }
  .hero-facts dd { font-size: 17px; }
  .price-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-card { padding: 22px 20px 20px; }
  .pc-price { padding-top: 16px; font-size: 36px; }
  .ruler-card { padding: 22px 14px 18px; }
  .ruler { height: 190px; gap: 4px; }
  .r-num { font-size: 20px; }
  .r-step:first-child .r-num { font-size: 15px; }
  .r-mm { font-size: 13px; white-space: normal; }
  .glass-cap { font-size: 17px; }
  .builder { padding: 4px 16px; border-radius: 24px; }
  .chips span { padding: 0 15px; font-size: 14.5px; }
  .seg span { font-size: 14.5px; padding: 0 4px; }
  .seg--nums span { font-size: 18px; }
  .fields { grid-template-columns: 1fr; }
  .ticket { padding: 22px 18px 18px; }
  .ticket-total { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .visit-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .card-cta .btn { width: 100%; }
}

@media (max-width: 370px) {
  .hero-ctas { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .seg--nums span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .ruler:not(.is-in) .r-bar { opacity: 1; transform: none; transition: none; }
  .btn, .price-card, .r-bar, .wa-float, .order-bar, .pedidos-grid img { transition: none; }
}
