/*!
 * GENERADO por scripts/build-assets.php. NO EDITAR.
 * Edita la fuente correspondiente y vuelve a ejecutar el generador.
 * Fuentes (8, en orden): components/widget-hero-search.css, components/search-suggest.css, components/widget-how-it-works.css, components/widget-category-grid.css, components/widget-featured-businesses.css, components/widget-featured-products.css, components/widget-trust-bar.css, components/widget-cta-register.css
 * sources-hash: de7b67f2cb6c1806
 */
/* ==== components/widget-hero-search.css ==== */
/* ── Widget: Hero Search ─────────────────────────────────────────────
   BEM block: .wgt-hero
   Encapsula: topbar, hero search bar, mode tabs, quick-filter chips.
   Mobile-first. CSS variables del proyecto.
   ──────────────────────────────────────────────────────────────────── */

.wgt-hero {
    --hero-bg: linear-gradient(140deg, color-mix(in srgb, var(--c-amber-50) 55%, var(--c-fill)) 0%, var(--c-fill) 52%, var(--c-mist) 100%);
    --hero-ink: var(--c-ink-800);
    --hero-ink-soft: var(--c-text-muted);
    --hero-brand: var(--c-primary, var(--c-primary));

    background: var(--hero-bg);
    color: var(--hero-ink);
    border-bottom: 1px solid rgba(27, 37, 44, 0.1);
}

/* ── Screen-reader only ──────────────────────────────────────────── */
.wgt-hero__sr-only {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ── Mobile omnibar ───────────────────────────────────────────────── */
.wgt-hero__mobile {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: var(--space-3, 12px) var(--space-4, 16px);
}

.wgt-hero__mobile-input {
    min-height: 44px;
    padding: 0 var(--space-3, 12px);
    border: 1px solid rgba(36, 42, 48, 0.2);
    border-radius: var(--radius-md, 10px);
    background: var(--c-white);
    font-size: 0.9375rem;
    color: var(--hero-ink);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.wgt-hero__mobile-input:focus {
    border-color: var(--hero-brand);
    box-shadow: 0 0 0 3px rgba(20, 49, 74, 0.1);
}

.wgt-hero__mobile-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(36, 42, 48, 0.24);
    border-radius: var(--radius-md, 10px);
    background: var(--c-white);
    color: var(--c-ink-800);
    font-size: var(--fs-small);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.wgt-hero__mobile-filter:hover {
    background: var(--c-surface-2);
    color: var(--c-ink-800);
}

.wgt-hero__mobile-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    border: 1px solid var(--c-accent, var(--c-accent));
    border-radius: var(--radius-md, 10px);
    background: var(--c-accent, var(--c-accent));
    color: var(--c-on-brand);
    cursor: pointer;
    transition: background 0.15s;
}
.wgt-hero__mobile-submit:hover {
    background: var(--c-accent-hover, var(--c-accent-hover));
}

/* ── Sticky search ────────────────────────────────────────────────── */
.wgt-hero__sticky {
    display: none;
}

.wgt-hero__sticky-form {
    display: flex;
    align-items: center;
    gap: 0;
    padding: var(--space-3, 12px) var(--space-4, 16px);
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border, var(--c-sage-200));
    box-shadow: var(--shadow-md, 0 8px 20px rgba(17,24,39,0.06));
}

.wgt-hero__sticky-input {
    flex: 1;
    min-height: 44px;
    padding: 0 var(--space-4, 16px);
    border: 1px solid var(--c-border, var(--c-sage-200));
    border-right: none;
    border-radius: var(--radius-md, 10px) 0 0 var(--radius-md, 10px);
    font-size: 0.9375rem;
    color: var(--hero-ink);
    outline: none;
}
.wgt-hero__sticky-input:focus {
    border-color: var(--hero-brand);
}

.wgt-hero__sticky-submit {
    min-height: 44px;
    padding: 0 var(--space-5, 24px);
    border: 1px solid var(--c-accent, var(--c-accent));
    border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
    background: var(--c-accent, var(--c-accent));
    color: var(--c-on-brand);
    font-size: var(--fs-body);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.wgt-hero__sticky-submit:hover {
    background: var(--c-accent-hover, var(--c-accent-hover));
}

/* ── Topbar ───────────────────────────────────────────────────────── */
.wgt-hero__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3, 12px) var(--space-4, 16px);
    max-width: 1120px;
    margin: 0 auto;
}

.wgt-hero__brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--hero-ink);
    font-weight: 700;
    font-size: 1.0625rem;
}

.wgt-hero__brand-mark {
    font-size: 1.2rem;
    color: var(--hero-brand);
}

/* Wordmark SVG de marca (reemplaza al glyph ◆) */
.wgt-hero__brand-logo {
    display: block;
    height: 27px;
    width: auto;
}

.wgt-hero__brand-name {
    /* Sr-only fallback cuando el SVG no carga */
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ── Nav primaria (desktop) ──────────────────────────────────────── */
.wgt-hero__nav {
    display: none;
    align-items: center;
    gap: var(--space-1, 4px);
    margin: 0 auto;
}

.wgt-hero__nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 var(--space-3, 12px);
    border-radius: var(--radius-sm, 6px);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-body);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.wgt-hero__nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-on-brand);
}

.wgt-hero__nav-link--accent {
    color: var(--c-sky, var(--c-sky));
    font-weight: 600;
}

.wgt-hero__nav-link--accent:hover {
    color: var(--c-on-brand);
    background: rgba(143, 211, 255, 0.16);
}

/* Botón hamburguesa (mobile/tablet) */
.wgt-hero__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    color: var(--c-on-brand);
    cursor: pointer;
    transition: background 0.15s;
}

