/* ==========================================================================
   TAUROS — Sitio comercial
   Sistema de diseño: navy corporativo + naranja de marca.
   Sin dependencias externas (solo Google Fonts, con fallback de sistema).
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  /* Marca */
  --navy-950: #060d18;
  --navy-900: #0a1424;
  --navy-800: #0f1c30;
  --navy-700: #17283b;
  --orange: #ff7a1a;
  --orange-deep: #d94c23;
  --blue: #0877c9;
  --blue-bright: #3aa9f2;

  /* Superficies claras */
  --bg-soft: #f4f7fb;
  --bg-white: #ffffff;
  --line: #dfe6ef;

  /* Texto */
  --ink: #101b2b;
  --ink-soft: #45566c;
  --on-dark: #e9eff8;
  --on-dark-soft: #9fb0c4;

  /* Tipografía */
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Métricas */
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 76px;
  --shadow-soft: 0 8px 30px rgba(10, 20, 36, 0.10);
  --shadow-deep: 0 20px 60px rgba(6, 13, 24, 0.35);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep); margin: 0 0 14px;
}
.eyebrow.light { color: var(--orange); }
.section-heading { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading h2, .product-head h2, .support-copy h2, .contact-copy h2, .auto-copy h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.01em;
}
.section-heading p { color: var(--ink-soft); font-size: 17.5px; }

