/* ==========================================================
   Intelytics Group Americas — prototipo
   ========================================================== */

:root {
  /* Paleta: azul medianoche + jade refinado */
  --ink: #060B17;          /* fondo más profundo */
  --midnight: #0A1326;     /* fondo de secciones */
  --navy: #12203D;         /* superficies */
  --pearl: #ECEAE4;        /* texto principal, blanco cálido */
  --mist: #9AA3B5;         /* texto secundario */
  --jade: #4CC9A0;         /* acento de marca, en detalles */
  --jade-deep: #1F8F6E;
  --sky: #6CC4E4;          /* azul del logo, uso mínimo */
  --cobalt: #2A4C9A;

  --line: rgba(236, 234, 228, 0.10);
  --glass-border: rgba(255, 255, 255, 0.10);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }   /* sin recuadro gris al tocar en el celular */
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--jade); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Grano sutil sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 28px;
}
.loader__logo { width: 220px; opacity: 0; }
.loader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--jade); transform: scaleX(0); transform-origin: left; }

/* ---------- Botones de vidrio líquido ---------- */
.btn {
  --bx: 50%; --by: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; white-space: nowrap;
  font-weight: 500; font-size: 15px; letter-spacing: .01em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.btn > span { position: relative; z-index: 2; }
.btn--glass {
  color: var(--pearl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 48%, rgba(255,255,255,.03) 52%, rgba(255,255,255,.09) 100%);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.55),      /* filo de luz superior */
    inset 0 -1px 1px rgba(255,255,255,.14),     /* reflejo inferior */
    inset 0 0 18px rgba(255,255,255,.06),
    0 10px 30px -10px rgba(0,0,0,.55);
}
/* reflejo especular curvo, como el vidrio de iOS */
.btn--glass::before {
  content: ""; position: absolute; z-index: 1; left: 8%; right: 8%; top: 1px; height: 52%;
  border-radius: 999px 999px 60% 60% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0));
  pointer-events: none; opacity: .75;
}
/* brillo que sigue al cursor */
.btn--glass::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120px circle at var(--bx) var(--by), rgba(255,255,255,.35), transparent 70%);
  transition: opacity .4s var(--ease);
}
.btn--glass:hover::after { opacity: 1; }
.btn--glass:hover { border-color: rgba(255,255,255,.4); box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 -1px 1px rgba(255,255,255,.2), inset 0 0 22px rgba(255,255,255,.1), 0 16px 40px -12px rgba(0,0,0,.6); }
.btn--glass:active { transform: scale(.97); }
.btn--tint {
  background:
    linear-gradient(180deg, rgba(120,235,195,.42) 0%, rgba(76,201,160,.22) 50%, rgba(31,143,110,.20) 52%, rgba(76,201,160,.32) 100%);
  border-color: rgba(150,240,205,.45);
  box-shadow:
    inset 0 1px 1px rgba(220,255,240,.7),
    inset 0 -1px 2px rgba(150,240,205,.3),
    inset 0 0 20px rgba(76,201,160,.18),
    0 12px 36px -10px rgba(31,143,110,.55);
}
.btn--tint:hover { box-shadow: inset 0 1px 1px rgba(220,255,240,.85), inset 0 -1px 2px rgba(150,240,205,.4), inset 0 0 24px rgba(76,201,160,.28), 0 18px 46px -10px rgba(31,143,110,.7); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Vidrio (paneles) ---------- */
.glass {
  position: relative;
  background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 45%, rgba(255,255,255,.03));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.6);
  --mx: 50%; --my: 50%;
}
.glass__sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: inherit; transition: opacity .6s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 60%);
}
.glass:hover .glass__sheen { opacity: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: calc(100% - 32px); max-width: 1240px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(10, 19, 38, .3); border: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 19, 38, .62); border-color: var(--glass-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 34px; font-size: 14px; color: var(--mist); }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--jade);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--pearl); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang a { font-size: 12px; padding: 4px 9px; border-radius: 999px; color: var(--mist); transition: all .3s; }
.lang a:hover { color: var(--pearl); }
.lang a.is-active { background: rgba(255,255,255,.1); color: var(--pearl); }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--pearl); transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero (centrado) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 140px 0 130px; overflow: hidden; text-align: center;
  background:
    radial-gradient(1100px 700px at 50% 55%, rgba(31,143,110,.16), transparent 62%),
    radial-gradient(800px 500px at 50% 110%, rgba(42,76,154,.22), transparent 60%),
    var(--ink);
  cursor: grab;
}
.hero.is-dragging { cursor: grabbing; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 28% at 50% 50%, rgba(6,11,23,.42), transparent 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%);
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__kicker { color: var(--mist); font-size: 15px; margin: 0 0 30px; display: flex; gap: 16px; align-items: center; }
.hero__kicker::before, .hero__kicker::after { content: ""; width: 36px; height: 1px; background: var(--jade); flex: none; }
.hero__title {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(54px, 9.2vw, 150px); line-height: .96; letter-spacing: -.025em;
  text-shadow: 0 10px 60px rgba(6,11,23,.8);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child { font-style: italic; }
.hero__title .line:last-child > span {
  background: linear-gradient(100deg, #ECEAE4 20%, #A9E8D2 50%, #ECEAE4 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero__lead { max-width: 50ch; color: var(--mist); font-size: 18px; margin: 34px auto 44px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__hint { position: absolute; left: var(--gutter); bottom: 40px; z-index: 2; margin: 0; font-size: 13px; color: var(--mist); display: flex; gap: 10px; align-items: center; }
.hero__hint::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--glass-border); background: radial-gradient(circle, var(--jade) 0 2px, transparent 3px); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1px solid var(--glass-border); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px;
  background: var(--jade); animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(110px, 14vw, 180px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 90px); position: relative; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .section__tag { justify-content: center; }
.section__tag { display: flex; align-items: center; gap: 12px; color: var(--jade); font-size: 14px; font-weight: 500; margin: 0 0 22px; }
.section__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 14px var(--jade); }
.section__title {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.015em;
}
.section__lead { color: var(--mist); font-size: 18px; max-width: 58ch; margin: 26px 0 0; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

/* ---------- Problema: comparador deslizable ---------- */
.problem { background: linear-gradient(180deg, var(--ink), var(--midnight)); overflow: hidden; }
/* textura topográfica: curvas de nivel finas */
.problem__texture {
  position: absolute; inset: -10%; pointer-events: none; opacity: .55;
  background:
    repeating-radial-gradient(ellipse 60% 45% at 18% 30%, transparent 0 22px, rgba(236,234,228,.06) 23px, transparent 24px),
    repeating-radial-gradient(ellipse 50% 60% at 85% 75%, transparent 0 26px, rgba(76,201,160,.07) 27px, transparent 28px);
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
          mask: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  animation: drift 40s linear infinite alternate;
}
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) rotate(2deg); } }

