/* ---------- Base común (se usa igual en todas las páginas) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; padding: 10px 14px; z-index: 100; background: #000; color: #fff; }
.saltar:focus { left: 8px; top: 8px; }
.form__error:empty { display: none; }
[hidden] { display: none !important; }

/* Botón flotante de WhatsApp con menú */
.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 10px; transition: transform .3s ease, opacity .3s ease; }
.wa.oculto { transform: translateY(110px); opacity: 0; pointer-events: none; }
.wa__boton { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #1F8A4C; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s ease; }
.wa__boton:hover { transform: scale(1.06); }
.wa__boton:active { transform: scale(.95); }
.wa__boton .ico { width: 30px; height: 30px; }
.wa__menu { display: grid; gap: 6px; min-width: 230px; padding: 8px; border-radius: 16px; background: #fff; color: #1d1d1f; box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform-origin: bottom right; transform: scale(.85) translateY(10px); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; }
.wa.abierto .wa__menu { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
.wa__menu p { font-size: .8125rem; color: #555; padding: 6px 10px 2px; }
.wa__menu a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; background: #F1F4F2; }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #DCF1E3; }

/* Movimiento al hacer scroll: solo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].visto { opacity: 1; transform: none; }
  .js [data-cascada] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-cascada].visto > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Luquiando Barber ---------- */
:root {
  --verde: #1E5E43;
  --verde-osc: #154532;
  --menta: #DCEDE2;
  --leche: #F7F3EC;
  --cafe: #4A3226;
  --rojo: #C8102E;
  --azul: #1D3F8F;
  --gris: #5C5A55;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --texto: "Onest", system-ui, sans-serif;
  --max: 1140px;
  --g: 20px;
  --rayas: repeating-linear-gradient(-45deg, var(--rojo) 0 14px, #fff 14px 28px, var(--azul) 28px 42px, #fff 42px 56px);
}
body { background: var(--leche); color: var(--cafe); font: 400 1.0625rem/1.6 var(--texto); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 6px; }

.poste { display: inline-block; width: 12px; height: 30px; border-radius: 6px; background: var(--rayas); background-size: 40px 40px; box-shadow: inset 0 0 0 2px var(--cafe); }
.cabecera { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--g); max-width: var(--max); margin: 0 auto; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.5rem/1 var(--display); color: var(--verde); letter-spacing: -.02em; }
.cabecera__ig { display: grid; place-items: center; width: 44px; height: 44px; color: var(--verde); }
@media (prefers-reduced-motion: no-preference) {
  .poste { animation: girar 3s linear infinite; }
  @keyframes girar { to { background-position: 0 80px; } }
}

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 24px; border-radius: 16px; border: 2px solid transparent;
  font: 700 1.05rem/1.2 var(--texto); text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.boton:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -14px rgba(21,69,50,.8); }
.boton:active { transform: scale(.98); }
.boton--verde { background: var(--verde); color: #fff; }
.boton--verde:hover { background: var(--verde-osc); }
.boton--linea { border-color: var(--verde); color: var(--verde); }
.boton--crema { background: var(--leche); color: var(--verde); }
.enlace { color: var(--verde); font-weight: 700; text-underline-offset: 4px; }
.titulo { font-size: clamp(2.6rem, 12vw, 4.6rem); color: var(--verde); }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 8px var(--g) 48px; display: grid; gap: 26px; }
.hero__texto { display: grid; gap: 14px; justify-items: start; }
.hero__ante { font-weight: 500; color: var(--gris); }
.hero__titulo { font-size: clamp(2.6rem, 12.5vw, 5.4rem); color: var(--cafe); }
.hero__rulos { position: relative; display: inline-block; color: var(--verde); padding-bottom: .12em; }
.rulo { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .35em; overflow: visible; }
.rulo path { fill: none; stroke: var(--rojo); stroke-width: 5; stroke-linecap: round; }
.hero__sub { max-width: 30em; }
.hero__accion { display: grid; gap: 10px; width: 100%; }
.hero__nota { color: var(--gris); font-size: .95rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hero__num { font: 800 1.7rem/1 var(--display); color: var(--cafe); }
.estrellas { color: #C9961E; letter-spacing: 1px; }
.hero__foto { margin: 0; border-radius: 200px 200px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 6px solid #fff; box-shadow: 0 24px 40px -28px rgba(74,50,38,.8); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (prefers-reduced-motion: no-preference) {
  .hero__ante { animation: subir .6s ease both; }
  .hero__titulo { animation: subir .7s .1s cubic-bezier(.2,.7,.2,1) both; }
  .rulo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rizo 1s .55s cubic-bezier(.6,0,.3,1) forwards; }
  .hero__sub, .hero__nota { animation: subir .6s .35s ease both; }
  .hero__accion { animation: subir .6s .5s cubic-bezier(.2,.7,.2,1) both; }
  .hero__foto { animation: arco .9s .2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes rizo { to { stroke-dashoffset: 0; } }
  @keyframes arco { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
}

.franja-poste { height: 18px; background: var(--rayas); background-size: 80px 80px; }
@media (prefers-reduced-motion: no-preference) {
  .franja-poste { animation: correr 4s linear infinite; }
  @keyframes correr { to { background-position: 80px 0; } }
}

/* Rulos */
.rulos { background: var(--verde); color: #fff; padding: 56px var(--g) 64px; }
.rulos__cab, .grilla { max-width: var(--max); margin: 0 auto; }
.rulos__cab { display: grid; gap: 8px; margin-bottom: 22px; }
.rulos .titulo { color: #fff; font-size: clamp(3.4rem, 18vw, 7rem); }
.rulos__cab p { color: var(--menta); max-width: 30em; }
.grilla { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grilla li { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.grilla li:nth-child(odd) { border-radius: 120px 120px 18px 18px; }
.grilla img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.grilla li:hover img { transform: scale(1.05); }

/* Otros cortes */
.cortes { max-width: var(--max); margin: 0 auto; padding: 56px var(--g); }
.cortes .titulo { margin-bottom: 18px; font-size: clamp(2.2rem, 10vw, 3.6rem); }
.tira { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tira li { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; border: 4px solid #fff; }
.tira img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tira li:hover img { transform: scale(1.05); }
.cortes__barbero { margin-top: 14px; color: var(--gris); }

/* Promos */
.promos { padding: 0 var(--g) 56px; }
.promos__caja { max-width: var(--max); margin: 0 auto; background: var(--cafe); color: var(--leche); border-radius: 24px; padding: 30px 22px; display: grid; gap: 12px; justify-items: start; position: relative; overflow: hidden; }
.promos__caja::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--rayas); background-size: 40px 40px; opacity: .9; }
.promos__titulo { font-size: clamp(1.9rem, 8vw, 2.8rem); position: relative; max-width: 12ch; }
.promos__caja p { color: #E8DCCB; max-width: 28em; position: relative; }

/* Visita */
.visita { max-width: var(--max); margin: 0 auto; padding: 0 var(--g) 72px; display: grid; gap: 24px; }
.visita__info { display: grid; gap: 14px; align-content: start; }
address { font-style: normal; font-size: 1.1rem; font-weight: 500; }
.visita__obras { background: var(--menta); color: var(--verde-osc); padding: 10px 14px; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.horarios { width: 100%; border-collapse: collapse; }
.horarios th, .horarios td { text-align: left; padding: 11px 0; border-bottom: 1px solid #E2D9CB; font-weight: 500; }
.horarios td { text-align: right; }
.horarios .hoy th, .horarios .hoy td { color: var(--verde); font-weight: 700; }
.hoy__marca { font-size: .72rem; background: var(--verde); color: #fff; border-radius: 999px; padding: 1px 9px; margin-left: 4px; vertical-align: 2px; }
.abierto { color: var(--gris); font-size: .95rem; }
.abierto--si { color: var(--verde); font-weight: 700; }
.visita__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visita__acciones .boton { padding: 12px 8px; }
.visita__mapa { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--menta); }
.visita__mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

.pie { background: var(--verde-osc); color: var(--menta); text-align: center; padding: 40px var(--g) 110px; display: grid; gap: 4px; justify-items: center; }
.poste--grande { width: 16px; height: 44px; margin-bottom: 8px; }
.pie__marca { font: 800 1.6rem var(--display); color: #fff; }
.pie a { color: #fff; text-underline-offset: 4px; }
.pie__brito { margin-top: 12px; font-size: .85rem; }

.wa__boton { background: var(--verde); }
.wa__menu a { background: var(--menta); }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #C6E2D0; }

@media (min-width: 820px) {
  :root { --g: 40px; }
  .hero { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; padding-top: 28px; padding-bottom: 72px; }
  .hero__accion { grid-auto-flow: column; justify-content: start; width: auto; }
  .grilla { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tira { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .promos__caja { grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 32px; padding: 36px 44px; }
  .visita { grid-template-columns: 1fr 1.3fr; }
  .visita__mapa { aspect-ratio: auto; min-height: 400px; }
  .pie { padding-bottom: 48px; }
}
