/* =========================================================
   NEXOMA — Landing
   Concepto: "Claro, editorial y sin vueltas"
   Mobile first · CSS puro
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  /* Paleta */
  --ink: #141412;          /* Tinta: texto, hero, CTA final, footer */
  --paper: #F3EEE6;        /* Papel: fondo principal */
  --paper-soft: #ECE5D9;   /* Papel un tono más oscuro (sección proceso) */
  --card: #FAF7F2;         /* Superficie de tarjetas de precio */
  --orange: #E4572E;       /* Acento CTA (siempre con texto en tinta) */
  --blue: #2E5BFF;         /* Secundario sobre papel (solo texto grande) */
  --blue-light: #4D74FF;   /* Secundario sobre tinta */
  --gray: #5C5A55;         /* Texto secundario sobre papel */
  --gray-on-ink: #A8A49C;  /* Texto secundario sobre tinta (7,43:1) */
  --sand: #D9D2C6;         /* Líneas y bordes */
  --line-on-ink: rgba(243, 238, 230, 0.14);

  /* Tipografía */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.25rem, 1.55rem + 3.6vw, 5.25rem);   /* 36 → 84 px */
  --fs-h2: clamp(1.875rem, 1.45rem + 2.1vw, 3.375rem); /* 30 → 54 px */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem); /* 20 → 23 px */
  --fs-body: 1.0625rem;  /* 17 px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-small: 0.9375rem; /* 15 px */
  --lh-body: 1.55;

  /* Espaciado */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --section-y: clamp(4.5rem, 3.2rem + 5.5vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --maxw: 1200px;

  /* Formas */
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

strong { font-weight: 600; }

section[id],
main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Foco visible */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--blue-light); }

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-2); }

/* ---------- 3. Botones y links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn-lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.125rem; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }

/* Naranja con texto en TINTA (5,01:1). Nunca texto blanco. */
.btn-primary {
  background: var(--orange);
  color: var(--ink);
}
.btn-primary:hover { background: #EE6A43; }
.btn-primary:active { transform: translateY(1px); }

.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(243, 238, 230, 0.55);
}
.btn-outline-light:hover { border-color: var(--paper); background: rgba(243, 238, 230, 0.06); }

.icon-wa { width: 1.35em; height: 1.35em; flex: none; }

/* Link en negrita azul: 19 px / 700 = texto grande (AA) */
.link-strong {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1875rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.link-strong:hover { text-decoration-thickness: 3px; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 238, 230, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(243, 238, 230, 0.9); backdrop-filter: blur(6px); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: var(--header-h);
  transition: height .25s var(--ease);
}

.header-logo img { width: 136px; height: auto; transition: width .25s var(--ease); }

.header-nav { display: none; }

.site-header.is-compact { border-bottom-color: var(--sand); }
.site-header.is-compact .header-inner { height: 58px; }

/* ---------- 5. Secciones ---------- */
.section { padding-block: var(--section-y); }

.section-rule { border-top: 1px solid var(--sand); }

.section-soft { background: var(--paper-soft); }

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.section-head--center .eyebrow { justify-content: center; }

.lead {
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: var(--gray);
  max-width: 38rem;
}

.closing-link {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-size: 1.125rem;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.25rem, 1.5rem + 4vw, 6rem);
  padding-bottom: clamp(4.5rem, 3rem + 6vw, 8rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(3.5rem, 2.5rem + 4vw, 4rem);
}

.hero-title {
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--paper);
  max-width: 15ch;
}

/* "nexoma": misma tipografía que el titular, destacada solo con color */
.hero-brand { color: var(--blue-light); }

.hero-sub {
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(243, 238, 230, 0.86);
  max-width: 36rem;
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-note {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--gray-on-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
}
.hero-note .dot-sep { display: none; }

/* Visual del hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 1rem 0;
}

.modules {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  width: min(100%, 360px);
  aspect-ratio: 1;
}

.mod { display: block; width: 100%; height: 100%; }
.mod-square { background: #23231F; border-radius: 8px; }
.mod-square--2 { background: #23231F; }
.mod-quarter { background: var(--blue-light); border-radius: 0 100% 0 0; }
.mod-circle {
  background: var(--orange);
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

/* Maqueta de celular (HTML/CSS, contenido real de la propia web) */
.phone {
  position: relative;
  z-index: 1;
  width: 244px;
  padding: 10px;
  background: #0B0B0A;
  border: 1px solid #34342F;
  border-radius: 36px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
  transform: rotate(-3deg);
}
.phone::before { /* cámara */
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  width: 60px; height: 16px;
  transform: translateX(-50%);
  background: #0B0B0A;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  background: var(--paper);
  border-radius: 27px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  color: var(--ink);
  font-family: var(--font-body);
}

.mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 14px 10px;
  border-bottom: 1px solid var(--sand);
}
.mini-header img { width: 70px; }

