/* Tijera Brava (DEMO, negocio ficticio), Lavapiés
   Idea: a barbershop wall poster. The price board IS the hero; prices huge, typographic, high contrast.
   Palette: near-black + bone + barber-pole red #c8102e (no orange). Red text only at poster sizes (>= 24px bold,
   AA large 3:1); red behind white text is 5.9:1.
   Type: Big Shoulders Display (condensed signage caps) + Archivo (plain grotesque).
   Shape rule: square everything (radius 0), no shadows, 3px rules. */

@font-face { font-family: "Big Shoulders"; src: url("fonts/bigshoulders.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --black: #121212;
  --black-2: #1c1c1c;
  --bone: #f2efe8;
  --muted: #bdb8ad;
  --red: #c8102e;
  --red-deep: #9e0c24;
  --poster: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--black); color: var(--bone); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bone); text-underline-offset: 4px; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--bone); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--bone); color: var(--black); padding: 10px 14px; z-index: 70; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Demo tape ---------- */
.tape {
  position: absolute; top: 12px; left: -6px; z-index: 5; transform: rotate(-2deg);
  background: var(--bone); color: var(--black); padding: 6px 18px 6px 22px;
  font: 600 .85rem/1.2 var(--sans); letter-spacing: .02em; box-shadow: none;
}

