/* ==========================================================
   Littler Tap
   Paleta: verde bosque + blanco. Tipografía: Fredoka + Nunito.
   ========================================================== */

:root {
    --brand: #1f4d3a;
    --brand-dark: #163a2b;
    --brand-deep: #10261d;
    --brand-tint: #e8efeb;
    --white: #ffffff;
    --bg: #f6f7f5;

    --ink: #10261d;
    --text: #3e4f47;
    --muted: #63736b;
    --line: rgba(16, 38, 29, .1);

    --font-title: 'Fredoka', ui-rounded, system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 14px;
    --r-md: 24px;
    --r-lg: 36px;

    --shadow-sm: 0 1px 2px rgba(16, 38, 29, .05), 0 4px 14px rgba(16, 38, 29, .05);
    --shadow-md: 0 2px 4px rgba(16, 38, 29, .05), 0 18px 40px rgba(16, 38, 29, .10);
    --shadow-lg: 0 4px 8px rgba(16, 38, 29, .06), 0 30px 70px rgba(16, 38, 29, .18);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.03; letter-spacing: -.028em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.022em; margin-bottom: .8rem; }
h3 { font-size: 1.3rem; line-height: 1.2; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.eyebrow { font-weight: 800; font-size: .9rem; letter-spacing: .02em; color: var(--brand); margin-bottom: .8rem; }
.sub { max-width: 620px; margin: 0 auto 2rem; color: var(--muted); text-align: center; }
.sub--left { margin-left: 0; text-align: left; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 50px; padding: .8rem 1.6rem; border-radius: 999px;
    font-weight: 800; font-size: 1rem; line-height: 1.2;
    transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--brand); color: var(--white); box-shadow: 0 6px 18px rgba(31, 77, 58, .28); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--brand-tint); }
.btn--light { background: var(--white); color: var(--brand); }
.btn--light:hover { background: var(--brand-tint); }
.btn--outline { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); }
.btn--small { min-height: 42px; padding: .5rem 1.2rem; font-size: .95rem; }
.btn--large { min-height: 56px; padding: 1rem 2rem; }

/* ---------- Navegación translúcida ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
    background: rgba(246, 247, 245, .75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav__menu { display: flex; align-items: center; gap: .2rem; }
.nav__menu > a:not(.btn) {
    padding: .5rem .9rem; border-radius: 999px;
    font-weight: 700; font-size: .96rem; color: var(--text);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__menu > a:not(.btn):hover { background: rgba(31, 77, 58, .08); color: var(--ink); }
.nav__menu > a.activo { background: var(--brand-tint); color: var(--brand); }
.nav__menu .btn { margin-left: .5rem; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav__toggle span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-title); font-weight: 600; font-size: 1.4rem; color: var(--ink); letter-spacing: -.01em; }
.logo span:not(.logo__mark) { color: var(--brand); }
.logo__img { width: 40px; height: 40px; flex: none; }
.logo--footer .logo__img { width: 36px; height: 36px; }
.logo__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero {
    /* Desvanecido largo y escalonado (curva suave): así no se ve ninguna línea de corte */
    --mascara: linear-gradient(to bottom,
        #000 0%, #000 50%,
        rgba(0, 0, 0, .96) 55%, rgba(0, 0, 0, .9) 60%, rgba(0, 0, 0, .8) 65%,
        rgba(0, 0, 0, .67) 70%, rgba(0, 0, 0, .52) 75%, rgba(0, 0, 0, .37) 80%,
        rgba(0, 0, 0, .23) 85%, rgba(0, 0, 0, .12) 90%, rgba(0, 0, 0, .04) 95%,
        transparent 100%);
    position: relative; isolation: isolate; overflow: hidden;
    color: rgba(255, 255, 255, .85);
    padding: calc(var(--nav-h) + 90px) 0 280px;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
