/* ==========================================================================
   netideas.cl — Sistema de diseño
   Sitio estático propio · Chile
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --ink-950: #060a12;
  --ink-900: #0a101d;
  --ink-850: #0d1524;
  --ink-800: #111a2e;
  --ink-700: #1a2740;
  --ink-600: #2b3a58;

  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --paper-warm: #faf8f4;
  --line: #e6eaf2;
  --line-dark: rgba(255, 255, 255, 0.09);

  --text: #0b1120;
  --text-soft: #4d5872;
  --text-mute: #5a6478;
  --text-invert: #f7f9fd;
  --text-invert-soft: #a8b3ca;

  --green: #6cc24a;
  --green-bright: #8fe35b;
  --green-deep: #33741c;
  --cyan: #00b8e0;
  --cyan-bright: #4fd8f2;
  --magenta: #e31c79;
  --pink-bright: #f45fa8;
  --amber: #f5a623;
  --red: #e4262f;

  --grad-brand: linear-gradient(100deg, #8fe35b 0%, #4fd8f2 48%, #f45fa8 100%);
  --grad-green: linear-gradient(135deg, #8fe35b, #58b63a);
  --grad-cyan: linear-gradient(135deg, #55dcf5, #00a6cf);
  --grad-magenta: linear-gradient(135deg, #f45fa8, #d2146c);

  --shadow-sm: 0 2px 8px rgba(11, 17, 32, 0.06);
  --shadow-md: 0 14px 34px rgba(11, 17, 32, 0.09);
  --shadow-lg: 0 30px 70px rgba(11, 17, 32, 0.16);
  --shadow-dark: 0 40px 90px rgba(0, 0, 0, 0.5);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --container: 1180px;
  --header-h: 76px;

  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--text);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong, b { font-weight: 600; }
::selection { background: var(--green); color: #06120a; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilidades ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(840px, 100% - 48px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 18px;
  border-radius: var(--r-pill); background: var(--green); color: #06120a;
  font-weight: 600; transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.text-soft { color: var(--text-soft); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  line-height: 1.1; letter-spacing: -0.01em; border: 1px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: var(--grad-green); color: #06160a;
  box-shadow: 0 10px 26px rgba(108, 194, 74, 0.28);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(108, 194, 74, 0.36); }
.btn--dark { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-md); }
.btn--dark:hover { background: var(--ink-800); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18);
  color: #fff; backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.btn--outline { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: #c9d2e4; box-shadow: var(--shadow-md); }
.btn--wa { background: #22c55e; color: #04180a; box-shadow: 0 10px 26px rgba(34, 197, 94, 0.25); }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--green-deep); transition: gap 0.2s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { gap: 12px; }
.link-arrow--light { color: var(--green-bright); }

/* ---------- Eyebrow / chips ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-deep);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 4px rgba(108, 194, 74, 0.16);
}
.eyebrow--light { color: var(--green-bright); }
.eyebrow--light::before { box-shadow: 0 0 0 4px rgba(143, 227, 91, 0.14); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.01em; color: var(--text-invert-soft);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.pill svg { width: 14px; height: 14px; color: var(--green-bright); }
.pill--light { color: var(--text-soft); background: #fff; border-color: var(--line); }
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(108, 194, 74, 0.2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    border-color 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  height: 66px; background: rgba(6, 10, 18, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; position: relative; z-index: 120; }
.brand img { width: clamp(158px, 15vw, 186px); height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 0.925rem; font-weight: 500; color: #c8d1e4;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--grad-green);
}
.nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; position: relative; z-index: 120; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05); color: #fff;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 68px) 0 92px;
  background: var(--ink-950); color: var(--text-invert);
}
.hero--compact { padding: calc(var(--header-h) + 58px) 0 76px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 20%, transparent 72%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow--green { width: 520px; height: 520px; left: -180px; top: -140px; background: #4fae2f; opacity: 0.22; }
.glow--cyan { width: 540px; height: 540px; right: -160px; top: -180px; background: #00a6cf; opacity: 0.2; }
.glow--magenta { width: 460px; height: 460px; right: 10%; bottom: -260px; background: #d2146c; opacity: 0.18; }
.hero__inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center;
}
.hero__copy { max-width: 620px; min-width: 0; }
.hero h1 {
  color: #fff; font-size: clamp(2.55rem, 5vw, 4.25rem);
  letter-spacing: -0.04em; margin-bottom: 22px;
}
.hero__lead {
  max-width: 540px; margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.65; color: var(--text-invert-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 0.82rem; color: #8b97b0;
}
.hero__note svg { width: 15px; height: 15px; color: var(--green-bright); }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.hero__points li { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; color: #c3cde0; }
.hero__points svg { width: 18px; height: 18px; color: var(--green-bright); flex: none; }
.hero__visual {
  position: relative; display: flex; justify-content: center;
  align-items: center; min-height: 560px;
}
.hero__visual::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(108, 194, 74, 0.2), transparent 65%);
  filter: blur(20px);
}

/* ---------- Cabecera de página ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 82px;
  background: var(--ink-950); color: var(--text-invert);
}
.page-hero__inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px; align-items: center;
}
.page-hero--center .page-hero__inner { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.page-hero--center .hero__actions { justify-content: center; }
.page-hero--center .hero__lead { margin-inline: auto; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.7rem); letter-spacing: -0.038em; }
.page-hero .hero__lead { margin-bottom: 28px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 0.82rem; color: #8490a9;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.breadcrumb span { color: #c3cde0; }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 8.5vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--soft { background: var(--paper-soft); }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--ink-950); color: var(--text-invert); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--text-invert-soft); }
.section--border-top { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -0.035em; margin-bottom: 16px;
}
.section-head p { font-size: 1.06rem; line-height: 1.7; color: var(--text-soft); margin: 0; }
.section--dark .section-head p { color: var(--text-invert-soft); }
.section-head--center .eyebrow { justify-content: center; }
.section-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  justify-content: center; margin-top: 44px;
}

/* ---------- Tarjetas de servicio ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6deee; }
.card--dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.09); box-shadow: none;
}
.card--dark:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}
.card--link { color: inherit; }
.service-card { overflow: hidden; padding: 0; }
.service-card__top {
  position: relative; height: 150px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; background: var(--ink-900);
}
.service-card__top::before { content: ""; position: absolute; inset: 0; opacity: 0.9; }
.service-card--green .service-card__top::before {
  background: radial-gradient(circle at 30% 20%, rgba(143, 227, 91, 0.35), transparent 60%),
    linear-gradient(135deg, #0d1a12, #0a101d);
}
.service-card--cyan .service-card__top::before {
  background: radial-gradient(circle at 70% 20%, rgba(79, 216, 242, 0.32), transparent 60%),
    linear-gradient(135deg, #08161d, #0a101d);
}
.service-card--magenta .service-card__top::before {
  background: radial-gradient(circle at 60% 10%, rgba(244, 95, 168, 0.3), transparent 60%),
    linear-gradient(135deg, #170a13, #0a101d);
}
.service-card__top svg { position: relative; width: 46px; height: 46px; color: #fff; opacity: 0.95; }
.service-card__top .service-card__tag {
  position: absolute; top: 14px; left: 14px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px;
  border-radius: var(--r-pill); color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.service-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }
.icon-tile {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; margin-bottom: 18px;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--green { background: rgba(108, 194, 74, 0.13); color: #3f8a24; }
.icon-tile--cyan { background: rgba(0, 184, 224, 0.12); color: #0484a3; }
.icon-tile--magenta { background: rgba(227, 28, 121, 0.11); color: #c2146a; }
.icon-tile--dark { background: rgba(255, 255, 255, 0.07); color: var(--green-bright); }

/* ---------- Listas de features ---------- */
.check-list { display: grid; gap: 13px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 0.96rem; line-height: 1.5; color: var(--text-soft);
}
.check-list svg { width: 20px; height: 20px; margin-top: 1px; flex: none; color: var(--green-deep); }
.check-list--light li { color: var(--text-invert-soft); }
.check-list--light svg { color: var(--green-bright); }
.check-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }

/* ---------- Split / feature rows ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
.split__body > p { font-size: 1.02rem; color: var(--text-soft); margin-bottom: 24px; }
.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--ink-900);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 4 / 3; }
.media-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; color: var(--text);
}
.media-badge svg { width: 20px; height: 20px; color: var(--green-deep); }
.media-badge small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-mute); }
.media-badge--br { right: -14px; bottom: 24px; }
.media-badge--tl { left: -14px; top: 24px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%;
  background: var(--ink-900); color: var(--green-bright);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--text-soft); margin: 0; }
.step::after {
  content: ""; position: absolute; top: 48px; right: -22px;
  width: 22px; height: 1px; background: var(--line);
}
.step:last-child::after { display: none; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; overflow: hidden; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.09);
}
.stat { padding: 28px 24px; background: var(--ink-950); text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1;
}
.stat__num span { color: var(--green-bright); }
.stat__label { margin-top: 8px; font-size: 0.8rem; color: #94a0b8; }

/* ---------- Demos en vivo ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.demo-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--ink-900); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.demo-card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-800);
}
.demo-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s var(--ease);
}
.demo-card:hover .demo-card__media img { transform: scale(1.045); }
.demo-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 18, 0.65));
}
.demo-card__body {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px 20px;
}
.demo-card__body h3 { font-size: 1.02rem; margin: 0 0 2px; }
.demo-card__body p { margin: 0; font-size: 0.8rem; color: #9aa6be; }
.demo-card__arrow {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff;
}
.demo-card__arrow svg { width: 16px; height: 16px; }
.demo-card:hover .demo-card__arrow { background: var(--green); color: #06160a; }
.demo-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px;
  border-radius: var(--r-pill); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  background: rgba(6, 10, 18, 0.6); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

/* ---------- Phone demo ---------- */
.phone-stage {
  position: relative; display: flex; justify-content: center;
  align-items: center; width: 100%;
}
.phone-wrap {
  position: relative; z-index: 2; width: min(330px, 100%);
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.55));
  animation: phone-float 7s ease-in-out infinite;
}
.phone {
  position: relative; padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, #33405a 0%, #0a101d 55%, #1b2740 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 0.28);
}
.phone::before {
  content: ""; position: absolute; top: 130px; right: -2px; width: 3px;
  height: 74px; border-radius: 2px;
  background: linear-gradient(180deg, #3a4864, #16203a);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 6; width: 88px; height: 24px; border-radius: 999px; background: #05080f;
}
.phone__screen {
  position: relative; display: flex; flex-direction: column; height: 566px;
  overflow: hidden; border-radius: 38px; background: var(--paper-warm); color: var(--text);
}
.m-app { display: flex; flex-direction: column; height: 100%; }
.m-app__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px 6px; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.02em; color: #0b1120;
}
.m-app__bar-icons { display: flex; align-items: center; gap: 4px; }
.m-app__bar-icons svg { width: 11px; height: 11px; }
.m-app__head { display: flex; align-items: center; gap: 9px; padding: 8px 18px 12px; }
.m-app__logo {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 11px; background: #14110c; color: #f3b544;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.m-app__title {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em;
}
.m-app__sub {
  display: flex; align-items: center; gap: 3px; font-size: 0.56rem;
  font-weight: 500; color: #7a8398;
}
.m-app__sub svg { width: 9px; height: 9px; color: var(--green-deep); }
.m-chips {
  display: flex; gap: 6px; padding: 0 18px 12px; overflow-x: auto;
  scrollbar-width: none;
}
.m-chips::-webkit-scrollbar { display: none; }
.m-chip {
  flex: none; padding: 7px 11px; border-radius: 999px; border: 1px solid #e6e0d4;
  background: #fff; font-size: 0.6rem; font-weight: 600; color: #5b6478;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.m-chip.is-active { background: #14110c; border-color: #14110c; color: #fff; }
.m-list {
  display: flex; flex: 1; flex-direction: column; gap: 8px;
  padding: 0 16px 12px; overflow-y: auto; scrollbar-width: none;
}
.m-list::-webkit-scrollbar { display: none; }
.m-item {
  display: flex; gap: 9px; padding: 7px; border-radius: 13px; background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.07);
  animation: item-in 0.35s var(--ease) both;
}
.m-item__img { width: 58px; height: 58px; flex: none; border-radius: 9px; object-fit: cover; }
.m-item__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.m-item__name { display: block; font-size: 0.66rem; font-weight: 700; line-height: 1.2; }
.m-item__desc { margin-top: 3px; font-size: 0.55rem; line-height: 1.3; color: #78829a; }
.m-item__price { margin-top: 4px; font-size: 0.64rem; font-weight: 700; color: #1f7a3a; }
.m-app__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px 20px; border-top: 1px solid #ece6da; background: #fff;
}
.m-app__foot span { font-size: 0.56rem; color: #7a8398; }
.m-app__foot strong { display: block; font-size: 0.62rem; color: #14110c; }
.m-app__foot svg { width: 26px; height: 26px; color: #14110c; }
.qr-float {
  position: absolute; z-index: 4; left: max(-24px, -6%); bottom: 26px;
  width: 150px; padding: 9px 9px 11px; border-radius: 18px; background: #fff;
  color: var(--text); text-align: center; transform: rotate(-7deg);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42);
  animation: qr-float 8s ease-in-out infinite;
}
.qr-float img { width: 100%; border-radius: 10px; }
.qr-float span {
  display: block; margin-top: 6px; font-size: 0.53rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #33405a;
}
.hero-badge {
  position: absolute; z-index: 6; top: -10px; right: max(-2px, -1%);
  display: flex; align-items: center; gap: 9px; padding: 11px 15px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg); font-size: 0.72rem; font-weight: 600; color: var(--text);
  animation: phone-float 6s ease-in-out infinite reverse;
}
.hero-badge svg { width: 18px; height: 18px; color: var(--green-deep); }
.hero-badge small { display: block; font-size: 0.58rem; font-weight: 500; color: var(--text-mute); }

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes qr-float {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}
@keyframes item-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Showcase QR / photo ---------- */
.qr-photo { position: relative; }
.qr-photo img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.qr-photo__chip {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
}
.qr-photo__chip svg { width: 22px; height: 22px; flex: none; color: var(--green-deep); }
.qr-photo__chip strong { display: block; font-size: 0.83rem; line-height: 1.2; }
.qr-photo__chip span { font-size: 0.72rem; color: var(--text-mute); }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, #8fe35b, #4fd8f2 50%, #f45fa8) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: var(--r-pill); background: var(--ink-900);
  color: #fff; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
}
.plan__name {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.plan__desc { min-height: 42px; font-size: 0.86rem; line-height: 1.45; color: var(--text-mute); }
.plan__price {
  display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; color: var(--text);
}
.plan__price .amount { font-size: 2.35rem; line-height: 1; }
.plan__price .per {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  color: var(--text-mute); letter-spacing: 0;
}
.plan__price--quote .amount { font-size: 1.7rem; }
.plan__note { font-size: 0.74rem; color: var(--text-mute); }
.plan__list {
  display: grid; gap: 11px; margin: 22px 0 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan__list li {
  display: flex; align-items: flex-start; gap: 9px; font-size: 0.87rem;
  line-height: 1.45; color: var(--text-soft);
}
.plan__list svg { width: 17px; height: 17px; margin-top: 2px; flex: none; color: var(--green-deep); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 22px; font-size: 0.78rem; color: var(--text-mute); text-align: center; }

/* ---------- Tabla comparativa ---------- */
.compare-wrap {
  overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm);
}
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  background: var(--paper-soft); color: var(--text);
}
.compare td { color: var(--text-soft); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child) { text-align: center; }
.compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--green-deep); font-weight: 600; }
.compare .no { color: #b3bccd; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq__item[open] { border-color: #cfd9eb; box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 600;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; width: 10px; height: 1.5px; border-radius: 2px;
  background: var(--text-soft);
}
.faq__icon::after { transform: rotate(90deg); transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__icon { background: var(--ink-900); border-color: var(--ink-900); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer {
  padding: 0 22px 20px; font-size: 0.94rem; line-height: 1.65;
  color: var(--text-soft); max-width: 92%;
}
.faq__answer p { margin: 0; }
.faq__answer a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: clamp(44px, 5.5vw, 68px);
  border-radius: var(--r-xl); background: var(--ink-950); color: #fff; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 75%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px;
  right: -140px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 194, 74, 0.3), transparent 65%);
  filter: blur(30px);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 {
  max-width: 620px; color: #fff; font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  margin-bottom: 12px;
}
.cta-band p { max-width: 520px; margin: 0; color: var(--text-invert-soft); font-size: 1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; padding: 76px 0 0; background: var(--ink-950);
  color: var(--text-invert-soft); border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 54px; }
