/* Umi Negocio · Entrar y registrar una florería.
   Mismo sistema visual que la app y el panel. */
:root { --fondo: #fff; --tinta: #17251d; --tinta-2: #5c6860; --tinta-3: #737d76; --gris: #f3f4f2; --gris-2: #e9ebe8; --linea: #e7e9e6; --rosa-accion: #d2405a; --rosa-texto: #c23a53; --fuente: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; }
html { background: var(--gris); }
body { margin: 0; min-height: 100dvh; background: var(--gris); color: var(--tinta); font: 15px/1.5 var(--fuente); -webkit-font-smoothing: antialiased; }
button, input, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:where(button, a, input):focus-visible { outline: 2px solid var(--tinta); outline-offset: 2px; }
.shell { width: 100%; max-width: 448px; min-height: 100dvh; margin: 0 auto; background: var(--fondo); }
.panel { padding: calc(28px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 20px calc(24px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.logo { display: block; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.brand span { font-size: 15px; font-weight: 600; color: var(--tinta-2); }
h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.intro { margin: 0 0 20px; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--tinta-2); text-wrap: pretty; }
label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; min-width: 0; min-height: 52px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--gris); font: 500 16px var(--fuente); color: var(--tinta); outline: none; }
textarea { padding: 13px 14px; line-height: 1.45; resize: none; }
:is(input, textarea)::placeholder { color: var(--tinta-3); opacity: 1; }
:is(input, textarea, select):focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--tinta); }
.password { position: relative; }
.password input { padding-right: 92px; }
.reveal { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: #fff; font-size: 13px; font-weight: 600; }
.hint { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--tinta-2); }
.forgot, .back { display: block; min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.forgot { margin: 8px 0 0 auto; }
.back { margin: 10px auto 0; }
a.back { display: flex; align-items: center; justify-content: center; }
.primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 18px; border: 0; border-radius: 27px; background: var(--rosa-accion); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.primary:hover { background: var(--rosa-texto); }
.primary:disabled { opacity: .6; cursor: wait; }
.notice, .umi-business-notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gris); font-size: 14px; line-height: 1.45; }
.notice.error, .umi-business-notice.error { background: #fdecec; color: #a1262b; }
.legal { margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--tinta-2); }
.legal p { margin: 0 0 8px; }
.legal a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; }
.footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linea); }
.footer p { margin: 0; font-size: 15px; color: var(--tinta-2); }
.secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 12px; border: 0; border-radius: 25px; background: var(--gris); font-size: 15px; font-weight: 600; text-decoration: none; }
.secondary:hover { background: var(--gris-2); }
.account-hint { margin-top: 12px !important; font-size: 13px !important; }
.support { margin: 24px 0 0; font-size: 14px; color: var(--tinta-2); }
.support a { font-weight: 600; color: var(--tinta); text-underline-offset: 3px; }
/* Avisos y banners (uso interno) */
.salir { margin-left: auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--gris); font-size: 14px; font-weight: 600; }
h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
.admin-banner { padding-bottom: 16px; }
.secondary:disabled { opacity: .6; cursor: wait; }
.campos-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.admin-promos { margin-top: 20px; }
.admin-promo { padding: 14px 0; border-top: 1px solid var(--linea); }
.admin-promo strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.admin-promo small { display: block; margin-top: 2px; font-size: 13px; color: var(--tinta-2); }
.admin-promo small[data-estado="Visible"] { color: #17603b; font-weight: 600; }
.admin-promo-botones { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.admin-promo-botones .secondary { width: auto; min-height: 40px; margin: 0; padding: 0 16px; font-size: 14px; }
.admin-promo-botones .salir { margin: 0; }
/* Documento legal (términos para florerías) */
.legal-doc { padding-bottom: 48px; }
.legal-doc > p, .legal-doc li { font-size: 15px; line-height: 1.6; color: var(--tinta-2); }
.legal-doc > p { margin: 0 0 12px; }
.legal-doc section { margin-top: 26px; }
.legal-doc h2 { margin: 0 0 8px; font-size: 18px; }
.legal-doc section p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--tinta-2); }
.legal-doc ul { margin: 0; padding-left: 20px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { color: var(--tinta); }
.legal-doc a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 520px) { body { padding: 24px 0; } .shell { min-height: calc(100dvh - 48px); border-radius: 24px; } }

/* ==================================================================
   Entrar y registrar florería · estilo web (barra negra, dos columnas)
   ================================================================== */