.grad-text {
  background: linear-gradient(90deg, var(--orange) 0%, #ffb347 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botones ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  padding: 14px 26px; border-radius: 12px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff; box-shadow: 0 10px 26px rgba(217, 76, 35, 0.35);
}
.button.primary:hover { box-shadow: 0 14px 32px rgba(217, 76, 35, 0.45); }
.button.ghost { background: rgba(233, 239, 248, 0.08); color: var(--on-dark); border-color: rgba(233, 239, 248, 0.35); }
.button.ghost:hover { background: rgba(233, 239, 248, 0.16); border-color: rgba(233, 239, 248, 0.6); }
.button.dark { background: var(--navy-900); color: #fff; }
.button.dark:hover { background: var(--navy-700); }
.button.outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.button.outline:hover { background: var(--navy-900); color: #fff; }
.button.full { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6, 13, 24, 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 239, 248, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(6, 13, 24, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

/* Lockup de marca: isotipo del toro + TAUROS GESTIÓN (según pieza de marca) */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; flex: 0 0 auto; }
.brand-lock { display: grid; gap: 6px; justify-items: start; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  letter-spacing: 0.14em; color: #fff; line-height: 1; white-space: nowrap;
}
.brand-text em { font-style: normal; font-weight: 700; color: var(--on-dark-soft); }
.brand-dash { width: 30px; height: 3px; border-radius: 2px; background: var(--orange); }

.nav-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-menu a {
  color: var(--on-dark-soft); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 8px 2px;
  transition: color 0.18s ease;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a.nav-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff; padding: 10px 22px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 700;
  box-shadow: 0 6px 18px rgba(217, 76, 35, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-menu a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 76, 35, 0.45); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px;
  background: rgba(233, 239, 248, 0.08); border: 1px solid rgba(233, 239, 248, 0.2);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--on-dark); transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 90px)) 0 clamp(60px, 8vw, 100px);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(8, 119, 201, 0.22), transparent 65%),
    radial-gradient(640px 420px at 8% 92%, rgba(217, 76, 35, 0.16), transparent 62%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(233, 239, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 239, 248, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative; display: grid; gap: clamp(40px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800; letter-spacing: -0.015em; margin-bottom: 20px;
}
.hero-copy .eyebrow { color: var(--orange); }
.hero-sub { color: var(--on-dark-soft); font-size: clamp(16.5px, 1.6vw, 18.5px); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges li {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--on-dark-soft);
  border: 1px solid rgba(233, 239, 248, 0.18);
  background: rgba(233, 239, 248, 0.05);
  padding: 7px 14px; border-radius: 999px;
}

/* Visual del hero */
.hero-visual { position: relative; min-height: 340px; }
.browser-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: #0d1726; border: 1px solid rgba(233, 239, 248, 0.14);
  box-shadow: var(--shadow-deep);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: rgba(233, 239, 248, 0.06);
  border-bottom: 1px solid rgba(233, 239, 248, 0.08);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(233, 239, 248, 0.22); }
.browser-bar span:first-child { background: rgba(255, 122, 26, 0.75); }
.browser-bar em {
  font-style: normal; font-size: 12px; font-weight: 600;
  color: var(--on-dark-soft); margin-left: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-frame button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.browser-frame img { width: 100%; }

.hero-main { position: relative; z-index: 1; width: min(100%, 620px); }
.float-card {
  position: absolute; z-index: 2; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(233, 239, 248, 0.16);
}
.float-poster { width: clamp(130px, 12vw, 178px); right: -12px; bottom: -34px; animation: floaty 7s ease-in-out infinite; }
.float-chip {
  position: absolute; z-index: 3;
  display: grid; gap: 2px;
  background: rgba(10, 20, 36, 0.88);
  border: 1px solid rgba(233, 239, 248, 0.16);
  border-left: 3px solid var(--orange);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.float-chip strong { font-family: var(--font-head); font-size: 13.5px; color: #fff; }
.float-chip span { font-size: 12px; color: var(--on-dark-soft); }
.chip-a { left: -18px; top: 34px; animation: floaty 6s ease-in-out infinite; }
.chip-b { left: 8%; bottom: -18px; animation: floaty 8s ease-in-out 1.2s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   FRANJA DE CONFIANZA
   ========================================================================== */
.trust-strip {
  background: var(--navy-900); color: var(--on-dark);
  border-top: 1px solid rgba(233, 239, 248, 0.07);
  padding: 34px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-grid strong {
  display: block; font-family: var(--font-head);
  font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px;
}
.trust-grid span { font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; display: block; }

/* ==========================================================================
   SOLUCIONES
   ========================================================================== */
.solutions-section { background: var(--bg-soft); }
.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(10, 20, 36, 0.16); border-color: #cdd8e6; }
.solution-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--orange);
}
.solution-icon svg { width: 26px; height: 26px; }
.solution-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 6px;
}
.solution-card h3 { font-size: 23px; font-weight: 800; }
.solution-card > p:not(.solution-label) { color: var(--ink-soft); font-size: 15.5px; }
.mini-list { margin: 6px 0 24px; display: grid; gap: 9px; }
.mini-list li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.45;
}
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}
.solution-card .button { margin-top: auto; }

.solution-card.upcoming {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: var(--navy-700); color: var(--on-dark);
}
.solution-card.upcoming .solution-label { color: var(--blue-bright); }
.solution-card.upcoming h3 { color: #fff; }
.solution-card.upcoming > p:not(.solution-label), .solution-card.upcoming .mini-list li { color: var(--on-dark-soft); }
.solution-card.upcoming .solution-icon { background: rgba(233, 239, 248, 0.08); }
.solution-card.upcoming .button.outline { color: #fff; border-color: rgba(233, 239, 248, 0.5); }
.solution-card.upcoming .button.outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.soon-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 6px 16px rgba(217, 76, 35, 0.4);
}
.soon-badge.big { position: static; display: inline-block; margin-bottom: 18px; font-size: 12.5px; }

/* ==========================================================================
   SECCIONES DE PRODUCTO
   ========================================================================== */
.gestion-section { background: var(--bg-white); }
.pymes-section { background: var(--bg-soft); }
.product-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 52px); }
.product-head p { color: var(--ink-soft); font-size: 17.5px; }

/* Marca de producto: toro + TAUROS + nombre de la línea */
.product-brand {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; color: var(--ink-soft);
}
.product-brand img { width: 42px; height: auto; flex: 0 0 auto; }
.product-brand .pb-name {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  letter-spacing: 0.15em; color: var(--navy-900); line-height: 1;
}
.product-brand .pb-sub {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-deep);
  border-left: 2px solid var(--line); padding-left: 12px; line-height: 1.4;
}
.product-brand.light .pb-name { color: #fff; }
.product-brand.light .pb-sub { color: var(--orange); border-left-color: rgba(233, 239, 248, 0.25); }

.product-layout {
  display: grid; gap: clamp(36px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}
.product-layout.reverse { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.product-media { position: relative; }
.product-media .browser-frame { background: #0d1726; }
.media-secondary {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  width: 62%; margin: -14% 0 0 auto; position: relative; z-index: 2;
  border-radius: 12px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 18px 44px rgba(10, 20, 36, 0.28);
}
.pymes-section .media-secondary { border-color: var(--bg-soft); }

.product-media.posters { display: flex; gap: 20px; align-items: flex-start; justify-content: center; }
.poster-card {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  width: min(46%, 250px); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 48px rgba(10, 20, 36, 0.25);
  transition: transform 0.22s ease;
}
.poster-card:hover { transform: translateY(-6px); }
.poster-card.offset { margin-top: 44px; }

.check-list { display: grid; gap: 14px; margin-bottom: 26px; }
.check-list li {
  position: relative; padding-left: 34px;
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.55;
}
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 7px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 13px no-repeat,
    linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag-cloud span {
  font-size: 13px; font-weight: 600; color: var(--navy-800);
  background: var(--bg-white); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px;
}
.gestion-section .tag-cloud span { background: var(--bg-soft); }

/* ==========================================================================
   AUTOREPUESTOS (teaser oscuro)
   ========================================================================== */
.autorepuestos-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 480px at 88% 12%, rgba(8, 119, 201, 0.18), transparent 65%),
    radial-gradient(600px 420px at 6% 88%, rgba(217, 76, 35, 0.14), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--on-dark);
}
.auto-layout {
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}
.auto-copy h2 { color: #fff; }
.auto-copy > p { color: var(--on-dark-soft); font-size: 17px; max-width: 580px; }
.auto-features { display: grid; gap: 13px; margin: 26px 0 32px; }
.auto-features li {
  position: relative; padding-left: 30px;
  color: var(--on-dark-soft); font-size: 15.5px; line-height: 1.55;
}
.auto-features li strong { color: #fff; }
.auto-features li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--orange);
  background: rgba(255, 122, 26, 0.15);
}

.auto-visual { position: relative; display: grid; place-items: center; }
.auto-glow {
  position: absolute; inset: 10% -10%;
  background: radial-gradient(closest-side, rgba(8, 119, 201, 0.28), transparent 70%);
  filter: blur(10px); z-index: 0;
}
/* Ficha conceptual de repuesto: gráfico ilustrativo, no una captura del sistema */
.spec-card {
  position: relative; z-index: 1; width: min(100%, 400px);
  background: rgba(13, 23, 38, 0.92);
  border: 1px solid rgba(233, 239, 248, 0.14);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-deep);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: floaty 9s ease-in-out infinite;
}
.spec-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(233, 239, 248, 0.1);
}
.spec-code { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; letter-spacing: 0.04em; }
.spec-stock {
  font-size: 12px; font-weight: 700; color: #4ade80;
  background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.spec-block { margin-bottom: 16px; }
.spec-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-dark-soft); margin: 0 0 8px;
}
.spec-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-chips span {
  font-size: 12.5px; font-weight: 600; color: var(--on-dark);
  background: rgba(8, 119, 201, 0.16); border: 1px solid rgba(58, 169, 242, 0.3);
  padding: 5px 11px; border-radius: 999px;
}
.spec-chips.alt span { background: rgba(255, 122, 26, 0.12); border-color: rgba(255, 122, 26, 0.35); }
.spec-row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--on-dark); padding: 4px 0; }
.spec-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); flex: 0 0 auto; }
.spec-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid rgba(233, 239, 248, 0.1);
  font-size: 12.5px; color: var(--on-dark-soft);
}
.spec-price { color: var(--orange); font-weight: 700; }

