/* Filo (demo): cartel retro de barbería */
@font-face { font-family: 'Anton'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Yellowtail'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/yellowtail-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/archivo-latin-wght-normal.woff2') format('woff2'); }

:root { --paper: #efe6d3; --paper-2: #e6dbc3; --navy: #13203a; --navy-2: #1c2c4d; --red: #c8102e; --mustard: #e3a72f; --pill: #c8102e; --map-bg: #1c2c4d; --scroll-bar: #c8102e; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--navy); font-family: 'Archivo', system-ui, sans-serif; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; }
h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 clamp(1.1rem, 3vw, 2rem); }
.script { font-family: 'Yellowtail', cursive; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--red); line-height: 1.1; }
.red { color: var(--red); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.7rem; font-family: 'Anton', Impact, sans-serif; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); transition: box-shadow 0.2s ease, translate 0.2s ease, background 0.2s ease; }
.btn:hover { translate: 2px 2px; box-shadow: 2px 2px 0 var(--navy); }
.btn:active { translate: 4px 4px; box-shadow: 0 0 0 var(--navy); }
.btn-red { background: var(--red); color: #fff; }
.btn-line { background: var(--paper); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; box-shadow: 3px 3px 0 var(--navy); }

/* Encabezado */
.head { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem clamp(1.1rem, 3vw, 2rem); background: var(--navy); color: var(--paper); }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Anton', Impact, sans-serif; font-size: 1.5rem; letter-spacing: 0.08em; text-decoration: none; }
.logo svg { color: var(--mustard); transition: transform 0.5s var(--ease-out); }
.logo:hover svg { transform: rotate(-35deg); }
.head-nav { display: flex; gap: 1.5rem; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.head-nav a { text-decoration: none; }
.head-nav a:hover { color: var(--mustard); }
.head .btn { box-shadow: 3px 3px 0 var(--mustard); border-color: var(--mustard); }
.head .btn:hover { box-shadow: 1px 1px 0 var(--mustard); }
@media (max-width: 720px) { .head-nav { display: none; } }

/* Héroe */
.hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; max-width: 80rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.1rem, 3vw, 2rem) clamp(3rem, 7vw, 5.5rem); min-height: calc(100svh - 4rem); }
.hero h1 { font-size: clamp(4.4rem, min(17vw, 17.5vh), 14rem); line-height: 0.96; margin-top: 0.4rem; }
.hero h1 .hl { padding-top: 0.17em; margin-top: -0.17em; }
.hero-lead { max-width: 32rem; margin-top: 1.5rem; font-size: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-art { position: relative; width: clamp(19rem, 30vw, 27rem); margin: 0 1.8rem 0 2.6rem; }
.hero-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); border: 3px solid var(--navy); box-shadow: 10px 10px 0 var(--navy); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pole { position: absolute; left: -2.4rem; top: -1.6rem; bottom: -1.6rem; display: flex; flex-direction: column; align-items: center; width: 4.6rem; filter: drop-shadow(4px 4px 0 rgba(19, 32, 58, 0.4)); }
.pole-cap { width: 100%; height: 1.5rem; flex: none; background: linear-gradient(90deg, #8c6a1e, #e3c56a 40%, #8c6a1e); border-radius: 0.5rem; }
.pole-glass { position: relative; flex: 1; width: 78%; overflow: hidden; border-left: 2px solid rgba(19, 32, 58, 0.25); border-right: 2px solid rgba(19, 32, 58, 0.25); }
.pole-glass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.55) 38%, rgba(0, 0, 0, 0.18)); }
.pole-stripes { position: absolute; left: -60%; right: -60%; top: -120px; bottom: -120px; background: repeating-linear-gradient(-32deg, var(--red) 0 30px, #fff 30px 60px, #1d4ed8 60px 90px, #fff 90px 120px); animation: poleSpin 2.4s linear infinite; }
@keyframes poleSpin { to { transform: translateY(141.5px); } }
.stamp { position: absolute; right: -2.2rem; bottom: -2.2rem; width: clamp(8rem, 12vw, 10.5rem); height: auto; }
.stamp-bg { fill: var(--paper); stroke: var(--navy); stroke-width: 3; }
.stamp-ring { transform-origin: 100px 100px; }
.stamp text { font-family: 'Anton', Impact, sans-serif; font-size: 18px; letter-spacing: 0.1em; fill: var(--navy); }
.stamp-core { fill: var(--red); }
.stamp-icon { stroke: #fff; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 5rem; }
  .hero-art { width: 100%; margin: 1.2rem 0 0; }
  .hero-photo { aspect-ratio: 16 / 11; box-shadow: 7px 7px 0 var(--navy); }
  .hero-photo img { object-position: 50% 62%; }
  .pole { left: auto; right: 1.1rem; top: -1rem; bottom: -1rem; width: 2.6rem; }
  .pole-cap { height: 0.9rem; }
  .stamp { right: auto; left: -0.5rem; bottom: -1.7rem; width: 7.2rem; }
}

/* Banda */
.band { background: var(--red); color: #fff; font-family: 'Anton', Impact, sans-serif; font-size: clamp(1.8rem, 5vw, 3.4rem); text-transform: uppercase; --mq-t: 26s; -webkit-mask-image: none; mask-image: none; border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); }
.band .marquee-track { padding-top: 0.35rem; padding-bottom: 0.45rem; }
.band span { white-space: nowrap; }
.band i { font-style: normal; font-size: 0.7em; color: var(--mustard); }

/* Precios */
.board { background: var(--navy); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) 0; }
.board .script { color: var(--mustard); }
.price-list { list-style: none; padding: 0; margin-top: 2.2rem; border-top: 2px solid rgba(239, 230, 211, 0.25); }
.price-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.5rem 1.4rem; padding: 1.1rem 0.5rem; border-bottom: 2px solid rgba(239, 230, 211, 0.25); transition: background 0.3s ease, padding 0.35s var(--ease-out); }
.price-row:hover { background: var(--navy-2); padding-left: 1.2rem; padding-right: 1.2rem; }
.price-row h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.price-row p { font-size: 0.88rem; opacity: 0.75; margin-top: 0.15rem; }
.price-row .amount { font-family: 'Anton', Impact, sans-serif; font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--mustard); }
.row-book { padding: 0.45rem 0.8rem; border: 2px solid var(--paper); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; transition: background 0.2s ease, color 0.2s ease; }
.row-book:hover { background: var(--paper); color: var(--navy); }
@media (max-width: 560px) { .price-row { grid-template-columns: 1fr auto; } .row-book { grid-column: 1 / -1; justify-self: start; } }

