/* Esteban Tattoo · Sabadell
   Tinta y papel de calco. Rojo del halo de sus fotos, violeta del stencil. */

:root {
  --marca: #b3191f;
  --marca-claro: #e5555a;
  --tinta: #100f0e;
  --tinta-2: #1a1816;
  --papel: #ede6da;
  --papel-2: #e2d9c9;
  --acento: #7d6bd6;
  --linea: #2e2a27;
  --linea-papel: #cfc5b4;
  --suave: #a8a097;
  --suave-papel: #5a534a;
  --wa: #25d366;

  --f-title: "Gloock", Georgia, "Times New Roman", serif;
  --f-text: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-logo: "Rye", Georgia, serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --hd: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tinta);
  color: var(--papel);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(40px, 6vw, 76px); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--papel); color: var(--tinta); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }

.paper { background: var(--papel); color: var(--tinta); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--red { background: var(--marca); color: #fff; }
.btn--red:hover { background: #95131a; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.paper .btn--line:hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.btn--ink { background: var(--tinta); color: var(--papel); }
.btn--ink:hover { background: #2a2622; }
.btn--block { width: 100%; }
.link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--marca-claro); }
.paper .link:hover { color: var(--marca); }

.stars { display: inline-flex; gap: 2px; color: #f2b84b; }
.stars svg { width: 17px; height: 17px; }

/* ---------- Cabecera ---------- */
.hd {
  position: sticky; top: 0; z-index: 40;
  height: var(--hd);
  background: var(--tinta);
  border-bottom: 1px solid var(--linea);
}
.hd__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin: 0; }
.logo__name { font-family: var(--f-logo); font-size: 25px; letter-spacing: .02em; }
.logo__city { font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--suave); margin-top: 5px; padding-left: 2px; }
.hd__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--linea); border-radius: 2px; }
.lang button { background: none; border: 0; padding: 8px 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--suave); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--tinta); background: var(--papel); }
.hd__cta { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.hd__menu {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px;
  background: none; border: 1px solid var(--linea); border-radius: 2px;
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.hd__menu svg { width: 20px; height: 20px; }
.hd__menu:hover { border-color: var(--papel); }

/* ---------- Panel lateral ---------- */
.panel { position: fixed; inset: 0; z-index: 60; }
.panel[hidden] { display: none; }
.panel__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.panel__box {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  padding: 28px 32px 32px;
  background: var(--papel); color: var(--tinta);
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  animation: slide .28s ease-out;
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel__close { align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--linea-papel); border-radius: 2px; cursor: pointer; }
.panel__close svg { width: 22px; height: 22px; }
.panel__nav { list-style: none; margin: 0; padding: 0; }
.panel__nav a {
  display: block; padding: 10px 0;
  font-family: var(--f-title); font-size: 38px; line-height: 1.05; text-decoration: none;
  border-bottom: 1px solid var(--linea-papel);
}
.panel__nav a:hover { color: var(--marca); }
.panel__info { margin-top: auto; font-size: 16px; color: var(--suave-papel); }
.lang--panel { display: inline-flex; margin-bottom: 18px; border-color: var(--linea-papel); }
.lang--panel button { padding: 9px 14px; font-size: 14px; color: var(--suave-papel); }
.lang--panel button[aria-pressed="true"] { background: var(--tinta); color: var(--papel); }
.panel__info p { margin: 0 0 .6em; }
.panel__info a { color: var(--tinta); font-weight: 700; text-decoration: none; }
.panel__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.panel__social a { display: inline-flex; align-items: center; gap: 6px; }
.panel__social svg { width: 18px; height: 18px; }

/* ---------- Portada ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  grid-template-areas: "kicker kicker" "title side";
  column-gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero__kicker {
  grid-area: kicker;
  margin: 0 0 18px;
  font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave);
}
.hero__title { grid-area: title; font-size: clamp(50px, 8.6vw, 128px); line-height: .94; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--marca-claro); }
.hero__side { grid-area: side; padding-bottom: 10px; }
.hero__side p { font-size: 18px; color: #d8d0c4; }
.rating {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 4px 0 22px; text-decoration: none; font-size: 15px; color: var(--suave);
}
.rating strong { font-family: var(--f-title); font-weight: 400; font-size: 30px; color: var(--papel); line-height: 1; }
.rating:hover span:last-child { color: var(--papel); text-decoration: underline; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.strip {
  list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0 0 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tinta-2); }
.strip figcaption { padding: 10px 12px 0; font-size: 14px; color: var(--suave); }
.strip li:nth-child(even) { margin-top: 36px; }

/* ---------- Datos clave ---------- */
.facts { padding: clamp(40px, 6vw, 72px) 0 0; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.fact { padding: 24px 24px 22px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--linea); }
.fact__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.fact p { margin: 0 0 10px; font-size: 19px; font-weight: 500; }
.fact p a { text-decoration: none; }
.fact__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--suave); }
.fact__link:hover { color: var(--papel); }
.status { display: inline-flex; align-items: center; gap: 10px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--suave); flex: none; }
.status.is-open::before { background: #3fbf6a; }
.status.is-closed::before { background: var(--marca-claro); }

/* ---------- Trabajos ---------- */
.works { padding: clamp(72px, 10vw, 128px) 0; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.works__head p { margin: 14px 0 0; color: var(--suave); max-width: 38ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 40px; padding: 6px 16px;
  background: none; border: 1px solid var(--linea); border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer; color: #d8d0c4;
}
.filters button:hover { border-color: var(--papel); }
.filters button[aria-pressed="true"] { background: var(--papel); color: var(--tinta); border-color: var(--papel); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px);
  grid-auto-flow: dense; gap: 8px;
}
.w { position: relative; min-width: 0; }
.w[hidden] { display: none; }
.w--big { grid-column: span 2; grid-row: span 2; }
.w--tall { grid-row: span 2; }
.w--wide { grid-column: span 2; }
.w button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--tinta-2); cursor: zoom-in; overflow: hidden; }
.w img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.w button:hover img { transform: scale(1.03); }
.w span {
  position: absolute; left: 0; bottom: 0;
  max-width: calc(100% - 16px);
  padding: 6px 10px; margin: 0;
  background: var(--tinta); color: var(--papel);
  font-size: 13px; font-weight: 500; line-height: 1.3; text-align: left;
}
.works__more { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin: 32px 0 0; }