/* Fondo verde a todo el ancho que se disuelve hacia abajo */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -3;
    background:
        radial-gradient(60% 45% at 50% 32%, #2b6b51 0%, transparent 70%),
        var(--brand);
    -webkit-mask-image: var(--mascara);
    mask-image: var(--mascara);
}
/* Señal NFC de fondo: aros concéntricos que respiran despacio */
.hero__senal {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    -webkit-mask-image: var(--mascara);
    mask-image: var(--mascara);
}
.hero__senal span {
    position: absolute; left: 50%; top: 34%;
    border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .09);
    transform: translate(-50%, -50%);
    animation: respirar 6s ease-in-out infinite;
}
.hero__senal span:nth-child(1) { width: 340px; height: 340px; }
.hero__senal span:nth-child(2) { width: 600px; height: 600px; animation-delay: .8s; }
.hero__senal span:nth-child(3) { width: 860px; height: 860px; animation-delay: 1.6s; }
.hero__senal span:nth-child(4) { width: 1120px; height: 1120px; animation-delay: 2.4s; }
.hero__senal span:nth-child(5) { width: 1380px; height: 1380px; animation-delay: 3.2s; }
@keyframes respirar {
    0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.98); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
}
/* Capa de ondas al tocar (se disuelve igual que el fondo) */
.hero__ondas {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    -webkit-mask-image: var(--mascara);
    mask-image: var(--mascara);
}
.onda {
    position: absolute; width: 0; height: 0; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55);
    transform: translate(-50%, -50%);
    animation: onda 2.8s cubic-bezier(.25, .6, .3, 1) forwards;
}
@keyframes onda {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 820px; height: 820px; opacity: 0; }
}
.hero h1 { color: var(--white); max-width: 14ch; margin: 0 auto 1.2rem; }
.hero .eyebrow { color: rgba(255, 255, 255, .7); }
.hero .sub { color: rgba(255, 255, 255, .8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.icono-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Secciones ---------- */
.section { padding: 100px 0; }
.section--white { background: var(--white); }

/* ---------- Simulador (dos columnas) ---------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tipos { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.tipo {
    padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
    background: var(--white); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line);
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.tipo:hover { background: var(--brand-tint); }
.tipo:active { transform: scale(.96); }
.tipo.activo { background: var(--brand); color: var(--white); box-shadow: none; }
.lugar { font-weight: 700; color: var(--brand); margin-bottom: 1.5rem; }
.sim__acciones { display: flex; flex-wrap: wrap; gap: .7rem; }

.escena { position: relative; height: 460px; }
.telefono {
    position: absolute; right: 8%; top: 0;
    width: 230px; height: 460px; background: var(--brand-deep);
    border-radius: 38px; padding: 12px; box-shadow: var(--shadow-lg);
}
.telefono::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 999px; background: #000; z-index: 2; }
.pantalla {
    background: var(--white); height: 100%; border-radius: 28px;
    padding: 50px 16px 16px; overflow: hidden;
    display: flex; flex-direction: column;
}
.pantalla__espera { margin: auto; text-align: center; color: var(--muted); font-weight: 700; font-size: .95rem; }
.pantalla__espera svg { width: 42px; height: 42px; display: block; margin: 0 auto .6rem; fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; animation: latido 1.6s var(--ease) infinite; }
@keyframes latido { 0%, 100% { opacity: .35; transform: scale(.92); } 50% { opacity: 1; transform: scale(1); } }

.demo { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.demo.on { opacity: 1; transform: none; }
.demo__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-family: var(--font-title); font-size: 1.4rem; margin: 0 auto .5rem; }
.demo h3 { text-align: center; font-size: 1.05rem; margin-bottom: .9rem; }
.enlace { background: var(--brand-tint); color: var(--ink); padding: .65rem .8rem; border-radius: 12px; margin: .45rem 0; font-size: .85rem; font-weight: 700; }

.tarjeta {
    position: absolute; left: 0; top: 175px; z-index: 3;
    width: 170px; height: 108px; border-radius: 14px;
    background: var(--brand); color: var(--white);
    padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 14px 30px rgba(16, 38, 29, .35);
    transition: transform .9s var(--ease);
}
.tarjeta span { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; }
.tarjeta svg { width: 26px; height: 26px; align-self: flex-end; fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; }
.tarjeta.toca { transform: translateX(150px) rotate(-8deg); }

/* Selector tarjeta / soporte */
.producto { display: inline-flex; gap: 4px; padding: 4px; margin-top: .4rem; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.producto__op { padding: .5rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: .92rem; color: var(--muted); transition: background-color .25s var(--ease), color .25s var(--ease); }
.producto__op.activo { background: var(--brand); color: var(--white); }

/* Mostrar solo el producto elegido */
.tarjeta, .soporte { transition: transform .9s var(--ease), opacity .35s var(--ease); }
.escena[data-prod="soporte"] .tarjeta,
.escena[data-prod="tarjeta"] .soporte { opacity: 0; pointer-events: none; }

/* Soporte de mostrador */
.soporte { position: absolute; left: 0; bottom: 0; width: 180px; z-index: 1; }
.soporte__placa {
    height: 220px; border-radius: 18px 18px 6px 6px;
    background: var(--brand); color: var(--white);
    padding: 18px 14px; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    box-shadow: 0 14px 30px rgba(16, 38, 29, .3);
}
.soporte__placa span { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; }
.soporte__placa svg { width: 54px; height: 54px; fill: none; stroke: var(--white); stroke-width: 5; stroke-linecap: round; }
.soporte__placa small { font-weight: 800; font-size: .78rem; background: var(--white); color: var(--brand); padding: .3rem .8rem; border-radius: 999px; }
.soporte__base { height: 20px; margin: 0 -16px; border-radius: 8px; background: var(--brand-deep); }

/* El celular baja sobre el soporte */
.telefono { z-index: 2; transition: transform .9s var(--ease); --tx: -110px; --ty: 30px; }
.telefono.sobre { transform: translate(var(--tx), var(--ty)) rotate(-5deg); }

/* Perfil y reseñas dentro del teléfono */
.pantalla { position: relative; }
.rating { display: flex; align-items: center; justify-content: center; gap: .3rem; white-space: nowrap; font-size: .74rem; margin: -.5rem 0 .6rem; color: var(--muted); border-radius: 10px; padding: .2rem; transition: background-color .6s var(--ease); }
.rating b { color: var(--ink); font-size: .95rem; }
.rating .estrellas { color: #f4b400; letter-spacing: 1px; }
.rating.sube { background: var(--brand-tint); }
.enlace { display: block; width: 100%; text-align: left; transition: transform .12s var(--ease), background-color .2s var(--ease); }
.enlace:active { transform: scale(.97); }
.enlace--google { background: var(--brand); color: var(--white); }
.enlace--google.latiendo { animation: llamar 1.4s var(--ease) infinite; }
@keyframes llamar { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 77, 58, .45); } 60% { box-shadow: 0 0 0 8px rgba(31, 77, 58, 0); } }

.review { margin: auto; text-align: center; }
.review p { font-weight: 800; color: var(--ink); font-size: .95rem; }
.review__estrellas { display: flex; justify-content: center; gap: 4px; margin: .9rem 0; }
.review__estrellas span { font-size: 1.7rem; color: #d9dfdb; transition: color .2s var(--ease), transform .25s var(--ease); }
.review__estrellas span.on { color: #f4b400; transform: scale(1.15); }
.review__ok { opacity: 0; transition: opacity .3s var(--ease); color: var(--brand) !important; }
.review__ok.on { opacity: 1; }

.mas-uno { position: absolute; top: 64px; right: 12px; white-space: nowrap; background: #f4b400; color: var(--ink); font-weight: 800; font-size: .75rem; padding: .25rem .65rem; border-radius: 999px; animation: flotar 1.6s var(--ease) forwards; pointer-events: none; }
@keyframes flotar { 0% { opacity: 0; transform: translateY(10px); } 20% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px); } }

.pista { margin-top: 1rem; color: var(--brand); font-size: .95rem; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pista.on { opacity: 1; transform: none; }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.card {
    background: var(--bg); border-radius: var(--r-md); padding: 1.6rem;
    display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card .nota { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.precio { font-family: var(--font-title); font-size: 1.9rem; font-weight: 600; color: var(--brand); margin: 1rem 0 .4rem; }
.contador { display: flex; align-items: center; gap: .9rem; margin: .4rem 0 1.2rem; }
.contador button { width: 36px; height: 36px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1.2rem; font-weight: 800; }
.contador button:active { transform: scale(.92); }
.card .btn { margin-top: auto; }
.card.destacada { box-shadow: inset 0 0 0 2.5px var(--brand), var(--shadow-md); }

/* ---------- Cuestionario ---------- */
.quiz { max-width: 560px; margin: 0 auto; padding: 2rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); text-align: center; }
.quiz p { margin-bottom: 1rem; }
.quiz .btn { margin: .3rem; }

/* ---------- Footer ---------- */
footer { background: var(--brand-deep); color: rgba(255, 255, 255, .7); padding: 50px 0; text-align: center; }
.logo--footer { justify-content: center; color: var(--white); margin-bottom: .3rem; }
.logo--footer span { color: rgba(255, 255, 255, .7) !important; }

.flotante { position: fixed; bottom: 20px; right: 20px; z-index: 90; box-shadow: var(--shadow-lg); animation: deslizar 2.8s ease-in-out infinite; }
.flotante:hover { animation-play-state: paused; }
/* Leve deslizamiento de arriba a abajo */
@keyframes deslizar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: absolute; top: calc(var(--nav-h) - 6px); left: 1rem; right: 1rem;
        flex-direction: column; align-items: stretch; gap: .2rem;
        padding: .6rem; border-radius: var(--r-md);
        background: #fafbf9;
        box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top;
        transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }
    .nav__menu.abierto { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
    .nav__menu > a:not(.btn) { padding: .8rem 1rem; }
    .nav__menu .btn { margin: .4rem 0 0; }
    .hero { padding-bottom: 220px; }
    .hero__senal span { top: 30%; }
    .hero__cta .btn { width: 100%; max-width: 320px; }

    .sim { grid-template-columns: 1fr; gap: 2.5rem; }
    .escena { max-width: 400px; width: 100%; margin: 0 auto; }
    .telefono { right: 0; --tx: -70px; }
    .soporte { width: 150px; }
}
@media (max-width: 480px) {
    .telefono { right: 0; width: 200px; height: 420px; }
    .escena { height: 420px; }
    .tarjeta { width: 140px; height: 90px; top: 160px; }
    .tarjeta.toca { transform: translate(55px, 200px) rotate(-8deg); }
    .telefono { --tx: -45px; --ty: 20px; }
    .soporte { width: 125px; }
    .soporte__placa { height: 180px; padding: 14px 10px; }
    .soporte__placa svg { width: 42px; height: 42px; }
    .soporte__placa small { font-size: .7rem; padding: .25rem .6rem; }
    .section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Asesoría y footer ---------- */
.asesor { margin-top: 1.5rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-top: 1rem; font-size: .92rem; }
.footer__links a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--white); }

/* ---------- Página de términos ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal__caja { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: var(--r-md); padding: clamp(1.5rem, 5vw, 3.2rem); box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
.legal .fecha { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; letter-spacing: -.01em; }
.legal p, .legal li { margin-bottom: .6rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.editar { background: #fff2b3; color: var(--ink); padding: 0 .25rem; border-radius: 4px; }

/* ---------- Skeleton loaders ---------- */
.sk {
    display: block; border-radius: 10px;
    background: linear-gradient(90deg, #e3e9e5 25%, #f1f4f2 50%, #e3e9e5 75%);
    background-size: 200% 100%;
    animation: brillo 1.3s linear infinite;
}
@keyframes brillo { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk--h { width: 60%; height: 24px; margin-bottom: 1rem; }
.sk--l { width: 100%; height: 12px; margin-bottom: .6rem; }
.sk--corta { width: 70%; }
.sk--precio { width: 40%; height: 32px; margin: 1.2rem 0 1.6rem; }
.sk--btn { width: 100%; height: 50px; border-radius: 999px; margin-top: auto; }
.sk--centro { margin-left: auto; margin-right: auto; max-width: 280px; }
.quiz .sk--btn { margin-top: .8rem; }
.card--sk { min-height: 300px; }
.card--sk:hover { box-shadow: inset 0 0 0 1px var(--line); transform: none; }

/* Skeleton dentro del teléfono mientras "carga" la página del negocio */
.sk-tel { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.sk--avatar { width: 54px; height: 54px; border-radius: 50%; }
.sk--titulo { width: 65%; height: 16px; }
.sk--rating { width: 45%; height: 10px; margin-bottom: .4rem; }
.sk--enlace { width: 100%; height: 40px; border-radius: 12px; }

/* ---------- Libro de Reclamaciones ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lr-proveedor { background: var(--brand-tint); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.lr-proveedor p { margin: 0; }
.lr-form label { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 1rem; }
.lr-form input:not([type="checkbox"]):not([type="radio"]), .lr-form select, .lr-form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem;
    font: inherit; font-weight: 400; color: var(--ink);
    background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lr-form input:focus, .lr-form select:focus, .lr-form textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
.lr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.lr-check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 600 !important; }
.lr-check input { margin-top: .3rem; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.lr-oculto { display: none !important; }
.lr-tipo { border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.lr-radio { display: flex !important; gap: .7rem; align-items: flex-start; padding: 1rem; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; margin: 0 !important; }
.lr-radio:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.lr-radio input { accent-color: var(--brand); margin-top: .25rem; }
.lr-radio small { display: block; font-weight: 400; color: var(--muted); }
.lr-error { color: #b42318; font-weight: 700; min-height: 1.4em; }
.lr-nota { margin-top: 1.2rem; font-size: .9rem; color: var(--muted); }
.lr-copia dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; background: var(--bg); padding: 1.2rem; border-radius: var(--r-sm); margin: 1rem 0; }
.lr-copia dt { font-weight: 800; color: var(--ink); }
.lr-copia dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.lr-acciones { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 480px) { .lr-copia dl { grid-template-columns: 1fr; } .lr-copia dd { margin-bottom: .5rem; } }
@media print {
    .nav, footer, .lr-acciones, .flotante { display: none !important; }
    .legal { padding: 0; } .legal__caja { box-shadow: none; padding: 0; }
}

/* ---------- Página 404 ---------- */
.error404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.logo--centro { justify-content: center; margin-bottom: 1.5rem; }
.error404__num { font-family: var(--font-title); font-weight: 600; font-size: clamp(6rem, 22vw, 11rem); line-height: 1; color: var(--brand); letter-spacing: -.04em; opacity: .15; }
.error404 h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: -.5rem 0 1rem; }

/* ---------- Productos y servicios ---------- */
.grupo { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.grupo small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.card__icono { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--brand-tint); }
.card__etiqueta { font-size: .78rem; font-weight: 800; color: var(--brand); background: var(--white); padding: .3rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.card__incluye { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .92rem; }
.card__incluye li { position: relative; padding-left: 1.5rem; margin-bottom: .35rem; }
.card__incluye li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.card--servicio { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--brand-tint); }
.card--servicio .card__icono { background: var(--brand); }
.precio--consultar { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: var(--muted); margin: 1.4rem 0 1rem; }
.precio__nota { font-size: .85rem; color: var(--muted); margin: -.3rem 0 1rem; }
