/* Software Experto — estilos del sitio
   Concepto: azul marino de las cotizaciones SOFEX como base sólida, el ticket
   térmico en córdobas como objeto protagonista y el dorado solo para la acción
   principal ("Pedí tu demo"). Un solo tema claro, a propósito. */
:root {
  --navy: #0d2550;
  --navy-deep: #081a3a;
  --blue: #1d63c9;
  --blue-soft: #e7effb;
  --gold: #d99a1c;
  --gold-hover: #e8ac30;
  --ink: #0f1b33;
  --muted: #4c5a74;
  --line: #d9e1ee;
  --paper: #ffffff;
  --tint: #f3f6fb;
  --thermal: #fbfaf6;
  --wa: #1fae5b;
  --wa-hover: #188f4a;

  --pos: #1d63c9;
  --pos-soft: #e7effb;
  --rest: #c0522c;
  --rest-soft: #fbece5;
  --negofa: #1d8458;
  --negofa-soft: #e4f4ec;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 37, 80, .06), 0 8px 24px rgba(13, 37, 80, .08);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-fill { fill: currentColor; stroke: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .75em 1.5em; font-size: 1.0625rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }

.eyebrow { font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
.eyebrow-light { color: var(--gold); }

/* Cabecera y menú */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: var(--gold); font: 800 1.35rem/1 var(--font-display);
  box-shadow: inset 0 -4px 0 var(--blue);
}
.brand-text { font: 500 1.2rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-text strong { font-weight: 800; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: none; border: 0; color: var(--ink); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--blue); background: var(--tint); }
.nav-list a[aria-current="page"], .sub-toggle[data-current] { color: var(--blue); }
.has-sub { position: relative; }
.sub-toggle .icon { transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: none;
}
.has-sub.is-open > .sub-menu { display: block; }
.sub-menu a { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.sub-menu a:hover { background: var(--tint); color: var(--navy); }
.sub-menu small { grid-column: 2; font-weight: 400; color: var(--muted); font-size: .875rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; grid-row: span 2; }
.dot-pos { background: var(--pos); }
.dot-rest { background: var(--rest); }
.dot-negofa { background: var(--negofa); }
.dot-gold { background: var(--gold); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .site-nav {
    position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 16px; overflow-y: auto;
    padding: 16px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: var(--paper); display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.125rem; }
  .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav-cta { min-height: 52px; }
}

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 10%, #173a78 0%, var(--navy) 55%, var(--navy-deep) 100%); color: #dfe7f5; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.1875rem; max-width: 34em; margin-top: 1.1rem; color: #c9d6ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 2rem 0 0; padding: 0; font-weight: 600; color: #fff; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list .icon { color: var(--gold); stroke-width: 2.6; }

/* Ticket térmico */
.ticket { margin: 0; justify-self: center; width: min(100%, 340px); transform: rotate(2deg); }
.ticket-paper {
  position: relative; background: var(--thermal); color: #1b1b1b; padding: 26px 22px 30px;
  font: 400 .8125rem/1.45 var(--font-mono); box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  --zig: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  padding-bottom: 38px;
}
.ticket-tag { position: absolute; top: 12px; right: 12px; font: 700 .625rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); border: 1px solid currentColor; padding: 4px 6px; border-radius: 4px; }
.ticket-shop { text-align: center; font-weight: 500; font-size: .9375rem; letter-spacing: .04em; }
.ticket-meta { text-align: center; color: #555; font-size: .75rem; margin-top: 4px; padding-bottom: 12px; border-bottom: 1px dashed #9a9a9a; }
.ticket-lines { width: 100%; border-collapse: collapse; margin: 10px 0; font-variant-numeric: tabular-nums; }
.ticket-lines th { text-align: left; font-weight: 500; font-size: .6875rem; text-transform: uppercase; color: #666; padding-bottom: 4px; }
.ticket-lines td { padding: 3px 0; vertical-align: top; }
.ticket-lines th:nth-child(n+2), .ticket-lines td:nth-child(n+2) { text-align: right; padding-left: 8px; white-space: nowrap; }
.ticket-totals { margin: 0; padding-top: 10px; border-top: 1px dashed #9a9a9a; font-variant-numeric: tabular-nums; }
.ticket-totals div { display: flex; justify-content: space-between; }
.ticket-totals dd { margin: 0; }
.ticket-total { margin-top: 6px; padding-top: 6px; border-top: 1px solid #1b1b1b; font-weight: 500; font-size: 1rem; }
.ticket-foot { text-align: center; color: #555; font-size: .75rem; margin-top: 14px; }
.ticket-note { margin-top: 14px; text-align: center; font-size: .875rem; color: #a9bbdb; transform: rotate(-2deg); }

/* Franja de trayectoria */
.proof-strip { background: var(--navy-deep); color: #c9d6ec; border-top: 1px solid rgba(255, 255, 255, .08); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.proof-grid p { display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; }
.proof-grid strong { font: 800 1.6rem/1.1 var(--font-display); color: var(--gold); }

/* Secciones */
.section { padding-block: 88px; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head > p:last-child:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* Tarjetas de producto */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card {
  --c: var(--pos); --c-soft: var(--pos-soft);
  display: flex; flex-direction: column; gap: 14px; padding: 0 26px 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.product-rest { --c: var(--rest); --c-soft: var(--rest-soft); }
.product-negofa { --c: var(--negofa); --c-soft: var(--negofa-soft); }
.product-logo { display: grid; place-items: center; height: 150px; margin: 0 -26px 6px; padding: 0 24px; background: var(--c-soft); }
.product-logo img { max-height: 120px; width: auto; mix-blend-mode: multiply; }
.product-wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 2.2rem/1 var(--font-display); color: var(--c); letter-spacing: -.02em; }
.product-wordmark .icon { width: 2.4rem; height: 2.4rem; }
.product-card h3 { color: var(--c); font-size: 1.5rem; }
.product-tagline { font-weight: 600; color: var(--ink); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--muted); }
.check-list .icon { color: var(--c, var(--blue)); stroke-width: 2.4; margin-top: .2em; }
.product-for { font-size: .9375rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.btn-product { align-self: flex-start; background: var(--c); color: #fff; }
.btn-product:hover { color: #fff; filter: brightness(1.1); }

/* Slider de rubros */
.slider-arrows { display: flex; gap: 8px; }
.slider-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy); cursor: pointer;
}
.slider-btn:hover { border-color: var(--blue); color: var(--blue); }
.slider { overflow: hidden; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  list-style: none; margin: 0; padding: 4px 2px 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.slide-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 4px; }
.slide p { color: var(--muted); }
.slide .slide-fit { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 600; font-size: .9375rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .8125rem/1.4 var(--font-body); text-decoration: none; }
.tag-pos { background: var(--pos-soft); color: var(--pos); }
.tag-rest { background: var(--rest-soft); color: var(--rest); }
.tag-negofa { background: var(--negofa-soft); color: var(--negofa); }
a.tag:hover { filter: brightness(.95); }
.slider-dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.slider-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #b8c4d8; transition: width .2s, background-color .2s; }
.slider-dots button[aria-current="true"]::before { width: 24px; border-radius: 5px; background: var(--blue); }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 6px; }
.why-item p { color: var(--muted); }

/* Casos de éxito */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.case-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.case-steps { margin: 0; display: grid; gap: 12px; }
.case-steps dt { font: 700 .75rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case-steps dd { margin: 2px 0 0; color: var(--muted); }
.is-pending { border-style: dashed; border-color: var(--gold); }

/* Preguntas frecuentes */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px;
  font-weight: 700; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { transition: transform .2s; color: var(--blue); }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); max-width: 62ch; }

/* CTA final */
.cta-band { background: var(--blue); color: #e9f0fb; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; }
.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { margin-top: .75rem; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b6c4dc; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 40px; padding-block: 64px 40px; }
.footer-about p { margin-top: 16px; max-width: 34ch; }
.footer-title { font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: .2em; color: var(--gold); }
.social { grid-auto-flow: column; justify-content: start; gap: 16px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: .875rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 50;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
}
.wa-button {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .15s, background-color .15s;
}
.wa-button:hover { background: var(--wa-hover); color: #fff; transform: scale(1.05); }
.wa-button .icon { width: 32px; height: 32px; }
.wa-bubble {
  display: flex; align-items: center; gap: 6px; padding: 10px 8px 10px 16px; border-radius: 14px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font-size: .9375rem; white-space: nowrap;
}
.wa-bubble[hidden] { display: none; }
.wa-bubble-close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 50%; }
.wa-bubble-close:hover { background: var(--tint); }

/* Responsive */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 48px 64px; }
  .ticket { transform: rotate(1.5deg); }
  .product-grid, .case-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .proof-grid p { flex-direction: row; align-items: baseline; gap: 10px; }
  .proof-grid strong { font-size: 1.3rem; min-width: 4.5em; }
}
@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .why-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .slider-track { grid-auto-columns: 86%; gap: 14px; }
  .section-head-row .slider-arrows { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .wa-bubble { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .slider-track { scroll-behavior: auto; }
}

/* Logo oficial */
.brand-logo { height: 46px; width: auto; }
.site-footer .brand-logo { height: 56px; }

/* Encabezado de páginas internas */
.page-head { background: radial-gradient(120% 120% at 90% 0%, #173a78 0%, var(--navy) 60%, var(--navy-deep) 100%); color: #c9d6ec; }
.page-head-inner { padding-block: 64px 72px; max-width: 860px; margin-left: 0; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); }
.page-head-inner { margin-inline: auto; max-width: 1180px; }
.page-head-inner > * { max-width: 760px; }

/* Filtro por categoría */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 600 .9375rem/1.2 var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-empty { color: var(--muted); }

/* Catálogo de equipos */
.equipment-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.equipment-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.equipment-card[hidden] { display: none; }
.equipment-photo { aspect-ratio: 1 / 1; max-width: 100%; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.equipment-photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.equipment-nophoto { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tint); color: #9aa9c2; }
.equipment-nophoto .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.equipment-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.equipment-cat { font: 700 .75rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.equipment-card h3 { font-size: 1.125rem; }
.equipment-model { font: 500 .875rem/1.3 var(--font-mono); color: var(--muted); }
.equipment-specs { margin: 6px 0 14px; padding-left: 1.1em; color: var(--muted); font-size: .9375rem; display: grid; gap: 4px; }
.btn-quote { margin-top: auto; align-self: stretch; background: var(--wa); color: #fff; }
.btn-quote:hover { background: var(--wa-hover); color: #fff; }
.why-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .why-grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .equipment-body { padding: 14px; } .equipment-specs { display: none; } .btn-quote { font-size: .875rem; padding-inline: .6em; } }

/* Carrusel de logos de clientes: banda continua, se pausa con el mouse.
   Con movimiento reducido se muestra como cuadrícula fija. */
.clients { padding-block: 48px 40px; border-bottom: 1px solid var(--line); }
.clients-title { font: 600 1.0625rem/1.4 var(--font-body); color: var(--muted); text-align: center; margin-bottom: 24px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; width: 170px; height: 100px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; overflow: hidden; }
.marquee-track img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask: none; mask: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .marquee-track li { width: 130px; height: 76px; } .marquee-track { gap: 12px; } @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } } }

/* Botones adicionales */
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--paper); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .9375rem; }
.tag-gold { background: #fbf0d9; color: #8a5d00; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.jump-links .tag { padding: 6px 14px; font-size: .9375rem; }

/* Soluciones: bloques alternados */
.solution { --c: var(--pos); --c-soft: var(--pos-soft); }
.solution-rest { --c: var(--rest); --c-soft: var(--rest-soft); }
.solution-negofa { --c: var(--negofa); --c-soft: var(--negofa-soft); }
.solution-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.solution-flip .solution-visual { order: 2; }
.solution-visual { display: flex; flex-direction: column; gap: 16px; }
.solution-logo { display: grid; place-items: center; min-height: 320px; padding: 32px; border-radius: var(--radius); background: var(--c-soft); }
.solution-logo img { max-height: 240px; width: auto; mix-blend-mode: multiply; }
.solution-for { color: var(--muted); }
.solution-copy .eyebrow { color: var(--c, var(--blue)); }
.solution-list { margin-top: 24px; }
.solution-list .icon { color: var(--c, var(--blue)); }
.solution-text { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.solution-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.solution-equipos { --c: var(--gold); }
.solution-equipos .eyebrow { color: #8a5d00; }
.solution-equipos .check-list .icon { color: var(--gold); }
.solution-equipos .solution-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.equipos-preview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.equipos-preview li { aspect-ratio: 1 / 1; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.equipos-preview img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
section[id], [id="formulario"] { scroll-margin-top: 84px; }

/* Soporte: canales */
.channel-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.channel {
  display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s;
}
.channel:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }
.channel-main { background: var(--wa); border-color: var(--wa); color: #fff; }
.channel-main:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }
.channel-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .18); margin-bottom: 8px; }
.channel-icon .icon { width: 28px; height: 28px; }
.channel-icon-soft { background: var(--blue-soft); color: var(--blue); }
.channel-label { font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.channel-value { font: 700 1.25rem/1.3 var(--font-display); overflow-wrap: anywhere; }
.channel-main .channel-value { font-size: 1.75rem; }
.channel-note { font-size: .9375rem; opacity: .9; }

/* Videos de ayuda */
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card[hidden] { display: none; }
.video-link { display: block; height: 100%; color: var(--ink); text-decoration: none; }
.video-link:hover h3 { color: var(--blue); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--navy); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-empty { display: grid; place-items: center; color: #8ea2c4; background: var(--tint); }
.video-thumb-empty .icon { width: 48px; height: 48px; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, transparent 50%, rgba(8, 26, 58, .55)); }
.video-play .icon { width: 54px; height: 54px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); transition: transform .15s; }
.video-link:hover .video-play .icon { transform: scale(1.1); }
.video-duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; font: 500 .8125rem/1.4 var(--font-mono); }
.video-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 18px; }
.video-body h3 { font: 600 1rem/1.35 var(--font-body); color: var(--ink); }
.playlist-links { margin-top: 24px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.playlist-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* Contacto y formulario */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-layout-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.contact-form-box { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact-form-box h2, .contact-info h2 { font-size: 1.6rem; margin-bottom: 20px; }
.form-intro { color: var(--muted); margin: -8px 0 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.req { color: #b4361f; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c3cee0; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 99, 201, .2); }
.field [aria-invalid="true"] { border-color: #b4361f; }
.field-error { color: #b4361f; font-size: .875rem; }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.form-note { color: var(--muted); font-size: .875rem; }
.form-result { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--negofa-soft); border: 1px solid #a9d9bf; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form-result[hidden] { display: none; }
.form-result.is-error { background: #fdecea; border-color: #f1b3aa; }
.contact-info { display: flex; flex-direction: column; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-icon.is-wa { background: #dff5e8; color: var(--wa-hover); }
.contact-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-label { font: 700 .75rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-text a { font-weight: 600; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-text a:hover { color: var(--blue); text-decoration: underline; }
.copy-btn { flex: none; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); font: 600 .875rem/1 var(--font-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.copy-btn.is-done { background: var(--negofa-soft); border-color: #a9d9bf; color: var(--negofa); }
.address-box { display: flex; gap: 14px; margin-top: 24px; padding: 20px; border-radius: var(--radius); background: var(--tint); }
.address-box p { margin-bottom: 10px; }
.address-box .contact-label { margin-bottom: 4px; }

@media (max-width: 960px) {
  .solution-grid, .solution-equipos .solution-grid, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .solution-flip .solution-visual { order: 0; }
  .solution-logo { min-height: 220px; }
  .channel-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form-box { padding: 20px; }
  .solution-actions .btn { width: 100%; }
}

/* Mapa de ubicación (Contacto) */
.address-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-box { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; max-width: 100%; background: var(--tint); }
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }
