/* ==========================================================================
   Electronic Pro · Sitio 2026
   Sistema visual: azul marino (confianza industrial), rojo de marca (acción),
   teal/verde SmartWeigh (producto). Tipografías: Manrope (títulos), Inter (texto).
   ========================================================================== */

/* Fuentes alojadas en el sitio (variables, subconjunto latino que cubre el
   español). Antes venían de Google Fonts, cuya hoja externa bloqueaba el
   dibujado inicial. Licencia: assets/fonts/LICENCIAS.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-v20.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-v23.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-ink: #0f1b2d;
  --c-text: #2b3a4f;
  --c-muted: #5a6a80;
  --c-line: #e1e7ef;
  --c-line-strong: #c9d3e0;
  --c-bg: #ffffff;
  --c-soft: #f3f6fa;
  --c-soft-2: #e9f1f6;

  --c-navy-950: #061426;
  --c-navy-900: #0a1f38;
  --c-navy-800: #0f2c4f;
  --c-navy-700: #163a66;
  --c-blue: #0b5cab;
  --c-teal: #0b7a8b;
  --c-teal-soft: #e3f4f6;
  --c-green: #2f9e6e;
  --c-green-soft: #e4f5ec;
  --c-red: #d3141b;
  --c-red-dark: #ae0f15;
  --c-amber: #b26a00;
  --c-amber-soft: #fff3df;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .08);
  --shadow: 0 10px 30px -12px rgba(15, 27, 45, .22), 0 2px 6px rgba(15, 27, 45, .06);
  --shadow-lg: 0 30px 60px -20px rgba(6, 20, 38, .45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------------------------------------------------------------- base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-navy-700); }

:focus-visible {
  outline: 3px solid #f5b400;
  outline-offset: 2px;
  border-radius: 4px;
}

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.preview-bar {
  background: #fff3c4;
  color: #5c4500;
  font-size: .85rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid #f0d67a;
}
.preview-bar code { font-size: .8rem; }

/* ---------------------------------------------------------------- botones */

.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .7em 1.25em;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { --btn-bg: var(--c-red); box-shadow: 0 8px 20px -10px rgba(211, 20, 27, .8); }
.btn-primary:hover { --btn-bg: var(--c-red-dark); }

