/* LandingConvierte — shared styles for every page. Dark blueprint with neon accents. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --noche: #070c1f;        /* page background */
  --plano: #0b1536;        /* blueprint surfaces: hero, contact */
  --panel: #0f1a3d;        /* raised surfaces: form, comparison */
  --panel-2: #142250;
  --tinta: #e9edff;        /* main text */
  --gris: #9ba7d0;         /* secondary text */
  --regla: rgba(150, 170, 255, .16);   /* rules */
  --regla-fuerte: rgba(150, 170, 255, .34);
  --neon: #3ce8ff;         /* the single action color */
  --neon-deep: #12c9e6;
  --neon-glow: rgba(60, 232, 255, .45);
  --violeta: #9b6bff;      /* used only inside glows */
  --sobre-neon: #031220;   /* text on neon */
  --pagina: #f4f6ff;       /* the client page inside the demo */
  --pagina-texto: #121a33;
  --pagina-gris: #56607d;
  --pagina-regla: #d7dcec;
  --error: #ff8a80;

  --condensed: 72%;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 8px;
  --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

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

body {
  margin: 0;
  color: var(--tinta);
  background: var(--noche);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

h1, h2 {
  font-stretch: var(--condensed);
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: .98;
}
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }

::selection { color: var(--sobre-neon); background: var(--neon); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  padding: 10px 14px; border-radius: var(--radius);
  color: var(--sobre-neon); background: var(--neon); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease, translate .25s var(--ease-out);
}
.btn-signal {
  color: var(--sobre-neon); background: var(--neon);
  box-shadow: 0 0 0 0 var(--neon-glow), 0 8px 24px -10px var(--neon-glow);
}
.btn-signal:hover {
  background: #7af0ff;
  box-shadow: 0 0 0 4px rgba(60, 232, 255, .14), 0 0 28px var(--neon-glow);
  translate: 0 -2px;
}
.btn-signal:active { translate: 0 0; }
.btn-outline { color: var(--tinta); border-color: var(--regla-fuerte); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--neon); color: var(--neon); box-shadow: inset 0 0 18px rgba(60, 232, 255, .12); }
.btn[disabled] { opacity: .6; cursor: progress; translate: 0 0; }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(60, 232, 255, .55); text-underline-offset: 5px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.text-link:hover { color: var(--neon); text-decoration-color: var(--neon); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 12, 31, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 232, 255, .55) 30%, rgba(155, 107, 255, .45) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 6px rgba(60, 232, 255, .45)); }
.menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.menu a {
  position: relative; display: inline-block; padding: 8px 0;
  color: var(--gris); font-size: .98rem; font-weight: 500; text-decoration: none;
  transition: color .2s ease;
}
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--neon); box-shadow: 0 0 10px var(--neon);
  scale: 0 1; transform-origin: left; transition: scale .3s var(--ease-out);
}
.menu a:hover, .menu a[aria-current] { color: var(--tinta); }
.menu a:hover::after, .menu a[aria-current]::after { scale: 1 1; }
.nav .btn { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--regla-fuerte); border-radius: var(--radius);
  color: inherit; background: none; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; padding: 8px var(--gutter) 24px;
    background: rgba(7, 12, 31, .97); border-bottom: 1px solid var(--regla);
  }
  .menu-panel.is-open { display: block; animation: menu-in .25s var(--ease-out); }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu a { display: block; padding: 15px 0; font-size: 1.1rem; color: var(--tinta); border-bottom: 1px solid var(--regla); }
  .menu a::after { display: none; }
  .menu a:hover, .menu a[aria-current] { color: var(--neon); }
}
@keyframes menu-in { from { opacity: 0; translate: 0 -8px; } }
@media (max-width: 520px) { .nav > .btn { display: none; } }

/* Blueprint surfaces share the drafting grid, with a light that follows the pointer */
.on-blue {
  position: relative;
  isolation: isolate;
  background-color: var(--plano);
  background-image:
    radial-gradient(900px 520px at 85% -10%, rgba(155, 107, 255, .16), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(60, 232, 255, .10), transparent 60%),
    linear-gradient(rgba(140, 170, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, .06) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  background-position: center, center, center top, center top;
}
.on-blue::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(60, 232, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 232, 255, .5) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, 70%) var(--my, 35%), #000, transparent 70%);
  mask-image: radial-gradient(260px circle at var(--mx, 70%) var(--my, 35%), #000, transparent 70%);
  opacity: var(--spot, 0);
  transition: opacity .4s ease;
}

