/* =========================================================
   PÍXEL WEB — estilos
   Mobile-first: la base es para celular; las media queries
   (min-width) agregan el diseño de tablet y escritorio.
   ========================================================= */

/* ---------- Fuente (alojada en el proyecto) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens: colores, tipografía y espacios ---------- */
:root {
  --bg: #ffffff;
  --ink: #0b0d12;
  --ink-soft: #4a5160;
  --surface: #f4f5f7;
  --surface-2: #e9ebf0;
  --line: #e3e5ea;
  --accent: #1f4bff;
  --accent-hover: #1538d1;
  --accent-tint: #eef2ff;
  --on-dark-soft: #b9bfcc;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --step-head: clamp(2rem, 1.4rem + 2.8vw, 3.75rem);
  --step-display: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem);

  --gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(88px, 6rem + 6vw, 200px);
  --radius: 14px;
  --header-h: 68px;

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262a33; }

.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--ink); color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: var(--header-h);
  gap: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark__pixel {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 3px;
}
.wordmark--light { color: #fff; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--surface-2); }

/* Sin JavaScript, el menú queda siempre visible debajo de la marca */
.nav {
  width: 100%;
  padding-bottom: 16px;
}
.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 12px;
}
.nav__list a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__list a:hover { color: var(--ink); }

/* Con JavaScript, en celular el menú se pliega detrás del botón "Menú" */
.js .menu-toggle { display: inline-flex; }
.js .nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 24px;
  background: var(--bg);
  box-shadow: 0 16px 32px rgba(11, 13, 18, 0.08);
}
.js .nav.is-open { display: block; }
.js .nav__list { flex-direction: column; gap: 0; margin-bottom: 16px; }
.js .nav__list a {
  display: block;
  padding: 14px 0;
  font-size: 1.125rem;
  color: var(--ink);
}
.js .nav__cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(32px, 6vw, 88px);
  padding-bottom: var(--section-space);
}

