/* Paleta: negro noche + beige dorado */
:root {
  --bg: #1a1d24;
  --band: #20242c;
  --surface: #272b34;
  --line: #363b46;
  --text: #ece6d8;
  --muted: #b9b3a5;
  --accent: #bc7440;        /* suela: textos, líneas y adornos (contraste 4,6:1 sobre negro noche) */
  --accent-hover: #cb8550;
  --on-accent: #f3ebdd;
  --btn: #9c5a2b;           /* suela profundo: fondo de botones con texto crema (4,5:1) */
  --btn-hover: #87491f;
  --display: "Cinzel", Georgia, serif;
  --serif-it: "Cormorant Garamond", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: .06em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.12; }
h3 { font-size: 1.15rem; letter-spacing: .12em; }
strong { font-weight: 500; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); 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: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--text); color: var(--bg); padding: 8px 12px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  background: var(--btn); color: var(--on-accent);
  font: 600 .95rem var(--body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--btn); border-radius: 2px; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-2px); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--btn); color: var(--on-accent); }
.link { display: inline-block; padding: 10px 0; color: var(--text); text-underline-offset: 5px; text-decoration-color: var(--accent); }
.link:hover { color: var(--accent-hover); }
.linkbtn { background: none; border: 0; padding: 10px 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* BANNER DE ENVÍO */
.ticker {
  position: fixed; inset: 0 0 auto; z-index: 11; height: 38px;
  background: var(--btn); color: var(--on-accent); overflow: hidden;
  display: flex; align-items: center;
}
.ticker__track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker__track span {
  padding: 0 32px; font: 600 .8rem var(--body); letter-spacing: .2em; text-transform: uppercase;
}
.ticker__track span::after { content: "✦"; margin-left: 64px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* NAV */
.nav {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s;
}
.nav { background: rgba(26, 29, 36, 0); }
.nav.is-solid { background: rgba(26, 29, 36, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav__logo img { width: 200px; height: auto; }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 2px; }
.lang button {
  min-width: 44px; min-height: 40px; background: none; border: 0; color: var(--muted);
  font: 600 .8rem var(--body); letter-spacing: .1em; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--btn); color: var(--on-accent); }

/* HERO */
.hero {
  --hero-bg: #050302; /* mismo negro que el fondo del vídeo */
  display: grid; grid-template-columns: 45fr 55fr; background: var(--hero-bg);
  min-height: 100svh; align-items: center;
}
.hero__text { padding: 160px var(--gutter) 64px; }
.hero__title { font-size: clamp(3rem, 6.6vw, 6.6rem); line-height: 1.02; letter-spacing: .04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: 1.125rem; color: var(--muted); max-width: 36ch; }
.hero__ctas { display: flex; align-items: center; gap: 28px; margin-top: 2rem; flex-wrap: wrap; }
.hero__media { position: relative; height: 100%; min-height: 100svh; overflow: hidden; }
.hero__media video {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  animation: heroZoom 2.4s var(--ease) both;
}
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--hero-bg) 0%, transparent 18%);
}
.hero__pause {
  position: absolute; z-index: 2; left: 20px; bottom: 20px;
  min-height: 44px; padding: 0 16px;
  background: rgba(26, 29, 36, .75); color: var(--text);
  border: 1px solid var(--line); border-radius: 2px;
  font: .95rem var(--body); cursor: pointer;
}
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: 1; } }

/* Entrada del hero: una sola secuencia al cargar */
.intro { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d) * .14s + .2s); }
.hero__title .intro { animation-name: lineUp; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }

/* Cambio de color al hacer scroll: las secciones con data-tone="light" pasan la página a beige */
html[data-tone="light"] {
  --bg: #e9e0cc;
  --band: #dfd4bb;
  --surface: #f2ebdc;
  --line: #c8bb9e;
  --text: #1a1d24;
  --muted: #4b4a45;
  --accent: #1a1d24;
  --accent-hover: #353a45;
  --on-accent: #e9e0cc;
}
/* menú, banner y aviso de cookies quedan siempre en negro noche */
html[data-tone] .nav, html[data-tone] .cookies {
  --bg: #1a1d24; --surface: #272b34; --line: #363b46; --text: #ece6d8; --muted: #b9b3a5;
  --accent: #bc7440; --accent-hover: #cb8550; --on-accent: #f3ebdd;
  color: var(--text);
}
body, .facts, .section--band, .card, .faq__list details, .form input, .form select, .form textarea, .map__frame, .footer {
  transition: background-color .8s var(--ease), color .8s var(--ease), border-color .8s var(--ease);
}
.eyebrow, h2, h3, .btn, .link, .card a, .steps li, .steps li::before, .note, .section__head p { transition: color .8s var(--ease), border-color .8s var(--ease), background-color .8s var(--ease); }

/* Entradas al hacer scroll (mismo sistema que la web de Negangraff) */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { --d: calc(var(--i, 0) * 90ms); }
  html.js .rv-rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d), transform .9s var(--ease) var(--d), background-color .8s, color .8s, border-color .8s; }
  html.js .rv-cut { clip-path: inset(-.4em 100% -.4em 0); transform: translateX(-.08em); transition: clip-path 1s var(--ease) var(--d), transform 1s var(--ease) var(--d), color .8s; }
  html.js .rv-line { opacity: 0; transition: opacity .5s var(--ease), color .8s; }
  html.js .rv-line::before { width: 0; transition: width .8s var(--ease) .1s; }
  html.js .rv-unveil { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); }
  html.js .rv-unveil img, html.js img.rv-unveil { transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }

  html.js .rv.in.rv-rise, html.js .rv.in.rv-line { opacity: 1; transform: none; }
  html.js .rv.in.rv-cut { clip-path: inset(-.4em -.1em -.4em -.1em); transform: none; }
  html.js .rv.in.rv-line::before { width: 34px; }
  html.js .rv.in.rv-unveil { clip-path: inset(0 0 0 0); transform: none; }
}

/* DATOS */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line); background: var(--band);
}
.facts div { padding: 28px var(--gutter); border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts strong { display: block; font: 500 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--display); letter-spacing: .06em; color: var(--accent); margin-bottom: 6px; }
.facts > div > span { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

/* SECCIONES */
.section { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section--band { background: var(--band); }
.section__head { max-width: 46rem; margin-bottom: 48px; }
.section__head > p:last-child { color: var(--muted); }
.note { color: var(--muted); font-size: 1rem; margin-top: 24px; }

.swatches {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.swatches li { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0a09; }
.swatches li::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(188, 116, 64, .35); pointer-events: none; transition: inset .6s var(--ease), border-color .6s; }
.swatches img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.swatches span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 22px; text-align: center;
  background: linear-gradient(transparent, rgba(5, 3, 2, .85));
  font: 500 .95rem var(--display); letter-spacing: .22em; text-transform: uppercase; color: #ece6d8;
}
.swatches li:hover img { transform: scale(1.06); }
.swatches li:hover::after { inset: 16px; border-color: rgba(188, 116, 64, .7); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; transition: border-color .3s, transform .5s var(--ease), opacity .9s var(--ease); }
.card:hover { border-color: var(--accent); }
.card p { color: var(--muted); flex: 1; }
.card a { color: var(--accent); text-underline-offset: 4px; padding: 10px 0; }

.brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brands__grid li { background: var(--bg); display: grid; place-items: center; padding: 32px 20px; min-height: 120px; }
.brands__grid img { max-height: 56px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .3s, opacity .3s; }
.brands__grid li:hover img { filter: none; opacity: 1; }

/* Línea de recorrido del proceso: avanza con el scroll y enciende cada paso (como en la web de Negangraff) */
.steps { --p: 0; position: relative; list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--accent); transform-origin: left center; transform: scaleX(var(--p)); box-shadow: 0 0 12px rgba(188, 116, 64, .45); }
.steps li { counter-increment: s; position: relative; padding-top: 40px; }
.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--muted); transition: background .4s, box-shadow .4s;
}
.steps li::after { content: "0" counter(s); position: absolute; top: 40px; left: 0; font: 500 2.6rem/1 var(--display); color: #4a4f5c; transition: color .4s; }
.steps h3 { margin-top: 56px; }
.steps p { color: var(--muted); }
.steps li.on::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(188, 116, 64, .15), 0 0 18px rgba(188, 116, 64, .5); }
.steps li.on::after { color: var(--accent); }