/* Visita */
.visit { padding: clamp(4rem, 8vw, 7rem) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.visit-side { position: sticky; top: 6rem; align-self: start; }
.visit-side h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.visit-stage { position: relative; height: min(24rem, 42vh); margin-top: 1.4rem; overflow: hidden; background: var(--navy); border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--navy); }
.visit-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.7s ease, transform 1.3s var(--ease-out); }
.visit-stage img.is-on { opacity: 1; transform: none; }
.visit-steps { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.visit-steps li { display: flex; flex-direction: column; justify-content: center; min-height: 13.5rem; padding: 1.6rem; background: var(--paper-2); border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); transition: background 0.35s ease; }
.visit-steps li.is-active { background: #f4d98f; }
.visit-steps b { font-family: 'Yellowtail', cursive; font-size: 1.6rem; font-weight: 400; color: var(--red); }
.visit-steps h3 { font-size: 1.9rem; margin-top: 0.2rem; }
.visit-steps p { margin-top: 0.3rem; }
.visit-thumb { display: none; }
@media (max-width: 860px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .visit-side { position: static; }
  .visit-stage { display: none; }
  .visit-steps li { min-height: 0; }
  .visit-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1rem; border: 2px solid var(--navy); }
}

/* Trabajos */
.works { background: var(--navy); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) 0; }
.works .script { color: var(--mustard); }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(11rem, 17vw, 16rem); grid-auto-flow: dense; gap: 1rem; margin-top: 2.2rem; }
.work { position: relative; margin: 0; overflow: hidden; border: 3px solid var(--paper); background: var(--navy-2); }
.work img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.work:hover img { transform: scale(1.07); }
.work figcaption { position: absolute; left: 0; bottom: 0; padding: 0.2rem 0.7rem 0.25rem; background: var(--red); color: #fff; font-family: 'Anton', Impact, sans-serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.work-tall { grid-row: span 2; }
.work-wide { grid-column: span 2; }
@media (max-width: 760px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; } }