.btn-secondary { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-border: var(--c-line-strong); }
.btn-secondary:hover { --btn-border: var(--c-ink); --btn-fg: var(--c-ink); background: #fff; }

.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-border: #fff; }

.btn-teal { --btn-bg: var(--c-teal); }
.btn-teal:hover { --btn-bg: #0a6f7e; }

.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- etiquetas */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 0 0 .9rem;
  font: 700 .8rem/1.2 var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-teal);
}
.eyebrow-light { color: #7fd6e2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .28em .7em;
  border-radius: 999px;
  font: 700 .75rem/1.2 var(--font-body);
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge-included { background: var(--c-green-soft); color: #1c6e4b; }
.badge-optional { background: var(--c-amber-soft); color: #8a5200; }
.badge-render { background: rgba(10, 31, 56, .82); color: #fff; }
.badge-example { background: var(--c-soft-2); color: var(--c-navy-700); }
.badge-main { background: var(--c-red); color: #fff; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px -16px rgba(15, 27, 45, .5); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: block; flex: none; }
.brand img { width: clamp(168px, 18vw, 220px); height: auto; }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--c-ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--c-soft); color: var(--c-ink); }
.nav-list a[aria-current="page"] { background: var(--c-soft-2); color: var(--c-navy-800); font-weight: 600; }
.nav-list .nav-featured { color: var(--c-teal); font-weight: 600; }

.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  color: var(--c-ink);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .header-actions { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .js .main-nav {
    position: fixed;
    inset: var(--nav-top, var(--header-h)) 0 auto 0;
    max-height: calc(100dvh - var(--nav-top, var(--header-h)));
    overflow-y: auto;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -24px rgba(15, 27, 45, .45);
    display: none;
  }
  .js .main-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .nav-list a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .js .nav-cta-mobile { display: flex; width: 100%; margin-top: 12px; }

  /* Sin JavaScript: el menú se muestra completo como una fila desplazable. */
  .no-js .header-inner { flex-wrap: wrap; row-gap: 0; }
  .no-js .main-nav {
    order: 3;
    width: calc(100% + var(--gutter) * 2);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .no-js .nav-list { flex-wrap: nowrap; }
  .no-js .nav-list a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .brand img { width: 150px; }
  .header-actions .btn-sm { padding-inline: .85em; }
}

/* ---------------------------------------------------------------- secciones */

.section { padding-block: var(--section-y); }
.section-soft { background: var(--c-soft); }
.section-dark {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(13, 133, 151, .28), transparent 60%), var(--c-navy-900);
  color: #c9d6e6;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #8fd9e4; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: 1.15rem; color: var(--c-muted); }
.section-dark .section-head .lead { color: #b6c6da; }

.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--c-muted); }

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--c-teal-soft);
  color: var(--c-teal);
}
.icon-box .icon { width: 26px; height: 26px; }
.icon-box.red { background: #fde8e8; color: var(--c-red); }
.icon-box.navy { background: #e6edf6; color: var(--c-navy-700); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c6e4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(47, 158, 110, .2); }

.dot-list { padding-left: 1.1em; margin: 0; display: grid; gap: 6px; }
.dot-list li::marker { color: var(--c-teal); }

/* ---------------------------------------------------------------- hero portada */

.hero {
  position: relative;
  overflow: hidden;
  color: #c9d6e6;
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(13, 133, 151, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(22, 58, 102, .8), transparent 70%),
    var(--c-navy-950);
}
.hero::before {
  /* retícula sutil, eco del folleto SmartWeigh */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero h1 { color: #fff; }
.hero .lead { color: #c3d2e4; max-width: 38em; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px);
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.hero-grid-home {
  grid-template-areas: "head visual" "cta visual";
  grid-template-rows: auto auto;
  row-gap: 0;
  align-content: center;
}
.hero-grid-home .hero-head { grid-area: head; align-self: end; }
.hero-grid-home .hero-visual { grid-area: visual; align-self: center; }
.hero-grid-home .hero-cta { grid-area: cta; align-self: start; }
@media (max-width: 960px) {
  .hero-grid-home {
    grid-template-areas: "head" "visual" "cta";
    row-gap: 24px;
    padding-block: 32px 48px;
  }
  .hero-grid-home .hero-actions { margin-top: 0; }
  .hero-grid-home .pill { margin-bottom: 16px; }
  .lead-extra { display: none; }
  .hero-grid-home .hero-record { display: none; }
  .hero-grid-home .hero-points { margin-top: 20px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e6f2f8;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.pill:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.pill-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-teal);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .95rem;
  color: #a9bbd1;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: #6fd3a5; }

.hero-visual { position: relative; }

.hero-record {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
}
.hero-record li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hero-record li span { color: #9fb2c9; font-weight: 500; }
.hero-record .hero-record-ok { background: rgba(47, 158, 110, .22); border-color: rgba(111, 211, 165, .45); }
.hero-record .icon { width: 16px; height: 16px; color: #6fd3a5; }

/* ---------------------------------------------------------------- comparador */

.compare { margin: 0; }
.compare-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0b1a2c;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1240 / 830;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid #f5b400; outline-offset: 3px; }
.compare-img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos, 0%));
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 0%);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.compare.is-comparing .compare-handle { opacity: 1; }
.compare-handle span {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.compare-handle span::before,
.compare-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border: 6px solid transparent;
  transform: translateY(-50%);
}
.compare-handle span::before { left: 7px; border-right-color: var(--c-navy-800); }
.compare-handle span::after { right: 7px; border-left-color: var(--c-navy-800); }

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.compare-result {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 20, 38, .86);
  color: #fff;
  font: 700 .92rem/1.2 var(--font-head);
  pointer-events: none;
  transition: opacity .15s ease;
}
.compare-result::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #f5d90a;
  box-shadow: 0 0 0 3px rgba(245, 217, 10, .25);
}
.compare.is-original .compare-result::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.compare.is-comparing .compare-result { opacity: 0; }

.compare-tag {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 20, 38, .78);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.compare.is-comparing .compare-tag { opacity: 1; }
.compare-tag-left { left: 12px; }
.compare-tag-right { right: 12px; background: rgba(11, 122, 139, .94); }

.compare-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
}
.compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--c-line-strong);
  background: #fff;
  color: var(--c-ink);
  font: 600 .95rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.compare-btn .icon { width: 18px; height: 18px; }
.compare-btn:hover { border-color: var(--c-ink); }
.compare-btn[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.compare-hint { font-size: .85rem; color: var(--c-muted); }
.hero .compare-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); color: #fff; }
.hero .compare-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.hero .compare-btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--c-ink); }
.hero .compare-hint { color: #9fb2c9; }
.no-js .compare-controls, .no-js .compare-range { display: none; }
.no-js .compare-stage { cursor: default; }

.compare figcaption {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--c-muted);
}
.hero .compare figcaption { color: #9fb2c9; }
.hero .compare figcaption strong { color: #e6eef7; }
@media (max-width: 480px) {
  .compare-result { left: 8px; bottom: 8px; padding: 6px 12px; font-size: .85rem; }
  .compare-hint { display: none; }
}

/* ---------------------------------------------------------------- pasos */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 22px; right: 22px;
  font: 800 2.4rem/1 var(--font-head);
  color: var(--c-soft-2);
  letter-spacing: -0.04em;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--c-muted); font-size: .98rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px; right: -18px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--c-line-strong);
  border-right: 2px solid var(--c-line-strong);
  transform: rotate(45deg);
  z-index: 1;
}
@media (max-width: 1000px) { .step::after { display: none; } }