.wgt-hero__menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.wgt-hero__menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
}

.wgt-hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2, 8px);
}

.wgt-hero__action {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 var(--space-3, 12px);
    border: none;
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    font-size: var(--fs-small);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.wgt-hero__action--panel,
.wgt-hero__action--signin {
    color: var(--hero-ink);
    font-weight: 600;
}
.wgt-hero__action--panel:hover,
.wgt-hero__action--signin:hover {
    background: rgba(0,0,0,0.05);
}

.wgt-hero__action--muted {
    color: var(--c-text-muted, var(--c-steel-450));
}
.wgt-hero__action--muted:hover {
    background: rgba(0,0,0,0.04);
    color: var(--hero-ink);
}

.wgt-hero__action--reg {
    background: var(--hero-brand);
    color: var(--c-on-brand);
    font-weight: 600;
}
.wgt-hero__action--reg:hover {
    background: color-mix(in srgb, var(--c-brand-surface) 70%, var(--c-mint));
}

/* ── Hero section ─────────────────────────────────────────────────── */
.wgt-hero__hero {
    text-align: center;
    padding: clamp(42px, 7vw, 86px) var(--space-4, 16px) clamp(52px, 8vw, 96px);
    max-width: 900px;
    margin: 0 auto;
}

.wgt-hero__logo {
    display: block;
    font-size: 2rem;
    color: var(--hero-brand);
    margin-bottom: var(--space-2, 8px);
}

.wgt-hero__eyebrow {
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hero-ink-soft);
    margin: 0 0 var(--space-2, 8px);
}

.wgt-hero__title {
    font-family: var(--font-display, var(--font-sans));
    font-size: 2rem;
    font-weight: 700;
    color: var(--hero-ink);
    margin: 0 auto var(--space-3, 12px);
    line-height: 1.06;
    max-width: 760px;
}

.wgt-hero__lead {
    max-width: 620px;
    margin: 0 auto var(--space-6, 32px);
    color: var(--hero-ink-soft);
    font-size: var(--fs-lead);
    line-height: 1.55;
}

/* ── Search bar ───────────────────────────────────────────────────── */
.wgt-hero__search {
    max-width: 760px;
    margin: 0 auto;
}

.wgt-hero__form {
    display: flex;
    align-items: stretch;
    margin-bottom: var(--space-3, 12px);
    box-shadow: var(--shadow-lg, 0 14px 28px rgba(17,24,39,0.08));
    border-radius: 8px;
    overflow: hidden;
}

.wgt-hero__field {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--c-white);
    border: 2px solid transparent;
    border-right: none;
    border-radius: 8px 0 0 8px;
}
/* El input jamás ilumina su orilla: el borde queda siempre transparente,
   fundido con el fondo del campo, incluso en focus/focus-within. */
.wgt-hero__form:focus-within .wgt-hero__field,
.wgt-hero__field:focus-within,
.wgt-hero__input:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.wgt-hero__field-icon {
    display: flex;
    align-items: center;
    padding-left: var(--space-4, 16px);
    color: var(--c-slate-400);
    flex-shrink: 0;
}

.wgt-hero__input {
    flex: 1;
    min-height: 58px;
    padding: 0 var(--space-3, 12px) 0 var(--space-3, 12px);
    border: none;
    background: transparent;
    font-size: var(--fs-lead);
    /* El field es siempre blanco, así que el texto va oscuro fijo (no
       hereda `--hero-ink`, que es blanco en el hero editorial → invisible). */
    color: var(--c-ink-800);
    outline: none;
    width: 100%;
}
.wgt-hero__input::placeholder {
    color: var(--c-slate-400);
}

.wgt-hero__submit {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--space-5, 24px);
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--c-accent, var(--c-accent));
    color: var(--c-on-brand);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.wgt-hero__submit:hover {
    background: var(--c-accent-hover, var(--c-accent-hover));
}

/* Botón "Filtros" integrado como segmento de la barra de búsqueda. */
.wgt-hero__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 0 var(--space-4, 16px);
    border: none;
    border-left: 1px solid rgba(17, 24, 30, 0.1);
    border-radius: 0;
    background: var(--c-white);
    color: var(--c-primary-ink);
    font-size: var(--fs-body);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.wgt-hero__filter-btn:hover {
    background: var(--c-primary-soft, var(--c-primary-soft));
    color: var(--c-primary-ink);
}
.wgt-hero__filter-btn:focus-visible {
    outline: 2px solid var(--c-accent, var(--c-accent));
    outline-offset: -2px;
}
.wgt-hero__filter-btn svg {
    flex-shrink: 0;
}

/* ── Quick filter chips ───────────────────────────────────────────── */
.wgt-hero__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-4, 16px);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.wgt-hero__chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(36, 42, 48, 0.15);
    border-radius: var(--radius-full, 9999px);
    background: color-mix(in srgb, var(--c-surface) 70%, transparent);
    color: var(--hero-ink-soft);
    font-size: var(--fs-caption);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.wgt-hero__chip:hover {
    background: var(--c-white);
    border-color: var(--hero-brand);
    color: var(--hero-ink);
}

/* Anillo de foco estándar del proyecto (cf. base.css). */
.wgt-hero__chip:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* El field "where" está oculto por defecto; aparece sólo en desktop ≥1024px. */
.wgt-hero__field--where {
    display: none;
}

