/* ==========================================================================
   PGA Transformaciones · Hoja de estilos principal
   Colores de marca extraídos del logotipo:
     Azul marino  #041E3C   ·   Cian  #05DBFF   ·   Azul  #0046E2
   ========================================================================== */

/* ---------- Tipografías (autoalojadas: sin peticiones a terceros) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variables ---------- */
:root {
  --navy-950: #020c1b;
  --navy-925: #031630;
  --navy-900: #041e3c;
  --navy-850: #062550;
  --navy-800: #0a2b55;
  --blue-600: #0046e2;
  --blue-550: #0b63ec;
  --blue-400: #4f9dff;
  --cyan-400: #05dbff;
  --cyan-300: #66e9ff;
  --warm-500: #e4572e;
  --warm-100: #fff0ea;
  --ok-400: #2ee59d;

  --ink: #041e3c;
  --text: #33445e;
  --muted: #5d6d86;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;

  --on-dark: #e9f0fa;
  --on-dark-muted: #a9b9d0;
  --line-dark: rgba(255, 255, 255, 0.1);

  --grad-brand: linear-gradient(135deg, #05dbff 0%, #0a8bf0 50%, #0046e2 100%);
  --grad-cta: linear-gradient(135deg, #05dbff 0%, #4f9dff 100%);
  --grad-solid: linear-gradient(135deg, #0b63ec 0%, #0040d0 100%);
  --grad-text-dark: linear-gradient(95deg, #05dbff 0%, #4fb4ff 55%, #8fb6ff 100%);
  --grad-text-light: linear-gradient(95deg, #0088c9 0%, #0046e2 75%);
  --grad-navy: linear-gradient(160deg, #072a55 0%, #041e3c 55%, #031630 100%);

  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(4, 30, 60, 0.05), 0 4px 14px -6px rgba(4, 30, 60, 0.08);
  --shadow-md: 0 18px 40px -22px rgba(4, 30, 60, 0.28);
  --shadow-lg: 0 40px 80px -36px rgba(4, 30, 60, 0.45);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --notch: clamp(22px, 3.4vw, 46px);
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-h: 78px; }
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--blue-550);
  outline-offset: 3px;
}
.hero :focus-visible,
.site-header :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan-400); }

::selection { background: rgba(5, 219, 255, 0.3); color: var(--ink); }

/* ---------- Utilidades ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.no-js .js-only { display: none !important; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.text-grad,
.text-grad-ink {
  background: var(--grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.text-grad-ink { background-image: var(--grad-text-light); }

/* Viñeta con la forma del chevrón del logotipo */
.chev-bullet,
.checklist li::before,
.eyebrow::before,
.usecases li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 12px;
  background: var(--grad-brand);
  clip-path: polygon(0 0, 47.4% 0, 100% 51.2%, 53.1% 100%, 10.3% 100%, 54.1% 51.2%);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: var(--navy-900);
  background: var(--grad-cta);
  box-shadow: 0 12px 30px -12px rgba(5, 219, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(5, 219, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--solid {
  color: #fff;
  background: var(--grad-solid);
  box-shadow: 0 12px 28px -14px rgba(0, 70, 226, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(0, 70, 226, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2); }

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.45); }

.btn--sm { padding: 10px 16px; border-radius: 12px; font-size: 0.875rem; }
.btn--lg { padding: 17px 26px; border-radius: 16px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-600);
  text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(3, 22, 48, 0.93);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; flex: none; color: #fff; border-radius: 8px; }
.brand__logo { height: 38px; width: auto; aspect-ratio: 884 / 327; }
@media (min-width: 1024px) { .brand__logo { height: 44px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: #fff; }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  place-items: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); background: #fff; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); background: #fff; }

@media (max-width: 1079px) {
  .nav-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 28px var(--gutter) 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow-y: auto;
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(5, 219, 255, 0.14), transparent 60%),
      var(--navy-950);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .nav__list a { padding: 16px 4px; font-size: 1.2rem; }
  .nav__list a::after { display: none; }
  .nav__cta { display: flex; }
}
@media (max-width: 479px) {
  .header__inner { gap: 12px; }
  .header__cta { padding-inline: 14px; }
  .header__cta .icon { display: none; }
}
@media (max-width: 374px) {
  .header__cta { display: none; }
}

body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(84px, 9vw, 120px);
  color: var(--on-dark);
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(5, 219, 255, 0.2), transparent 60%),
    radial-gradient(900px 640px at -10% 110%, rgba(0, 70, 226, 0.42), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-925) 55%, var(--navy-950) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
  z-index: 1;
  margin-bottom: calc(-1 * var(--notch));
}
.hero + .section { padding-top: calc(clamp(80px, 9vw, 128px) + var(--notch)); }

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 10%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__glow--a { width: 520px; height: 520px; top: -160px; right: 4%; background: rgba(5, 219, 255, 0.35); }
.hero__glow--b { width: 600px; height: 600px; bottom: -260px; left: -140px; background: rgba(0, 70, 226, 0.55); animation-delay: -9s; }

.hero__chevron {
  position: absolute;
  top: 15%;
  right: -10%;
  height: 100%;
  width: auto;
  aspect-ratio: 194 / 232;
  overflow: visible;
  animation: float 12s ease-in-out infinite alternate;
}
.hero__chevron-fill { opacity: 0.06; }
.hero__chevron-line { opacity: 0.4; stroke-width: 0.7; }

@keyframes drift {
  to { transform: translate3d(-60px, 40px, 0) scale(1.1); }
}
@keyframes float {
  to { transform: translate3d(-18px, 14px, 0); }
}

.hero__inner {
  display: grid;
  gap: clamp(44px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border: 1px solid rgba(5, 219, 255, 0.3);
  border-radius: 999px;
  background: rgba(5, 219, 255, 0.08);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: #c4f3ff;
}
.pill__dot {
  position: relative;
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 12px var(--cyan-400);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan-400);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(2); opacity: 0; }
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.65rem, 1.1rem + 5.4vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero__lead {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.hero__lead strong { color: #fff; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
@media (max-width: 559px) {
  .hero__ctas .btn { width: 100%; }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--cyan-400); width: 1.15em; height: 1.15em; }

/* ---------- Panel del flujo ---------- */
.hero__visual { position: relative; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5, 219, 255, 0.28), transparent);
  filter: blur(30px);
}

.panel {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: rgba(255, 255, 255, 0.82); }
.panel__tag {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid rgba(5, 219, 255, 0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: 34% 32% 34%;
  height: 300px;
  margin: 14px 0 12px;
}
.flow__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flow__lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.flow__base path { stroke: rgba(130, 195, 255, 0.24); stroke-width: 1.5; }
.flow__pulses path {
  stroke: var(--cyan-400);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 9 109;
  stroke-dashoffset: 9;
  animation: pulse 3.6s linear infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 3px rgba(5, 219, 255, 0.9));
}
.flow__pulses path.is-out { stroke: #7fb8ff; filter: drop-shadow(0 0 3px rgba(79, 157, 255, 0.9)); }
@keyframes pulse {
  from { stroke-dashoffset: 9; }
  to { stroke-dashoffset: -100; }
}

.flow__col {
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
}
.flow__col--out { grid-column: 3; }

.node {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(7, 33, 66, 0.92);
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: #e6eefb;
  white-space: nowrap;
  overflow: hidden;
}
.node__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: rgba(5, 219, 255, 0.12);
  color: var(--cyan-400);
}
.node__icon .icon { width: 16px; height: 16px; }
.node--out .node__icon { background: rgba(79, 157, 255, 0.16); color: #9cc7ff; }

.flow__core {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.core {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #0d3f7f, var(--navy-900) 70%);
  border: 1px solid rgba(5, 219, 255, 0.5);
  box-shadow: 0 0 0 8px rgba(5, 219, 255, 0.06), 0 0 46px rgba(5, 219, 255, 0.4), inset 0 0 22px rgba(5, 219, 255, 0.18);
}
.core__chev { width: 38px; height: auto; aspect-ratio: 194 / 232; transform: translateX(3px); filter: drop-shadow(0 0 10px rgba(5, 219, 255, 0.6)); }
.core__ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(5, 219, 255, 0.55);
  animation: ring 3s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.core__ring--late { animation-delay: -1.5s; }
@keyframes ring {
  from { transform: scale(1); opacity: 0.85; }
  to { transform: scale(1.75); opacity: 0; }
}
.core__label {
  padding: 3px 10px;
  border: 1px solid rgba(5, 219, 255, 0.28);
  border-radius: 999px;
  background: #06264d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-300);
  white-space: nowrap;
}

.ticker { display: grid; gap: 8px; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  line-height: 1.3;
  color: #d8e4f5;
  transition: opacity 0.4s;
}
.ticker__item:nth-child(2) { opacity: 0.72; }
.ticker__item:nth-child(3) { opacity: 0.45; }
.ticker__item .icon {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(46, 229, 157, 0.14);
  color: var(--ok-400);
  stroke-width: 3;
}
.ticker__item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker__item time { flex: none; font-size: 0.75rem; color: var(--on-dark-muted); }
.ticker__item.is-new { animation: ticker-in 0.6s var(--ease); }
@keyframes ticker-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
}

.panel__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.kpi { display: grid; gap: 2px; padding: 0 4px; }
.kpi__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.kpi__label { font-size: 0.78rem; color: var(--on-dark-muted); }

@media (max-width: 479px) {
  .panel { padding: 12px; border-radius: 20px; }
  .flow { height: 252px; }
  .node { height: 38px; gap: 5px; padding: 0 6px 0 4px; font-size: 0.72rem; border-radius: 10px; }
  .node__icon { width: 24px; height: 24px; border-radius: 7px; }
  .node__icon .icon { width: 13px; height: 13px; }
  .core { width: 66px; height: 66px; }
  .core__chev { width: 28px; }
  .core__label { font-size: 0.6rem; padding: 2px 8px; }
  .ticker__item:nth-child(3) { display: none; }
  .kpi__value { font-size: 1.3rem; }
}
@media (max-width: 359px) {
  .node__icon { display: none; }
  .node { justify-content: center; padding: 0 4px; }
}

/* ---------- Integraciones ---------- */
.logos { margin-top: clamp(64px, 8vw, 96px); }
.logos__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-inline: var(--gutter);
}
.marquee {
  display: flex;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  flex: none;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(233, 240, 250, 0.72);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(80px, 9vw, 128px);
}
.section--soft { background: var(--bg-soft); }
.section--dark {
  color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(5, 219, 255, 0.12), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(0, 70, 226, 0.3), transparent 60%),
    var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .section__lead { color: var(--on-dark-muted); }

.section__head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section__head h2,
.calc__head h2,
.faq__intro h2,
.demo__copy h2,
.contact__copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.section__lead {
  margin-top: 18px;
  font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
}
.section__head .section__lead { margin-inline: auto; max-width: 42em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow--light { color: var(--cyan-300); }

.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; align-items: baseline; gap: 14px; }
.checklist li::before { transform: translateY(1px); }

/* ---------- Interruptor Antes / Con PGA ---------- */
.switch {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: fit-content;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.switch__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--muted);
  transition: color 0.35s;
}
.switch__btn.is-active { color: #fff; }
.switch__btn[data-mode="after"].is-active { color: var(--navy-900); }
.switch__chev { width: 10px; height: auto; aspect-ratio: 194 / 232; fill: currentColor; }
.switch__thumb {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: var(--navy-900);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), background 0.5s;
}
.switch.is-after .switch__thumb { transform: translateX(100%); background: var(--grad-cta); box-shadow: 0 8px 22px -8px rgba(5, 219, 255, 0.8); }
.switch:not(.is-after) .switch__btn[data-mode="after"] { animation: nudge 2.6s ease-in-out 1.2s 3; }
@keyframes nudge {
  0%, 70%, 100% { transform: none; }
  80% { transform: translateX(4px); }
  90% { transform: translateX(-2px); }
}