.duel {
  --pos: 80%;
  position: relative; height: clamp(440px, 52vw, 560px); border-radius: 34px; overflow: hidden;
  user-select: none; touch-action: pan-y;
}
.duel__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.duel__layer { position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(28px, 5vw, 72px); pointer-events: none; }
.duel__layer--after {
  clip-path: inset(0 0 0 var(--pos));
  background: linear-gradient(120deg, rgba(76,201,160,.10), rgba(42,76,154,.10));
}
.duel__layer--before { background: linear-gradient(120deg, rgba(6,11,23,.35), rgba(6,11,23,.1)); }
.duel__content {
  width: min(440px, 100%); padding: 32px 34px; border-radius: 24px;
  background: rgba(6,11,23,.45); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.duel__layer--after .duel__content { margin-left: auto; border-color: rgba(76,201,160,.3); background: rgba(10,30,36,.5); }
.duel__label { font-family: var(--serif); font-size: 34px; line-height: 1.1; margin: 0 0 18px; }
.duel__layer--before .duel__label { color: var(--mist); }
.duel__list { list-style: none; padding: 0; margin: 0; }
.duel__list li { padding: 13px 0 13px 26px; border-top: 1px solid var(--line); font-size: 15.5px; position: relative; }
.duel__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border-radius: 50%; }
.duel__layer--before .duel__list li { color: var(--mist); }
.duel__layer--before .duel__list li::before { border: 1px solid rgba(154,163,181,.6); }
.duel__layer--after .duel__list li::before { background: var(--jade); box-shadow: 0 0 12px rgba(76,201,160,.8); }
.duel__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 3; cursor: ew-resize;
  background: linear-gradient(180deg, transparent, rgba(150,240,205,.9) 20%, rgba(150,240,205,.9) 80%, transparent);
  box-shadow: 0 0 20px rgba(76,201,160,.8);
}
.duel__handle:focus-visible { outline: none; }
.duel__handle:focus-visible .duel__knob { outline: 2px solid var(--jade); outline-offset: 4px; }
.duel__knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 10px 30px rgba(0,0,0,.5), 0 0 30px rgba(76,201,160,.35);
}
.duel__knob svg { width: 22px; height: 22px; fill: none; stroke: var(--pearl); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.duel__caption { text-align: center; color: var(--mist); font-size: 14px; margin: 22px 0 0; }

/* ---------- Servicios ---------- */
.services { background: var(--midnight); padding-bottom: 0; }
.service { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.service__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; z-index: 2; }
.service__index { color: var(--jade); font-size: 14px; font-weight: 500; margin: 0 0 18px; }
.service__title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.05; margin: 0 0 26px; letter-spacing: -.015em; }
.service__text { color: var(--mist); max-width: 48ch; margin: 0 0 34px; }
.service__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.service--ai::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--midnight), transparent 18%, transparent 82%, var(--midnight));
}

