/* ==========================================================================
   webSing — estilos
   Paleta tomada del logo: gris, azul, violeta, amarillo, verde y coral
   sobre fondo casi negro.
   ========================================================================== */

:root {
  --bg: #0c0c0f;
  --bg-2: #111116;
  --surface: #15151b;
  --surface-2: #1b1b23;
  --border: #25252f;
  --border-2: #33333f;
  --text: #ececf1;
  --muted: #9b9ba8;
  --dim: #6b6b78;

  --gray: #7b8290;
  --blue: #3d7bff;
  --indigo: #5b5bff;
  --violet: #a970ff;
  --yellow: #ffb547;
  --green: #18c98f;
  --coral: #ff7a7a;

  --grad: linear-gradient(90deg, var(--blue), var(--violet));
  --grad-warm: linear-gradient(90deg, var(--yellow), var(--green));
  --rgb: linear-gradient(90deg, #3d7bff, #a970ff, #ff7a7a, #ffb547, #18c98f, #3d7bff);

  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 84px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(169, 112, 255, .35); }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Brillo ambiental que sigue suave al mouse */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at var(--gx, 75%) var(--gy, 20%), rgba(61, 123, 255, .10), transparent 70%),
    radial-gradient(500px 380px at 90% 70%, rgba(169, 112, 255, .06), transparent 70%),
    radial-gradient(420px 320px at 10% 90%, rgba(24, 201, 143, .04), transparent 70%);
}

/* ---------- Colores utilitarios ---------- */
.l-gray { color: var(--gray); }
.l-blue, .t-blue, .c-blue { color: var(--blue); }
.l-violet, .t-violet, .c-violet { color: var(--violet); }
.l-yellow, .t-yellow, .c-yellow { color: var(--yellow); }
.l-green, .t-green, .c-green { color: var(--green); }
.l-coral, .t-coral, .c-coral { color: var(--coral); }
/* Degradé RGB animado con los colores del logo */
.t-grad, .t-rgb {
  background: var(--rgb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rgbShift 6s linear infinite;
}
.t-glow { filter: drop-shadow(0 0 18px rgba(169, 112, 255, .35)); }
@keyframes rgbShift {
  from { background-position: 0% 50%; }
  to { background-position: 300% 50%; }
}

/* Borde RGB animado (botones) */
.rgb-border {
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--rgb) border-box !important;
  background-size: 100% 100%, 300% 100% !important;
  animation: rgbShift 6s linear infinite;
}

/* Anillo RGB animado alrededor de una tarjeta */
.rgb-ring { isolation: isolate; }
.rgb-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--rgb);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rgbShift 6s linear infinite;
  pointer-events: none;
}