.flip-grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
@media (min-width: 640px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }

.flip { display: grid; perspective: 1400px; }
.flip__face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.85s cubic-bezier(0.3, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.flip:nth-child(2) { --i: 1; }
.flip:nth-child(3) { --i: 2; }
.flip:nth-child(4) { --i: 3; }
.flip:nth-child(5) { --i: 4; }
.flip:nth-child(6) { --i: 5; }
.flip__face h3 { margin-top: 18px; font-size: 1.14rem; font-weight: 700; line-height: 1.3; }
.flip__face p { margin-top: 8px; font-size: 0.97rem; line-height: 1.6; }
.flip__face--before {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flip__face--before p { color: var(--muted); }
.flip__face--after {
  transform: rotateY(180deg);
  background: var(--grad-navy);
  border: 1px solid rgba(5, 219, 255, 0.25);
  box-shadow: var(--shadow-md);
  color: var(--on-dark-muted);
}
.flip__face--after h3 { color: #fff; }
.flip__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--warm-100);
  color: var(--warm-500);
}
.flip__icon .icon { width: 24px; height: 24px; }
.flip__face--after .flip__icon { background: rgba(5, 219, 255, 0.13); color: var(--cyan-400); }
.flip__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.12);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ok-400);
}
.flip__tag .icon { width: 14px; height: 14px; stroke-width: 3; }
.flip__face--after p { margin-bottom: 18px; }

