/* PoolPing · estilo Resort: piedra de travertino y agua honda (docs/marca.md del repo de la app). */
:root {
  --bg: #F3EEE6;
  --card: #FFFCF7;
  --fg: #0D2F33;
  --muted: #4F6866;
  --link: #0A6F78;
  --stone: #EDE5D7;
  --border: #E2D8C7;
  --input: #74908C;
  --alert: #A63B1C;
  --alert-bg: #FBE9DF;
  --aqua: #46CFC6;
  --aqua-soft: #D5F1EE;
  --action-a: #0B7F89;
  --action-b: #075F6B;
  --action-fg: #FFFFFF;
  --water-a: #0B7E88;
  --water-b: #085C68;
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1E23; --card: #112A30; --fg: #EAF4F2; --muted: #A3BBB8; --link: #46CFC6;
    --stone: #183A40; --border: #213D43; --input: #6F908F; --alert: #FFB79C; --alert-bg: #3A231A;
    --aqua-soft: #143F42; --action-a: #5FDCD3; --action-b: #38BFB6; --action-fg: #03282D;
    --water-a: #0A5E67; --water-b: #06414A;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--link); }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* Agua */
.water {
  color: #FFFCF7;
  background:
    radial-gradient(120% 60% at 85% 0%, rgba(255, 252, 247, 0.16), transparent 60%),
    repeating-radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, var(--water-a), var(--water-b));
  padding-top: env(safe-area-inset-top);
  padding-bottom: 72px;
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 8px; }
.logo { height: 44px; width: auto; display: block; }
.lang { font: 600 14px var(--f-mono); color: #FFFCF7; background: rgba(255, 252, 247, 0.14); border: 1.5px solid rgba(255, 252, 247, 0.5); border-radius: 99px; min-height: 40px; padding: 0 16px; cursor: pointer; }
.hero { padding-block: 28px 8px; max-width: 760px; margin-left: 0; }
@media (min-width: 1112px) { .hero { margin-left: calc((100vw - 1080px) / 2); } }
.eyebrow { font: 500 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 10px; color: #BFF3EE; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.02; }
.lead { font-size: clamp(17px, 2.2vw, 20px); margin: 16px 0 0; max-width: 56ch; color: #E6F6F4; }

/* Oferta de fundador: la misma tarjeta crema con la etiqueta coral de los anuncios */
.offer { margin-top: 22px; max-width: 440px; background: #FFFCF7; color: #0D2F33; border-radius: 18px; padding: 14px 16px; box-shadow: 0 14px 30px -18px rgba(2, 30, 36, 0.6); }
.offer-head { display: flex; align-items: center; gap: 10px; margin: 0; }
.offer-n { font: 800 46px/1 var(--f-display); color: #0A6F78; }
.offer-t { font-weight: 700; font-size: 17px; line-height: 1.15; max-width: 9ch; }
.offer-q { font-weight: 700; font-size: 17px; line-height: 1.15; margin-right: -4px; }
.offer-tag { margin-left: auto; background: #FF8A5B; color: #0D2F33; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 12px; box-shadow: 0 4px 0 #D9673A; transform: rotate(3deg); white-space: nowrap; }
.offer-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.offer-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.offer-list li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #0B7E88 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 1px; }

/* Contenido */
.grid { display: grid; gap: 28px; margin-top: -48px; padding-bottom: 40px; }
@media (min-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: 48px; } .about { padding-top: 72px; } }
.about { min-width: 0; order: 2; }
.card { order: 1; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; box-shadow: 0 18px 40px -24px rgba(6, 50, 56, 0.45); min-width: 0; }
@media (min-width: 900px) { .about { order: 1; } .card { order: 2; padding: 28px; } }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.stops li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; position: relative; }
.stops li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -22px; border-left: 2px dashed var(--aqua); opacity: 0.7; }
.n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--f-mono); background: var(--stone); color: var(--link); }
.stops b { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1.2; display: block; }
.stops p { margin: 4px 0 0; color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { background: var(--aqua-soft); color: var(--fg); border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 14px; }

/* Formulario */
.card h2 { font-size: 26px; line-height: 1.1; }
.muted { color: var(--muted); }
.card > form > .muted { margin: 6px 0 18px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
label, legend { font-weight: 600; font-size: 15px; padding: 0; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--card); border: 1.5px solid var(--input); border-radius: 12px; min-height: 48px; padding: 10px 14px; width: 100%; }
textarea { resize: vertical; min-height: 84px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.8; }
input[aria-invalid="true"] { border-color: var(--alert); }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.err { margin: 0; font-size: 14px; font-weight: 600; color: var(--alert); }
#err-form { background: var(--alert-bg); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.call { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--aqua-soft); border-radius: 14px; padding: 14px; margin: 4px 0 16px; cursor: pointer; font-weight: 400; }
.call input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--link); }
.call b { display: block; font-weight: 700; }
.call span span { color: var(--muted); font-size: 14px; display: block; margin-top: 2px; }
.more { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.more summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 14px 0; list-style: none; min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font: 500 20px var(--f-mono); }
.more[open] summary::after { content: "–"; }
.more-body { padding-bottom: 4px; }
.when { margin-top: -6px; }
.when[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--input); cursor: pointer; }
.chips input:checked + span { background: var(--link); border-color: var(--link); color: var(--card); }
.chips input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.action { width: 100%; min-height: 56px; border: 0; border-radius: 14px; cursor: pointer; font: 700 18px var(--f-body); color: var(--action-fg); background: linear-gradient(180deg, var(--action-a), var(--action-b)); box-shadow: 0 8px 20px -10px rgba(7, 95, 107, 0.7); }
.action:disabled { opacity: 0.7; cursor: progress; }
.privacy { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.done { text-align: center; padding: 12px 4px; outline: none; }
.done-pin { width: 72px; height: 72px; }
.done h2 { margin-top: 8px; }
.done p { margin: 10px 0 0; }
.ig { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; padding: 0 20px; border-radius: 99px; background: var(--stone); color: var(--link); font-weight: 700; text-decoration: none; }

/* Muy pronto + empezar (día del lanzamiento) */
.soon { display: inline-block; background: #FF8A5B; color: #0D2F33; border-radius: 99px; padding: 2px 10px; margin-right: 6px; font-weight: 700; letter-spacing: 0.06em; }
.start:not([hidden]) { display: grid; gap: 12px; }
.start .muted { margin: 0 0 6px; }
a.action { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.see-plans { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.see-plans a { color: #FFFCF7; font-weight: 700; text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }

/* Secciones */
.kicker { font: 500 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); margin: 0 0 6px; }
.kicker.light { color: #BFF3EE; }
.feats-sec h2, .plans h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.05; }
.sec-sub { margin: 8px 0 0; max-width: 60ch; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Qué hace PoolPing: pestañas que se reproducen solas + pantalla de ejemplo.
   app.js pone data-step="1…4" en el panel abierto; cada [data-s] aparece cuando su paso llega. */
.feats-sec { padding-block: 24px 40px; scroll-margin-top: 16px; }
.tabs { display: flex; gap: 8px; margin: 20px -16px 0; padding: 4px 16px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tabs { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.tabs button { position: relative; overflow: hidden; flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font: 600 15px var(--f-body); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s; }
.tabs button:hover { border-color: var(--link); transform: translateY(-1px); }
.tabs button:active { transform: scale(0.97); }
.tabs .ti { font: 500 12px var(--f-mono); color: var(--link); }
.tabs button[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.tabs button[aria-selected="true"] .ti { color: var(--aqua); }
.tab-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--aqua); transition: width 0.3s linear; }
.panels { margin-top: 12px; }
/* Las 6 pestañas ocupan el mismo lugar: la sección mide lo que la más alta y la página no salta al cambiar. */
.js .panels { display: grid; }
/* Al cambiar: la anterior se va primero y la nueva entra después (nunca las dos encimadas). */
.js .panel { grid-area: 1 / 1; transition: opacity 0.35s ease 0.18s, visibility 0s linear 0.18s; }
.js .panel:not(.active) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, visibility 0s linear 0.18s; }
.panel { display: grid; gap: 24px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 22px 20px; overflow: hidden; }
@media (min-width: 760px) { .panel { grid-template-columns: minmax(0, 1fr) 300px; padding: 32px; gap: 40px; } }
@media (max-width: 759px) { .panel { gap: 14px; padding: 16px; } .panel .cap { order: -2; } .panel .phone { order: -1; width: min(100%, 250px); } .panel .ph-body { min-height: 250px; } }
.panel.enter .panel-text > h3, .panel.enter .panel-text > p { animation: rise 0.45s ease 0.18s both; }
.panel.enter .panel-text > p { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel h3 { font: 800 clamp(24px, 3vw, 30px)/1.1 var(--f-display); margin: 0; text-wrap: balance; }
.panel-text > p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }

/* Los pasos: botones que se iluminan con la animación y la llevan a ese paso */
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.steps button { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; min-height: 48px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1.5px solid transparent; background: transparent; color: var(--muted); font: 500 16px/1.35 var(--f-body); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.15s; }
.steps button:hover { background: var(--stone); color: var(--fg); }
.steps button:active { transform: scale(0.98); }
.sn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--f-mono); background: var(--stone); color: var(--link); transition: background 0.3s, color 0.3s, transform 0.3s; }
.steps li.on button { color: var(--fg); }
.steps li.on .sn { background: var(--link); color: var(--card); font-size: 0; }
.steps li.on .sn::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps li.now button { background: var(--aqua-soft); border-color: var(--aqua); color: var(--fg); }
.steps li.now .sn { animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 207, 198, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(70, 207, 198, 0); } }
/* En el celular, el paso que se está mostrando va arriba del teléfono (la lista queda abajo). Tocarlo pasa al siguiente. */
.cap { display: none; }
@media (max-width: 759px) {
  .cap { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 10px; align-items: center; width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--aqua); background: var(--aqua-soft); color: var(--fg); font: 600 15px/1.3 var(--f-body); text-align: left; cursor: pointer; }
  .cap:active { transform: scale(0.98); }
  .cap-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--link); color: var(--card); font: 600 13px var(--f-mono); }
  .cap-t { animation: rise 0.35s ease both; }
  .cap-next { font: 600 22px var(--f-body); color: var(--link); }
}
.replay { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--border); background: transparent; color: var(--link); font: 600 14px var(--f-body); cursor: pointer; transition: border-color 0.2s, transform 0.15s; }
.replay:hover { border-color: var(--link); }
.replay:hover span:first-child { display: inline-block; animation: spin 0.6s ease; }
.replay:active { transform: scale(0.96); }
@keyframes spin { to { transform: rotate(-360deg); } }
.panel-text > .plan-note, .plan-note { display: inline-block; margin: 16px 12px 0 0; font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--stone); color: var(--link); border-radius: 99px; padding: 4px 12px; }

