/* ==========================================================================
   Uñagenda — tema sobre Bootstrap 5
   Paleta: tinta, papel rosado y rojo laca.
   ========================================================================== */

:root {
    --ua-ink: #1A0E12;
    --ua-ink-2: #2A1A1F;
    --ua-paper: #FBF6F2;
    --ua-blush: #F6E3E1;
    --ua-blush-2: #FCEFEC;
    --ua-lacquer: #E8344E;
    --ua-lacquer-deep: #B81E37;
    --ua-pink: #FF8A98;
    --ua-muted: #7A6A6E;
    --ua-line: #EADDDA;
    --ua-ok: #2F7D5B;
    --ua-wait: #B7791F;
    --ua-radius: 18px;
    --ua-serif: "Bodoni Moda", "Didot", Georgia, serif;
    --ua-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --bs-body-font-family: var(--ua-sans);
    --bs-body-color: var(--ua-ink);
    --bs-body-bg: var(--ua-paper);
    --bs-primary: var(--ua-lacquer);
    --bs-primary-rgb: 232, 52, 78;
    --bs-link-color: var(--ua-lacquer-deep);
    --bs-link-color-rgb: 184, 30, 55;
    --bs-link-hover-color: var(--ua-lacquer);
    --bs-border-color: var(--ua-line);
    --bs-border-radius: 12px;
    --bs-focus-ring-color: rgba(232, 52, 78, .25);
}