/* Esferas translúcidas con aurora de marca */
.orbs { position: relative; height: 640px; }
.orb {
  --mx: 50%; --my: 30%;
  position: absolute; width: 262px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(circle at 50% 50%, rgba(10,19,38,.15), rgba(10,19,38,.45) 70%);
  box-shadow:
    inset 0 0 50px rgba(255,255,255,.05),
    inset 12px 16px 40px rgba(255,255,255,.07),
    inset -20px -30px 60px rgba(6,11,23,.6),
    0 40px 90px -40px rgba(0,0,0,.8);
  transition: width .8s var(--ease), box-shadow .8s var(--ease), filter .8s var(--ease);
  cursor: pointer;
}
/* cuatro esferas en rombo */
.orb:nth-child(1) { top: 0; left: calc(50% - 131px); }
.orb:nth-child(2) { top: 175px; left: 0; }
.orb:nth-child(3) { top: 175px; right: 0; }
.orb:nth-child(4) { bottom: 0; left: calc(50% - 131px); }
/* En móviles (sobre todo Safari) el recorte redondo del contenedor falla con capas animadas
   y desenfocadas: la aurora asomaba como un cuadrado. Se recorta con su propia máscara circular
   (la aurora mide 150 % de la esfera, así que su círculo visible es el 66,6 % del radio). */
.orb { -webkit-tap-highlight-color: transparent; isolation: isolate; }
.orb:focus-visible { border-radius: 50%; outline-offset: 4px; }
.orb__aurora {
  -webkit-mask-image: radial-gradient(circle closest-side, #000 65%, transparent 66.6%);
          mask-image: radial-gradient(circle closest-side, #000 65%, transparent 66.6%);
  position: absolute; inset: -25%; border-radius: 50%; opacity: .7; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 30% 30%, rgba(76,201,160,.75), transparent 42%),
    radial-gradient(circle at 72% 58%, rgba(108,196,228,.6), transparent 44%),
    radial-gradient(circle at 42% 82%, rgba(42,76,154,.85), transparent 48%);
  filter: blur(34px);
  animation: aurora 16s linear infinite;
}
.orb--b .orb__aurora { animation-duration: 21s; animation-direction: reverse;
  background:
    radial-gradient(circle at 65% 30%, rgba(108,196,228,.65), transparent 42%),
    radial-gradient(circle at 30% 65%, rgba(76,201,160,.6), transparent 44%),
    radial-gradient(circle at 70% 85%, rgba(42,76,154,.8), transparent 48%); }
.orb--c .orb__aurora { animation-duration: 25s;
  background:
    radial-gradient(circle at 40% 25%, rgba(42,76,154,.8), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(76,201,160,.7), transparent 42%),
    radial-gradient(circle at 25% 70%, rgba(108,196,228,.5), transparent 44%); }
@keyframes aurora { to { transform: rotate(360deg); } }
/* reflejo especular + iridiscencia en el borde */
.orb__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(ellipse 38% 22% at 34% 16%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(140px circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 70%),
    radial-gradient(circle, transparent 66%, rgba(150,240,205,.16) 70%, transparent 72%);
}
.orb__body { position: relative; z-index: 2; padding: 0 36px; display: grid; gap: 10px; justify-items: center; }
.orb__title { font-family: var(--serif); font-size: 26px; line-height: 1.08; }
.orb__text { color: rgba(236,234,228,.82); font-size: 14.5px; line-height: 1.5; max-width: 24ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s var(--ease); }
.orb.is-active { width: 300px; margin: -19px; z-index: 3; box-shadow: inset 0 0 60px rgba(255,255,255,.08), inset 12px 16px 40px rgba(255,255,255,.1), inset -20px -30px 60px rgba(6,11,23,.5), 0 50px 110px -40px rgba(31,143,110,.7); }
.orb.is-active .orb__text { max-height: 140px; opacity: 1; }
.orb--d .orb__aurora { animation-duration: 19s; animation-direction: reverse;
  background:
    radial-gradient(circle at 60% 30%, rgba(76,201,160,.6), transparent 44%),
    radial-gradient(circle at 30% 50%, rgba(42,76,154,.85), transparent 46%),
    radial-gradient(circle at 65% 80%, rgba(108,196,228,.5), transparent 44%); }

/* Acceso a Olimpo IA */
.service__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.olimpo-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.olimpo-link:hover { border-color: rgba(76,201,160,.45); background: rgba(76,201,160,.06); }
.olimpo-link__mark {
  width: 30px; height: 30px; border-radius: 50%; position: relative; overflow: hidden;
  background: conic-gradient(from 0deg, #F6DCA0, #A8792E, #E2B866, #6B4A16, #F6DCA0);
  animation: aurora 6s linear infinite;
}
.olimpo-link__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,240,200,.55), rgba(14,11,6,.9) 60%); }
.olimpo-link:hover { border-color: rgba(226,184,102,.5); background: rgba(226,184,102,.06); }
.olimpo-link__name { font-family: var(--serif); font-size: 20px; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .02em;
  color: #BFF3DF; background: rgba(76,201,160,.14); border: 1px solid rgba(76,201,160,.4);
}
.badge--soft { color: var(--pearl); background: rgba(255,255,255,.06); border-color: var(--glass-border); }
.orbs.has-active .orb:not(.is-active) { filter: saturate(.6) brightness(.6); }