/* ---------- Covers (firma) ---------- */
.covers { padding: clamp(72px, 10vw, 128px) 0; }
.covers__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.compare { position: relative; margin: 0; aspect-ratio: 1 / 2; max-height: 720px; overflow: hidden; background: var(--tinta); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--acento); pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--acento); border: 3px solid var(--papel);
}
.compare__knob::before, .compare__knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px;
  border: 5px solid transparent;
}
.compare__knob::before { left: 6px; border-right-color: #fff; }
.compare__knob::after { right: 6px; border-left-color: #fff; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__tag { position: absolute; top: 12px; padding: 4px 10px; background: var(--tinta); color: var(--papel); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; }
.compare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: var(--tinta); color: #d8d0c4; font-size: 13px; line-height: 1.4; pointer-events: none; }

.covers__text h2 { margin-bottom: 22px; }
.covers__text > p { font-size: 18px; color: var(--suave-papel); }
.q { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--marca); }
.q p { margin: 0 0 6px; font-family: var(--f-title); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; }
.q cite { font-style: normal; font-size: 14px; font-weight: 700; color: var(--suave-papel); }

.photo2skin { margin: 0; }
.photo2skin img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo2skin figcaption { margin-top: 12px; font-size: 15px; color: var(--suave-papel); }
.photo2skin strong { color: var(--tinta); }

/* ---------- Opiniones ---------- */
.reviews { padding: clamp(72px, 10vw, 128px) 0; }
.reviews__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-bottom: 28px; border-bottom: 1px solid var(--linea); }
.score { display: flex; align-items: center; gap: 18px; }
.score strong { font-family: var(--f-title); font-weight: 400; font-size: 84px; line-height: .9; }
.score p { margin: 6px 0 0; color: var(--suave); }
.bars { margin: 0; display: grid; gap: 4px; width: min(340px, 100%); font-size: 13px; color: var(--suave); }
.bars div { display: grid; grid-template-columns: 14px 1fr 34px; align-items: center; gap: 10px; }
.bars dt, .bars dd { margin: 0; }
.bars dd span { display: block; height: 6px; background: var(--linea); position: relative; }
.bars dd span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #f2b84b; }
.bars .n { text-align: right; }

