/* =============================================================
   J&G Refrigeración — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Ficha  8. Comparador  9. Responsive  10. Reduced-motion
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --navy:      #0c1c33;   /* marca */
  --navy-2:    #12294a;
  --bg:        #f2f6fb;
  --surface:   #ffffff;
  --surface-2: #e9f0f8;
  --ink:       #0c1c33;
  --text:      #2c3a4c;
  --muted:     #64748b;
  --line:      #dbe4ef;
  --brand:     #0c1c33;   /* navy */
  --brand-ink: #0c1c33;
  --brand-soft:#dce8f5;
  --accent:    #1f77c9;   /* celeste hielo — links / CTA secundario */
  --accent-ink:#ffffff;
  --wa:        #25d366;   /* whatsapp */
  --shop:      #f4a02c;   /* botón "Ver en Mercado Libre" */
  --shop-ink:  #3a2600;
  --flagship:  #e3b256;   /* dorado — producto propio destacado */
  --good:      #1c7c4a;
  --bad:       #c0492e;
  --radius:    14px;
  --shadow:    0 1px 2px rgba(12,28,51,.06), 0 10px 26px -14px rgba(12,28,51,.22);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --display: "Bebas Neue", var(--sans);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#0a1420; --surface:#11202f; --surface-2:#182a3d; --ink:#eaf1f9;
    --text:#c3d1e0; --muted:#8ca0b5; --line:#233549; --brand:#7cc0f0;
    --brand-ink:#0c1c33; --brand-soft:#1a3350; --accent:#5fb0ea; --accent-ink:#08182b;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px -16px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --bg:#0a1420; --surface:#11202f; --surface-2:#182a3d; --ink:#eaf1f9;
  --text:#c3d1e0; --muted:#8ca0b5; --line:#233549; --brand:#7cc0f0;
  --brand-ink:#0c1c33; --brand-soft:#1a3350; --accent:#5fb0ea; --accent-ink:#08182b;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px -16px rgba(0,0,0,.7);
}

/* 2. Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
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; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); font-weight: 600; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* 3. Utilities --------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem;
  background: var(--surface); color: var(--ink); z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
main { display: block; }
main > section, main.prose, main.guide, main.ficha, main.cmp, main.home-section, main.calc {
  max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem);
}
.nota { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--surface);
  border: 1px dashed var(--line); border-radius: var(--radius); }
.crumbs { font-size: .82rem; color: var(--muted); padding: 1.2rem 0 .4rem; }
.crumbs a:hover { color: var(--brand); }

/* 4. Typography --------------------------------------------------- */
h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.05rem; }
.prose p, .guide p { margin-bottom: 1rem; max-width: 68ch; }
.prose h2, .guide h2 { margin-top: 2rem; }