/* ---------- Propiedad horizontal: ciudad de fondo ---------- */
.service--ph { height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; padding: 0; }
/* línea de luz que sube revelando la ciudad */
.ph-scan {
  position: absolute; left: 0; right: 0; top: 100%; height: 1px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(150,240,205,.9) 30%, rgba(150,240,205,.9) 70%, transparent);
  box-shadow: 0 0 18px rgba(76,201,160,.9), 0 0 60px rgba(76,201,160,.45);
}
.ph-scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px;
  background: linear-gradient(180deg, rgba(76,201,160,.10), transparent);
}
.ph-scene { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform-origin: 75% 100%; will-change: clip-path, transform, filter; }
.service--ph.has-photo .ph-layer, .service--ph.has-photo .ph-haze, .service--ph.has-photo .ph-sky { display: none; }
.ph-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 72% 78%, rgba(76,201,160,.16), transparent 70%),
    radial-gradient(1200px 600px at 60% 100%, rgba(42,76,154,.35), transparent 70%),
    linear-gradient(180deg, var(--midnight) 0%, #0B1730 60%, #0F2142 100%);
}
.ph-layer { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 100%; will-change: transform; }
.ph-haze { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,76,154,.28), transparent 45%); }
.ph-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,11,23,.92) 0%, rgba(6,11,23,.55) 38%, transparent 62%),
    linear-gradient(180deg, var(--midnight) 0%, transparent 16%, transparent 80%, var(--ink) 100%);
}
.ph-layer .t-body { fill: var(--c); }
.ph-layer .t-edge { fill: none; stroke: rgba(236,234,228,.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ph-layer--near .t-edge { stroke: rgba(236,234,228,.28); }
.ph-layer .t-mull { stroke: rgba(236,234,228,.05); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ph-layer .t-win { fill: #8FE3C4; opacity: 0; }
.ph-layer .t-win.warm { fill: #F2D9A6; }
.ph-layer .t-beacon { fill: #ff8a7a; }

.ph-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 40px; }
.ph-card { max-width: 640px; padding: clamp(28px, 3vw, 42px); background: linear-gradient(155deg, rgba(10,19,38,.6), rgba(10,19,38,.35)); }
.ph-card .service__title { font-size: clamp(34px, 3.4vw, 50px); margin-bottom: 16px; }
.ph-card .service__text { margin-bottom: 20px; font-size: 16px; }
.ph-card .ph-list { margin-bottom: 26px; }
.ph-card .ph-list li { padding-top: 11px; padding-bottom: 11px; }
.ph-card .ph-list li::before { top: 23px; }
@media (max-height: 820px) and (min-width: 641px) {
  .ph-card .service__text { display: none; }
}
.ph-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; }
.ph-list li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.ph-list li:last-child { border-bottom: 1px solid var(--line); }
.ph-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 1px; background: var(--jade); }
.ph-list strong { font-weight: 500; font-size: 16px; }
.ph-list span { color: var(--mist); font-size: 14px; line-height: 1.5; }
.ph-list a { color: var(--jade); border-bottom: 1px solid rgba(76,201,160,.4); }

/* ---------- Productos ---------- */
.products { background: linear-gradient(180deg, var(--ink), var(--midnight)); }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); perspective: 1400px; }
.product { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 32px; }
.product__visual { position: relative; height: 300px; overflow: hidden; border-bottom: 1px solid var(--line); }
/* ---------- Olimpo IA: identidad propia en negro y dorado ---------- */
.product--olimpo {
  --gold: #E2B866; --gold-deep: #A8792E;
  background: linear-gradient(170deg, rgba(20,16,10,.85), rgba(10,10,14,.92));
  border-color: rgba(226,184,102,.28);
  box-shadow: inset 0 1px 0 rgba(255,230,180,.1), 0 40px 90px -40px rgba(168,121,46,.45);
  --px: 0; --py: 0;
}
.olimpo-scene { position: relative; height: 300px; overflow: hidden; background: #07070B; border-bottom: 1px solid rgba(226,184,102,.2); }
.olimpo-scene > *, .olimpo-scene__mount > * { position: absolute; max-width: none; transition: transform .9s var(--ease); }
.olimpo-scene__sky { inset: -6%; width: 112%; height: 112%; object-fit: cover; opacity: .9; transform: translate(calc(var(--px) * -6px), calc(var(--py) * -4px)); }
.olimpo-scene__stars {
  inset: 0; opacity: .6;
  background-image: radial-gradient(1px 1px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 72% 14%, #fff, transparent), radial-gradient(1.5px 1.5px at 86% 34%, #ffe9b8, transparent), radial-gradient(1px 1px at 30% 8%, #fff, transparent), radial-gradient(1px 1px at 55% 28%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .25; } }
/* montaña + sol + templo comparten un contenedor con la proporción de olimpo.webp, así el templo queda en la cima */
.olimpo-scene__mount {
  left: 50%; bottom: -16%; width: 100%; aspect-ratio: 2752 / 1407;
  transform: translate(calc(-50% + var(--px) * -14px), calc(var(--py) * -8px));
}
/* sol.webp trae fondo oscuro: la máscara circular lo desvanece (el grupo está aislado y no admite mezcla) */
.olimpo-scene__sun {
  left: 31%; top: -27%; width: 38%; opacity: .95;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 68%);
          mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 68%);
  filter: drop-shadow(0 0 40px rgba(226,184,102,.6)); animation: sunGlow 6s ease-in-out infinite alternate; }
@keyframes sunGlow { to { filter: drop-shadow(0 0 70px rgba(226,184,102,.85)); } }
.olimpo-scene__peak { inset: 0; width: 100%; height: 100%; }
.olimpo-scene__temple { left: 44.2%; top: -7.6%; width: 10%; filter: drop-shadow(0 0 12px rgba(255,190,90,.55)); }
.olimpo-scene__mist { left: -10%; bottom: -18%; width: 120%; opacity: .5; mix-blend-mode: screen; animation: mist 18s ease-in-out infinite alternate; }
@keyframes mist { to { transform: translateX(6%); } }
.product--olimpo .product__title--olimpo { font-family: "Cinzel", var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: .01em; }
.product--olimpo .product__text { flex: 0 0 auto; margin-bottom: 20px; }
.temples { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.temples li {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px; color: #F3DFB3;
  border: 1px solid rgba(226,184,102,.3); background: rgba(226,184,102,.07);
  transition: background .3s, border-color .3s;
}
.temples li:hover { background: rgba(226,184,102,.16); border-color: rgba(226,184,102,.6); }
.olimpo-price { margin: 0 0 24px; color: var(--mist); font-size: 15px; }
.olimpo-price strong { font-family: "Cinzel", var(--serif); font-size: 34px; font-weight: 600; color: var(--gold); margin-right: 4px; }
.olimpo-price span { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line); }
.product__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; }
.badge--gold { color: #F6E2B6; background: rgba(226,184,102,.14); border-color: rgba(226,184,102,.45); }
/* botón dorado de vidrio, como los del sitio de Olimpo */
.btn--gold {
  color: #1B1407;
  background: linear-gradient(180deg, #F6DCA0 0%, #E2B866 48%, #C99A47 52%, #E8C47C 100%);
  border-color: rgba(255,232,180,.7);
  box-shadow: inset 0 1px 1px rgba(255,248,225,.9), inset 0 -1px 2px rgba(120,80,20,.35), 0 12px 36px -10px rgba(226,184,102,.55);
}
.btn--gold::before { opacity: .5; }
.btn--gold:hover { box-shadow: inset 0 1px 1px rgba(255,248,225,1), inset 0 -1px 2px rgba(120,80,20,.4), 0 18px 46px -10px rgba(226,184,102,.75); }
.product__visual--copiloto {
  background: radial-gradient(420px 220px at 70% 100%, rgba(76,201,160,.22), transparent 70%), linear-gradient(180deg, #0B1730, #0A1326);
}
.product__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 70% 80% at 50% 60%, #000 30%, transparent 80%);
          mask: radial-gradient(ellipse 70% 80% at 50% 60%, #000 30%, transparent 80%);
}
/* trazo de "copiloto": una ruta que se dibuja en bucle */
.product__beam {
  position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--jade), rgba(108,196,228,.9), transparent);
  box-shadow: 0 0 18px rgba(76,201,160,.8);
  animation: beam 3.6s var(--ease) infinite;
}
@keyframes beam { 0% { transform: scaleX(0); transform-origin: left; opacity: 0; } 30% { opacity: 1; } 60% { transform: scaleX(1); transform-origin: left; opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* sello de Lexcon Veritas: flota sobre la cuadrícula con un halo dorado */
.product__seal {
  position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px; z-index: 2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(226,190,120,.35), 0 0 40px rgba(226,190,120,.28), 0 20px 50px -10px rgba(0,0,0,.7);
  animation: sealFloat 6s ease-in-out infinite;
}
@keyframes sealFloat { 50% { transform: translateY(-6px); } }
.product:hover .product__seal { box-shadow: 0 0 0 1px rgba(226,190,120,.55), 0 0 60px rgba(226,190,120,.4), 0 20px 50px -10px rgba(0,0,0,.7); }
.product__body { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.product__kind, .partner { color: var(--mist); font-size: 13px; }
.partner strong { color: var(--pearl); font-weight: 500; }
.partner img { height: 22px; width: auto; display: inline-block; vertical-align: middle; }
.product__title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.6vw, 52px); line-height: 1; margin: 0 0 14px; }
.product__text { color: var(--mist); margin: 0 0 30px; max-width: 46ch; flex: 1; }

/* ---------- Método: título fijo + pasos ---------- */
.method { background: var(--ink); }
.method__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.method__sticky { position: sticky; top: 150px; }
.method__counter { margin-top: 48px; font-family: var(--serif); display: flex; align-items: baseline; gap: 12px; font-variant-numeric: lining-nums; }
.method__current { display: inline-block; overflow: hidden; height: 1em; font-size: clamp(90px, 10vw, 150px); line-height: 1; color: var(--jade); }
.method__current span { display: block; }
.method__total { font-size: 28px; color: var(--mist); }
.steps { position: relative; padding-left: 46px; }
.steps__rail { position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__fill { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--jade-deep), var(--jade)); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 12px rgba(76,201,160,.6); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { padding: clamp(28px, 3.5vw, 44px); min-height: 280px; transition: border-color .6s var(--ease), opacity .6s var(--ease), transform .6s var(--ease); opacity: .45; }
.step::before {
  content: ""; position: absolute; left: -46px; top: 48px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(236,234,228,.35); transition: all .6s var(--ease);
}
.step.is-on { opacity: 1; border-color: rgba(76,201,160,.3); }
.step.is-on::before { background: var(--jade); border-color: var(--jade); box-shadow: 0 0 0 6px rgba(76,201,160,.12), 0 0 18px var(--jade); }
.step__num { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 18px; color: var(--jade); font-variant-numeric: lining-nums; }
.step__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); margin: 0 0 12px; line-height: 1.1; }
.step__text { color: var(--mist); margin: 0; max-width: 40ch; }

/* ---------- Resultados ---------- */
.results {
  background:
    radial-gradient(900px 500px at 50% 60%, rgba(31,143,110,.12), transparent 70%),
    var(--midnight);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); }