.is-after .flip__face--before { transform: rotateY(-180deg); }
.is-after .flip__face--after { transform: rotateY(0deg); }

/* ---------- Dato McKinsey ---------- */
.stat {
  display: grid;
  gap: 20px 36px;
  align-items: center;
  margin: clamp(44px, 6vw, 64px) 0 0;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .stat { grid-template-columns: auto 1fr auto; }
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 2rem + 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.stat__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; color: var(--ink); }
.stat__cite { margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.stat__cta { justify-self: start; }

/* ---------- Servicios (bento) ---------- */
.bento {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .card--dark { grid-column: span 2; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 70, 226, 0.22);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-top: 20px; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.card p { margin-top: 10px; font-size: 0.98rem; line-height: 1.62; color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.card__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(5, 219, 255, 0.16), rgba(0, 70, 226, 0.12));
  color: var(--blue-600);
}
.card__icon .icon { width: 25px; height: 25px; }

.card--feature,
.card--dark {
  border-color: rgba(5, 219, 255, 0.18);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(5, 219, 255, 0.16), transparent 60%),
    var(--grad-navy);
  color: var(--on-dark-muted);
}
.card--feature h3,
.card--dark h3 { color: #fff; }
.card--feature p,
.card--dark p { color: var(--on-dark-muted); }
.card--feature .card__icon,
.card--dark .card__icon { background: rgba(5, 219, 255, 0.13); color: var(--cyan-400); }
.card--feature .link-arrow,
.card--dark .link-arrow { color: var(--cyan-300); }

.card--feature {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 720px) {
  .card--feature { grid-template-columns: 1.15fr 1fr; padding: 34px; }
}
.card__body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.card--feature h3 { font-size: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: #d3ecff;
}

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(2, 12, 27, 0.35);
}
.mini-chat__msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f1f6fd;
}
.card--feature .mini-chat__msg { color: #f1f6fd; }
.card--feature .mini-chat__msg--user { color: var(--navy-900); }
.mini-chat__msg--user {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: var(--grad-cta);
  color: var(--navy-900);
  font-weight: 550;
}
.js .card--feature .mini-chat__msg { opacity: 0; transform: translateY(8px); }
.js .card--feature.is-visible .mini-chat__msg { animation: msg-in 0.5s var(--ease) forwards; }
.js .card--feature.is-visible .mini-chat__msg:nth-child(2) { animation-delay: 0.7s; }
.js .card--feature.is-visible .mini-chat__msg:nth-child(3) { animation-delay: 1.4s; }
.js .card--feature.is-visible .mini-chat__msg:nth-child(4) { animation-delay: 2.1s; }
@keyframes msg-in { to { opacity: 1; transform: none; } }

.mini-steps {
  display: grid;
  gap: 18px;
  align-self: stretch;
  margin-top: auto;
  padding-top: 24px;
}
.mini-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--ink);
  animation: step-glow 3.6s ease-in-out infinite;
}
.mini-steps li:nth-child(2) { animation-delay: 1.2s; }
.mini-steps li:nth-child(3) { animation-delay: 2.4s; }
.mini-steps li + li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -15px;
  width: 9px; height: 11px;
  background: var(--grad-brand);
  clip-path: polygon(0 0, 47.4% 0, 100% 51.2%, 53.1% 100%, 10.3% 100%, 54.1% 51.2%);
  transform: rotate(90deg);
}
.mini-steps .icon {
  width: 28px; height: 28px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-600);
  box-shadow: 0 1px 2px rgba(4, 30, 60, 0.08);
}
.mini-steps .mini-steps__ok { margin-left: auto; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(13, 138, 87, 0.12); color: #0d8a57; box-shadow: none; stroke-width: 3; }
@keyframes step-glow {
  0%, 40%, 100% { border-color: var(--line); background: var(--bg-soft); }
  12%, 28% { border-color: rgba(0, 70, 226, 0.4); background: #eaf1ff; }
}

/* ---------- Demo de chatbot ---------- */
.demo__glow {
  position: absolute;
  z-index: -1;
  right: 5%;
  top: 50%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5, 219, 255, 0.22), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}
.demo__inner {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .demo__inner { grid-template-columns: 1fr minmax(360px, 420px); gap: 72px; }
}
.demo__copy .section__lead { max-width: 34em; }
.demo__copy .checklist { color: var(--on-dark); }
.demo__copy .btn { margin-top: 34px; }

.scenarios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.scenario {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.scenario .icon { width: 1.05em; height: 1.05em; }
.scenario:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.scenario.is-active { background: #fff; border-color: #fff; color: var(--navy-900); }
.scenario.is-active .icon { color: var(--blue-600); }

.phone {
  width: min(100%, 370px);
  margin: 20px auto 0;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(150deg, #22365a, #0a1528 60%);
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 560px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(4, 30, 60, 0.06) 1px, transparent 0) 0 0 / 18px 18px,
    #edf2f9;
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 18px 14px;
  background: var(--navy-900);
  color: #fff;
}
.chat__avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: #fff;
}
.chat__avatar svg { width: 16px; height: auto; aspect-ratio: 194 / 232; transform: translateX(1px); }
.chat__who { display: grid; line-height: 1.25; }
.chat__who strong { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.chat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--on-dark-muted); }
.chat__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-400); box-shadow: 0 0 8px var(--ok-400); }

