/* =============================================================
   NipponBaño — hoja de estilos única
   1. Tokens  2. Reset  3. Utilidades  4. Tipografía  5. Componentes
   6. Secciones  7. Efectos  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #faf7f2;
  --bg-soft:   #f1ece3;
  --surface:   #ffffff;
  --ink:       #1c2b2e;
  --ink-soft:  #4a5a5c;
  --muted:     #7c8a8c;
  --line:      #e4ddd0;
  --line-soft: #ece6da;

  --teal:      #0f6e6a;
  --teal-dark: #0a4f4c;
  --teal-soft: #e3f1ef;
  --amber:     #c9822a;
  --amber-soft:#faf0dd;
  --coral:     #d1603d;

  --accent:      var(--teal);
  --accent-ink:  #ffffff;
  --ok:   #2f7d4f;
  --warn: #b3471c;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(28,43,46,.08);
  --shadow: 0 8px 24px rgba(28,43,46,.10);
  --shadow-lg: 0 24px 60px rgba(28,43,46,.16);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1360px; margin-inline: auto; padding-inline: 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; }
.section { padding-block: clamp(2.6rem, 6vw, 5.2rem); }
.section-tight { padding-block: clamp(1.6rem, 4vw, 2.8rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.lede { color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.stack-sm > * + * { margin-top: .6rem; }
.stack > * + * { margin-top: 1.1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 0; }
.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .8em; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: var(--teal-soft); color: var(--teal-dark);
}
.pill-amber { background: var(--amber-soft); color: #8a5a10; }
/* Por defecto SIEMPRE visible: si JS no llega a tiempo (o está desactivado),
   el contenido nunca debe quedar oculto. Solo cuando main.js confirma que
   puede animar añade la clase js-anim al <html> y entonces se anima la entrada. */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js-anim .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.h-display { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .98; max-width: 20ch; }

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Iconos inline (ver gotcha: un <svg> sin tamaño propio puede
   "explotar" al 100% del ancho de su contenedor, p.ej. en una celda
   de tabla). Todo icono del sitio pasa por este wrapper. --- */
.ic { --ic-size: 1.15em; display: inline-flex; flex: none; width: var(--ic-size); height: var(--ic-size); vertical-align: -0.18em; }
.ic svg { width: 100%; height: 100%; display: block; }

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 700; font-size: .96rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: #201205; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #d68e37; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-sm { padding: .55em 1.1em; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
  height: var(--nav-h);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6em; font-family: var(--serif); font-weight: 700; font-size: 1.24rem; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(155deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-weight: 600; font-size: .93rem; color: var(--ink-soft); transition: color .2s var(--ease-out); position: relative; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--amber); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--teal); color: #fff; padding: .55em 1.1em; border-radius: 999px; font-size: .86rem;
}
.nav-links a.nav-cta:hover { background: var(--teal-dark); }
.nav-toggle { display: none; }
.nav-burger { display: block; width: 22px; height: 15px; position: relative; }
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger::before { top: 0; }
.nav-burger span { top: 50%; transform: translateY(-50%); }
.nav-burger::after { bottom: 0; }

/* --- Cards de producto --- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.p-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card-media { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.p-card:hover .p-card-media img { transform: scale(1.06); }
.p-card-badge { position: absolute; top: .8rem; left: .8rem; }
.p-card-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.p-card-brand { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-card-name { font-size: 1.04rem; line-height: 1.28; }
.p-card-name a { color: inherit; }
.p-card-name a:hover { color: var(--teal-dark); }
.p-card-rating { display: flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--ink-soft); }
.stars { color: var(--amber); letter-spacing: 1px; font-size: .95rem; }
.p-card-price { margin-top: auto; display: flex; align-items: baseline; gap: .5em; padding-top: .4rem; }
.price-now { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.price-old { font-size: .88rem; color: var(--muted); text-decoration: line-through; }
.p-card-foot { display: flex; gap: .6rem; margin-top: .3rem; }
.p-card-foot .btn { flex: 1; }
.compare-add {
  width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center;
  flex: none; transition: all .2s var(--ease-out); font-size: 1.1rem;
}
.compare-add:hover, .compare-add.is-active { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }

/* --- Spec table --- */
.spec-table { width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.spec-table table { width: 100%; }
.spec-table caption { text-align: left; font-family: var(--serif); font-size: 1.05rem; padding: .9rem 1.1rem; background: var(--bg-soft); }
.spec-table tr { border-top: 1px solid var(--line-soft); }
.spec-table tr:first-child { border-top: 0; }
.spec-table th, .spec-table td { text-align: left; padding: .68rem 1.1rem; font-size: .92rem; }
.spec-table th { font-weight: 600; color: var(--ink-soft); width: 46%; }
.spec-table td { font-weight: 600; }
.spec-table tbody tr:nth-child(odd) { background: rgba(15,110,106,.025); }
.spec-group-row th, .spec-group-row td {
  background: var(--teal-soft) !important; color: var(--teal-dark); font-family: var(--serif); font-weight: 600; padding-block: .5rem;
}
.spec-best { color: var(--teal-dark); }
.spec-best::after { content: " ✓"; }
.na { color: var(--muted); }

/* --- Radar chart --- */
.radar-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.radar-wrap svg { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.compare-radar-overlay svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center; font-size: .82rem; }
.radar-legend-item { display: flex; align-items: center; gap: .4em; color: var(--ink-soft); }
.radar-swatch { width: 11px; height: 11px; border-radius: 3px; flex: none; }

/* --- Galería --- */
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: .9rem; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-direction: column; gap: .55rem; max-height: 460px; overflow-y: auto; overflow-x: visible; padding: 2px; }
.gallery-thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; opacity: .7; transition: all .2s var(--ease-out); background: var(--bg-soft); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--teal); opacity: 1; }

