/* Página de venta de la plataforma (se combina con los colores del tema y la paleta elegidos) */
body.sales { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body, system-ui, sans-serif); line-height: 1.55; }
.sales h1, .sales h2, .sales h3 { font-family: var(--font-head, inherit); line-height: 1.12; margin: 0 0 .5em; }
.sales h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); text-align: center; margin-bottom: 1.6rem; }
.sales a:not(.btn) { color: inherit; }
.sales .btn-primary { color: var(--on-primary); }
.sales .ic { width: 1.15em; height: 1.15em; vertical-align: -.18em; flex: none; }
.sl-wrap { width: min(1160px, 100% - 2rem); margin: 0 auto; }
.sl-narrow { width: min(820px, 100% - 2rem); }
.sl-skip { position: absolute; left: 0; top: 0; transform: translateY(-120%); transition: transform .15s; background: var(--primary); color: var(--on-primary); padding: .5rem 1rem; z-index: 100; }
.sl-skip:focus { left: 0; }
.sl-big { padding: .85rem 1.4rem; font-size: 1.02rem; }
.sl-ghost { background: transparent; }

/* Cabecera */
.sl-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--border); }
.sl-header .sl-wrap { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.sl-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.sl-brand img { height: 38px; width: auto; border-radius: var(--radius); }
.sl-nav { display: flex; gap: .2rem; margin-left: auto; }
.sl-nav a { padding: .5rem .7rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--muted); }
.sl-nav a:hover { color: var(--primary); background: var(--surface-2); }
.sl-enter { margin-left: .4rem; } .sl-hcta { white-space: nowrap; }
.sl-menu { display: none; background: none; border: 0; color: var(--text); padding: .4rem; cursor: pointer; }
.sl-menu .ic { width: 1.6rem; height: 1.6rem; }
@media (max-width: 900px) {
  .sl-menu { display: inline-flex; }
  .sl-hcta { display: none; }
  .sl-enter { margin-left: auto; }
  .sl-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0,0,0,.18); padding: .5rem 1rem 1rem; margin: 0; }
  .sl-nav.open { display: flex; }
  .sl-nav a { padding: .85rem .4rem; border-bottom: 1px solid var(--border); border-radius: 0; color: var(--text); font-size: 1.05rem; }
}

/* Portada */
.sl-hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%), radial-gradient(800px 400px at -10% 110%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--bg); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.sl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: center; }
.sl-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); letter-spacing: -.02em; }
.sl-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40ch; margin: 0 0 1.6rem; }
.sl-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.sl-badges { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--muted); font-weight: 600; font-size: .95rem; }
.sl-badges .ic { color: var(--primary); }
@media (max-width: 900px) { .sl-hero-grid { grid-template-columns: minmax(0, 1fr); } .sl-sub { max-width: none; } }