/* ── Tablet (≥768px) ──────────────────────────────────────────────── */
@media (min-width: 768px) {
    .wgt-hero__mobile {
        display: none;
    }

    .wgt-hero__sticky {
        display: block;
    }

    .wgt-hero__topbar {
        padding: var(--space-3, 12px) var(--space-5, 24px);
    }

    .wgt-hero__title {
        font-size: 2.75rem;
    }

    .wgt-hero__hero {
        padding-top: clamp(54px, 7vw, 90px);
        padding-bottom: clamp(64px, 8vw, 104px);
    }

    .wgt-hero__input {
        font-size: 1.0625rem;
    }
}

/* ── Desktop (≥1024px) ────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .wgt-hero__title {
        font-size: 3.25rem;
    }

    .wgt-hero__submit {
        padding: 0 var(--space-6, 32px);
    }
    /* Doble input: ¿Qué buscas? | ¿Dónde? | Buscar */
    .wgt-hero__field--where {
        display: flex;
        border-left: 1px solid rgba(17, 24, 30, 0.08);
        border-right: none;
        border-radius: 0;
    }
}

/* Mobile/tablet: el botón de submit muestra una lupa vía ::before
   (sobrevive al textContent que el JS legacy aplica al botón). */
@media (max-width: 1023px) {
    .wgt-hero__submit {
        min-width: 48px;
        padding: 0;
        font-size: 0;
    }
    .wgt-hero__submit::before {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* Estado activo de los chips rápidos — son toggles: el ✕ señala que otro
   clic quita el filtro. */
.wgt-hero__chip.is-active {
    border-color: var(--c-accent, var(--c-accent));
    background: var(--c-accent, var(--c-accent));
    color: var(--c-on-brand);
}

.wgt-hero__chip.is-active::after {
    content: "✕";
    margin-left: 7px;
    font-size: 0.68em;
    opacity: 0.85;
}

.wgt-hero__chip.is-active:hover {
    background: var(--c-accent-hover, var(--c-accent-hover));
    border-color: var(--c-accent-hover, var(--c-accent-hover));
    color: var(--c-on-brand);}

@media (max-width: 640px) {
    .wgt-hero__mobile-filter span {
        display: none;
    }

    .wgt-hero__hero {
        padding-top: 34px;
    }

    .wgt-hero__form {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        border-radius: 8px;
        box-shadow: none;
        gap: 8px;
    }

    .wgt-hero__field,
    .wgt-hero__submit,
    .wgt-hero__filter-btn {
        border-radius: 8px;
    }

    .wgt-hero__field {
        border: 1px solid rgba(27, 37, 44, 0.16);
    }

    .wgt-hero__submit {
        min-height: 48px;
        justify-content: center;
    }

    /* En el form apilado, Filtros pasa a ser una fila completa. */
    .wgt-hero__filter-btn {
        min-height: 48px;
        justify-content: center;
        border: 1px solid rgba(27, 37, 44, 0.16);
    }
}

/* ── Mobile menu desplegable (hamburguesa) ────────────────────────── */
.wgt-hero__mobile-menu {
    display: none;
}

.wgt-hero__mobile-menu[hidden] {
    display: none;
}

.wgt-hero__mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-2, 8px) var(--space-4, 16px) var(--space-4, 16px);
    background: rgba(9, 15, 20, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wgt-hero__mobile-menu-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-3, 12px);
    border-radius: var(--radius-sm, 6px);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.wgt-hero__mobile-menu-link:hover,
.wgt-hero__mobile-menu-link:active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-on-brand);
}

.wgt-hero__mobile-menu-link--accent {
    color: var(--c-sky, var(--c-sky));
    font-weight: 600;
}

.wgt-hero__mobile-menu:not([hidden]) {
    display: block;
}

/* ── Desktop (≥1024px): nav visible, hamburguesa oculta ───────────── */
@media (min-width: 1024px) {
    .wgt-hero__nav {
        display: flex;
    }

    .wgt-hero__menu-toggle {
        display: none;
    }

    .wgt-hero__mobile-menu {
        display: none !important;
    }
}

/* ── Production refresh: full-bleed editorial hero ───────────────── */
.wgt-hero {
    /* El hero conserva su paleta dark editorial pero ahora bebe de los
       tokens globales (--c-sky, --c-mint, --c-primary) para coherencia. */
    --hero-bg: var(--c-dark-surface-2);
    --hero-ink: var(--c-on-dark);
    --hero-ink-soft: color-mix(in srgb, var(--c-on-dark) 78%, transparent);
    --hero-brand: var(--c-sky);
    --hero-accent: var(--c-mint);
    --hero-dark: var(--c-navy-950); /* superficie fija: no invierte */
    /* Mobile-first: la variante de 1280 px (94 KB) cubre hasta un teléfono
       DPR 3 sin escalar. La de 1717 px pesa 219 KB y sólo hace falta desde
       tablet. El preload de app.php replica ESTE mismo corte con `media`:
       si los dos dejan de coincidir, el navegador se baja las dos. */
    --hero-image: image-set(
        url("../img/landing/directory-hero-local-commerce-1280.webp") type("image/webp"),
        url("../img/landing/directory-hero-local-commerce-1280.jpg") type("image/jpeg")
    );

    background: var(--hero-dark);
    border-bottom: 0;
    color: var(--hero-ink);
}

@media (min-width: 768px) {
    .wgt-hero {
        --hero-image: image-set(
            url("../img/landing/directory-hero-local-commerce.webp") type("image/webp"),
            url("../img/landing/directory-hero-local-commerce.jpg") type("image/jpeg")
        );
    }
}

.wgt-hero__topbar {
    position: relative;
    z-index: 3;
    width: min(1120px, calc(100% - 32px));
    min-height: 68px;
    padding: 0;
}