/* --- Pros / contras --- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pc-col { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.pc-col h3 { display: flex; align-items: center; gap: .5em; margin-bottom: .8rem; font-size: 1.05rem; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col.pros h3 { color: var(--ok); }
.pc-col.cons h3 { color: var(--warn); }
.pc-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.pc-col li { display: flex; gap: .6em; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.pc-col li::before { flex: none; font-weight: 700; }
.pc-col.pros li::before { content: "+"; color: var(--ok); }
.pc-col.cons li::before { content: "–"; color: var(--warn); }

/* --- Reseñas --- */
.review-summary { background: var(--teal-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.rating-hero { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.rating-num { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--teal-dark); line-height: 1; }

/* --- Ficha header --- */
.ficha-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.ficha-title-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-block { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.price-date { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.trust-chip { display: flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); padding: .35em .7em; border-radius: 999px; }

/* --- Comparador --- */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  background: var(--ink); color: #fff; transform: translateY(110%);
  visibility: hidden;
  transition: transform .4s var(--ease-out), visibility 0s linear .4s;
  box-shadow: 0 -12px 30px rgba(0,0,0,.2);
}
.compare-bar.is-visible { transform: translateY(0); visibility: visible; transition: transform .4s var(--ease-out); }
.compare-bar-inner { display: flex; align-items: center; gap: 1rem; padding: .9rem var(--gutter); flex-wrap: wrap; }
.compare-slots { display: flex; gap: .6rem; flex: 1; flex-wrap: wrap; }
.compare-slot { display: flex; align-items: center; gap: .5em; background: rgba(255,255,255,.1); padding: .4em .5em .4em .4em; border-radius: 999px; font-size: .82rem; }
.compare-slot img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.compare-slot button { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1; }
.compare-slot button:hover { color: #fff; }

.compare-picker { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.compare-picker select { padding: .7em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; }
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .8rem 1.1rem; font-size: .9rem; border-top: 1px solid var(--line-soft); vertical-align: top; }
.compare-table thead th { background: var(--bg-soft); vertical-align: bottom; }
.compare-col-head { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; min-width: 160px; }
.compare-col-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.compare-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.compare-radar-overlay { display: flex; justify-content: center; padding: 1.5rem 0; }

/* --- Guía / blog --- */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4rem; }
.faq-item { border-top: 1px solid var(--line-soft); padding-block: 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--serif); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal); transition: transform .25s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .7rem; color: var(--ink-soft); }

/* --- Hero --- */
.hero { position: relative; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.4rem, 6vw, 4rem); overflow: hidden; }
.hero-halo { position: absolute; inset: -30% -10% -60% -10%; background: radial-gradient(45% 40% at 30% 20%, rgba(15,110,106,.16), transparent 70%), radial-gradient(40% 35% at 85% 10%, rgba(201,130,42,.14), transparent 70%); filter: blur(60px); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-stats { display: flex; gap: 1.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--teal-dark); }
.hero-stat span { font-size: .8rem; color: var(--muted); }
.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4.4; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-radius: var(--radius); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem;
}

/* --- Categoría entry cards --- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.cat-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.5rem; transition: all .3s var(--ease-out); }
.cat-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card .cat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 1rem; }

/* --- Cómo elegimos / trust --- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.trust-card { text-align: center; padding: 1.6rem 1rem; }
.trust-card .num { font-family: var(--serif); font-size: 2.4rem; color: var(--teal); }

/* --- Offer badge --- */
.offer-badge { background: var(--coral); color: #fff; font-size: .74rem; font-weight: 800; padding: .3em .65em; border-radius: 6px; letter-spacing: .02em; }

/* --- Footer --- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 3.2rem 1.6rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: .8rem; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .9rem; font-family: var(--sans); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { font-size: .88rem; transition: color .2s var(--ease-out); }
.footer-col a:hover { color: #fff; }
.footer-disclosure { font-size: .78rem; line-height: 1.6; max-width: 68ch; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.6rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; font-size: .78rem; color: rgba(255,255,255,.5); }

/* --- Disclosure banner (todas las páginas) --- */
.disclosure-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.disclosure-bar p { font-size: .78rem; color: var(--ink-soft); padding-block: .5rem; text-align: center; }
.disclosure-bar a { text-decoration: underline; font-weight: 600; }

/* --- Ofertas --- */
.offer-hero-note { background: var(--amber-soft); border: 1px solid #f0ddb0; border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .92rem; color: #6a4408; }

/* =============================================================
   6. Secciones genéricas
   ============================================================= */
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.strip-row { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .4rem; }
.strip-row .p-card { min-width: 270px; }

/* =============================================================
   7. Efectos
   ============================================================= */
.tilt { transition: transform .35s var(--ease-out); }
[data-count] { font-variant-numeric: tabular-nums; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 959px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
  .ficha-head { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    background: var(--surface); flex-direction: column; align-items: flex-start;
    padding: 1.8rem var(--gutter); gap: .3rem; transform: translateX(100%);
    transition: transform .35s var(--ease-out); overflow-y: auto;
    box-shadow: -18px 0 40px rgba(28,43,46,.08);
  }
  .nav-links a { width: 100%; padding-block: .85rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a.is-active::after { display: none; }
  .nav-toggle { display: block; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: visible; }
  .gallery-thumb { min-width: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .rating-num { font-size: 2.2rem; }
}
@media (max-width: 539px) {
  .grid-products { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .p-card-foot { flex-direction: column; }
  .compare-add { align-self: flex-start; }
}

/* =============================================================
   9. Reduced-motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .p-card:hover .p-card-media img { transition: none; }
}