body { background: var(--ua-paper); color: var(--ua-ink); -webkit-font-smoothing: antialiased; }
.font-serif, .ua-serif { font-family: var(--ua-serif); }
h1, h2, h3, .ua-display { font-family: var(--ua-serif); font-weight: 600; letter-spacing: -.01em; }
.text-muted, .ua-muted { color: var(--ua-muted) !important; }
.text-lacquer { color: var(--ua-lacquer) !important; }
.bg-blush { background: var(--ua-blush) !important; }
.ua-eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ua-lacquer-deep); }
.ua-num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .6rem 1.25rem; }
.btn-sm { padding: .35rem .9rem; }
.btn-lacquer { background: var(--ua-lacquer); border-color: var(--ua-lacquer); color: #fff; }
.btn-lacquer:hover, .btn-lacquer:focus { background: var(--ua-lacquer-deep); border-color: var(--ua-lacquer-deep); color: #fff; }
.btn-ink { background: var(--ua-ink); border-color: var(--ua-ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: var(--ua-ink-2); color: #fff; }
.btn-outline-ink { border: 1.5px solid var(--ua-ink); color: var(--ua-ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ua-ink); color: #fff; }
.btn-soft { background: var(--ua-blush); color: var(--ua-ink); border: 0; }
.btn-soft:hover { background: #F0D3D0; color: var(--ua-ink); }
.btn-whatsapp { background: #1FAF5A; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #178a47; color: #fff; }

/* ---------- Formularios ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--ua-line); padding: .65rem .9rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--ua-pink); box-shadow: 0 0 0 .2rem rgba(232, 52, 78, .15); }
.form-label { font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.form-text { color: var(--ua-muted); }
.form-check-input:checked { background-color: var(--ua-lacquer); border-color: var(--ua-lacquer); }
.input-group-text { background: var(--ua-blush-2); border-color: var(--ua-line); border-radius: 12px; }

/* ---------- Tarjetas ---------- */
.ua-card { background: #fff; border: 1px solid var(--ua-line); border-radius: var(--ua-radius); padding: 1.25rem; }
.ua-card-flush { background: #fff; border: 1px solid var(--ua-line); border-radius: var(--ua-radius); overflow: hidden; }
.ua-card h2, .ua-card h3 { font-size: 1.15rem; }
.ua-stat { background: #fff; border: 1px solid var(--ua-line); border-radius: var(--ua-radius); padding: 1rem 1.15rem; height: 100%; }
.ua-stat .label { font-size: .78rem; color: var(--ua-muted); font-weight: 600; }
.ua-stat .value { font-family: var(--ua-serif); font-size: 1.85rem; font-weight: 600; line-height: 1.1; margin-top: .2rem; }
.ua-stat.is-dark { background: var(--ua-ink); color: #fff; border-color: var(--ua-ink); }
.ua-stat.is-dark .label { color: rgba(255, 255, 255, .65); }

/* ---------- Etiquetas de estado ---------- */
.ua-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.ua-badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.ua-badge-wait { background: #FCF1DC; color: var(--ua-wait); }
.ua-badge-ok { background: #E1F2E9; color: var(--ua-ok); }
.ua-badge-done { background: var(--ua-blush); color: var(--ua-lacquer-deep); }
.ua-badge-off { background: #EEE9EA; color: var(--ua-muted); }

/* ---------- Alertas ---------- */
.ua-flash { border-radius: 14px; border: 0; padding: .85rem 1.1rem; font-weight: 600; }
.ua-flash.ok { background: #E1F2E9; color: #1E5A40; }
.ua-flash.err { background: #FDE4E7; color: var(--ua-lacquer-deep); }

/* ==========================================================================
   Panel
   ========================================================================== */
.ua-shell { display: flex; min-height: 100vh; }
.ua-sidebar { width: 248px; flex-shrink: 0; background: var(--ua-ink); color: #fff; padding: 1.4rem 1rem; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.ua-brand { font-family: var(--ua-serif); font-size: 1.55rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .5rem; }
.ua-brand:hover { color: #fff; }
.ua-brand i { font-style: italic; color: var(--ua-pink); }
.ua-brand-mark { width: 14px; height: 22px; border-radius: 8px 8px 3px 3px; background: var(--ua-lacquer); display: inline-block; box-shadow: inset -3px 0 0 rgba(0, 0, 0, .15); }
.ua-nav { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .15rem; }
.ua-nav a { display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 12px; color: rgba(255, 255, 255, .72); text-decoration: none; font-weight: 600; font-size: .93rem; }
.ua-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ua-nav a.active { background: var(--ua-lacquer); color: #fff; }
.ua-nav .bi { font-size: 1.05rem; }
.ua-nav .count { margin-left: auto; background: rgba(255, 255, 255, .15); border-radius: 999px; padding: 0 .5rem; font-size: .75rem; }
.ua-sidebar-foot { margin-top: auto; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.ua-sidebar-foot a { color: var(--ua-pink); }
.ua-main { flex: 1; min-width: 0; }
.ua-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 2rem .5rem; }
.ua-topbar h1 { font-size: 1.9rem; margin: 0; }
.ua-content { padding: .75rem 2rem 3rem; }
.ua-mobilebar { display: none; }

@media (max-width: 991.98px) {
    .ua-sidebar { position: fixed; left: 0; top: 0; z-index: 1045; transform: translateX(-100%); transition: transform .25s ease; }
    .ua-sidebar.show { transform: none; }
    .ua-mobilebar { display: flex; align-items: center; justify-content: space-between; background: var(--ua-ink); padding: .75rem 1rem; position: sticky; top: 0; z-index: 1040; }
    .ua-mobilebar .btn { color: #fff; padding: .25rem .5rem; }
    .ua-topbar, .ua-content { padding-left: 1rem; padding-right: 1rem; }
    .ua-topbar { flex-wrap: wrap; }
    .ua-topbar h1 { font-size: 1.55rem; }
    .ua-backdrop { position: fixed; inset: 0; background: rgba(26, 14, 18, .5); z-index: 1044; display: none; }
    .ua-backdrop.show { display: block; }
}

/* Listas de citas */
.ua-appt { display: flex; gap: 1rem; align-items: center; padding: .85rem 1.1rem; border-bottom: 1px solid var(--ua-line); text-decoration: none; color: inherit; }
.ua-appt:last-child { border-bottom: 0; }
.ua-appt:hover { background: var(--ua-blush-2); color: inherit; }
.ua-appt .time { font-family: var(--ua-serif); font-size: 1.25rem; font-weight: 600; width: 64px; flex-shrink: 0; }
.ua-appt .who { font-weight: 700; }
.ua-appt .what { font-size: .85rem; color: var(--ua-muted); }
.ua-appt .money { margin-left: auto; text-align: right; font-weight: 700; }
.ua-empty { padding: 2rem 1rem; text-align: center; color: var(--ua-muted); }
.ua-empty .bi { font-size: 1.8rem; display: block; margin-bottom: .35rem; color: var(--ua-pink); }

.ua-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.ua-day { background: #fff; border: 1px solid var(--ua-line); border-radius: 16px; min-height: 180px; display: flex; flex-direction: column; }
.ua-day.is-today { border-color: var(--ua-lacquer); box-shadow: 0 0 0 2px rgba(232, 52, 78, .15); }
.ua-day-head { padding: .6rem .75rem; border-bottom: 1px solid var(--ua-line); display: flex; justify-content: space-between; align-items: baseline; }
.ua-day-head .dname { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ua-muted); font-weight: 700; }
.ua-day-head .dnum { font-family: var(--ua-serif); font-size: 1.4rem; font-weight: 600; }
.ua-day-body { padding: .5rem; display: grid; gap: .4rem; align-content: start; flex: 1; }
.ua-chip { display: block; padding: .45rem .55rem; border-radius: 10px; font-size: .8rem; text-decoration: none; color: var(--ua-ink); background: var(--ua-blush-2); border-left: 3px solid var(--ua-lacquer); }
.ua-chip:hover { background: var(--ua-blush); color: var(--ua-ink); }
.ua-chip.st-pending_deposit { border-left-color: var(--ua-wait); background: #FFF8EC; }
.ua-chip.st-completed { border-left-color: var(--ua-ok); background: #F1F8F4; }
.ua-chip.st-cancelled, .ua-chip.st-no_show { border-left-color: #bbb; background: #F5F2F2; color: var(--ua-muted); text-decoration: line-through; }
.ua-chip strong { display: block; }
@media (max-width: 1199.98px) { .ua-week { grid-template-columns: 1fr; } .ua-day { min-height: 0; } }

.ua-table { width: 100%; }
.ua-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ua-muted); font-weight: 700; border-bottom: 1px solid var(--ua-line); padding: .7rem 1rem; }
.ua-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--ua-line); vertical-align: middle; }
.ua-table tr:last-child td { border-bottom: 0; }

.ua-linkbox { display: flex; align-items: center; gap: .5rem; background: var(--ua-ink); color: #fff; border-radius: 14px; padding: .55rem .6rem .55rem 1rem; }
.ua-linkbox code { color: var(--ua-pink); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }

/* Editor de cotizador */
.ua-opt-row { display: grid; grid-template-columns: 1fr 120px 110px auto auto; gap: .5rem; align-items: center; padding: .55rem 0; border-bottom: 1px dashed var(--ua-line); }
.ua-opt-row:last-child { border-bottom: 0; }
@media (max-width: 767.98px) { .ua-opt-row { grid-template-columns: 1fr 1fr; } .ua-opt-row > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Páginas públicas (link en bio, reservar, cita)
   ========================================================================== */
.ua-public { max-width: 560px; margin: 0 auto; padding: 0 1rem 4rem; }
.ua-public-wide { max-width: 980px; margin: 0 auto; padding: 0 1rem 4rem; }
.ua-hero-card { background: var(--ua-ink); color: #fff; border-radius: 0 0 28px 28px; padding: 2.4rem 1.5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.ua-hero-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 52, 78, .45), transparent 70%); top: -90px; right: -80px; }
.ua-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--ua-lacquer); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ua-serif); font-size: 2.2rem; font-weight: 700; font-style: italic; border: 3px solid rgba(255, 255, 255, .2); position: relative; z-index: 1; }
.ua-hero-card h1 { font-size: 2.1rem; margin: .8rem 0 .2rem; position: relative; z-index: 1; }
.ua-hero-card p { color: rgba(255, 255, 255, .75); position: relative; z-index: 1; }
.ua-social { display: flex; justify-content: center; gap: .5rem; position: relative; z-index: 1; }
.ua-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.ua-social a:hover { background: var(--ua-lacquer); }

.ua-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.ua-gallery img, .ua-gallery .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.ua-gallery .ph { background: linear-gradient(160deg, var(--ua-blush), #F2CFCB); display: flex; align-items: flex-end; justify-content: center; }
.ua-gallery .ph span { width: 30%; height: 62%; border-radius: 40px 40px 8px 8px; margin-bottom: -1px; }

.ua-pricelist .row-item { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; }
.ua-pricelist .row-item .dots { flex: 1; border-bottom: 1px dotted #CDBDBA; transform: translateY(-4px); }
.ua-pricelist h3 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--ua-sans); font-weight: 800; color: var(--ua-lacquer-deep); margin: 1.2rem 0 .3rem; }

/* Cotizador de la clienta */
.ua-step { margin-bottom: 1.6rem; }
.ua-step-title { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.ua-step-title .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ua-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; }
.ua-step-title h2 { font-size: 1.25rem; margin: 0; }
.ua-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.ua-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ua-pill label { display: inline-flex; flex-direction: column; padding: .55rem .95rem; border-radius: 14px; border: 1.5px solid var(--ua-line); background: #fff; cursor: pointer; transition: all .15s ease; line-height: 1.2; }
.ua-pill label small { color: var(--ua-muted); font-size: .76rem; font-weight: 600; margin-top: .15rem; }
.ua-pill label:hover { border-color: var(--ua-pink); }
.ua-pill input:checked + label { background: var(--ua-ink); border-color: var(--ua-ink); color: #fff; }
.ua-pill input:checked + label small { color: var(--ua-pink); }
.ua-pill input:focus-visible + label { box-shadow: 0 0 0 3px rgba(232, 52, 78, .3); }
.ua-pill.is-disabled label { opacity: .4; cursor: not-allowed; }

.ua-days { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
.ua-days .ua-pill label { align-items: center; min-width: 64px; scroll-snap-align: start; }
.ua-days .ua-pill label .d { font-family: var(--ua-serif); font-size: 1.4rem; font-weight: 600; }
.ua-days .ua-pill label .w { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.ua-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .45rem; }
.ua-times .ua-pill label { align-items: center; font-weight: 700; }

.ua-summary { position: sticky; top: 1rem; background: var(--ua-ink); color: #fff; border-radius: 22px; padding: 1.4rem; }
.ua-summary .big { font-family: var(--ua-serif); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.ua-summary .line { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.ua-summary .line:last-of-type { border-bottom: 0; }
.ua-summary .muted { color: rgba(255, 255, 255, .6); }
.ua-summary .deposit { background: var(--ua-lacquer); border-radius: 14px; padding: .8rem 1rem; margin-top: 1rem; }
.ua-mobile-total { display: none; }
@media (max-width: 991.98px) {
    .ua-summary { position: static; }
    .ua-mobile-total { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--ua-ink); color: #fff; padding: .75rem 1rem; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(0, 0, 0, .15); }
    .ua-mobile-total .big { font-family: var(--ua-serif); font-size: 1.6rem; font-weight: 600; }
}

.ua-ticket { background: #fff; border-radius: 22px; border: 1px solid var(--ua-line); overflow: hidden; }
.ua-ticket-head { background: var(--ua-ink); color: #fff; padding: 1.6rem 1.5rem; }
.ua-ticket-cut { height: 18px; background: radial-gradient(circle at 9px 0, var(--ua-paper) 8px, transparent 9px) repeat-x; background-size: 18px 18px; margin-top: -1px; }
.ua-ticket-body { padding: 1.4rem 1.5rem; }
.ua-kv { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--ua-line); }
.ua-kv:last-child { border-bottom: 0; }
.ua-kv span:first-child { color: var(--ua-muted); }
.ua-clabe { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: .06em; }

/* ==========================================================================
   Auth
   ========================================================================== */
.ua-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.ua-auth-art { background: var(--ua-ink); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.ua-auth-art blockquote { font-family: var(--ua-serif); font-size: 2.3rem; line-height: 1.15; font-style: italic; max-width: 520px; position: relative; z-index: 1; }
.ua-auth-art blockquote em { color: var(--ua-pink); }
.ua-auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.ua-auth-form > div { width: 100%; max-width: 420px; }
@media (max-width: 991.98px) { .ua-auth { grid-template-columns: 1fr; } .ua-auth-art { display: none; } }

/* Abanico de tips decorativo */
.ua-fan { position: absolute; right: -40px; bottom: -40px; width: 420px; height: 340px; }
.ua-fan span { position: absolute; bottom: 0; left: 50%; width: 62px; height: 210px; border-radius: 40px 40px 10px 10px; transform-origin: 50% 120%; box-shadow: inset -8px 0 0 rgba(0, 0, 0, .12), inset 6px 10px 0 rgba(255, 255, 255, .18); }

/* ==========================================================================
   Landing
   ========================================================================== */
.ua-landing { background: var(--ua-ink); color: #fff; }
.ua-landing a { text-decoration: none; }
.ua-l-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 0; }
.ua-l-nav .links a { color: rgba(255, 255, 255, .75); font-weight: 600; margin-left: 1.4rem; font-size: .93rem; }
.ua-l-nav .links a:hover { color: #fff; }
.ua-l-hero { position: relative; padding: 4.5rem 0 6rem; overflow: hidden; }
.ua-l-hero h1 { font-size: clamp(2.8rem, 6.8vw, 5.6rem); line-height: .98; font-weight: 600; letter-spacing: -.03em; }
.ua-l-hero h1 em { color: var(--ua-pink); font-style: italic; }
.ua-l-hero .lead { color: rgba(255, 255, 255, .72); font-size: 1.15rem; max-width: 520px; }
.ua-l-stage { position: relative; height: 470px; }
.ua-l-stage .ua-fan { position: absolute; right: 0; left: 0; margin: auto; bottom: 30px; }
.ua-notif { position: absolute; background: #fff; color: var(--ua-ink); border-radius: 16px; padding: .7rem .95rem; font-size: .84rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: flex; gap: .6rem; align-items: center; animation: ua-float 6s ease-in-out infinite; z-index: 2; }
.ua-notif .ic { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.ua-notif strong { display: block; font-size: .86rem; }
.ua-notif small { color: var(--ua-muted); }
@keyframes ua-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ua-marquee { background: var(--ua-lacquer); color: #fff; overflow: hidden; white-space: nowrap; padding: .9rem 0; font-family: var(--ua-serif); font-size: 1.35rem; font-style: italic; }
.ua-marquee div { display: inline-block; animation: ua-marquee 40s linear infinite; }
.ua-marquee span { margin: 0 1.4rem; }
.ua-marquee span::after { content: "✦"; margin-left: 2.8rem; font-style: normal; font-size: .9rem; opacity: .7; }
@keyframes ua-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ua-l-section { padding: 6rem 0; }
.ua-l-section.paper { background: var(--ua-paper); color: var(--ua-ink); }
.ua-l-section.blush { background: var(--ua-blush); color: var(--ua-ink); }
.ua-l-section h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.ua-l-section h2 em { color: var(--ua-lacquer); font-style: italic; }
.ua-msg { border-radius: 16px; padding: .7rem 1rem; max-width: 320px; font-size: .93rem; margin-bottom: .55rem; }
.ua-msg.in { background: #fff; border: 1px solid var(--ua-line); }
.ua-msg.out { background: #DCF8C6; margin-left: auto; }
.ua-pain { font-family: var(--ua-serif); font-size: 3.2rem; font-weight: 600; color: var(--ua-lacquer); line-height: 1; }
.ua-bottle { background: #fff; border-radius: 24px 24px 28px 28px; padding: 1.4rem; height: 100%; border: 1px solid var(--ua-line); position: relative; }
.ua-bottle .cap { width: 46px; height: 46px; border-radius: 12px 12px 6px 6px; background: var(--ua-ink); margin-bottom: 1rem; position: relative; }
.ua-bottle .cap::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -12px; height: 14px; border-radius: 4px; background: var(--c, var(--ua-lacquer)); }
.ua-bottle h3 { font-size: 1.35rem; margin-top: 1.3rem; }
.ua-phone { width: 290px; border-radius: 40px; background: #0f0709; padding: 12px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.ua-phone-screen { background: #ECE5DD; border-radius: 30px; min-height: 480px; padding: 1rem .8rem; }
.ua-phone-head { background: #075E54; color: #fff; border-radius: 14px; padding: .6rem .8rem; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.ua-plan { background: #fff; color: var(--ua-ink); border-radius: 26px; padding: 2rem; height: 100%; border: 1px solid var(--ua-line); display: flex; flex-direction: column; }
.ua-plan.featured { background: var(--ua-ink); color: #fff; border-color: var(--ua-ink); transform: translateY(-10px); }
.ua-plan .price { font-family: var(--ua-serif); font-size: 3.2rem; font-weight: 600; line-height: 1; }
.ua-plan ul { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .55rem; }
.ua-plan li::before { content: "✦ "; color: var(--ua-lacquer); }
.ua-plan.featured li::before { color: var(--ua-pink); }
.ua-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--ua-line); }
.ua-faq .accordion-button { background: transparent; font-weight: 700; font-size: 1.08rem; padding: 1.2rem 0; box-shadow: none; color: var(--ua-ink); }
.ua-faq .accordion-body { padding: 0 0 1.2rem; color: var(--ua-muted); }
.ua-footer { padding: 3rem 0; color: rgba(255, 255, 255, .6); font-size: .9rem; }

/* Mini cotizador de la landing */
.ua-demo-nail { width: 108px; margin: 0 auto; background: var(--ua-lacquer); transition: all .35s ease; box-shadow: inset -10px 0 0 rgba(0, 0, 0, .1), inset 8px 14px 0 rgba(255, 255, 255, .2); }
.min-w-0 { min-width: 0; }

/* Membresía: cuadro de depósito OXXO y carga de comprobante */
.ua-deposit { background: linear-gradient(135deg, var(--ua-ink) 0%, #3a1a24 100%); color: #fff; border-radius: 20px; padding: 1.3rem 1.4rem; position: relative; overflow: hidden; }
.ua-deposit::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 52, 78, .35), transparent 70%); top: -60px; right: -50px; pointer-events: none; }
.ua-card-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.45rem; letter-spacing: .08em; font-weight: 700; }
.ua-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; border: 2px dashed var(--ua-line); border-radius: 16px; padding: 1.4rem 1rem; cursor: pointer; background: var(--ua-blush-2); transition: border-color .15s ease; margin: 0; }
.ua-dropzone:hover, .ua-dropzone:focus-within { border-color: var(--ua-pink); }
.ua-dropzone img { max-height: 220px; max-width: 100%; border-radius: 10px; object-fit: contain; }

/* QR */
.ua-qr { display: flex; gap: 1rem; align-items: center; }
.ua-qr-frame { background: #fff; border: 1px solid var(--ua-line); border-radius: 18px; padding: 10px; flex-shrink: 0; line-height: 0; }
.ua-qr-frame canvas { display: block; border-radius: 6px; }
.ua-qr.is-compact .ua-qr-body p { display: none; }
@media (max-width: 575.98px) { .ua-qr { flex-direction: column; text-align: center; } .ua-qr .d-flex { justify-content: center; } }

/* Recorrido guiado */
.driver-popover.ua-tour { font-family: var(--ua-sans); border-radius: 18px; padding: 1.1rem 1.2rem; max-width: 340px; box-shadow: 0 20px 50px rgba(26, 14, 18, .25); }
.driver-popover.ua-tour .driver-popover-title { font-family: var(--ua-serif); font-size: 1.3rem; font-weight: 600; }
.driver-popover.ua-tour .driver-popover-description { color: var(--ua-muted); font-size: .92rem; }
.driver-popover.ua-tour .driver-popover-footer button { border-radius: 999px; padding: .35rem .9rem; font-weight: 700; text-shadow: none; border: 1px solid var(--ua-line); background: #fff; color: var(--ua-ink); }
.driver-popover.ua-tour .driver-popover-footer .driver-popover-next-btn { background: var(--ua-lacquer); border-color: var(--ua-lacquer); color: #fff; }
.driver-popover.ua-tour .driver-popover-progress-text { color: var(--ua-muted); font-weight: 600; }
.ua-tour-offer { background: linear-gradient(120deg, var(--ua-ink), #3a1a24); color: #fff; border: 0; }
.ua-tour-offer p { color: rgba(255, 255, 255, .7); }

/* Inventario */
.ua-inv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--ua-line); }
.ua-inv-row:last-child { border-bottom: 0; }
.ua-stock { font-family: var(--ua-serif); font-size: 1.3rem; font-weight: 600; padding: .1rem .7rem; border-radius: 999px; white-space: nowrap; }
.ua-stock small { font-family: var(--ua-sans); font-size: .72rem; font-weight: 600; }
.ua-stock.is-ok { background: #E1F2E9; color: var(--ua-ok); }
.ua-stock.is-low { background: #FCF1DC; color: var(--ua-wait); }
.ua-stock.is-out { background: #FDE4E7; color: var(--ua-lacquer-deep); }
.ua-modal { border: 0; border-radius: 22px; }
@media (max-width: 575.98px) { .ua-inv-row { grid-template-columns: 1fr auto; } .ua-inv-row > :last-child { grid-column: 1 / -1; justify-content: flex-start !important; } }

/* Bandeja de comprobantes */
.ua-receipt { background: #fff; border: 1px solid var(--ua-line); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.ua-receipt.is-pending { border-color: #E9C98B; box-shadow: 0 0 0 3px #FCF1DC; }
.ua-receipt-media { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--ua-blush-2); text-align: center; color: var(--ua-ink); text-decoration: none; overflow: hidden; }
.ua-receipt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ua-receipt-media:hover img { transform: scale(1.04); }

/* ==========================================================================
   Perfil público del estudio (personalizable)
   ========================================================================== */
.ua-public-body .btn { border-radius: var(--ua-btn-radius, 999px); }
.ua-public-body h1, .ua-public-body h2, .ua-public-body h3, .ua-public-body .ua-display { font-family: var(--ua-serif); }
.ua-sp-ribbon { background: var(--ua-lacquer); color: #fff; text-align: center; padding: .55rem 1rem; font-weight: 700; font-size: .9rem; }

.ua-sp-hero { position: relative; overflow: hidden; color: #fff; background: var(--ua-hero, var(--ua-ink)); padding: 3.2rem 1.25rem 3rem; text-align: center; }
.ua-sp-hero.hero-cover { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .65) 100%), var(--sp-cover) center / cover no-repeat, var(--ua-hero); padding-top: 6rem; }
.ua-sp-hero.hero-color::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ua-lacquer) 55%, transparent), transparent 70%); top: -220px; right: -160px; }
.ua-sp-hero.hero-minimal { background: var(--ua-paper); color: var(--ua-ink); border-bottom: 1px solid var(--ua-line); }
.ua-sp-hero-deco { position: absolute; inset: auto -60px -70px auto; opacity: .35; pointer-events: none; transform: scale(.8); transform-origin: bottom right; }
.ua-sp-hero.hero-cover .ua-sp-hero-deco { display: none; }
.ua-sp-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.ua-sp-logo { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 1rem; background: var(--ua-lacquer); border: 4px solid rgba(255, 255, 255, .85); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ua-sp-logo img { width: 100%; height: 100%; object-fit: cover; }
.ua-sp-logo span { font-family: var(--ua-serif); font-style: italic; font-weight: 700; font-size: 2.8rem; color: #fff; }
.hero-minimal .ua-sp-logo { border-color: var(--ua-blush); box-shadow: none; }
.ua-sp-kicker { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.ua-sp-hero h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: 1.02; margin: .4rem 0 .5rem; letter-spacing: -.01em; }
.ua-sp-tagline { font-size: 1.1rem; opacity: .85; max-width: 480px; margin: 0 auto; }
.ua-sp-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.6rem 0 1.2rem; }
.ua-sp-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.ua-sp-ghost:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.hero-minimal .ua-sp-ghost { background: transparent; color: var(--ua-ink); border-color: var(--ua-line); }
.ua-sp-social { display: flex; justify-content: center; gap: .5rem; }
.ua-sp-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: inherit; background: rgba(255, 255, 255, .12); text-decoration: none; font-size: 1.1rem; transition: background .15s ease; }
.ua-sp-social a:hover { background: var(--ua-lacquer); color: #fff; }
.hero-minimal .ua-sp-social a { background: var(--ua-blush); }

.ua-sp { max-width: 980px; margin: 0 auto; padding: 0 1rem 6rem; }
.ua-sp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); background: #fff; border: 1px solid var(--ua-line); border-radius: 20px; margin: -1.8rem auto 2.5rem; position: relative; z-index: 2; box-shadow: 0 14px 40px rgba(0, 0, 0, .08); overflow: hidden; }
.ua-sp-facts > div { padding: 1rem .75rem; text-align: center; border-right: 1px solid var(--ua-line); }
.ua-sp-facts > div:last-child { border-right: 0; }
.ua-sp-facts span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ua-muted); font-weight: 700; }
.ua-sp-facts strong { font-family: var(--ua-serif); font-size: 1.4rem; font-weight: 600; }
.ua-sp-section { margin-bottom: 3rem; }
.ua-sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.ua-sp-head h2, .ua-sp-section > h2 { font-size: 2rem; margin: 0; }
.ua-sp-eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--ua-lacquer-deep); margin-bottom: .2rem; }
.ua-sp-bio { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.ua-sp-bio p { font-family: var(--ua-serif); font-size: 1.35rem; line-height: 1.5; font-style: italic; white-space: pre-line; }

.ua-sp-gallery { display: grid; gap: .5rem; }
.ua-sp-gallery.is-grid { grid-template-columns: repeat(3, 1fr); }
.ua-sp-gallery.is-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; }
.ua-sp-gallery.is-mosaic .ua-sp-photo:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.ua-sp-gallery.is-mosaic .ua-sp-photo:nth-child(6n + 4) { grid-row: span 2; }
.ua-sp-photo { border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--ua-blush); cursor: zoom-in; }
.ua-sp-gallery.is-grid .ua-sp-photo { aspect-ratio: 1; }
.ua-sp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.ua-sp-photo:hover img { transform: scale(1.05); }
@media (max-width: 575.98px) { .ua-sp-gallery.is-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

.ua-sp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.ua-sp-pricecard { background: #fff; border: 1px solid var(--ua-line); border-radius: 20px; padding: 1.2rem 1.3rem; }
.ua-sp-pricecard h3 { font-size: 1.2rem; margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ua-lacquer); display: inline-block; }
.ua-sp-priceline { display: flex; align-items: baseline; gap: .5rem; padding: .35rem 0; }
.ua-sp-priceline .dots { flex: 1; border-bottom: 1px dotted var(--ua-line); transform: translateY(-4px); }
.ua-sp-priceline strong { font-variant-numeric: tabular-nums; }
.ua-sp-priceline em { color: var(--ua-muted); font-weight: 500; }

.ua-sp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.ua-sp-steps > div { background: var(--ua-blush); border-radius: 20px; padding: 1.2rem; }
.ua-sp-steps span { width: 34px; height: 34px; border-radius: 50%; background: var(--ua-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: .6rem; }
.ua-sp-steps strong { display: block; font-family: var(--ua-serif); font-size: 1.3rem; }
.ua-sp-steps p { margin: .2rem 0 0; color: var(--ua-muted); font-size: .92rem; }
.ua-sp-card { background: #fff; border: 1px solid var(--ua-line); border-radius: 20px; padding: 1.3rem; }
.ua-sp-card .ua-kv.is-today { font-weight: 800; color: var(--ua-lacquer-deep); }
.ua-sp-map { width: 100%; flex: 1; min-height: 200px; border: 0; border-radius: 14px; }
.ua-sp-sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ua-paper) 35%); z-index: 1030; }
@media (min-width: 992px) { .ua-sp-sticky { display: none; } }

.ua-sp-paused { max-width: 560px; margin: 0 auto; padding: 4rem 1.25rem 2rem; text-align: center; }
.ua-sp-paused h1 { font-size: 2.4rem; margin: .6rem 0; }
.ua-sp-paused p { color: var(--ua-muted); }
.ua-sp-paused-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--ua-ink); color: #fff; border-radius: 999px; padding: .4rem 1rem; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* Editor "Mi página" */
.ua-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .5rem; }
.ua-swatch input, .ua-font input { position: absolute; opacity: 0; pointer-events: none; }
.ua-swatch label { display: block; border: 1.5px solid var(--ua-line); border-radius: 14px; padding: .6rem .7rem; cursor: pointer; font-weight: 700; font-size: .85rem; background: #fff; }
.ua-swatch .dots { display: flex; margin-bottom: .4rem; }
.ua-swatch .dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-right: -6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.ua-swatch input:checked + label, .ua-font input:checked + label { border-color: var(--ua-ink); box-shadow: 0 0 0 2px var(--ua-ink); }
.ua-swatch input:focus-visible + label, .ua-font input:focus-visible + label { box-shadow: 0 0 0 3px rgba(232, 52, 78, .35); }
.ua-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; }
.ua-font label { display: block; border: 1.5px solid var(--ua-line); border-radius: 14px; padding: .7rem .8rem; cursor: pointer; background: #fff; }
.ua-font .sample { display: block; font-size: 1.35rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ua-font small { color: var(--ua-muted); font-weight: 600; }
.ua-save-bar { position: sticky; bottom: 0; padding: .75rem 0; background: linear-gradient(transparent, var(--ua-paper) 30%); z-index: 5; }
.ua-preview { position: sticky; top: 1rem; }
.ua-preview-bar { display: flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--ua-line); border-bottom: 0; border-radius: 18px 18px 0 0; padding: .55rem .8rem; }
.ua-preview-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ua-line); }
.ua-preview-bar code { color: var(--ua-muted); margin-left: .4rem; }
.ua-preview-stage { background: repeating-linear-gradient(45deg, #f3ece8 0 12px, #f7f1ee 12px 24px); border: 1px solid var(--ua-line); border-radius: 0 0 18px 18px; padding: 1rem; display: flex; justify-content: center; height: 78vh; min-height: 560px; }
.ua-preview-stage iframe { border: 0; background: #fff; border-radius: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .15); height: 100%; transition: width .25s ease; }
.ua-preview-stage iframe.is-phone { width: 390px; max-width: 100%; }
.ua-preview-stage iframe.is-desktop { width: 100%; border-radius: 10px; }
@media (max-width: 991.98px) { .ua-public-body:has(.ua-sp-sticky) > footer { padding-bottom: 6rem !important; } }

/* Menú: sección de administración y scroll cuando hay muchas opciones */
.ua-sidebar .ua-nav { overflow-y: auto; min-height: 0; flex: 1 1 auto; margin-bottom: 1rem; scrollbar-width: thin; }
.ua-nav-heading { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--ua-pink); padding: 1rem .8rem .3rem; }

/* Logo */
.ua-logo { display: block; max-width: 100%; }
.ua-brand { display: inline-flex; align-items: center; }
.ua-public-footer .ua-logo { opacity: .85; }

/* Soporte */
.ua-faq-panel .accordion-item { border: 1px solid var(--ua-line); border-radius: 14px !important; margin-bottom: .5rem; overflow: hidden; background: #fff; }
.ua-faq-panel .accordion-button { font-weight: 700; box-shadow: none; }
.ua-faq-panel .accordion-button:not(.collapsed) { background: var(--ua-blush-2); color: var(--ua-ink); }
.ua-faq-panel .accordion-body { color: var(--ua-muted); }
.ua-support-card { background: linear-gradient(140deg, #128C4A, #1FAF5A); color: #fff; border-radius: 22px; padding: 1.6rem; position: relative; overflow: hidden; }
.ua-support-icon { position: absolute; right: -20px; top: -20px; font-size: 8rem; opacity: .15; }
.ua-support-card .btn-whatsapp { background: #fff; color: #128C4A; }
.ua-support-card .btn-whatsapp:hover { background: #F1FFF6; color: #0d6b38; }
.ua-help-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 52px; height: 52px; border-radius: 50%; background: var(--ua-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 10px 30px rgba(26, 14, 18, .3); text-decoration: none; }
.ua-help-fab:hover { background: var(--ua-lacquer); color: #fff; }

/* Ajustes visuales */
.ua-sidebar .ua-nav { align-content: start; }
.ua-sp-facts { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
.ua-sp-facts strong { font-size: 1.25rem; }
@media (max-width: 767.98px) { .ua-sp-hero-deco { display: none; } }
.ua-share-card .ua-linkbox { padding: .45rem .5rem .45rem .9rem; }

/* ==========================================================================
   Landing v2: encabezado fijo, CTA destacado, capturas y WhatsApp
   ========================================================================== */
.ua-l-header { position: sticky; top: 0; z-index: 1030; transition: background .25s ease, box-shadow .25s ease; }
.ua-l-header.is-scrolled { background: rgba(26, 14, 18, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.ua-l-header .ua-l-nav { padding: .9rem 0; }

.ua-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .6rem; border: 0; color: #fff !important; font-weight: 800;
    background: linear-gradient(135deg, #E8344E 0%, #FF6F86 100%); box-shadow: 0 12px 30px rgba(232, 52, 78, .45), inset 0 -2px 0 rgba(0, 0, 0, .12);
    transition: transform .15s ease, box-shadow .15s ease; padding: .75rem 1.4rem; }
.ua-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(232, 52, 78, .55), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.ua-cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: ua-shine 3.6s ease-in-out infinite; }
@keyframes ua-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ua-cta-sm { padding: .45rem 1rem; font-size: .9rem; box-shadow: 0 8px 20px rgba(232, 52, 78, .4); }
.ua-cta-lg { padding: .9rem 1.6rem; font-size: 1.05rem; justify-content: center; }
.ua-cta-xl { padding: .85rem 1rem .85rem 1.8rem; text-align: left; }
.ua-cta-xl span { display: flex; flex-direction: column; line-height: 1.15; }
.ua-cta-xl strong { font-size: 1.25rem; }
.ua-cta-xl small { font-weight: 600; opacity: .9; font-size: .82rem; }
.ua-cta-xl > i { font-size: 2.1rem; margin-left: .4rem; }
.ua-cta-light { background: #fff; color: var(--ua-lacquer-deep) !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.ua-cta-light:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.ua-cta-light::after { background: linear-gradient(100deg, transparent, rgba(232, 52, 78, .15), transparent); }
@media (prefers-reduced-motion: reduce) { .ua-cta::after, .ua-notif, .ua-marquee div { animation: none; } }
.ua-l-link { color: #fff; font-weight: 700; border-bottom: 2px solid var(--ua-pink); padding-bottom: 2px; }
.ua-l-link:hover { color: var(--ua-pink); }

/* Marcos de dispositivo */
.ua-device { position: relative; }
.ua-device img { display: block; width: 100%; height: auto; }
.ua-device-phone { background: #0f0709; border-radius: 42px; padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.ua-device-phone img { border-radius: 32px; }
.ua-device-phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 999px; background: #0f0709; z-index: 2; }
.ua-device-laptop { background: #1d1417; border-radius: 16px; padding: 28px 10px 10px; box-shadow: 0 50px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.ua-device-laptop img { border-radius: 6px; }
.ua-device-bar { position: absolute; top: 10px; left: 14px; display: flex; gap: 6px; }
.ua-device-bar span { width: 9px; height: 9px; border-radius: 50%; background: #4a3a3f; }

.ua-l-stage { position: relative; height: 560px; }
.ua-l-hero-phone { position: absolute; left: 50%; top: 0; width: 260px; transform: translateX(-50%) rotate(3deg); z-index: 1; }
.ua-l-stage .ua-notif { z-index: 3; }
.ua-l-stage .ua-fan { z-index: 0; opacity: .9; }
@media (max-width: 991.98px) { .ua-l-stage { height: 520px; margin-top: 1rem; } }

.ua-l-showcase { padding-top: 5rem; }
.ua-l-devices { position: relative; max-width: 1040px; margin: 0 auto; padding-right: 120px; }
.ua-l-devices-phone { position: absolute; right: 0; bottom: -40px; width: 230px; transform: rotate(4deg); }
@media (max-width: 767.98px) { .ua-l-devices { padding-right: 0; } .ua-l-devices-phone { position: relative; width: 220px; margin: -60px auto 0; right: auto; bottom: auto; } }

.ua-l-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ua-l-design { margin: 0; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--ua-line); transition: transform .2s ease, box-shadow .2s ease; }
.ua-l-design:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 14, 18, .12); }
.ua-l-design img { width: 100%; height: auto; display: block; }
.ua-l-design figcaption { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem 1rem; }
.ua-l-design strong { display: block; font-size: .98rem; }
.ua-l-design small { color: var(--ua-muted); }
.ua-l-price { background: var(--ua-ink); color: #fff; border-radius: 999px; padding: .25rem .7rem; font-weight: 800; font-size: .9rem; white-space: nowrap; }
@media (max-width: 991.98px) { .ua-l-gallery { grid-template-columns: repeat(2, 1fr); } }

.ua-l-ctaband { background: linear-gradient(120deg, #E8344E 0%, #B81E37 100%); color: #fff; padding: 3.2rem 0; position: relative; overflow: hidden; }
.ua-l-ctaband::after { content: "✦"; position: absolute; right: 6%; top: -30px; font-size: 12rem; color: rgba(255, 255, 255, .08); line-height: 1; }
.ua-l-ctaband h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.ua-l-ctaband h2 em { font-style: italic; opacity: .9; }
.ua-l-ctaband p { opacity: .85; }

/* WhatsApp flotante */
.ua-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: inline-flex; align-items: center; gap: .55rem; background: #25D366; color: #fff !important; border-radius: 999px; padding: .75rem 1.1rem .75rem .85rem; font-weight: 800; box-shadow: 0 14px 34px rgba(37, 211, 102, .45); transition: transform .15s ease; }
.ua-wa-float i { font-size: 1.7rem; line-height: 1; }
.ua-wa-float:hover { transform: translateY(-3px) scale(1.02); }
.ua-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ua-wa-pulse 2.4s infinite; }
@keyframes ua-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.ua-l-mobile-cta { display: none; }
@media (max-width: 767.98px) {
    .ua-wa-float { bottom: 86px; right: 14px; padding: .8rem; }
    .ua-wa-float span { display: none; }
    .ua-l-mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(26, 14, 18, .94); backdrop-filter: blur(8px); }
    .ua-l-mobile-cta .ua-cta { justify-content: center; padding: .85rem 1rem; }
    .ua-landing .ua-footer { padding-bottom: 6rem; }
    .ua-l-nav .links .ua-cta-sm { display: none; }
}
@media (max-width: 575.98px) {
    .ua-l-hero-phone { width: 220px; }
    .ua-l-stage .ua-notif { transform: scale(.88); }
    .ua-l-stage .ua-notif-extra { display: none; }
}

/* Páginas legales */
.ua-legal-body { background: var(--ua-paper); }
.ua-legal-header { background: #fff; border-bottom: 1px solid var(--ua-line); position: sticky; top: 0; z-index: 10; }
.ua-legal { max-width: 820px; padding-top: 2.5rem; padding-bottom: 4rem; line-height: 1.7; }
.ua-legal-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: .3rem 0; }
.ua-legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; scroll-margin-top: 90px; }
.ua-legal li { margin-bottom: .35rem; }
.ua-legal-toc, .ua-legal-summary { background: #fff; border: 1px solid var(--ua-line); border-radius: 18px; padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.ua-legal-summary { background: var(--ua-blush-2); }
.ua-legal-toc ol { columns: 2; margin: .5rem 0 0; padding-left: 1.2rem; }
@media (max-width: 575.98px) { .ua-legal-toc ol { columns: 1; } }
.ua-legal-pending { background: #FFF1C2; color: #7a5212; border-radius: 6px; padding: 0 .3rem; font-weight: 700; }
.ua-legal-footer { border-top: 1px solid var(--ua-line); padding: 1.5rem 0; background: #fff; }
.ua-legal-links a { color: inherit; }

/* Paso de pago en la reserva */
.ua-paymethods { display: grid; gap: .5rem; }
.ua-paymethod input { position: absolute; opacity: 0; pointer-events: none; }
.ua-paymethod label { display: flex; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 2px solid var(--ua-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease; }
.ua-paymethod label > i { font-size: 1.5rem; color: var(--ua-lacquer); }
.ua-paymethod label strong { display: block; }
.ua-paymethod label small { color: var(--ua-muted); }
.ua-paymethod input:checked + label { border-color: var(--ua-ink); box-shadow: 0 0 0 3px rgba(26, 14, 18, .08); }
.ua-paymethod input:focus-visible + label { outline: 3px solid var(--ua-pink); }
.ua-mp-cta { background: #009EE3; border-color: #009EE3; color: #fff; }
.ua-mp-cta:hover, .ua-mp-cta:focus { background: #0081BA; border-color: #0081BA; color: #fff; }
