/* =========================================================
   EYAQ Systems — hoja de estilos única del sitio
   Paleta de CIVICAR sobre blanco. Escala de espacio de 8 px.
   ========================================================= */

:root {
  --navy: #16233F;
  --navy-deep: #0E1730;
  --blue: #1B7FD7;
  --blue-text: #186DBA;
  --blue-soft: #EEF5FD;
  --green: #2FA34F;
  --green-text: #23793B;
  --green-soft: #EEF8F1;
  --orange: #F0982B;
  --orange-text: #9D5C0B;
  --orange-soft: #FEF6EC;

  --white: #FFFFFF;
  --surface: #F7F9FC;
  --surface-2: #F1F4F9;
  --border: #E3E8EF;
  --text: #16233F;
  --muted: #4F5D74;
  --faint: #6B7A91;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(22, 35, 63, .06), 0 1px 3px rgba(22, 35, 63, .05);
  --shadow: 0 10px 30px -12px rgba(22, 35, 63, .18), 0 2px 6px rgba(22, 35, 63, .05);
  --shadow-lg: 0 30px 60px -24px rgba(22, 35, 63, .28);

  --container: 1160px;
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 68px;

  --font-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(27, 127, 215, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -16px rgba(22, 35, 63, .35);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text {
  display: grid;
  line-height: 1;
  font-family: 'Montserrat', var(--font-head);
}
.brand-text b {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .01em;
  color: var(--navy);
}
.brand-text span {
  margin-top: 3px;
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  background: var(--surface-2);
  text-decoration: none;
}
.nav-links .nav-cta {
  margin-left: 8px;
  background: var(--navy);
  color: var(--white);
}
.nav-links .nav-cta:hover { background: var(--blue-text); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ===================== BOTONES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(22, 35, 63, .55);
}
.btn-primary:hover { background: #1d2f55; box-shadow: 0 16px 30px -12px rgba(22, 35, 63, .6); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: #c9d3e0; box-shadow: var(--shadow-sm); }

/* ===================== ETIQUETAS ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-text);
  background: var(--green-soft);
  border: 1px solid rgba(47, 163, 79, .25);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 163, 79, .5);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(47, 163, 79, .45); }
  70%  { box-shadow: 0 0 0 8px rgba(47, 163, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 163, 79, 0); }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(27, 127, 215, .10), transparent 70%),
    radial-gradient(45% 45% at 10% 90%, rgba(47, 163, 79, .08), transparent 70%),
    var(--white);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 35, 63, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 35, 63, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy { display: grid; gap: 22px; justify-items: start; }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 34rem;
}

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

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27, 127, 215, .12), rgba(255, 255, 255, 0));
}
.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.float-chip .ic svg { width: 16px; height: 16px; }
.chip-a { top: 12%; left: -4%; }
.chip-b { top: 46%; right: -6%; animation-delay: -2s; }
.chip-c { bottom: 10%; left: 6%; animation-delay: -4s; }
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}

.stats {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--navy);
}
.stat span { font-size: .88rem; color: var(--muted); }
.stat:nth-child(1) strong { color: var(--blue-text); }
.stat:nth-child(2) strong { color: var(--green-text); }
.stat:nth-child(4) strong { color: var(--orange-text); }

/* ===================== SECCIONES ===================== */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* atajos a cada producto */
.product-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.product-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-nav a:hover { text-decoration: none; border-color: #c9d3e0; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.product-nav i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, var(--blue));
}

/* ===================== PRODUCTO ===================== */
.products { display: grid; gap: clamp(20px, 3vw, 28px); }

.product {
  --c: var(--blue);
  --c-text: var(--blue-text);
  --c-soft: var(--blue-soft);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.product::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--c);
}
.product.reverse .product-visual { order: -1; }

.product.c-green  { --c: var(--green);  --c-text: var(--green-text);  --c-soft: var(--green-soft); }
.product.c-orange { --c: var(--orange); --c-text: var(--orange-text); --c-soft: var(--orange-soft); }
.product.c-navy   { --c: var(--navy);   --c-text: var(--navy);        --c-soft: var(--surface-2); }

.product-copy { display: grid; gap: 14px; justify-items: start; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-text);
  background: var(--c-soft);
}

.product h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.product .sub { color: var(--c-text); font-weight: 600; margin-top: -8px; }
.product .desc { color: var(--muted); }

.features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  width: 100%;
}
.features li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-size: .95rem;
}
.features li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--c-soft);
}
.features li::after {
  content: '';
  position: absolute;
  left: 7px; top: 7px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--c-text);
  border-bottom: 2px solid var(--c-text);
  transform: rotate(-45deg);
}

.product-visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 20px;
  background:
    radial-gradient(80% 70% at 50% 40%, var(--white), transparent 75%),
    var(--c-soft);
  perspective: 900px;
}

/* tarjetas internas de los visuales */
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

/* --- CRM --- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  counter-reset: paso;
}
.flow-step {
  position: relative;
  padding: 16px 10px 14px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  animation: bob 5s ease-in-out infinite;
}
.flow-step:nth-child(2) { animation-delay: -1.2s; border-color: rgba(47, 163, 79, .45); }
.flow-step:nth-child(3) { animation-delay: -2.4s; }
.flow-step:nth-child(4) { animation-delay: -3.6s; }
.flow-step .emo { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.flow-step::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  color: var(--white);
  background: var(--c);
}
.flow-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: .86rem;
  color: var(--muted);
  border-left: 3px solid var(--c);
}
.flow-note strong { color: var(--navy); }

/* --- POS --- */
.ticket {
  width: min(290px, 100%);
  padding: 20px 22px;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .5s ease;
  box-shadow: var(--shadow-lg);
}
.product-visual:hover .ticket { transform: rotateY(0) rotateX(0); }
.ticket-head {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange-text);
  letter-spacing: .06em;
  font-size: .82rem;
  margin-bottom: 12px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px dashed var(--border);
}
.ticket-row em { font-style: normal; color: var(--faint); margin-left: 6px; }
.ticket-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--muted);
}