/* Pantalla de ejemplo (siempre clara, como la app) */
.phone { position: relative; justify-self: center; width: min(100%, 290px); border-radius: 34px; padding: 10px; background: #0D2F33; box-shadow: 0 24px 50px -24px rgba(2, 30, 36, 0.7); color: #0D2F33; font-size: 13px; }
.ph-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 28px; border-radius: 26px 26px 0 0; color: #FFFCF7; font: 800 18px var(--f-display); text-transform: uppercase; background: radial-gradient(120% 80% at 90% 0%, rgba(255, 252, 247, 0.18), transparent 60%), linear-gradient(180deg, #0B7E88, #085C68); }
.ph-mono { font: 500 12px var(--f-mono); opacity: 0.85; }
.ph-body { position: relative; background: #F3EEE6; margin-top: -16px; border-radius: 18px 18px 26px 26px; padding: 12px; display: grid; gap: 8px; min-height: 340px; align-content: start; overflow: hidden; }
[data-s] { transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
.panel[data-step="0"] [data-s], .panel[data-step="1"] [data-s="2"], .panel[data-step="1"] [data-s="3"], .panel[data-step="1"] [data-s="4"], .panel[data-step="2"] [data-s="3"], .panel[data-step="2"] [data-s="4"], .panel[data-step="3"] [data-s="4"] { opacity: 0; transform: translateY(10px) scale(0.96); }
.m-push[data-s] { transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
.panel[data-step="0"] .m-push, .panel[data-step="1"] .m-push, .panel[data-step="2"] .m-push { transform: translateY(-130%); }
.m-card { background: #FFFCF7; border-radius: 14px; padding: 12px; display: grid; gap: 4px; box-shadow: 0 6px 14px -10px rgba(6, 50, 56, 0.5); }
.m-mono { margin: 0; font: 500 10px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #0A6F78; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.m-big { margin: 0; font: 800 18px/1.15 var(--f-display); }
.m-btns { display: flex; gap: 6px; margin-top: 6px; }
.m-btn { flex: 1; text-align: center; padding: 9px 6px; border-radius: 10px; font-weight: 800; text-transform: uppercase; font-size: 12px; }
.m-btn.dark { background: #0D2F33; color: #FFFCF7; }
.m-btn.aqua { background: linear-gradient(180deg, #0B7F89, #075F6B); color: #FFF; }
.panel.enter .tap { animation: tap 2.4s ease-in-out 1s infinite; }
@keyframes tap { 0%, 70%, 100% { transform: none; box-shadow: none; } 78% { transform: scale(0.94); box-shadow: 0 0 0 6px rgba(70, 207, 198, 0.45); } }
.m-off { display: flex; align-items: center; gap: 8px; background: #FF8A5B; color: #0D2F33; border-radius: 12px; padding: 7px 10px; font: 600 12px var(--f-body); }
.m-off-dot { width: 8px; height: 8px; border-radius: 50%; background: #0D2F33; flex: none; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.m-row { display: flex; align-items: center; gap: 8px; background: #FFFCF7; border-radius: 12px; padding: 9px 10px; font-weight: 600; min-width: 0; }
.m-row > span:not([class]), .m-row > span[data-i]:not([class]) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-check { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #74908C; flex: none; transition: background 0.3s 0.4s, border-color 0.3s 0.4s; }
.panel:not([data-step="0"]) .m-row[data-s] .m-check { background: #0A6F78 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: #0A6F78; }
.m-chip { flex: none; font: 600 11px var(--f-body); background: #D5F1EE; color: #0A6F78; border-radius: 99px; padding: 3px 8px; }
.m-chip.warn, .m-tag.warn { background: #FBE9DF; color: #A63B1C; }
.m-chip.done-c { background: #0A6F78; color: #FFFCF7; }
.m-tag { flex: none; font: 500 10px var(--f-mono); text-transform: uppercase; background: #D5F1EE; color: #0A6F78; border-radius: 6px; padding: 3px 6px; }
.m-line { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: #4F6866; }
.m-line.total { color: #0D2F33; font-weight: 800; border-top: 1px solid #E2D8C7; margin-top: 4px; padding-top: 7px; }
.m-dot { width: 10px; height: 10px; border-radius: 50%; background: #46CFC6; flex: none; }
.m-lock { width: 14px; height: 12px; border-radius: 3px; background: #0D2F33; flex: none; position: relative; margin-top: 4px; }
.m-lock::before { content: ""; position: absolute; left: 3px; top: -6px; width: 8px; height: 8px; border: 2px solid #0D2F33; border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.m-receipt { width: 12px; height: 16px; flex: none; background: #FFFCF7; border: 2px solid #0A6F78; border-radius: 2px; box-shadow: inset 0 4px 0 -2px #fff, inset 0 -5px 0 -3px #46CFC6; }
.m-avatar { width: 26px; height: 26px; border-radius: 50%; background: #0D2F33; color: #FFFCF7; display: grid; place-items: center; font-weight: 800; flex: none; }
.m-avatar.off { background: #74908C; }
.m-amt { font-family: var(--f-mono); font-size: 12px; flex: none; }
.m-drop { border: 2px dashed #46CFC6; border-radius: 12px; padding: 12px; text-align: center; background: #FFFCF7; display: grid; gap: 8px; }
.m-progress { height: 6px; border-radius: 99px; background: #D5F1EE; overflow: hidden; }
.m-progress i { display: block; height: 100%; width: 0; background: #0A6F78; transition: width 1.2s ease; }
.panel:not([data-step="0"]) .m-progress i { width: 100%; }
.m-map { background: #E6F3EF; border-radius: 14px; overflow: hidden; }
.m-map svg { display: block; width: 100%; height: auto; }
.m-map .road { fill: none; stroke: #0A6F78; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s ease; }
.panel:not([data-step="0"]) .m-map .road { stroke-dashoffset: 0; }
.m-map .pin { fill: #FFFCF7; stroke: #0A6F78; stroke-width: 3; }
.m-map .pin.home { fill: #FF8A5B; stroke: #D9673A; }
.m-map .car { fill: #FF8A5B; }
.m-push { position: absolute; z-index: 2; left: 8px; right: 8px; top: 8px; display: grid; gap: 2px; background: rgba(255, 252, 247, 0.97); border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 24px -12px rgba(2, 30, 36, 0.6); }
.m-push b { font: 500 10px var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: #0A6F78; }
.m-note { display: grid; gap: 4px; background: #FBE9DF; border-radius: 12px; padding: 10px; }
.m-note .m-mono { color: #A63B1C; }
.m-read { font: 500 10px var(--f-mono); color: #4F6866; justify-self: end; }
.m-app { display: grid; gap: 6px; background: #FFFCF7; border-radius: 14px; padding: 10px; }
.m-appgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-appgrid i { font-style: normal; text-align: center; font-weight: 700; font-size: 11px; background: #D5F1EE; color: #0A6F78; border-radius: 10px; padding: 10px 2px; }
.chat { gap: 10px; }
.bubble { margin: 0; background: #FFFCF7; border-radius: 16px 16px 16px 4px; padding: 9px 11px; max-width: 88%; line-height: 1.35; box-shadow: 0 4px 10px -8px rgba(6, 50, 56, 0.6); }
.bubble.alert-b { background: #FBE9DF; }
.bubble.me { justify-self: end; background: #0A6F78; color: #FFFCF7; border-radius: 16px 16px 4px 16px; }
.bars { display: flex; align-items: end; gap: 6px; height: 64px; margin-top: 6px; }
.bars span { flex: 1; height: 88%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #46CFC6, #0A6F78); transform-origin: bottom; }
/* Las alturas van aquí y no en style="" del HTML: la CSP bloquea los estilos en línea. */
.bars span:nth-child(2) { height: 64%; }
.bars span:nth-child(3) { height: 92%; }
.bars span:nth-child(4) { height: 70%; }
.bars span:nth-child(5) { height: 100%; }
.panel.enter .bars span { animation: grow 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.panel.enter .bars span:nth-child(2) { animation-delay: 0.08s; }
.panel.enter .bars span:nth-child(3) { animation-delay: 0.16s; }
.panel.enter .bars span:nth-child(4) { animation-delay: 0.24s; }
.panel.enter .bars span:nth-child(5) { animation-delay: 0.32s; }
@keyframes grow { from { transform: scaleY(0.1); } to { transform: none; } }

/* Piscineros que ya usan PoolPing: franja blanca de logos (18 nov 2026). Blanca en los dos temas para que los logos se lean. */
.clients { margin-block: 0 22px; }
.clients-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: 22px; padding: 14px 22px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(13, 47, 51, 0.08); }
/* Arriba: el título chico en la esquina y «Lee lo que dicen» al otro lado (20 nov 2026). */
.clients-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.clients-k { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 11px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #4F6866; }
.clients-k::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.clients-link { color: #0A6F78; font-weight: 700; font-size: 15px; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.clients-link::after { content: " \2192"; }
/* Los logos centrados; cuando no caben (app.js), ruedan solos con los bordes difuminados. */
.clients-strip { overflow: hidden; }
.clients-logos { list-style: none; margin: 0 auto; padding: 0; width: max-content; max-width: 100%; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 44px; }
.clients-logos li { flex: none; }
.clients-logos img { display: block; height: 40px; width: auto; }
.clients-logos .logo-round { height: 76px; }
.clients-logos .logo-tall { height: 64px; }
.clients-strip.is-moving { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.clients-strip.is-moving .clients-logos { max-width: none; margin: 0; padding-right: 44px; justify-content: flex-start; animation: clients-roll var(--roll, 24s) linear infinite; }
/* Pause only with a mouse over the strip, or while a finger is pressing the white bar; a tap elsewhere on a phone must not stop it (21 nov 2026). */
@media (hover: hover) { .clients-strip.is-moving:hover .clients-logos { animation-play-state: paused; } }
.clients-card:active .clients-strip.is-moving .clients-logos { animation-play-state: paused; }
@keyframes clients-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients-strip.is-moving { overflow-x: auto; } .clients-strip.is-moving .clients-logos { animation: none; } }
@media (min-width: 760px) { .clients-logos img { height: 48px; } .clients-logos .logo-round { height: 84px; } .clients-logos .logo-tall { height: 72px; } }

/* Reseñas (18 nov 2026): banda de agua con las reseñas en burbujas claras, su frase clave arriba,
   y debajo el logo de Lejet, el nombre con 5 estrellas, el cargo y el correo de la empresa. */
.reviews-sec {
  margin-block: 8px 28px; padding-block: 44px 40px; color: #FFFCF7; scroll-margin-top: 16px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 252, 247, 0.16), transparent 60%),
    repeating-radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, var(--water-a), var(--water-b));
}
.rv-head { display: grid; justify-items: center; text-align: center; }
.reviews-sec h2 { font-size: clamp(30px, 5vw, 46px); line-height: 1.05; color: #FFFCF7; }
.reviews { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.review { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.review blockquote { margin: 0; background: #FFFCF7; border-radius: 24px 24px 24px 6px; padding: 22px 24px; box-shadow: 0 14px 34px rgba(3, 30, 35, 0.22); }
.review .review-lead { margin: 0 0 12px; font-family: var(--f-display); font-weight: 800; font-size: clamp(21px, 2.6vw, 26px); line-height: 1.15; color: #0A6F78; text-wrap: balance; }
.review blockquote p { margin: 0; color: #4F6866; font-size: 15px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-left: 4px; }
.review-logo { flex: none; background: #FFFFFF; border-radius: 10px; padding: 6px 10px; }
.review-logo img { display: block; height: 22px; width: auto; }
.review-who { min-width: 0; }
.review-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.review-name b { line-height: 1.2; color: #FFFCF7; }
.review-name .stars { display: block; width: 90px; height: 18px; }
.review-role { display: block; color: #D8F3F0; font-size: 14px; }
.review-mail { display: block; color: #FFFCF7; font-size: 14px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.review-note { margin: 14px 0 0; font-size: 13px; color: #D8F3F0; text-align: center; }
.review-note:empty { display: none; }

/* Planes */
.plans { padding-block: 24px 24px; scroll-margin-top: 16px; }
.plans-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.plans-head > div:first-child { min-width: 0; max-width: 620px; }
.plans-head .muted { margin: 8px 0 0; }
.period { position: relative; display: inline-flex; background: var(--stone); border-radius: 99px; padding: 4px; gap: 4px; }
.period::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: var(--pl, 4px); width: var(--pw, 0); border-radius: 99px; background: var(--card); box-shadow: 0 2px 8px -4px rgba(6, 50, 56, 0.5); transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.period button { position: relative; z-index: 1; font: 600 15px var(--f-body); color: var(--fg); background: transparent; border: 0; border-radius: 99px; min-height: 44px; padding: 0 16px; cursor: pointer; }
.period:not(.ready) button.on { background: var(--card); }
.period small { font: 500 11px var(--f-mono); color: var(--link); margin-left: 4px; }
.price { margin: 10px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font: 800 40px/1 var(--f-display); display: inline-block; }
.per { color: var(--muted); font-weight: 600; }
.was { color: var(--muted); font: 600 20px var(--f-display); }
.founder { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: #FFFCF7; color: #0D2F33; border: 2px solid #0A6F78; border-radius: 18px; padding: 16px 18px; }
.founder .offer-head { flex-wrap: wrap; }
.founder .offer-tag { margin-left: 4px; }
.founder-text { min-width: 0; max-width: 560px; }
.founder-p { margin: 8px 0 0; font-weight: 500; }
.founder .per, .founder .was { color: #4F6866; }
.founder-price { margin: 0; }
.founder-price b { color: #0A6F78; }
.plan-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .plan-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px 18px; min-width: 0; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(6, 50, 56, 0.45); }
.plan-list .plan.reveal:nth-child(2) { transition-delay: 0.08s; }
.plan-list .plan.reveal:nth-child(3) { transition-delay: 0.16s; }
.plan-list .plan.reveal:nth-child(4) { transition-delay: 0.24s; }
.plan.best { border: 2px solid var(--link); box-shadow: 0 18px 40px -24px rgba(6, 50, 56, 0.45); }
.badge { position: absolute; top: -13px; left: 18px; margin: 0; background: var(--link); color: var(--card); font: 600 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; border-radius: 99px; padding: 4px 10px; }
.plan h3 { font: 800 22px/1.1 var(--f-display); margin: 0; }
.plan-for { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.limits { list-style: none; display: grid; gap: 6px; margin: 16px 0 0; padding: 12px 0; border-block: 1px solid var(--border); font-weight: 600; }
.limits li::before { width: 18px; height: 18px; }
.plan-pitch { margin: 12px 0 18px; color: var(--muted); font-size: 15px; }
.plan-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; border: 2px solid var(--link); color: var(--link); font-weight: 700; text-decoration: none; background: linear-gradient(var(--link), var(--link)) left / 0 100% no-repeat; transition: background-size 0.35s ease, color 0.25s ease, transform 0.15s; }
.plan-cta::after { content: "→"; transition: transform 0.25s ease; }
.plan-cta:hover { background-size: 100% 100%; color: var(--card); }
.plan-cta:hover::after { transform: translateX(4px); }
.plan-cta:active, .action:active { transform: scale(0.97); }
.action { transition: transform 0.15s, box-shadow 0.25s, filter 0.25s; }
.action:hover { filter: brightness(1.08); box-shadow: 0 12px 24px -10px rgba(7, 95, 107, 0.8); }

/* Comparar planes */
.compare { margin-top: 28px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 14px 14px; }
.compare h3 { font: 800 22px/1.1 var(--f-display); margin: 0 4px 10px; }
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 9px 4px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.cmp tbody th { text-align: left; font-weight: 500; padding-left: 4px; width: 44%; }
.cmp thead th { font: 800 15px/1.1 var(--f-display); padding-bottom: 12px; position: sticky; top: 0; background: var(--card); }
.cmp .short { display: none; }
@media (max-width: 560px) { .cmp .long { display: none; } .cmp .short { display: inline; } .cmp { font-size: 13px; } }
.cmp td { font: 600 14px var(--f-mono); }
.cmp .hl { background: var(--aqua-soft); }
.cmp thead th.hl { border-radius: 10px 10px 0 0; background: var(--aqua-soft); }
.cmp tr.grp th { text-align: left; font: 500 11px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); padding-top: 16px; border-bottom: 0; }
.cmp td.yes::before, .cmp td.no::before { content: ""; display: inline-block; vertical-align: middle; }
.cmp td.yes::before { width: 22px; height: 22px; border-radius: 50%; background: var(--link) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cmp td.no::before { width: 12px; height: 2px; background: var(--input); opacity: 0.6; }
.cmp .inf { font: 600 12px var(--f-body); }
.cmp-note { font-size: 13px; margin: 12px 4px 0; }

/* Referidos */
.refer-wrap { padding-block: 16px; }
.refer { color: #FFFCF7; border-radius: 24px; padding: 24px 20px; background: radial-gradient(120% 70% at 100% 0%, rgba(255, 138, 91, 0.25), transparent 60%), repeating-radial-gradient(circle at 10% 120%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px), linear-gradient(160deg, #0B7E88, #06414A); box-shadow: 0 24px 50px -28px rgba(2, 30, 36, 0.8); }
@media (min-width: 760px) { .refer { padding: 36px; } }
.refer-head { display: flex; align-items: center; gap: 16px; }
.gift { width: 64px; height: 64px; flex: none; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
.refer h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.02; }
.refer-sub { display: block; font-size: clamp(18px, 2.4vw, 24px); color: #BFF3EE; margin-top: 4px; }
.refer-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .refer-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.refer-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: rgba(255, 252, 247, 0.1); border: 1px solid rgba(255, 252, 247, 0.2); border-radius: 16px; padding: 14px; }
.rs-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #FF8A5B; color: #0D2F33; font: 800 20px var(--f-display); }
.refer-steps b { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.refer-steps p { margin: 4px 0 0; color: #E6F6F4; font-size: 15px; }
.refer-fine { margin: 16px 0 0; font-size: 13px; color: #BFF3EE; }
.trial-band { padding-block: 8px 40px; }
.trial-band p { margin: 0; background: var(--aqua-soft); border-radius: 16px; padding: 14px 18px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .panel *, .gift, .price b { animation: none !important; transition: none !important; }
}

.foot { padding-block: 24px calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); font-size: 14px; display: grid; gap: 18px; }
@media (min-width: 700px) { .foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.foot-main { display: grid; gap: 4px; }
.foot p { margin: 0; }
.astrent { display: grid; gap: 8px; justify-items: start; }
@media (min-width: 700px) { .astrent { justify-items: end; text-align: right; } }
.astrent img { height: 26px; width: auto; display: block; }
.al-dark { display: none !important; }
@media (prefers-color-scheme: dark) { .al-light { display: none !important; } .al-dark { display: block !important; } }
.tag { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.tag span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Movimiento =====
   motion.js pone .motion en <html> (salvo con «reducir movimiento») y agrega las clases
   .glow (luz), .tilt (inclinación con mouse), .lit (luz al pasar por el centro en el celular),
   .stagger (entradas escalonadas), .magnet y los .ripple al tocar. Sin JS la página queda igual que antes. */

/* Línea de progreso arriba */
.progress { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--aqua), #FF8A5B); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* El agua del encabezado: luz (canvas de motion.js) y la orilla con olas */
.water { position: relative; overflow: hidden; }
.water > .wrap { position: relative; z-index: 2; }
.grid { position: relative; z-index: 3; }
.caustics { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.motion .caustics { animation: fade-in 1.8s ease 0.15s backwards; }
@keyframes fade-in { from { opacity: 0; } }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 1px 18px rgba(3, 40, 46, 0.35); }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; z-index: 1; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; display: block; }
.waves path { fill: var(--bg); }
.waves .w1 { opacity: 0.4; }
.waves .w2 { height: 72%; }
.motion .waves .w1 { animation: wave 18s linear infinite; }
.motion .waves .w2 { animation: wave 11s linear infinite reverse; }
@keyframes wave { to { transform: translateX(-50%); } }

/* Entrada del encabezado al cargar */
.motion .top > *, .motion .hero > * { animation: hero-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.motion .hero > :nth-child(1) { animation-delay: 0.05s; }
.motion .hero > :nth-child(2) { animation-delay: 0.13s; }
.motion .hero > :nth-child(3) { animation-delay: 0.22s; }
.motion .hero > :nth-child(4) { animation-delay: 0.32s; }
.motion .hero > :nth-child(5) { animation-delay: 0.42s; }
.motion .grid > .card { animation: hero-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s backwards; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } }
.motion .offer-list > li { animation: hero-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; animation-delay: calc(0.75s + var(--i, 0) * 0.12s); }
.motion .offer .offer-tag { animation: stamp 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 1.75s backwards; }
.motion .founder.in .offer-tag { animation: stamp 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s backwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-18deg) scale(2.2); } }
.offer-n, .price b { font-variant-numeric: tabular-nums; }

/* Entradas escalonadas */
.motion .stagger:not(.offer-list) > * { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.motion .stagger.in > * { opacity: 1; transform: none; }
.motion .stops li:not(:last-child)::before { transform: scaleY(0); transform-origin: top; transition: transform 0.8s ease calc(var(--i, 0) * 110ms + 0.35s); }
.motion .stops.in li::before { transform: none; }

/* Luz que sigue el mouse (o que se enciende en el centro de la pantalla en el celular) */
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(70, 207, 198, 0.17), transparent 60%); }
.stops li.glow::after { inset: -12px -14px; border-radius: 18px; }
.refer-steps li.glow::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 91, 0.24), transparent 65%); }
.plan.glow::before, .offer.glow::before, .founder.glow::before, .refer-steps li.glow::before, .compare.glow::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--aqua), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.plan.best.glow::before, .founder.glow::before { inset: -2px; padding: 2px; }
.refer-steps li.glow::before { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), #FF8A5B, transparent 70%); }
.glow.hov::after, .glow.lit::after, .glow.hov::before, .glow.lit::before { opacity: 1; }

/* Inclinación 3D con mouse (solo .tilt; en el celular no se usa) */
.motion .plan-list .plan.tilt.in, .motion .offer.tilt, .motion .founder.tilt.in, .motion .refer-steps.in li.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition-property: transform, box-shadow, opacity; transition-duration: 0.6s, 0.4s, 0.6s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1), ease, ease;
}
.motion .plan-list .plan.tilt.in.hov, .motion .offer.tilt.hov, .motion .founder.tilt.in.hov, .motion .refer-steps.in li.tilt.hov { --lift: -6px; transition-duration: 0.14s, 0.4s, 0.6s; transition-delay: 0s; box-shadow: 0 28px 50px -26px rgba(6, 50, 56, 0.55); }
.motion .plan-list .plan.lit.in { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(6, 50, 56, 0.5); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, opacity 0.6s ease; }
.refer-steps li.lit, .refer-steps li.hov { background: rgba(255, 252, 247, 0.16); border-color: rgba(255, 138, 91, 0.5); }

/* El celular de ejemplo: flota, gira hacia el mouse y le pasa un brillo al cambiar de pestaña */
.phone { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .panel.active .phone { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -9px; } }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%) var(--gx, 50%) 0 / 260% 100% no-repeat; }
.motion .panel.enter .phone::after { animation: glare 1.3s ease 0.3s backwards; }
@keyframes glare { from { background-position: 140% 0; } to { background-position: -40% 0; } }
.motion .tabs button[aria-selected="true"] { animation: tab-pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes tab-pop { 40% { transform: scale(1.06); } }

/* Botones: brillo que pasa, luz bajo el cursor y atracción (magnet) */
.action { position: relative; overflow: hidden; isolation: isolate; }
.action::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent); transform: skewX(-20deg); opacity: 0; }
.motion .action::after { animation: shine 6s ease-in-out 2.4s infinite; }
@keyframes shine { 0% { opacity: 1; transform: skewX(-20deg) translateX(0); } 22%, 100% { opacity: 1; transform: skewX(-20deg) translateX(420%); } }
.action::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(140px circle at var(--bx, 50%) 50%, rgba(255, 255, 255, 0.28), transparent 70%); }
.action:hover::before { opacity: 1; }
.motion .magnet { transition: translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .action.magnet { transition: transform 0.15s, box-shadow 0.25s, filter 0.25s, translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* La onda al tocar un botón */
.plan-cta, .steps button, .cap, .period button, .lang, .replay, .ig { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.22; transform: scale(0); pointer-events: none; animation: ripple 0.65s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Compara los planes: los ✓ aparecen fila por fila; la fila bajo el mouse se marca */
.motion .cmp td.yes::before { transition: transform 0.45s cubic-bezier(0.3, 1.7, 0.5, 1); }
.motion .cmp tr.cmp-row:not(.in) td.yes::before { transform: scale(0); }
.motion .cmp td:nth-child(3)::before { transition-delay: 0.07s; }
.motion .cmp td:nth-child(4)::before { transition-delay: 0.14s; }
.motion .cmp td:nth-child(5)::before { transition-delay: 0.21s; }
.cmp tbody tr.cmp-row { transition: background 0.2s; }
@media (hover: hover) { .cmp tbody tr.cmp-row:hover { background: rgba(70, 207, 198, 0.1); } }

/* Referidos: luces que se mueven, anillos que pasan del 1 al 3, «1 mes gratis» con brillo y confeti del regalo */
.refer { position: relative; isolation: isolate; }
.refer-fx { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.refer-fx::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(255, 138, 91, 0.22), transparent) 74% 22% / 46% 46% no-repeat, radial-gradient(closest-side, rgba(70, 207, 198, 0.28), transparent) 18% 78% / 56% 56% no-repeat; }
.motion .refer-fx::before { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { 50% { transform: translate(7%, -5%) rotate(8deg); } 100% { transform: translate(-6%, 5%) rotate(-6deg); } }
.rs-n { position: relative; }
.rs-n::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #FF8A5B; opacity: 0; pointer-events: none; }
.motion .refer-steps.in .rs-n::after { animation: ring 3.6s ease-out infinite; animation-delay: calc(var(--i, 0) * 1.2s + 0.8s); }
@keyframes ring { 0% { transform: scale(1); opacity: 0.9; } 35% { transform: scale(1.9); opacity: 0; } 100% { opacity: 0; } }
.motion .refer h2 [data-i="referBig"] { background: linear-gradient(100deg, #FFFCF7 40%, #FFD9C7 50%, #FFFCF7 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.gift-host { position: relative; }
.gift { cursor: pointer; }
.motion .gift.burst { animation: gift-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1), bob 3s ease-in-out 0.55s infinite; }
@keyframes gift-pop { 30% { transform: scale(0.85) rotate(-6deg); } 60% { transform: scale(1.15) rotate(4deg); } }
.bit { position: absolute; z-index: 2; left: 28px; top: 28px; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; animation: bit 1.25s cubic-bezier(0.15, 0.7, 0.3, 1) forwards; }
@keyframes bit { 0% { transform: translate(0, 0) rotate(0) scale(0.5); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--tx), calc(var(--ty) + 46px)) rotate(var(--rot)) scale(1); opacity: 0; } }

/* ===== Confianza (landing) y «Quiénes somos» (/quienes-somos) ===== */
.face { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 22px var(--f-display); color: #FFFCF7; background: linear-gradient(160deg, #0B7E88, #085C68); box-shadow: 0 0 0 3px var(--card); }
.face svg { width: 28px; height: 28px; }
img.face { object-fit: cover; background: var(--stone); }
.trust { margin-block: 8px 20px; display: grid; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 20px; }
@media (min-width: 900px) { .trust { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; padding: 28px 32px; } }
.trust-team { display: flex; gap: 16px; align-items: flex-start; }
.faces { display: flex; flex: none; }
.faces .face + .face { margin-left: -14px; background: linear-gradient(160deg, #FF8A5B, #D9673A); color: #0D2F33; }
.trust h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.1; }
.trust-team p { margin: 6px 0 0; color: var(--muted); }
.trust-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0 0; }
.trust-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.trust-link::after { content: "→"; transition: transform 0.25s ease; }
.trust-link:hover::after { transform: translateX(4px); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--aqua-soft); border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.trust-list .trust-24 { grid-column: 1 / -1; border: 1.5px solid var(--link); }
.trust-list svg, .p-ico { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--card); color: var(--link); }

.about-page .hero { padding-bottom: 20px; }
.home { display: inline-block; border-radius: 12px; }
.a-sec { padding-block: 28px 12px; }
.a-head { margin-bottom: 20px; }
.a-sec h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.05; }
.story { padding-top: 8px; }
.story .stops { max-width: 760px; }
.team, .promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person, .promise { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; min-width: 0; }
.person { display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 760px) { .person { flex-direction: column; } .person .face { width: 72px; height: 72px; font-size: 30px; } .person .face svg { width: 38px; height: 38px; } }
.person b { font: 800 22px/1.1 var(--f-display); }
.person .role { margin: 4px 0 0; font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.person p:not(.role) { margin: 8px 0 0; color: var(--muted); }
.person.pilot .face { background: linear-gradient(160deg, #FF8A5B, #D9673A); color: #0D2F33; }
.promise { display: grid; gap: 8px; align-content: start; }
.promise b { font: 800 19px/1.15 var(--f-display); }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }
.p-ico { background: var(--aqua-soft); }
.company { display: grid; gap: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 22px 20px; }
@media (min-width: 760px) { .company { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding: 32px; gap: 40px; align-items: center; } }
.co-logo { height: 26px; width: auto; display: block; margin-bottom: 14px; }
.company h2 { font-size: clamp(24px, 3vw, 30px); }
.co-text p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.co-contact { display: grid; gap: 8px; }
.co-contact .kicker { margin: 0; }
.contact { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--border); font-weight: 700; text-decoration: none; transition: border-color 0.2s, transform 0.15s; }
.contact:hover { border-color: var(--link); }
.contact:active { transform: scale(0.98); }
.contact[hidden] { display: none; }
.contact.wa:not([hidden]) { background: #25D366; border-color: #25D366; color: #0D2F33; }
.a-cta { margin-block: 20px 40px; display: grid; justify-items: start; gap: 10px; color: #FFFCF7; border-radius: 24px; padding: 24px 20px; background: radial-gradient(120% 70% at 100% 0%, rgba(255, 138, 91, 0.25), transparent 60%), linear-gradient(160deg, #0B7E88, #06414A); box-shadow: 0 24px 50px -28px rgba(2, 30, 36, 0.8); }
@media (min-width: 760px) { .a-cta { padding: 36px; } }
.a-cta .offer-n { color: #FFFCF7; }
.a-cta > p:not(.offer-head) { margin: 0; color: #E6F6F4; font-size: 17px; max-width: 52ch; }
.a-cta .action { width: auto; padding: 0 28px; margin-top: 6px; background: #FFFCF7; color: #075F6B; }
.a-cta .action::after { background: linear-gradient(100deg, transparent, rgba(70, 207, 198, 0.35), transparent); }
.cta-plans { color: #FFFCF7; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.motion .promises.in > .promise.tilt, .motion .team.in > .person.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition-property: transform, box-shadow, opacity; transition-duration: 0.6s, 0.4s, 0.6s; transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1), ease, ease;
}
.motion .promises.in > .promise.tilt.hov, .motion .team.in > .person.tilt.hov { --lift: -6px; transition-duration: 0.14s, 0.4s, 0.6s; transition-delay: 0s; box-shadow: 0 28px 50px -26px rgba(6, 50, 56, 0.55); }
.motion .promises.in > .promise.lit, .motion .team.in > .person.lit { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(6, 50, 56, 0.5); }
.promise.glow::before, .person.glow::before, .trust.glow::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--aqua), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Fundadores: retrato grande 4:5 con nombre encima y lo que lleva cada uno */
.founders { margin-bottom: 14px; }
@media (min-width: 760px) { .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .team-pilot { grid-template-columns: 1fr; } }
.team .founder-card { display: block; padding: 0; overflow: hidden; border-radius: 22px; }
.portrait { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: #1C1815; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.founder-card.hov .portrait img, .founder-card.lit .portrait img { transform: scale(1.04); }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(6, 30, 34, 0.85)); }
.portrait figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 6px; color: #FFFCF7; }
.portrait figcaption b { font: 800 clamp(30px, 4vw, 40px)/1 var(--f-display); }
.portrait figcaption span { justify-self: start; font: 500 12px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; background: #FF8A5B; color: #0D2F33; border-radius: 99px; padding: 4px 10px; }
.fc-body { padding: 18px 20px 20px; }
.fc-body p { margin: 0; color: var(--muted); }
.fc-body .fc-place { font: 500 12px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); margin-bottom: 8px; }
.fc-body .fc-label { margin-top: 14px; font: 600 13px var(--f-body); color: var(--fg); }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--aqua-soft); color: var(--fg); border-radius: 99px; padding: 5px 12px; font-weight: 600; font-size: 14px; }
@media (min-width: 760px) { .team-pilot .person { flex-direction: row; align-items: center; } }

/* Páginas legales (/privacidad y /terminos, generadas con scripts/legal.mjs) */
.legal-doc { max-width: 760px; padding-block: 32px 56px; }
.legal-doc .updated { margin: 0 0 6px; color: var(--muted); font: 500 13px/20px var(--f-mono); }
.legal-doc .lead-doc { margin-top: 20px; font-size: 18px; line-height: 1.6; }
.legal-doc h2 { margin: 36px 0 0; font-family: var(--f-display); font-size: clamp(20px, 3vw, 24px); line-height: 1.2; }
.legal-doc p { margin: 12px 0 0; line-height: 1.65; }
.legal-doc a { color: var(--link); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-doc .contact-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 600; }
.legal-doc .contact-card { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); line-height: 1.7; }
/* /sms: the consent box as the customer sees it, and sample texts. */
.legal-doc .optin-mock { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.legal-doc .optin-mock .optin-row { display: flex; align-items: center; gap: 12px; margin: 0; }
.legal-doc .optin-box { flex: none; width: 24px; height: 24px; border: 2px solid var(--input); border-radius: 6px; background: var(--bg); }
.legal-doc .optin-mock .optin-text { margin: 10px 0 0 36px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.legal-doc .optin-mock .optin-links { margin: 8px 0 0 36px; font-size: 14px; }
.legal-doc .sms-samples { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal-doc .sms-samples li { max-width: 520px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--stone); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }

/* Formulario de la cuenta de prueba (/prueba) */
.trial { position: relative; z-index: 3; max-width: 680px; margin-top: -48px; padding-bottom: 40px; }
.trial .card h2 { margin: 28px 0 12px; font-size: 22px; }
.trial .card h2:first-child { margin-top: 0; }
.trial .card form > .muted { margin: -4px 0 14px; }
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: end; margin-bottom: 10px; }
.tech .field { margin: 0; }
.tech .x { min-height: 48px; border: 1.5px solid var(--input); border-radius: 12px; background: transparent; color: var(--muted); font: 600 20px var(--f-body); cursor: pointer; }
.add { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px dashed var(--link); background: transparent; color: var(--link); font: 600 15px var(--f-body); cursor: pointer; }
.drop { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 18px 14px; border: 1.5px dashed var(--input); border-radius: 14px; background: var(--aqua-soft); cursor: pointer; }
.drop span { font-weight: 400; font-size: 14px; color: var(--muted); }
.file { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.field:has(.file:focus-visible) .drop { outline: 3px solid var(--aqua); outline-offset: 2px; }
.picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.picked li { overflow-wrap: anywhere; }
.picked li::before { content: "📎 "; }
.done .action { margin-top: 16px; }
@media (max-width: 520px) { .tech { grid-template-columns: minmax(0, 1fr) 44px; } .tech .field:nth-child(2) { grid-column: 1; } .tech .x { grid-row: 1; grid-column: 2; } }
.x-file { min-height: 32px; min-width: 32px; margin-left: 4px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: 600 18px var(--f-body); cursor: pointer; }

/* ===== Cómo funciona (/como-funciona) ===== */
.how-page .a-sec { scroll-margin-top: 8px; }
.how-page .how-tabs { margin-top: 0; }
.feats-more { margin: 14px 0 0; }
.tabs .mine { font: 500 10px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; background: #FF8A5B; color: #0D2F33; border-radius: 99px; padding: 2px 8px; }

/* La misma app en la computadora y en el celular (siempre clara, como la app). Mide en cqw: se achica entera en pantallas chicas. */
.pwa { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pwa { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; } }
.devices { position: relative; width: 100%; max-width: 580px; margin-inline: auto; padding: 0 7% 9% 0; container-type: inline-size; font-size: 10px; }
@container (min-width: 1px) { .laptop, .mini-phone { font-size: 1.9cqw; } }
.lap-screen { background: #0D2F33; border-radius: 1.4em 1.4em 0.4em 0.4em; padding: 0.8em; box-shadow: 0 24px 50px -24px rgba(2, 30, 36, 0.7); }
.lap-ui { display: grid; grid-template-columns: 31% minmax(0, 1fr); aspect-ratio: 16 / 10; background: #F3EEE6; color: #0D2F33; border-radius: 0.6em; overflow: hidden; line-height: 1.25; }
.lap-side { display: flex; flex-direction: column; gap: 0.3em; padding: 1.1em 0.7em; background: #FFFCF7; border-right: 1px solid #E2D8C7; min-width: 0; }
.lap-brand { font: 800 1.4em/1 var(--f-display); color: #0A6F78; margin: 0 0 0.5em 0.4em; }
.lap-item { display: flex; align-items: center; gap: 0.6em; padding: 0.42em 0.6em; border-radius: 0.6em; font-weight: 600; color: #4F6866; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lap-item::before { content: ""; width: 0.9em; height: 0.9em; flex: none; border-radius: 0.3em; background: #D5F1EE; }
.lap-item.on { background: #0A6F78; color: #FFFCF7; }
.lap-item.on::before { background: #46CFC6; }
.lap-group { margin: 0.5em 0 0 0.6em; font: 500 0.8em var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #0A6F78; }
.lap-main { display: flex; flex-direction: column; gap: 0.6em; padding: 1em; min-width: 0; }
.lap-head { display: flex; justify-content: space-between; align-items: center; padding: 0.7em 0.9em; border-radius: 0.8em; color: #FFFCF7; font: 800 1.3em var(--f-display); text-transform: uppercase; background: radial-gradient(120% 80% at 90% 0%, rgba(255, 252, 247, 0.18), transparent 60%), linear-gradient(180deg, #0B7E88, #085C68); }
.lap-mono { font: 500 0.7em var(--f-mono); opacity: 0.85; }
.lap-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; }
.lap-stats > span { display: grid; gap: 0.25em; background: #FFFCF7; border-radius: 0.7em; padding: 0.6em 0.7em; box-shadow: 0 6px 14px -10px rgba(6, 50, 56, 0.5); min-width: 0; }
.lap-stats i { font: 500 0.75em var(--f-mono); font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; color: #0A6F78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lap-stats b { font: 800 1.4em/1 var(--f-display); }
.lap-label { margin: 0.2em 0 0; font: 500 0.75em var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #0A6F78; }
.lap-row { display: flex; align-items: center; gap: 0.6em; background: #FFFCF7; border-radius: 0.7em; padding: 0.5em 0.7em; font-weight: 600; min-width: 0; }
.lap-row > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lap-row .m-dot { width: 0.8em; height: 0.8em; }
.lap-row .warn-dot { background: #FF8A5B; }
.lap-base { position: relative; height: 1.6em; margin: 0 -4%; border-radius: 0 0 1.4em 1.4em; background: linear-gradient(180deg, #D9D0C1, #B5AA97); }
.lap-base::before { content: ""; position: absolute; left: 41%; right: 41%; top: 0; height: 40%; border-radius: 0 0 0.6em 0.6em; background: #A89C88; }
.mini-phone { position: absolute; right: 0; bottom: 0; width: 29%; padding: 0.45em; border-radius: 1.9em; background: #0D2F33; box-shadow: 0 24px 46px -18px rgba(2, 30, 36, 0.75); }
.mp-screen { display: flex; flex-direction: column; aspect-ratio: 9 / 17; border-radius: 1.5em; overflow: hidden; background: #F3EEE6; color: #0D2F33; line-height: 1.2; }
.mp-top { display: flex; justify-content: space-between; align-items: center; padding: 1.1em 0.9em 1.6em; color: #FFFCF7; font: 800 1.2em var(--f-display); text-transform: uppercase; background: linear-gradient(180deg, #0B7E88, #085C68); }
.mp-body { flex: 1; display: flex; flex-direction: column; gap: 0.45em; margin-top: -0.8em; padding: 0.6em; border-radius: 0.9em 0.9em 0 0; background: #F3EEE6; }
.mp-card { display: grid; gap: 0.2em; background: #FFFCF7; border-radius: 0.8em; padding: 0.6em; box-shadow: 0 6px 14px -10px rgba(6, 50, 56, 0.5); }
.mp-card i { font: 500 0.7em var(--f-mono); font-style: normal; text-transform: uppercase; color: #0A6F78; }
.mp-card b { font: 800 1.25em/1.1 var(--f-display); }
.mp-btn { margin-top: 0.3em; padding: 0.45em; border-radius: 0.6em; text-align: center; font-weight: 800; font-size: 0.85em; text-transform: uppercase; color: #FFFFFF; background: linear-gradient(180deg, #0B7F89, #075F6B); }
.mp-row { display: flex; align-items: center; gap: 0.5em; background: #FFFCF7; border-radius: 0.7em; padding: 0.5em 0.6em; font-weight: 600; }
.mp-row::before { content: ""; width: 0.9em; height: 0.9em; flex: none; border-radius: 0.3em; border: 0.15em solid #74908C; box-sizing: border-box; }
.mp-row.done-r { color: #74908C; text-decoration: line-through; }
.mp-row.done-r::before { background: #0A6F78; border-color: #0A6F78; }
.mp-nav { display: flex; justify-content: space-around; padding: 0.6em 0.4em 0.9em; background: #FFFCF7; border-top: 1px solid #E2D8C7; }
.mp-nav i { width: 1.6em; height: 1.1em; border-radius: 0.4em; background: #D5F1EE; }
.mp-nav i.on { background: #0A6F78; }
.motion .mini-phone { animation: float 6s ease-in-out infinite; }
.motion .mp-btn { animation: tap 2.4s ease-in-out 1.2s infinite; }
.pwa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pwa-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; }
.pwa-list b, .os-steps b { font: 800 18px/1.2 var(--f-display); }
.pwa-list p, .os-steps p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* Instalar: pestañas por equipo + cómo saber que es la de verdad */
.install { display: grid; gap: 18px; }
@media (min-width: 900px) { .install { grid-template-columns: minmax(0, 1fr) minmax(0, 370px); align-items: start; gap: 28px; } }
.install-main { min-width: 0; }
.os-panel { margin-top: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 14px; }
@media (min-width: 760px) { .os-panel { padding: 18px; } }
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .os-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.os-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--bg); border-radius: 16px; padding: 12px; }
.os-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--card); color: var(--link); box-shadow: 0 6px 14px -10px rgba(6, 50, 56, 0.5); }
.os-ico svg { width: 26px; height: 26px; }
.safe { background: var(--card); border: 2px solid var(--link); border-radius: 22px; padding: 20px; }
.safe h3 { margin: 0; font: 800 22px/1.15 var(--f-display); text-wrap: balance; }
.addr { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 14px 0 16px; padding: 0 16px; border-radius: 99px; background: var(--bg); border: 1.5px solid var(--border); font: 500 15px var(--f-mono); }
.addr svg { width: 18px; height: 18px; flex: none; color: var(--link); }
.addr::after { content: ""; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: #0B7E88 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.safe-list, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.4; }
.safe-list li, .ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.safe-list li::before, .ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #0B7E88 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23FFFCF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Celular y computadora */
@media (min-width: 1040px) { .promises.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo .promise { gap: 12px; padding: 20px; }
.duo .promise > b { font-size: 22px; }
.ticks { margin-top: 2px; font-weight: 500; }
.duo-note { margin: 14px 0 0; font-size: 15px; }

/* Cada sección, por persona */
.who-head { margin: 18px 0 12px; }
.who-head h3 { margin: 0; font: 800 clamp(20px, 2.6vw, 24px)/1.15 var(--f-display); text-wrap: balance; }
.who-head p { margin: 4px 0 0; max-width: 64ch; }
.who-head .plan-note { margin-top: 10px; }
/* Sin tarjetas sueltas: la última fila se reparte el ancho (4 tarjetas = 2 × 2). */
@media (min-width: 760px) and (max-width: 1039px) { .sec-cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .promises.sec-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sec-cards > li { grid-column: span 2; }
  .sec-cards > li:nth-last-child(2):nth-child(3n+1), .sec-cards > li:last-child:nth-child(3n+2), .sec-cards > li:first-child:nth-last-child(4), .sec-cards > li:first-child:nth-last-child(4) ~ li { grid-column: span 3; }
  .sec-cards > li:last-child:nth-child(3n+1) { grid-column: span 6; }
}
.sec-cards .promise > b { font-size: 20px; }
.promise .plan-note { justify-self: start; margin: 2px 0 0; }

/* Los mensajes: cómo sale cada aviso (supabase/functions/_shared/channel.ts de la app) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
@media (min-width: 760px) { .flow li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; right: -20px; top: 50%; transform: translateY(-50%); font: 600 18px var(--f-mono); color: var(--link); } }
.flow b { font: 800 18px/1.2 var(--f-display); }
.flow p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.msg-grid { display: grid; gap: 22px; margin-top: 18px; }
@media (min-width: 860px) { .msg-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 32px; } }
.msg-kinds { display: grid; gap: 12px; min-width: 0; }
.mk-group { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px 6px; }
.mk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.mk-head > b { font: 800 19px var(--f-display); }
.mk-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 11px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.mk-path > span:not([aria-hidden]) { background: var(--aqua-soft); border-radius: 99px; padding: 3px 8px; }
.mk-group ul { list-style: none; margin: 0; padding: 0; }
.mk-group li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); }
.mk-group li b { font-weight: 700; }
.mk-group li span { color: var(--muted); font-size: 15px; }
.msg-phone { display: grid; justify-items: center; gap: 12px; }
.msg-phone .ph-body { min-height: 0; }
.motion .msg-phone .phone { animation: float 6s ease-in-out infinite; }
.phone-cap { margin: 0; font-size: 14px; text-align: center; max-width: 30ch; }
.msg-rules { margin-top: 20px; }

/* Preguntas */
.faq { max-width: 820px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 4px 20px; }
.faq .more { margin: 0; border: 0; }
.faq .more + .more { border-top: 1px solid var(--border); }
.faq summary { gap: 12px; color: var(--fg); font-size: 17px; }
.faq summary::after { color: var(--link); }
.faq .more p { margin: 0 0 16px; color: var(--muted); max-width: 68ch; }

/* Lanzamiento (6 nov 2026): el botón para entrar a la app va primero */
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 16px; background: #FF8A5B; color: #0D2F33; font: 800 19px var(--f-body); text-align: center; text-decoration: none; box-shadow: 0 5px 0 #D9673A, 0 16px 30px -16px rgba(2, 30, 36, 0.7); transition: transform 0.15s, box-shadow 0.2s, filter 0.2s; }
.go::after { content: "→"; transition: transform 0.25s ease; }
.go:hover { filter: brightness(1.05); }
.go:hover::after { transform: translateX(4px); }
.go:active { transform: translateY(3px); box-shadow: 0 2px 0 #D9673A; }
.go-note { margin: 0; flex-basis: 100%; font-size: 15px; font-weight: 600; color: #E6F6F4; }
.go-help { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 24px; border-radius: 16px; border: 2px solid rgba(255, 252, 247, 0.85); background: rgba(255, 252, 247, 0.1); color: #FFFCF7; font: 700 18px var(--f-body); text-align: center; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.go-help:hover { background: rgba(255, 252, 247, 0.2); }
.go-help:active { transform: translateY(2px); }
@media (max-width: 560px) { .hero-cta .go, .hero-cta .go-help, .trial-box .go { width: 100%; } }

/* Empieza en 3 pasos (la tarjeta junto a «Qué es PoolPing») */
.start-card > .muted { margin: 6px 0 18px; }
.how3 { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.how3 li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.n3 { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--f-mono); background: var(--aqua-soft); color: var(--link); }
.how3 b { display: block; font-weight: 700; }
.how3 li > span > span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.start-help { margin: 14px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.start-help a { color: var(--link); font-weight: 700; text-underline-offset: 3px; }

/* Precio de fundador en el plan Profesional */
.plan .was { text-decoration-thickness: 2px; }
.founder-tag { align-self: flex-start; margin: 8px 0 0; background: #FF8A5B; color: #0D2F33; font-weight: 800; font-size: 13px; line-height: 1.2; padding: 4px 10px; border-radius: 99px; }
.founder-go { min-height: 52px; font-size: 17px; }

/* Te lo dejamos listo: el formulario, ahora para pedir ayuda */
.help { position: relative; padding-block: 28px 36px; display: grid; gap: 24px; }
@media (min-width: 900px) { .help { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; } .help-text { padding-top: 16px; } }
.help h2 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.05; }
.help-text > .muted { margin: 12px 0 18px; max-width: 52ch; font-size: 17px; }
.help .ticks { font-weight: 500; font-size: 16px; }
.anchor { position: absolute; top: 0; }
.done-go { margin-top: 16px; }

/* Prueba A/B (9 nov 2026, José). variant.js pone data-v="a|b" en <html>.
   A es la página de siempre. B: arriba «¿Quieres una llamada de 20 minutos?»,
   el formulario (#ayuda sube debajo del encabezado), «o» y la prueba gratis;
   después todo lo demás igual. */
.vb { display: none; }
html[data-v="b"] .vb { display: block; }
html[data-v="b"] span.vb { display: inline; }
html[data-v="b"] .va,
html[data-v="b"] .hero:not(.hero-b),
html[data-v="b"] .help-text { display: none; }
html[data-v="b"] body { display: flex; flex-direction: column; }
html[data-v="b"] body > * { order: 4; }
html[data-v="b"] body > header { order: 1; }
html[data-v="b"] body > #ayuda { order: 2; }
html[data-v="b"] body > main { order: 3; }
html[data-v="b"] body > .wrap { width: 100%; }
html[data-v="b"] .hero-b { padding-bottom: 4px; }
html[data-v="b"] .hero-b h1 { font-size: clamp(34px, 6.4vw, 58px); }
html[data-v="b"] #ayuda { z-index: 3; margin-top: -48px; padding-top: 0; grid-template-columns: minmax(0, 520px); gap: 18px; }
html[data-v="b"] #ayuda.reveal { opacity: 1; transform: none; }
html[data-v="b"] #ayuda .card { order: 1; padding-top: 22px; }
html[data-v="b"] #ayuda .b-or { order: 2; }
html[data-v="b"] main.grid { margin-top: 0; }
.b-or { text-align: center; }
.b-or .go { width: 100%; }
.or { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--fg); font: 700 18px var(--f-body); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.b-note { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.b-offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 16px 0 0; padding: 6px 14px 6px 6px; border-radius: 18px; background: rgba(255, 252, 247, 0.14); border: 1px solid rgba(255, 252, 247, 0.35); color: #FFFCF7; font-weight: 600; font-size: 15px; line-height: 1.3; }
.b-offer > span:last-child { padding-left: 6px; }
.b-offer-n { background: #FF8A5B; color: #0D2F33; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.b-or .offer { margin: 22px auto 0; text-align: left; }

/* Última franja con su botón */
.trial-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; background: var(--aqua-soft); border-radius: 16px; padding: 16px 18px; }
.trial-band .trial-box p { flex: 1 1 320px; margin: 0; padding: 0; background: none; border-radius: 0; }

/* Celular: el botón queda a mano abajo cuando el de arriba ya no se ve */
.sticky-go { display: none; }
@media (max-width: 899px) {
  .sticky-go { display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -20px rgba(6, 50, 56, 0.6); transform: translateY(110%); transition: transform 0.3s ease; }
  .sticky-go.show { transform: none; }
  .sticky-go.show, .sticky-go { display: flex; gap: 8px; }
  .sticky-go .go { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; font-size: 18px; }
  .sticky-help { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--link); color: var(--link); font: 700 16px var(--f-body); white-space: nowrap; text-decoration: none; }
  .foot { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-go { transition: none; } }
