/* =========================================================
   HERO FIT — Estilos
   ========================================================= */

:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --dark: #0e0e0e;
  --dark-2: #181818;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted: #6b6b68;
  --muted-light: #a3a3a0;
  --line: #e0e0dc;
  --line-dark: #2a2a2a;
  --red: #d62828;
  --on-ink: #ffffff;   /* texto sobre fondos color --ink */
  --ink-hover: #000000;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1b1b1b;
  --dark: #0a0a0a;
  --ink: #f2f2f0;
  --ink-soft: #d6d6d3;
  --muted: #a3a3a0;
  --muted-light: #626260;
  --line: #2e2e2e;
  --line-dark: #2e2e2e;
  --red: #ff5a5a;
  --on-ink: #111111;
  --ink-hover: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--muted-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }

.btn--light { background: #fff; color: #111; }
.btn--light:hover { background: #e9e9e6; }

.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: #fff; color: #111; }

.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark:hover { background: var(--ink-hover); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  background: var(--dark);
  color: #fff;
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line-dark); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 30px; width: auto; }

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #d6d6d3;
  position: relative;
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child  { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { top: 19px; transform: rotate(-45deg); }

.header__actions { display: flex; align-items: center; gap: 4px; }

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.cart-btn:hover,
.theme-btn:hover { background: rgba(255, 255, 255, .1); }

.theme-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.theme-btn .icono-sol { display: none; }
:root[data-theme="dark"] .theme-btn .icono-sol { display: block; }
:root[data-theme="dark"] .theme-btn .icono-luna { display: none; }

/* Transición suave al cambiar de tema */
.cambiando-tema,
.cambiando-tema *,
.cambiando-tema *::before,
.cambiando-tema *::after { transition: background-color .3s, border-color .3s, color .3s !important; }
.cart-btn__count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.cart-btn__count.is-bump { animation: bump .4s var(--ease); }
@keyframes bump {
  40% { transform: scale(1.35); }
}

/* =========================================================
   CARRITO
   ========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s;
}
.cart-overlay.is-visible { opacity: 1; }

.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: -20px 0 40px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.cart.is-open {
  transform: none;
  visibility: visible;
  transition: transform .35s var(--ease);
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
}
.cart__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cart__close:hover { background: var(--line); }

.cart__items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}
.cart__empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}
.cart__empty .btn { margin-top: 20px; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--dark-2);
}
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}
.cart-item__color { font-size: 13px; color: var(--muted); }
.cart-item__unit { font-size: 13px; color: var(--muted); }
.cart-item__low { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--red); }
.cart-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cart-item__subtotal { font-weight: 600; }
.cart-item__remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__remove:hover { color: var(--ink); }

.qty {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.qty button:disabled { color: var(--line); cursor: default; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }

.cart__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}
.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
}
.cart__total strong { font-size: 24px; }
.cart__note { margin: 6px 0 16px; font-size: 13px; color: var(--muted); }
.cart__pay { width: 100%; gap: 10px; }
.cart__clear {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}


body.no-scroll { overflow: hidden; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  line-height: 1.35;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s var(--ease), opacity .25s, visibility 0s linear .35s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s var(--ease), opacity .25s;
}
.toast button {
  flex-shrink: 0;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--on-ink);
  color: var(--ink);
  font: 600 13px var(--font-body);
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease), background .25s;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.08); background: #178f47; }

/* ---------- Guía de tallas ---------- */
.guia {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.guia::backdrop { background: rgba(0, 0, 0, .5); }
.guia[open] { animation: fadeUp .3s var(--ease); }
.guia__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 12px;
}
.guia__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
}
.guia__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px; }
.guia__tab {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font: 500 14px var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.guia__tab:hover { border-color: var(--ink); }
.guia__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.guia__body {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px 20px;
  align-items: start;
  padding: 20px 24px 24px;
}
.guia__tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.guia__tabla th, .guia__tabla td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.guia__tabla thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.guia__tabla tbody th { font-weight: 700; }
.guia__dibujo { width: 110px; color: var(--muted); margin-top: 32px; }
.guia__dibujo text { font: 600 9px var(--font-body); fill: var(--muted); }
.guia__nota, .guia__ayuda { grid-column: 1 / -1; font-size: 13px; }
.guia__nota { color: var(--muted); }
.guia__ayuda { font-weight: 600; }
.guia__ayuda:hover { text-decoration: underline; }

/* =========================================================
   CLIENTES
   ========================================================= */
.clientes { padding: 120px 0 0; }
.clientes__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.clientes__head .section-text { max-width: 560px; }
.clientes__head .section-text a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.clientes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.clientes__grid:not(:empty) { margin-top: 40px; }
.cliente {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-2);
}
.cliente img { width: 100%; height: 100%; object-fit: cover; }
.cliente figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  color: #fff;
  font-size: 13px;
}
.cliente figcaption span { color: #d6d6d3; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--dark);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow: hidden;
}
.hero__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 128px);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero__title span {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}
.hero__subtitle {
  margin: 28px auto 0;
  max-width: 520px;
  font-size: 18px;
  color: var(--muted-light);
}
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__image {
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp .8s var(--ease) .15s both;
}
.hero__image img { width: 100%; }

