/* =========================================================
   ARRINET — ESTILO FUTURISTA
   Paleta inspirada en el material gráfico suministrado.
   ========================================================= */

:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --ink: #06132f;
  --muted: #66728c;
  --line: rgba(9, 55, 150, 0.12);
  --brand: #0a38ff;
  --brand-2: #0876ff;
  --electric: #42b8ff;
  --deep: #05194a;
  --deep-2: #061234;
  --success: #20c967;
  --shadow: 0 26px 70px rgba(7, 35, 103, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(10, 56, 255, 0.08), transparent 28%),
    var(--bg);
  overflow-x: hidden;
}

body::selection { background: var(--brand); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  pointer-events: none;
  z-index: -2;
}
.ambient--one { background: var(--brand); top: -130px; right: -110px; }
.ambient--two { background: var(--electric); bottom: 8%; left: -180px; }
.grid-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .25;
  background-image:
    linear-gradient(rgba(10, 56, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 56, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 58%);
  pointer-events: none;
}

/* ---------- Navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: .25s ease;
}
.site-header.is-scrolled {
  background: rgba(244, 247, 255, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; }
.brand__logo { width: 132px; height: 54px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14px;
  font-weight: 700;
  color: #38435e;
  transition: color .2s ease;
}
.nav a:hover { color: var(--brand); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-button span { width: 19px; height: 2px; background: var(--ink); border-radius: 99px; }

/* ---------- Botones ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button--compact { min-height: 44px; padding-inline: 18px; font-size: 13px; }
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px rgba(10, 56, 255, .28);
}
.button--ghost { color: var(--brand); background: rgba(255,255,255,.7); border-color: rgba(10,56,255,.16); }
.button--light { color: var(--deep); background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.button--whatsapp { color: #fff; background: var(--success); box-shadow: 0 16px 32px rgba(32,201,103,.25); }

.button--instagram {
  position: relative;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, #0d1438 0%, #1c2e85 36%, #7d32ff 70%, #ff4fa0 100%);
  box-shadow: 0 18px 38px rgba(70, 36, 138, .22);
  overflow: hidden;
}
.button--instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%, rgba(255,255,255,.08) 58%, transparent 78%);
  transform: translateX(-130%);
  animation: instagramShine 4.2s ease-in-out infinite;
}
.button--instagram > * { position: relative; z-index: 1; }
.button__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.button__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.button__stack {
  display: grid;
  line-height: 1.02;
  text-align: left;
}
.button__stack small {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}
.button__stack strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  letter-spacing: -.02em;
}
@keyframes instagramShine {
  0%, 55%, 100% { transform: translateX(-130%); opacity: 0; }
  15% { opacity: 1; }
  34% { transform: translateX(130%); opacity: .92; }
  42% { opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
  padding: 76px 0 92px;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(10,56,255,.16);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  color: #39527e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 6px rgba(8,118,255,.12); }
.hero h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(58px, 7vw, 98px);
  line-height: .94;
  letter-spacing: -.06em;
}
.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--brand) 15%, var(--brand-2) 55%, var(--electric));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; gap: 30px; margin-top: 50px; }
.hero__proof div { display: grid; gap: 2px; }
.hero__proof strong { font-family: "Space Grotesk"; font-size: 22px; }
.hero__proof span { color: var(--muted); font-size: 12px; }

/* Núcleo visual */
.signal-core {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.signal-core::before {
  content: "";
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,56,255,.13), rgba(10,56,255,.03) 45%, transparent 66%);
  z-index: -2;
}
.signal-core__center {
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, #4abfff 0, #0b71ff 20%, #093fff 54%, #03154c 100%);
  box-shadow:
    inset 0 0 28px rgba(255,255,255,.22),
    0 38px 90px rgba(7, 51, 180, .34),
    0 0 70px rgba(15, 91, 255, .24);
  position: relative;
  z-index: 2;
}
.signal-core__center::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: inherit;
}
.signal-core__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.signal-core__number { display: flex; align-items: end; gap: 7px; margin: 5px 0 8px; }
.signal-core__number strong { font-family: "Space Grotesk"; font-size: 72px; line-height: 1; letter-spacing: -.06em; }
.signal-core__number span { font-weight: 800; margin-bottom: 10px; }
.signal-core__status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; opacity: .9; }
.signal-core__status i { width: 8px; height: 8px; border-radius: 50%; background: #6dffb1; box-shadow: 0 0 14px #6dffb1; }
.signal-core__halo, .signal-core__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10,56,255,.12);
}
.signal-core__halo--a { width: 350px; height: 350px; }
.signal-core__halo--b { width: 440px; height: 440px; border-style: dashed; animation: spin 28s linear infinite; }
.signal-core__halo--c { width: 530px; height: 530px; border-color: rgba(8,118,255,.09); }
.signal-core__orbit { width: 445px; height: 445px; animation: spin 11s linear infinite; }
.signal-core__orbit--two { width: 525px; height: 525px; animation-direction: reverse; animation-duration: 18s; }
.orbit-node {
  position: absolute;
  top: 50%; right: -6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 22px rgba(8,118,255,.8);
}
.signal-core__orbit--two .orbit-node { background: var(--electric); }
.hud-card {
  position: absolute;
  min-width: 136px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  display: grid;
}
.hud-card span { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.hud-card strong { font-family: "Space Grotesk"; font-size: 25px; }
.hud-card--top { top: 17%; right: 3%; }
.hud-card--bottom { bottom: 17%; left: 3%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Franja ---------- */
.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-strip__grid { min-height: 126px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__grid > div { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-right: 1px solid var(--line); }
.trust-strip__grid > div:first-child { border-left: 1px solid var(--line); }
.trust-strip p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.trust-strip strong { color: var(--ink); font-size: 13px; }
.trust-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; background: #eef4ff; color: var(--brand); font-size: 19px; font-weight: 800; }

/* ---------- Secciones ---------- */
.section { padding: 116px 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.kicker { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.kicker--light { color: #79c5ff; }
.section-heading h2, .tech-copy h2, .coverage-card h2, .final-cta h2 {
  font-family: "Space Grotesk";
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 12px 0 0;
}
.section-heading p { color: var(--muted); line-height: 1.7; margin: 0; }

/* ---------- Planes ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(10,56,255,.13), transparent 65%);
}
.plan-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(10,56,255,.25); }
.plan-card--featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #06194d, #0b36d4 66%, #0876ff);
  box-shadow: 0 28px 60px rgba(7, 45, 161, .2);
}
.plan-card--featured p, .plan-card--featured .plan-card__footer span { color: rgba(255,255,255,.68); }
.plan-card--featured .plan-card__top { color: #8bd2ff; }
.plan-card--featured .plan-meter { background: rgba(255,255,255,.14); }
.plan-card--featured .plan-meter span { background: #fff; }
.plan-card--featured .plan-button { color: var(--deep); background: #fff; }
.plan-card--wide { grid-column: span 3; min-height: 280px; display: grid; grid-template-columns: .6fr 1fr .7fr; grid-template-rows: auto 1fr auto; column-gap: 40px; align-items: center; }
.plan-card--wide .plan-card__top { grid-column: 1 / -1; }
.plan-card--wide p { max-width: 430px; }
.plan-card--wide .plan-meter { grid-column: 2; }
.plan-card--wide .plan-card__footer { grid-column: 3; grid-row: 2; margin: 0; align-self: center; }
.plan-card--wide .plan-button { grid-column: 3; }
.plan-badge { position: absolute; top: 0; right: 0; padding: 8px 14px; background: #fff; color: var(--brand); border-radius: 0 0 0 14px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.plan-card__top { display: flex; justify-content: space-between; color: #8b96ad; font-size: 10px; letter-spacing: .14em; font-weight: 900; }
.plan-speed { display: flex; align-items: end; gap: 6px; margin: 26px 0 10px; }
.plan-speed strong { font-family: "Space Grotesk"; font-size: 58px; line-height: .85; letter-spacing: -.06em; }
.plan-speed span { font-weight: 800; font-size: 14px; }
.plan-card p { color: var(--muted); line-height: 1.55; font-size: 13px; }
.plan-meter { height: 5px; background: #edf1f8; border-radius: 99px; overflow: hidden; margin: auto 0 19px; }
.plan-meter span { display: block; width: var(--fill); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--electric)); }
.plan-card__footer { display: flex; align-items: baseline; gap: 7px; margin-bottom: 16px; }
.plan-card__footer strong { font-family: "Space Grotesk"; font-size: 25px; }
.plan-card__footer span { color: var(--muted); font-size: 11px; }
.plan-button { min-height: 46px; border: 0; border-radius: 14px; background: #eef4ff; color: var(--brand); font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }

/* ---------- Tecnología ---------- */
.section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 92, 255, .32), transparent 30%),
    linear-gradient(145deg, var(--deep-2), #06194f 72%, #082d88);
}
.tech-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tech-copy p { color: #9fb0d2; line-height: 1.75; }
.tech-list { margin-top: 34px; display: grid; gap: 14px; }
.tech-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.tech-list span { color: #6fc1ff; font-family: "Space Grotesk"; font-weight: 700; }
.tech-list p { margin: 0; font-size: 13px; }
.tech-list strong { color: #fff; font-size: 14px; }
.network-panel { border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(5, 15, 49, .55); backdrop-filter: blur(16px); padding: 20px; box-shadow: 0 40px 90px rgba(0,0,0,.18); }
.network-panel__header { display: flex; justify-content: space-between; color: #8e9bc0; font-size: 10px; letter-spacing: .16em; }
.network-panel__header i { width: 8px; height: 8px; background: #52f8a7; border-radius: 50%; box-shadow: 0 0 12px #52f8a7; }
.network-map { height: 390px; position: relative; margin: 8px 0; }
.node { position: absolute; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(95,189,255,.28); background: #071d5a; color: #77c9ff; font-family: "Space Grotesk"; font-weight: 700; font-size: 11px; z-index: 2; box-shadow: 0 0 30px rgba(18,105,255,.14); }
.node--center { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; background: radial-gradient(circle at 30% 20%, #4ebfff, #0a48ff 55%, #081d61); color: white; font-size: 32px; box-shadow: 0 0 70px rgba(20,95,255,.46); }
.node--1 { left: 7%; top: 13%; }
.node--2 { right: 7%; top: 14%; }
.node--3 { left: 10%; bottom: 9%; }
.node--4 { right: 9%; bottom: 11%; }
.network-line { position: absolute; left: 50%; top: 50%; width: 68%; height: 1px; background: linear-gradient(90deg, transparent, rgba(78,191,255,.7), transparent); transform-origin: center; }
.network-line--1 { transform: translate(-50%,-50%) rotate(35deg); }
.network-line--2 { transform: translate(-50%,-50%) rotate(-35deg); }
.network-line--3 { transform: translate(-50%,-50%) rotate(90deg); opacity: .28; }
.network-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.network-panel__stats div { padding: 14px; border-radius: 15px; background: rgba(255,255,255,.05); }
.network-panel__stats span { display: block; color: #7180a6; font-size: 9px; letter-spacing: .1em; }
.network-panel__stats strong { font-size: 13px; }

/* ---------- Cobertura ---------- */
.coverage-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.coverage-card::after { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; right: -160px; bottom: -180px; background: radial-gradient(circle, rgba(10,56,255,.16), transparent 66%); }
.coverage-card__copy p { color: var(--muted); line-height: 1.7; }
.coverage-form { position: relative; z-index: 2; }
.coverage-form label { display: block; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.coverage-form__row { display: flex; gap: 10px; padding: 8px; border-radius: 19px; background: #f3f6fc; border: 1px solid #e6ebf5; }
.coverage-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; color: var(--ink); }
.coverage-form small { display: block; color: #8a94a8; font-size: 10px; margin-top: 10px; }

/* ---------- CTA final ---------- */
.final-cta {
  margin-bottom: 78px;
  padding: 56px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255,255,255,.06), transparent 35%),
    linear-gradient(135deg, #06194e, #0a38ff 66%, #0876ff);
  box-shadow: 0 34px 90px rgba(10,56,255,.25);
}
.final-cta__content { max-width: 700px; }
.final-cta p { color: #c0ccee; }
.final-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */
.footer { background: #040d25; color: #fff; padding: 58px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 70px; }
.footer__brand img { width: 140px; filter: brightness(0) invert(1); }
.footer__brand p { color: #8290b4; font-size: 13px; }
.footer__title { display: block; color: #7d8aab; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid a { display: block; color: #dfe5f7; font-size: 13px; margin: 10px 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #6f7d9e; font-size: 11px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .nav, .nav-wrap > .button { display: none; }
  .menu-button { display: flex; }
  .nav.is-open {
    display: grid;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .signal-core { min-height: 570px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card--wide { grid-column: span 2; }
  .tech-layout { grid-template-columns: 1fr; }
  .coverage-card { grid-template-columns: 1fr; gap: 26px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { padding: 12px 0; }
  .brand__logo { width: 112px; height: 46px; }
  .hero { min-height: auto; padding: 48px 0 70px; gap: 26px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero__lead { font-size: 15px; }
  .hero__proof { gap: 18px; flex-wrap: wrap; }
  .signal-core { min-height: 440px; transform: scale(.82); margin: -30px -30px; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid > div { border-left: 0 !important; }
  .section { padding: 80px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--wide { grid-column: auto; display: flex; min-height: 370px; }
  .plan-card--wide .plan-meter, .plan-card--wide .plan-card__footer, .plan-card--wide .plan-button { grid-column: auto; grid-row: auto; }
  .coverage-card { padding: 28px; }
  .coverage-form__row { flex-direction: column; background: transparent; padding: 0; border: 0; }
  .coverage-form input { min-height: 54px; background: #f3f6fc; border: 1px solid #e6ebf5; border-radius: 15px; }
  .final-cta { padding: 34px 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

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


/* =========================================================
   IDENTIDAD CORPORATIVA — ADN ARRINET
   ========================================================= */
.corporate-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(10,56,255,.10), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(66,184,255,.12), transparent 28%),
    linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
  border-block: 1px solid rgba(10,56,255,.08);
}
.corporate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(10,56,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,56,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.corporate-section > .shell { position: relative; z-index: 1; }

.corporate-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}
.corporate-heading h2 {
  max-width: 780px;
  margin: 12px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}
.corporate-heading h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--brand), var(--brand-2), var(--electric));
  -webkit-background-clip: text;
  background-clip: text;
}
.corporate-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.corporate-bento {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 16px;
}
.identity-card,
.essence-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}
.identity-card {
  min-height: 440px;
  padding: 34px;
  border: 1px solid rgba(10,56,255,.12);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 65px rgba(8,38,105,.08);
}
.identity-card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -105px;
  bottom: -115px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,56,255,.17), rgba(10,56,255,.02) 60%, transparent 72%);
}
.identity-card--vision {
  color: #f7faff;
  border-color: rgba(104,178,255,.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), transparent 34%),
    linear-gradient(135deg, #06143c, #06256e 58%, #0a38ff 140%);
  box-shadow: 0 30px 75px rgba(3,21,74,.22);
}
.identity-card--vision::before {
  background: radial-gradient(circle, rgba(69,190,255,.32), rgba(31,96,255,.03) 60%, transparent 72%);
}
.identity-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
}
.identity-card__index {
  color: var(--brand);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.identity-card--vision .identity-card__index { color: #76caff; }
.identity-card__tag {
  padding: 8px 11px;
  color: #39527e;
  border: 1px solid rgba(10,56,255,.12);
  border-radius: 999px;
  background: #f3f7ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.identity-card--vision .identity-card__tag {
  color: #b9dcff;
  border-color: rgba(113,192,255,.18);
  background: rgba(255,255,255,.06);
}
.identity-card h3 {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.identity-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.identity-card--vision p { color: #b9c8e8; }

.identity-card__signal {
  position: absolute;
  top: 30px;
  right: 120px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}
.identity-card__signal i {
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(to top, var(--brand), var(--electric));
  box-shadow: 0 0 12px rgba(10,99,255,.25);
}
.identity-card__signal i:nth-child(1) { height: 8px; }
.identity-card__signal i:nth-child(2) { height: 14px; }
.identity-card__signal i:nth-child(3) { height: 20px; }
.identity-card__signal i:nth-child(4) { height: 28px; }

.identity-card__orbit {
  position: absolute;
  width: 210px;
  height: 210px;
  top: -70px;
  right: -55px;
  border: 1px solid rgba(107,197,255,.16);
  border-radius: 50%;
}
.identity-card__orbit::before,
.identity-card__orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(107,197,255,.10);
  border-radius: 50%;
}
.identity-card__orbit::before { inset: 28px; }
.identity-card__orbit::after { inset: 60px; }
.identity-card__orbit span {
  position: absolute;
  left: 22px;
  top: 93px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #62c7ff;
  box-shadow: 0 0 24px rgba(98,199,255,.9);
}

.essence-card {
  grid-column: 1 / -1;
  min-height: 265px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px 40px;
  color: #fff;
  border: 1px solid rgba(100,183,255,.20);
  background:
    radial-gradient(circle at 85% 50%, rgba(49,174,255,.24), transparent 28%),
    linear-gradient(115deg, #04102e 0%, #061e5c 52%, #0a38ff 150%);
  box-shadow: 0 30px 80px rgba(3,20,65,.18);
}
.essence-card::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -170px;
  top: -180px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255,255,255,.025),
    0 0 0 84px rgba(255,255,255,.018);
}
.essence-card__mark {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(145deg, #46c2ff, #0a38ff);
  box-shadow: inset 0 0 22px rgba(255,255,255,.18), 0 20px 45px rgba(10,56,255,.30);
}
.essence-card__copy { position: relative; z-index: 2; max-width: 850px; }
.essence-card blockquote {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.essence-card__code {
  position: relative;
  z-index: 2;
  align-self: start;
  color: #6c88c4;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.values-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 72px 0 26px;
}
.values-header h3 {
  max-width: 740px;
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.values-header__counter {
  padding-bottom: 7px;
  color: #8190ae;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.value-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(10,56,255,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10,56,255,.22);
  box-shadow: 0 22px 55px rgba(8,38,105,.10);
}
.value-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -65px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,56,255,.12), transparent 68%);
}
.value-card__number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #a7b3c9;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.value-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  color: var(--brand);
  border: 1px solid rgba(10,56,255,.12);
  border-radius: 15px;
  background: #eef4ff;
  font-size: 20px;
  font-weight: 800;
}
.value-card h4 {
  margin: 0 0 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  letter-spacing: -.025em;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.72;
}
.value-card--evolution {
  grid-column: span 2;
  color: #fff;
  border-color: rgba(102,185,255,.18);
  background:
    linear-gradient(130deg, rgba(255,255,255,.05), transparent 40%),
    linear-gradient(135deg, #06194b, #0a38ff);
}
.value-card--evolution .value-card__number { color: #83b9ff; }
.value-card--evolution .value-card__icon {
  color: #fff;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.09);
}
.value-card--evolution p { max-width: 540px; color: #c5d5f5; }
.value-card--evolution::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(84,200,255,.30), transparent 66%);
}
.value-card__future {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.46);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

/* =========================================================
   ASISTENCIA FLOTANTE — WHATSAPP + CHATBOT ARI
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.floating-assistance {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}
.floating-whatsapp,
.chatbot-launcher {
  pointer-events: auto;
  min-height: 58px;
  border-radius: 19px;
  box-shadow: 0 18px 46px rgba(4,20,64,.22);
  transition: transform .22s ease, box-shadow .22s ease;
}
.floating-whatsapp:hover,
.chatbot-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(4,20,64,.28);
}
.floating-whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  padding: 9px 14px 9px 9px;
  color: #fff;
  background: linear-gradient(135deg, #18c76f, #08a958);
  border: 1px solid rgba(255,255,255,.25);
  overflow: hidden;
}
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,.16), transparent 40%);
}
.floating-whatsapp__icon,
.chatbot-launcher__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}
.floating-whatsapp__icon { background: rgba(255,255,255,.15); }
.floating-whatsapp__icon svg { width: 25px; height: 25px; fill: currentColor; }
.floating-whatsapp__copy,
.chatbot-launcher__copy {
  display: grid;
  text-align: left;
  line-height: 1.05;
}
.floating-whatsapp__copy small,
.chatbot-launcher__copy small {
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .76;
}
.floating-whatsapp__copy strong,
.chatbot-launcher__copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}
.floating-whatsapp__status {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9ffe9;
  box-shadow: 0 0 0 4px rgba(217,255,233,.14), 0 0 14px #d9ffe9;
}

.chatbot-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 196px;
  padding: 9px 15px 9px 9px;
  color: #fff;
  border: 1px solid rgba(100,183,255,.30);
  background:
    linear-gradient(125deg, rgba(255,255,255,.08), transparent 38%),
    linear-gradient(135deg, #06194e, #0a38ff 68%, #0876ff);
  cursor: pointer;
  overflow: hidden;
}
.chatbot-launcher__icon {
  color: #fff;
  background: linear-gradient(145deg, #30adff, #0a38ff);
  box-shadow: inset 0 0 16px rgba(255,255,255,.16), 0 0 22px rgba(38,147,255,.28);
}
.chatbot-launcher__icon svg { width: 23px; height: 23px; fill: currentColor; }
.chatbot-launcher__pulse {
  position: absolute;
  left: 40px;
  top: 7px;
  width: 9px;
  height: 9px;
  z-index: 2;
  border: 2px solid #06194e;
  border-radius: 50%;
  background: #53f1a4;
  animation: chatbotPulse 2.2s infinite;
}
@keyframes chatbotPulse {
  0% { box-shadow: 0 0 0 0 rgba(83,241,164,.48); }
  65% { box-shadow: 0 0 0 9px rgba(83,241,164,0); }
  100% { box-shadow: 0 0 0 0 rgba(83,241,164,0); }
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 164px;
  z-index: 100;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 190px));
  min-height: 500px;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto auto auto;
  color: #eaf2ff;
  border: 1px solid rgba(120,194,255,.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), transparent 32%),
    rgba(4,13,42,.96);
  backdrop-filter: blur(24px);
  box-shadow: 0 34px 90px rgba(2,10,33,.48);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.975);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.chatbot.is-open { opacity: 1; visibility: visible; transform: none; }
.chatbot__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: #0a55ff;
  filter: blur(70px);
  opacity: .26;
  pointer-events: none;
}
.chatbot__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chatbot__identity { display: flex; align-items: center; gap: 12px; }
.chatbot__avatar {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(145deg, #4ac4ff, #0a38ff 70%);
}
.chatbot__avatar::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
}
.chatbot__avatar i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border: 2px solid #06102f;
  border-radius: 50%;
  background: #52f8a7;
}
.chatbot__identity > div:last-child { display: grid; }
.chatbot__eyebrow { color: #6e87bd; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.chatbot__identity strong { margin: 2px 0 1px; font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.chatbot__identity small { color: #8494bb; font-size: 9px; }
.chatbot__identity small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #52f8a7;
}
.chatbot__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  color: #9cadd2;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  font-size: 25px;
  cursor: pointer;
}
.chatbot__body {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 16px 10px;
}
.chatbot-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}
.chatbot-message--user { justify-content: flex-end; }
.chatbot-message__avatar {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #39b9ff, #0a38ff);
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
}
.chatbot-message__bubble {
  max-width: 82%;
  padding: 11px 12px 8px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px 16px 16px 5px;
  background: rgba(255,255,255,.07);
}
.chatbot-message--user .chatbot-message__bubble {
  border: 0;
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, #0a38ff, #086fff);
}
.chatbot-message__bubble p { margin: 0; font-size: 12px; line-height: 1.55; }
.chatbot-message__bubble strong { color: #fff; }
.chatbot-message__bubble time {
  display: block;
  margin-top: 5px;
  color: #7183ac;
  font-size: 8px;
}
.chatbot-message__bubble a { color: #79c9ff; font-weight: 800; text-decoration: underline; }
.chatbot-typing .chatbot-message__bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 38px;
}
.chatbot-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #75a7ff;
  animation: typingDot 1.1s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: .14s; }
.chatbot-typing span:nth-child(3) { animation-delay: .28s; }
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot__quick-actions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 14px 12px;
  scrollbar-width: none;
}
.chatbot__quick-actions::-webkit-scrollbar { display: none; }
.chatbot__quick-actions button {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #a9c8ff;
  border: 1px solid rgba(75,145,255,.20);
  border-radius: 999px;
  background: rgba(20,78,255,.08);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.chatbot__composer {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 0 14px 12px;
}
.chatbot__composer input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  color: #f4f7ff;
  outline: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
}
.chatbot__composer input::placeholder { color: #68799f; }
.chatbot__composer button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0a38ff, #0783ff);
  cursor: pointer;
}
.chatbot__composer button svg { width: 20px; height: 20px; fill: currentColor; }
.chatbot__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #5f7096;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 8px;
}
.chatbot__footer a { color: #7dbfff; font-weight: 800; }

@media (max-width: 1050px) {
  .corporate-heading { grid-template-columns: 1fr; gap: 20px; }
  .corporate-bento { grid-template-columns: 1fr; }
  .essence-card { grid-column: auto; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .value-card--evolution { grid-column: span 2; }
}
@media (max-width: 760px) {
  .corporate-heading h2 { font-size: clamp(40px,13vw,58px); }
  .identity-card { min-height: auto; padding: 28px; }
  .identity-card__meta { margin-bottom: 54px; }
  .identity-card__signal { right: 102px; }
  .essence-card {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 22px;
    padding: 30px 28px;
  }
  .essence-card__mark { width: 72px; height: 72px; border-radius: 22px; }
  .essence-card__code { display: none; }
  .values-header { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 56px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 260px; }
  .value-card--evolution { grid-column: auto; }

  .floating-assistance { right: 14px; bottom: 14px; gap: 9px; }
  .floating-whatsapp,
  .chatbot-launcher {
    min-width: 0;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 7px;
    border-radius: 17px;
    justify-content: center;
  }
  .floating-whatsapp__copy,
  .chatbot-launcher__copy { display: none; }
  .floating-whatsapp__status { right: 3px; top: 3px; }
  .chatbot-launcher__pulse { left: auto; right: 2px; top: 2px; }

  .chatbot {
    right: 14px;
    bottom: 136px;
    width: calc(100vw - 28px);
    height: min(600px, calc(100vh - 158px));
    min-height: 430px;
    border-radius: 24px;
  }
}
