/*
  RunClickWebs — identidad 2026
  Seriedad · control · paciencia · profesionalismo.

  Paleta 60-30-10:
  60% crema   -> --cream / --paper (fondo, tarjetas)
  30% pizarra -> --ink / --steel (texto, secciones oscuras)
  10% acento  -> --rose (acción principal) + --sand (detalles cálidos)

  Tipografías: Outfit (títulos y texto, como el logo), Instrument Serif
  itálica (palabras de énfasis) e IBM Plex Mono (etiquetas técnicas tipo ficha).
*/
:root {
  --cream: #F6F1E9;
  --paper: #FBF8F3;
  --ink: #2C3A47;
  --ink-2: #233039;
  --steel: #4A6572;
  --sand: #D9B99B;
  --rose: #B84A62;
  --rose-2: #A23E55;
  --text: #2C3A47;
  --muted: #5F6F7B;
  --line: rgba(44, 58, 71, 0.12);
  --line-2: rgba(44, 58, 71, 0.2);
  --radius: 24px;
  --max: 1200px;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(44, 58, 71, 0.04), 0 18px 40px -22px rgba(44, 58, 71, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
main { overflow-x: clip; }
::selection { background: var(--ink); color: var(--cream); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--rose); }

.ic { width: 18px; height: 18px; flex-shrink: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* Etiqueta técnica tipo ficha (mono, mayúsculas) */
.label, .spec {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.label-light { color: var(--sand); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(184, 74, 98, 0.15); }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s var(--ease);
}
.btn .ic { transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 26px -14px rgba(184, 74, 98, 0.8); }
.btn-rose:hover { background: var(--rose-2); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(184, 74, 98, 0.85); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--paper); }
.btn-line-light { border-color: rgba(246, 241, 233, 0.28); color: var(--cream); }
.btn-line-light:hover { border-color: var(--cream); background: rgba(246, 241, 233, 0.06); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 10px; }

/* ---------------- Navegación ---------------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 233, 0.82);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-wrap.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 300; }
.brand b { font-weight: 800; }
.brand img { width: 46px; height: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 0.93rem; color: var(--muted); transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(44, 58, 71, 0.06); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 48px 0 72px; }
@media (min-width: 720px) { .hero { padding: 80px 0 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }

.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; }
.hero .lead { font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.15rem); color: var(--muted); max-width: 52ch; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink); }
.hero-trust .ic { color: var(--rose); width: 17px; height: 17px; }

.vertical-jp {
  display: none; position: absolute; right: 14px; top: 110px; margin: 0;
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.4em; color: var(--steel); opacity: 0.55;
}
@media (min-width: 1280px) { .vertical-jp { display: block; } }

/* Bento del hero */
.hero-bento { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.bento-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); overflow: hidden;
}
.bento-phone {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, #EFE7DB 0%, #E5D8C6 100%);
  padding: 46px 20px 54px; display: flex; justify-content: center;
}
@media (min-width: 560px) { .hero-bento { grid-template-columns: 1.15fr 1fr; } .bento-phone { grid-column: 1; grid-row: 1 / span 2; } }
.spec-tl { position: absolute; top: 18px; left: 20px; }
.spec-tr { position: absolute; top: 18px; right: 20px; }