.footer__brand img { width: 178px; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; font-size: 0.9rem; line-height: 1.65; color: #94a0b8; }
.footer__col h3 {
  margin: 0 0 16px; font-family: var(--font-body); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 0.9rem; color: #94a0b8; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #94a0b8;
}
.footer__contact svg {
  width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--green-bright);
}
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem; color: #7d89a2;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: #fff; }
.footer__made { display: inline-flex; align-items: center; gap: 7px; }
.footer__made svg { width: 14px; height: 14px; color: var(--green-bright); }

/* ---------- Formulario de contacto ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px; align-items: start;
}
.form-card {
  padding: clamp(26px, 3.5vw, 40px); border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #dfe5f0; border-radius: 12px;
  background: #fbfcfe; font-size: 0.94rem; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 126px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 194, 74, 0.14);
}
.field--error input, .field--error select, .field--error textarea {
  border-color: var(--red); background: #fff7f7;
}
.field__error { display: none; font-size: 0.76rem; color: #c0272d; }
.field--error .field__error { display: block; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }
.form-consent {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px;
  font-size: 0.8rem; line-height: 1.5; color: var(--text-mute);
}
.form-consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--green-deep); }
.form-consent a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.form-status {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  font-size: 0.88rem; line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #eef9e9; border: 1px solid #cbe9b9; color: #26611a; }
.form-status--error { background: #fdf0f0; border: 1px solid #f3cdcd; color: #a11f24; }
.form-card .btn { margin-top: 4px; }
.form-alt { margin-top: 18px; font-size: 0.78rem; color: var(--text-mute); text-align: center; }
.contact-aside { display: grid; gap: 16px; }
.contact-card {
  padding: 24px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.contact-card--dark { background: var(--ink-950); border-color: transparent; color: #fff; }
.contact-card--dark h3, .contact-card--dark p, .contact-card--dark strong { color: #fff; }
.contact-card--dark p { color: var(--text-invert-soft); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.88rem; color: var(--text-soft); }
.contact-links { display: grid; gap: 4px; margin-top: 14px; }
.contact-link {
  display: flex; align-items: center; gap: 11px; padding: 10px 0;
  font-size: 0.92rem; font-weight: 500; color: var(--text); transition: color 0.2s;
}
.contact-link svg { width: 18px; height: 18px; color: var(--green-deep); }
.contact-link:hover { color: var(--green-deep); }
.contact-card--dark .contact-link { color: #fff; }
.contact-card--dark .contact-link svg { color: var(--green-bright); }
.contact-card--dark .contact-link:hover { color: var(--green-bright); }
.hours { display: grid; gap: 8px; margin-top: 14px; font-size: 0.84rem; }
.hours li {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px;
  border-bottom: 1px dashed #e3e8f2;
}
.hours li:last-child { border: 0; padding-bottom: 0; }
.hours span { color: var(--text-mute); }
.hours strong { font-weight: 600; }

/* ---------- Página de legales ---------- */
.legal { padding: 52px 0 80px; background: var(--paper-soft); }
.legal__card {
  max-width: 860px; margin-inline: auto; padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.legal__card h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.legal__meta { margin-bottom: 34px; font-size: 0.82rem; color: var(--text-mute); }
.legal__card h2 { font-size: 1.22rem; margin: 34px 0 12px; }
.legal__card p, .legal__card li {
  font-size: 0.95rem; line-height: 1.7; color: var(--text-soft);
}
.legal__card ul { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal__card a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.error-page {
  display: flex; align-items: center; min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background: var(--ink-950); color: #fff; text-align: center;
}
.error-page h1 {
  font-size: clamp(4rem, 14vw, 9rem); line-height: 1; margin-bottom: 16px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.error-page p { max-width: 480px; margin: 0 auto 30px; color: var(--text-invert-soft); }

/* ---------- Mockups ---------- */
.browser {
  overflow: hidden; border-radius: var(--r-lg); border: 1px solid #dfe5f0;
  background: #fff; box-shadow: var(--shadow-lg);
}
.browser__bar {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  background: #f2f5fa; border-bottom: 1px solid #e3e8f2;
}
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe5f0; }
.browser__bar i:nth-child(1) { background: #ff6058; }
.browser__bar i:nth-child(2) { background: #ffbd2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff;
  border: 1px solid #e3e8f2; font-size: 0.62rem; color: #5a6478;
}
.browser__body { position: relative; height: 360px; overflow: hidden; background: #fff; }
.fake-site {
  position: absolute; inset: 0; padding: 26px 32px; display: grid;
  grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: center;
  background: radial-gradient(circle at 100% 0%, #eef7e8, transparent 55%), #fff;
}
.fake-site__eyebrow { width: 76px; height: 7px; border-radius: 4px; background: var(--green); opacity: 0.75; }
.fake-site__title { width: 92%; height: 17px; margin-top: 14px; border-radius: 5px; background: #111a2e; }
.fake-site__title + .fake-site__title { width: 68%; margin-top: 8px; }
.fake-site__text { width: 100%; height: 7px; margin-top: 8px; border-radius: 4px; background: #dfe5f0; }
.fake-site__text + .fake-site__text { width: 84%; }
.fake-site__btn { display: inline-block; width: 96px; height: 28px; margin-top: 18px; border-radius: 999px; background: var(--ink-900); }
.fake-site__art {
  position: relative; aspect-ratio: 1; border-radius: 18px;
  background: linear-gradient(145deg, #e9f5e1, #d6eef7); overflow: hidden;
}
.fake-site__art::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: linear-gradient(145deg, #8fe35b, #00b8e0); filter: blur(2px); opacity: 0.85;
}
.fake-site__art::after {
  content: ""; position: absolute; width: 46%; height: 30%; right: 8%; bottom: 8%;
  border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(11, 17, 32, 0.16);
}
.fake-site__art span {
  position: absolute; left: 10%; top: 12%; width: 34%; height: 9%;
  border-radius: 6px; background: rgba(255, 255, 255, 0.9); z-index: 2;
}
.dash {
  overflow: hidden; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1524; box-shadow: var(--shadow-dark);
}
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dash__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.dash__bar span { margin-left: auto; font-size: 0.6rem; color: #7f8ba3; letter-spacing: 0.08em; text-transform: uppercase; }
.dash__body { display: grid; grid-template-columns: 116px 1fr; min-height: 320px; }
.dash__side {
  display: flex; flex-direction: column; gap: 9px; padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.015);
}
.dash__side i { height: 9px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.dash__side i:first-child { background: var(--green); opacity: 0.7; width: 70%; }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpi { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.dash__kpi span { display: block; width: 54%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.dash__kpi strong {
  display: block; margin-top: 9px; font-family: var(--font-display);
  font-size: 1.15rem; color: #fff; letter-spacing: -0.03em;
}
.dash__kpi em { display: block; margin-top: 3px; font-size: 0.55rem; font-style: normal; color: var(--green-bright); }
.dash__chart {
  flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 16px 14px 0;
  border-radius: 12px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dash__chart i {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #6cc24a, rgba(108, 194, 74, 0.16)); min-height: 12px;
}
.dash__chart i:nth-child(2n) { background: linear-gradient(180deg, #4fd8f2, rgba(79, 216, 242, 0.14)); }
.dash__chart i:nth-child(3n) { background: linear-gradient(180deg, #f45fa8, rgba(244, 95, 168, 0.14)); }

/* ---------- Marquee de confianza ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 0; }
.trust__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
}
.trust__items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.trust__item {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-size: 0.86rem; font-weight: 600; letter-spacing: -0.02em; color: #3b4761; opacity: 0.85;
}
.trust__item svg { width: 17px; height: 17px; color: var(--green-deep); }
.trust--dark .trust__label { color: #7d89a2; }
.trust--dark .trust__item { color: #c3cde0; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 24px; }
  .hero__visual { min-height: 520px; }
  .phone-wrap { width: min(300px, 100%); }
  .qr-float { width: 132px; left: -8px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
  .footer__col--contact { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; align-items: stretch;
    justify-content: center; gap: 6px; padding: 90px 32px 40px;
    background: rgba(6, 10, 18, 0.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    padding: 16px 4px; font-size: 1.3rem; font-family: var(--font-display);
    letter-spacing: -0.02em; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0; color: #e6ecf7;
  }
  .nav__link[aria-current="page"] { color: var(--green-bright); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 22px 0 0; padding: 16px 24px; font-size: 1rem; }
  .hero { padding: calc(var(--header-h) + 46px) 0 64px; }
  .hero__inner, .page-hero__inner, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 640px; }
  .hero__visual { min-height: 0; margin-top: 30px; padding: 20px 0 10px; }
  .hero__visual::before { width: 320px; height: 320px; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 60px; }
  .split--reverse .split__media { order: 0; }
  .split__media { order: -1; }
  .grid--3, .grid--4, .plans, .demo-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .step::after { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .check-list--2col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.9rem); }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; }
  .hero__points { gap: 12px 18px; }
  .hero__points li { font-size: 0.82rem; }
  .phone-wrap { width: min(290px, 92%); }
  .phone__screen { height: 520px; }
  .qr-float { width: 112px; left: -10px; bottom: 10px; }
  .hero-badge { right: -4px; top: 24px; padding: 9px 12px; font-size: 0.66rem; }
  .grid--2, .grid--3, .grid--4, .plans, .demo-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .service-card { padding: 0; }
  .plan__desc { min-height: 0; }
  .section-head h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .cta-band { padding: 30px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 38px; }
  .footer__col--contact { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .browser__body { height: 280px; }
  .fake-site { grid-template-columns: 1fr; padding: 20px; }
  .fake-site__art { display: none; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .media-badge--br, .media-badge--tl { left: 12px; right: 12px; bottom: 12px; top: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
}
@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .qr-float { width: 96px; }
  .hero-badge { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
}

/* ---------- Extensiones de componentes ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.demo-card__body h3 { color: #fff; }
.consent-wrap .field__error { margin: -8px 0 16px 27px; }
.consent-wrap.field--error .field__error { display: block; }
.demo-card--cta {
  justify-content: center; align-items: center; text-align: center; padding: 32px;
  background: radial-gradient(circle at 80% 10%, rgba(108, 194, 74, 0.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(0, 184, 224, 0.18), transparent 55%), var(--ink-900);
  border-style: dashed; border-color: rgba(255, 255, 255, 0.16);
}
.demo-card--cta:hover { border-color: rgba(143, 227, 91, 0.5); }
.demo-card--cta .icon-tile { margin-bottom: 14px; }
.demo-card--cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.demo-card--cta p { color: var(--text-invert-soft); font-size: 0.86rem; margin-bottom: 16px; max-width: 220px; }
.demo-card--cta .link-arrow { color: var(--green-bright); }
.m-item__img--ph { display: grid; place-items: center; background: linear-gradient(140deg, #f7e9d2, #eed4ae); color: #a1793e; }
.m-item__img--ph svg { width: 22px; height: 22px; }
.section--flush { padding: 26px 0; }
.section--flush + .section { border-top: 1px solid var(--line); }
.mini-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.mini-feature { display: flex; gap: 12px; }
.mini-feature .icon-tile { width: 40px; height: 40px; margin: 0; flex: none; border-radius: 12px; }
.mini-feature h3 { margin: 0 0 3px; font-size: 0.93rem; }
.mini-feature p { margin: 0; font-size: 0.83rem; line-height: 1.45; color: var(--text-mute); }
.section--dark .mini-feature p { color: #99a5bd; }
.section--dark .mini-feature h3 { color: #fff; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stack-chips li {
  padding: 7px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 500;
  color: var(--text-soft); background: #fff; border: 1px solid var(--line);
}
.section--dark .stack-chips li { color: #c3cde0; background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.addon {
  display: flex; gap: 12px; padding: 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
}
.addon svg { width: 20px; height: 20px; color: var(--green-deep); flex: none; margin-top: 2px; }
.addon strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.addon span { font-size: 0.8rem; line-height: 1.45; color: var(--text-mute); }
.coverage {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin-top: 18px;
}
.coverage li {
  padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--text-soft); text-align: center;
}
.notice {
  margin-top: 24px; padding: 16px 18px; border-radius: var(--r-md);
  background: #f2f8ee; border: 1px solid #d9ecd0; font-size: 0.84rem;
  line-height: 1.55; color: #33552a;
}
.notice strong { color: #24461d; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: 8px; font-size: 0.74rem; font-weight: 500;
  color: var(--text-soft); background: var(--paper-soft); border: 1px solid var(--line);
}
.badge svg { width: 14px; height: 14px; color: var(--green-deep); }
.process-list { display: grid; gap: 0; margin-top: 30px; }
.process-item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 28px; }
.process-item:last-child { padding-bottom: 0; }
.process-item::before {
  content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, #d9e0ee, transparent);
}
.process-item:last-child::before { display: none; }
.process-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; color: var(--green-deep); box-shadow: var(--shadow-sm);
}
.process-item h3 { font-size: 1.02rem; margin: 6px 0 5px; }
.process-item p { font-size: 0.89rem; color: var(--text-soft); margin: 0; max-width: 560px; }
.section--dark .process-num { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: var(--green-bright); box-shadow: none; }
.section--dark .process-item::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent); }
.section--dark .process-item p { color: var(--text-invert-soft); }
.highlight-box {
  padding: 26px; border-radius: var(--r-lg); background: var(--paper-soft);
  border: 1px solid var(--line);
}
.highlight-box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.highlight-box p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.form-note { margin-top: 16px; font-size: 0.74rem; line-height: 1.5; color: var(--text-mute); }
.compare .yes svg, .compare .no svg { width: 17px; height: 17px; margin: 0 auto; }
.plan__price .cur { font-size: 1.15rem; font-weight: 600; margin-right: -2px; align-self: flex-start; margin-top: 6px; }
@media (max-width: 900px) {
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mini-features { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr 1fr; }
}

/* Corrección de contraste en tarjetas de contacto oscuras */
.contact-card.contact-card--dark h3,
.contact-card.contact-card--dark strong { color: #fff; }
.contact-card.contact-card--dark p { color: var(--text-invert-soft); }
.contact-card.contact-card--dark .contact-link { color: #fff; }

/* Contener los glows decorativos dentro de su sección */
.section--dark { overflow: hidden; }