/* Maqueta: agenda (ordenador) + reserva (móvil) */
.sl-mock { position: relative; min-height: 380px; }
.sl-laptop { position: absolute; right: 0; top: 10px; width: 88%; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.18); overflow: hidden; }
.sl-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .8rem; font-weight: 700; color: var(--muted); }
.sl-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); } .sl-bar span { margin-left: .5rem; }
.sl-agenda { padding: .7rem .8rem 1rem 30%; display: grid; gap: .45rem; }
.sl-row { display: flex; align-items: center; gap: .7rem; padding: .5rem .7rem; border-radius: 10px; background: var(--surface-2); border-left: 4px solid var(--primary); font-size: .85rem; }
.sl-row b { font-variant-numeric: tabular-nums; } .sl-row span { display: flex; flex-direction: column; line-height: 1.25; } .sl-row small { color: var(--muted); }
.sl-row.new { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); animation: sl-pop 3s ease-in-out infinite; }
.sl-row em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; background: var(--accent); color: #111; }
@keyframes sl-pop { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.03); } }
.sl-phone { position: absolute; left: 0; bottom: 0; width: 210px; background: #111; border-radius: 30px; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.sl-notch { width: 70px; height: 16px; border-radius: 0 0 10px 10px; background: #111; margin: -9px auto 0; position: relative; z-index: 2; }
.sl-screen { background: var(--surface); color: var(--text); border-radius: 22px; padding: 1.2rem .8rem .9rem; margin-top: -8px; display: grid; gap: .5rem; }
.sl-ph-title { font-family: var(--font-head); font-size: .95rem; } .sl-screen > small { color: var(--muted); font-size: .72rem; }
.sl-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.sl-days span { display: grid; place-items: center; padding: .3rem 0; border-radius: 8px; background: var(--surface-2); font-size: .7rem; } .sl-days small { font-size: .6rem; color: var(--muted); }
.sl-days .on { background: var(--primary); color: var(--on-primary); } .sl-days .on small { color: inherit; }
.sl-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.sl-slots i { font-style: normal; text-align: center; font-size: .7rem; padding: .35rem 0; border-radius: 7px; border: 1px solid var(--border); }
.sl-slots .off { opacity: .35; text-decoration: line-through; } .sl-slots .pick { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.sl-ok { display: flex; gap: .3rem; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; padding: .45rem; border-radius: 8px; background: color-mix(in srgb, var(--ok, #2e9d5b) 18%, var(--surface)); color: var(--ok, #2e9d5b); }
@media (max-width: 560px) { .sl-mock { min-height: 330px; } .sl-laptop { width: 100%; } .sl-agenda { padding-left: .8rem; } .sl-agenda .sl-row:nth-child(n + 4) { display: none; } .sl-phone { width: 170px; left: -6px; bottom: -20px; } }
@media (prefers-reduced-motion: reduce) { .sl-row.new { animation: none; } }

/* Secciones */
.sl-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; scroll-margin-top: 70px; }
.sl-alt { background: var(--surface-2); }
.sl-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.sl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1.4rem; margin: 0; }
.sl-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); margin-bottom: .8rem; }
.sl-ico .ic { width: 26px; height: 26px; }
.sl-card h3 { font-size: 1.15rem; }
.sl-card p { margin: .4rem 0 0; color: var(--muted); }
.sl-pain b { color: var(--danger, #c0392b); } .sl-fix { color: var(--text) !important; } .sl-fix b { color: var(--primary); }
.sl-saving { font-weight: 800; color: var(--primary) !important; font-size: 1.05rem; margin: 0 0 .3rem !important; }
.sl-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: none; }
.sl-steps li { text-align: center; padding: 0 .5rem; } .sl-steps p { color: var(--muted); margin: 0; }
.sl-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 1.2rem; margin-bottom: .7rem; }
.sl-media { margin-top: 2.5rem; display: grid; gap: 1rem; justify-items: center; }
.sl-media video { width: min(900px, 100%); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.2); background: #000; }
.sl-shots { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.sl-shots figure { margin: 0; width: min(240px, 44vw); border-radius: 18px; overflow: hidden; border: 6px solid #111; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.sl-shots img { display: block; width: 100%; }
.sl-caption { color: var(--muted); text-align: center; margin: 0; }

.sl-demo { background: var(--bg-band); color: var(--on-band); }
.sl-demo h2 { text-align: left; margin-bottom: .5rem; } .sl-demo p { opacity: .9; margin: 0; max-width: 56ch; }
.sl-demo-in { display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sl-demo .sl-ghost { color: var(--on-band); border-color: currentColor; }

.sl-plans { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.sl-plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1.6rem; }
.sl-plan.hl { border: 2px solid var(--primary); box-shadow: 0 20px 50px color-mix(in srgb, var(--primary) 22%, transparent); }
.sl-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.sl-price { margin: .2rem 0; display: flex; align-items: baseline; gap: .3rem; } .sl-price b { font-size: 2.4rem; font-family: var(--font-head); } .sl-price small, .sl-price span { color: var(--muted); }
.sl-pdesc { color: var(--muted); margin: 0 0 1rem; }
.sl-plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; flex: 1; } .sl-plan li .ic { color: var(--primary); }
.sl-plan-cta { justify-content: center; }
.sl-note { text-align: center; color: var(--muted); margin-top: 1.2rem; }

.sl-testi blockquote { margin: .6rem 0 1rem; font-size: 1.05rem; }
.sl-testi figcaption { display: flex; gap: .7rem; align-items: center; } .sl-testi figcaption span { display: flex; flex-direction: column; } .sl-testi small { color: var(--muted); }
.sl-testi img, .sl-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sl-av { display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 800; }
.sl-stars { color: #f5b301; letter-spacing: 2px; }

.sl-faq { display: grid; gap: .6rem; }
.sl-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.1rem; }
.sl-faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.sl-faq summary::-webkit-details-marker { display: none; }
.sl-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.sl-faq details[open] summary::after { content: "–"; }
.sl-faq details p { margin: 0 0 1rem; color: var(--muted); }

.sl-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: start; }
.sl-contact h2 { text-align: left; margin-bottom: .4rem; }
.sl-form-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: clamp(1.2rem, 3vw, 2rem); scroll-margin-top: 80px; }
.sl-form { display: grid; gap: .8rem; margin-top: 1rem; }
.sl-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.sl-form input, .sl-form select, .sl-form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid var(--border); border-radius: var(--radius, 8px); background: var(--bg); color: var(--text); width: 100%; box-sizing: border-box; }
.sl-f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.sl-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .5rem; font-weight: 400 !important; }
.sl-check input { width: auto; margin-top: .25rem; }
.sl-hp { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.sl-msg { margin: 0; font-weight: 600; } .sl-msg.ok { color: var(--ok, #2e9d5b); } .sl-msg.err { color: var(--danger, #c0392b); }
.sl-direct p { color: var(--muted); }
.sl-direct-btns { display: grid; gap: .6rem; margin: 1rem 0; }
.sl-direct-btns .btn { justify-content: flex-start; }
.sl-wa { background: #25d366 !important; color: #08331a !important; border-color: #25d366 !important; }
.sl-local { display: flex; gap: .5rem; align-items: center; color: var(--text) !important; font-size: 1.05rem; } .sl-local .ic { color: var(--primary); }
@media (max-width: 860px) { .sl-contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .sl-f2 { grid-template-columns: minmax(0, 1fr); } .sl-ctas .btn { flex: 1 1 100%; justify-content: center; } }

.sl-footer { background: var(--bg-band); color: var(--on-band); padding: 2.5rem 0 2rem; font-size: .92rem; }
.sl-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.sl-foot p { opacity: .85; margin: .3rem 0 0; } .sl-foot nav { display: grid; gap: .4rem; align-content: start; } .sl-foot a { opacity: .9; }
.sl-copy { grid-column: 1 / -1; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); padding-top: 1rem; }
@media (max-width: 700px) { .sl-foot { grid-template-columns: minmax(0, 1fr); } }
.sl-wa-fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); z-index: 50; }
.sl-wa-fab .ic { width: 30px; height: 30px; }

/* ---------- Tema «Portada comercial del negocio» ---------- */
.sb-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--primary); margin: 0 0 .7rem; }
.sb-rating { display: flex; align-items: center; gap: .4rem; margin: 1rem 0 0; color: var(--muted); }
.sb-rating b { color: var(--text); }
.sb-hero-img { position: relative; }
.sb-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.2); display: block; }
.sb-float { position: absolute; left: -18px; bottom: 24px; display: flex; gap: .6rem; align-items: center; background: var(--surface); color: var(--text); padding: .7rem 1rem; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.sb-float .ic { width: 28px; height: 28px; color: var(--primary); } .sb-float span { display: flex; flex-direction: column; line-height: 1.2; } .sb-float small { color: var(--muted); }
.sb-mock { min-height: 420px; display: grid; place-items: center; } .sb-mock .sl-phone { position: relative; left: auto; bottom: auto; width: 250px; }
@media (max-width: 560px) { .sb-float { left: 8px; bottom: 8px; } .sb-mock { min-height: 360px; } }
.sb-stats { background: var(--bg-band); color: var(--on-band); padding: 1.6rem 0; }
.sb-stats dl { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 2rem; margin: 0; text-align: center; }
.sb-stats dt { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; } .sb-stats dd { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.sales h2 em { font-style: italic; color: var(--primary); }
.sb-cat { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin: 1.8rem 0 .8rem; color: var(--primary); }
.sb-services { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sb-svc { display: flex; gap: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1rem; }
.sb-svc img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; flex: none; }
.sb-svc-body { flex: 1; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.sb-svc-top { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; } .sb-svc h4 { margin: 0; font-size: 1.05rem; }
.sb-price { color: var(--primary); white-space: nowrap; font-size: 1.05rem; }
.sb-svc p { margin: 0; color: var(--muted); font-size: .92rem; }
.sb-svc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; } .sb-svc-foot small { color: var(--muted); display: inline-flex; gap: .3rem; align-items: center; }
.sb-about { display: grid; gap: 2.5rem; align-items: center; } .sb-about.has-img { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sb-about h2 { text-align: left; } .sb-about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.sb-desc { font-size: 1.08rem; color: var(--muted); }
.sb-feats { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sb-feats li { display: flex; gap: .8rem; align-items: center; } .sb-feats .sl-ico { margin: 0; width: 42px; height: 42px; flex: none; } .sb-feats span { display: flex; flex-direction: column; } .sb-feats small { color: var(--muted); }
.sb-quote { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--primary); background: var(--surface-2); border-radius: 0 12px 12px 0; } .sb-quote blockquote { margin: 0 0 .4rem; font-style: italic; }
@media (max-width: 860px) { .sb-about.has-img { grid-template-columns: minmax(0, 1fr); } .sb-about-img { aspect-ratio: 16 / 10; } }
.sb-promo img { width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem 1rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0; display: block; max-width: none; }
.sb-promo { overflow: hidden; } .sb-tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--accent); color: #111; margin-bottom: .5rem; }
.sb-promo .btn { margin-top: .8rem; }
.sb-team { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.sb-member { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); overflow: hidden; }
.sb-member img, .sb-ph { width: 100%; aspect-ratio: 1; object-fit: cover; display: grid; place-items: center; color: #fff; font-size: 3.5rem; font-weight: 800; }
.sb-member figcaption { padding: 1rem; display: grid; gap: .2rem; } .sb-member small { color: var(--primary); font-weight: 600; } .sb-member p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.sb-rv-sum { text-align: center; font-size: 1.2rem; margin: -.8rem 0 1.4rem; }
.sb-rv-links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.sb-gallery { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.sb-gallery figure { margin: 0; position: relative; } .sb-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.sb-gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; padding: .2rem .5rem; border-radius: 6px; }
.sb-hours { width: 100%; max-width: 420px; border-collapse: collapse; } .sb-hours td { padding: .35rem 0; border-bottom: 1px dashed var(--border); } .sb-hours td:last-child { text-align: right; } .sb-hours span { color: var(--muted); }
.sales-biz .sl-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sales-biz .sb-noform { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.sales-biz .sl-direct-btns .btn { white-space: normal; text-align: left; }
.sl-direct-btns .btn { white-space: normal; min-width: 0; overflow-wrap: anywhere; text-align: left; }
@media (max-width: 860px) { .sales-biz .sl-contact { grid-template-columns: minmax(0, 1fr); } }
.sl-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.sl-credit { opacity: .8; font-size: .85rem; } .sl-credit a { text-decoration: underline; }
.sl-footer { padding-bottom: 5.5rem; } /* que el botón flotante de WhatsApp no tape el crédito */

/* ---------- Ganchos de venta ---------- */
.hk-bar { background: var(--accent); color: #111; font-weight: 600; font-size: .95rem; }
.hk-bar .sl-wrap { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 44px; padding: .35rem 2.2rem .35rem 0; position: relative; flex-wrap: wrap; text-align: center; }
.hk-bar .btn { background: #111; color: #fff; border-color: #111; }
.hk-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: inherit; padding: .2rem .5rem; }
.hk-offer { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .4rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 30%, var(--surface)); color: var(--text); font-weight: 700; }
.hk-offer .ic { color: var(--primary); }
.hk-live { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.1rem 0 0; font-size: .95rem; color: var(--muted); }
.hk-live b { color: var(--text); } .hk-live span { display: inline-flex; align-items: center; gap: .4rem; }
.hk-next i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: hk-pulse 1.8s infinite; }
@keyframes hk-pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .hk-next i { animation: none; } }
.hk-sticky { display: none; }
@media (max-width: 760px) {
  .has-sticky .hk-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: .5rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .has-sticky .hk-sticky .btn-primary { flex: 1; justify-content: center; padding: .8rem; font-size: 1.02rem; }
  .has-sticky .sl-footer { padding-bottom: 8rem; }
  .has-sticky .sl-wa-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) { .hk-bar { font-size: .85rem; } .hk-bar .sl-wrap { flex-wrap: nowrap; gap: .5rem; justify-content: space-between; text-align: left; } .hk-bar .btn { flex: none; padding: .3rem .7rem; } }

.sl-skip:focus { transform: none; }
/* Móvil: nada fijo (barra de reservar, WhatsApp, avisos) puede ser más ancho que la pantalla */
.hk-sticky, .hk-bar, .sl-wa-fab, .carta-qr { max-width: 100vw; box-sizing: border-box; }
.has-sticky .hk-sticky .btn { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cabecera de la portada: con un nombre largo o la letra grande del móvil nunca se sale de la pantalla.
   El nombre se recorta con «…»; en móvil el botón principal pasa al menú y a la barra de abajo. */
.sl-header .sl-wrap > * { flex-shrink: 0; }
.sl-header .sl-brand { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.sl-header .sl-brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-header .sl-brand img { flex: none; }
@media (max-width: 900px) {
  .sl-header .sl-wrap { gap: .5rem; }
  .sl-header .sl-hcta { display: none; }
  .sl-header .sl-enter { margin-left: auto; }
}
@media (max-width: 420px) {
  .sl-header .sl-brand { font-size: clamp(.95rem, 4.6vw, 1.15rem); }
  .sl-header .sl-brand img { height: 32px; }
  .sl-header .sl-enter { padding-left: .6rem; padding-right: .6rem; }
}
.hk-bar .sl-wrap > span { min-width: 0; overflow-wrap: break-word; }
.sl-form, .sl-form label { grid-template-columns: minmax(0, 1fr); }
.sl-form > *, .sl-form label > *, .sl-form-box { min-width: 0; }
.sl-form .btn { white-space: normal; }

/* Primera capa informativa de protección de datos bajo la casilla del formulario */
.sl-legal-info { font-size: .74rem; line-height: 1.4; opacity: .75; margin: .2rem 0 .6rem; overflow-wrap: anywhere; }