.phone {
  width: min(230px, 62vw); aspect-ratio: 9 / 18.6; padding: 9px; border-radius: 34px;
  background: #11161C; box-shadow: 0 34px 60px -26px rgba(44, 58, 71, 0.65), 0 0 0 1px rgba(44, 58, 71, 0.25);
}
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #0E1318; }
.show { position: absolute; inset: 0; opacity: 0; animation: show-cycle 27s infinite; }
.show:nth-child(2) { animation-delay: 9s; }
.show:nth-child(3) { animation-delay: 18s; }
.show img { width: 100%; height: auto; animation: show-scroll 27s infinite; animation-delay: inherit; }
@keyframes show-cycle { 0% { opacity: 0; } 3% { opacity: 1; } 31% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes show-scroll { 0%, 5% { transform: translateY(0); } 30%, 100% { transform: translateY(-62%); } }

.phone-caption { position: absolute; left: 0; right: 0; bottom: 18px; height: 20px; }
.phone-caption span {
  position: absolute; inset: 0; text-align: center; opacity: 0; animation: show-cycle 27s infinite;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.phone-caption span:nth-child(2) { animation-delay: 9s; }
.phone-caption span:nth-child(3) { animation-delay: 18s; }

.bento-chat { display: flex; flex-direction: column; gap: 14px; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 0.82rem; line-height: 1.4; }
.msg.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--ink); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--steel); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.bento-stat { background: var(--ink); color: var(--cream); border-color: transparent; }
.bento-stat .spec { color: var(--sand); }
.bento-stat strong { display: block; margin-top: 18px; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.bento-stat p { margin: 4px 0 18px; font-size: 0.86rem; color: rgba(246, 241, 233, 0.72); line-height: 1.45; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.bars i { flex: 1; border-radius: 4px; background: rgba(217, 185, 155, 0.35); animation: bar 3.6s var(--ease) infinite; transform-origin: bottom; }
.bars i:nth-child(1) { height: 40%; }
.bars i:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.bars i:nth-child(3) { height: 55%; animation-delay: 0.4s; }
.bars i:nth-child(4) { height: 85%; animation-delay: 0.6s; background: var(--rose); }
.bars i:nth-child(5) { height: 100%; animation-delay: 0.8s; background: var(--sand); }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }

/* ---------------- Marquesina ---------------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel);
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee span::after { content: "/"; color: var(--sand); margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Secciones ---------------- */
.section { padding: 80px 0; position: relative; }
@media (min-width: 720px) { .section { padding: 112px 0; } }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .label { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 18px 0 0; max-width: 58ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head-row { max-width: none; display: grid; gap: 18px; align-items: end; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1.3fr 1fr; } .section-head-row .section-sub { margin: 0; } }

/* Problema */
.pains { display: grid; gap: 14px; }
@media (min-width: 820px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); } }
.pain { padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .pain { padding: 32px 28px 8px 0; border-bottom: 0; } .pain + .pain { padding-left: 28px; border-left: 1px solid var(--line); } }
.pain-num { font-family: var(--mono); font-size: 0.8rem; color: var(--rose); letter-spacing: 0.1em; }
.pain h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.pain p { color: var(--muted); margin: 0; }

/* Proyectos */
.works { display: grid; gap: 18px; }
@media (min-width: 760px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-media { padding: 34px 0 0; background: linear-gradient(180deg, #ECE3D6, #E4D6C3); display: flex; justify-content: center; height: 360px; overflow: hidden; }
.work-device { width: 190px; padding: 8px 8px 0; border-radius: 30px 30px 0 0; background: #11161C; height: 100%; }
.work-screen { height: 100%; overflow: hidden; border-radius: 22px 22px 0 0; }
.work-screen img { width: 100%; height: auto; animation: work-scroll 24s ease-in-out infinite alternate; }
.work:nth-child(2) .work-screen img { animation-delay: -8s; }
.work:nth-child(3) .work-screen img { animation-delay: -16s; }
@keyframes work-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(-58%); } }
.work-info { padding: 22px 24px 24px; }
.work h3 { font-size: 1.35rem; margin: 8px 0 14px; }
.work-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--rose); }
.work-link .ic { transition: transform 0.3s var(--ease); }
.work-link:hover .ic { transform: translateX(4px); }

