:root {
  --ink: #15161b;
  --ink-2: #4a4f5c;
  --red: #d9232e;
  --red-2: #a8141e;
  --shelf: #f4f5f7;
  --peg: #e4e7ec;
  --line: #d3d7de;
  --wa: #0f7a3d;
  --r: 14px;
  font-family: "Barlow", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr { 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(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Barra de muestra */
.demo { background: var(--red); color: #fff; font-size: 1rem; }
.demo__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.demo p { margin: 0; }
.demo__btn { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; color: var(--red-2); font-weight: 600; text-decoration: none; border-radius: 6px; }
.demo__btn:hover { background: var(--ink); color: #fff; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 1.4rem; letter-spacing: .02em; }
.logo svg { width: 38px; height: 38px; }
.logo b { color: var(--red); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; color: #d8dbe2; }
.nav a:hover { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }

/* Botones: esquinas cortadas, como una etiqueta de precio */
.btn { --cut: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--red); color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 0; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background .15s; cursor: pointer; }
.btn:hover { background: var(--red-2); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 1rem; --cut: 8px; }
.top .btn--small { background: var(--wa); }
.top .btn--small:hover { background: #0a5c2d; }
.btn--line { background: var(--ink); }
.btn--line:hover { background: #33353d; }
.btn--wa { background: var(--wa); width: 100%; }
.btn--wa:hover { background: #0a5c2d; }
.btn--wa svg { width: 24px; height: 24px; }
.btn--wa[aria-disabled="true"] { background: #9aa0ab; color: var(--ink); cursor: not-allowed; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }

/* Portada */
.hero { padding: 56px 0 64px; background: var(--shelf); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hero__where { margin: 18px 0 0; font-weight: 600; }
.hero__where::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 18px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa0ab; }
.status.is-open::before { background: #18a957; box-shadow: 0 0 0 4px rgba(24, 169, 87, .18); }

/* Pared perforada: como la pared de accesorios de la tienda */
.pared { background-color: var(--peg); background-image: radial-gradient(circle, #c3c8d1 2.5px, transparent 3px); background-size: 26px 26px; background-position: 13px 13px; border: 10px solid var(--ink); padding: 22px 22px 28px; }
.pared__t { display: inline-block; margin: 0 0 18px; padding: 4px 12px; background: var(--ink); color: #fff; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 1.1rem; }
.pared__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 16px; padding-top: 14px; }
.gancho { position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px 10px 14px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; font: 600 1rem/1.2 "Barlow", sans-serif; color: var(--ink); cursor: pointer; transform-origin: 50% -16px; animation: colgar 1.1s ease-out both; }
.gancho:nth-child(2) { animation-delay: .08s; } .gancho:nth-child(3) { animation-delay: .16s; }
.gancho:nth-child(4) { animation-delay: .24s; } .gancho:nth-child(5) { animation-delay: .32s; } .gancho:nth-child(6) { animation-delay: .4s; }
.gancho::before { content: ""; position: absolute; top: -18px; left: 50%; width: 16px; height: 22px; margin-left: -8px; border: 3px solid #8a909c; border-bottom: 0; border-radius: 8px 8px 0 0; }
.gancho::after { content: ""; position: absolute; top: 6px; left: 50%; width: 14px; height: 6px; margin-left: -7px; border-radius: 3px; background: var(--peg); box-shadow: inset 0 0 0 2px var(--line); }
.gancho svg { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gancho svg circle[r="1.6"] { fill: var(--red); stroke: none; }
.gancho:hover, .gancho.is-on { background: var(--ink); color: #fff; }
.gancho:hover svg, .gancho.is-on svg { stroke: var(--red); }
@keyframes colgar { 0% { transform: rotate(-7deg); } 35% { transform: rotate(5deg); } 60% { transform: rotate(-2.5deg); } 80% { transform: rotate(1deg); } 100% { transform: rotate(0); } }

/* Secciones */
.sec { padding: 72px 0; }
.sec--grey { background: var(--shelf); }
.sec--dark { background: var(--ink); color: #fff; }
.sub { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; margin-bottom: 32px; }
.sec--dark .sub { color: #c9cdd6; }
.hint { margin-top: 16px; color: var(--ink-2); font-size: 1rem; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.cats article { padding: 22px 22px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cats h3::before { content: ""; display: block; width: 28px; height: 6px; background: var(--red); margin-bottom: 14px; }
.cats p { color: var(--ink-2); }

/* Consulta */
.consulta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.pasos { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 16px; }
.pasos li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; color: #e4e6eb; }
.pasos li::before { content: counter(p); display: grid; place-items: center; width: 44px; height: 44px; background: var(--red); font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.ficha { background: #fff; color: var(--ink); padding: 26px; display: grid; gap: 22px; border-top: 6px solid var(--red); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 1.05rem; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 6px; font-weight: 500; background: #fff; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.campo { display: grid; gap: 6px; font-weight: 600; font-size: 1.05rem; }
.campo input { font: inherit; font-weight: 400; min-height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: 6px; color: var(--ink); }
.campo input:focus { border-color: var(--ink); }
.check[hidden] { display: none; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 500; }
.check input { width: 24px; height: 24px; accent-color: var(--red); margin: 0; }
.ficha__msg { background: var(--shelf); border-left: 4px solid var(--wa); padding: 12px 16px; }
.ficha__l { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
#vista { margin: 0; white-space: pre-line; }

/* Garantía */
.sample { display: inline-block; border: 2px dashed var(--line); padding: 8px 14px; color: var(--ink-2); max-width: 70ch; }
.gar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 18px; }
.gar article { padding-top: 18px; border-top: 2px solid var(--ink); }
.gar p { color: var(--ink-2); }

/* Opiniones */
.op__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.op__head h2 { margin: 0; }
.nota { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.nota__n { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 2rem; }
.estrellas { color: #e0a100; font-size: 1.3rem; letter-spacing: 2px; }
.estrellas span { color: #c3c8d1; }
.rev { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 12px; }
.rev__item { margin: 0; background: #fff; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); }
.rev__s { color: #e0a100; letter-spacing: 2px; margin: 0 0 8px; }
.rev__item p { font-size: 1.12rem; }
.rev__item footer { color: var(--ink-2); font-size: 1rem; }

/* Fotos */
.fotos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.foto { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); }
.foto--grande { grid-row: span 2; }
.foto svg { display: block; width: 100%; height: 100%; }
.foto figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(21, 22, 27, .85); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 1rem; }

/* Visítanos */
.loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
address { font-style: normal; margin-bottom: 24px; font-size: 1.1rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin-bottom: 24px; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours tr.is-today { background: #fde3e5; font-weight: 700; }
.loc__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.map { aspect-ratio: 4 / 3.3; border: 4px solid var(--ink); background: var(--peg); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.foot { background: var(--ink); color: #c9cdd6; padding: 32px 0 96px; font-size: 1rem; }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot b { color: #fff; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(21, 22, 27, .3); }
.wa-float svg { width: 32px; height: 32px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .top__in { justify-content: space-between; }
  .hero { padding: 32px 0 44px; }
  .hero__in, .consulta, .loc { grid-template-columns: 1fr; }
  .hero__in { gap: 32px; }
  .cats, .gar { grid-template-columns: 1fr 1fr; }
  .rev { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .demo__q { display: none; }
  .sec { padding: 56px 0; }
  .pared { border-width: 6px; padding: 16px 12px 20px; }
  .pared__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .cats, .gar { grid-template-columns: 1fr; }
  .fotos { grid-template-columns: 1fr; }
  .foto--grande { grid-row: auto; }
  .ficha { padding: 20px 16px; }
  .logo { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gancho { animation: none; }
  .btn { transition: none; }
}