/* ---------- Íconos ---------- */
.ic {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-lg { width: 34px; height: 34px; stroke-width: 1.5; }

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; }
.logo img { width: 210px; height: auto; }
.logo-sm img { width: 160px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s, border-color .25s, color .25s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(77, 101, 255, .7);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(91, 91, 255, .55);
}
.btn-outline-grad {
  color: #c9c3ff;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
}
/* Botón de Instagram con el degradé de la marca de Instagram */
.btn-ig {
  border: 0;
  background: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(221, 42, 123, .8);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 14px 38px -10px rgba(77, 101, 255, .9); }
  .btn-ghost:hover { border-color: var(--violet); background: rgba(169, 112, 255, .08); }
  .btn-outline-grad:hover { color: #fff; box-shadow: 0 0 24px -6px rgba(169, 112, 255, .6); }
  .btn-ig:hover { box-shadow: 0 16px 40px -12px rgba(221, 42, 123, 1); }
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 12, 15, .92);
  border-bottom-color: var(--border);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled {
    background: rgba(12, 12, 15, .72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 44px;
  font-size: 15px;
}
.nav-links a {
  position: relative;
  color: #d4d4dc;
  padding-block: 6px;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.nav-links a.is-active { color: #8f9bff; }
.nav-links a.is-active::after { transform: scaleX(1); }
@media (hover: hover) { .nav-links a:hover { color: #fff; } }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tipografía de secciones ---------- */
.kicker {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}
.section { padding-block: 56px; scroll-margin-top: 70px; }
.section-title {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 17px;
}

/* ---------- Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 40px; scroll-margin-top: 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.hero-title {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.1vw, 3.75rem);
  line-height: 1.12;
  white-space: nowrap;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.caret {
  display: inline-block;
  width: .08em;
  height: .95em;
  margin-left: .12em;
  vertical-align: -.1em;
  background: var(--muted);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-lead {
  font-family: var(--mono);
  color: #c4c4cf;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  max-width: 34em;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c4c4cf;
  font-size: 13.5px;
  line-height: 1.35;
}
.hero-badges .ic { width: 28px; height: 28px; }

/* ---------- Laptop (imagen del boceto) ---------- */
.hero-visual {
  position: relative;
  isolation: isolate;
  margin-right: -17%;
  margin-left: -6%;
}
/* Reflejos de luz sobre la "mesa", como en el boceto: azul a la izquierda, rosa a la derecha */
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.hero-visual::before {
  left: 0; width: 64%;
  top: 80%; height: 26%;
  background: radial-gradient(closest-side, rgba(61, 110, 255, .95), rgba(91, 91, 255, .35) 50%, transparent);
  filter: blur(22px);
  transform: rotate(7deg);
}
.hero-visual::after {
  right: 0; width: 40%;
  top: 74%; height: 28%;
  background: radial-gradient(closest-side, rgba(255, 60, 110, .85), rgba(200, 80, 220, .3) 50%, transparent);
  filter: blur(24px);
  transform: rotate(-12deg);
}
/* Sombra de apoyo bajo la base */
.hero-laptop { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
/* La imagen ya viene recortada con fondo transparente */
.hero-laptop {
  width: 100%;
  height: auto;
}
/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  }
}

/* Incluye */
.incl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.incl { padding: 24px; }
.incl .ic-lg { margin-bottom: 16px; }
.incl h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.incl p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Pasos */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.step {
  display: flex;
  gap: 24px;
  flex: 1 1 0;
  min-width: 0;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 20px;
  font-weight: 500;
}
.step-n::after { content: none; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.step p { color: var(--muted); font-size: 15px; }
.step-arrow {
  flex: none;
  color: var(--dim);
  font-size: 22px;
  padding-top: 10px;
}

/* Planes */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}
.plan::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .9;
}
.plan-featured {
  border-color: transparent;
  background: linear-gradient(180deg, #1a1626, var(--bg-2));
  box-shadow: 0 30px 60px -30px rgba(169, 112, 255, .45);
}
.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  color: #e3d4ff;
  background: rgba(169, 112, 255, .18);
  border: 1px solid rgba(169, 112, 255, .4);
}
.plan-tag { font-family: var(--mono); color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.plan h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.plan-price {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-price small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 6px;
}
.plan-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 22px;
}
.plan-time .ic { width: 16px; height: 16px; }
.plan-pitch {
  color: var(--muted);
  font-size: 15px;
  margin: -8px 0 22px;
  min-height: 4.65em;
}
.plan-price span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.plan-price em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
}
.plan-sub {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
  margin-bottom: 12px;
}
.plan-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.plan-list.plan-no li { color: var(--dim); }
.plan-list.plan-no li::before {
  content: "×";
  left: 1px; top: -.12em;
  width: auto; height: auto;
  border: 0;
  transform: none;
  font-size: 19px;
  line-height: 1.2;
  color: var(--coral);
  opacity: .8;
}
.plan-ideal {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border-2);
  font-size: 14px;
  color: #c9c9d3;
  margin-bottom: 22px;
}
.plan-ideal span {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 4px;
}
.plans-note {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-2);
  background: rgba(255, 255, 255, .015);
}
.plans-note > p { color: var(--muted); max-width: 70ch; }
.plans-note .plans-note-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  margin-bottom: 8px;
}
.plans-note .plans-fine { font-size: 12.5px; color: var(--dim); margin-top: 18px; }
.plan-list li {
  position: relative;
  padding-left: 26px;
  color: #c9c9d3;
  font-size: 15px;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
}

/* Ejemplos */
.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.work { overflow: hidden; }
.work-mock {
  aspect-ratio: 16 / 10;
  margin: 14px 14px 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0;
  transition: transform .5s var(--ease-out);
}
@media (hover: hover) { .work:hover .work-mock { transform: scale(1.025); } }
.mk-bar { display: flex; gap: 5px; padding: 8px 10px; background: rgba(0, 0, 0, .35); }
.mk-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mk-body { padding: 16px; display: grid; gap: 10px; }
.mk-h { height: 12px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.mk-h.short { width: 45%; height: 8px; background: rgba(255, 255, 255, .4); }

.mock-sport { background: linear-gradient(160deg, #0d1a33, #081022); }
.mk-stats { display: flex; gap: 8px; margin-top: 4px; }
.mk-stats b {
  flex: 1;
  font-family: var(--mono);
  font-size: 15px;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  color: #8fb6ff;
  background: rgba(61, 123, 255, .15);
  border: 1px solid rgba(61, 123, 255, .3);
}
.mk-chart { display: flex; align-items: flex-end; gap: 6px; height: 52px; }
.mk-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--blue), rgba(61, 123, 255, .2)); }