.wgt-hero__brand,
.wgt-hero__action--panel,
.wgt-hero__action--signin {
    color: var(--c-on-brand);
}

.wgt-hero__brand {
    min-height: 44px;
}

.wgt-hero__brand-mark {
    color: var(--c-sky);
}

.wgt-hero__action {
    border-radius: 8px;
    letter-spacing: 0;
}

.wgt-hero__action--panel:hover,
.wgt-hero__action--signin:hover,
.wgt-hero__action--muted:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-on-brand);
}

.wgt-hero__action--muted {
    color: rgba(255, 255, 255, 0.7);
}

.wgt-hero__action--reg {
    background: var(--c-accent);
    color: var(--c-on-brand);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.wgt-hero__action--reg:hover {
    background: var(--c-accent-hover);
    color: var(--c-on-brand);
}

.wgt-hero__hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: clamp(460px, 62vh, 620px);
    margin: -68px 0 0;
    padding: clamp(116px, 15vw, 150px) max(16px, calc((100% - 1120px) / 2)) clamp(56px, 8vw, 84px);
    overflow: hidden;
    text-align: left;
    background-image:
        linear-gradient(90deg, rgba(9, 15, 20, 0.92) 0%, rgba(9, 15, 20, 0.74) 38%, rgba(9, 15, 20, 0.28) 72%, rgba(9, 15, 20, 0.1) 100%),
        linear-gradient(180deg, rgba(9, 15, 20, 0.7) 0%, rgba(9, 15, 20, 0.05) 30%, rgba(9, 15, 20, 0.78) 100%),
        var(--hero-image);
    background-position: center;
    background-size: cover;
}

.wgt-hero__hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(9, 15, 20, 0), var(--c-fill) 96%);
}

.wgt-hero__logo,
.wgt-hero__eyebrow,
.wgt-hero__title,
.wgt-hero__lead,
.wgt-hero__search,
.wgt-hero__chips,
.wgt-hero__quickchips {
    width: min(100%, 720px);
    margin-left: 0;
    margin-right: 0;
}

.wgt-hero__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: var(--space-3, 12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-sky); /* claro intencional sobre el hero oscuro fijo */
    font-size: 1.35rem;
    backdrop-filter: blur(10px);
}

.wgt-hero__eyebrow {
    color: var(--c-sky); /* claro intencional sobre el hero oscuro fijo */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
}

.wgt-hero__title {
    margin-bottom: var(--space-4, 16px);
    color: var(--c-on-brand);
    text-wrap: balance;
    text-shadow: 0 3px 28px rgba(0, 0, 0, 0.42);
}

.wgt-hero__lead {
    max-width: 610px;
    margin-bottom: var(--space-5, 24px);
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.wgt-hero__form {
    margin-bottom: var(--space-3, 12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: color-mix(in srgb, var(--c-surface) 96%, transparent);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.wgt-hero__field {
    border: 0;
    border-radius: 8px 0 0 8px;
}

.wgt-hero__form:focus-within {
    box-shadow: 0 0 0 4px var(--c-sky-soft, rgba(143, 211, 255, 0.22)), 0 22px 54px rgba(0, 0, 0, 0.3);
}

.wgt-hero__form:focus-within .wgt-hero__field {
    border-color: transparent;
}

.wgt-hero__input {
    min-height: 62px;
}

.wgt-hero__submit {
    min-width: 132px;
    border-left: 1px solid rgba(17, 24, 30, 0.08);
    background: var(--c-accent, var(--c-accent));
}

.wgt-hero__submit:hover {
    background: var(--c-accent-hover, var(--c-accent-hover));
}

.wgt-hero__chips {
    justify-content: flex-start;
    max-width: 720px;
}

.wgt-hero__chip {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-on-brand);
    backdrop-filter: blur(8px);
}

.wgt-hero__chip:hover {
    border-color: var(--c-sky, rgba(157, 220, 255, 0.84));
    background: var(--c-sky-soft, rgba(157, 220, 255, 0.18));
    color: var(--c-on-brand);
}

@media (min-width: 768px) {
    .wgt-hero__title {
        font-size: clamp(1.75rem, 2.8vw, 2.4rem);
        max-width: 860px;
    }
}

@media (max-width: 767px) {
    .wgt-hero {
        background: var(--c-fill);
    }

    .wgt-hero__mobile {
        position: sticky;
        top: 0;
        z-index: 5;
        background: color-mix(in srgb, var(--c-surface) 96%, transparent);
        border-bottom: 1px solid rgba(27, 37, 44, 0.1);
        backdrop-filter: blur(12px);
    }

    .wgt-hero__topbar {
        min-height: 60px;
        width: min(100% - 24px, 1120px);
    }

    .wgt-hero__brand-name {
        font-size: var(--fs-lead);
    }

    .wgt-hero__actions {
        gap: 4px;
    }

    .wgt-hero__action {
        min-height: 34px;
        padding-inline: 9px;
        font-size: 0.76rem;
    }

    .wgt-hero__hero {
        min-height: clamp(380px, 56vh, 460px);
        margin-top: 0;
        padding: 72px 16px 40px;
        background-position: 62% center;
    }

    .wgt-hero__title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        text-shadow: 0 2px 12px rgba(9, 15, 20, 0.45);
    }

    .wgt-hero__lead {
        font-size: var(--fs-lead);
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 8px rgba(9, 15, 20, 0.5);
    }

    .wgt-hero__form {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .wgt-hero__field {
        min-height: 54px;
        background: color-mix(in srgb, var(--c-surface) 96%, transparent);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .wgt-hero__submit {
        min-height: 50px;
        min-width: 0;
        border-radius: 8px;
        background: var(--c-accent, var(--c-accent));
        color: var(--c-on-brand);
    }

}
/* ── Mobile fixes: readable omnibar, rounded stacked field, visible chips ── */
@media (max-width: 767px) {
    .wgt-hero__mobile-input {
        background: var(--c-white);
        color: var(--c-ink-800);
        caret-color: var(--c-ink-800);
    }

    .wgt-hero__mobile-input::placeholder {
        color: var(--c-text-muted);
    }

    .wgt-hero__hero::after {
        z-index: 0;
        height: 96px;
    }

    .wgt-hero__title,
    .wgt-hero__lead,
    .wgt-hero__search,
    .wgt-hero__quickchips,
    .wgt-hero__near-status {
        position: relative;
        z-index: 1;
    }

    .wgt-hero__field {
        border-radius: 8px;
        overflow: hidden;
    }

    .wgt-hero__quickchips {
        position: relative;
        z-index: 2;
    }

    .wgt-hero__chip {
        border-color: rgba(255, 255, 255, 0.44);
        background: rgba(15, 24, 32, 0.58);
        color: var(--c-on-brand);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    }
}

/* ==== components/search-suggest.css ==== */
/* search-suggest.css — dropdown del autocomplete del hero (Fase 1 UX) */
.sb-suggest {
    position: fixed;
    z-index: 1100;
    background: var(--c-surface, var(--c-white));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-lg, 0 14px 28px rgba(17, 24, 39, 0.12));
    max-height: 62vh;
    overflow-y: auto;
    padding: 6px;
    font-family: var(--font-sans, system-ui, sans-serif);
}

.sb-suggest__group-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-muted);
    padding: 8px 10px 4px;
    font-weight: 700;
}