.chat__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 10px;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.msg {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 17px;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(4, 30, 60, 0.08);
  animation: bubble 0.32s var(--ease);
  white-space: pre-line;
}
.msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; }
.msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0b63ec, #0046e2);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.msg--typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.msg--typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #9aabc2;
  animation: typing 1.1s infinite ease-in-out;
}
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes bubble {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.chat__replies {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-height: 12px;
  padding: 4px 14px 10px;
}
.reply {
  padding: 8px 13px;
  border: 1.5px solid var(--blue-600);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--blue-600);
  animation: bubble 0.3s var(--ease) both;
  transition: background-color 0.2s, color 0.2s;
}
.reply:nth-child(2) { animation-delay: 0.06s; }
.reply:nth-child(3) { animation-delay: 0.12s; }
.reply:hover { background: var(--blue-600); color: #fff; }
.reply--hint { box-shadow: 0 0 0 0 rgba(0, 70, 226, 0.4); animation: bubble 0.3s var(--ease) both, hint 2s 1.2s ease-out 3; }
@keyframes hint {
  0% { box-shadow: 0 0 0 0 rgba(0, 70, 226, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(0, 70, 226, 0); }
}

.chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 14px;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(4, 30, 60, 0.08);
  font-size: 0.86rem;
  color: #8796ab;
}
.chat__send {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
}
.chat__send .icon { width: 16px; height: 16px; }
.demo__note { margin-top: 16px; text-align: center; font-size: 0.8rem; color: var(--on-dark-muted); }

@media (max-width: 420px) {
  .phone { padding: 9px; border-radius: 40px; }
  .phone__screen { height: 520px; border-radius: 32px; }
}

/* ---------- Casos de uso (pestañas) ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
@media (max-width: 767px) {
  .tabs__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tab { scroll-snap-align: start; }
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tab .icon { width: 1.1em; height: 1.1em; color: var(--blue-600); }
.tab:hover { border-color: rgba(0, 70, 226, 0.35); }
.tab[aria-selected="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(4, 30, 60, 0.7);
}
.tab[aria-selected="true"] .icon { color: var(--cyan-400); }

.tabs__panel {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.tabs__panel[hidden] { display: none; }
.js .tabs__panel { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.no-js .tabs__panel + .tabs__panel { margin-top: 20px; }
@media (min-width: 900px) {
  .tabs__panel { grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: center; }
}

.usecases { display: grid; gap: 24px 32px; }
@media (min-width: 600px) { .usecases { grid-template-columns: 1fr 1fr; } }
.usecases li { position: relative; padding-left: 26px; }
.usecases li::before { position: absolute; left: 0; top: 0.42em; }
.usecases h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.usecases p { margin-top: 6px; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }

.miniflow {
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(5, 219, 255, 0.18), transparent 60%),
    var(--grad-navy);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.miniflow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.miniflow__steps { display: grid; gap: 22px; margin-top: 16px; }
.miniflow__steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 550;
  font-size: 0.92rem;
  line-height: 1.35;
}
.miniflow__steps li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 12px; height: 14px;
  background: var(--grad-brand);
  clip-path: polygon(0 0, 47.4% 0, 100% 51.2%, 53.1% 100%, 10.3% 100%, 54.1% 51.2%);
  transform: translateX(-50%) rotate(90deg);
}
.miniflow__steps .icon {
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(5, 219, 255, 0.13);
  color: var(--cyan-400);
}

.sectors { margin-top: clamp(44px, 6vw, 64px); text-align: center; }
.sectors__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.sectors__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.sectors__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.sectors__list .icon { width: 1.1em; height: 1.1em; color: var(--blue-600); }

/* ---------- Calculadora ---------- */
.calc {
  display: grid;
  gap: 28px;
}
@media (min-width: 980px) {
  .calc {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-areas: "head result" "form result";
    gap: 28px 56px;
    align-items: start;
  }
  .calc__head { grid-area: head; }
  .calc__form { grid-area: form; }
  .calc__result { grid-area: result; position: sticky; top: calc(var(--header-h) + 24px); }
}
.calc__head .section__lead { max-width: 34em; }

.calc__form {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.range__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.range label { font-weight: 600; font-size: 0.97rem; line-height: 1.4; color: var(--ink); }
.range__out {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #05dbff, #0046e2) 0 0 / var(--p) 100% no-repeat, #e3e9f2;
}
input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #e3e9f2;
}
input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #05dbff, #0046e2);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin-top: -9px;
  border: 4px solid var(--blue-600);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px -2px rgba(0, 70, 226, 0.45);
  transition: transform 0.2s;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border: 4px solid var(--blue-600);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px -2px rgba(0, 70, 226, 0.45);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(0, 70, 226, 0.22); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(0, 70, 226, 0.22); }