/* ==========================================================================
   COMPARATIVA
   ========================================================================== */
.compare-section { background: var(--bg-white); }
.compare-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg-white); }
.compare-table thead th {
  background: var(--navy-900); color: #fff; text-align: left;
  padding: 18px 20px; font-family: var(--font-head);
}
.compare-table thead th:first-child { width: 34%; }
.th-product { display: block; font-size: 17px; font-weight: 800; }
.compare-table thead small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--on-dark-soft); margin-top: 3px; }
.compare-table tbody th, .compare-table tbody td { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; text-align: left; }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table tbody td { color: var(--ink-soft); }
.compare-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare-table .yes {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-right: 6px;
  border-radius: 50%; font-size: 13px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  vertical-align: -5px;
}
.compare-table .no { color: #b6c2d1; font-weight: 700; }
.compare-note { margin-top: 20px; color: var(--ink-soft); font-size: 15.5px; }
.compare-note a { color: var(--orange-deep); font-weight: 700; }

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.gallery-section { background: var(--bg-soft); }
.tabbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tabbar button {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--ink-soft); background: var(--bg-white);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tabbar button:hover { border-color: var(--navy-700); color: var(--ink); }
.tabbar button.is-active {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
}
.gallery-card {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 14px; background: var(--navy-900);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(10, 20, 36, 0.2); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.poster { grid-row: span 2; }
.gallery-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 14px 12px;
  font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.4;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 13, 24, 0.88) 55%);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-card:hover figcaption, .gallery-card:focus-within figcaption { opacity: 1; transform: translateY(0); }