body.acc-negocio { --negro: #000; --negro-2: #282828; --gris-acc: #f3f3f3; padding: 0; background: #fff; }
.acc-negocio .acc-barra {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    height: 64px; padding: 0 clamp(20px, 4vw, 56px); background: var(--negro); color: #fff;
}
.acc-marca { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.acc-marca img { width: 32px; height: 32px; border-radius: 9px; }
.acc-marca b { font-weight: 500; color: #cfcfcf; }
.acc-barra-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 20px; background: #fff; color: var(--negro); font-size: 14px; font-weight: 600; text-decoration: none; }
.acc-barra-link:hover { background: #e2e2e2; }
.acc-negocio .acc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100dvh - 64px); }
.acc-hero {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
    padding: clamp(40px, 6vw, 88px) clamp(28px, 6vw, 96px) 200px; background: var(--negro); color: #fff;
}
.acc-kicker { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #f0899b; }
.acc-titular { margin: 0; max-width: 13ch; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.acc-puntos { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; max-width: 460px; }
.acc-puntos li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; font-size: 17px; line-height: 1.45; color: #e8e8e8; }
.acc-puntos span { font-size: 13px; font-weight: 700; color: #8f8f8f; font-variant-numeric: tabular-nums; }
.acc-ramos { position: absolute; right: clamp(16px, 4vw, 64px); bottom: -18px; display: flex; align-items: flex-end; }
.acc-ramos img { width: clamp(110px, 11vw, 168px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.acc-ramos img + img { margin-left: -34px; }
.acc-ramos img:nth-child(2) { transform: translateY(-26px) rotate(-6deg); }
.acc-ramos img:nth-child(3) { transform: rotate(8deg); }
.acc-negocio .acc-form { align-self: center; width: 100%; max-width: 480px; margin: 0 auto; padding: 48px clamp(24px, 4vw, 48px) 56px; }
.acc-negocio h1 { margin: 0 0 6px; font-size: 36px; line-height: 1.1; letter-spacing: -.04em; }
.acc-negocio .intro { margin-bottom: 8px; max-width: none; font-size: 16px; }
.acc-negocio label { margin: 18px 0 6px; font-size: 14px; font-weight: 600; }
.acc-negocio input { min-height: 52px; border-radius: 8px; background: var(--gris-acc); box-shadow: inset 0 0 0 1px transparent; }
.acc-negocio input:hover { background: #ececec; }
.acc-negocio :is(input):focus-visible { background: #fff; box-shadow: inset 0 0 0 2px var(--negro); }
.acc-negocio .reveal { border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #e2e2e2; }
.acc-negocio .primary { min-height: 54px; margin-top: 22px; border-radius: 8px; background: var(--negro); font-size: 16px; }
.acc-negocio .primary:hover { background: var(--negro-2); }
.acc-negocio .secondary { min-height: 52px; border-radius: 8px; background: var(--gris-acc); }
.acc-negocio .secondary:hover { background: #e6e6e6; }
.acc-negocio .notice, .acc-negocio .umi-business-notice { border-radius: 8px; }
.acc-negocio .footer { margin-top: 28px; }
.acc-negocio .legal { padding: 14px 16px; border-radius: 8px; background: var(--gris-acc); }
.acc-negocio .legal p { margin: 0; }
.acc-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
@media (max-width: 900px) {
    .acc-negocio .acc { display: block; min-height: 0; }
    .acc-hero { padding: 32px 20px 36px; }
    .acc-titular { max-width: 16ch; font-size: 34px; }
    .acc-puntos, .acc-ramos { display: none; }
    .acc-negocio .acc-form { padding: 28px 20px 40px; }
    .acc-negocio h1 { font-size: 28px; }
}
@media (max-width: 520px) { .acc-dos { grid-template-columns: 1fr; } .acc-barra-link { padding: 0 14px; font-size: 13px; } }
@media (min-width: 901px) { .acc-hero { position: sticky; top: 64px; align-self: start; height: calc(100dvh - 64px); min-height: 560px; } }

/* Portada con foto de ramo (en lugar del fondo negro) y barra blanca */
.acc-negocio .acc-barra { background: rgba(255, 255, 255, .96); color: var(--tinta); box-shadow: 0 1px 0 #ececec; backdrop-filter: blur(8px); }
.acc-negocio .acc-marca { color: #141414; }
.acc-negocio .acc-marca b { color: #8a8a8a; }
.acc-negocio .acc-barra-link { background: #000; color: #fff; }
.acc-negocio .acc-barra-link:hover { background: #282828; }
.acc-negocio .acc-hero {
    justify-content: flex-start; padding-bottom: 32px; color: #fff;
    background: #70080a url("../assets/img/negocio-portada.jpg?v=3") center bottom / cover no-repeat;
}
.acc-negocio .acc-hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 40%; background: linear-gradient(180deg, rgba(96, 6, 8, .55), rgba(96, 6, 8, 0)); pointer-events: none; }
.acc-negocio .acc-hero > * { position: relative; }
.acc-negocio .acc-kicker { color: #ffc2cc; }
.acc-negocio .acc-titular { color: #fff; font-size: clamp(36px, 3.4vw, 54px); max-width: 15ch; text-shadow: 0 2px 18px rgba(60, 0, 4, .35); }
.acc-negocio .acc-puntos {
    margin-top: auto; margin-right: auto; max-width: 340px; gap: 10px; padding: 16px 18px; border-radius: 12px;
    background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(60, 0, 4, .25);
}
.acc-negocio .acc-puntos li { font-size: 14px; color: #2a0d12; }
.acc-negocio .acc-puntos span { color: #c23a53; }
@media (max-width: 900px) {
    .acc-negocio .acc-hero { min-height: 240px; padding: 28px 20px; background-image: url("../assets/img/negocio-portada-chica.jpg?v=3"); background-position: center 35%; }
    .acc-negocio .acc-hero::before { height: 100%; background: linear-gradient(180deg, rgba(80, 4, 6, .75), rgba(80, 4, 6, .25)); }
}