.segmented {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.segmented__opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.segmented legend {
  margin-bottom: 12px;
  padding: 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
}
.segmented label { position: relative; display: block; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: block;
  height: 100%;
  padding: 12px 6px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.segmented small { display: block; margin-top: 2px; font-weight: 600; font-size: 0.78rem; color: var(--muted); }
.segmented input:hover + span { border-color: rgba(0, 70, 226, 0.4); }
.segmented input:checked + span { border-color: var(--blue-600); background: rgba(0, 70, 226, 0.06); color: var(--blue-600); }
.segmented input:checked + span small { color: var(--blue-600); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue-550); outline-offset: 2px; }

.calc__result {
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(5, 219, 255, 0.22), transparent 60%),
    radial-gradient(420px 320px at 0% 100%, rgba(0, 70, 226, 0.4), transparent 60%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
}
.calc__label { font-size: 0.98rem; color: var(--on-dark-muted); }
.calc__big {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 2.2rem + 3vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.calc__big [data-res] {
  background: var(--grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc__unit { font-size: 0.4em; letter-spacing: -0.01em; color: #fff; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 22px; }
.calc__grid > div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.calc__grid dt { font-size: 0.8rem; color: var(--on-dark-muted); }
.calc__grid dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc__small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; color: var(--on-dark-muted); }
.calc__bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}
.calc__bar-fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: var(--grad-cta);
  box-shadow: 0 0 18px rgba(5, 219, 255, 0.6);
  transition: width 0.6s var(--ease);
}
.calc__bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 10px 0 26px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}
.calc__bar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--auto { background: var(--cyan-400); }
.dot--rest { background: rgba(255, 255, 255, 0.25); }
.calc__note { margin-top: 16px; font-size: 0.78rem; line-height: 1.55; color: var(--on-dark-muted); }

/* ---------- Método ---------- */
.steps {
  display: grid;
  gap: 18px;
}
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.step {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background-color 0.35s;
}
.step:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__icon {
  position: absolute;
  top: 26px; right: 24px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--cyan-400);
}
.step__icon .icon { width: 22px; height: 22px; }
.step h3 { margin-top: 22px; font-size: 1.14rem; font-weight: 700; line-height: 1.3; }
.step p { margin-top: 8px; font-size: 0.96rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 1080px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    z-index: 1;
    width: 13px; height: 16px;
    background: var(--grad-brand);
    clip-path: polygon(0 0, 47.4% 0, 100% 51.2%, 53.1% 100%, 10.3% 100%, 54.1% 51.2%);
    transform: translateY(-50%);
  }
}

