:root {
  --bg-1: #d6e5ff;
  --bg-2: #eef1fb;
  --bg-3: #efe6ff;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-border: rgba(255, 255, 255, 0.95);
  --line: #e6e9f2;
  --text: #12141a;
  --muted: #8b90a0;
  --soft: #f2f4fa;
  --primary: #1668f2;
  --primary-soft: #e3edff;
  --green: #17a34a;
  --green-soft: #e1f6e7;
  --red: #e5383b;
  --amber: #e8862a;
  --amber-soft: #fdf0e1;
  --yellow: #ffd84d;
  --mint: #14c38e;
  --shadow: 0 1px 2px rgba(20, 30, 60, 0.04), 0 10px 30px rgba(20, 30, 60, 0.06);
  --radius: 24px;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(170deg, var(--bg-1) 0%, var(--bg-2) 35%, #f4f1fd 70%, var(--bg-3) 100%);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 500; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(22, 104, 242, .28); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: rgba(255,255,255,.55); }
.btn-white { background: #fff; color: var(--primary); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(230, 238, 255, .7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 19px; }
.brand img { border-radius: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 28px; overflow-x: clip; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) {
  .hero { padding: 64px 0 56px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}
.eyebrow {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--surface-border);
  font-size: 14px; color: var(--primary); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 9vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: #4d5263; margin-top: 18px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) { .cta-row .btn { width: 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.trust li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 600; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; padding: 10px 0 30px; min-height: 520px; }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 340px; height: 340px; background: var(--mint); top: 40px; left: 50%; transform: translateX(-62%); }
.b2 { width: 150px; height: 150px; background: var(--yellow); bottom: 40px; right: 50%; transform: translateX(180%); }
.b3 { width: 80px; height: 80px; background: var(--primary); top: 10px; left: 50%; transform: translateX(150%); }
.phone {
  position: relative; width: 290px; border-radius: 40px; padding: 14px 14px 18px;
  background: linear-gradient(180deg, #e9f0ff, #f4f1fd);
  border: 8px solid #12141a; box-shadow: 0 30px 60px rgba(20, 30, 70, .25);
  font-size: 12px;
}
.ph-status { display: flex; justify-content: space-between; font-weight: 500; font-size: 12px; padding: 2px 8px 8px; }
.ph-icons { width: 44px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #12141a 0 60%, transparent 60% 70%, #12141a 70%); opacity: .85; }
.ph-hello { position: relative; padding: 4px 4px 10px; }
.ph-hello small { display: block; color: var(--muted); font-size: 11px; }
.ph-hello b { font-size: 18px; font-weight: 500; }
.ph-plus { position: absolute; right: 2px; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 20px; }
.ph-pills { display: flex; gap: 6px; margin-bottom: 10px; }
.ph-pills span { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.6); }
.ph-pills .on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ph-card { background: rgba(255,255,255,.85); border-radius: 16px; padding: 10px 11px; min-height: 78px; display: flex; flex-direction: column; justify-content: space-between; }
.ph-card span { display: flex; justify-content: space-between; }
.ph-card em { font-style: normal; font-size: 11px; }
.ph-card em.up { color: var(--green); }
.ph-card b { font-size: 26px; font-weight: 300; letter-spacing: -1px; line-height: 1.1; }
.ph-card small { font-size: 10px; opacity: .8; }
.ph-card.blue { background: linear-gradient(160deg, #1d73ff, #1157d6); color: #fff; }
.ph-title { font-size: 15px; margin: 2px 2px 4px; }
.ph-row { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.ph-row:last-child { border-bottom: 0; }
.ph-row div { flex: 1; min-width: 0; }
.ph-row b { display: block; font-weight: 400; font-size: 13px; }
.ph-row small { color: var(--muted); font-size: 11px; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 500; border: 2px solid #fff; }
.a1 { background: #fff1d6; color: #c27a00; }
.a2 { background: #fde4ec; color: #d23a6e; }
.a3 { background: #dff5f7; color: #0f8f9c; }

.tag { padding: 4px 10px; border-radius: 99px; font-size: 13px; white-space: nowrap; }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.blue { background: var(--primary-soft); color: var(--primary); }

.float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px;
  box-shadow: 0 12px 30px rgba(20, 30, 70, .14); white-space: nowrap;
}
.float .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.amber { background: var(--amber); }
.dot.green { background: #25d366; }
.f1 { top: 120px; left: 50%; transform: translateX(-118%); }
.f2 { bottom: 70px; left: 50%; transform: translateX(-8%); }
@media (max-width: 479px) {
  .f1 { transform: translateX(-50%); top: 0; }
  .f2 { transform: translateX(-56%); bottom: 18px; }
  .b1 { width: 280px; height: 280px; }
}

/* ---------- Hero animation ---------- */
.phone-float { position: relative; z-index: 1; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.b1 { animation: breathe 7s ease-in-out infinite; }
.b2 { animation: breathe 6s ease-in-out -2s infinite; }
.b3 { animation: breathe 5s ease-in-out -1s infinite; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }
.float { z-index: 2; }

.ph-row { border-radius: 12px; transition: background-color .4s; }
.ph-row.flash { background: rgba(22, 104, 242, .09); }
.ph-row small, .ph-row .tag { transition: color .3s, background-color .3s; }
.ph-card b { display: inline-block; transform-origin: left center; }
.ph-card.bump b { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }

.ph-tap {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: rgba(18, 20, 26, .22); border: 2px solid rgba(255,255,255,.9);
  opacity: 0; pointer-events: none; left: 50%; top: 50%;
}
.ph-tap.go { animation: tap .55s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

.ph-toast {
  position: absolute; left: 50%; bottom: 16px; translate: -50% 10px;
  background: #12141a; color: #fff; border-radius: 99px; padding: 7px 13px; font-size: 11px; white-space: nowrap;
  opacity: 0; transition: opacity .25s, translate .25s;
}
.ph-toast.show { opacity: 1; translate: -50% 0; }

.hero-visual.anim .float { opacity: 0; scale: .85; translate: 0 8px; transition: opacity .35s, scale .35s cubic-bezier(.2,1.4,.4,1), translate .35s; }
.hero-visual.anim .float.show { opacity: 1; scale: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .phone-float, .blob { animation: none; }
}

/* ---------- Segments ---------- */
.segments { padding: 12px 0 8px; }
.seg-title { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.seg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.seg-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--surface-border); box-shadow: var(--shadow); font-size: 15px;
}
.seg-list li.on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c1 { background: #e3edff; color: #1668f2; } .c2 { background: #fde4ec; color: #d23a6e; }
.c3 { background: #e1f6e7; color: #17a34a; } .c4 { background: #fff1d6; color: #c27a00; }
.c5 { background: #ece6ff; color: #6a4ce0; } .c6 { background: #dff5f7; color: #0f8f9c; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 920px) { .section { padding: 96px 0; } }
.section h2 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; max-width: 18em; margin-bottom: 32px; }
.soft { background: rgba(255, 255, 255, .35); }

.card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.cards3, .steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .cards3, .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pain { padding: 26px 24px; }
.num { display: block; font-size: 46px; font-weight: 300; letter-spacing: -1.5px; line-height: 1; margin-bottom: 18px; }
.num.red { color: var(--red); }
.num.amber { color: var(--amber); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: #5d6273; font-size: 16px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.center { text-align: center; }

.step { padding: 26px 24px; display: flex; flex-direction: column; }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 500; margin-bottom: 18px; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 20px; }
.chip { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pay { padding: 7px 13px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 14px; }
.bubble {
  margin-top: auto; align-self: flex-start; background: #dcf8c6; border-radius: 16px 16px 16px 4px;
  padding: 12px 14px; font-size: 14px; line-height: 1.45; margin-top: 20px;
}
.bubble b { font-weight: 500; }

.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feat { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-border); box-shadow: var(--shadow); }
.fi { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.fi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; margin-bottom: 4px; }
.feat p { color: #5d6273; font-size: 15px; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 920px) { .price-wrap { grid-template-columns: 1fr 420px; gap: 64px; } }
.price-copy h2 { margin-bottom: 0; }
.price { padding: 30px 26px; }
.price .amount { font-size: 58px; font-weight: 300; letter-spacing: -2px; margin: 16px 0 6px; line-height: 1; }
.price .amount small { display: block; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: "✓"; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 13px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--primary); font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #5d6273; }

/* ---------- Final + footer ---------- */
.final { padding: 0 0 64px; }
.final-in {
  background: linear-gradient(150deg, #1d73ff, #1157d6); color: #fff; border-radius: 32px;
  padding: 48px 24px; text-align: center; display: grid; gap: 24px; justify-items: center;
  max-width: calc(1120px - 56px);
}
@media (max-width: 639px) { .final-in { width: calc(100% - 32px); } }
.final h2 { font-size: clamp(28px, 5vw, 42px); line-height: 1.1; max-width: 14em; }
.foot { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; }
.foot a:hover { color: var(--text); }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px;
  opacity: 0; pointer-events: none; transition: all .22s; z-index: 60; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile pass ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 640px) { .wrap { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); } }

.phone { width: min(290px, calc(100vw - 64px)); }

@media (max-width: 919px) {
  .hero-visual { min-height: 0; padding: 34px 0 44px; }
  .hero-copy { text-align: left; }
}

@media (max-width: 519px) {
  .seg-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .seg-list li { font-size: 14px; line-height: 1.2; padding: 6px 10px 6px 6px; gap: 8px; }
  .ico { width: 30px; height: 30px; flex: 0 0 auto; }
  .ico svg { width: 16px; height: 16px; }
  .section { padding: 56px 0; }
  .section h2 { margin-bottom: 24px; }
  .pain, .step { padding: 22px 20px; }
  .num { font-size: 40px; margin-bottom: 14px; }
  .price { padding: 26px 20px; }
  .price .amount { font-size: 52px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 17px; padding: 18px 28px 18px 0; }
  .final-in { padding: 40px 20px; border-radius: 26px; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot-in { flex-direction: column; }
  .foot nav { gap: 6px 18px; flex-wrap: wrap; }
  .foot nav a { padding: 6px 0; }
  #toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .nav .btn-sm { padding: 0 14px; font-size: 14px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .float { font-size: 12px; padding: 8px 12px; gap: 6px; }
  .ph-card b { font-size: 22px; }
  .ph-row b { font-size: 12px; }
  .lead { font-size: 16px; }
}

/* Barra de compra fija (solo móvil) */
.m-cta {
  position: fixed; z-index: 40;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 12px 34px rgba(20, 30, 70, .18);
  translate: 0 150%; transition: translate .3s ease;
}
.m-cta.show { translate: 0 0; }
.m-cta-txt { font-size: 14px; color: var(--muted); line-height: 1.2; }
.m-cta-txt b { display: block; color: var(--text); font-size: 18px; font-weight: 500; }
@media (min-width: 720px) and (min-height: 501px) { .m-cta { display: none; } }

/* Móvil en horizontal: poca altura */
@media (max-height: 500px) and (max-width: 1000px) {
  .hero { padding: 24px 0 16px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 16px; margin-top: 12px; }
  .cta-row { margin-top: 18px; }
  .cta-row .btn { width: auto; }
  .m-cta { left: auto; right: max(16px, env(safe-area-inset-right)); width: 340px; }
}

/* =========================================================
   MARCA: carbón + índigo + lima
   ========================================================= */
:root {
  --ink: #1E1F24; --lime: #C5F04A; --indigo: #4338F2;
  --bg-1: #ECEEF4; --bg-2: #F3F4F7; --bg-3: #EFEEFB;
  --primary: #4338F2; --primary-soft: #E8E7FE;
  --green: #4E7A00; --green-soft: #EFF9D2;
  --yellow: #C5F04A; --mint: #4338F2;
}
h1, h2 { font-weight: 700; letter-spacing: -0.03em; }
.card h3, .feat h3 { font-weight: 600; }
.btn-primary { box-shadow: 0 10px 24px rgba(67, 56, 242, .28); }

/* Barra superior y portada en carbón */
.nav { background: rgba(30, 31, 36, .92); border-bottom-color: rgba(255, 255, 255, .06); }
.brand { color: #fff; }
.nav .btn-primary { background: var(--lime); color: var(--ink); box-shadow: none; }
.hero { background: var(--ink); color: #fff; border-radius: 0 0 36px 36px; }
@media (min-width: 920px) { .hero { border-radius: 0 0 56px 56px; } }
.hero .lead { color: #B9BBC6; }
.hero .hl, .final .hl { color: var(--lime); }
.eyebrow { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: var(--lime); }
.hero .btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 28px rgba(197, 240, 74, .22); }
.hero .btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.trust { color: #9EA1AD; }
.trust li::before { color: var(--lime); }

/* Formas de la portada: índigo y lima (sin brillo, planas) */
.b1 { background: var(--indigo); }
.b2 { background: var(--lime); }
.b3 { background: var(--lime); }
.phone { border-color: #0B0B0E; background: #F3F4F7; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.ph-card.blue { background: var(--ink); }
.ph-pills .on, .ph-plus { background: var(--indigo); border-color: var(--indigo); }
.float { color: var(--ink); }
.float .dot.green { background: var(--lime); }

/* Resto de la página */
.segments { padding-top: 28px; }
.step-n { background: var(--indigo); }
.chip.on { background: var(--indigo); border-color: var(--indigo); }
.pay { background: var(--green-soft); color: var(--green); }
.checks li::before { background: var(--lime); color: var(--ink); }
.final-in { background: var(--ink); }
.final .btn-white { background: var(--lime); color: var(--ink); }
.m-cta .btn-primary { background: var(--indigo); }
/* El móvil de muestra mantiene texto oscuro aunque la portada sea oscura */
.hero .phone { color: #16171B; }
.hero .phone .ph-card.blue { color: #fff; }

/* ---------- La marca en todas las secciones ---------- */
/* Palabra clave con trazo lima, como un rotulador */
.mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* El problema: bloque oscuro */
.section.problem { background: var(--ink); color: #fff; border-radius: 32px; margin: 8px 12px; }
@media (min-width: 920px) { .section.problem { margin: 16px 24px; border-radius: 48px; } }
.problem .mark { background: none; color: var(--lime); padding: 0; }
.problem .card.pain { background: #26282F; border-color: rgba(255, 255, 255, .06); box-shadow: none; }
.problem .card h3 { color: #fff; }
.problem .card p { color: #B9BBC6; }
.problem .num.red { color: #FF7A6B; }
.problem .num.amber { color: var(--lime); }
.problem .fine { color: #8A8D98; }

/* Los 3 pasos: carbón, índigo y blanco */
.steps .step:nth-child(1) { background: var(--ink); border-color: transparent; color: #fff; }
.steps .step:nth-child(1) p { color: #B9BBC6; }
.steps .step:nth-child(1) .step-n { background: var(--lime); color: var(--ink); }
.steps .step:nth-child(1) .chip { background: #2E3037; border-color: #3A3C44; color: #fff; }
.steps .step:nth-child(1) .chip.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.steps .step:nth-child(2) { background: var(--indigo); border-color: transparent; color: #fff; }
.steps .step:nth-child(2) p { color: #D7D4FF; }
.steps .step:nth-child(2) .step-n { background: #fff; color: var(--indigo); }
.steps .step:nth-child(2) .pay { background: var(--lime); color: var(--ink); }
.steps .step:nth-child(2) .tag.green { background: rgba(255, 255, 255, .16); color: #fff; }
.steps .step:nth-child(3) .bubble { background: #EFF9D2; }

/* Iconos de funciones alternando índigo y lima */
.feat:nth-child(even) .fi { background: #EFF9D2; color: #4E7A00; }

/* Precio: tarjeta carbón */
.price { background: var(--ink); color: #fff; border-color: transparent; box-shadow: 0 24px 50px rgba(20, 21, 30, .25); }
.price .tag.blue { background: var(--lime); color: var(--ink); }
.price .amount small, .price .fine { color: #9EA1AD; }
.price .checks li { color: #fff; }
.price .btn-primary { background: var(--lime); color: var(--ink); box-shadow: none; }

/* ---------- Móvil de la portada: la app tal como es hoy ---------- */
.ph-hello { padding-bottom: 12px; }
.ph-hero { background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 13px; display: flex; flex-direction: column; gap: 2px; }
.ph-hero span { font-size: 11px; color: #B9BBC6; }
.ph-hero b { font-size: 28px; font-weight: 400; letter-spacing: -1px; line-height: 1.1; }
.ph-hero small { font-size: 10px; color: #B9BBC6; }
.ph-hero em { font-style: normal; color: var(--lime); font-weight: 600; }
.ph-cta { margin: 9px 0 4px; background: var(--indigo); color: #fff; border-radius: 999px; padding: 8px; text-align: center; font-size: 12px; font-weight: 600; }
.ph-title { font-size: 13px; font-weight: 700; margin: 10px 2px 5px; }
.ph-item { position: relative; background: #fff; border-radius: 14px; padding: 9px; overflow: hidden; }
.ph-item-top { display: flex; align-items: center; gap: 8px; }
.ph-item-top b { display: block; font-size: 12px; font-weight: 600; }
.ph-item-top small { font-size: 10px; color: var(--muted); }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ph-b { border-radius: 999px; padding: 6px; text-align: center; font-size: 11px; font-weight: 600; }
.ph-b.paid { background: var(--lime); color: var(--ink); }
.ph-b.owe { background: #E8E7FE; color: var(--indigo); }
.ph-done {
  position: absolute; inset: 0; display: grid; place-items: center; background: #fff;
  color: #4E7A00; font-size: 14px; font-weight: 700; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .35s cubic-bezier(.2,1.4,.4,1);
}
.ph-item.resolved .ph-done { opacity: 1; transform: none; }
.ph-row { background: #fff; border-radius: 12px; padding: 7px 8px; margin-bottom: 5px; border-bottom: 0; }
.ph-pedir { background: #DCF8E6; color: #13894A; border-radius: 999px; padding: 4px 8px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.tag.lime { background: var(--lime); color: var(--ink); }
.float .dot.indigo { background: var(--indigo); }

/* Logotipo: "kontrolfy" en minúsculas con punto lima */
.wordmark { font-weight: 700; letter-spacing: -0.03em; text-transform: lowercase; }
.wm-dot { font-style: normal; color: #C5F04A; }
.brand .wordmark { font-size: 21px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand img { border-radius: 7px; }
.foot-brand .wordmark { color: var(--text); font-size: 16px; }
.foot-brand .wm-dot { color: #8DB31A; }

/* ---------- Nichos dentro del hero ---------- */
.hero-segs { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-segs-t { margin: 0 0 12px; font-size: 14px; color: #9EA1AD; }
.hero .seg-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; list-style: none; padding: 0; margin: 0; }
.hero .seg-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-shadow: none; min-height: 0;
}
.hero .seg-list .ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.hero .seg-list .ico svg { width: 15px; height: 15px; }
.hero .seg-list li.on { border-color: var(--lime); }

/* ---------- ¿Me sirve a mí? ---------- */
.fit-open { margin-top: 14px; background: none; border: 0; padding: 4px 0; color: #C9CBD3; font: inherit; font-size: 15px; cursor: pointer; }
.fit-open b { color: var(--lime); font-weight: 600; }
.fit-open:hover b { text-decoration: underline; }
.fit { margin-top: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 16px; max-width: 560px; }
.fit-label { display: block; font-size: 14px; color: #C9CBD3; margin-bottom: 8px; }
.fit-input { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18); background: #16171B; color: #fff; padding: 0 14px; font: inherit; font-size: 16px; }
.fit-input:focus { outline: none; border-color: var(--lime); }
.fit-result:not(:empty) { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(197, 240, 74, .1); border: 1px solid rgba(197, 240, 74, .35); }
.fit-result p { margin: 0; }
.fit-yes { font-size: 16px; color: #fff; }
.fit-yes b { color: var(--lime); }
.fit-why { margin-top: 4px !important; font-size: 14px; color: #C9CBD3; }
.fit-note { margin-top: 8px !important; font-size: 13px; color: #FFC58A; }
.fit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; max-height: 190px; overflow-y: auto; padding-right: 4px; }
.fit-chips button { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #E6E7EC; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.fit-chips button:hover, .fit-chips button.on { border-color: var(--lime); color: #fff; }
.fit-empty { font-size: 13px; color: #9EA1AD; }

/* ======================================================================
   MÓVIL: hero más espectacular
   Orden: etiqueta → titular → móvil animado → botón → checks → nichos.
   ====================================================================== */
@media (max-width: 919px) {
  .hero { position: relative; overflow: hidden; padding: 20px 0 28px; border-radius: 0 0 32px 32px; }
  .hero::before { /* brillo de marca detrás del titular */
    content: ""; position: absolute; inset: -120px -80px auto; height: 520px; pointer-events: none;
    background: radial-gradient(55% 45% at 85% 30%, rgba(67, 56, 242, .55), transparent 70%),
                radial-gradient(45% 40% at 10% 10%, rgba(197, 240, 74, .18), transparent 70%);
  }
  .hero-in { display: flex; flex-direction: column; gap: 0; position: relative; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; align-self: flex-start; font-size: 12.5px; padding: 6px 12px; line-height: 1.35; max-width: 100%; }
  .hero h1 { order: 2; font-size: clamp(44px, 13vw, 56px); line-height: .98; letter-spacing: -.045em; margin-top: 14px; }
  .hero h1 .hl { display: inline-block; position: relative; }
  .hero .lead { order: 3; font-size: 16.5px; line-height: 1.5; margin-top: 14px; }

  /* Móvil animado, grande, inclinado y con las burbujas alrededor */
  .hero-visual {
    order: 4; min-height: 0; height: 470px; padding: 0; margin: 18px -16px 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
  }
  .hero-visual .phone-float { position: absolute; top: 36px; left: 50%; translate: -50% 0; rotate: -5deg; }
  .hero-visual .phone { width: 272px; }
  .hero-visual .blob.b1 { width: 260px; height: 260px; left: -60px; top: 140px; }
  .hero-visual .blob.b2 { width: 120px; height: 120px; right: 4px; top: 8px; }
  .hero-visual .blob.b3 { display: none; }
  .hero-visual .float { font-size: 13px; padding: 9px 13px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
  .hero-visual .f1 { top: 14px; left: 14px; transform: none; rotate: -3deg; }
  .hero-visual .f2 { top: 300px; bottom: auto; left: auto; right: 10px; transform: none; rotate: 3deg; }

  .hero .cta-row { order: 5; margin-top: 4px; position: relative; z-index: 2; flex-direction: column; gap: 10px; }
  .hero .cta-row .btn-lg { height: 60px; font-size: 18px; }
  .hero .cta-row .btn-outline { height: auto; border: 0; background: none; font-size: 15px; color: #C9CBD3; text-decoration: underline; text-underline-offset: 4px; padding: 4px 0; }
  .hero .trust { order: 6; justify-content: center; font-size: 13.5px; gap: 6px 14px; margin-top: 14px; }

  /* Nichos: una fila que se desliza con el dedo */
  .hero-segs { order: 7; margin-top: 22px; padding-top: 18px; }
  .hero-segs-t { text-align: center; }
  .hero .seg-list { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .hero .seg-list::-webkit-scrollbar { display: none; }
  .hero .seg-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .fit-open { display: block; margin: 12px auto 0; }
}
@media (max-width: 919px) {
  .hero-visual .phone-float { left: 0; right: 0; margin: 0 auto; width: fit-content; translate: none; }
}
@media (max-width: 919px) {
  .hero-in { align-items: stretch; }
  .hero-visual { align-self: stretch; }
  .hero .eyebrow, .hero-segs .fit-open { align-self: flex-start; }
}