.feature { margin: clamp(48px, 7vw, 88px) 0; }
.feature p { max-width: 15ch; margin: 0 0 20px; font-family: var(--f-title); font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.02em; }
.feature cite { font-style: normal; font-weight: 700; color: var(--suave); }

.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--linea); }
.quotes li { padding: 26px 24px 26px 0; }
.quotes li + li { padding-left: 24px; border-left: 1px solid var(--linea); }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0 0 12px; font-size: 18px; line-height: 1.45; }
.quotes cite { font-style: normal; font-size: 14px; font-weight: 700; color: var(--suave); }
.reviews__links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin: 36px 0 0; }

/* ---------- Esteban ---------- */
.about { padding: clamp(72px, 10vw, 128px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "text hand" "text shoes";
  grid-template-rows: auto 1fr;
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: start;
}
.about__text { grid-area: text; }
.about__text h2 { font-size: clamp(56px, 9vw, 120px); margin-bottom: 26px; }
.about__lead { font-family: var(--f-title); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 26px; }
.about__text > p:not(.about__lead) { font-size: 18px; color: var(--suave-papel); max-width: 56ch; }
.about__facts { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--linea-papel); }
.about__facts li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--linea-papel); position: relative; }
.about__facts li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 2px; background: var(--marca); }
.about__hand { grid-area: hand; margin: 0; }
.about__hand img { width: 100%; mix-blend-mode: multiply; filter: contrast(1.05); }
.about__hand figcaption, .about__shoes figcaption { margin-top: 10px; font-size: 14px; color: var(--suave-papel); }
.about__shoes { grid-area: shoes; align-self: start; margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding-top: 24px; border-top: 1px solid var(--linea-papel); }
.about__shoes img { width: 150px; height: 150px; object-fit: cover; }
.about__shoes figcaption { margin: 0; font-size: 15px; }
.about__shoes strong { color: var(--tinta); }

/* ---------- Pide cita ---------- */
.book { padding: clamp(72px, 10vw, 128px) 0; }
.book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.book__intro h2 { margin-bottom: 20px; }
.book__intro > p { font-size: 18px; color: #d8d0c4; }
.book__intro h3 { font-family: var(--f-text); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin: 34px 0 10px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--linea); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--acento); border-bottom: 2px solid var(--acento); transform: rotate(-45deg); }
.book__price { margin-top: 24px; font-size: 15px; color: var(--suave); }