/* ---------- Por qué PGA ---------- */
.why__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.why__item {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.why__item:hover { background: rgba(255, 255, 255, 0.065); border-color: rgba(5, 219, 255, 0.32); transform: translateY(-4px); }
.why__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(5, 219, 255, 0.12);
  color: var(--cyan-400);
}
.why__icon .icon { width: 23px; height: 23px; }
.why__item h3 { margin-top: 20px; font-size: 1.14rem; font-weight: 700; }
.why__item p { margin-top: 8px; font-size: 0.96rem; line-height: 1.6; color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__intro .btn { margin-top: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  padding: 22px 56px 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transition: transform 0.3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--blue-600); }
.faq__body { padding: 0 48px 24px 0; color: var(--muted); }
.faq__item[open] .faq__body { animation: panel-in 0.4s var(--ease); }

/* ---------- Contacto ---------- */
.contact__glow {
  position: absolute;
  z-index: -1;
  left: -10%;
  top: -20%;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5, 219, 255, 0.2), transparent);
  pointer-events: none;
}
.contact__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) {
  .contact__inner { grid-template-columns: 1fr 1fr; gap: 72px; }
}
.contact__copy .section__lead { max-width: 32em; }
.contact__copy .checklist { color: var(--on-dark); }
.contact__direct {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact__direct p { font-size: 0.9rem; color: var(--on-dark-muted); }
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__link .icon { color: var(--cyan-400); }
.contact__link:hover { color: var(--cyan-300); }

.form {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}
.form__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink) !important; }
.form__subtitle { margin-top: 4px; font-size: 0.95rem; color: var(--muted); }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--muted); }
.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #d5deea;
  border-radius: 12px;
  background: #f7f9fc;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #8d9bb0; }