/* Barberos */
.crew { padding: clamp(4rem, 8vw, 7rem) 0; }
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.2rem; }
.card-flip { perspective: 1200px; }
.card-inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform 0.8s var(--ease-out); }
.card-flip:hover .card-inner, .card-flip:focus .card-inner, .card-flip:focus-within .card-inner { transform: rotateY(180deg); }
.card-face, .card-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.card-face { background: var(--paper-2); padding: 0.7rem 0.7rem 1rem; }
/* Fotos en un solo color, como cartel impreso: unifican fotos distintas con los colores de la marca */
.crew-photo { aspect-ratio: 5 / 6; overflow: hidden; isolation: isolate; }
.crew-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); mix-blend-mode: multiply; }
.crew-red { background: #e8354f; }
.crew-mustard { background: #e3a72f; }
.crew-blue { background: #5f8fd6; }
.crew-blue img { object-position: 38% 50%; }
.card-face h3 { font-size: 2rem; margin-top: 0.7rem; }
.card-face p { font-size: 0.9rem; }
.card-back { transform: rotateY(180deg); background: var(--navy); color: var(--paper); padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.9rem; }
.card-back b { font-family: 'Yellowtail', cursive; font-weight: 400; font-size: 2rem; color: var(--mustard); }
@media (max-width: 760px) { .crew-grid { grid-template-columns: 1fr; max-width: 22rem; margin-left: auto; margin-right: auto; } }

/* Agenda */
.agenda { background: var(--mustard); padding: clamp(4rem, 8vw, 7rem) 0; border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); }
.agenda .script { color: var(--navy); }
.agenda-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 2rem; align-items: start; margin-top: 2.2rem; }
.wizard { background: var(--paper); border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--navy); padding: clamp(1.2rem, 3vw, 2rem); }
.wiz-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.wiz-steps li { opacity: 0.72; transition: opacity 0.3s ease; }
.wiz-steps li.is-on { opacity: 1; }
.wiz-track { height: 6px; margin-top: 0.5rem; background: var(--paper-2); overflow: hidden; }
.wiz-track span { display: block; height: 100%; background: var(--red); transform: scaleX(0.25); transform-origin: 0 50%; transition: transform 0.6s var(--ease-out); }
.wiz-panel { display: none; border: 0; padding: 0; margin-top: 1.4rem; min-width: 0; }
.wiz-panel.is-on { display: block; animation: wizIn 0.55s var(--ease-out); }
@keyframes wizIn { from { opacity: 0; transform: translateX(22px); } }
.wiz-panel legend { font-family: 'Anton', Impact, sans-serif; font-size: 1.8rem; text-transform: uppercase; padding: 0; margin-bottom: 0.9rem; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.6rem; }
.pick { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; width: 100%; padding: 0.85rem 1rem; text-align: left; border: 2px solid var(--navy); font-weight: 600; font-size: 0.92rem; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.pick:hover { transform: translateY(-2px); }
.pick small { font-weight: 500; opacity: 0.75; white-space: nowrap; }
.pick[aria-pressed='true'] { background: var(--navy); color: var(--paper); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { min-width: 3.6rem; padding: 0.55rem 0.7rem; border: 2px solid var(--navy); font-size: 0.85rem; font-weight: 600; text-align: center; transition: background 0.2s ease, color 0.2s ease; }
.chip[aria-pressed='true'] { background: var(--red); border-color: var(--red); color: #fff; }
.chip:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.wiz-label { margin: 1.1rem 0 0.5rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.field input { width: 100%; padding: 0.8rem 0.9rem; font: inherit; color: inherit; background: #fff; border: 2px solid var(--navy); }
.field input:focus { outline: 3px solid var(--mustard); outline-offset: 1px; }
.field input[aria-invalid='true'] { border-color: var(--red); }
.wiz-error { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.wiz-actions { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.5rem; }
.wiz-actions #wizNext { margin-left: auto; }
.wiz-note { margin-top: 0.9rem; font-size: 0.72rem; opacity: 0.75; }

/* Ticket */
.ticket { position: sticky; top: 5.5rem; background: #fffdf6; padding: 1.5rem 1.4rem 1.3rem; -webkit-mask-image: radial-gradient(circle 9px at 9px 0, transparent 8.5px, #000 9px), radial-gradient(circle 9px at 9px 100%, transparent 8.5px, #000 9px); -webkit-mask-size: 18px 51%; -webkit-mask-position: top, bottom; -webkit-mask-repeat: repeat-x; mask-image: radial-gradient(circle 9px at 9px 0, transparent 8.5px, #000 9px), radial-gradient(circle 9px at 9px 100%, transparent 8.5px, #000 9px); mask-size: 18px 51%; mask-position: top, bottom; mask-repeat: repeat-x; }
.ticket-brand { font-family: 'Anton', Impact, sans-serif; font-size: 2.3rem; letter-spacing: 0.1em; text-align: center; line-height: 1; }
.ticket-sub { text-align: center; font-size: 1.4rem; margin-bottom: 0.9rem; }
.ticket dl { margin: 0; border-top: 2px dashed rgba(19, 32, 58, 0.35); }
.ticket dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed rgba(19, 32, 58, 0.25); font-size: 0.86rem; }
.ticket dt { opacity: 0.65; }
.ticket dd { margin: 0; font-weight: 600; text-align: right; }
.ticket-total { display: flex; justify-content: space-between; margin-top: 0.8rem; font-family: 'Anton', Impact, sans-serif; font-size: 1.7rem; }
.barcode { display: block; width: 100%; height: 34px; margin-top: 0.8rem; color: var(--navy); }
.ticket.printed { animation: printed 0.7s var(--ease-out); }
@keyframes printed { 30% { transform: translateY(-6px) rotate(-1deg); } }
@media (max-width: 860px) { .agenda-grid { grid-template-columns: 1fr; } .ticket { position: static; } }

/* Club */
.club { padding: clamp(4rem, 8vw, 7rem) 0; }
.club-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.2rem; }
.plan { position: relative; padding: 1.8rem; background: var(--paper-2); border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.plan h3 { font-size: 1.8rem; }
.plan-price { font-family: 'Anton', Impact, sans-serif; font-size: 3.2rem; line-height: 1.1; margin-top: 0.4rem; color: var(--red); }
.plan-price small { font-family: 'Archivo', sans-serif; font-size: 0.9rem; color: var(--navy); }
.plan ul { list-style: none; padding: 0; margin-top: 0.9rem; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.plan li::before { content: '✂ '; color: var(--red); }
.plan-hot { background: var(--navy); color: var(--paper); }
.plan-hot .plan-price small { color: var(--paper); }
.plan-hot .plan-price, .plan-hot li::before { color: var(--mustard); }
.plan-flag { position: absolute; top: -0.85rem; right: 1rem; padding: 0.15rem 0.7rem; background: var(--red); color: #fff; font-family: 'Yellowtail', cursive; font-size: 1.15rem; rotate: 3deg; }
@media (max-width: 860px) { .club-grid { grid-template-columns: 1fr; } }

/* Opiniones */
.said { padding-bottom: clamp(3rem, 6vw, 5rem); --mq-t: 44s; --mq-gap: 3rem; }
.said blockquote { font-family: 'Anton', Impact, sans-serif; font-size: clamp(1.5rem, 3vw, 2.3rem); text-transform: uppercase; white-space: nowrap; }
.said cite { font-family: 'Yellowtail', cursive; font-style: normal; text-transform: none; color: var(--red); margin-left: 0.4rem; }

/* Ubicación */
.find { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.find-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; }
.hours { list-style: none; padding: 0; margin-top: 1.2rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 2px dashed rgba(19, 32, 58, 0.25); }
.hours li.today { color: var(--red); font-weight: 700; }
.open-now { margin-top: 0.9rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.open-now.is-open { color: #15803d; }
.find .map-facade { border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); }
.map-frame { filter: grayscale(0.2) contrast(0.95); }
@media (max-width: 760px) { .find-grid { grid-template-columns: 1fr; } }

/* Pie */
.foot { background: var(--navy); color: var(--paper); text-align: center; padding: 1rem 1rem 5rem; overflow: hidden; }
.foot-word { font-family: 'Anton', Impact, sans-serif; font-size: 36vw; line-height: 1.05; color: var(--red); letter-spacing: 0.02em; }
.foot-note { font-size: 0.8rem; opacity: 0.85; }
