/* ==========================================================================
   Sabio Go — Landing SPA (boceto)
   Tema: elegante · moderno · tecnológico · legible
   ========================================================================== */

:root {
  /* Marca */
  --orange: #ff6a00;
  --orange-2: #ff8c2b;
  --orange-deep: #e85d00;
  --grad: linear-gradient(100deg, #ff8c2b 0%, #ff6a00 55%, #ff4d00 100%);

  /* Neutros claros */
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #0e1424;
  --ink-soft: #4b5468;
  --line: #e7e9f1;

  /* Oscuro (hero / IA / contacto / footer) */
  --dark: #0a0e1a;
  --dark-2: #0f1525;
  --dark-soft: #aab3c9;
  --dark-line: rgba(255, 255, 255, .1);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -20px rgba(16, 24, 48, .25);
  --shadow-soft: 0 10px 30px -16px rgba(16, 24, 48, .2);
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Sora", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

/* ============================ Tipografía base ============================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.eyebrow--center { display: block; }
.section--dark .eyebrow { color: var(--orange-2); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================ Botones ============================ */
.btn {
  --pad: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--sm { --pad: 10px 18px; font-size: .88rem; }
.btn--lg { --pad: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(255, 106, 0, .6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(255, 106, 0, .7); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--ink);
}
.section--dark .btn--ghost, .hero .btn--ghost, .nav:not(.is-scrolled) .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.nav:not(.is-scrolled) .btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .12);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--orange); }

/* ============================ NAVBAR ============================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.brand__logo {
  height: clamp(38px, 4.5vw, 52px);
  width: auto;
  max-width: min(320px, 62vw);
  object-fit: contain;
}
.brand__logo--light { display: none; }
.brand__logo--dark { display: block; }
.nav.is-scrolled .brand__logo--light { display: block; }
.nav.is-scrolled .brand__logo--dark { display: none; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand--footer { margin-bottom: 4px; }
.brand__logo-footer {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 108px 0 72px;
  background:
    radial-gradient(1200px 600px at 80% -10%, #1a2342 0%, transparent 60%),
    linear-gradient(160deg, #0a0e1a 0%, #0d1426 50%, #0a0e1a 100%);
  background-color: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; z-index: 1; }
.hero--has-bg-video .hero__canvas { display: none; }

/** Seedance: vórtice de partículas / red de datos (fondo hero). */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: .58;
  z-index: 0;
  pointer-events: none;
}

/** Velo oscuro: legibilidad del copy a la izquierda, video visible a la derecha. */
.hero--has-bg-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    102deg,
    rgba(10, 14, 26, .88) 0%,
    rgba(10, 14, 26, .62) 28%,
    rgba(10, 14, 26, .28) 52%,
    rgba(10, 14, 26, .08) 72%,
    transparent 100%
  );
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(255, 106, 0, .35), transparent 62%);
  filter: blur(40px); pointer-events: none;
  z-index: 1;
}
.hero__grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  width: 100%;
}

.hero__content {
  max-width: 540px;
}

/** Card con captura del panel del ERP (lado derecho del hero). */
.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}

.hero__panel-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  box-shadow:
    0 28px 70px -22px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(255, 106, 0, .12),
    0 0 48px -12px rgba(255, 106, 0, .28);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  animation: heroPanelFloat 9s ease-in-out infinite;
}

.hero__panel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08) 0%, transparent 42%);
}

.hero__panel-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hero__visual:hover .hero__panel-card {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-6px);
  box-shadow:
    0 36px 80px -20px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(255, 106, 0, .22),
    0 0 64px -8px rgba(255, 106, 0, .38);
}

@keyframes heroPanelFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) translateY(-10px); }
}