.form { padding: clamp(22px, 3vw, 36px); background: var(--tinta-2); border: 1px solid var(--linea); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field__label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #d8d0c4; }
.field input[type="text"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--tinta); border: 1px solid #3a3531; border-radius: 2px; color: var(--papel);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--suave) 50%), linear-gradient(135deg, var(--suave) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #7b746c; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acento); outline: none; box-shadow: 0 0 0 1px var(--acento); }
.field.is-invalid input { border-color: var(--marca-claro); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid #3a3531; border-radius: 999px; font-size: 15px; font-weight: 500; color: #d8d0c4; }
.chips input:checked + span { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.chips input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
.form__error { color: var(--marca-claro); font-weight: 700; margin: -6px 0 14px; }
.form__note { margin: 12px 0 0; font-size: 14px; color: var(--suave); }

/* ---------- Visítanos ---------- */
.visit { padding: clamp(72px, 10vw, 128px) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.4fr) minmax(0, 4.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.visit__hours h2 { margin-bottom: 18px; }
.visit .status { font-weight: 700; margin-bottom: 18px; }
.visit .status::before { background: var(--suave-papel); }
.visit .status.is-open::before { background: #1f9a4a; }
.visit .status.is-closed::before { background: var(--marca); }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--linea-papel); vertical-align: top; }
.hours td:last-child { text-align: right; }
.hours tr.is-closed td:last-child { color: var(--suave-papel); }
.hours tr.is-today td { font-weight: 700; }
.hours tr.is-today td:first-child { box-shadow: inset 3px 0 0 var(--marca); padding-left: 12px; }
.visit__note { margin-top: 16px; font-size: 15px; color: var(--suave-papel); }
.addr { font-family: var(--f-title); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; margin: 64px 0 8px; }
.addr__sub { margin: 0 0 22px; font-size: 15px; color: var(--suave-papel); }
.contact { list-style: none; margin: 0; padding: 0; }
.contact a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea-papel); text-decoration: none; font-weight: 700; word-break: break-word; }
.contact a:hover { color: var(--marca); }
.contact svg { width: 20px; height: 20px; }
.map { position: relative; min-height: 420px; height: 100%; background: var(--papel-2); border: 1px solid var(--linea-papel); }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.map__ph > svg { width: 40px; height: 40px; color: var(--marca); }
.map__ph p { margin: 0; font-size: 14px; color: var(--suave-papel); max-width: 26ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Pie ---------- */
.ft { padding: 64px 0 28px; border-top: 1px solid var(--linea); }
.ft__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.logo--ft .logo__name { font-size: 34px; }
.ft__about { margin: 16px 0 0; max-width: 40ch; color: var(--suave); }
.ft__links { display: flex; flex-direction: column; gap: 10px; }
.ft__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.ft__links a:hover { color: var(--marca-claro); }
.ft__links svg { width: 18px; height: 18px; }
.ft__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--suave); }
.ft__bottom nav { display: flex; gap: 20px; }
.ft__bottom a { text-decoration: none; }
.ft__bottom a:hover { color: var(--papel); text-decoration: underline; }

/* ---------- WhatsApp y barra móvil ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #1fb457; }
.mbar { display: none; }

/* ---------- Visor ---------- */
.viewer { width: min(1000px, 94vw); max-height: 94vh; padding: 0; border: 0; background: var(--tinta); color: var(--papel); }
.viewer::backdrop { background: rgba(0, 0, 0, .85); }
.viewer img { width: 100%; max-height: calc(94vh - 60px); object-fit: contain; background: #000; }
.viewer p { margin: 0; padding: 14px 18px; font-size: 15px; }
.viewer__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 2px; background: var(--tinta); cursor: pointer; }
.viewer__close svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .covers__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .photo2skin { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
  .photo2skin figcaption { margin: 0; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes li:nth-child(3) { padding-left: 0; border-left: 0; }
  .quotes li:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; min-height: 360px; }
}

@media (max-width: 860px) {
  :root { --hd: 64px; }
  .hd__cta, .hd .lang { display: none; }
  .hd__menu span { display: none; }
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "side"; }
  .hero__side { margin-top: 26px; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding: 0 var(--gutter); scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip li { flex: 0 0 62%; scroll-snap-align: start; }
  .strip li:nth-child(even) { margin-top: 0; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--linea); }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 6px; }
  .w--big { grid-column: span 2; grid-row: span 2; }
  .w--wide { grid-column: span 2; grid-row: span 1; }
  .covers__grid { grid-template-columns: 1fr; }
  .compare { max-width: 400px; width: 100%; margin: 0 auto; max-height: none; }
  .photo2skin { grid-template-columns: 130px 1fr; }
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "text" "hand" "shoes"; }
  .book__grid { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }
  .addr { margin-top: 0; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    height: 62px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--tinta); border-top: 1px solid var(--linea);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 700; text-decoration: none; }
  .mbar a + a { border-left: 1px solid var(--linea); }
  .mbar svg { width: 20px; height: 20px; }
  .mbar__main { background: var(--marca); color: #fff; font-size: 16px !important; }
  .wa-float { bottom: 76px; right: 14px; width: 54px; height: 54px; }
  .ft { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .quotes { grid-template-columns: 1fr; }
  .quotes li, .quotes li + li { padding: 20px 0; border-left: 0; }
  .quotes li + li { border-top: 1px solid var(--linea); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .score strong { font-size: 64px; }
  .about__shoes { grid-template-columns: 110px 1fr; }
  .about__shoes img { width: 110px; height: 110px; }
  .panel__nav a { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