/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */
.features { border-bottom: 1px solid var(--line); background: var(--surface); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature { padding: 40px 28px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  margin: 8px 0 6px;
}
.feature p { color: var(--muted); font-size: 15px; }

/* =========================================================
   CATÁLOGO
   ========================================================= */
.catalog { padding: 120px 0; }

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-text { margin-top: 16px; color: var(--muted); font-size: 17px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (min-width: 1181px) {
  /* 4 columnas: tarjetas más angostas */
  .grid .card__body { padding: 20px 18px 22px; }
  .grid .card__title { font-size: 26px; }
  .grid .tallas { gap: 4px; }
  .grid .talla { min-width: 34px; height: 32px; padding: 0 6px; }
  .grid .card__cta { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .grid .price { font-size: 18px; }
}
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.grid__estado {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp .5s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--dark-2);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }

.badge {
  position: absolute;
  z-index: 1;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  flex: 1;
}
.card__cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}
.card__desc { color: var(--muted); font-size: 14px; }

.card__colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  cursor: pointer;
  outline-offset: 3px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--ink); }
:root[data-theme="dark"] .swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
:root[data-theme="dark"] .swatch.is-active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.card__color-name { font-size: 14px; font-weight: 500; }

.card__tallas {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.tallas { display: flex; flex-wrap: wrap; gap: 6px; }
.talla {
  min-width: 42px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font: 600 13px var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.talla:hover { border-color: var(--ink); }
.talla.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.talla:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Pocas unidades: punto rojo en la esquina */
.talla { position: relative; }
.talla.is-low::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--surface);
}
.talla.is-out { color: var(--muted-light); text-decoration: line-through; background: var(--bg); }
.talla.is-out.is-active { background: var(--muted); border-color: var(--muted); color: var(--on-ink); }
.card__guia {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: 500 12px var(--font-body);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.card__guia:hover { color: var(--ink); }

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
}
.card__sizes { color: var(--muted); }
.card__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink-soft);
}
.card__stock:not(:empty)::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f9d55;
}
.card__stock.is-low { color: var(--red); font-weight: 600; }
.card__stock.is-low::before { background: var(--red); animation: pulso 1.6s ease-in-out infinite; }
@keyframes pulso { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .card__stock.is-low::before { animation: none; } }
.card__stock.is-order::before { background: var(--ink); }
.card__stock.is-out { color: var(--muted); }
.card__stock.is-out::before { background: var(--muted-light); }

.swatch.is-out {
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--muted) calc(50% - 1px), var(--muted) calc(50% + 1px), transparent calc(50% + 1px)), var(--swatch);
  opacity: .55;
}
.card__cta.is-disabled {
  background: var(--line);
  color: var(--muted);
  pointer-events: none;
}