.sb-suggest__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: var(--radius-sm, 8px);
    text-decoration: none;
    color: var(--c-text);
    cursor: pointer;
}

.sb-suggest__item:hover,
.sb-suggest__item.is-active {
    background: var(--c-bg);
}

.sb-suggest__item-label {
    font-size: 0.95rem;
    line-height: 1.25;
}

.sb-suggest__item-label b {
    font-weight: 700;
    color: var(--c-primary-ink);
}

.sb-suggest__item-sub {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

/* Filtros rápidos de acción del hero (Fase 1 UX) */
.wgt-hero__quickchips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

button.wgt-hero__chip {
    font: inherit;
    cursor: pointer;
}

.wgt-hero__chip--near {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wgt-hero__near-status {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

/* ==== components/widget-how-it-works.css ==== */
/* ── Widget: How It Works ───────────────────────────────────────────
   BEM block: .wgt-hiw
   3 pasos para consumidores. Mobile-first.
   ──────────────────────────────────────────────────────────────────── */

.wgt-hiw {
    background: var(--c-bg);
    padding: var(--space-7, 48px) var(--space-4, 16px);
}

.wgt-hiw__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.wgt-hiw__head {
    text-align: center;
    margin-bottom: var(--space-6, 32px);
}

.wgt-hiw__kicker {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-accent-ink);
    margin: 0 0 var(--space-2, 8px);
}

.wgt-hiw__title {
    font-family: var(--font-display, var(--font-sans));
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 var(--space-3, 12px);
    line-height: 1.15;
}

.wgt-hiw__subtitle {
    font-size: var(--fs-lead);
    color: var(--c-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.wgt-hiw__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-5, 24px);
    counter-reset: step;
}

.wgt-hiw__step {
    background: var(--c-surface, var(--c-white));
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg, 16px);
    padding: var(--space-5, 24px);
    display: flex;
    flex-direction: column;
    gap: var(--space-3, 12px);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wgt-hiw__step-top {
    display: flex;
    align-items: center;
    gap: var(--space-3, 12px);
}

.wgt-hiw__num {
    font-family: var(--font-display, var(--font-sans));
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-accent-ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.wgt-hiw__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md, 10px);
    background: var(--c-accent-soft);
    color: var(--c-accent-ink);
}

.wgt-hiw__step-icon svg {
    width: 20px;
    height: 20px;
}

/* Título en la misma línea que el número y el icono. */
.wgt-hiw__step-title {
    flex: 1;
    min-width: 0;
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
}

.wgt-hiw__step-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--c-text-muted);
    margin: 0;
}

.wgt-hiw__cta {
    text-align: center;
    margin-top: var(--space-6, 32px);
}

.wgt-hiw__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 8px);
    min-height: 48px;
    padding: 0 var(--space-5, 24px);
    border-radius: var(--radius-md, 10px);
    background: var(--c-primary, var(--c-brand-surface));
    color: var(--c-on-brand);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease;
}

.wgt-hiw__cta-btn:hover {
    background: var(--c-primary-hover, var(--c-primary-hover));
}

.wgt-hiw__cta-btn svg {
    width: 18px;
    height: 18px;
}

/* ── Tablet (≥768px): 3 columnas ─────────────────────────────────── */
@media (min-width: 768px) {
    .wgt-hiw {
        padding: var(--space-8, 64px) var(--space-5, 24px);
    }

    .wgt-hiw__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5, 24px);
    }

    .wgt-hiw__step:hover {
        border-color: var(--c-accent);
        box-shadow: var(--shadow-md, 0 8px 20px rgba(17, 24, 39, 0.06));
    }
}

/* ── Desktop (≥1024px) ───────────────────────────────────────────── */
@media (min-width: 1024px) {
    .wgt-hiw__step {
        padding: var(--space-6, 32px);
    }
}