.steps-footer {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed var(--c-line-strong);
}
.steps-footer p { margin: 0; color: var(--c-muted); }
.steps-footer strong { color: var(--c-ink); }
.steps-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* ---------------------------------------------------------------- familia (portada) */

.family-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
@media (max-width: 900px) { .family-grid { grid-template-columns: minmax(0, 1fr); } }

.family-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  color: #c9d6e6;
  overflow: hidden;
}
.family-main h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.family-main .logo-mark { width: 180px; margin-bottom: 18px; }
.family-main .check-list { margin: 18px 0 26px; font-size: .98rem; }
.family-main figure { margin: 0; }
.family-main figure img {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .family-main { grid-template-columns: minmax(0, 1fr); } .family-main figure { max-width: 300px; } }

.family-side { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.family-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.family-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.family-card-head h3 { margin: 0; }
.family-card-head small { display: block; color: var(--c-muted); font: 500 .85rem/1.3 var(--font-body); letter-spacing: 0; }
.family-card p { color: var(--c-muted); }
.family-card .link-arrow { margin-top: auto; padding-top: 6px; }

.product-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--c-navy-900);
  color: #fff;
  flex: none;
}
.product-icon img { width: 34px; height: 34px; }
.product-icon .icon { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- servicios (portada) */

.service-card { display: flex; flex-direction: column; }
.service-card .dot-list { margin: 4px 0 22px; color: var(--c-text); font-size: .98rem; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------------- empresa */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-grid blockquote {
  margin: 28px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--c-red);
  font: 700 1.2rem/1.4 var(--font-head);
  color: var(--c-ink);
}

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-line);
}
.stat strong {
  display: block;
  font: 800 1.6rem/1.1 var(--font-head);
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.stat span { display: block; margin-top: 6px; color: var(--c-muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 420px) { .stat-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- CTA */

.cta-band {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(211, 20, 27, .35), transparent 70%),
    var(--c-navy-900);
  color: #c9d6e6;
  padding-block: clamp(48px, 7vw, 80px);
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- páginas internas */

.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--c-soft) 0%, #fff 100%);
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.page-hero .lead { color: var(--c-muted); max-width: 40em; }
.page-hero.hero .lead { color: #c3d2e4; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero.compact { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); }

.marine-logo { width: clamp(200px, 26vw, 280px); margin-bottom: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-navy-800);
}
.chips .icon { width: 16px; height: 16px; color: var(--c-teal); }

.product-shot {
  position: relative;
  margin: 0;
  padding: clamp(16px, 3vw, 32px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.product-shot img { margin-inline: auto; max-height: 560px; width: auto; }
.product-shot figcaption { margin-top: 12px; text-align: center; color: var(--c-muted); font-size: .9rem; }
@media (max-width: 640px) { .product-shot img { max-height: 380px; } }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--c-line);
}
.subnav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--c-text);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover { background: var(--c-soft); color: var(--c-ink); }
.subnav a.subnav-cta { background: var(--c-red); color: #fff; font-weight: 600; }
.subnav a.subnav-cta:hover { background: var(--c-red-dark); }

/* flujo detallado (página Marine) */
.flow { display: grid; gap: clamp(56px, 8vw, 96px); }
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.flow-row:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.flow-row:nth-child(even) .flow-media { order: -1; }
@media (max-width: 900px) {
  .flow-row, .flow-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .flow-row:nth-child(even) .flow-media { order: 0; }
}
.flow-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--c-navy-900);
  color: #fff;
  font: 800 1.1rem/1 var(--font-head);
}
.flow-copy .check-list { margin-top: 18px; }