.stat { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; margin: 0 auto; display: grid; place-content: center; text-align: center; padding: 40px; }
.stat__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.stat__track { fill: rgba(255,255,255,.015); stroke: var(--line); stroke-width: 1; }
.stat__arc { fill: none; stroke: var(--jade); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(76,201,160,.8)); }
.stat__value { font-family: var(--serif); font-size: clamp(64px, 7vw, 108px); line-height: 1; margin: 0 0 12px; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.stat__unit { font-size: .36em; color: var(--jade); margin-left: .12em; letter-spacing: 0; white-space: nowrap; }
.stat__label { color: var(--mist); margin: 0 auto; max-width: 20ch; font-size: 15px; }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, var(--midnight), var(--ink)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; }
.contact__info a { color: var(--pearl); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.contact__info a:hover { border-color: var(--jade); }
.form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; color: var(--mist); }
.field select {
  width: 100%; min-width: 0; text-overflow: ellipsis;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234CC9A0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option { background: var(--midnight); color: var(--pearl); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--pearl); background-color: rgba(6,11,23,.35);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; resize: vertical;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(154,163,181,.6); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--jade); background: rgba(6,11,23,.55); }
.form__note { margin: 0; text-align: center; color: var(--mist); font-size: 13px; }

/* ---------- WhatsApp ---------- */
.wa-bubble { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wa-phone { fill: currentColor; }

/* botón grande en Contacto */
.wa-big {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 18px; padding: 14px 26px 14px 14px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(37,211,102,.24), rgba(37,211,102,.1));
  border: 1px solid rgba(37,211,102,.45);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 1px rgba(200,255,220,.5), 0 18px 40px -16px rgba(37,211,102,.5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wa-big:hover { transform: translateY(-2px); box-shadow: inset 0 1px 1px rgba(200,255,220,.6), 0 24px 50px -16px rgba(37,211,102,.7); }
.wa-big__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; flex: none; box-shadow: 0 0 0 6px rgba(37,211,102,.15); }
.wa-big__icon svg { width: 30px; height: 30px; }
.wa-big__text { display: grid; line-height: 1.3; }
.wa-big__text strong { font-weight: 600; font-size: 18px; }
.wa-big__text span { color: var(--mist); font-size: 14px; }

/* burbuja flotante en toda la página */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__btn {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, #4BE38A, #25D366 55%, #179A4B);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 12px 30px -6px rgba(0,0,0,.55), 0 0 26px rgba(37,211,102,.35);
  transition: transform .4s var(--ease);
}
.wa-float__btn svg { width: 32px; height: 32px; }
/* onda suave que invita a escribir */
.wa-float__btn::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid rgba(37,211,102,.6);
  animation: waPulse 2.8s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }
.wa-float__label {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(10,19,38,.7); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateX(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }

/* ---------- Modal: lista de espera de Olimpo IA ---------- */
.modal {
  /* .glass pone position: relative; el diálogo necesita fixed para quedar centrado en pantalla */
  position: fixed; inset: 0;
  width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-x: hidden; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(76,201,160,.4) transparent;
  padding: clamp(24px, 4vw, 44px); color: var(--pearl); margin: auto;
  background: linear-gradient(165deg, rgba(26,21,12,.95), rgba(10,10,14,.96));
  border: 1px solid rgba(226,184,102,.3);
}
.modal .field input:focus, .modal .field select:focus { border-color: #E2B866; }
.modal .check input { accent-color: #E2B866; }
.modal[open] { animation: modalIn .6s var(--ease); }
.modal::backdrop { background: rgba(6,11,23,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .3s; }
.modal__close:hover { border-color: var(--jade); }
.modal__close svg { width: 16px; height: 16px; stroke: var(--pearl); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.modal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal__mark { width: 40px; height: 40px; }
.modal__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; margin: 0 0 10px; padding-right: 30px; }
.modal__text { color: var(--mist); margin: 0 0 24px; font-size: 15px; }
.modal__form { display: grid; gap: 16px; }
.field em { font-style: normal; opacity: .7; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--mist); cursor: pointer; }
.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--jade); flex: none; }
.form__error { margin: 0; color: #FFB4A8; font-size: 13px; }
.form__success { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: #BFF3DF; background: rgba(76,201,160,.12); border: 1px solid rgba(76,201,160,.4); }
/* campo trampa contra robots: invisible para personas */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field input[aria-invalid="true"], .check input[aria-invalid="true"] { border-color: #FF8A7A; outline-color: #FF8A7A; }
.modal__done { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 10px 0; }
.modal__done h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 10px 0 0; }
.modal__done p { color: var(--mist); margin: 0 0 18px; }
.modal__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(76,201,160,.15); border: 1px solid rgba(76,201,160,.5); box-shadow: 0 0 30px rgba(76,201,160,.35); }
.modal__check svg { width: 30px; height: 30px; fill: none; stroke: var(--jade); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--ink); color: var(--mist); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo { height: 32px; width: auto; opacity: .9; margin-bottom: 18px; }
.footer__about { margin: 0; max-width: 38ch; line-height: 1.6; }
.footer__title { color: var(--pearl); font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__links a, .footer__links button { color: var(--mist); font-size: 14px; text-align: left; padding: 0; transition: color .3s; }
.footer__links a:hover, .footer__links button:hover { color: var(--pearl); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13px; }
.footer__legal p { margin: 0; }

/* Datos de la empresa aún sin confirmar: visibles a propósito para no publicar sin completarlos */
mark.pending { background: rgba(242,190,90,.18); color: #F6D58E; border: 1px dashed rgba(242,190,90,.6); border-radius: 4px; padding: 0 4px; }

/* Aviso de privacidad junto a los formularios */
.privacy-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--mist); }
.privacy-note a, .check a { color: var(--pearl); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; left: 22px; bottom: 22px; z-index: 70; width: min(420px, calc(100% - 110px));
  padding: 22px 22px 20px; border-radius: 22px; color: var(--pearl);
  background: linear-gradient(160deg, rgba(18,32,61,.94), rgba(10,19,38,.96));
  border: 1px solid var(--glass-border); box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: modalIn .6s var(--ease);
}
.consent h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
.consent p { margin: 0 0 14px; font-size: 13.5px; color: var(--mist); line-height: 1.55; }
.consent p a { color: var(--pearl); text-decoration: underline; text-underline-offset: 2px; }
.consent__options { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px; border-radius: 14px; background: rgba(6,11,23,.4); border: 1px solid var(--line); }
.consent__options label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.consent__options small { display: block; color: var(--mist); font-size: 12px; }
.consent__options input { width: 18px; height: 18px; accent-color: var(--jade); flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { padding: 10px 18px; font-size: 13.5px; }
.consent__link { font-size: 13px; color: var(--mist); text-decoration: underline; text-underline-offset: 2px; padding: 10px 4px; }

/* ---------- Páginas legales ---------- */
.legal-top {
  position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px var(--gutter); background: rgba(6,11,23,.8); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.legal-top img { height: 30px; width: auto; }
.legal-top__actions { display: flex; align-items: center; gap: 12px; }
.legal-hero { padding: clamp(60px, 9vw, 110px) 0 40px; background: radial-gradient(900px 400px at 20% 0%, rgba(31,143,110,.14), transparent 70%); }
.legal-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -.015em; }
.legal-hero p { color: var(--mist); max-width: 64ch; margin: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px !important; font-size: 13.5px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 120px; }
.legal-toc { position: sticky; top: 90px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13.5px; }
.legal-toc p { margin: 0 0 10px; color: var(--pearl); font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--mist); }
.legal-toc a { transition: color .3s; }
.legal-toc a:hover { color: var(--jade); }
.legal-doc { max-width: 76ch; }
.legal-doc section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: 90px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; margin: 0 0 14px; }
.legal-doc h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
.legal-doc p, .legal-doc li { color: rgba(236,234,228,.82); font-size: 16px; line-height: 1.75; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0 0 16px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc strong { color: var(--pearl); font-weight: 600; }
.legal-doc a { color: var(--jade); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc .callout { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(76,201,160,.3); background: rgba(76,201,160,.06); margin: 0 0 18px; }
.legal-doc .callout p:last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--pearl); font-weight: 600; }
.legal-table td { color: rgba(236,234,228,.8); }
.legal-scroll { overflow-x: auto; }
.legal-page .wa-float { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .consent { left: 12px; right: 12px; bottom: 84px; width: auto; }
}

/* Halo que sigue al cursor */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; z-index: 1; mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(circle, rgba(76,201,160,.10), transparent 65%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { border-radius: 26px; flex-wrap: wrap; background: rgba(10,19,38,.94); border-color: var(--glass-border); }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 4px; order: 3; width: 100%; padding: 10px 0 14px; font-size: 18px; }
  .nav.is-open .nav__links a { padding: 10px 0; }
  .service__grid { grid-template-columns: 1fr; }
  .orbs { max-width: 640px; width: 100%; margin: 0 auto; }
  .method__grid { grid-template-columns: 1fr; }
  .method__sticky { position: static; }
  .method__counter { display: none; }
}
@media (max-width: 860px) {
  .duel__layer { align-items: flex-end; }
  .duel__layer--after .duel__content { margin-left: 0; }
  .stats { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .products__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .ph-fade { background: linear-gradient(180deg, var(--midnight) 0%, rgba(6,11,23,.4) 30%, rgba(6,11,23,.75) 70%, var(--ink) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 8px 8px 8px 16px; }
  .nav__brand img { height: 28px; }
  .nav__actions .btn, .lang { display: none; }
  .nav.is-open .lang { display: flex; order: 4; }
  .legal-top .lang { display: flex; }
  .legal-top img { height: 24px; }
  .legal-top__actions { gap: 8px; }
  .hero__kicker::before, .hero__kicker::after { display: none; }
  .hero__hint { display: none; }
  .service--ph { height: auto; min-height: 100svh; }
  .ph-photo { object-position: 78% 30%; }
  .ph-content { padding-top: 84px; padding-bottom: 24px; }
  .ph-card { padding: 26px 22px; }
  .ph-card .service__title { font-size: 34px; margin-bottom: 16px; }
  .ph-card .service__text { margin-bottom: 20px; }
  .ph-list { margin-bottom: 24px; }
  .ph-list li { padding: 11px 0; font-size: 15px; }
  .duel { height: 520px; }
  .duel__content { padding: 22px; }
  .duel__label { font-size: 28px; }
  .orbs { height: auto; display: grid; gap: 18px; justify-items: center; }
  .orb { position: relative; inset: auto !important; width: min(300px, 86vw); }
  .orb .orb__text { max-height: 120px; opacity: 1; }
  .orb.is-active { width: min(300px, 86vw); margin: 0; }
  .product__visual { height: 230px; }
  .olimpo-scene { height: 230px; }
  .steps { padding-left: 34px; }
  .step::before { left: -34px; }
  .cursor-glow { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__btn { width: 54px; height: 54px; }
  .wa-float__label { display: none; }
  .wa-big { display: flex; padding-right: 18px; }
  .wa-big__text strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