/* ---------- Top ---------- */
.top { display: flex; align-items: flex-end; gap: 28px; padding: 56px var(--g) 18px; border-bottom: 3px solid var(--bone); }
.mark { font: 900 2.1rem/.86 var(--poster); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { font: 800 1.35rem/1 var(--poster); text-transform: uppercase; text-decoration: none; letter-spacing: .03em; padding: 12px 0; }
.top nav a:hover { color: var(--red); text-decoration: underline; text-decoration-color: var(--bone); }
.lang-btn { display: inline-flex; border: 2px solid var(--bone); background: transparent; color: var(--bone); padding: 0; min-height: 44px; min-width: 84px; font: 800 1.1rem/1 var(--poster); cursor: pointer; }
.lang-btn span { flex: 1; display: grid; place-items: center; padding: 0 10px; }
html[data-lang="es"] .lang-btn .es, html:not([data-lang]) .lang-btn .es, html[data-lang="en"] .lang-btn .en { background: var(--bone); color: var(--black); }

/* ---------- Price board (hero) ---------- */
.board { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 52px) var(--g) clamp(40px, 5vw, 64px); align-items: start; }
.board h1 { text-transform: uppercase; font-family: var(--poster); font-weight: 900; line-height: .8; letter-spacing: -.005em; }
.lead-word { display: block; font-size: clamp(6rem, 17vw, 15rem); }
.lead-price { display: block; font-size: clamp(6rem, 17vw, 15rem); color: var(--red); }
.lead-sub { margin-top: 26px; max-width: 34ch; font-size: 1.2rem; color: var(--muted); }
.lead-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 0 26px;
  background: var(--red); color: #fff; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 800 1.45rem/1 var(--poster); text-transform: uppercase; letter-spacing: .04em;
}
.btn-red:hover { background: var(--red-deep); }
.btn-red:disabled { background: #4a4a48; color: #d6d2c8; cursor: not-allowed; }
.btn-line { min-height: 50px; padding: 0 22px; background: transparent; border: 2px solid var(--bone); color: var(--bone); font: 800 1.25rem/1 var(--poster); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.btn-line:hover { background: var(--bone); color: var(--black); }

.board-list h2 { font: 900 1.6rem/1 var(--poster); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.board-list h2:not(:first-child) { margin-top: 30px; }
.board-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; border-top: 3px solid var(--bone); padding: 10px 0 10px; }
.board-list li:last-child { border-bottom: 3px solid var(--bone); }
.board-list li span, .board-list li b { font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--poster); text-transform: uppercase; letter-spacing: .01em; }
.board-list li b { color: var(--bone); font-weight: 900; text-align: right; }
.board-list li small { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* Barber-pole divider */
.pole { height: 22px; background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--bone) 18px 36px, #1d3f8f 36px 44px, var(--bone) 44px 62px); }

/* ---------- Booking ---------- */
.book-sec { padding: clamp(40px, 6vw, 80px) var(--g); background: var(--bone); color: var(--black); }
.book-sec h2 { font: 900 clamp(3rem, 7vw, 5.6rem)/.86 var(--poster); text-transform: uppercase; }
.sec-sub { margin-top: 14px; font-size: 1.15rem; max-width: 52ch; color: #3e3c38; }
.book { display: grid; grid-template-columns: 1fr 340px; gap: 36px; margin-top: 34px; align-items: start; }
.book fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.book legend { font: 900 1.7rem/1 var(--poster); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 2px solid var(--black); border-top: 2px solid var(--black); }
.choices.stylists { grid-template-columns: repeat(3, 1fr); }
.choices.days { grid-template-columns: repeat(6, 1fr); }
.choices.times { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.choices.times:has(.hint) { border: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px; height: 100%; padding: 10px 14px; cursor: pointer;
  border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); background: var(--bone);
  font: 800 1.35rem/1.05 var(--poster); text-transform: uppercase; color: var(--black);
}
.choice label small { font: 400 .9rem/1.3 var(--sans); text-transform: none; color: #3e3c38; margin-top: 3px; }
.choice label:hover { background: #e4dfd3; }
.choice input:checked + label { background: var(--black); color: var(--bone); }
.choice input:checked + label small { color: var(--muted); }
.choice input:focus-visible + label { outline: 3px solid var(--red); outline-offset: -5px; }
.choice input:disabled + label { color: #8a867d; text-decoration: line-through; cursor: not-allowed; background: #e9e5dc; }
.book .hint { color: #3e3c38; font-size: .95rem; }

.ticket { background: var(--black); color: var(--bone); padding: 24px; position: sticky; top: 16px; }
.ticket h3 { font: 900 2rem/1 var(--poster); text-transform: uppercase; border-bottom: 3px solid var(--bone); padding-bottom: 10px; margin-bottom: 14px; }
.ticket dl div { padding: 8px 0; border-bottom: 1px solid #3a3a38; }
.ticket dt { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ticket dd { font-weight: 600; }
.ticket dd.empty { color: var(--muted); font-weight: 400; }
.ticket .btn-red { width: 100%; margin-top: 18px; font-size: 1.2rem; white-space: nowrap; padding: 0 14px; }
.ticket .hint { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- Work strip ---------- */
.work { padding: clamp(40px, 6vw, 72px) var(--g) 0; }
.work h2, .visit h2, .reviews-slot h2 { font: 900 clamp(3rem, 7vw, 5.6rem)/.86 var(--poster); text-transform: uppercase; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 24px; }
.strip figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--black-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.insta { margin-top: 16px; }
.insta a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* ---------- Reviews slot (no invented reviews) ---------- */
.reviews-slot { margin: clamp(40px, 6vw, 72px) var(--g) 0; border: 3px dashed var(--muted); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.reviews-slot h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.reviews-slot p { max-width: 56ch; color: var(--muted); font-size: 1.1rem; }

/* ---------- Hours + map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) var(--g); }
.hours { width: 100%; border-collapse: collapse; margin-top: 20px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-top: 3px solid var(--bone); font: 800 1.6rem/1 var(--poster); text-transform: uppercase; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 3px solid var(--bone); }
.hours tr.is-today th, .hours tr.is-today td { background: var(--bone); color: var(--black); padding-inline: 10px; }
.addr { margin-top: 18px; color: var(--muted); }
.addr a { color: var(--bone); }
.map { position: relative; min-height: 360px; border: 3px solid var(--bone); display: grid; place-items: center; text-align: center; padding: 28px; }
.map p { max-width: 30ch; margin-bottom: 16px; color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.foot { border-top: 3px solid var(--bone); padding: 34px var(--g) 96px; }
.foot-mark { font: 900 3rem/.9 var(--poster); text-transform: uppercase; margin-bottom: 14px; }
.foot p a { font-weight: 600; }
.foot .fine { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 70ch; }

/* ---------- Antes / Después switch ---------- */
.ba-switch { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; background: var(--black); border: 2px solid var(--bone); font: 800 1.15rem/1 var(--poster); text-transform: uppercase; }
.ba-switch span { color: var(--muted); padding: 0 12px; }
.ba-switch a, .ba-switch strong { padding: 12px 16px; text-decoration: none; color: var(--bone); font-weight: 800; }
.ba-switch strong { background: var(--red); color: #fff; }
.ba-switch a:hover { background: var(--bone); color: var(--black); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .visit { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(6, 72%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .strip figure { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .top { flex-wrap: wrap; padding-top: 52px; gap: 12px 18px; }
  .mark { font-size: 1.8rem; }
  .top nav { order: 3; width: 100%; margin-left: 0; gap: 18px; }
  .top nav a { font-size: 1.2rem; }
  .lang-btn { margin-left: auto; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .choices.stylists { grid-template-columns: 1fr; }
  .choices.days { grid-template-columns: repeat(3, 1fr); }
  .choices.times { grid-template-columns: repeat(3, 1fr); }
  .reviews-slot { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .hours th, .hours td { font-size: 1.35rem; }
}