/* Hero */
.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.hero-copy { padding-top: clamp(0px, 2vw, 28px); }
.lead { max-width: 34em; margin: 26px 0 0; color: var(--gris); font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--gris); font-size: .95rem; }
.pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 8px var(--neon), 0 0 0 0 rgba(60, 232, 255, .55); }
  70%, 100% { box-shadow: 0 0 8px var(--neon), 0 0 0 9px rgba(60, 232, 255, 0); }
}
.hero-plain h1 { max-width: 17em; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.hero-plain .lead { max-width: 40em; }

/* Hero entrance: one orchestrated sequence on load */
.js .hero-copy > *, .js .hero-plain .wrap > *, .js .demo { opacity: 0; translate: 0 22px; filter: blur(6px); }
.js .is-loaded .hero-copy > *, .js .is-loaded .hero-plain .wrap > *, .js .is-loaded .demo {
  opacity: 1; translate: 0 0; filter: blur(0);
  transition: opacity .8s var(--ease-out) var(--d, 0ms), translate .8s var(--ease-out) var(--d, 0ms), filter .8s ease var(--d, 0ms);
}
.hero-copy > :nth-child(2), .hero-plain .wrap > :nth-child(2) { --d: 90ms; }
.hero-copy > :nth-child(3), .hero-plain .wrap > :nth-child(3) { --d: 180ms; }
.hero-copy > :nth-child(4) { --d: 260ms; }
.demo { --d: 200ms; }

/* Hero demo: a landing page drawn as a plan, then built */
.demo-prompt { margin: 0 0 12px; font-weight: 600; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.demo-tab {
  min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--regla-fuerte); border-radius: 999px;
  color: var(--tinta); background: rgba(255, 255, 255, .02);
  font: inherit; font-size: .93rem; font-weight: 500; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.demo-tab:hover { border-color: var(--neon); color: var(--neon); }
.demo-tab[aria-pressed="true"] {
  color: var(--sobre-neon); background: var(--neon); border-color: var(--neon); font-weight: 700;
  box-shadow: 0 0 18px rgba(60, 232, 255, .45);
}

.demo-stage { perspective: 1100px; }
.demo-frame { --accent: #0e8f7e; position: relative; margin: 0; }
.demo-window {
  position: relative;
  border: 1.5px solid rgba(60, 232, 255, .55); border-radius: 12px; overflow: hidden;
  background: var(--pagina);
  box-shadow: 0 0 0 1px rgba(60, 232, 255, .12), 0 0 40px -8px rgba(60, 232, 255, .35), 0 30px 70px -20px rgba(0, 0, 0, .7);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: background-color .6s ease, border-color .6s ease, transform .25s var(--ease-out);
  will-change: transform;
}
/* A scan line sweeps once each time the drawing turns into the page */
.demo-window::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(60, 232, 255, .22) 85%, rgba(60, 232, 255, .9) 100%);
  translate: 0 -100%; opacity: 0;
}
.demo-frame.is-scanning .demo-window::after { animation: scan .75s ease-in-out; }
@keyframes scan {
  0% { translate: 0 -100%; opacity: 1; }
  100% { translate: 0 620px; opacity: 0; }
}
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1.5px solid var(--pagina-regla); transition: border-color .6s ease; }
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--pagina-regla); transition: background-color .6s ease; }
.demo-url { margin-left: 10px; color: var(--pagina-gris); font-size: .78rem; transition: color .6s ease; }
.demo-page { color: var(--pagina-texto); transition: color .6s ease; }
.demo-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 3vw, 26px); }
.demo-brand { font-weight: 800; font-size: .95rem; color: var(--accent); transition: color .6s ease; }
.demo-navlinks { display: flex; gap: 10px; }
.demo-navlinks i { width: 34px; height: 6px; border-radius: 3px; background: var(--pagina-regla); transition: background-color .6s ease; }
.demo-body { padding: clamp(8px, 2vw, 18px) clamp(16px, 3vw, 26px) clamp(20px, 3vw, 30px); }
.demo-title { position: relative; margin: 0; padding-right: 34px; font-stretch: var(--condensed); font-weight: 800; font-size: clamp(1.55rem, 2.9vw, 2.2rem); line-height: 1.04; min-height: 3.12em; }
.demo-sub { margin: 12px 0 0; color: var(--pagina-gris); font-size: .98rem; line-height: 1.45; min-height: 2.9em; transition: color .6s ease; }
.demo-action { position: relative; display: inline-block; margin-top: 16px; padding-right: 40px; }
.demo-btn { display: inline-block; padding: 11px 18px; border: 1.5px solid var(--accent); border-radius: var(--radius); color: #fff; background: var(--accent); font-weight: 700; font-size: .95rem; transition: background-color .6s ease, border-color .6s ease, color .6s ease; }
.demo-trust { position: relative; margin: 22px 0 0; padding: 16px 34px 0 0; border-top: 1.5px solid var(--pagina-regla); font-size: .9rem; transition: border-color .6s ease; }
.demo-trust ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.demo-trust li { display: flex; gap: 9px; align-items: baseline; }
.demo-trust li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: background-color .6s ease; }
.demo-mark {
  position: absolute; right: 0; top: 2px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  color: var(--sobre-neon); background: var(--neon);
  box-shadow: 0 0 12px rgba(60, 232, 255, .7);
  font-stretch: 100%; font-size: .8rem; font-weight: 800; line-height: 1;
}
.demo-trust .demo-mark { top: 16px; }
.demo-action .demo-mark { top: 50%; translate: 0 -50%; }
.demo-caption { margin-top: 12px; color: var(--gris); font-size: .85rem; }
.demo-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--regla); list-style: none; counter-reset: legend; font-size: .93rem; line-height: 1.4; color: var(--gris); }
.demo-legend li { counter-increment: legend; display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.demo-legend li::before { content: counter(legend); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--neon); border: 1px solid rgba(60, 232, 255, .6); font-size: .8rem; font-weight: 800; box-shadow: 0 0 10px rgba(60, 232, 255, .25); }

