/* =====================================================================
   LinkStart Soluciones, C.A. — Landing
   Sistema de identidad visual v1.0 (2026)
   Proporción de color: 60% blanco/niebla · 20% índigo · 12% navy · 8% ámbar
   ===================================================================== */

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

:root {
  /* Paleta de marca */
  --indigo: #352c85;
  --indigo-700: #2a2269;
  --indigo-300: #8f86e0; /* aclarado de marca para fondos Noche */
  --navy: #04205f;
  --amber: #ffb020;
  --graphite: #373938;
  --steel: #8a93a6;
  --mist: #f0f3f8;
  --night: #0a1230;
  --white: #ffffff;

  /* Roles */
  --ink: var(--navy);
  --body: var(--graphite);
  --muted: #5c6675;
  --line: #e1e7f0;
  --surface: var(--white);
  --surface-2: var(--mist);

  /* Forma */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(4, 32, 95, 0.05), 0 2px 8px -4px rgba(4, 32, 95, 0.08);
  --shadow: 0 1px 2px rgba(4, 32, 95, 0.05), 0 12px 28px -16px rgba(4, 32, 95, 0.22);
  --shadow-lg: 0 2px 4px rgba(4, 32, 95, 0.06), 0 28px 56px -24px rgba(4, 32, 95, 0.32);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 220ms var(--ease);

  --header-h: 72px;
  --maxw: 1180px;

  /* Traza: recurso gráfico propio (caminos ortogonales con nodos) */
  --traza: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M0 36h44q14 0 14 14v46q0 14 14 14h94"/><path d="M180 130h-42q-14 0-14-14V54q0-14-14-14H62"/><path d="M20 180v-32q0-14 14-14h30"/><path d="M160 0v26q0 14-14 14h-24"/></g><g fill="%23ffffff"><circle cx="58" cy="24" r="3.5"/><circle cx="122" cy="40" r="3.5"/><circle cx="64" cy="134" r="3.5"/><circle cx="166" cy="110" r="3.5"/></g></svg>');
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

a {
  color: var(--indigo);
  text-decoration: none;
}

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

.mono {
  font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.icon-xs {
  width: 14px;
  height: 14px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ============================ Tipografía ============================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}

.eyebrow-light {
  color: #c9cfe6;
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.22);
  animation: led 2.6s ease-in-out infinite;
}

.led-sm {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 2px rgba(255, 176, 32, 0.22);
}

@keyframes led {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--muted);
}

/* ============================ Botones ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(53, 44, 133, 0.9);
}

.btn-primary:hover {
  background: var(--indigo-700);
  transform: translateY(-2px);
}

/* Ámbar = acento de CTA. Texto navy sobre ámbar: contraste 7.6:1 */
.btn-accent {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 10px 24px -14px rgba(255, 176, 32, 0.85);
}

.btn-accent:hover {
  background: #ffbe45;
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 34px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

/* ============================ Header ============================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(4, 32, 95, 0.5);
}

.nav-container {
  max-width: var(--maxw);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.nav {
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--t), background var(--t);
}

.nav-menu > li > a:hover {
  color: var(--indigo);
  background: var(--mist);
}

.nav-catalog {
  margin-left: 8px;
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: rgba(255, 176, 32, 0.09) !important;
  box-shadow: var(--shadow-sm);
}

.nav-catalog:hover {
  border-color: var(--amber);
  background: rgba(255, 176, 32, 0.18) !important;
}

.nav-catalog .icon-xs {
  color: var(--steel);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
}

.lang-btn .icon {
  width: 17px;
  height: 17px;
  color: var(--indigo);
}

.lang-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.hamburger .icon-x {
  display: none;
}

.hamburger[aria-expanded="true"] .icon-menu {
  display: none;
}

.hamburger[aria-expanded="true"] .icon-x {
  display: block;
}

/* ============================ Hero ============================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  background: radial-gradient(120% 120% at 12% 0%, #14265f 0%, var(--navy) 42%, var(--night) 100%);
  color: #e8ecf7;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--traza);
  background-size: 340px 340px;
  opacity: 0.09;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle, rgba(143, 134, 224, 0.4) 0%, rgba(143, 134, 224, 0) 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 1.1875rem;
  color: #c3cbe2;
  max-width: 34em;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  color: #aeb8d2;
}

.hero-notes .icon {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

/* Visual del hero */
.hero-visual {
  position: relative;
  padding-bottom: 42px;
}

.hv-panel {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.hv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hv-dots {
  display: flex;
  gap: 5px;
}

.hv-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hv-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8ecf7;
}

.hv-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9c2da;
}

.hv-body {
  padding: 18px;
}

.hv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.9375rem;
  color: #d3daec;
}

.hv-chip {
  flex: none;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #cfd6ea;
  background: rgba(255, 255, 255, 0.09);
}

.hv-chip.ok {
  color: #7ee2b8;
  background: rgba(52, 211, 153, 0.14);
}