/* 5. Components --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  border: 1.5px solid transparent; transition: transform .15s var(--ease-out), background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--buy { background: var(--shop); color: var(--shop-ink); box-shadow: var(--shadow); }
.btn--buy:hover { background: #ffb347; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-2); }
.btn--wa { background: var(--wa); color: #04310f; box-shadow: var(--shadow); }
.btn--wa:hover { background: #34e079; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--big { padding: .95rem 1.6rem; font-size: 1rem; width: 100%; max-width: 420px; }

.stars { color: var(--shop); font-size: .95rem; letter-spacing: .05em; }
.stars b { color: var(--muted); font-weight: 600; font-size: .82rem; margin-left: .25rem; }
.stars--none { color: var(--muted); font-size: .82rem; letter-spacing: 0; }

.price { margin: .7rem 0; }
.price__now { font-size: 1.35rem; font-weight: 700; color: var(--ink); font-family: var(--sans); }
.price__was { text-decoration: line-through; color: var(--muted); margin-left: .5rem; font-size: .95rem; }
.price__note { display: block; font-size: .72rem; color: var(--muted); margin-top: .2rem; }

.disclosure {
  max-width: var(--wrap); margin: 2.5rem auto 0; padding: 1rem 1.2rem;
  font-size: .8rem; color: var(--muted); background: var(--surface-2);
  border-radius: var(--radius); border: 1px solid var(--line);
}

/* cards */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .2s var(--ease-out), border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); }
.card__badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2; background: var(--brand);
  color: #fff; font-size: .68rem; font-weight: 700; padding: .3rem .55rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .04em;
}
.card__media { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; padding: 1rem; }
.card__media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card__title { font-size: 1rem; line-height: 1.3; }
.card__title a:hover { color: var(--brand); }
.card__specs { font-size: .82rem; color: var(--muted); }
.card__actions { margin-top: auto; display: flex; gap: .5rem; padding-top: .8rem; flex-wrap: wrap; }
.card__actions .btn { flex: 1 1 auto; font-size: .82rem; padding: .6rem .8rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__inner { max-width: var(--wrap); margin-inline: auto; padding: .55rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { display: flex; align-items: center; }
.nav__brand .logo-img { height: 32px; width: auto; display: block; }
@media (max-width: 400px) { .nav__brand .logo-img { height: 28px; } }
.nav__links { display: flex; align-items: center; gap: 1.3rem; font-size: .88rem; font-weight: 500; }
.nav__links a { color: rgba(255,255,255,.82); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a.nav__cta, .nav__links a.nav__cta:hover {
  background: var(--wa); color: #04310f; padding: .5rem .95rem; border-radius: 999px; font-weight: 700;
}
.nav__links a.nav__cta:hover { background: #34e079; }
.nav__toggle { display: none; flex-direction: column; gap: 4px; padding: .4rem; }
.nav__toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* 6. Sections --------------------------------------------------- */
.hero { padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem,4vw,2rem); text-align: center; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero h1 em { color: var(--brand); font-style: italic; }
.hero p { max-width: 54ch; margin: 1.1rem auto 1.8rem; color: var(--text); font-size: 1.05rem; }
.hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero__actions .btn--big { width: auto; }

.home-section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.home-section--alt { background: var(--surface-2); max-width: none; }
.home-section--alt > * { max-width: var(--wrap); margin-inline: auto; }
.home-section > h2, .home-section > h1 { margin-bottom: 1rem; }
.section-lead { max-width: 60ch; color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.tag-editor { display: inline-block; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: .12rem .4rem; border-radius: 5px; vertical-align: middle; }

.how { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.how b { color: var(--brand); display: block; margin-bottom: .3rem; font-size: 1rem; }
.how p { font-size: .9rem; color: var(--muted); }

.cats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; transition: border-color .2s, transform .2s var(--ease-out); }
.cat:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat b { display: block; color: var(--ink); }
.cat span { font-size: .82rem; color: var(--brand); }

/* toolbar */
.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.toolbar button { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; background: var(--surface); }
.toolbar button.is-active, .toolbar button:hover { border-color: var(--brand); color: var(--brand); }

/* ranking */
.ranking { list-style: none; display: flex; flex-direction: column; gap: 1rem; padding: 0; }
.rank { display: grid; grid-template-columns: auto 90px 1fr auto; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.rank__n { font-family: var(--serif); font-size: 1.8rem; color: var(--brand); width: 2ch; text-align: center; }
.rank img { width: 90px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.rank h2 { font-family: var(--sans); font-size: 1rem; margin: 0; }
.rank__why { font-size: .86rem; color: var(--text); margin: .2rem 0; }
.rank__scores { font-size: .78rem; color: var(--muted); }
.rank__scores b { color: var(--brand); }
.rank__buy { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }

/* offers */
.offer { position: relative; }
.offer__pct { position: absolute; top: .8rem; right: .8rem; z-index: 3; background: var(--bad);
  color: #fff; font-weight: 700; font-size: .8rem; padding: .25rem .5rem; border-radius: 6px; }

/* calculadora */
main.calc { max-width: 760px; }
main.calc > h1 { text-align: center; }
.calc__lead { font-size: 1.05rem; color: var(--muted); max-width: 58ch;
  margin: 0 auto 1.8rem; text-align: center; }
.calc__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: grid; gap: 1.2rem; box-shadow: var(--shadow); }
.calc__dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.calc__field { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.calc__field input { font: inherit; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font-size: 1.3rem; font-weight: 700; width: 100%; }
@media (max-width: 460px) { .calc__dims { grid-template-columns: 1fr 1fr; } }
.calc__checks { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.calc__checks label { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 500; cursor: pointer; }
.calc__checks input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.calc__result { margin-top: 2rem; }
.calc__result h2 { font-size: 1.25rem; margin: 2rem 0 1rem; }
.calc-need { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem;
  display: grid; gap: .15rem; }
.calc-need strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.calc-need span { font-size: .9rem; opacity: .9; }
.calc-picks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.calc-pick { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem;
  display: grid; grid-template-columns: 64px 1fr; gap: .3rem .9rem; align-items: center; }
.calc-pick img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; grid-row: span 2; }
.calc-pick h4 { font-size: .9rem; font-family: var(--sans); line-height: 1.25; }
.calc-pick h4 a:hover { color: var(--brand); }
.calc-pick__meta { font-size: .78rem; color: var(--muted); }
.calc-pick__price { font-weight: 700; font-size: 1rem; }
.calc-pick .btn { grid-column: 1 / -1; margin-top: .5rem; font-size: .82rem; padding: .55rem; }
.inst-table th { width: 58%; }
.inst-table .inst-total th, .inst-table .inst-total td { border-top: 2px solid var(--brand); font-weight: 700;
  color: var(--ink); font-size: 1rem; }

/* J&G — hero, servicios, contacto, whatsapp */
.hero--jg { text-align: left; max-width: var(--wrap); }
.hero--jg h1 { max-width: 18ch; margin-inline: 0; }
.hero--jg p { margin-inline: 0; }
.hero--jg .hero__actions { justify-content: flex-start; }
.hero__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700;
  color: var(--accent); margin-bottom: .8rem; }
.hero h1 em { color: var(--accent); font-style: italic; }

.flagship { max-width: var(--wrap); margin: clamp(1.4rem, 3.5vw, 2.4rem) auto 0; padding: 0 clamp(1rem, 4vw, 2rem); }
.flagship__kicker { font-family: var(--display); color: var(--flagship); letter-spacing: .1em; text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.flagship__kicker::before, .flagship__kicker::after { content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--flagship), transparent); opacity: .5; }
.flagship__grid { display: grid; gap: clamp(1.1rem, 3vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.flagship__card { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 1.15rem;
  padding: clamp(1.2rem, 3vw, 1.7rem); background:
    radial-gradient(120% 90% at 15% 0%, rgba(227,178,86,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 65%);
  border: 1px solid rgba(227,178,86,.4); border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 1px 2px rgba(12,28,51,.3), 0 18px 40px -18px rgba(0,0,0,.55);
  overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.flagship__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--flagship), transparent); }
.flagship__card:hover { transform: translateY(-5px); border-color: rgba(227,178,86,.75);
  box-shadow: 0 1px 2px rgba(12,28,51,.3), 0 24px 46px -16px rgba(227,178,86,.28), 0 18px 40px -18px rgba(0,0,0,.6); }
.flagship__media { position: relative; display: block; border-radius: calc(var(--radius) - 2px); overflow: hidden;
  background: radial-gradient(70% 90% at 50% 45%, #ffffff 0%, #f1f4f8 100%); }
.flagship__media img { display: block; width: 100%; max-height: 210px; object-fit: contain;
  padding: 1rem; filter: drop-shadow(0 10px 14px rgba(12,28,51,.18)); transition: transform .3s var(--ease-out); }
.flagship__card:hover .flagship__media img { transform: scale(1.04); }
.flagship__badge { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--display);
  letter-spacing: .06em; color: var(--navy); background: linear-gradient(135deg, #f3cd82, var(--flagship));
  text-transform: uppercase; font-size: .82rem; padding: .3rem .7rem .22rem; border-radius: 999px; margin-bottom: .7rem; }
.flagship__body h3 { font-family: var(--serif); color: #fff; font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin-bottom: .25rem; }
.flagship__body h3 a { color: inherit; }
.flagship__body h3 a:hover { color: var(--flagship); }
.flagship__specs-lead { color: #cfe0f2; font-size: .96rem; margin-bottom: .75rem; }
.flagship__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.05rem; padding: 0; }
.flagship__chips li { background: rgba(255,255,255,.08); color: #e7eef7; border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: .3rem .75rem; font-size: .78rem; }
.flagship__price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.flagship__price b { color: var(--flagship); font-family: var(--display); letter-spacing: .01em;
  font-size: clamp(2rem, 4.2vw, 2.6rem); line-height: 1; }
.flagship__price span { color: #cfe0f2; font-size: .85rem; max-width: 30ch; }
.flagship__qty-toggle { margin: 0 0 1.2rem; border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  padding: .7rem .9rem; background: rgba(255,255,255,.04); }
.flagship__qty-toggle summary { font-family: var(--display); letter-spacing: .03em; color: var(--flagship);
  font-size: .95rem; cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; }
.flagship__qty-toggle summary::-webkit-details-marker { display: none; }
.flagship__qty-toggle summary::after { content: "+"; font-size: 1.2rem; color: var(--flagship); margin-left: .6rem; }
.flagship__qty-toggle[open] summary::after { content: "–"; }
.flagship__qty-toggle[open] summary { margin-bottom: .6rem; }
.flagship__qty { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.flagship__qty li { font-size: .86rem; color: #e7eef7; background: rgba(255,255,255,.06); border-radius: 8px;
  padding: .4rem .7rem; }
.flagship__qty-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.flagship__qty b { color: #fff; font-weight: 600; }
.flagship__qty em { color: var(--flagship); font-style: normal; font-weight: 700; }
.flagship__qty small { display: block; margin-top: .15rem; color: #8fe3ab; font-size: .76rem; font-weight: 600; }
.flagship__actions { display: flex; flex-direction: column; gap: .6rem; }
.flagship__actions .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.flagship__actions .btn--ghost:hover { border-color: var(--flagship); color: var(--flagship); }
@media (max-width: 720px) { .flagship__media img { max-height: 180px; } }

.feat-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.feat-list li { border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 8px 8px 0;
  padding: .7rem 1rem; }
.feat-list b { display: block; color: var(--brand); margin-bottom: .2rem; }
.feat-list span { color: var(--muted); font-size: .92rem; }

.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.svc-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; transition: border-color .2s, transform .2s var(--ease-out); }
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-card b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .4rem; }
.svc-card p { font-size: .88rem; color: var(--muted); }
.svc-lead { margin-top: 1.4rem; }

.home-section--cta { background: var(--navy); color: #fff; max-width: none; text-align: center; }
.home-section--cta > * { max-width: 46ch; margin-inline: auto; }
.home-section--cta h2 { color: #fff; }
.home-section--cta p { color: rgba(255,255,255,.8); margin-bottom: 1.4rem; }

.svc-zona { background: var(--surface-2); border-left: 3px solid var(--accent); padding: .8rem 1rem;
  border-radius: 8px; font-size: .9rem; max-width: 64ch; }
.servicios .svc { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 1.6rem; }
.servicios .svc h2 { margin-bottom: .6rem; }
.servicios .svc p { max-width: 64ch; }
.servicios .svc .btn { margin-top: .8rem; }
.servicios .svc--soft { background: var(--surface-2); border-radius: var(--radius); padding: 1.4rem; border-top: 0; }

.contact-rows { display: grid; gap: .8rem; max-width: 460px; margin-top: 1.4rem; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
.contact-row:hover { border-color: var(--accent); }
.contact-row b { color: var(--ink); }
.contact-row span { color: var(--muted); font-size: .9rem; }

.inst-cta { margin-top: 1.2rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.inst-cta span { font-size: .85rem; color: var(--muted); }
.inst-jg { background: var(--surface-2); border-radius: var(--radius); padding: 1.4rem 1.6rem; border-top: 0; }

.hel-repara { background: var(--surface-2); border-radius: var(--radius); padding: 1.6rem; margin-top: 2rem;
  border-left: 3px solid var(--accent); }
.hel-repara h2 { margin-bottom: .5rem; }
.hel-repara p { max-width: 62ch; margin-bottom: 1rem; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 200; width: 54px; height: 54px;
  border-radius: 50%; background: var(--wa); color: #04310f; display: grid; place-items: center;
  box-shadow: 0 6px 20px -4px rgba(0,0,0,.35); transition: transform .15s var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .6rem;
  background: var(--surface); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.faq p { margin-top: .6rem; font-size: .92rem; color: var(--text); }
.guide__lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }

/* footer */
.footer { background: var(--navy); color: rgba(255,255,255,.72); margin-top: 4rem; }
.footer__inner { max-width: var(--wrap); margin-inline: auto; padding: 3rem clamp(1rem,4vw,2rem) 1.8rem;
  display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer__brand-col .footer__logo .logo-img { height: 52px; width: auto; }
.footer__tag { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .6rem; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; font-size: .86rem; }
.footer__h { color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.footer__links a { color: rgba(255,255,255,.72); }
.footer__links a:hover { color: #fff; }
.footer__legal { max-width: var(--wrap); margin: 0 auto; padding: 1.2rem clamp(1rem,4vw,2rem) 2.5rem;
  font-size: .74rem; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); }
.footer__legal a { color: rgba(255,255,255,.7); }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr 1fr; } }

/* 7. Ficha --------------------------------------------------- */
.ficha__top { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-top: 1rem; align-items: start; }
.ficha__gallery { position: sticky; top: 80px; align-self: start; }
.ficha__head { align-self: start; }
.ficha__img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; }
.ficha__thumbs { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.thumb { width: 60px; height: 60px; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden;
  background: #fff; padding: 4px; }
.thumb.is-active { border-color: var(--brand); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.ficha__brand { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); }
.ficha__head h1 { margin: .3rem 0 .6rem; }
.ficha__meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: .4rem; }
.ficha__sold { font-size: .82rem; color: var(--muted); }
.ficha__seller { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.ficha__ideal { margin-top: .9rem; padding: .8rem 1rem; background: var(--surface-2); border-radius: 10px;
  font-size: .9rem; border-left: 3px solid var(--brand); }
.ficha__section { padding-block: 2rem; border-top: 1px solid var(--line); }
.ficha__radar { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; }
.radar { width: 100%; height: auto; overflow: visible; }
.score-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.score-list li { display: grid; grid-template-columns: 110px 2ch 1fr; gap: .8rem; align-items: center; font-size: .88rem; }
.score-list b { color: var(--brand); font-size: 1rem; text-align: right; }
.score-list i { height: 7px; background: var(--surface-2); border-radius: 999px; position: relative; }
.score-list i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%);
  background: var(--brand); border-radius: 999px; }

.spec-table th, .spec-table td { text-align: left; padding: .6rem .4rem; font-size: .9rem;
  border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 44%; }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table .spec-group th { color: var(--brand); font-weight: 700; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .06em; padding-top: 1.2rem; border-bottom: 2px solid var(--brand); }
.spec-table .ahorro { display: inline-block; margin-top: .2rem; color: var(--good); font-size: .82rem; font-weight: 700; }
.specs-extra { margin-top: 1rem; font-size: .88rem; }
.specs-extra summary { cursor: pointer; color: var(--brand); font-weight: 600; }

.ficha__editorial p { max-width: 68ch; margin-bottom: 1rem; }
.ficha__editorial h3 { margin: 1.2rem 0 .5rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.5rem; }
.proscons__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.proscons__col h3 { font-size: .95rem; margin-bottom: .6rem; }
.proscons__col--pro h3 { color: var(--good); }
.proscons__col--con h3 { color: var(--bad); }
.proscons ul { padding-left: 1.1rem; }
.proscons li { font-size: .88rem; margin-bottom: .35rem; }

.reviews { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.reviews li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem; }
.reviews p { font-size: .9rem; margin-top: .3rem; }
.rev--empty { color: var(--muted); font-size: .9rem; }
.resenas-resumen { font-size: .95rem; margin-bottom: 1rem; }

.ficha__cta { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }

/* 8. Comparador --------------------------------------------------- */
.cmp__pick { margin: 1.4rem 0; }
.cmp__pick select { padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: .95rem; min-width: 260px; color: var(--ink); }
.cmp__slots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 1rem;
  overflow-x: auto; padding: .5rem 0 1rem; }
.cmp__slot { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem; text-align: center; }
.cmp__slot img { height: 110px; object-fit: contain; margin-inline: auto; mix-blend-mode: multiply; }
.cmp__slot h3 { font-family: var(--sans); font-size: .9rem; margin: .5rem 0; }
.cmp__slot .btn { font-size: .78rem; padding: .5rem .7rem; width: 100%; }
.cmp__remove { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bad); color: #fff; font-size: .9rem; line-height: 1; display: grid; place-items: center; }
.cmp__radar { margin: 2rem 0; }
.cmp__radar svg { max-width: 340px; margin-inline: auto; overflow: visible; }
.cmp__radar-legend { list-style: none; padding: 0; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; font-size: .82rem; }
.cmp__radar-legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  background: var(--_c); margin-right: .4rem; }
.cmp__table-wrap { overflow-x: auto; }
.cmp__table th, .cmp__table td { padding: .7rem .8rem; font-size: .86rem; border-bottom: 1px solid var(--line);
  text-align: center; }
.cmp__table th:first-child, .cmp__table td:first-child { text-align: left; color: var(--muted); font-weight: 500;
  position: sticky; left: 0; background: var(--bg); }
.cmp__table td.is-best { background: color-mix(in srgb, var(--good) 14%, transparent); font-weight: 700; color: var(--ink); }
.cmp__table tr.cmp__row-group td { background: var(--surface-2); color: var(--brand); font-weight: 700;
  text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; }
.cmp--empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* 9. Responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .ficha__top { grid-template-columns: 1fr; gap: 1.5rem; }
  .ficha__gallery { position: static; }
  .ficha__radar { grid-template-columns: 1fr; }
  .rank { grid-template-columns: auto 64px 1fr; }
  .rank__buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .rank img { width: 64px; height: 64px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); padding: 1rem clamp(1rem,4vw,2rem);
    gap: .3rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s var(--ease-out); }
  .nav__links a { padding: .8rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a.nav__cta { text-align: center; margin-top: .6rem; }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .proscons { grid-template-columns: 1fr; }
  .score-list li { grid-template-columns: 90px 2ch 1fr; }
}

/* 10. Reveal + reduced-motion --------------------------------------------------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .cat:hover { transform: none; }
}