.mini-btn {
  display: block;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  text-align: center;
  padding: 9px 10px;
  border-radius: 3px;
  margin-top: 12px;
}
.mini-btn--sm { width: 42px; height: 18px; padding: 0; margin: 0; }

.mini-body { padding: 16px 14px; }
.mini-kicker { font-size: 9px; font-weight: 600; color: var(--gray); }
.mini-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 4px 0 12px;
}
.mini-card {
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 9px 11px;
}
.mini-label { font-size: 10px; font-weight: 600; }
.mini-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.1;
}
.mini-price span { font-size: 11px; color: var(--gray); letter-spacing: 0; }
.mini-small { font-size: 9px; color: var(--gray); }
.mini-kicker--faq { margin-top: 18px; margin-bottom: 2px; }
.mini-faq {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--sand);
}
.mini-faq b { font-weight: 600; }
.mini-plus {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 4px 0;
  color: var(--orange);
}

/* ---------- 7. Por qué Nexoma ---------- */
.reasons {
  display: grid;
  gap: var(--space-4);
  counter-reset: none;
}

.reason {
  border-top: 2px solid var(--ink);
  padding-top: var(--space-3);
}
.reason-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem; /* 28 px: azul permitido */
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.reason h3 { margin-bottom: 0.5rem; }
.reason p { color: var(--gray); }
.reason p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Galería de demos: apiladas en celular, 2 columnas desde tablet */
.gallery { margin: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.demo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  background: var(--card);
}

/* Barra de navegador simple (marco de la demo) con el rubro */
.demo-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-bottom: 1px solid var(--sand);
}
.demo-dots { display: flex; gap: 6px; flex: none; }
.demo-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
}
.demo-label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.demo img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: left top;
}

.gallery-caption {
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  color: var(--ink);
  font-weight: 500;
}
.gallery-caption span { color: var(--gray); font-weight: 400; }

/* ---------- 8. Qué incluye ---------- */
.includes {
  display: grid;
  gap: var(--space-5);
}

.include-col h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--sand);
}

.bullet-mod { width: 18px; height: 18px; flex: none; }
.bullet-mod--square { background: var(--ink); border-radius: 3px; }
.bullet-mod--quarter { background: var(--blue); border-radius: 0 100% 0 0; }
.bullet-mod--circle { background: var(--orange); border-radius: 50%; }

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid rgba(217, 210, 198, 0.6);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- 9. Proceso ---------- */
.steps {
  display: grid;
  gap: 0;
  position: relative;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-2);
  align-items: start;
  align-content: start;
  padding-bottom: var(--space-4);
}
/* Línea conectora vertical (celular) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 2px;
  background: var(--sand);
}

.step p { padding-top: 0.6rem; font-size: 1.0625rem; }
.step strong { font-weight: 600; }

.step-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}
.step-mark--square { background: var(--ink); color: var(--paper); border-radius: 6px; }
.step-mark--quarter {
  background: var(--blue);
  color: #FFFFFF; /* blanco sobre azul: 5,1:1 */
  border-radius: 0 100% 0 0;
  place-items: end start;
  padding: 0 0 8px 11px;
}
.step-mark--circle { background: var(--orange); color: var(--ink); border-radius: 50%; }

.process-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 2px solid var(--ink);
  display: grid;
  gap: var(--space-3);
}

.highlight {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.highlight-num { color: var(--blue); }

.made-with {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  color: var(--gray);
}
.made-with img { width: 24px; height: 24px; flex: none; }

/* ---------- 10. Precios ---------- */
.pricing {
  display: grid;
  gap: 0;
  max-width: 1000px;
  margin-inline: auto;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  position: relative;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
}

.price-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 2.2rem + 2.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--blue);
}
.price-per {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--gray);
  font-weight: 500;
}

.price-cond {
  margin-top: 0.6rem;
  font-weight: 600;
}

.price-inc-title {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--sand);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gray);
}

.price-list {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}
.price-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.35;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--ink);
}

.price-plus {
  display: grid;
  place-items: center;
  height: 44px;
  position: relative;
}
.price-plus span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.pricing-package {
  padding: var(--space-2) 0.5rem 0.25rem;
  font-size: var(--fs-small);
  color: var(--gray);
  text-align: center;
}
.pricing-package strong { color: var(--ink); }

.domain-note {
  max-width: 1000px;
  margin: var(--space-3) auto 0;
  padding: var(--space-2) var(--space-3);
  border-left: 4px solid var(--orange);
  background: rgba(228, 87, 46, 0.07);
  font-size: 1rem;
}

.pricing-extra {
  max-width: 1000px;
  margin: var(--space-5) auto 0;
  display: grid;
  gap: var(--space-5);
}
.pricing-extra h3 {
  font-size: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
}

.extras-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--sand);
}
.extras-price {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}

.payments-list { padding-top: 0.8rem; font-weight: 500; }
.note { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--gray); }

.pricing-cta {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}

/* ---------- 11. FAQ ---------- */
.faq { max-width: 48rem; }