.card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.card__prices { display: flex; align-items: baseline; gap: 10px; }
.price { font-size: 20px; font-weight: 600; }
.price--old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.card__cta { flex: 1; height: 46px; }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about {
  background: var(--dark);
  color: #fff;
  padding: 120px 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
}
.about__mark { width: 100%; opacity: .95; }
.about__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  text-transform: uppercase;
}
.about__title span { color: var(--muted-light); }
.about__text {
  margin-top: 28px;
  max-width: 560px;
  font-size: 18px;
  color: var(--muted-light);
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: 120px 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.contact__text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}
.contact__links { border-top: 1px solid var(--line); }
.contact__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  transition: padding .3s var(--ease);
}
.contact__link small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-transform: none;
  color: var(--muted);
}
.contact__link .arrow { transition: transform .3s var(--ease); }
.contact__link:hover { padding-left: 10px; }
.contact__link:hover .arrow { transform: translateX(-10px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  color: var(--muted-light);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.footer__logo { height: 24px; width: auto; }
.footer p { font-size: 13px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__mark { width: 160px; }
  .contact__inner { grid-template-columns: 1fr; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq { padding: 100px 0; border-top: 1px solid var(--line); }
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
  align-items: start;
}
.faq__lista { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font: 400 26px/1 var(--font-body);
  color: var(--muted);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--ink-soft); }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__item p { margin: -6px 0 20px; max-width: 62ch; color: var(--muted); line-height: 1.65; }
@media (max-width: 760px) {
  .faq { padding: 72px 0; }
  .faq__inner { grid-template-columns: 1fr; gap: 24px; }
  .faq__item summary { font-size: 16px; }
}

/* ---------- Paleta lateral: acceso rápido por prenda ---------- */
.paleta {
  position: fixed;
  z-index: 45;
  left: 16px;
  bottom: 16px;
}
.paleta[hidden] { display: none; }
/* Sin fondo: solo se ven las prendas, en fila */
.paleta__puntos {
  display: flex;
  gap: 6px;
}
.paleta__punto {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background .2s;
}
.paleta__punto img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform .2s var(--ease);
}
.paleta__punto:hover img,
.paleta__punto[aria-expanded="true"] img { transform: scale(1.12); }
.paleta__punto:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
/* Fotos con fondo (sin recorte): esquinas redondeadas */
.paleta img.sin-recorte,
.paleta img[src*="poleron-gris"] { border-radius: 8px; object-fit: cover; }

.paleta__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
  animation: paletaEntra .2s var(--ease);
}
.paleta__panel[hidden] { display: none; }
@keyframes paletaEntra {
  from { opacity: 0; transform: translateY(6px); }
}
.paleta__titulo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 8px;
  padding: 0 6px;
  font: 700 20px var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.paleta__titulo span {
  font: 500 12px var(--font-body);
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.paleta__lista { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.paleta__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.paleta__item:hover,
.paleta__item:focus-visible { background: var(--bg); outline: none; }
.paleta__item img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.paleta__item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.paleta__item small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

/* Tarjeta a la que lleva la paleta */
.card { transition: box-shadow .4s var(--ease); }
.card.is-destacada { box-shadow: 0 0 0 3px var(--ink), 0 14px 40px rgba(0, 0, 0, .18); }

/* Solo en computador: en celular no se muestra */
@media (max-width: 760px) {
  .paleta { display: none !important; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 16px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .logo img { height: 24px; }

  .hero { padding: calc(var(--header-h) + 48px) 0 48px; }
  .hero__image { margin-top: 44px; border-radius: 10px; }

  .feature { padding: 28px 16px 28px 0; }
  .feature + .feature { border-left: 0; }
  .feature:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .feature h3 { font-size: 22px; }
  .feature p { font-size: 14px; }

  .catalog, .about, .contact { padding: 80px 0; }
  .clientes { padding-top: 80px; }
  .clientes__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .toast { bottom: 84px; }

  .guia__body { grid-template-columns: 1fr; }
  .guia__dibujo { display: none; }
  .grid { gap: 16px; }
  .card__body { padding: 18px; }
  .card__title { font-size: 26px; }
  .contact__link { font-size: 24px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 20px; }
}

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