.media-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.media-card.pad { padding: clamp(16px, 3vw, 28px); }
.media-card.render-bg { background: #f4f5f7; }
.media-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.media-card figcaption {
  padding: 12px 18px 16px;
  font-size: .9rem;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
  background: #fff;
}

.pre-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: clamp(40px, 6vw, 64px);
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--c-teal-soft);
  color: var(--c-navy-800);
}
.pre-step .icon { color: var(--c-teal); margin-top: 2px; }
.pre-step p { margin: 0; }

/* registro de ejemplo */
.record {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.record-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  background: var(--c-soft);
  border-bottom: 1px solid var(--c-line);
  font-size: .9rem;
}
.record-head strong { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-family: var(--font-head); }
.record-head .icon { width: 18px; height: 18px; color: var(--c-green); }
.record-scroll { position: relative; overflow-x: auto; }
.record table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.record th, .record td { padding: 10px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--c-line); }
.record th { font-weight: 600; color: var(--c-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; background: #fff; }
.record td.num, .record th.num { text-align: right; }
.record tr:last-child td { border-bottom: 0; }
.record .photo-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--c-teal); font-weight: 600; }
.record .photo-ok .icon { width: 16px; height: 16px; }
.record-foot { padding: 12px 18px; font-size: .85rem; color: var(--c-muted); background: var(--c-soft); border-top: 1px solid var(--c-line); }

/* app (sección oscura) */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .app-grid { grid-template-columns: minmax(0, 1fr); } }