.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item:first-child { border-top: 1px solid var(--sand); }

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 64px;
  padding: 1.1rem 0;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.3;
}
.faq-item summary:hover h3 { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 4px; }

.faq-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--paper); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer { padding: 0 3rem 1.4rem 0; }
.faq-answer p { color: var(--gray); }

/* ---------- 12. CTA final ---------- */
.cta-final {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
}
.cta-inner { position: relative; }

.cta-final h2 {
  color: var(--paper);
  max-width: 14ch;
  font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4.5rem);
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.cta-sub {
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: rgba(243, 238, 230, 0.86);
  position: relative;
  z-index: 1;
}
.cta-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.link-light {
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--blue-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  padding-block: 0.6rem;
}
.link-light .muted { color: var(--gray-on-ink); font-weight: 400; }

.cta-modules {
  display: none;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-on-ink);
  padding-block: var(--space-5) 6.5rem; /* espacio para el botón flotante */
  font-size: var(--fs-small);
}
.footer-inner {
  display: grid;
  gap: var(--space-3);
}
.footer-logo { justify-self: start; }
.footer-logo img { width: 148px; }

.footer-contact { display: grid; gap: 0.25rem; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-inline { width: 18px; height: 18px; flex: none; color: var(--blue-light); }

.footer-pay,
.footer-copy { color: var(--gray-on-ink); }

/* ---------- 14. Botón flotante ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px rgba(20, 20, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
/* Sin JS no se muestra: los CTA del contenido alcanzan */

/* ---------- 15. Animación de aparición ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 359px) {
  .hero-title { font-size: 2.0625rem; }
  .header-logo img { width: 112px; }
  .btn-sm { padding-inline: 0.8rem; }
  .price-amount { font-size: 2.5rem; }
  .price-list { grid-template-columns: 1fr; }
  .btn-lg { padding-inline: 1.1rem; }
  .link-strong { white-space: normal; }
}

@media (max-width: 419px) {
  .price-list li { font-size: 0.9375rem; }
  .phone { width: 228px; }
}

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Tablet */
@media (min-width: 768px) {
  :root { --header-h: 76px; }

  .header-logo img { width: 160px; }

  .header-nav { display: block; margin-left: auto; }
  .header-nav ul { display: flex; gap: 0.25rem; }
  .header-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
  }
  .header-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }

  .site-header.is-compact .header-inner { height: 64px; }
  .site-header.is-compact .header-logo img { width: 144px; }

  .hero-note .dot-sep { display: inline; }

  .reasons { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

  /* Galería: 2 columnas con desfase editorial */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .demo:nth-child(even) { transform: translateY(48px); }
  .gallery-caption { margin-top: calc(var(--space-2) + 48px); }

  .includes { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

  .pricing {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    padding: 14px;
  }
  .price-plus { height: auto; width: 56px; }
  .pricing-package { grid-column: 1 / -1; }

  .pricing-extra { grid-template-columns: 1.3fr 1fr; gap: var(--space-6); }

  .process-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .cta-actions { flex-direction: row; align-items: center; gap: var(--space-4); }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: var(--space-5);
  }
  .footer-contact { grid-auto-flow: column; justify-content: end; gap: var(--space-4); }
  .footer-pay { grid-column: 1 / 2; }
  .footer-copy { grid-column: 2 / 3; text-align: right; }

  .site-footer { padding-bottom: var(--space-5); }
  .wa-float { display: none; }
}

/* Escritorio */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: center;
    gap: var(--space-5);
  }
  .hero-title { max-width: 16ch; }
  .hero-visual { padding-block: 2rem; }
  .modules { width: 420px; gap: 18px; }
  .phone { width: 272px; }

  /* Pasos en línea horizontal */
  .steps {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-3);
  }
  .step {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding-bottom: 0;
  }
  .step:not(:last-child)::after {
    left: 60px;
    right: calc(var(--space-3) * -1 + 8px);
    top: 23px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .step p { padding-top: 0; }

  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: var(--space-5);
    align-items: start;
  }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }

  .cta-modules {
    display: grid;
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    grid-template-columns: repeat(2, 120px);
    grid-template-rows: repeat(2, 120px);
    gap: 14px;
  }
}

@media (min-width: 1440px) {
  .modules { width: 460px; }
  .phone { width: 288px; }
  .cta-modules { grid-template-columns: repeat(2, 150px); grid-template-rows: repeat(2, 150px); gap: 18px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .phone { transform: none; }
}

/* ---------- Párrafo de identidad y dirección de contacto ---------- */
.identity {
  margin-top: var(--space-2);
  max-width: 38rem;
  font-size: 1rem;
  color: var(--gray);
}
.footer-address { font-style: normal; }

/* Línea de apoyo del hero: ítems con punto naranja (sin separadores colgando al cortar línea) */
.hero-note { gap: 0.35rem 1.1rem; }
.hero-note li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