.hero__title {
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}
.hero__sub {
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  color: var(--dark-soft);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__trust { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero__trust li { font-size: .88rem; color: var(--dark-soft); }
.hero__trust b { color: #fff; font-family: var(--font-display); }

/* Copy hero legible sobre video, sin card — solo sombras y color */
.hero .eyebrow {
  color: #ffc285;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
  margin-bottom: 14px;
}

.hero--has-bg-video .hero__sub {
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.hero--has-bg-video .hero__trust li {
  color: rgba(255, 255, 255, .75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.hero--has-bg-video .hero__trust b {
  color: #fff;
}

/* ============================ SERVICIO — video presentación ============================ */
.servicio__showcase {
  width: min(940px, 100%);
  margin: 0 auto 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}

.servicio__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1112 / 834;
  object-fit: contain;
  vertical-align: top;
  background: #fff;
}

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll span {
  display: block; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } }

/* ============================ LOGOS ============================ */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.logos__label { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 56px; }
.logos__row span { font-family: var(--font-display); font-weight: 700; color: #c2c7d6; letter-spacing: .05em; font-size: 1.05rem; transition: color .3s; }
.logos__row span:hover { color: var(--orange); }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; overflow: hidden; }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; margin-bottom: 18px; }
.section__title--light { color: #fff; }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; }
.section__lead--light { color: var(--dark-soft); }
.section__lead em { color: var(--ink); font-style: normal; opacity: .7; font-size: .92em; }

/* ============================ GRID & CARDS ============================ */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.section--alt .card { background: #fff; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(255, 140, 43, .16), rgba(255, 77, 0, .1));
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* feature cards */
.feature {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleX(1); }
.feature__ico { font-size: 1.7rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .94rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center; margin-top: 44px; }
.chips__label { font-weight: 600; color: var(--ink-soft); }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255, 106, 0, .08); color: var(--orange-deep); border: 1px solid rgba(255, 106, 0, .18);
  transition: background .25s, transform .25s;
}
.chip:hover { background: rgba(255, 106, 0, .16); transform: translateY(-2px); }

/* ============================ IA / ÚLTIMA GENERACIÓN ============================ */
#ia { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }

.ia__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(255, 106, 0, .25), transparent 60%),
    radial-gradient(500px 400px at 10% 80%, rgba(80, 120, 255, .18), transparent 60%);
}

/** Seedance: orbe IA como fondo loop de toda la sección. */
.ia__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  pointer-events: none;
}

.ia--has-bg-video .ia__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 14, 26, .92) 0%,
    rgba(10, 14, 26, .78) 42%,
    rgba(10, 14, 26, .45) 100%
  );
  pointer-events: none;
}

.ia__inner {
  position: relative;
  z-index: 2;
  display: block;
}

.ia__copy {
  max-width: 560px;
}

.ia__quote { margin-top: 26px; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; color: #fff; line-height: 1.4; }

/* ============================ MÉTRICAS ============================ */
.metrics { background: var(--dark-2); color: #fff; padding: 60px 0; }
.metric { text-align: center; }
.metric b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric span { color: var(--dark-soft); font-size: .92rem; }

/* ============================ CASOS DE ÉXITO ============================ */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; padding: 0 26px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case__shot {
  margin: 0 -26px 18px; height: 150px; display: grid; place-items: center;
  background: linear-gradient(135deg, #131b30, #1d2742);
  color: rgba(255, 255, 255, .55); font-size: .85rem; letter-spacing: .04em;
  background-image: linear-gradient(135deg, #131b30, #1d2742),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
}
.case__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); background: rgba(255, 106, 0, .1); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.case h3 { font-size: 1.18rem; margin-bottom: 8px; }
.case p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 14px; }
.case blockquote { font-style: italic; color: var(--ink); border-left: 3px solid var(--orange); padding-left: 14px; margin-bottom: 8px; font-size: .96rem; }
.case__author { font-size: .82rem; color: var(--ink-soft); }

/* ============================ RUBROS ============================ */
.rubros { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.rubro {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rubro:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rubro__ico { font-size: 2rem; margin-bottom: 14px; }
.rubro h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rubro p { color: var(--ink-soft); font-size: .94rem; }
.rubro--hero {
  position: relative; color: #fff; border: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #18223c 0%, #0e1424 100%);
  overflow: hidden;
}
.rubro--hero::after { content: ""; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,106,0,.4), transparent 65%); }
.rubro--hero .rubro__ico { font-size: 2.6rem; position: relative; }
.rubro--hero h3 { font-size: 1.55rem; position: relative; }
.rubro--hero p { color: var(--dark-soft); position: relative; }
.rubro__badge { position: relative; align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--grad); color: #fff; padding: 6px 13px; border-radius: 999px; margin-bottom: auto; }
.rubros__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ============================ STEPS ============================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.section--alt .step { background: #fff; }
.step__n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px; box-shadow: 0 10px 22px -8px rgba(255, 106, 0, .6);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ============================ NOSOTROS ============================ */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about__media {
  position: relative; min-height: 320px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #18223c, #0e1424);
  display: grid; place-items: center; overflow: hidden;
}
.about__media::before { content: "◆"; font-size: 7rem; color: rgba(255, 106, 0, .25); font-family: var(--font-display); }
.about__media::after { content: ""; position: absolute; bottom: -60px; left: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,106,0,.35), transparent 65%); }
.about__badge { position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); text-align: center; }
.about__badge b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); }
.about__badge span { font-size: .74rem; color: var(--ink-soft); }
.about__badge { top: 26px; right: 26px; }
.about__badge--2 { top: auto; right: auto; bottom: 26px; left: 26px; }
.about__text p { color: var(--ink-soft); margin-top: 14px; }
.about__text strong { color: var(--ink); }