.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.story img { width: 100%; height: auto; object-fit: contain; }
.story__text { padding: clamp(48px, 8vw, 112px) var(--gutter); max-width: 40rem; }
.story__text p:last-child { color: var(--muted); font-size: 1.125rem; }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); padding: 28px; margin: 0; }
.review__stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-size: 1.15rem; }
.review figcaption { color: var(--muted); font-size: 1rem; }

.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 500 1.05rem/1.4 var(--display); letter-spacing: .1em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font: 400 1.8rem var(--body); color: var(--accent); transition: rotate .3s var(--ease);
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 60ch; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact > div > p { color: var(--muted); }
address { font-style: normal; margin: 28px 0 12px; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 1rem; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: 1rem var(--body); color: var(--text);
  background: var(--bg); border: 1px solid #5c6170; border-radius: 2px;
  min-height: 48px; padding: 10px 14px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 2px var(--accent); }
.form .check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.form .check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.form .check a { color: var(--accent); }
.form .btn { justify-self: start; }
.form__status { min-height: 1.6em; color: var(--accent); margin: 0; }

.map { display: grid; grid-template-columns: 1fr 1.6fr; border-top: 1px solid var(--line); }
.map__info { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.map__info p { color: var(--muted); }
.map__frame { min-height: 420px; background: var(--surface); position: relative; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }

.footer { padding: 48px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.footer img { width: 160px; height: auto; margin-bottom: 16px; }
.footer p { margin: 0 0 4px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 16px 0; }
.footer__legal a { padding: 10px 0; text-underline-offset: 4px; }
.form [aria-invalid="true"] { border-color: #e08a7a; }
.form .field-error { color: #f0a090; font-size: .95rem; margin: 0; }

.cookies {
  position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 460px;
  background: var(--surface); border: 1px solid var(--accent); padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45); font-size: 1rem;
}
.cookies p { margin: 0 0 12px; }
.cookies a { color: var(--accent); }
.cookies__btns { display: flex; gap: 12px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav__toggle {
    display: block; min-height: 44px; padding: 0 16px;
    background: transparent; color: var(--text); border: 1px solid var(--line);
    font: 1rem var(--body); cursor: pointer;
  }
  .nav__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 16px; }
  .nav__right { gap: 12px; }
}
@media (max-width: 960px) {
  .nav__logo img { width: 150px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding: 150px var(--gutter) 40px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media::before { background: linear-gradient(180deg, var(--hero-bg) 0%, transparent 15%); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  /* en pantallas angostas la línea baja por la izquierda */
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 36px; }
  .steps::before, .steps::after { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { transform-origin: center top; transform: scaleY(var(--p)); }
  .steps li { padding-top: 0; display: flex; flex-direction: column; }
  .steps li::before { left: -36px; top: 4px; }
  .steps li::after { position: static; order: -1; margin-bottom: 8px; }
  .steps h3 { margin-top: 0; }
  .story, .contact, .faq, .map { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__title { letter-spacing: .02em; }
  .cards { grid-template-columns: 1fr; }
  .facts strong { font-size: 1.9rem; }
  .nav__logo img { width: 120px; }
  .lang button { min-width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Toque luxury: encabezados centrados con ornamento dorado --- */
.section__head { margin-inline: auto; text-align: center; max-width: 52rem; }
.section__head > p:not(.eyebrow) { margin-inline: auto; max-width: 56ch; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.section__head h2::after {
  content: "◆"; display: block; margin: 22px auto 0; width: 160px; font-size: .55rem; line-height: 1; color: var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) left center / 64px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) right center / 64px 1px no-repeat;
}
.faq .section__head, .contact .section__head { text-align: left; margin-inline: 0; }
.faq .section__head .eyebrow { justify-content: flex-start; }
.faq .section__head .eyebrow::after { display: none; }
.faq .section__head h2::after { margin-left: 0; }
.eyebrow { letter-spacing: .3em; font-size: .7rem; }

/* Manifiesto: foto a pantalla completa con frase en itálica */
.manifest { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; }
.manifest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(1.05); }
.manifest::after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(188, 116, 64, .35); pointer-events: none; }
.manifest__text { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter); }
.manifest__quote { font: italic 500 clamp(2.2rem, 5.4vw, 4.6rem)/1.1 var(--serif-it); color: #f1e9d8; max-width: 20ch; margin: 0 auto 24px; }
.manifest__sign { font: 500 .75rem var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0; }
#cueros .note { text-align: center; }
@media (max-width: 560px) { .swatches span { font-size: .78rem; letter-spacing: .14em; padding-bottom: 16px; } }

/* Contacto, redes y WhatsApp (se muestran cuando hay datos en CONTACTO, main.js) */
.contact__links { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; }
.contact__links li { display: flex; gap: 14px; align-items: baseline; }
.contact__links span { min-width: 84px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.contact__links a { padding: 10px 0; text-underline-offset: 4px; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.social a { display: inline-block; padding: 10px 0; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.social a:hover { text-decoration: underline; text-underline-offset: 5px; }
.wa-float {
  position: fixed; z-index: 15; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: #1ebe5b; }
.wa-float[hidden] { display: none; }

/* Fotos en las tarjetas de rubro */
.card { padding: 0; overflow: hidden; }
.card__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img { transform: scale(1.05); }
.card h3, .card p, .card a { margin-left: 24px; margin-right: 24px; }
.card h3 { margin-top: 22px; }
.card a { margin-bottom: 14px; }

/* Acabados en mosaico */
.mosaic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 30vw)); gap: 12px; max-height: 860px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; background: #0b0a09; }
.mosaic__tall { grid-row: span 2; }
.mosaic__wide { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(188, 116, 64, .3); pointer-events: none; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 24px;
  background: linear-gradient(transparent, rgba(5, 3, 2, .85)); display: grid; gap: 4px;
}
.mosaic figcaption span { font: 500 1.1rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: #ece6d8; }
.mosaic figcaption small { font: italic 500 1.15rem var(--serif-it); color: var(--accent); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; max-height: none; }
  .mosaic__tall { grid-row: span 2; }
  .mosaic__wide { grid-column: span 2; }
}

/* INTRO: contorno del isotipo que se dibuja, relleno que sube y nombre que aparece */
.intro-screen { display: none; }
html.has-intro .intro-screen {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 36px;
  background: #050302; animation: introOut .9s var(--ease) 3.6s forwards;
}
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.intro-screen__iso { position: relative; width: clamp(120px, 18vw, 200px); aspect-ratio: 480 / 613; }
.intro-screen__iso img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-screen__line {
  -webkit-mask: conic-gradient(from 180deg, #000 var(--sweep), transparent 0);
          mask: conic-gradient(from 180deg, #000 var(--sweep), transparent 0);
  animation: introDraw 1.7s cubic-bezier(.6, .05, .3, 1) .3s forwards, introLineOut .6s ease 2.4s forwards;
}
.intro-screen__fill { clip-path: inset(100% 0 0 0); animation: introFill 1s var(--ease) 1.8s forwards; }
.intro-screen__name { width: clamp(220px, 32vw, 380px); height: auto; opacity: 0; transform: translateY(14px); animation: introName .9s var(--ease) 2.5s forwards; }
.intro-screen__skip {
  position: absolute; right: 24px; bottom: 24px; min-height: 44px; padding: 0 18px;
  background: none; border: 1px solid rgba(188, 116, 64, .5); color: #cfc4b0; border-radius: 2px;
  font: 500 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
@keyframes introDraw { to { --sweep: 360deg; } }
@keyframes introLineOut { to { opacity: 0; } }
@keyframes introFill { to { clip-path: inset(0 0 0 0); } }
@keyframes introName { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: translateY(-3%); } }
html.has-intro .intro { animation-delay: calc(var(--d) * .14s + 3.9s); }
html.has-intro .hero__media video { animation-delay: 3.7s; }
html.intro-skipped .intro-screen { display: none !important; }

/* --- Pulido de UX/UI (sin cambios de diseño) --- */
/* Accesibilidad: sobre fondos más claros que el negro noche, el suela de texto sube un tono para mantener 4,5:1 */
.section--band, .card, .facts { --accent: #ca8350; }
/* Tamaño mínimo legible para los rótulos */
.eyebrow { font-size: .75rem; }
/* Casilla de privacidad de 24 px como mínimo táctil */
.form .check input { width: 24px; height: 24px; }
/* Títulos y párrafos sin viudas ni líneas desparejas */
h1, h2, h3, .manifest__quote { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }
/* Selección de texto en el color de la marca */
::selection { background: var(--btn); color: var(--on-accent); }
/* Los zoom de hover solo en dispositivos con mouse: en táctil no quedan "pegados" */
@media (hover: none) {
  .swatches li:hover img, .mosaic figure:hover img, .card:hover .card__img, .btn:hover, .wa-float:hover { transform: none; }
}
/* Botón de WhatsApp respetando el área segura en iPhone */
.wa-float { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }
/* Foco visible también sobre los botones de color */
.btn:focus-visible, .wa-float:focus-visible, .lang button:focus-visible { outline: 2px solid var(--on-accent); outline-offset: 3px; }
/* Resumen de la FAQ con objetivo táctil cómodo */
.faq__list summary { min-height: 48px; }

/* Chat de respuestas automáticas */
.chat-fab {
  position: fixed; z-index: 15; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 68px);
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--btn); color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), background .3s;
}
.chat-fab:hover { transform: translateY(-3px); background: var(--btn-hover); }
.chat-fab:focus-visible { outline: 2px solid var(--on-accent); outline-offset: 3px; }
.chat {
  position: fixed; z-index: 16; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 136px);
  width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100svh - 200px));
  display: flex; flex-direction: column; background: #20242c; color: #ece6d8;
  border: 1px solid rgba(188, 116, 64, .45); box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
  transform-origin: bottom right; animation: chatIn .35s var(--ease);
}
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #363b46; }
.chat__head img { width: 28px; height: auto; }
.chat__head div { flex: 1; }
.chat__title { margin: 0; font: 500 .85rem var(--display); letter-spacing: .1em; }
.chat__sub { margin: 0; font-size: .8rem; color: #b9b3a5; }
.chat__close { width: 44px; height: 44px; background: none; border: 0; color: #ece6d8; font-size: 1.6rem; cursor: pointer; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.chat__msg { max-width: 85%; padding: 10px 14px; font-size: .95rem; line-height: 1.5; margin: 0; }
.chat__msg--bot { background: #2c313b; justify-self: start; border-radius: 2px 14px 14px 14px; }
.chat__msg--user { background: var(--btn); color: var(--on-accent); justify-self: end; border-radius: 14px 2px 14px 14px; }
.chat__msg a { color: #ca8350; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat__chips button {
  min-height: 36px; padding: 0 12px; background: none; border: 1px solid rgba(188, 116, 64, .55); border-radius: 999px;
  color: #ece6d8; font: 400 .85rem var(--body); cursor: pointer;
}
.chat__chips button:hover { background: rgba(188, 116, 64, .15); }
.chat__form { display: flex; border-top: 1px solid #363b46; }
.chat__form input { flex: 1; min-height: 52px; padding: 0 16px; background: none; border: 0; color: #ece6d8; font: 1rem var(--body); }
.chat__form input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--accent); }
.chat__form button { width: 52px; background: none; border: 0; color: #ca8350; font-size: 1.3rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .chat { animation: none; } }

/* Teléfono e íconos de redes en el pie */
.footer__tel { margin: 16px 0 0; }
.footer__tel a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text); text-decoration: none; font-size: 1.05rem; letter-spacing: .04em; }
.footer__tel a:hover { color: var(--accent); }
.footer__tel svg { color: var(--accent); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(188, 116, 64, .45); border-radius: 50%; color: var(--accent); transition: background .3s, color .3s; }
.social a:hover { background: var(--btn); color: var(--on-accent); text-decoration: none; }
.social { gap: 12px; }

/* Colores en franjas: la franja activa se abre y muestra el cuero entero (con mouse o teclado) */
.swatches { display: flex; gap: 10px; height: clamp(420px, 62vh, 640px); grid-template-columns: none; }
.swatches li { flex: 1; aspect-ratio: auto; height: 100%; min-width: 0; cursor: pointer; transition: flex .8s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.swatches li:first-child { flex: 4; }
.swatches:hover li, .swatches:focus-within li { flex: 1; }
.swatches li:hover, .swatches li:focus-visible { flex: 4 !important; outline: none; }
.swatches li:focus-visible::after { border-color: var(--accent); inset: 6px; }
.swatches img { object-position: center 30%; filter: brightness(.75) saturate(.9); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.swatches li:first-child img, .swatches li:hover img, .swatches li:focus-visible img { filter: none; }
.swatches:hover li:first-child:not(:hover) img, .swatches:focus-within li:first-child:not(:focus-visible) img { filter: brightness(.75) saturate(.9); }
.swatches span {
  writing-mode: vertical-rl; transform: rotate(180deg); left: 50%; right: auto; bottom: 24px; translate: -50% 0;
  padding: 0; background: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); transition: opacity .4s;
}
.swatches li:first-child span, .swatches li:hover span, .swatches li:focus-visible span {
  writing-mode: horizontal-tb; transform: none; left: 0; right: 0; translate: none; bottom: 0; padding: 60px 12px 24px;
  background: linear-gradient(transparent, rgba(5, 3, 2, .85));
}
.swatches:hover li:first-child:not(:hover) span, .swatches:focus-within li:first-child:not(:focus-visible) span {
  writing-mode: vertical-rl; transform: rotate(180deg); left: 50%; right: auto; translate: -50% 0; bottom: 24px; padding: 0; background: none;
}
/* En pantallas táctiles: carrusel que se desliza de costado */
@media (hover: none), (max-width: 760px) {
  .swatches { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .swatches::-webkit-scrollbar { display: none; }
  .swatches li, .swatches li:first-child, .swatches li:hover { flex: 0 0 72%; aspect-ratio: 4 / 5; height: auto; scroll-snap-align: center; }
  .swatches img, .swatches li:first-child img { filter: none !important; }
  .swatches span, .swatches li:first-child span, .swatches li:hover span {
    writing-mode: horizontal-tb !important; transform: none !important; left: 0 !important; right: 0 !important; translate: none !important;
    bottom: 0 !important; padding: 60px 12px 22px !important; background: linear-gradient(transparent, rgba(5, 3, 2, .85)) !important;
  }
}

/* Etiqueta de cada color, al estilo de un muestrario de cuero: nombre, filete y tres palabras */
.swatches .tag { display: grid; justify-items: center; gap: 10px; }
.swatches .tag strong { font: 500 .95rem var(--display); letter-spacing: .3em; font-weight: 500; }
.swatches .tag em {
  font: 500 .68rem var(--body); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: #e3c9ad;
  max-height: 0; opacity: 0; overflow: hidden; transition: opacity .5s var(--ease) .2s, max-height .5s var(--ease);
}
.swatches .tag strong::after { content: ""; display: block; width: 44px; height: 1px; margin: 12px auto 0; background: var(--accent); opacity: 0; transition: opacity .5s; }
/* La etiqueta completa se ve en la franja abierta */
.swatches li:first-child .tag em, .swatches li:hover .tag em, .swatches li:focus-visible .tag em { max-height: 3em; opacity: 1; }
.swatches li:first-child .tag strong::after, .swatches li:hover .tag strong::after, .swatches li:focus-visible .tag strong::after { opacity: 1; }
.swatches:hover li:first-child:not(:hover) .tag em, .swatches:focus-within li:first-child:not(:focus-visible) .tag em { max-height: 0; opacity: 0; }
.swatches:hover li:first-child:not(:hover) .tag strong::after, .swatches:focus-within li:first-child:not(:focus-visible) .tag strong::after { opacity: 0; }
@media (hover: none), (max-width: 760px) {
  .swatches .tag em { max-height: 3em; opacity: 1; }
  .swatches .tag strong::after { opacity: 1; }
}

/* Encabezado tipo pieza de lujo (referencia "Three expressions of LEATHER") */
.showcase__pre { margin: 6px auto 0 !important; font: 500 clamp(.9rem, 1.6vw, 1.2rem) var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--text) !important; }
.showcase__title { margin: .05em 0 0; font-weight: 700; text-transform: uppercase; font-size: clamp(4rem, 13vw, 10rem); line-height: .95; letter-spacing: .04em; color: #f1e9d8; }
.showcase .eyebrow { letter-spacing: .5em; font-size: .8rem; }
.showcase__close { margin: 56px auto 0; text-align: center; font: 500 clamp(1rem, 1.8vw, 1.35rem)/1.7 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--text); }
.showcase__close::after {
  content: "❖"; display: block; margin: 18px auto 0; width: 220px; font-size: .9rem; line-height: 1; color: var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) left center / 90px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) right center / 90px 1px no-repeat;
}
/* Ornamento de los títulos: el rombo pasa a ❖ con filetes más largos, como en la referencia */
.section__head h2::after { content: "❖"; width: 220px; font-size: .8rem; background-size: 90px 1px, 90px 1px; }
.showcase__title::after { display: none; }
.showcase .eyebrow + .showcase__pre::before { content: "❖"; display: block; margin: 0 auto 14px; width: 220px; font-size: .8rem; line-height: 1; color: var(--accent); background: linear-gradient(var(--accent), var(--accent)) left center / 90px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) right center / 90px 1px no-repeat; }

/* Títulos grandes en el resto de las secciones (un poco menores que el de Cueros) */
.showcase .showcase__title { font-size: clamp(2.8rem, 8vw, 6.4rem); }
#cueros .showcase__title { font-size: clamp(4rem, 13vw, 10rem); }
.showcase__title::after { display: none; }
.showcase--left, .faq .showcase { text-align: left; }
.showcase--left .eyebrow + .showcase__pre::before, .faq .showcase .eyebrow + .showcase__pre::before { margin-left: 0; }
.showcase--left .showcase__pre, .faq .showcase .showcase__pre { letter-spacing: .26em; }
.story .showcase__title, .map .showcase__title, .contact .showcase__title, .faq .showcase__title { font-size: clamp(2.6rem, 6vw, 5rem); }
.section__head .showcase__title::after { display: none; }
.showcase__title { margin-inline: auto; }
.showcase--left .showcase__pre, .faq .showcase .showcase__pre, .showcase--left .showcase__title, .faq .showcase .showcase__title { margin-left: 0 !important; }
/* Compensa el espacio que agrega el interletrado después de la última letra, para que el centrado sea exacto */
.showcase:not(.showcase--left) .eyebrow { padding-left: .5em; }
.showcase:not(.showcase--left) .showcase__title { padding-left: .04em; }
.showcase:not(.showcase--left) .showcase__pre { padding-left: .32em; }
.faq .showcase .eyebrow, .faq .showcase .showcase__title, .faq .showcase .showcase__pre { padding-left: 0; }
/* Sin ornamento entre el rótulo y la frase */
.showcase .eyebrow + .showcase__pre::before { content: none; display: none; }
.swatches img { object-position: center 18%; }

/* Muestras recortadas: la imagen es solo cuero, ocupa toda la franja */
.swatches img { object-position: center top !important; }
/* Nombre de cada franja cerrada: vertical, centrado abajo */
.swatches li .tag {
  position: absolute; left: 50% !important; right: auto !important; bottom: 28px !important; top: auto;
  translate: -50% 0 !important; transform: none !important; writing-mode: horizontal-tb !important;
  padding: 0 !important; background: none !important; width: auto;
  display: flex; flex-direction: column; align-items: center;
}
.swatches li .tag strong { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .3em; white-space: nowrap; }
.swatches li .tag strong::after { display: none; }
/* Franja abierta: nombre horizontal, filete y palabras, centrados abajo sobre degradé */
.swatches li:first-child .tag, .swatches li:hover .tag, .swatches li:focus-visible .tag {
  left: 0 !important; right: 0 !important; translate: none !important; bottom: 0 !important;
  padding: 70px 12px 26px !important; background: linear-gradient(transparent, rgba(5, 3, 2, .85)) !important;
}
.swatches li:first-child .tag strong, .swatches li:hover .tag strong, .swatches li:focus-visible .tag strong { writing-mode: horizontal-tb; transform: none; }
.swatches li:first-child .tag strong::after, .swatches li:hover .tag strong::after, .swatches li:focus-visible .tag strong::after { display: block; opacity: 1; }
.swatches:hover li:first-child:not(:hover) .tag, .swatches:focus-within li:first-child:not(:focus-visible) .tag {
  left: 50% !important; right: auto !important; translate: -50% 0 !important; bottom: 28px !important; padding: 0 !important; background: none !important;
}
.swatches:hover li:first-child:not(:hover) .tag strong, .swatches:focus-within li:first-child:not(:focus-visible) .tag strong { writing-mode: vertical-rl; transform: rotate(180deg); }
.swatches:hover li:first-child:not(:hover) .tag strong::after, .swatches:focus-within li:first-child:not(:focus-visible) .tag strong::after { display: none; }
/* Celular: carrusel con etiqueta horizontal completa */
@media (hover: none), (max-width: 760px) {
  .swatches li .tag { left: 0 !important; right: 0 !important; translate: none !important; bottom: 0 !important; padding: 70px 12px 22px !important; background: linear-gradient(transparent, rgba(5, 3, 2, .85)) !important; }
  .swatches li .tag strong { writing-mode: horizontal-tb !important; transform: none !important; }
  .swatches li .tag strong::after { display: block; opacity: 1; }
  .swatches li, .swatches li:first-child, .swatches li:hover { aspect-ratio: 4 / 7; }
}

/* Reseñas y Google */
.google-score { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -16px 0 40px; flex-wrap: wrap; }
.google-score strong { font: 500 2rem var(--display); }
.google-score > span:last-child { color: var(--muted); font-size: .95rem; }
.review figcaption svg { vertical-align: -3px; margin-left: 6px; }
.reviews__ctas { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 48px; }

/* Celular: el carrusel no reacciona a toques ni foco (antes una franja se agrandaba al tocarla y trababa el deslizamiento) */
@media (hover: none), (max-width: 760px) {
  .swatches { touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .swatches li, .swatches li:first-child, .swatches li:hover, .swatches li:focus, .swatches li:focus-visible,
  .swatches:hover li, .swatches:focus-within li {
    flex: 0 0 78% !important; transition: none !important; transform: none !important;
  }
  .swatches li img, .swatches li:hover img { transform: none !important; transition: none !important; filter: none !important; }
  .swatches li:last-child { margin-right: var(--gutter); }
  .swatches .tag em { font-size: .62rem; letter-spacing: .18em; }
}

/* Crédito de diseño, discreto al pie */
.footer .footer__credit { margin-top: 20px; font-size: .78rem; letter-spacing: .08em; }
.footer__credit a { display: inline-block; padding: 8px 0; color: inherit; text-underline-offset: 3px; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--accent); }