/* --- EXYBI --- */
.hub {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
}
.hub-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1.5px dashed rgba(47, 163, 79, .45);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hub-center {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 16px 30px -12px rgba(22, 35, 63, .55);
}
.hub-node {
  position: absolute;
  width: 92px;
  padding: 10px 6px;
  text-align: center;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
  transform: translate(-50%, -50%);
  animation: bob 5s ease-in-out infinite;
}
.hub-node .emo { display: block; font-size: 1.3rem; }
.hub-node.n1 { top: 10%; left: 50%; }
.hub-node.n2 { top: 72%; left: 14%; animation-delay: -1.6s; }
.hub-node.n3 { top: 72%; left: 86%; animation-delay: -3.2s; }

/* --- GoValle --- */
.route { width: 100%; display: grid; gap: 18px; }
.route-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.route-steps::before {
  content: '';
  position: absolute;
  top: 26px; left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c) 0 8px, transparent 8px 14px);
  opacity: .55;
}
.route-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}
.route-step .dotx {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.rider {
  position: absolute;
  top: 12px;
  left: 6%;
  font-size: 1.3rem;
  animation: ride 7s ease-in-out infinite;
}
@keyframes ride {
  0%   { left: 6%; }
  50%  { left: 82%; }
  100% { left: 6%; }
}
.towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.towns span {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* --- CIVICAR (teléfono 3D) --- */
.phone {
  width: 230px;
  padding: 14px 14px 18px;
  border-radius: 34px;
  background: var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.product-visual:hover .phone { transform: rotateY(0) rotateX(0); }
.phone-screen {
  border-radius: 24px;
  background: var(--white);
  padding: 22px 14px 16px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.phone-notch {
  width: 64px; height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  margin-top: -10px;
}
.phone-logo { width: 56px; height: 56px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.phone-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.phone-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  color: var(--navy);
  font-size: .95rem;
}
.phone-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  font-size: .78rem;
  color: var(--muted);
}
.phone-row b { color: var(--navy); font-weight: 700; }
.phone-row .ok { color: var(--green-text); }
.phone-row .ok::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}
.phone-btn {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  font-size: .85rem;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}
.store-link:hover { text-decoration: none; background: #1d2f55; }
.store-link svg { width: 20px; height: 20px; }

/* ===================== EMPRESA ===================== */
.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about-copy { display: grid; gap: 16px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; }

.values { display: grid; gap: 14px; }
.value {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
}
.value .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.value .ic svg { width: 22px; height: 22px; }
.value h4 { font-size: 1.05rem; margin-bottom: 2px; }
.value p { color: var(--muted); font-size: .93rem; }

.ic-blue   { background: var(--blue-soft);   color: var(--blue-text); }
.ic-green  { background: var(--green-soft);  color: var(--green-text); }
.ic-orange { background: var(--orange-soft); color: var(--orange-text); }
.ic-navy   { background: var(--surface-2);   color: var(--navy); }

/* ===================== CONTACTO ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.contact-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c9d3e0;
}
.contact-card .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card small {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-card strong { font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; overflow-wrap: anywhere; }

.cta-band {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(27, 127, 215, .35), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(47, 163, 79, .25), transparent 60%),
    var(--navy);
  color: var(--white);
}
.cta-band h3 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cta-band p { color: rgba(255, 255, 255, .78); margin-top: 6px; }
.cta-band .btn-secondary { border-color: transparent; }

/* ===================== PÁGINAS INTERNAS ===================== */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(27, 127, 215, .09), transparent 70%),
    var(--white);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { display: grid; gap: 14px; justify-items: start; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 40rem; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}
.back:hover { color: var(--navy); text-decoration: none; }
.back svg { width: 16px; height: 16px; }

.doc {
  padding: clamp(28px, 5vw, 56px) 0 var(--section-y);
}
.doc .container { max-width: 820px; display: grid; gap: 16px; }
.doc-card { padding: clamp(20px, 3vw, 30px); }
.doc-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.doc-card p { color: var(--muted); }
.doc-card p + p { margin-top: 10px; }
.doc-card ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.doc-meta { font-size: .9rem; color: var(--faint); }
.mail-chip {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.support-grid .contact-card { padding: 24px; }

.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.topic {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}
.topic::before {
  content: '';
  width: 8px; height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
}
.topic:nth-child(3n+2)::before { background: var(--green); }
.topic:nth-child(3n)::before   { background: var(--orange); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer .brand-text b,
.site-footer .brand-text span { color: var(--white); }
.site-footer .brand img { background: var(--white); border-radius: 12px; padding: 4px; width: 44px; height: 44px; }
.site-footer p { margin-top: 12px; max-width: 26rem; }
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* ===================== MOVIMIENTO ===================== */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px -20px rgba(22, 35, 63, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { min-height: 48px; padding: 0 14px; border-radius: 12px; }
  .nav-links .nav-cta { margin: 6px 0 0; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; }
  .product { grid-template-columns: 1fr; }
  .product.reverse .product-visual { order: 0; }
  .product-visual { min-height: 260px; }
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .topics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), 100% - 32px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.45rem; }
  .float-chip { font-size: .78rem; padding: 8px 10px; }
  .float-chip .ic { width: 26px; height: 26px; }
  .chip-b { top: 40%; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .route-steps { gap: 4px; }
  .route-step .dotx { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 13px; }
  .route-steps::before { top: 22px; }
  .contact-grid,
  .support-grid,
  .topics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
  .phone { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
