/* SmartFFix — hoja de estilos única del sitio.
   Paleta: negro tecnológico, azul oscuro, azul eléctrico, blanco y grises.
   El área odontológica usa body.dental (acento verde petróleo). */

:root {
  --black: #0a0d12;
  --navy: #0b2a5b;
  --blue: #0a5cff;
  --blue-ink: #0a4fd6;
  --blue-soft: #eaf1ff;
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #dfe2e8;
  --gray-500: #6b7280;
  --gray-700: #374151;

  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --surface: var(--white);
  --ink: #0f141c;
  --ink-2: var(--gray-700);
  --muted: #5b6472;
  --line: var(--gray-200);
  --accent: var(--blue);
  --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft);
  --on-accent: #ffffff;
  --dark: var(--black);
  --on-dark: #e8ecf3;
  --on-dark-muted: #a4adbd;
  --wa: #0f7a3d;
  --wa-hover: #0c6833;
  --focus: #0a5cff;

  --r-sm: 8px; --r: 14px; --r-lg: 20px;
  --sh: 0 1px 2px rgba(10, 13, 18, .05), 0 8px 24px -12px rgba(10, 13, 18, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e14; --bg-alt: #10141c; --surface: #131823; --ink: #eef1f6; --ink-2: #c7cdd8;
    --muted: #9aa3b2; --line: #232a37; --accent: #4d8dff; --accent-ink: #7aa9ff; --accent-soft: #14203a;
    --on-accent: #ffffff; --dark: #05070a; --on-dark: #e8ecf3; --on-dark-muted: #a4adbd;
    --sh: none; --focus: #7aa9ff;
    color-scheme: dark;
  }
}
body.dental {
  --accent: #0f766e; --accent-ink: #0d665f; --accent-soft: #e3f2f0; --focus: #0f766e;
}
@media (prefers-color-scheme: dark) {
  body.dental { --accent: #2bb5a6; --accent-ink: #5fd0c3; --accent-soft: #102b28; --on-accent: #04201d; --focus: #5fd0c3; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
p a, .prose a { color: var(--accent-ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; font-weight: 700; }
p { max-width: 66ch; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.mt-12 { margin-top: 12px; } .mt-18 { margin-top: 18px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }
.mb-6 { margin-bottom: 6px; } .mb-14 { margin-bottom: 14px; }
.h3 { font-size: 1.12rem; letter-spacing: -.01em; font-weight: 700; }
.sec-sub { font-size: 1.3rem; margin: 40px 0 16px; }
.ic-xl { width: 120px; height: 120px; border-radius: 28px; }
.ic-xl svg { width: 60px; height: 60px; }
.art-icon { aspect-ratio: 16 / 9; }
@media (max-width: 920px) { .art-icon { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .96rem; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .93rem; color: var(--accent-ink); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); } }
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 58px; height: 32px; }
.brand-name { font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; text-transform: uppercase; line-height: 1; }
.brand-name b { color: var(--blue); font-style: italic; font-weight: 800; }
@media (prefers-color-scheme: dark) { .brand-name b { color: #5b9dff; } }
.menu { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.menu a:not(.btn) { display: block; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.menu a:not(.btn):hover { background: var(--bg-alt); color: var(--ink); }
.menu a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
.nav-cta { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1040px) {
  .menu, .nav-cta { display: none; }
  .burger { display: grid; }
  .js .site-header.open .menu { display: flex; }
  .site-header.open .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--sh); max-height: calc(100vh - 72px); overflow: auto; }
  .site-header.open .menu a:not(.btn) { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-header.open .menu a[aria-current="page"] { background: none; }
  .site-header.open .menu .menu-cta { display: block; padding-top: 14px; }
}
.menu .menu-cta { display: none; }
.menu .menu-cta a { border-bottom: 0; }

/* ---------- Sections ---------- */
section { padding-block: 88px; }
.alt { background: var(--bg-alt); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .muted, .dark p { color: var(--on-dark-muted); }
.sec-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.dark .kicker { color: #7aa9ff; }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.18rem); color: var(--muted); }
@media (max-width: 720px) { section { padding-block: 64px; } .sec-head { margin-bottom: 28px; } }

/* ---------- Hero ---------- */
.hero { padding-block: 64px 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 14px 0 18px; }
.hero .lead { max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.zone { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.zone svg { width: 16px; height: 16px; color: var(--accent); }
.hero-art { position: relative; border-radius: var(--r-lg); background: var(--dark); padding: 28px; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; }
.hero-art img { width: 100%; height: auto; }
.art-note { position: absolute; left: 14px; bottom: 12px; font-size: .72rem; color: var(--on-dark-muted); letter-spacing: .02em; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-block: 36px 56px; } .hero-art { aspect-ratio: 16 / 10; } }
@media (max-width: 460px) { .hero-cta .btn { width: 100%; } }

/* Inner page hero */
.page-hero { padding-block: 48px 56px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 10px 0 14px; }
.page-hero .hero-cta { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Icons ---------- */
.ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.ic svg { width: 24px; height: 24px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.hoverable:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh); }
.card p { color: var(--muted); font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card-area { padding: 28px; gap: 14px; }
.is-dental { --accent: #0f766e; --accent-ink: #0d665f; --accent-soft: #e3f2f0; }
.dark .is-dental, .dark.is-dental { --accent: #14857b; --accent-ink: #5fd0c3; }
.dark.is-dental .kicker { color: #5fd0c3; }
@media (prefers-color-scheme: dark) { .is-dental { --accent: #2bb5a6; --accent-ink: #5fd0c3; --accent-soft: #102b28; --on-accent: #04201d; } }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 16px var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 14px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Band (CTA) */
.band { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding: 36px; border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark); }
.band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.band p { color: var(--on-dark-muted); margin-top: 6px; }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-ghost { background: transparent; color: var(--on-dark); border-color: #3a4352; }
.band .btn-ghost:hover { border-color: var(--on-dark); }
@media (max-width: 520px) { .band { padding: 26px 20px; } .band .actions, .band .btn { width: 100%; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.brands { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.brands li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; }

/* Service detail sections */
.detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* Notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: .95rem; }
.notice svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* Empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty p { color: var(--muted); }

/* ---------- Shop ---------- */
.shop-tools { display: grid; gap: 14px; margin-bottom: 24px; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 46px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product { gap: 10px; }
.product .thumb { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.product .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product .meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.product .price { font-weight: 800; font-size: 1.1rem; }
.product .status { font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.specs { list-style: none; padding: 0; font-size: .88rem; color: var(--muted); display: grid; gap: 2px; }
.result-info { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
[hidden] { display: none !important; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
label, .legend { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.req { color: #c0262d; }
.opt { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[aria-invalid="true"] { border-color: #c0262d; }
.error { color: #b4232a; font-size: .86rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .error, .req { color: #ff8a8f; } [aria-invalid="true"] { border-color: #ff8a8f; } }
fieldset { border: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; background: var(--surface); }
.radio-row input { width: auto; min-height: 0; accent-color: var(--accent); }
.form-status { padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh); }
@media (max-width: 600px) { .panel { padding: 22px 18px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.channels { display: grid; gap: 12px; list-style: none; padding: 0; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .2s; }
a.channel:hover { border-color: var(--accent); }
.channel small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.channel b { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: 56px 120px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-name b { color: #5b9dff; }
.site-footer p, .site-footer li { color: var(--on-dark-muted); font-size: .93rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-about { margin-top: 14px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1f2632; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: var(--on-dark-muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
@media (min-width: 1041px) { .site-footer { padding-bottom: 56px; } }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(15, 122, 61, .6); transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.05); }
.fab svg { width: 30px; height: 30px; }
.mbar { display: none; }
@media (max-width: 1040px) {
  .fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .mbar .btn { width: 100%; }
}

/* ---------- Reveal (solo con JS y sin reducción de movimiento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