.device {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  padding: 14px;
  border-radius: 34px;
  background: #11161f;
  box-shadow: 0 0 0 2px #2a3342, var(--shadow-lg);
}
.device img { border-radius: 20px; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature-list .icon-box { width: 44px; height: 44px; margin: 0; background: rgba(127, 214, 226, .12); color: #7fd6e2; border-radius: 12px; }
.feature-list .icon-box .icon { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: .2em; }
.feature-list p { margin: 0; font-size: .98rem; }

.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.thumbs figure { margin: 0; }
.thumbs img { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); max-height: 360px; width: auto; margin-inline: auto; }
.thumbs figcaption { margin-top: 8px; font-size: .85rem; color: #9fb2c9; text-align: center; }

/* componentes */
.component-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.component-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.component-media, .category-media { position: relative; min-height: 0; overflow: hidden; }
.component-media img, .category-media img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
}
.component-media.render-bg { background: #f4f5f7; }
.component-media.icon-only { background: linear-gradient(135deg, var(--c-teal-soft), #f7fbfc); color: var(--c-teal); }
.component-media.icon-only .icon { width: 72px; height: 72px; stroke-width: 1.3; }
.component-media .badge-render { position: absolute; left: 12px; bottom: 12px; }
.component-body { padding: 22px 22px 26px; }
.component-body .badge { margin-bottom: 12px; }
.component-body p { font-size: .96rem; }

/* tabla de características */
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 900px) { .spec-groups { grid-template-columns: minmax(0, 1fr); } }
.spec-title { font-size: 1.15rem; margin-bottom: 14px; }
.spec-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
}
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table thead th { background: var(--c-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.spec-table tbody th { color: var(--c-ink); font-weight: 600; width: 34%; }
.spec-table td:last-child { text-align: right; width: 1%; white-space: nowrap; }
/* Tabla de comparación (piscicultura / mar): texto normal en todas las columnas. */
.spec-table.spec-compare tbody th { width: 22%; }
.spec-table.spec-compare td, .spec-table.spec-compare td:last-child { text-align: left; width: auto; white-space: normal; }
.spec-table.spec-compare td[data-label]::before { content: none; }
@media (max-width: 560px) {
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 14px 16px; border-bottom: 1px solid var(--c-line); }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table tbody th, .spec-table td { padding: 0; border: 0; width: auto; }
  .spec-table td:last-child { text-align: left; margin-top: 8px; }
  .spec-table.spec-compare tbody th { width: auto; }
  .spec-table.spec-compare td { margin-top: 8px; }
  .spec-table.spec-compare td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--c-ink); }
}
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: .9rem; color: var(--c-muted); align-items: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font: 700 1.05rem/1.4 var(--font-head);
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--c-teal); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--c-muted); }

/* cotizar */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 960px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }
.quote-aside .check-list { margin-top: 18px; }
.quote-panel {
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.contact-channels { display: grid; gap: 12px; margin-top: 28px; }
.contact-channels a, .contact-channels div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
}
.contact-channels .icon { color: var(--c-teal); }
.contact-channels small { display: block; font-weight: 400; color: var(--c-muted); }

/* ---------------------------------------------------------------- formulario */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--c-ink); }
.req { color: var(--c-red); }
.optional { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--c-ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(13, 133, 151, .16);
}
.field [aria-invalid="true"] { border-color: var(--c-red); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(211, 20, 27, .14); }
.field-hint { margin: 6px 0 0; font-size: .86rem; color: var(--c-muted); }
.field-error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--c-red-dark); }

.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-privacy { margin: 0; flex: 1 1 260px; font-size: .86rem; color: var(--c-muted); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"]::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-weight: 500;
}
.form-status:focus { outline: none; }
.form-status.is-success { background: var(--c-green-soft); color: #145a3b; border: 1px solid #b7e2cb; }
.form-status.is-error { background: #fdecec; color: #8f0f13; border: 1px solid #f4c3c4; }
.form-status strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 2px; }

.quote-form.is-sent .form-grid,
.quote-form.is-sent .form-footer { display: none; }

/* Verificación «No soy un robot». El espacio del widget queda reservado antes
   de que cargue (304×78 o, si no cabe, la versión compacta de 164×144). */
.field-captcha { container-type: inline-size; }
.field-captcha:focus { outline: none; }
.field-captcha:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 6px; border-radius: 6px; }
.captcha-title { margin: 0 0 6px; font-weight: 600; font-size: .95rem; color: var(--c-ink); }
.captcha-box { min-height: 78px; max-width: 100%; }
@container (max-width: 303px) { .captcha-box { min-height: 144px; } }
.field-captcha.is-invalid .captcha-box > * { outline: 2px solid var(--c-red); outline-offset: 2px; border-radius: 4px; }
.captcha-sim-note { color: var(--c-ink); font-weight: 600; }
.captcha-retry { margin-top: 10px; }
.captcha-retry[hidden] { display: none; }