.hv-chip.run {
  color: var(--amber);
  background: rgba(255, 176, 32, 0.16);
}

.hv-chip.mono {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.6875rem;
}

.hv-bars,
.w-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 82px;
  margin-top: 20px;
}

.hv-bars i,
.w-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--indigo-300), rgba(143, 134, 224, 0.35));
  animation: grow 900ms var(--ease) both;
}

.hv-bars i.hi,
.w-bars i.hi {
  background: linear-gradient(180deg, var(--amber), rgba(255, 176, 32, 0.4));
}

@keyframes grow {
  from {
    height: 6px;
    opacity: 0;
  }
}

.hv-chat {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: min(300px, 88%);
  padding: 14px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

.hv-msg {
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 9px 13px;
  border-radius: 14px;
  max-width: 92%;
}

.hv-msg.in {
  background: var(--mist);
  color: var(--graphite);
  border-bottom-left-radius: 4px;
  margin-bottom: 8px;
}

.hv-msg.out {
  background: var(--indigo);
  color: #fff;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

/* ============================ Tarjetas ============================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd6e8;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  color: var(--indigo);
  background: rgba(53, 44, 133, 0.08);
  transition: background var(--t), color var(--t);
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

.card-icon.sm {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.card-icon.sm .icon {
  width: 22px;
  height: 22px;
}

.card:hover .card-icon,
.feature:hover .card-icon {
  background: var(--indigo);
  color: #fff;
}

.card h3,
.card h4 {
  font-size: 1.1875rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.9875rem;
}

.check-list,
.dot-list {
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.check-list li,
.dot-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--body);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  background: var(--indigo);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="m4.5 12.5 5 5 10-11"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="m4.5 12.5 5 5 10-11"/></svg>') center / contain no-repeat;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.55;
}

/* ============================ Servicios ============================ */
section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.services {
  padding: 104px 0;
  background: var(--surface-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.equipos-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.equipos-strip h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.equipos-strip p:last-of-type {
  color: var(--muted);
  font-size: 0.9875rem;
  max-width: 60ch;
}

.equipos-strip .eyebrow {
  margin-bottom: 10px;
}

.equipos-strip .btn {
  flex: none;
}

.services-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin: 34px auto 0;
  text-align: left;
  color: var(--muted);
  font-size: 1rem;
}

.services-note .icon {
  color: var(--indigo);
  margin-top: 3px;
}

/* ============================ Business Intelligence ============================ */
.business-intelligence {
  padding: 104px 0;
  background: var(--white);
}

.bi-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.bi-intro-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-bottom: 16px;
}

.bi-intro-content p {
  color: var(--muted);
}

.bi-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.badge .icon {
  width: 18px;
  height: 18px;
  color: var(--indigo);
}

/* Maqueta de dashboard */
.bi-intro-image figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--steel);
}

.dashboard-preview {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.dashboard-header .hv-dots i {
  background: #c6cfe0;
}

.dashboard-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  background: #fbfcfe;
}

.widget {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  padding: 13px;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.widget-header::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--indigo);
}

.w-bars {
  height: 62px;
  gap: 6px;
  margin-top: 12px;
}

.w-bars i {
  background: linear-gradient(180deg, var(--indigo), rgba(53, 44, 133, 0.32));
}

.w-bars i.hi {
  background: linear-gradient(180deg, var(--amber), rgba(255, 176, 32, 0.35));
}

.w-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.kpi {
  text-align: center;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.kpi-value {
  display: block;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}

.kpi-value.up {
  color: #0f9b6c;
}

.kpi-value.down {
  color: #c2410c;
}

.kpi-label {
  font-size: 0.6875rem;
  color: var(--muted);
}

.w-donut {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.donut {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(var(--indigo) 0 162deg, var(--indigo-300) 162deg 252deg, var(--navy) 252deg 324deg, var(--amber) 324deg 360deg);
  mask: radial-gradient(circle, transparent 52%, #000 53%);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
}

.donut-legend {
  list-style: none;
  font-size: 0.6875rem;
  color: var(--muted);
  display: grid;
  gap: 3px;
}

.donut-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.donut-legend b {
  margin-left: auto;
  font-family: "JetBrains Mono", Consolas, monospace;
  color: var(--navy);
}

.sw {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}

.sw-1 {
  background: var(--indigo);
}

.sw-2 {
  background: var(--indigo-300);
}

.sw-3 {
  background: var(--navy);
}

.sw-4 {
  background: var(--amber);
}

.w-line {
  width: 100%;
  height: 62px;
  margin-top: 12px;
  display: block;
}

.bi-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 88px;
}

.bi-use-cases {
  margin-bottom: 72px;
}

.bi-use-cases h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  text-align: center;
  margin-bottom: 36px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
}

.use-case {
  padding: 26px;
}

.bi-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--indigo) 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
}

.bi-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--traza);
  background-size: 300px 300px;
  opacity: 0.1;
}