/* Plan state: the page is still a neon drawing. Applied only when JS runs. */
.js .demo-frame.is-plano .demo-window { background: rgba(7, 12, 31, .55); border-color: var(--neon); }
.js .demo-frame.is-plano .demo-bar,
.js .demo-frame.is-plano .demo-trust { border-color: rgba(60, 232, 255, .35); }
.js .demo-frame.is-plano .demo-bar i,
.js .demo-frame.is-plano .demo-navlinks i { background: rgba(60, 232, 255, .35); }
.js .demo-frame.is-plano .demo-url,
.js .demo-frame.is-plano .demo-sub { color: rgba(205, 245, 255, .7); }
.js .demo-frame.is-plano .demo-page,
.js .demo-frame.is-plano .demo-brand { color: #cdf7ff; }
.js .demo-frame.is-plano .demo-btn { color: var(--neon); background: transparent; border-color: var(--neon); border-style: dashed; }
.js .demo-frame.is-plano .demo-trust li::before { background: var(--neon); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
}
@media (max-width: 520px) {
  .demo-legend { grid-template-columns: 1fr; gap: 10px; }
  .actions .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section + .section:not(.on-blue) { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head p { max-width: 38em; margin: 18px 0 0; color: var(--gris); font-size: 1.12rem; }

/* Services: a ruled list, not a card grid */
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--regla-fuerte); }
.service {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 12px clamp(20px, 4vw, 56px); align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--regla);
  transition: padding-left .35s var(--ease-out), background-color .35s ease;
}
.service::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px;
  background: var(--neon); box-shadow: 0 0 12px var(--neon);
  scale: 1 0; transition: scale .35s var(--ease-out);
}
.service:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(60, 232, 255, .05), transparent 60%); }
.service:hover::before { scale: 1 1; }
.service h3 { font-stretch: var(--condensed); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; }
.service p { margin: 0; color: var(--gris); }
.service .text-link { white-space: nowrap; }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; }
}

.included { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(20px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.included h3 { font-size: 1.2rem; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2px solid var(--neon); border-bottom: 2px solid var(--neon); rotate: -45deg;
  filter: drop-shadow(0 0 4px rgba(60, 232, 255, .8));
}
@media (max-width: 820px) { .included { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--regla-fuerte); border-radius: 12px; background: var(--panel); overflow: hidden; }
.compare-col { padding: clamp(22px, 3.4vw, 40px); transition: background-color .3s ease; }
.compare-col:hover { background: var(--panel-2); }
.compare-col + .compare-col { border-left: 1px solid var(--regla-fuerte); }
.compare-col h3 { font-stretch: var(--condensed); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.05; }
.compare-col > p { margin: 14px 0 0; color: var(--gris); }
.compare-col dl { margin: 22px 0 24px; }
.compare-col dt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--regla); color: var(--neon); font-size: .92rem; font-weight: 600; }
.compare-col dd { margin: 4px 0 0; }
.compare-note { margin: 22px 0 0; color: var(--gris); }
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--regla-fuerte); }
}