.mock-shop { background: linear-gradient(160deg, #2a1c22, #17101a); }
.mock-shop .mk-h { background: #f3d7c6; width: 50%; }
.mk-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-products i {
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    radial-gradient(40% 35% at 50% 55%, rgba(201, 140, 110, .9), transparent 72%),
    rgba(255, 255, 255, .06);
}
.mk-wa {
  justify-self: end;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  background: #1fae5b;
}

.mock-med { background: linear-gradient(160deg, #0d2622, #08161a); }
.mock-med .mk-h { background: #cdf3e6; }
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.mk-split > div:first-child { display: grid; gap: 10px; }
.mk-pill { width: 60%; height: 18px; border-radius: 5px; background: var(--green); margin-top: 6px; }
.mk-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.mk-cal i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.mk-cal i.on { background: var(--green); }

.work-info { padding: 20px 24px 26px; }
.work-tag { font-family: var(--mono); font-size: 13px; margin-bottom: 8px; }
.work-info h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.work-info p:last-child { color: var(--muted); font-size: 15px; }

/* Clientes del exterior */
.section-tight { padding-bottom: 8px; }
.abroad {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background:
    radial-gradient(50% 120% at 0% 50%, rgba(24, 201, 143, .10), transparent 60%),
    radial-gradient(40% 120% at 100% 50%, rgba(61, 123, 255, .10), transparent 60%),
    var(--surface);
}
@media (hover: hover) { .abroad:hover { transform: none; } }
.abroad-ic {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, .03);
  color: var(--gray);
}
.abroad-ic .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.abroad-copy .kicker { margin-bottom: 10px; }
.abroad-title {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 10px;
}
.abroad-copy > p:not(.kicker) { color: var(--muted); max-width: 60ch; }
.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.pay-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  font-weight: 500;
}
.pay-chips .ic { width: 16px; height: 16px; }
.pay-chips li:nth-child(1) .ic { color: var(--blue); }
.pay-chips li:nth-child(2) .ic { color: var(--yellow); }
.pay-chips li:nth-child(3) .ic { color: var(--muted); }
.pay-chips li:nth-child(3) { color: var(--muted); }

/* Contacto */
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  border-color: transparent;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(61, 123, 255, .14), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(169, 112, 255, .12), transparent 60%),
    var(--surface);
}
@media (hover: hover) { .cta:hover { transform: none; } }
.cta-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-form { display: grid; gap: 16px; }
.cta-form label { display: grid; gap: 8px; }
.cta-form label span { font-size: 14px; color: var(--muted); }
.cta-form input, .cta-form select, .cta-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  background: rgba(0, 0, 0, .35);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s;
}
.cta-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.cta-form select option { background: var(--surface); }
.cta-form textarea { resize: vertical; min-height: 110px; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { border-color: var(--violet); outline: none; }
.cta-form .btn { justify-self: start; }
.cta-handle { margin-top: 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.form-note {
  font-size: 14px;
  color: var(--green);
  background: rgba(24, 201, 143, .08);
  border: 1px solid rgba(24, 201, 143, .3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.form-note[hidden] { display: none; }

/* Footer */
.footer { padding: 40px 0 48px; margin-top: 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-note { font-family: var(--mono); color: var(--dim); font-size: 14px; }
.footer-copy { color: var(--dim); font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: si algún día se usa split-text, nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Sólo lo intrusivo se apaga con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 28px; }
  .incl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 40%; }
  .step-arrow { display: none; }
}

@media (max-width: 960px) {
  :root { --nav-h: 70px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 28px;
    background: rgba(12, 12, 15, .98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 0; font-size: 17px; }
  .nav-links a::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; padding: 14px 22px !important; }

  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .plans, .works { grid-template-columns: 1fr; max-width: 560px; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .abroad { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
  .abroad-ic { width: 56px; height: 56px; border-radius: 14px; }
  .abroad-ic .ic { width: 28px; height: 28px; }
  .abroad-btn { justify-self: start; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .logo img { width: 170px; }
  .hero { padding-top: 24px; }
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem); white-space: normal; }
  .hero-visual { width: 104%; max-width: none; margin-left: -1%; }
  .hero-actions { gap: 12px; margin-bottom: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .incl-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .incl { padding: 18px; }
  .incl:last-child { grid-column: 1 / -1; }
  .step { flex: 1 1 100%; gap: 18px; }
  .step-n { width: 44px; height: 44px; font-size: 18px; }
  .section { padding-block: 44px; }
  .cta { padding: 28px 18px; }
  .plans-note { padding: 22px 18px; }
  .plan { padding: 26px 20px; }
  .cta-form .btn { justify-self: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