.field input:not([type="checkbox"]):focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 70, 226, 0.12);
}
.field [aria-invalid="true"] { border-color: #d63b3b !important; background: #fff8f8 !important; }
.field__error { margin-top: 6px; font-size: 0.82rem; font-weight: 500; color: #c62f2f; }
.field__error:empty { display: none; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex !important; align-items: flex-start; gap: 10px; margin: 4px 0 0 !important; font-weight: 500 !important; font-size: 0.88rem !important; line-height: 1.5; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue-600); cursor: pointer; }
.check a { color: var(--blue-600); font-weight: 600; }

.form__submit { margin-top: 22px; }
.form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form__status { margin-top: 12px; font-size: 0.92rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #0d8a57; }
.form__status.is-error { color: #c62f2f; }
.form__legal { margin-top: 16px; font-size: 0.74rem; line-height: 1.55; color: var(--muted); }
.form__legal a { color: var(--blue-600); }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 28px;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; } }
.footer__logo {
  width: 230px;
  height: auto;
  aspect-ratio: 884 / 411;
  color: #fff;
  --logo-tagline: #9fb0c8;
}
.footer__brand p { margin-top: 22px; max-width: 30em; line-height: 1.65; }
.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a,
.footer__legal a { text-decoration: none; transition: color 0.2s; }
.footer__col a:hover,
.footer__legal a:hover { color: #fff; }
.footer__text { line-height: 1.6; }
.footer__mail {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff !important;
  overflow-wrap: anywhere;
}
.footer__cta { display: flex; width: fit-content; margin-top: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s var(--ease);
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Animaciones de entrada
   ========================================================================== */
.js [data-reveal] {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

/* Pausa las animaciones del hero cuando no está en pantalla */
.hero.is-paused *,
.hero.is-paused *::before,
.hero.is-paused *::after { animation-play-state: paused !important; }

@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;
    transition-delay: 0s !important;
  }
  .js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .flow__pulses, .core__ring, .pill__dot::after { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; flex: 1; padding: 0 var(--gutter); }
  .marquee__track[aria-hidden="true"] { display: none; }
  .js .card--feature .mini-chat__msg { opacity: 1; transform: none; }
}

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal-header {
  padding: 16px 0;
  background: var(--navy-900);
  color: #fff;
}
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header__logo { display: inline-flex; border-radius: 8px; }
.legal-header__logo img { width: auto; height: 40px; }
.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}
.legal-header__back:hover { color: var(--cyan-300); }
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.legal__inner { max-width: 780px; }
.legal h1 { margin-top: 14px; font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; }
.legal__updated { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.legal h2 { margin-top: 44px; font-size: 1.3rem; font-weight: 700; }
.legal h3 { margin-top: 24px; font-size: 1.05rem; font-weight: 700; }
.legal p,
.legal li { margin-top: 12px; }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal a { color: var(--blue-600); }
.legal__data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 20px;
  margin: 20px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.legal__data dt { font-weight: 600; color: var(--ink); }
.legal__data dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 559px) {
  .legal__data { grid-template-columns: 1fr; gap: 2px; }
  .legal__data dd { margin-bottom: 10px; }
}
.ph { padding: 1px 5px; border-radius: 5px; background: #fff1b8; color: #6b4e00; font-weight: 600; }
.legal-footer {
  padding: 28px 0;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 0.86rem;
}
.legal-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.legal-footer ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-footer a { text-decoration: none; }
.legal-footer a:hover { color: #fff; }