.gallery-card.is-hidden { display: none; }

/* ==========================================================================
   BENEFICIOS
   ========================================================================== */
.benefits-section { background: var(--bg-white); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-card {
  position: relative; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.benefit-num {
  position: absolute; top: 10px; right: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 44px;
  color: rgba(16, 27, 43, 0.07); line-height: 1;
}
.benefit-card h3 { font-size: 18.5px; font-weight: 800; }
.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   RUBROS
   ========================================================================== */
.industries-section { background: var(--bg-soft); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-card {
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.industry-card h3 { font-size: 16.5px; font-weight: 800; margin: 12px 0 6px; }
.industry-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.pill {
  display: inline-block; font-family: var(--font-head);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.gestion-pill { color: var(--navy-800); background: rgba(8, 119, 201, 0.12); }
.pymes-pill { color: var(--orange-deep); background: rgba(255, 122, 26, 0.13); }
.auto-pill { color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }

/* ==========================================================================
   SOPORTE / IMPLEMENTACIÓN
   ========================================================================== */
.support-section { background: var(--bg-white); }
.support-layout {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.support-copy > p { color: var(--ink-soft); font-size: 17px; }
.support-points { display: grid; gap: 11px; margin-top: 22px; }
.support-points li {
  position: relative; padding-left: 30px;
  font-weight: 600; color: var(--ink); font-size: 15.5px;
}
.support-points li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 11px no-repeat,
    var(--navy-900);
}
.process { display: grid; gap: 16px; counter-reset: paso; }
.process li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.process li:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.process li > span {
  flex: 0 0 auto; width: 42px; height: 42px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border-radius: 12px; box-shadow: 0 8px 18px rgba(217, 76, 35, 0.3);
}
.process h3 { font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.process p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 440px at 12% 10%, rgba(8, 119, 201, 0.16), transparent 62%),
    radial-gradient(560px 420px at 92% 90%, rgba(217, 76, 35, 0.14), transparent 60%),
    linear-gradient(170deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--on-dark);
}
.contact-layout {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: var(--on-dark-soft); font-size: 17px; max-width: 540px; }
.contact-direct { display: grid; gap: 12px; margin-top: 30px; justify-items: start; }
.contact-line {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--on-dark); text-decoration: none;
  font-weight: 600; font-size: 16px;
  background: rgba(233, 239, 248, 0.06);
  border: 1px solid rgba(233, 239, 248, 0.16);
  border-radius: 12px; padding: 13px 20px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.contact-line:hover { background: rgba(233, 239, 248, 0.12); border-color: rgba(233, 239, 248, 0.34); transform: translateY(-2px); }
.contact-line svg { width: 21px; height: 21px; color: var(--orange); flex: 0 0 auto; }

.contact-form {
  background: var(--bg-white); color: var(--ink);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-deep);
}
.contact-form h3 { font-size: 21px; font-weight: 800; margin-bottom: 18px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px;
}
.form-row label span { color: var(--orange-deep); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 119, 201, 0.15);
}
.form-row input.invalid, .form-row textarea.invalid { border-color: var(--orange-deep); }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.form-note.ok { color: #15803d; font-weight: 600; }
.form-note.error { color: var(--orange-deep); font-weight: 600; }
.form-note a { color: var(--blue); font-weight: 700; }
.button[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950); color: var(--on-dark-soft);
  border-top: 1px solid rgba(233, 239, 248, 0.07);
  padding: clamp(44px, 6vw, 64px) 0 0;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 40px;
}
.footer-brand-lockup { margin: 0 0 16px; }
.footer-brand p:not(.footer-brand-lockup) { font-size: 14px; line-height: 1.6; max-width: 300px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links strong {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 4px;
}
.footer-links a { color: var(--on-dark-soft); text-decoration: none; font-size: 14.5px; transition: color 0.18s ease; }
.footer-links a:hover { color: #fff; }
.footer-links a em { font-style: normal; font-size: 12px; color: var(--orange); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(233, 239, 248, 0.08);
  padding: 20px 0 26px;
}
.footer-bottom p { margin: 0; font-size: 13.5px; }
.footer-obtech { display: inline-block; }
.footer-obtech img { width: 110px; opacity: 0.85; transition: opacity 0.18s ease; }
.footer-obtech:hover img { opacity: 1; }

/* Botón flotante de WhatsApp */
.wsp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wsp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }
.wsp-float svg { width: 32px; height: 32px; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(4, 9, 17, 0.92);
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 4vh 4vw;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 92vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute; top: 18px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 18px; font-weight: 700; color: #fff;
  background: rgba(233, 239, 248, 0.12);
  border: 1px solid rgba(233, 239, 248, 0.25);
  cursor: pointer; transition: background 0.18s ease;
}
.lightbox-close:hover { background: rgba(217, 76, 35, 0.8); }

/* ==========================================================================
   ANIMACIONES DE APARICIÓN
   ========================================================================== */
/* Solo se ocultan cuando JS está activo (la clase "js" se agrega en el <head>),
   así el contenido siempre es visible sin JavaScript. */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float-poster, .float-chip, .spec-card { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .hero-grid, .product-layout, .product-layout.reverse,
  .auto-layout, .support-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual { margin-top: 8px; }
  .hero-main { width: 100%; }
  .float-poster { right: 4px; bottom: -26px; }
  .chip-a { left: 4px; top: 18px; }
  .solution-cards, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .product-layout.reverse .product-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-950);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(233, 239, 248, 0.1);
    padding: 14px 20px 22px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 6px; font-size: 16.5px; border-bottom: 1px solid rgba(233, 239, 248, 0.07); }
  .nav-menu a.nav-cta { text-align: center; margin-top: 12px; border-bottom: 0; }
  .brand img { width: 38px; }
  .brand-text { font-size: 16.5px; }
  .brand-dash { width: 24px; height: 2px; }
  .wsp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wsp-float svg { width: 28px; height: 28px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .compare-table thead small { display: none; }
}

@media (max-width: 560px) {
  .solution-cards, .benefit-grid, .industry-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .float-chip { display: none; }
  .float-poster { width: 118px; bottom: -18px; }
  .media-secondary { width: 74%; }
  .product-media.posters { gap: 12px; }
  .poster-card.offset { margin-top: 26px; }
  .gallery-card.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