.bi-cta > * {
  position: relative;
  z-index: 1;
}

.bi-cta h3 {
  color: #fff;
  font-size: clamp(1.375rem, 2.6vw, 1.85rem);
  margin-bottom: 10px;
}

.bi-cta p {
  color: #ccd4ea;
  max-width: 56ch;
}

.bi-cta .btn {
  flex: none;
}

/* ============================ Nosotros ============================ */
.why-choose {
  padding: 104px 0;
  background: var(--surface-2);
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 20px;
  list-style: none;
  margin-bottom: 56px;
}

.process li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.process li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--indigo);
  opacity: 0.9;
}

.process li:last-child::after {
  background: var(--amber);
}

.step-num {
  display: block;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 8px;
}

.process h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.process p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.feature {
  padding: 26px 24px;
  border-radius: var(--r);
  transition: transform var(--t);
}

.feature:hover {
  transform: translateY(-3px);
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.9875rem;
}

/* ============================ CTA ============================ */
.cta {
  position: relative;
  padding: 96px 0;
  background: radial-gradient(110% 130% at 85% 10%, #17285e 0%, var(--navy) 45%, var(--night) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--traza);
  background-size: 320px 320px;
  opacity: 0.08;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-content > p {
  max-width: 62ch;
  margin: 0 auto 24px;
  color: #c3cbe2;
  font-size: 1.0625rem;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 176, 32, 0.45);
  border-radius: var(--r-pill);
  background: rgba(255, 176, 32, 0.12);
  color: #ffd489;
  font-size: 0.9375rem;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============================ Contacto ============================ */
.contact {
  padding: 104px 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

a.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cbd6e8;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: rgba(53, 44, 133, 0.08);
  color: var(--indigo);
}

.contact-icon.wa {
  background: rgba(37, 211, 102, 0.14);
  color: #12874a;
}

.contact-details {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-details strong {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 600;
}

.contact-details span {
  font-size: 0.9375rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-intro {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 24px;
  border-radius: var(--r-sm);
  background: var(--mist);
  font-size: 0.9375rem;
  color: var(--muted);
}

.form-intro .icon {
  color: var(--indigo);
  margin-top: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dfec;
  border-radius: var(--r-sm);
  background: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--graphite);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(53, 44, 133, 0.14);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c2410c;
}

.form-error {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(194, 65, 12, 0.08);
  color: #9a3412;
  font-size: 0.875rem;
}

.form-alt {
  margin-top: 14px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-alt a {
  font-weight: 600;
}

/* ============================ Footer ============================ */
.footer {
  padding: 72px 0 28px;
  background: var(--night);
  color: #9aa5c2;
  font-size: 0.9375rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 40ch;
}

.footer-tagline {
  margin-top: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--amber);
}

.footer-section h4 {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-section a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9aa5c2;
  transition: color var(--t);
}

.footer-section a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
  color: var(--indigo-300);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
  color: #cbd3e8;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}

.social-links a:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #7d88a6;
}

/* ============================ Botones flotantes ============================ */
.floats {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(4, 32, 95, 0.55);
  transition: transform var(--t), box-shadow var(--t);
}

.float-btn .icon {
  width: 24px;
  height: 24px;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -14px rgba(4, 32, 95, 0.6);
}

.float-btn.wa {
  background: #25d366;
  color: #06371c;
  font-weight: 600;
}

.float-btn.ig {
  width: 54px;
  justify-content: center;
  padding: 0;
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
}

.float-label {
  font-size: 0.9375rem;
}

/* ============================ Reveal al hacer scroll ============================ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================ Foco visible ============================ */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero :focus-visible,
.cta :focus-visible,
.footer :focus-visible,
.bi-cta :focus-visible {
  outline-color: var(--amber);
}

/* ============================ Responsive ============================ */
@media (max-width: 1060px) {
  .nav-menu > li > a {
    padding: 9px 9px;
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .bi-intro,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 80px;
  }

  .hero-visual {
    max-width: 520px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .bi-cta,
  .equipos-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
  }

  .nav-menu > li > a {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .nav-catalog {
    margin: 8px 0 0;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-container,
  .hero-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .services,
  .business-intelligence,
  .why-choose,
  .contact {
    padding: 76px 0;
  }

  .cta {
    padding: 76px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-notes {
    gap: 10px 18px;
  }

  .hero-buttons .btn,
  .cta-buttons .btn {
    flex: 1 1 auto;
  }

  .hv-chat {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .hero-visual {
    padding-bottom: 0;
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form,
  .bi-cta {
    padding: 24px;
  }

  .equipos-strip {
    padding: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .floats {
    right: 16px;
    bottom: 16px;
  }

  .float-label {
    display: none;
  }

  .float-btn.wa {
    width: 54px;
    justify-content: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .floats,
  .hero-visual,
  .nav-actions {
    display: none !important;
  }

  body {
    color: #000;
  }
}