/* ==== components/widget-category-grid.css ==== */
/* ── Widget: Category Grid ──────────────────────────────────────────
   BEM block: .wgt-cg
   Grid de categorías navegables. Mobile-first.
   ──────────────────────────────────────────────────────────────────── */

.wgt-cg {
    background: var(--c-surface, var(--c-white));
    padding: var(--space-7, 48px) var(--space-4, 16px);
    border-top: 1px solid var(--c-line);
}

.wgt-cg__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.wgt-cg__head {
    text-align: center;
    margin-bottom: var(--space-6, 32px);
}

.wgt-cg__kicker {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-accent-ink);
    margin: 0 0 var(--space-2, 8px);
}

.wgt-cg__title {
    font-family: var(--font-display, var(--font-sans));
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 var(--space-3, 12px);
    line-height: 1.15;
}

.wgt-cg__subtitle {
    font-size: var(--fs-lead);
    color: var(--c-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.wgt-cg__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3, 12px);
}

.wgt-cg__card {
    display: flex;
    align-items: center;
    gap: var(--space-3, 12px);
    padding: var(--space-3, 12px) var(--space-4, 16px);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md, 10px);
    background: var(--c-surface, var(--c-white));
    color: var(--c-text);
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.wgt-cg__card:hover {
    border-color: var(--c-accent);
    background: var(--c-accent-soft);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(17, 24, 39, 0.05));
}

.wgt-cg__card:hover .wgt-cg__name {
    color: var(--c-accent-ink-hover);
}

.wgt-cg__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md, 10px);
    background: var(--c-primary-soft, var(--c-primary-soft));
    color: var(--c-primary-ink);
    flex-shrink: 0;
}

.wgt-cg__icon svg {
    width: 20px;
    height: 20px;
}

.wgt-cg__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--c-text);
    transition: color 0.18s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wgt-cg__card > svg:last-child {
    width: 16px;
    height: 16px;
    color: var(--c-text-muted);
    /* Visible en táctil (sin hover); en dispositivos con hover parte oculta. */
    opacity: 0.45;
    transition: opacity 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
}

@media (hover: hover) {
    .wgt-cg__card > svg:last-child {
        opacity: 0;
    }
}

.wgt-cg__card:hover > svg:last-child {
    opacity: 1;
    color: var(--c-accent-ink);
}

/* ── Tablet (≥768px): 4 columnas ─────────────────────────────────── */
@media (min-width: 768px) {
    .wgt-cg {
        padding: var(--space-8, 64px) var(--space-5, 24px);
    }

    .wgt-cg__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-4, 16px);
    }

    .wgt-cg__card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4, 20px) var(--space-3, 12px);
        gap: var(--space-3, 12px);
    }

    .wgt-cg__icon {
        width: 56px;
        height: 56px;
    }

    .wgt-cg__icon svg {
        width: 28px;
        height: 28px;
    }

    .wgt-cg__name {
        font-size: 0.9375rem;
    }
}

/* ── Desktop (≥1024px): 6 columnas ───────────────────────────────── */
@media (min-width: 1024px) {
    .wgt-cg__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ==== components/widget-featured-businesses.css ==== */
/* Widget: Featured Businesses — grid wrapper (cards use wgt-sr__* styles) */
.wgt-fb { margin: 0 auto var(--space-8,64px); padding: 0 var(--space-4,16px); max-width: 960px; }
.wgt-fb__head { display:flex; align-items:flex-end; justify-content:space-between; gap:var(--space-3,12px); margin-bottom:var(--space-5,24px); }
.wgt-fb__head-text { min-width:0; }
.wgt-fb__kicker { font-size: var(--fs-micro); font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--c-slate-400); margin:0 0 3px; }
.wgt-fb__title { font-family:var(--font-display,var(--font-sans)); font-size: var(--fs-h3); font-weight:700; color:var(--c-text,var(--c-ink-800)); margin:0; line-height:1.3; }
.wgt-fb__more { font-size: var(--fs-small); font-weight:600; color:var(--c-primary-ink); text-decoration:none; white-space:nowrap; flex-shrink:0; transition:opacity .15s; }
.wgt-fb__more:hover { opacity:.75; }
.wgt-fb__grid { display:grid; grid-template-columns:1fr; gap:var(--space-4,16px); }
/* Sin botón CTA: tarjeta horizontal tipo resultados */
.wgt-fb__grid .wgt-sr__parent { grid-template-columns:64px minmax(0,1fr); }
@media (min-width:768px) {
    .wgt-fb { padding:0; }
    .wgt-fb__title { font-size:1.25rem; }
    .wgt-fb__grid .wgt-sr__parent { grid-template-columns:64px minmax(0,1fr); }
}
@media (min-width:1024px) {
    .wgt-fb__grid .wgt-sr__parent { grid-template-columns:64px minmax(0,1fr); }
}

/* ── Empty state ─────────────────────────────────────────────────── */
.wgt-fb--empty {
    padding: var(--space-7, 48px) var(--space-4, 16px);
}

.wgt-fb__empty {
    text-align: center;
    max-width: 460px;
    margin: 0 auto;
    padding: var(--space-7, 48px) var(--space-5, 24px);
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--radius-lg, 16px);
    background: var(--c-fill);
}

.wgt-fb__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full, 9999px);
    background: var(--c-primary-soft, var(--c-primary-soft));
    color: var(--c-primary-ink);
    margin-bottom: var(--space-4, 16px);
}

.wgt-fb__empty .wgt-fb__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2, 8px);
}

.wgt-fb__empty-desc {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    line-height: 1.5;
    margin: 0 0 var(--space-5, 24px);
}