/* ============================ FAQ ============================ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] { box-shadow: var(--shadow-soft); border-color: transparent; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--orange); transition: transform .3s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); padding-bottom: 20px; font-size: .98rem; }

/* ============================ CONTACTO ============================ */
.contact { padding: clamp(80px, 10vw, 130px) 0; }
.contact__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 15% 20%, rgba(255, 106, 0, .25), transparent 60%),
    radial-gradient(500px 400px at 90% 90%, rgba(80, 120, 255, .15), transparent 60%);
}

/** Seedance: búho + ecosistema ERP — cierre de contacto (loop ~10 s). */
.contact__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .54;
  pointer-events: none;
}

.contact--has-bg-video .contact__bg {
  background: linear-gradient(
    105deg,
    rgba(10, 14, 26, .86) 0%,
    rgba(10, 14, 26, .62) 36%,
    rgba(10, 14, 26, .38) 100%
  );
}
.contact__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.wa-link {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .4);
  padding: 14px 20px; border-radius: 16px; transition: transform .25s, background .25s;
}
.wa-link:hover { transform: translateY(-3px); background: rgba(37, 211, 102, .2); }
.wa-link__ico { font-size: 1.6rem; }
.wa-link span { color: var(--dark-soft); font-size: .85rem; line-height: 1.35; }
.wa-link b { color: #fff; font-size: 1.1rem; font-family: var(--font-display); }

.contact__data { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--dark-soft); font-size: .94rem; }

.contact__form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.field { margin-bottom: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark-soft); margin-bottom: 7px; }
.field label span { font-weight: 400; opacity: .7; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-family: var(--font); font-size: .95rem;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); color: #fff; transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .1); }
.contact__legal { font-size: .78rem; color: var(--dark-soft); text-align: center; margin-top: 14px; }

/* ============================ FOOTER ============================ */
.footer { background: #070a13; color: var(--dark-soft); padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer__brand p { margin-top: 16px; font-size: .9rem; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; font-size: .9rem; color: var(--dark-soft); margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--orange-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .85rem; }
.footer__social { display: flex; gap: 20px; }
.footer__social a:hover { color: var(--orange-2); }

/* ============================ REVEAL ANIMATION ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero__content { max-width: none; }
  .hero__visual {
    justify-self: center;
    max-width: 520px;
  }
  .hero__panel-card {
    transform: none;
    animation: none;
  }
  .hero__visual:hover .hero__panel-card { transform: translateY(-4px); }
  .ia__inner, .contact__inner, .about { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rubros { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero--has-bg-video::before {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 26, .93) 0%,
      rgba(10, 14, 26, .78) 45%,
      rgba(10, 14, 26, .55) 100%
    );
  }
  .hero__bg-video { object-position: center 40%; opacity: .55; }
  .hero__content { max-width: none; }
  .ia--has-bg-video .ia__bg::after {
    background: linear-gradient(180deg, rgba(10, 14, 26, .94) 0%, rgba(10, 14, 26, .82) 100%);
  }
  .ia__copy { max-width: none; }
  .brand__logo {
    height: clamp(34px, 9vw, 42px);
    max-width: min(240px, 58vw);
  }
  .nav__actions .btn--ghost { display: none; }

  .grid--3, .grid--4, .rubros__grid, .steps { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 40px; }
}

/* Respeta accesibilidad de movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg-video,
  .ia__bg-video,
  .contact__bg-video { display: none !important; }
  .hero--has-bg-video .hero__canvas { display: block; }
  .hero__panel-card { animation: none !important; transform: none !important; }
  .servicio__video { display: none !important; }
  .ia--has-bg-video .ia__bg::after {
    background: linear-gradient(160deg, rgba(10, 14, 26, .95) 0%, rgba(10, 14, 26, .88) 100%);
  }
}