/* Simulación local del widget (solo vista previa). */
.sim-captcha {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 304px;
  height: 78px;
  padding: 12px 12px 7px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #f9f9f9;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, .08);
  font: 400 14px/1.25 var(--font-body);
  color: #282828;
}
.sim-captcha-compact { width: 164px; height: 144px; padding: 14px 12px 10px; }
.sim-captcha-row { display: flex; align-items: center; gap: 12px; }
.sim-captcha-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}
.sim-captcha-check:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.sim-captcha-label { cursor: pointer; }
.sim-captcha.is-busy .sim-captcha-check { border-color: #1a73e8; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.sim-captcha.is-checked .sim-captcha-check { border-color: transparent; background: transparent; }
.sim-captcha.is-checked .sim-captcha-check::after {
  content: "";
  width: 9px;
  height: 18px;
  margin-top: -4px;
  border: solid #0b8a4c;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
.sim-captcha-brand { font-size: 10.5px; color: #555; }
.sim-captcha-status:empty { display: none; }
.sim-captcha-status { font-size: 10.5px; font-weight: 600; color: #c5221f; }
.sim-captcha.is-expired .sim-captcha-brand { display: none; }

/* Imágenes ilustrativas generadas con IA */
.ia-figure {
  margin: 0 0 clamp(28px, 4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.ia-figure-after { margin: clamp(28px, 4vw, 44px) 0 0; }
.ia-figure img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; background: var(--c-soft-2); }
@media (max-width: 640px) { .ia-figure img { aspect-ratio: 16 / 10; } }
.ia-figure figcaption { padding: 10px 16px 12px; font-size: .86rem; color: var(--c-muted); }
.ia-figure figcaption strong { color: var(--c-ink); font-weight: 600; }

/* ---------------------------------------------------------------- familia (página) */

.product-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.product-block.reverse .product-block-media { order: -1; }
@media (max-width: 960px) {
  .product-block { grid-template-columns: minmax(0, 1fr); }
  .product-block.reverse .product-block-media { order: 0; }
}
.product-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-title h2 { margin: 0; }
.product-title small { display: block; margin-top: 4px; font: 600 .95rem/1.3 var(--font-body); color: var(--c-teal); letter-spacing: 0; }
.product-icon.lg { width: 64px; height: 64px; border-radius: 18px; }
.product-icon.lg img { width: 42px; height: 42px; }

.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.mini-card { padding: 18px; border-radius: var(--radius); background: var(--c-soft); }
.mini-card h3 { font-size: 1rem; margin-bottom: .3em; }
.mini-card p { font-size: .93rem; color: var(--c-muted); }
@media (max-width: 560px) { .mini-cards { grid-template-columns: minmax(0, 1fr); } }

.screen-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.screen-frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e9eef4; }
.screen-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c5cfdb; }
.screen-frame figcaption { padding: 10px 14px; font-size: .86rem; color: var(--c-muted); border-top: 1px solid var(--c-line); }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.compare-table thead th { background: var(--c-soft); font: 700 1rem/1.3 var(--font-head); color: var(--c-ink); }
.compare-table thead th:first-child { width: 18%; }
.compare-table tbody th { color: var(--c-muted); font-weight: 600; font-size: .88rem; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .is-main { background: rgba(13, 133, 151, .05); }
.table-note { margin-top: 10px; font-size: .86rem; color: var(--c-muted); }

/* ---------------------------------------------------------------- balanzas */

.category-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.category-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.category-media.icon-only { background: linear-gradient(135deg, #eef3f8, #f8fafc); color: var(--c-navy-700); }
.category-media.icon-only .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.category-body { padding: 18px 20px 22px; }
.category-body h3 { font-size: 1.08rem; }
.category-body p { font-size: .94rem; }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-grid .category-media { padding: 10px; }
  .cat-grid .category-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .cat-grid .category-media.icon-only .icon { width: 44px; height: 44px; }
  .cat-grid .category-body { padding: 12px 14px 16px; }
  .cat-grid .category-body h3 { font-size: 1rem; }
  .cat-grid .category-body p { font-size: .88rem; line-height: 1.5; }
}

.model-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.model-media { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 240px; padding: 20px; background: #fff; border-bottom: 1px solid var(--c-line); }
.model-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.model-body { padding: 26px; }
.model-body .eyebrow { margin-bottom: .5rem; }
.model-specs { margin: 14px 0 0; display: grid; gap: 8px; }
.model-specs div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--c-line); font-size: .94rem; }
.model-specs dt { color: var(--c-muted); }
.model-specs dd { margin: 0; font-weight: 600; color: var(--c-ink); text-align: right; }
.model-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.model-body .model-badge { display: flex; width: fit-content; margin-bottom: 12px; }

/* Marca destacada (Sensocar) en Balanzas */
.sensocar { scroll-margin-top: var(--header-h); }
.brand-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: .75rem; }
.brand-line .eyebrow { margin: 0; }
.brand-logo { display: block; width: auto; height: 32px; }
.sensocar-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sensocar-feature .model-media { height: auto; min-height: 320px; padding: clamp(24px, 4vw, 48px); border-bottom: 0; border-right: 1px solid var(--c-line); }
.sensocar-feature .model-body { align-self: center; padding: clamp(24px, 3.4vw, 40px); }
.sensocar-cells { margin-top: clamp(16px, 2.4vw, 28px); }
.sensocar .table-note { margin-top: 16px; }
.gama-band { margin: clamp(16px, 2.4vw, 28px) 0 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.gama-band img { display: block; width: 100%; height: auto; }
.gama-band figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--c-line); font-size: .9rem; color: var(--c-muted); }
.gama-link { margin: 14px 0 0; }
.category-body .link-arrow { margin-top: 8px; font-size: .92rem; }
@media (max-width: 800px) {
  .sensocar-feature { grid-template-columns: minmax(0, 1fr); }
  .sensocar-feature .model-media { min-height: 0; height: 240px; border-right: 0; border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 640px) {
  .brand-logo { height: 28px; }
  .cat-grid .category-body .link-arrow { font-size: .84rem; }
}

/* ---------------------------------------------------------------- servicio técnico */

.service-grid .card { scroll-margin-top: calc(var(--header-h) + 24px); }
.process { counter-reset: proc; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }
.process li { counter-increment: proc; padding: 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.process li::before {
  content: counter(proc, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font: 800 1.6rem/1 var(--font-head);
  color: #7fd6e2;
}
.process h3 { font-size: 1.08rem; }
.process p { font-size: .96rem; margin: 0; }

/* ---------------------------------------------------------------- páginas simples */

.simple-page { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.simple-page .lead { color: var(--c-muted); max-width: 36em; margin-inline: auto; }
.simple-page .page-hero-actions { justify-content: center; }
.simple-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: var(--c-green-soft);
  color: var(--c-green);
}
.simple-icon .icon { width: 36px; height: 36px; }
.simple-icon.muted { background: var(--c-soft-2); color: var(--c-navy-700); }

/* ---------------------------------------------------------------- Marine: balanza, app y resultado */

.marine-hero .page-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
@media (max-width: 960px) { .marine-hero .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.marine-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "result app" "scale app";
  gap: 14px;
}
.marine-showcase figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.showcase-result { grid-area: result; background: #0b1a2c; }
.showcase-result img { width: 100%; aspect-ratio: 900 / 560; object-fit: cover; }
.showcase-scale { grid-area: scale; display: grid; place-items: center; padding: 14px 14px 46px; min-height: 170px; }
.showcase-scale img { width: 100%; height: 100%; max-height: 150px; object-fit: contain; }
/* contain: size evita que la captura alta de la app agrande la grilla; se recorta solo por abajo. */
.showcase-app { grid-area: app; contain: size; background: #11161f !important; border-color: #2a3342 !important; padding: 8px 8px 0; }
.showcase-app img { width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.showcase-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--c-navy-800);
  font: 700 .78rem/1.2 var(--font-body);
  box-shadow: 0 2px 6px rgba(15, 27, 45, .15);
}
.showcase-scale .showcase-tag { top: auto; bottom: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--c-soft-2); box-shadow: none; }
.showcase-app .showcase-tag { top: auto; bottom: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.showcase-result .compare-result { left: 10px; bottom: 10px; font-size: .88rem; }

@media (max-width: 640px) {
  .marine-showcase { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "result result" "scale app"; gap: 10px; }
  .showcase-scale, .showcase-app { height: 190px; min-height: 0; }
  .showcase-scale { padding: 10px 10px 40px; }
  .marine-hero .chips { display: none; }
  .marine-hero .marine-logo { width: 170px; margin-bottom: 12px; }
}

.gallery .media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption strong { color: var(--c-ink); }
.video-card { max-width: 860px; margin: 0 auto clamp(20px, 3vw, 32px); scroll-margin-top: 96px; }
.video-slot { aspect-ratio: 4 / 3; background: #0a1f38; }
.video-slot video { display: block; width: 100%; height: 100%; }
.video-card figcaption strong { color: var(--c-ink); }

/* ---------------------------------------------------------------- Familia: qué resuelve cada producto */

.solves {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 960px) { .solves { grid-template-columns: minmax(0, 1fr); } }
.solve-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.solve-card.is-main {
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  border-color: transparent;
  color: #c9d6e6;
}
.solve-head { display: flex; align-items: center; gap: 14px; }
.solve-head h2 { margin: 0; font-size: 1.25rem; }
.solve-head small { display: block; margin-top: 2px; font: 600 .82rem/1.3 var(--font-body); color: var(--c-teal); letter-spacing: 0; }
.solve-card.is-main h2 { color: #fff; }
.solve-card.is-main small { color: #7fd6e2; }
.solve-card.is-main .product-icon { background: rgba(255, 255, 255, .12); }
.solve-what { margin: 4px 0 0; font-size: 1.02rem; color: var(--c-text); }
.solve-card.is-main .solve-what { color: #e6eef7; }
.solve-card.is-main .solve-what strong { color: #fff; }
.solve-where { margin: 0; font-size: .92rem; color: var(--c-muted); }
.solve-card.is-main .solve-where { color: #a9bbd1; }
.solve-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 8px; }
.solve-card.is-main .link-arrow { color: #8fd9e4; }

.compare-cards { display: none; }
@media (max-width: 760px) {
  .compare-table-wrap { display: none; }
  .compare-cards { display: grid; gap: 14px; }
  .table-note { margin-top: 18px; }
}
.compare-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.compare-card.is-main { border: 2px solid var(--c-teal); }
.compare-card h3 { margin-bottom: 10px; }
.compare-card dl { margin: 0 0 16px; display: grid; gap: 8px; }
.compare-card dl div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; font-size: .94rem; }
.compare-card dt { color: var(--c-muted); font-weight: 600; }
.compare-card dd { margin: 0; color: var(--c-ink); }
.compare-card .btn { width: 100%; }
.compare-table .btn { white-space: nowrap; }

/* ---------------------------------------------------------------- formulario: motivo primero */

.field-motivo {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--c-teal-soft);
}
.field-motivo label { color: var(--c-navy-800); }
.form-group-title {
  margin: 6px 0 -6px;
  font: 700 .8rem/1.2 var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ---------------------------------------------------------------- contacto directo */

.direct-contact { margin-bottom: 28px; }
.direct-contact .contact-channels { margin-top: 12px; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--c-navy-950);
  color: #9fb2c9;
  padding-top: clamp(56px, 8vw, 88px);
  font-size: .96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; margin-bottom: 20px; }
.footer-title { font: 700 .82rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; color: #c9d6e6; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  color: #7f93ab;
}
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- utilidades */

.mt-0 { margin-top: 0; }
.text-muted { color: var(--c-muted); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }
.note {
  margin-top: 16px;
  font-size: .88rem;
  color: var(--c-muted);
}

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

@media print {
  .site-header, .site-footer, .cta-band, .preview-bar, .subnav { display: none !important; }
  .hero, .section-dark { background: #fff !important; color: #000 !important; }
  .hero h1, .section-dark h2, .section-dark h3 { color: #000 !important; }
}