/* ---------------- Planes ---------------- */
.plans { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1.08fr; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px 28px;
}
.plan h3 { font-size: 1.6rem; margin: 10px 0 6px; }
.plan-for { margin: 0; color: var(--muted); font-size: 0.95rem; }
.plan-price small { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.plan-price strong { display: block; font-size: clamp(2.6rem, 3vw + 1.6rem, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.plan-price span { font-size: 0.85rem; color: var(--muted); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.45; }
.plan-list .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(44, 58, 71, 0.08); color: var(--ink); margin-top: 1px; }
.plan-list li.off { color: rgba(95, 111, 123, 0.6); text-decoration: line-through; text-decoration-color: rgba(95, 111, 123, 0.35); }
.plan-list li.off .ic { background: transparent; color: rgba(95, 111, 123, 0.5); }

.plan-pro { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(44, 58, 71, 0.75); }
@media (min-width: 860px) { .plan-pro { transform: translateY(-14px); } }
/* En celular la recomendada va primero: es la que la mayoría alcanza a ver */
@media (max-width: 859px) { .plan-pro { order: -1; margin-top: 10px; } }
.plan-pro .spec, .plan-pro .plan-price small { color: var(--sand); }
.plan-pro .plan-for, .plan-pro .plan-price span { color: rgba(246, 241, 233, 0.7); }
.plan-pro .plan-list .ic { background: var(--rose); color: #fff; }
.plan-pro .plan-list b { color: #fff; font-weight: 600; }
.plan-diff { margin: -6px 0 0; font-size: 0.92rem; color: rgba(246, 241, 233, 0.8); padding: 12px 14px; border-radius: 14px; background: rgba(246, 241, 233, 0.07); border: 1px dashed rgba(217, 185, 155, 0.4); }
.plan-diff b { color: var(--sand); }
.plan-badge {
  position: absolute; top: -13px; right: 26px; padding: 6px 14px; border-radius: 999px;
  background: var(--rose); color: #fff; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 10px 22px -10px rgba(184, 74, 98, 0.9);
}

.plan-extras { display: grid; gap: 12px; max-width: 980px; margin: 30px auto 0; }
@media (min-width: 760px) { .plan-extras { grid-template-columns: repeat(3, 1fr); } }
.extra { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.extra p { margin: 6px 0 0; font-size: 0.92rem; color: var(--muted); }
.extra b { color: var(--ink); }
.fine { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 22px auto 0; }

/* ---------------- Automatización (sección oscura) ---------------- */
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2 em { color: var(--sand); }
.section-ink .section-sub { color: rgba(246, 241, 233, 0.72); }
.auto-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .auto-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.section-ink h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.auto-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.auto-steps li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(246, 241, 233, 0.12); font-size: 1rem; }
.auto-steps li:last-child { border-bottom: 1px solid rgba(246, 241, 233, 0.12); }
.auto-steps span { font-family: var(--mono); font-size: 0.78rem; color: var(--sand); letter-spacing: 0.1em; }

.auto-chat { background: #ECE5DA; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); max-width: 440px; width: 100%; justify-self: center; }
.auto-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.auto-head img { border-radius: 50%; }
.auto-head b { display: block; font-size: 0.95rem; }
.auto-head small { color: #2E8B57; font-size: 0.78rem; }
.auto-body { padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 330px; }
.amsg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(10px); }
.amsg.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.amsg.out { background: #DDE7EC; align-self: flex-end; border-bottom-right-radius: 4px; }
.amsg.order { background: var(--ink); color: var(--cream); }
.amsg small { display: block; margin-top: 4px; font-size: 0.72rem; opacity: 0.6; }
.auto-chat.is-visible .amsg { animation: msg-in 0.6s var(--ease) forwards; animation-delay: calc(var(--d) * 0.9s + 0.3s); }
@keyframes msg-in { to { opacity: 1; transform: none; } }

/* ---------------- Proceso ---------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; position: relative; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps::before { content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 1px; background: var(--line-2); }
  .steps::after { content: ""; position: absolute; top: 19px; left: 0; height: 1px; width: 0; background: var(--rose); transition: width 1.8s var(--ease) 0.3s; }
  .steps.drawn::after { width: 100%; }
}
.step { position: relative; padding: 0 0 6px; }
.step-num {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.78rem; color: var(--ink);
}
.step h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------------- Garantías ---------------- */
.guarantees { display: grid; gap: 14px; }
@media (min-width: 640px) { .guarantees { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guarantees { grid-template-columns: repeat(4, 1fr); } }
.guarantee { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; transition: transform 0.45s var(--ease), border-color 0.3s ease; }
.guarantee:hover { transform: translateY(-4px); border-color: var(--line-2); }
.guarantee .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--ink); color: var(--sand); }
.guarantee h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.guarantee p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 940px) { .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } .faq-grid .section-head { position: sticky; top: 110px; } }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--ink);
}
.faq-q span { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-q span::before, .faq-q span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.faq-q span::after { transform: rotate(90deg); }
.faq-item.open .faq-q span::after { transform: rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------------- CTA final ---------------- */
.cta { background: var(--ink); color: var(--cream); padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(246, 241, 233, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 241, 233, 0.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner .label { justify-content: center; }
.cta h2 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
.cta h2 em { color: var(--sand); }
.cta p { color: rgba(246, 241, 233, 0.72); max-width: 48ch; margin: 22px auto 34px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------------- Footer ---------------- */
.footer { padding: 56px 0 28px; background: var(--cream); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-logo { width: 240px; height: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a { display: block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 0.9rem; transition: background 0.2s ease, color 0.2s ease; }
.footer-links a:hover { background: var(--ink); color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); }

/* ---------------- Animaciones de entrada ---------------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero-bento.reveal { transition-delay: 0.2s; }
.pains .reveal:nth-child(2), .works .reveal:nth-child(2), .guarantees .reveal:nth-child(2), .steps .reveal:nth-child(2), .plan-extras .reveal:nth-child(2) { transition-delay: 0.1s; }
.pains .reveal:nth-child(3), .works .reveal:nth-child(3), .guarantees .reveal:nth-child(3), .steps .reveal:nth-child(3), .plan-extras .reveal:nth-child(3) { transition-delay: 0.2s; }
.guarantees .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.3s; }
.plans .reveal:nth-child(2) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .show, .show img, .phone-caption span, .work-screen img, .marquee-track, .typing i, .bars i { animation: none; }
  .show:first-child, .phone-caption span:first-child { opacity: 1; }
  .amsg { opacity: 1; transform: none; animation: none !important; }
}

/* ───────── Oferta: muestra gratis en 48 h ───────── */
.offer[hidden] { display: none; }
.offer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.offer-backdrop { position: absolute; inset: 0; background: rgba(35, 48, 57, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s ease; }
.offer-card { position: relative; width: min(940px, 100%); max-height: calc(100vh - 48px); overflow: auto; background-color: var(--cream); border-radius: 28px; box-shadow: 0 40px 90px -30px rgba(35, 48, 57, 0.6);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px;
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.offer.is-open .offer-backdrop { opacity: 1; }
.offer.is-open .offer-card { opacity: 1; transform: none; }
html.offer-open { overflow: hidden; }
.offer-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.offer-close:hover { background: #fff; }
.offer-close:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.offer-main { display: grid; gap: 28px; padding: 36px 32px 28px; }
.offer-tag { display: inline-block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: var(--rose); padding: 7px 14px; border-radius: 999px; }
.offer-copy h2 { margin: 16px 0 12px; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.offer-copy h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rose); letter-spacing: -0.01em; }
.offer-copy p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 34ch; }
.offer-copy p b { color: var(--ink); }
.offer-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; }
.offer-steps li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line-2); font-weight: 500; }
.offer-steps li:last-child { border-bottom: 1px solid var(--line-2); }
.offer-steps span { font-family: var(--mono); font-size: 0.8rem; color: var(--rose); }
.offer-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.offer-ig, .offer-phone { border-radius: 26px; border: 7px solid var(--ink); background: #fff; overflow: hidden; aspect-ratio: 9 / 17; box-shadow: var(--shadow); }
.offer-ig { padding: 14px 12px; transform: rotate(-4deg); font-size: 0.68rem; color: var(--ink); }
.ig-head { display: flex; gap: 8px; align-items: center; }
.ig-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #C13584; }
.ig-stats { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 6px; text-align: center; line-height: 1.1; }
.ig-stats small { font-size: 0.55rem; color: var(--muted); }
.ig-name { margin: 10px 0 2px; font-weight: 700; }
.ig-bio { margin: 0 0 10px; color: var(--muted); line-height: 1.35; }
.ig-bio span { opacity: 0.7; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ig-grid i { aspect-ratio: 1; background: #EDE5D9; }
.ig-grid i:nth-child(2n) { background: #DCC9B2; }
.offer-arrow { width: 62px; height: 62px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; align-content: center; gap: 2px; box-shadow: 0 16px 30px -14px rgba(184, 74, 98, 0.9); animation: offer-pulse 2.4s var(--ease) infinite; }
.offer-arrow small { font-family: var(--mono); font-size: 0.62rem; }
.offer-phone { transform: rotate(4deg); }
.offer-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@keyframes offer-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.offer-foot { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 20px 32px; background: var(--ink); color: var(--cream); }
.offer-foot p { margin: 0; font-size: 0.95rem; color: rgba(246, 241, 233, 0.8); }
.offer-foot p b { color: var(--cream); }
.offer-foot p span { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--sand); margin-top: 3px; }
@media (min-width: 820px) {
  .offer-main { grid-template-columns: 1.05fr 1fr; gap: 36px; padding: 48px 48px 36px; align-items: center; }
  .offer-foot { padding: 22px 48px; }
}
/* En celular: hoja que sube desde abajo, sin tapar toda la pantalla */
@media (max-width: 819px) {
  .offer { place-items: end center; padding: 0; }
  .offer-card { border-radius: 24px 24px 0 0; max-height: 90vh; transform: translateY(40px); }
  .offer-main { padding: 26px 20px 18px; gap: 16px; }
  .offer-copy h2 { margin-top: 12px; padding-right: 30px; }
  .offer-visual { max-width: 320px; width: 100%; margin: 0 auto; }
  .offer-ig, .offer-phone { aspect-ratio: 9 / 12; border-width: 5px; border-radius: 20px; }
  .offer-arrow { width: 48px; height: 48px; }
  .offer-steps { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
  .offer-steps li, .offer-steps li:last-child { border: 0; padding: 0; font-size: 0.9rem; }
  .offer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .offer-foot .btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px), (max-height: 640px) { .offer-visual { display: none; } }
@media (prefers-reduced-motion: reduce) { .offer-card, .offer-backdrop { transition: none; } .offer-arrow { animation: none; } }