.wgt-fb__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 8px);
    min-height: 44px;
    padding: 0 var(--space-5, 24px);
    border-radius: var(--radius-md, 10px);
    background: var(--c-accent);
    color: var(--c-on-brand);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease;
}

.wgt-fb__empty-cta:hover {
    background: var(--c-accent-hover);
}

/* ==== components/widget-featured-products.css ==== */
/* ── Widget: Featured Products ──────────────────────────────────────
   BEM block: .wgt-fp
   Cards de productos destacados. Mobile-first: scroll horizontal →
   grid 3 cols tablet → grid 4 cols desktop.
   ──────────────────────────────────────────────────────────────────── */

.wgt-fp {
    margin: 0 auto var(--space-8, 64px);
    padding: 0 var(--space-4, 16px);
    max-width: 960px;
}

/* ── Header ──────────────────────────────────────────────────────── */
.wgt-fp__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-3, 12px);
    margin-bottom: var(--space-5, 24px);
}

.wgt-fp__head-text { min-width: 0; }

.wgt-fp__kicker {
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-slate-400);
    margin: 0 0 3px;
}

.wgt-fp__title {
    font-family: var(--font-display, var(--font-sans));
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text, var(--c-ink-800));
    margin: 0;
    line-height: 1.3;
}

.wgt-fp__more {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--c-primary-ink);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.wgt-fp__more:hover { opacity: 0.75; }

/* Grid: reutiliza wgt-sr__* de widget-search-results.css (cargado en el layout) */
.wgt-fp__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4, 16px); }
/* Sin botón CTA: tarjeta horizontal tipo resultados */
.wgt-fp__grid .wgt-sr__parent { grid-template-columns: 52px minmax(0, 1fr); }

@media (min-width: 768px) {
    .wgt-fp { padding: 0; }
    .wgt-fp__title { font-size: 1.25rem; }
    .wgt-fp__grid .wgt-sr__parent { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (min-width: 1024px) {
    .wgt-fp__grid .wgt-sr__parent { grid-template-columns: 72px minmax(0, 1fr); }
}

.wgt-fp__grid::-webkit-scrollbar { height: 4px; }
.wgt-fp__grid::-webkit-scrollbar-track { background: transparent; }
.wgt-fp__grid::-webkit-scrollbar-thumb { background: var(--c-border, var(--c-sage-200)); border-radius: 2px; }

/* ── Card ────────────────────────────────────────────────────────── */
.wgt-fp__card {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    background: var(--c-surface, var(--c-white));
    border: 1px solid var(--c-border, var(--c-sage-200));
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.wgt-fp__card:hover {
    border-color: var(--c-line-strong);
    box-shadow: var(--shadow-md, 0 8px 20px rgba(17,24,39,0.06));
    transform: translateY(-2px);
}

/* ── Media ───────────────────────────────────────────────────────── */
.wgt-fp__media {
    aspect-ratio: 4 / 3;
    background: var(--c-surface-2);
    overflow: hidden;
    flex-shrink: 0;
}

.wgt-fp__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}
.wgt-fp__card:hover .wgt-fp__img {
    transform: scale(1.06);
}

/* ── Body ────────────────────────────────────────────────────────── */
.wgt-fp__body {
    padding: var(--space-3, 12px) var(--space-3, 12px) 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.wgt-fp__name {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--c-text, var(--c-ink-800));
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wgt-fp__meta {
    font-size: var(--fs-micro);
    color: var(--c-slate-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wgt-fp__summary {
    font-size: var(--fs-caption);
    color: var(--c-slate-500);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

/* ── Footer (price) ──────────────────────────────────────────────── */
.wgt-fp__footer {
    padding: var(--space-2, 8px) var(--space-3, 12px) var(--space-3, 12px);
    margin-top: auto;
}

.wgt-fp__price {
    font-size: var(--fs-lead);
    font-weight: 700;
    color: var(--c-primary-ink);
}
.wgt-fp__price small {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--c-slate-400);
    margin-left: 1px;
}

/* ── Tablet (≥768px): 3-column grid ──────────────────────────────── */
@media (min-width: 768px) {
    .wgt-fp__title {
        font-size: 1.25rem;
    }

    .wgt-fp__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-4, 16px);
        overflow-x: visible;
        padding-bottom: 0;
    }

    .wgt-fp__card {
        flex: none;
    }
}

/* ── Desktop (≥1024px): 4-column grid ────────────────────────────── */
@media (min-width: 1024px) {
    .wgt-fp__grid {
        grid-template-columns: 1fr;
    }
}

/* ==== components/widget-trust-bar.css ==== */
/* ── Widget: Trust Bar ──────────────────────────────────────────────
   BEM block: .wgt-tb
   Franja con 3 pilares de valor. Mobile-first.
   ──────────────────────────────────────────────────────────────────── */

.wgt-tb {
    /* Degradado sutil para dar profundidad y diferenciar del CTA final plano
       (que usa --c-primary sólido), creando ritmo de secciones al hacer scroll. */
    background: linear-gradient(135deg, var(--c-brand-surface) 0%, color-mix(in srgb, var(--c-primary) 88%, black) 55%, var(--c-primary) 100%);
    color: var(--c-on-brand);
    padding: var(--space-6, 32px) var(--space-4, 16px);
}

.wgt-tb__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.wgt-tb__eyebrow {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-sky);
    text-align: center;
    margin: 0 0 var(--space-5, 24px);
}

.wgt-tb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-5, 24px);
}

.wgt-tb__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3, 12px);
}

.wgt-tb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full, 9999px);
    background: rgba(143, 211, 255, 0.16);
    color: var(--c-sky);
    flex-shrink: 0;
}

