/* Dentmin · landing — secciones */

/* ================= Portada ================= */
.hero { padding-top: calc(var(--header-h) + clamp(26px, 5vw, 60px)); padding-bottom: clamp(70px, 9vw, 120px); overflow: hidden; background:
  radial-gradient(55% 45% at 88% 8%, rgba(46, 196, 179, .30), transparent 62%),
  radial-gradient(40% 40% at 0% 0%, rgba(26, 159, 148, .13), transparent 62%),
  radial-gradient(35% 35% at 55% 100%, rgba(143, 227, 212, .35), transparent 70%),
  var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 61, 63, .13) 1.2px, transparent 1.3px); background-size: 26px 26px; mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .94rem; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ico { color: var(--teal-500); stroke-width: 2.4; }
.stage { width: 640px; height: 650px; position: relative; margin-inline: auto; }
.stage .dev-laptop { position: absolute; left: 0; top: 58px; }
.stage .dev-phone { position: absolute; left: 398px; top: 188px; transform: rotate(2.5deg); }
.stage .ph-screen { height: 440px; }
.stage .toast.a { left: 30px; top: 0; --dl: -1s; }
.stage .toast.b { left: 420px; top: 4px; --dl: -3.2s; }
.stage .toast.c { left: 0; top: 520px; --dl: -2s; }
.stage .toast.d { left: 186px; top: 584px; --dl: -4.4s; }
.stage .ghost-tooth { position: absolute; left: -70px; top: 40px; width: 380px; color: var(--teal-400); opacity: .12; stroke-width: .5; z-index: -1; }
@media (max-width: 1240px) { .stage { zoom: .9; } }
@media (max-width: 1140px) { .stage { zoom: .8; } }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-cta, .hero-proof { justify-content: center; }
  .stage { zoom: .95; }
}
@media (max-width: 700px) { .stage { zoom: .62; margin-left: 0; } }
@media (max-width: 520px) { .stage { zoom: .5; } }
@media (max-width: 400px) { .stage { zoom: .44; } }