/* Process: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 48px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 22px; border-top: 1px solid var(--regla-fuerte); }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 10px;
  color: var(--neon); text-shadow: 0 0 18px rgba(60, 232, 255, .55);
  font-stretch: var(--condensed); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--gris); }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 3rem; }
}

/* Two plain panels (landing-page) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.pair > * { padding-top: 22px; border-top: 1px solid var(--regla-fuerte); }
.pair h3 { margin-bottom: 14px; font-size: 1.3rem; }
.pair p { color: var(--gris); }
.plain-list { margin: 0; padding-left: 1.15em; color: var(--gris); }
.plain-list li { margin: 8px 0; padding-left: 4px; }
.plain-list li::marker { color: var(--neon); }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 54rem; border-top: 1px solid var(--regla-fuerte); }
.faq details { border-bottom: 1px solid var(--regla); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.15rem; line-height: 1.3; cursor: pointer; list-style: none; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin: 4px 6px 0 0; border-right: 2px solid var(--neon); border-bottom: 2px solid var(--neon); rotate: 45deg; transition: rotate .3s var(--ease-out), margin .3s var(--ease-out); }
.faq details[open] summary::after { rotate: -135deg; margin-top: 10px; }
.faq summary:hover, .faq details[open] summary { color: var(--neon); }
.faq details p { max-width: 44em; margin: 0; padding: 0 0 24px; color: var(--gris); }
.faq details[open] p { animation: faq-in .35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; translate: 0 -6px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-copy p { max-width: 30em; margin: 20px 0 0; color: var(--gris); font-size: 1.12rem; }
.contact-copy .check-list { grid-template-columns: 1fr; margin-top: 28px; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(20px, 3.4vw, 36px); border: 1px solid var(--regla-fuerte); border-radius: 14px;
  background: rgba(7, 12, 31, .72);
  box-shadow: 0 0 0 1px rgba(60, 232, 255, .06), 0 0 60px -20px rgba(60, 232, 255, .35);
  backdrop-filter: blur(6px);
}
.field { display: grid; gap: 6px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .93rem; font-weight: 600; }
.field label span { color: var(--gris); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  border: 1px solid var(--regla-fuerte); border-radius: var(--radius);
  color: var(--tinta); background: var(--panel);
  font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select option { color: var(--tinta); background: var(--panel); }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f7aa3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(60, 232, 255, .18), 0 0 18px rgba(60, 232, 255, .25); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--gris); font-size: .88rem; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #a6ffd8; background: rgba(40, 200, 140, .14); border: 1px solid rgba(80, 230, 170, .4); }
.form-status.is-error { color: var(--error); background: rgba(255, 110, 100, .1); border: 1px solid rgba(255, 130, 120, .4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* Closing band (landing-page) */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band h2 { max-width: 12em; }
.band p { max-width: 32em; margin: 16px 0 0; color: var(--gris); }

/* Footer */
.site-footer { position: relative; padding: 40px 0 48px; color: var(--gris); background: #050918; font-size: .95rem; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 232, 255, .4), transparent);
}
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; }
.footer-brand { color: var(--tinta); font-weight: 700; font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.footer-links a { padding: 6px 0; display: inline-block; text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--neon); }
.footer-legal { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--regla); font-size: .88rem; }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 860px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 9, 24, .92); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(60, 232, 255, .25);
    translate: 0 110%; visibility: hidden;
    transition: translate .3s var(--ease-out), visibility 0s linear .3s;
  }
  .action-bar.is-visible { translate: 0 0; visibility: visible; transition: translate .3s var(--ease-out); }
  .action-bar .btn { width: 100%; }
  body.has-action-bar .site-footer { padding-bottom: 110px; }
}

/* Scroll reveal: added by JS only, so content stays visible without it */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s var(--ease-out) var(--rd, 0ms), translate .7s var(--ease-out) var(--rd, 0ms); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.steps li.reveal::before { opacity: .25; text-shadow: none; transition: opacity .9s ease calc(var(--rd, 0ms) + 200ms), text-shadow .9s ease calc(var(--rd, 0ms) + 200ms); }
.steps li.reveal.is-in::before { opacity: 1; text-shadow: 0 0 18px rgba(60, 232, 255, .55); }

/* 404 */
.notfound { min-height: 100vh; display: grid; align-items: center; padding: var(--section) 0; }
.notfound p { max-width: 32em; margin: 22px 0 0; color: var(--gris); font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js .hero-copy > *, .js .hero-plain .wrap > *, .js .demo, .reveal { opacity: 1 !important; translate: none !important; filter: none !important; }
  .demo-window { transform: none !important; }
}

@media print {
  .site-header, .action-bar, .demo-tabs { display: none; }
  body, .on-blue { color: #000; background: #fff; }
}