.wgt-tb__icon svg {
    width: 24px;
    height: 24px;
}

.wgt-tb__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wgt-tb__title {
    font-size: var(--fs-lead);
    font-weight: 700;
    color: var(--c-on-brand);
}

.wgt-tb__desc {
    font-size: var(--fs-body);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    max-width: 280px;
}

/* ── Tablet (≥768px): 3 columnas ─────────────────────────────────── */
@media (min-width: 768px) {
    .wgt-tb {
        padding: var(--space-7, 48px) var(--space-5, 24px);
    }

    .wgt-tb__list {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6, 32px);
    }

    .wgt-tb__item {
        flex-direction: row;
        text-align: left;
    }

    .wgt-tb__item:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: var(--space-6, 32px);
    }
}

/* ── Desktop (≥1024px) ───────────────────────────────────────────── */
@media (min-width: 1024px) {
    .wgt-tb {
        padding: var(--space-8, 64px) var(--space-6, 32px);
    }

    .wgt-tb__icon {
        width: 56px;
        height: 56px;
    }

    .wgt-tb__icon svg {
        width: 26px;
        height: 26px;
    }

    .wgt-tb__title {
        font-size: var(--fs-h3);
    }

    .wgt-tb__desc {
        font-size: 0.9375rem;
        max-width: none;
    }
}

/* ==== components/widget-cta-register.css ==== */
/* ── Widget: CTA Register ──────────────────────────────────────────
   BEM block: .wgt-cta
   Call-to-action con layout de 2 columnas: pilares (izq) + highlight (der).
   Mobile-first. Paleta de tokens globales (Fase 1).
   ──────────────────────────────────────────────────────────────────── */

.wgt-cta {
    background: var(--c-brand-surface);
    color: var(--c-on-brand-muted);
    margin: 0;
    padding: 0;
}

.wgt-cta__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6, 32px);
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-7, 48px) var(--space-4, 16px);
}

/* ── Texto (izquierda) ───────────────────────────────────────────── */
.wgt-cta__text {
    min-width: 0;
}

.wgt-cta__eyebrow {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-sky);
    margin: 0 0 var(--space-2, 8px);
}

.wgt-cta__title {
    font-family: var(--font-display, var(--font-sans));
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--c-on-brand);
    margin: 0 0 var(--space-3, 12px);
    line-height: 1.15;
}

.wgt-cta__title-accent {
    color: var(--c-sky);
}

.wgt-cta__body {
    font-size: 0.9375rem;
    color: rgba(226, 232, 240, 0.78);
    margin: 0 0 var(--space-5, 24px);
    line-height: 1.55;
    max-width: 540px;
}

/* ── Pilares ─────────────────────────────────────────────────────── */
.wgt-cta__pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3, 12px);
}

.wgt-cta__pillar {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3, 12px);
    padding: var(--space-3, 12px);
    border-radius: var(--radius-md, 10px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.wgt-cta__pillar:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(143, 211, 255, 0.24);
}

.wgt-cta__pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md, 10px);
    background: rgba(143, 211, 255, 0.14);
    color: var(--c-sky);
    flex-shrink: 0;
}

.wgt-cta__pillar-icon svg {
    width: 18px;
    height: 18px;
}

.wgt-cta__pillar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wgt-cta__pillar-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--c-on-brand);
}

.wgt-cta__pillar-desc {
    font-size: var(--fs-small);
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.68);
}

/* ── Lado derecho: highlight + acciones ──────────────────────────── */
.wgt-cta__side {
    display: flex;
    flex-direction: column;
    gap: var(--space-4, 16px);
}

.wgt-cta__highlight {
    padding: var(--space-4, 16px);
    border-radius: var(--radius-md, 10px);
    background: rgba(232, 112, 42, 0.12);
    border: 1px solid rgba(232, 112, 42, 0.3);
}

.wgt-cta__highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 8px);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--c-sky);
    margin-bottom: var(--space-2, 8px);
}

.wgt-cta__highlight-desc {
    font-size: var(--fs-body);
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.45;
    margin: 0;
}

/* ── Botones ─────────────────────────────────────────────────────── */
.wgt-cta__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2, 8px);
}

.wgt-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 8px);
    min-height: 48px;
    padding: 0 var(--space-5, 24px);
    border-radius: var(--radius-md, 10px);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--btn-transition);
}

.wgt-cta__btn--primary {
    background: var(--c-accent);
    color: var(--c-on-brand);
}
.wgt-cta__btn--primary:hover {
    background: var(--c-accent-hover);
}

.wgt-cta__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(226, 232, 240, 0.84);
}
.wgt-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.wgt-cta__fine {
    font-size: var(--fs-caption);
    /* El panel es navy FIJO en los dos temas, así que la tinta también debe
       serlo. El slate al 70% compositaba a 3.34:1; este es el rol que existe
       para eso. */
    color: var(--c-on-dark-muted);
    margin: 0;
    text-align: center;
}

/* ── Tablet (≥768px): pilares en 2 columnas ──────────────────────── */
@media (min-width: 768px) {
    .wgt-cta__inner {
        padding: var(--space-8, 64px) var(--space-5, 24px);
    }

    .wgt-cta__pillars {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4, 16px);
    }
}

/* ── Desktop (≥1024px): layout de 2 columnas ─────────────────────── */
@media (min-width: 1024px) {
    .wgt-cta__inner {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: var(--space-8, 64px);
        align-items: start;
        padding: var(--space-8, 64px) var(--space-6, 32px);
    }

    .wgt-cta__side {
        position: sticky;
        top: var(--space-6, 32px);
    }
}