/* Tres pantallas en un vistazo */
.trio { margin-top: clamp(-56px, -6vw, -40px); position: relative; z-index: 3; padding-block: 0 clamp(10px, 3vw, 30px); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio a { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.trio a:hover { transform: translateY(-5px); box-shadow: var(--shadow-2), 0 0 0 1px var(--mint-300); }
.trio .ti { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); color: #fff; font-size: 1.6rem; flex: none; box-shadow: 0 12px 20px -10px rgba(19, 122, 116, .8); }
.trio b { display: block; font-size: 1.08rem; letter-spacing: -.02em; }
.trio span { font-size: .9rem; color: var(--ink-2); line-height: 1.4; display: block; }
@media (max-width: 900px) { .trio { margin-top: 0; } .trio-grid { grid-template-columns: 1fr; } }

/* ================= Antes / con Dentmin ================= */
.cmp-wrap { max-width: 1020px; margin-inline: auto; }
.cmp-labels { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 18px; padding: 0 24px 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cmp-labels span:first-child { color: var(--ink-3); } .cmp-labels span:last-child { color: var(--teal-700); }
.cmp { display: grid; gap: 14px; }
.cmp-row { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: 22px; padding: 20px 24px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.cmp-row:hover { transform: translateX(6px); box-shadow: var(--shadow-1), 0 0 0 1.5px var(--mint-300); }
.pain, .fix { display: flex; gap: 14px; align-items: flex-start; }
.pain { color: var(--ink-3); } .pain .ico { color: var(--rose); stroke-width: 2.4; margin-top: 3px; }
.fix { font-weight: 700; } .fix .ico { color: var(--teal-500); stroke-width: 2.6; margin-top: 3px; }
.fix small { display: block; font-weight: 500; color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.cmp-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-100); color: var(--teal-700); display: grid; place-items: center; }
@media (max-width: 760px) {
  .cmp-labels { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .cmp-arrow { transform: rotate(90deg); width: 34px; height: 34px; }
}

/* ================= Tres experiencias ================= */
.exp { background: linear-gradient(180deg, var(--bg), var(--mint-50) 30%, var(--mint-50) 70%, var(--bg)); }
.tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.tab { display: flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; border-radius: 22px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1); font-weight: 800; letter-spacing: -.015em; text-align: left; transition: all .3s var(--ease); }
.tab small { display: block; font-weight: 500; color: var(--ink-3); font-size: .82rem; letter-spacing: 0; }
.tab .ti { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-700); font-size: 1.35rem; transition: all .3s; flex: none; }
.tab:hover { transform: translateY(-3px); }
.tab[aria-selected="true"] { background: var(--teal-900); color: #fff; box-shadow: 0 22px 36px -18px rgba(7, 43, 45, .8); }
.tab[aria-selected="true"] small { color: #9cc9c4; }
.tab[aria-selected="true"] .ti { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); color: #fff; }
.panel { display: none; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.panel.active { display: grid; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel-copy { display: grid; gap: 20px; }
.panel-copy .lead { font-size: 1.08rem; }
.ticks { display: grid; gap: 4px; }
.ticks li { display: flex; gap: 12px; padding: 8px 0; font-weight: 600; color: var(--ink); line-height: 1.45; }
.ticks .ico { color: #fff; background: var(--teal-500); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 3; margin-top: 1px; }
.ticks small { display: block; font-weight: 500; color: var(--ink-2); font-size: .92rem; }
.panel-vis { position: relative; display: grid; place-items: center; min-width: 0; }
.panel-vis::before { content: ""; position: absolute; inset: 6% 0; background: radial-gradient(closest-side, rgba(46, 196, 179, .28), transparent); filter: blur(10px); z-index: 0; }
.panel-vis > * { position: relative; z-index: 1; }
.vis-browser { width: 100%; max-width: 700px; }
.phones { display: flex; gap: 16px; zoom: .8; align-items: flex-start; }
.phones .dev-phone:nth-child(2) { margin-top: 38px; }
.cap { margin-top: 18px; font-size: .82rem; color: var(--ink-3); text-align: center; }
@media (max-width: 1100px) { .phones { zoom: .68; } }
@media (max-width: 960px) {
  .panel.active { grid-template-columns: 1fr; }
  .phones { zoom: .85; }
}
@media (max-width: 760px) {
  .tab { width: 100%; }
  .phones { zoom: 1; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; -webkit-overflow-scrolling: touch; }
  .phones .dev-phone { scroll-snap-align: center; flex: none; margin-top: 0 !important; }
  .od-wrap { grid-template-columns: 1fr; }
  .od-side { border-left: 0; border-top: 1px solid var(--line); }
  .pp-body { grid-template-columns: 1fr; }
  .vis-browser { zoom: 1; }
}

/* ================= Funciones ================= */
.fchips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.fchip { padding: 11px 20px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .93rem; color: var(--ink-2); transition: all .25s; }
.fchip:hover { box-shadow: inset 0 0 0 1.5px var(--mint-300); color: var(--teal-800); }
.fchip[aria-pressed="true"] { background: var(--teal-800); color: #fff; box-shadow: 0 12px 22px -12px rgba(15, 91, 86, .9); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.fcard { background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.fcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-200), transparent); opacity: 0; transition: opacity .35s; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2), 0 0 0 1px var(--mint-300); }
.fcard:hover::after { opacity: .9; }
.fcard[hidden] { display: none; }
.fi { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint-100), var(--mint-200)); color: var(--teal-700); font-size: 1.55rem; position: relative; z-index: 1; }
.fcard p { color: var(--ink-2); font-size: .98rem; }
.fcard ul { display: grid; gap: 7px; font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; z-index: 1; }
.fcard li { display: flex; gap: 9px; line-height: 1.4; }
.fcard li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); margin-top: .5em; flex: none; }
.tag-cat { position: absolute; right: 22px; top: 24px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); background: var(--mint-50); padding: 4px 10px; border-radius: 999px; z-index: 1; }
.more { margin-top: 44px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.more h3 { font-size: 1.05rem; color: var(--ink-2); font-weight: 700; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 920px; }
.cloud span { display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.cloud .ico { color: var(--teal-500); width: 1.05em; height: 1.05em; }

/* ================= Sección oscura: automatización ================= */
.dark { background:
  radial-gradient(60% 55% at 88% 0%, rgba(46, 196, 179, .30), transparent 62%),
  radial-gradient(50% 50% at 0% 100%, rgba(26, 159, 148, .28), transparent 62%),
  var(--teal-950); color: #fff; overflow: hidden; }
.dark .lead { color: #a9cbc7; }
.dark .eyebrow { background: rgba(255, 255, 255, .1); color: var(--mint-300); }
.dark .ghost-tooth { position: absolute; right: -100px; bottom: -90px; width: 560px; color: var(--teal-400); opacity: .09; stroke-width: .5; pointer-events: none; }
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.acard { background: rgba(255, 255, 255, .055); border-radius: 26px; padding: 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); backdrop-filter: blur(6px); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), background .35s; }
.acard:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.acard .ai { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(46, 196, 179, .35), rgba(46, 196, 179, .12)); color: var(--mint-300); font-size: 1.55rem; box-shadow: inset 0 0 0 1px rgba(143, 227, 212, .35); }
.acard p { color: #a9cbc7; font-size: .97rem; }
.acard .when { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-300); }
@media (max-width: 980px) { .acards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .acards { grid-template-columns: 1fr; } }

/* ================= Recorrido del paciente ================= */
.tl { position: relative; display: grid; gap: clamp(22px, 3vw, 34px); max-width: 1000px; margin-inline: auto; --p: 0; }
.tl::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 4px; margin-left: -2px; border-radius: 4px; background: var(--mint-200); }
.tl::after { content: ""; position: absolute; left: 50%; top: 10px; height: calc((100% - 20px) * var(--p) / 100); width: 4px; margin-left: -2px; border-radius: 4px; background: linear-gradient(var(--teal-400), var(--teal-700)); transition: height .2s linear; }
.tl-item { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 0 clamp(14px, 2.5vw, 30px); position: relative; z-index: 1; }
.tl-card { background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), 0 0 0 1px var(--mint-300); }
.tl-card p { color: var(--ink-2); font-size: .97rem; }
.tl-who { display: inline-flex; width: fit-content; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.tl-who.pac { background: #e2ecff; color: #2b5fd0; } .tl-who.doc { background: var(--mint-100); color: var(--teal-700); } .tl-who.amb { background: #fff1d6; color: #9a5b00; }
.tl-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--mint-200), var(--shadow-1); color: var(--teal-700); font-size: 1.6rem; z-index: 2; transition: all .4s var(--ease); }
.tl-item.in .tl-dot { background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); color: #fff; box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--teal-400), 0 14px 24px -10px rgba(19, 122, 116, .8); }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; grid-row: 1; text-align: right; justify-items: end; }
.tl-item:nth-child(odd) .tl-dot { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; }
.tl-item:nth-child(even) .tl-dot { grid-column: 2; grid-row: 1; }
@media (max-width: 760px) {
  .tl::before, .tl::after { left: 27px; margin-left: -2px; }
  .tl-item { grid-template-columns: 54px 1fr; gap: 0 14px; }
  .tl-item .tl-dot { grid-column: 1 !important; width: 54px; height: 54px; font-size: 1.35rem; }
  .tl-item .tl-card { grid-column: 2 !important; text-align: left !important; justify-items: start !important; }
}

/* ================= Seguridad ================= */
.sec { background: var(--mint-50); }
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scard { background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.scard .fi { background: linear-gradient(135deg, #e3f1ff, #cfe3ff); color: #2b5fd0; }
.scard:nth-child(2) .fi { background: linear-gradient(135deg, var(--mint-100), var(--mint-200)); color: var(--teal-700); }
.scard:nth-child(3) .fi { background: linear-gradient(135deg, #fff1d6, #ffe2a8); color: #9a5b00; }
.scard:nth-child(4) .fi { background: linear-gradient(135deg, #ece5ff, #d9ccff); color: #5a46c8; }
.scard p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 1000px) { .sgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sgrid { grid-template-columns: 1fr; } }

/* ================= Precios ================= */
.pricing { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 24px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
.price-card { border-radius: 34px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; display: grid; gap: 22px; align-content: start; }
.price-card.pro { background: radial-gradient(70% 60% at 100% 0%, rgba(46, 196, 179, .4), transparent 60%), linear-gradient(165deg, #0f5b56, #072b2d); color: #fff; box-shadow: var(--shadow-2); }
.price-card.pro .ghost-tooth { position: absolute; right: -60px; bottom: -50px; width: 300px; color: #fff; opacity: .07; stroke-width: .5; }
.price-card.side { background: #fff; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.plan-name { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.plan-badge { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--teal-400); color: var(--teal-950); padding: 5px 12px; border-radius: 999px; }
.bill { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); width: fit-content; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.bill button { border: 0; background: transparent; color: #b9d6d3; font-weight: 700; font-size: .92rem; padding: 9px 20px; border-radius: 999px; transition: all .25s; }
.bill button[aria-pressed="true"] { background: #fff; color: var(--teal-900); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.price { font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price small { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: #a9cbc7; }
.price-note { color: #a9cbc7; font-size: .95rem; margin-top: -8px; min-height: 3em; }
.price-card.pro .ticks li { color: #fff; font-weight: 600; padding: 6px 0; }
.price-card.pro .ticks .ico { background: var(--teal-400); }
.price-card.side .ticks li { color: var(--ink); font-weight: 600; padding: 6px 0; font-size: .95rem; }
.price-foot { font-size: .86rem; color: #8db1ad; }
.side h3 { font-size: 1.1rem; }
.promo { display: flex; gap: 14px; background: linear-gradient(135deg, #fff4dc, #ffe7b3); border-radius: 22px; padding: 18px 20px; color: #6a4300; }
.promo .ico { width: 28px; height: 28px; flex: none; color: #b36b00; }
.promo b { display: block; font-size: 1.02rem; }
.promo p { font-size: .92rem; line-height: 1.45; }
.opt { display: grid; gap: 0; }
.opt div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: .94rem; }
.opt div:first-child { border-top: 0; }
.opt span { color: var(--ink-2); } .opt b { white-space: nowrap; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ================= Cómo empezar ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.step { background: #fff; border-radius: 28px; padding: 32px 28px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; position: relative; counter-increment: paso; }
.step::before { content: counter(paso); width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); box-shadow: 0 12px 20px -10px rgba(19, 122, 116, .8); margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ================= Preguntas ================= */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-1), 0 0 0 1.5px var(--mint-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--mint-100); color: var(--teal-700); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* ================= Cierre ================= */
.final { padding-block: clamp(56px, 8vw, 104px); }
.final-card { border-radius: 42px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; color: #fff; display: grid; gap: 26px; justify-items: center;
  background: radial-gradient(60% 70% at 85% 0%, rgba(46, 196, 179, .55), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(26, 159, 148, .5), transparent 60%), linear-gradient(160deg, #0f5b56, #072b2d); box-shadow: var(--shadow-2); }
.final-card .ghost-tooth { position: absolute; left: 50%; top: 50%; width: 620px; transform: translate(-50%, -50%); color: #fff; opacity: .06; stroke-width: .4; pointer-events: none; }
.final-card > * { position: relative; }
.final-card .lead { color: #bfe0dc; max-width: 56ch; }
.final-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final-mini { font-size: .9rem; color: #9cc9c4; }
.final-mini a { text-decoration: underline; text-underline-offset: 3px; }

/* Barra de contacto fija en celular */
.mbar { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; transform: translateY(140%); transition: transform .4s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { width: 100%; box-shadow: 0 18px 32px -10px rgba(7, 43, 45, .7); }
@media (max-width: 700px) { .mbar { display: block; } .site-footer { padding-bottom: 96px; } }

/* ================= Video ================= */
.vid { background: linear-gradient(180deg, var(--bg), var(--mint-50) 35%, var(--mint-50) 75%, var(--bg)); }
.vid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.vid-copy { display: grid; gap: 22px; justify-items: start; }
.vid-steps { display: grid; gap: 14px; width: 100%; counter-reset: cap; }
.vid-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 1px 14px; counter-increment: cap; align-items: center; }
.vid-steps li::before { content: counter(cap); grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); box-shadow: 0 10px 16px -10px rgba(19, 122, 116, .8); }
.vid-steps b { font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.3; }
.vid-steps span { color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.vid-install { background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 8px; width: 100%; }
.vid-install p { color: var(--ink-2); font-size: .94rem; }
.vid-install ul { display: grid; gap: 6px; font-size: .94rem; }
.vid-install li { position: relative; padding-left: 17px; line-height: 1.5; }
.vid-install li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); }
.vid-player { margin: 0; display: grid; justify-items: center; position: relative; }
.vid-player::before { content: ""; position: absolute; inset: 8% -6%; background: radial-gradient(closest-side, rgba(46, 196, 179, .35), transparent); filter: blur(14px); z-index: 0; }
.vid-phone { width: min(100%, 330px); position: relative; z-index: 1; }
.vid-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #04292b; }
.vid-screen video, .vid-modal-screen video { width: 100%; height: 100%; object-fit: cover; display: block; background: #04292b; }
.vid-play { display: none; position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; color: #fff; text-align: center; cursor: pointer;
  background: radial-gradient(70% 45% at 50% 28%, rgba(46, 196, 179, .38), transparent 70%), linear-gradient(180deg, #0c4a4c, #04292b);
  place-items: center; align-content: center; gap: 18px; transition: opacity .35s var(--ease), visibility .35s; }
.js .vid-play { display: grid; }
.vid-play:hover .vid-btn { transform: scale(1.08); }
.vid-logo { width: 96px; height: 96px; }
.vid-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.vid-btn { width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--teal-800); display: grid; place-items: center; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .6); position: relative; transition: transform .3s var(--ease); }
.vid-btn .ico { width: 34px; height: 34px; margin-left: 4px; }
.vid-btn::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: onda 2.2s ease-out infinite; }
@keyframes onda { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.vid-time { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9fe9dc; background: rgba(255, 255, 255, .1); padding: 5px 12px; border-radius: 999px; }
.reproduciendo .vid-play { opacity: 0; visibility: hidden; pointer-events: none; }

/* Visor del video: cubre la pantalla, el video se ve grande dentro de un celular y siempre hay un botón visible para cerrarlo. */
.vid-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.vid-modal[open] { display: grid; place-items: center; }
.vid-modal::backdrop { background: rgba(3, 26, 28, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vid-modal-phone { width: min(94vw, 560px, calc((100vh - 120px) * .5625 + 18px)); width: min(94vw, 560px, calc((100dvh - 120px) * .5625 + 18px)); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14); }
.vid-modal-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #04292b; }
.vid-modal[open] .vid-modal-phone { animation: visor-entra .35s var(--ease); }
@keyframes visor-entra { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.vid-x { position: absolute; z-index: 5; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px 0 15px; border: 0; border-radius: 999px; background: #fff; color: var(--teal-800); font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), background .2s; }
.vid-x:hover { transform: scale(1.05); background: var(--mint-100); }
.vid-x .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.vid-modal :focus-visible { outline-color: #fff; }
html.vid-abierto { overflow: hidden; }
@media (max-height: 520px) {
  .vid-modal-phone { width: min(94vw, calc((100vh - 24px) * .5625 + 18px)); width: min(94vw, calc((100dvh - 24px) * .5625 + 18px)); }
}
@media (max-width: 900px) {
  .vid-grid { grid-template-columns: 1fr; }
  .vid-player { order: -1; }
  .vid-copy { justify-items: stretch; }
  .vid-copy .btn { justify-self: center; }
}

/* ================= Utilidades (en lugar de estilos en línea: la política de seguridad no los permite) ================= */
.h2-sm { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.pt0 { padding-top: 0; }
.grad-light { background: linear-gradient(100deg, #8fe3d4, #2ec4b3); -webkit-background-clip: text; background-clip: text; }
.eyebrow-dark { background: rgba(255, 255, 255, .12); color: #8fe3d4; }
.ico-lg { width: 22px; height: 22px; }