.hero__title {
  max-width: 15ch;
  font-size: var(--step-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Frase corta bajo el título: el problema que resuelve, en palabras del dueño del local */
.hero__sub {
  max-width: 32ch;
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-wrap: balance;
}

.hero__grid {
  display: grid;
  gap: 48px;
  margin-top: clamp(28px, 4vw, 56px);
}

.hero__lead {
  max-width: 40ch;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink);
}

/* Precio visible en el primer pantallazo */
.hero__price {
  display: grid;
  gap: 4px;
  margin-top: 28px;
}
.hero__price-amount {
  font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__price-label {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__copy .actions { margin-top: 28px; }

.hero__facts {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts .icon { color: var(--accent); }

/* Ilustración del menú y el pedido (todo dibujado con CSS) */
.hero__art { min-width: 0; }

.art {
  position: relative;
  padding: 28px 20px 92px;
  background: var(--surface);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.art__phone {
  max-width: 340px;
  margin-inline: auto;
  padding: 18px 16px 20px;
  background: #fff;
  border-radius: 28px;
}

.art__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
}
.art__logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
}
.art__name { font-weight: 800; font-size: 0.9375rem; letter-spacing: -0.02em; }
.art__open {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e4f7ea;
  color: #136c34;
  font-size: 0.8125rem;
  font-weight: 600;
}

.art__section {
  margin: 4px 0 8px;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.art__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
}
.art__item--active { background: var(--accent-tint); }

.art__thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  /* Hamburguesa dibujada con capas de color planas */
  background:
    radial-gradient(circle at 50% 28%, #e3a95a 0 32%, transparent 33%),
    linear-gradient(#f2c35b, #f2c35b) center 56% / 70% 10% no-repeat,
    linear-gradient(#5b3420, #5b3420) center 68% / 74% 13% no-repeat,
    linear-gradient(#d99a4e, #d99a4e) center 82% / 64% 11% no-repeat,
    #fbe9d7;
}
.art__thumb--b { background-color: #e7f1e4; }
.art__thumb--c { background-color: #f1ece4; }

.art__info { display: grid; min-width: 0; }
.art__info strong { font-size: 0.9375rem; letter-spacing: -0.01em; }
.art__info span {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.art__price { font-weight: 700; font-size: 0.875rem; }

.art__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 4px 12px 70px;
}
.art__chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.art__chip--on { background: var(--accent); color: #fff; }

.art__bubble {
  position: absolute;
  right: 16px;
  bottom: 20px;
  width: min(230px, 66%);
  padding: 12px 14px 22px;
  background: #dcf8c6;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #10261a;
}
.art__bubble p + p { margin-top: 6px; }
.art__bubble-title { font-weight: 800; }
.art__time {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 0.75rem;
  color: #3b6549;
}

.hero__caption {
  margin-top: 14px;
  max-width: 52ch;
  font-size: var(--step-small);
  color: var(--ink-soft);
}

/* ---------- Secciones genéricas ---------- */
.section { padding-block: var(--section-space); }

.section__head { margin-bottom: clamp(40px, 5vw, 72px); }

.section__title {
  max-width: 18ch;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section__title--wide {
  max-width: 24ch;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section__intro {
  margin-top: 16px;
  max-width: 46ch;
  font-size: var(--step-lead);
  color: var(--ink-soft);
}

/* ---------- Demo (campo azul) ---------- */
.demo {
  padding-block: clamp(72px, 9vw, 140px);
  background: var(--accent);
  color: #fff;
}
.demo__grid { display: grid; gap: 48px; }
.demo__title {
  max-width: 14ch;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.demo__text {
  max-width: 40ch;
  margin: 20px 0 28px;
  font-size: var(--step-lead);
  line-height: 1.45;
}
.demo__subtitle {
  margin-bottom: 16px;
  font-size: var(--step-lead);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.demo__list { display: grid; gap: 8px; }
.demo__list li {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.demo__list .icon { margin-top: 1px; }
.demo__note {
  margin-top: 20px;
  max-width: 56ch;
  font-size: var(--step-small);
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Beneficios ---------- */
.benefits__grid {
  display: grid;
  gap: 16px;
}
.card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); background: var(--surface-2); }
.card__icon {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
}
.card__icon .icon { width: 32px; height: 32px; }
.card__title {
  margin-bottom: 12px;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.card p { color: var(--ink-soft); }

/* ---------- Qué incluye ---------- */
.includes { background: var(--surface); }
.includes__grid { display: grid; gap: 40px; }
.includes__note {
  max-width: 40ch;
  font-size: var(--step-lead);
  line-height: 1.45;
}

/* Lo que la web no hace: separado de la lista para que no se confunda */
.excludes {
  margin-top: 28px;
  max-width: 44ch;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.excludes__title {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.excludes p { color: var(--on-dark-soft); }
.includes__list {
  display: grid;
  gap: 12px;
}
.includes__list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border-radius: 12px;
  font-size: var(--step-body);
  font-weight: 600;
  line-height: 1.4;
}
.includes__list .icon {
  margin-top: 1px;
  color: var(--accent);
}

/* ---------- Proceso ---------- */
.steps {
  display: grid;
  gap: 40px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: baseline;
}
.step__num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.step p {
  grid-column: 2;
  margin-top: 10px;
  max-width: 38ch;
  color: var(--ink-soft);
}

.process__grid { display: grid; gap: 48px; }
.timing {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--accent-tint);
  border-radius: var(--radius);
}
.timing__icon { width: 28px; height: 28px; color: var(--accent); }
.timing p { max-width: 70ch; }
.timing__soft { display: block; margin-top: 6px; font-size: var(--step-small); color: var(--ink-soft); }

/* ---------- Precios ---------- */
.plans {
  display: grid;
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-radius: calc(var(--radius) + 6px);
}
.plan--main { background: var(--ink); color: #fff; }
.plan--alt { background: var(--surface); }

.plan__tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: var(--step-small);
  font-weight: 600;
}
.plan__tag--soft { background: var(--surface-2); color: var(--ink); }

.plan__why {
  margin: -12px 0 24px;
  max-width: 40ch;
  font-size: var(--step-small);
  color: var(--on-dark-soft);
}

/* Anticipo y saldo, uno al lado del otro */
.plan__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 28px;
}
.plan__pay div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.plan__pay dt {
  font-size: var(--step-small);
  color: var(--on-dark-soft);
}
.plan__pay dt span { color: #fff; font-weight: 700; }
.plan__pay dd {
  margin: 4px 0 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan__name {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.plan__for {
  margin-top: 10px;
  max-width: 34ch;
  color: var(--ink-soft);
}
.plan--main .plan__for { color: var(--on-dark-soft); }

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 32px 0 28px;
  font-size: clamp(2.75rem, 2rem + 3.4vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__period {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.plan--main .plan__period { color: var(--on-dark-soft); }

.plan__list { display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; line-height: 1.4; }
.plan__list .icon { margin-top: 1px; color: var(--accent); }
.plan--main .plan__list .icon { color: #8fa6ff; }

.plan__fine {
  margin-top: 24px;
  font-size: var(--step-small);
  font-weight: 600;
}
.plan__btn { margin-top: auto; }
.plan__list + .plan__btn,
.plan__fine + .plan__btn { margin-top: 32px; }

/* Hosting y dominio según el plan */
.costs {
  margin-top: 16px;
  padding: clamp(24px, 3vw, 40px);
  border: 2px solid var(--accent);
  border-radius: calc(var(--radius) + 6px);
}
.costs__title {
  margin-bottom: 20px;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.costs__grid { display: grid; gap: 20px; }
.costs__case {
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--accent);
}
.costs__item p:not(.costs__case) { max-width: 52ch; }
.costs__fine {
  margin-top: 20px;
  font-size: var(--step-small);
  color: var(--ink-soft);
}

/* ---------- Propiedad y cuentas ---------- */
.ownership { background: var(--surface); }
.ownership__grid { display: grid; gap: 40px; }
.ownership__list { display: grid; gap: 12px; margin: 0; }
.ownership__list div {
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 12px;
}
.ownership__list dt {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ownership__list dd { margin: 6px 0 0; max-width: 60ch; }

/* ---------- Preguntas frecuentes ---------- */
.faq__grid { display: grid; gap: 32px; }

.faq__list { display: grid; gap: 8px; }
.faq__item {
  padding: 0 20px;
  background: var(--surface);
  border-radius: 12px;
  transition: background-color 0.2s ease;
}
.faq__item[open] { background: var(--accent-tint); }
.faq__more { margin-top: 16px; max-width: 32ch; color: var(--ink-soft); }
.faq__btn { margin-top: 24px; }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p {
  max-width: 62ch;
  padding: 0 40px 22px 0;
  color: var(--ink);
}

/* ---------- Contacto (campo invertido) ---------- */
.contact {
  padding-block: clamp(88px, 11vw, 180px);
  background: var(--ink);
  color: #fff;
}
.contact__grid { display: grid; gap: 32px; }
.contact__title {
  font-size: clamp(3rem, 1.4rem + 7vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.contact__text {
  max-width: 40ch;
  margin-bottom: 32px;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: #fff;
}
.contact__phone { margin-top: 20px; color: var(--on-dark-soft); }
.contact__phone strong { color: #fff; }

/* ---------- Pie ---------- */
.site-footer {
  padding: 64px 0 32px;
  background: #15181f;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
}
.footer__grid { display: grid; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 38ch; }
.footer__label {
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}
.footer__nav ul,
.footer__contact ul { display: grid; gap: 4px; }
.site-footer a { text-decoration: none; }
.footer__nav a,
.footer__contact a,
.footer__bottom a {
  display: inline-block;
  padding: 6px 0;
  color: var(--on-dark-soft);
  transition: color 0.2s ease;
}
.footer__nav a:hover,
.footer__contact a:hover,
.footer__bottom a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  font-size: var(--step-small);
}

/* ---------- Aviso (toast) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 200;
  width: min(520px, calc(100% - 32px));
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 13, 18, 0.25);
  font-size: 0.9375rem;
  transform: translateX(-50%);
}
.toast code { color: #9fb2ff; }

/* ---------- Animaciones de entrada ----------
   Solo se ocultan si JS está activo y el usuario no pidió movimiento reducido.
   Si el script falla, el contenido queda visible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .js .hero__title {
    animation: rise 0.9s var(--ease-out) both;
  }
  .js .hero__sub {
    animation: rise 0.9s 0.15s var(--ease-out) both;
  }
  .art__bubble {
    animation: bubble-in 0.7s 0.9s var(--ease-out) both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Tablet (≥ 720px)
   ========================================================= */
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }

  .art { padding: 40px 40px 56px; }
  .art__phone { margin-left: 0; }
  .art__bubble { right: 40px; bottom: 56px; }

  .includes__list { grid-template-columns: 1fr 1fr; }
  .costs__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .steps { gap: 56px; }
  .hero__title { max-width: none; font-size: 6.4vw; }
}

/* =========================================================
   Escritorio (≥ 1080px)
   ========================================================= */
@media (min-width: 1080px) {
  /* Menú en línea; el botón "Menú" desaparece */
  .js .menu-toggle,
  .menu-toggle { display: none; }
  .header__bar { flex-wrap: nowrap; }
  .nav,
  .js .nav {
    display: flex;
    align-items: center;
    gap: 28px;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav__list,
  .js .nav__list {
    flex-direction: row;
    gap: 24px;
    margin: 0;
  }
  .nav__list a,
  .js .nav__list a {
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    border: 0;
  }
  .nav__list a:hover { color: var(--ink); }
  .js .nav__cta { width: auto; }

  .hero__title { max-width: 24ch; font-size: clamp(3.5rem, 1rem + 4.6vw, 5.5rem); }

  .demo__grid,
  .includes__grid,
  .process__grid,
  .ownership__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(40px, 5vw, 96px);
  }
  .contact__grid { align-items: end; }
  .demo__grid,
  .includes__grid,
  .ownership__grid { align-items: start; }
  .includes__side,
  .ownership__head { position: sticky; top: calc(var(--header-h) + 32px); }

  /* Columna izquierda fija mientras se leen los pasos o las preguntas */
  .process__head,
  .faq__head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
  .process__grid .steps { padding-top: 8px; }
  .hero__grid {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(40px, 5vw, 96px);
    align-items: start;
  }
  .hero__copy { padding-top: 8px; }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 7fr 5fr; }

  .art { min-height: 520px; }
  .art__phone { width: 340px; }
}
