/* Hub — diseño plano (filas + divisores) */
.td-home-hub {
    width: 100%;
    padding: 0;
    background: var(--td-home-surface-bg, #fff);
}

.td-home-hub__head {
    margin-bottom: 0;
    padding: 20px var(--td-home-edge-pad-r, 16px) 18px calc(var(--td-home-edge-pad, 16px) + 10px);
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__kicker {
    margin: 0 0 10px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--td-muted, #64748b);
}

.td-home-hub__title {
    margin: 0;
    font-size: clamp(1.35rem, 1vw + 1.15rem, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--td-text, #0f172a);
}

.td-home-hub__efem {
    --efem-accent: #d97706;
    --efem-text: #92400e;
    --efem-text-soft: #a16207;
    --efem-text-deep: #78350f;
    margin: 0;
    padding: 12px var(--td-home-edge-pad-r, 16px) 0 var(--td-home-edge-pad, 16px);
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__efem-card--patria { --efem-accent: var(--td-brand-navy, #0d1b2a); --efem-text: #0c4a6e; --efem-text-soft: var(--td-brand-navy, #0d1b2a); --efem-text-deep: #075985; }
.td-home-hub__efem-card--fiesta { --efem-accent: #ea580c; --efem-text: #9a3412; --efem-text-soft: #c2410c; --efem-text-deep: #7c2d12; }
.td-home-hub__efem-card--cultura { --efem-accent: #475569; --efem-text: #1e293b; --efem-text-soft: #475569; --efem-text-deep: #334155; }
.td-home-hub__efem-card--naturaleza { --efem-accent: #059669; --efem-text: #065f46; --efem-text-soft: #047857; --efem-text-deep: #064e3b; }
.td-home-hub__efem-card--reflexion { --efem-accent: var(--td-brand-orange, #ff8a00); --efem-text: var(--td-brand-navy, #0d1b2a); --efem-text-soft: var(--td-brand-navy, #0d1b2a); --efem-text-deep: #4c1d95; }

.td-home-hub__efem-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.td-home-hub__efem-count {
    margin-left: auto;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--efem-text-soft);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.td-home-hub__efem-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
    margin: 0 0 7px;
}

.td-home-hub__efem-top-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 0.85rem;
    color: var(--efem-accent);
    background: transparent;
}

.td-home-hub__efem-top-lbl {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--efem-accent);
}

.td-home-hub__efem-top-dot {
    color: var(--efem-text-soft);
    font-weight: 700;
    opacity: 0.65;
}

.td-home-hub__efem-top-date {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--efem-text-soft);
}

.td-home-hub__efem-card {
    position: relative;
    overflow: visible;
    padding: 12px 0 12px 12px;
    border-radius: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--efem-accent) 6%, transparent) 0%, transparent 65%);
    border: none;
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    box-shadow: none;
}

.td-home-hub__efem-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, var(--efem-accent) 0%, color-mix(in srgb, var(--efem-accent) 40%, transparent) 100%);
    border-radius: 2px;
}

.td-home-hub__efem-list .td-home-hub__efem-card:last-child {
    border-bottom: none;
}

.td-home-hub__efem-body {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding-left: 6px;
}

.td-home-hub__efem-media {
    flex-shrink: 0;
    margin: 0;
}

.td-home-hub__efem-img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 0;
    object-fit: cover;
    border: none;
    box-shadow: none;
}

.td-home-hub__efem-copy {
    min-width: 0;
    flex: 1;
}

.td-home-hub__efem-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.td-home-hub__efem-emoji {
    font-size: 1.05rem;
    line-height: 1;
}

.td-home-hub__efem-tag {
    display: inline-block;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--efem-text);
    background: color-mix(in srgb, var(--efem-accent) 12%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--efem-accent) 28%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-home-hub__efem-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--efem-text);
}

.td-home-hub__efem-lead {
    margin: 6px 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--efem-text-soft);
}

.td-home-hub__efem-lead--muted {
    font-weight: 500;
    font-style: italic;
    opacity: 0.9;
}

.td-home-hub__efem-more {
    margin: 8px 0 0 6px;
    padding-top: 8px;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__efem-more-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--efem-accent);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.td-home-hub__efem-more-sum::-webkit-details-marker {
    display: none;
}

.td-home-hub__efem-more-chev {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.td-home-hub__efem-more[open] .td-home-hub__efem-more-chev {
    transform: rotate(180deg);
}

.td-home-hub__efem-more-body {
    margin-top: 8px;
    padding: 0;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--efem-text-deep);
    background: transparent;
    border: none;
}

.td-home-hub__efem-more-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.td-home-hub__efem-more--list {
    margin-top: 4px;
    padding-top: 0;
    border-top: none;
}

.td-home-hub__efem-more--list > .td-home-hub__efem-more-sum {
    border-radius: 0;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__pulse-wrap {
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__pulse-kicker {
    margin: 0;
    padding: 10px var(--td-home-edge-pad-r, 16px) 6px var(--td-home-edge-pad, 16px);
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--td-muted, #64748b);
}

.td-home-hub__pulse {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.td-home-hub__chip {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    min-width: 0;
    padding: 11px var(--td-home-edge-pad-r, 16px) 11px var(--td-home-edge-pad, 16px);
    border-radius: 0;
    text-decoration: none !important;
    color: inherit;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    box-shadow: none;
    transition: background 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.td-home-hub__pulse .td-home-hub__chip:last-child {
    border-bottom: none;
}

.td-home-hub__chip .bi {
    font-size: 1rem;
    color: var(--td-muted, #64748b);
    margin-bottom: 0;
    flex-shrink: 0;
}

.td-home-hub__chip-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--td-muted, #64748b);
    flex-shrink: 0;
    min-width: 4.5rem;
}

.td-home-hub__chip-val {
    margin-left: auto;
    width: auto;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--td-text, #0f172a);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.td-home-hub__chip--farmacia .td-home-hub__chip-val {
    font-size: 0.9375rem;
    color: var(--td-text, #0f172a);
}

.td-home-hub__chip--fecha,
.td-home-hub__chip--clima,
.td-home-hub__chip--farmacia {
    background: transparent;
    border-color: transparent;
}

.td-home-hub__chip--fecha .bi,
.td-home-hub__chip--clima .bi,
.td-home-hub__chip--farmacia .bi {
    color: var(--td-muted, #64748b);
}

.td-home-hub__chip--fecha .td-home-hub__chip-val,
.td-home-hub__chip--farmacia .td-home-hub__chip-val {
    color: var(--td-text, #0f172a);
}

.td-home-hub__chip--link:focus-visible {
    outline: 3px solid var(--td-brand-orange, #ff8a00);
    outline-offset: -2px;
}

.td-home-hub__chip--link:active {
    transform: none;
    background: var(--td-home-row-hover, rgba(148, 163, 184, 0.1));
}

.td-home-hub__block {
    margin-bottom: 0;
    padding: 10px 0 0;
    border-top: none;
}

.td-home-hub__pulse-wrap + .td-home-hub__block,
.td-home-hub__efem + .td-home-hub__pulse-wrap {
    border-top: none;
    padding-top: 0;
}

.td-home-hub__pulse-wrap + .td-home-hub__block {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__block-kicker {
    margin: 0;
    padding: 0 var(--td-home-edge-pad-r, 16px) 8px var(--td-home-edge-pad, 16px);
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--td-muted, #64748b);
}

.td-home-hub__sug {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.td-home-hub__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.td-home-hub__tile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px var(--td-home-edge-pad-r, 16px) 12px var(--td-home-edge-pad, 16px);
    border-radius: 0;
    text-decoration: none !important;
    color: var(--td-text, #0f172a);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    box-shadow: none;
    transition: background 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.td-home-hub__sug .td-home-hub__tile:last-child,
.td-home-hub__grid .td-home-hub__tile:last-child {
    border-bottom: none;
}

.td-home-hub__tile:focus-visible {
    outline: 3px solid var(--td-brand-orange, #ff8a00);
    outline-offset: -2px;
}

.td-home-hub__tile:active {
    transform: none;
    background: var(--td-home-row-hover, rgba(148, 163, 184, 0.1));
}

.td-home-hub__tile--wide {
    grid-column: auto;
    min-height: 52px;
    border-width: 0;
}

.td-home-hub__tile-ico {
    flex-shrink: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 1.125rem;
    line-height: 1;
    background: transparent !important;
    color: var(--td-muted, #64748b) !important;
}

.td-home-hub__tile-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.td-home-hub__tile-label {
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.td-home-hub__tile-sub {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--td-muted, #64748b);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
}

.td-home-hub__tile-badge {
    display: inline;
    padding: 0;
    border-radius: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--hc-accent, var(--td-brand-navy, #0d1b2a));
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.td-home-hub__tile-badge::after {
    content: " · ";
    font-weight: 400;
    color: var(--td-muted, #94a3b8);
}

.td-home-hub__tile--movilidad .td-home-hub__tile-badge,
.td-home-hub__tile--noticias .td-home-hub__tile-badge,
.td-home-hub__tile--salud .td-home-hub__tile-badge,
.td-home-hub__tile--urgente .td-home-hub__tile-badge {
    color: var(--td-muted, #64748b);
    background: transparent;
    border: none;
}

.td-home-hub__tile--urgente .td-home-hub__tile-label {
    color: #b91c1c;
}

.td-home-hub__tile-chev {
    flex-shrink: 0;
    font-size: 1.05rem;
    opacity: 0.75;
    margin-right: 0;
}

/* tonos de icono: plano, sin fondos */
.td-home-hub__tile--salud .td-home-hub__tile-ico,
.td-home-hub__tile--movilidad .td-home-hub__tile-ico,
.td-home-hub__tile--clima .td-home-hub__tile-ico,
.td-home-hub__tile--urgente .td-home-hub__tile-ico,
.td-home-hub__tile--comercios .td-home-hub__tile-ico,
.td-home-hub__tile--noticias .td-home-hub__tile-ico,
.td-home-hub__tile--ofertas .td-home-hub__tile-ico,
.td-home-hub__tile--servicios .td-home-hub__tile-ico,
.td-home-hub__tile--agenda .td-home-hub__tile-ico,
.td-home-hub__tile--muni .td-home-hub__tile-ico,
.td-home-hub__locales-ico--ok {
    background: transparent !important;
    color: #059669 !important;
}

.td-home-hub__locales-ico--warn {
    background: transparent !important;
    color: #d97706 !important;
}

.td-home-hub__locales-ico--alert {
    background: transparent !important;
    color: #dc2626 !important;
}

.td-home-hub__locales-ico--muted {
    background: transparent !important;
    color: #64748b !important;
}

.td-home-hub__locales {
    width: 100%;
    margin-top: 0;
    border-top: none;
    background: transparent;
}

.td-home-hub__locales-link {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 58px;
    padding: 11px 12px 10px;
    border: 1px solid rgba(217, 119, 6, 0.28) !important;
    border-radius: 12px !important;
    background: #fffbeb !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.td-home-hub__locales-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.td-home-hub__locales-link .td-home-hub__tile-ico {
    font-size: 1.05rem;
}

.td-home-hub__locales-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 2px;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c2410c;
    background: #ffedd5;
    line-height: 1.2;
}

.td-home-hub__locales-stage {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 44px;
}

.td-home-hub__locales-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.td-home-hub__locales-slide--on {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.td-home-hub__locales-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--td-text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-home-hub__tile-sub--ok {
    color: #047857;
    font-weight: 700;
}

.td-home-hub__tile-sub--warn {
    color: #b45309;
    font-weight: 700;
}

.td-home-hub__tile-sub--alert {
    color: #b91c1c;
    font-weight: 700;
}

.td-home-hub__tile-sub--muted {
    color: var(--td-muted, #64748b);
    font-weight: 600;
}

.td-home-hub__locales-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(217, 119, 6, 0.28);
}

.td-home-hub__locales-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.td-home-hub__locales-count {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b45309;
    line-height: 1.2;
}

.td-home-hub__locales-hint {
    font-size: 0.5625rem;
    font-weight: 600;
    color: #92400e;
    opacity: 0.85;
    line-height: 1.2;
}

.td-home-hub__locales-dots {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 5px;
    margin: 0;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(255, 237, 213, 0.85);
    border: 1px solid rgba(217, 119, 6, 0.22);
}

.td-home-hub__locales-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(180, 83, 9, 0.28);
    transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.td-home-hub__locales-dot--on {
    width: 18px;
    background: #d97706;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .td-home-hub__locales-slide {
        transition: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .td-home-hub__tile:hover,
    .td-home-hub__chip--link:hover {
        background: var(--td-home-row-hover, rgba(148, 163, 184, 0.1));
        box-shadow: none;
        transform: none;
    }
}

html[data-theme="dark"] .td-home-hub {
    background: transparent;
}

html[data-theme="dark"] .td-home-hub__title {
    color: var(--td-text, #eef2f7);
}

html[data-theme="dark"] .td-home-hub__tile {
    background: transparent;
    border-color: var(--td-home-section-divider, #334155);
    color: #e2e8f0;
}

html[data-theme="dark"] .td-home-hub__tile--urgente {
    background: transparent;
}

html[data-theme="dark"] .td-home-hub__tile--urgente .td-home-hub__tile-label {
    color: #fca5a5;
}

html[data-theme="dark"] .td-home-hub__efem-card--patria { --efem-accent: var(--td-brand-orange, #ff8a00); --efem-text: #bae6fd; --efem-text-soft: #7dd3fc; --efem-text-deep: #e0f2fe; }

html[data-theme="dark"] .td-home-hub__chip {
    background: transparent;
    border-color: var(--td-home-section-divider, #334155);
}

html[data-theme="dark"] .td-home-hub__chip-val {
    color: #e2e8f0;
}

@media (min-width: 900px) {
    .td-home-hub__title {
        font-size: 1.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .td-home-hub__tile:active,
    .td-home-hub__tile:hover,
    .td-home-hub__chip--link:active {
        transform: none;
    }
}

/* —— Hub v2: títulos, efemérides compactas, resumen en grilla —— */

.td-home-hub__section-title {
    margin: 0;
    padding: 16px var(--td-home-edge-pad-r, 16px) 12px calc(var(--td-home-edge-pad, 16px) + 10px);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--td-text, #0f172a);
}

.td-home-hub__section-title--hoy {
    padding: 18px var(--td-home-edge-pad-r, 16px) 6px calc(var(--td-home-edge-pad, 16px) + 10px);
}

.td-home-hub__section-title--hero {
    font-size: clamp(1.25rem, 2vw + 0.95rem, 1.4rem);
    padding-top: 14px;
    padding-bottom: 6px;
    color: #0f172a;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.td-home-hub__section-lead {
    margin: 0;
    padding: 0 var(--td-home-edge-pad-r, 16px) 12px calc(var(--td-home-edge-pad, 16px) + 10px);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #64748b;
}

.td-home-hub__block--accesos .td-home-hub__section-title {
    padding-top: 14px;
    padding-bottom: 6px;
}

.td-home-hub__block--accesos .td-home-hub__section-lead {
    padding-bottom: 10px;
}

.td-home-hub__block--destacado {
    padding-top: 4px;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.65) 0%, transparent 38%);
}

.td-home-hub__block--accesos {
    padding-bottom: 4px;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
}

/* Para vos hoy — tarjetas de servicio */
.td-home-hub__sug {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 var(--td-home-edge-pad-r, 16px) 14px var(--td-home-edge-pad, 16px);
}

.td-home-hub__sug .td-home-hub__tile {
    margin: 0;
    min-height: 58px;
    padding: 11px 12px;
    gap: 11px;
    border: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.td-home-hub__sug .td-home-hub__tile:last-child {
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
}

.td-home-hub__sug .td-home-hub__tile:active {
    transform: scale(0.99);
    background: #f8fafc !important;
}

.td-home-hub__sug .td-home-hub__tile-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.td-home-hub__sug .td-home-hub__tile--movilidad .td-home-hub__tile-ico {
    background: #dbeafe !important;
    color: #2563eb !important;
}

.td-home-hub__sug .td-home-hub__tile--agenda .td-home-hub__tile-ico {
    background: #e0e7ff !important;
    color: var(--td-brand-navy, #0d1b2a) !important;
}

.td-home-hub__sug .td-home-hub__tile--ofertas .td-home-hub__tile-ico {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.td-home-hub__sug .td-home-hub__tile--salud .td-home-hub__tile-ico {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.td-home-hub__sug .td-home-hub__tile--muni .td-home-hub__tile-ico,
.td-home-hub__sug .td-home-hub__locales-ico {
    background: #ffedd5 !important;
    color: #d97706 !important;
}

.td-home-hub__sug .td-home-hub__tile-label {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.25;
}

.td-home-hub__sug .td-home-hub__tile-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.6875rem;
    line-height: 1.35;
}

.td-home-hub__sug .td-home-hub__tile-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    color: #475569;
}

.td-home-hub__sug .td-home-hub__tile-badge::after {
    display: none;
}

.td-home-hub__sug .td-home-hub__tile--movilidad .td-home-hub__tile-badge {
    background: #dbeafe;
    color: #1d4ed8;
}

.td-home-hub__sug .td-home-hub__tile--agenda .td-home-hub__tile-badge {
    background: #e0e7ff;
    color: #4338ca;
}

.td-home-hub__sug .td-home-hub__tile--ofertas .td-home-hub__tile-badge {
    background: #fef3c7;
    color: #b45309;
}

.td-home-hub__sug .td-home-hub__tile--muni .td-home-hub__tile-badge,
.td-home-hub__sug .td-home-hub__locales-kicker {
    background: #ffedd5;
    color: #c2410c;
}

.td-home-hub__sug .td-home-hub__tile-chev {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #64748b;
    background: #f1f5f9;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .td-home-hub__sug .td-home-hub__tile:hover {
        border-color: #cbd5e1 !important;
        box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
    }
}

/* Accesos rápidos — botones compactos en grilla */
.td-home-hub__grid--accesos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 var(--td-home-edge-pad-r, 16px) 12px var(--td-home-edge-pad, 16px);
}

.td-home-hub__grid--accesos .td-home-hub__tile {
    min-height: 52px;
    margin: 0;
    padding: 10px 10px 10px 11px;
    gap: 9px;
    align-items: center;
    border: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.td-home-hub__grid--accesos .td-home-hub__tile:last-child {
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile:active {
    transform: scale(0.98);
    background: #f8fafc !important;
    box-shadow: none;
}

.td-home-hub__grid--accesos .td-home-hub__tile-ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.9375rem;
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile-copy {
    flex: 1;
    min-width: 0;
}

.td-home-hub__grid--accesos .td-home-hub__tile-label {
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
}

.td-home-hub__grid--accesos .td-home-hub__tile-sub {
    font-size: 0.625rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: #64748b;
}

.td-home-hub__grid--accesos .td-home-hub__tile-chev {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    opacity: 1;
}

.td-home-hub__grid--accesos .td-home-hub__tile--salud .td-home-hub__tile-ico {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--comercios .td-home-hub__tile-ico {
    background: #ede9fe !important;
    color: var(--td-brand-orange, #ff8a00) !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--servicios .td-home-hub__tile-ico {
    background: #dbeafe !important;
    color: #2563eb !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--ofertas .td-home-hub__tile-ico {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--movilidad .td-home-hub__tile-ico {
    background: #dbeafe !important;
    color: #2563eb !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--necro .td-home-hub__tile-ico {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--agenda .td-home-hub__tile-ico {
    background: #e0e7ff !important;
    color: var(--td-brand-navy, #0d1b2a) !important;
}

.td-home-hub__grid--accesos .td-home-hub__tile--muni .td-home-hub__tile-ico {
    background: #ffedd5 !important;
    color: #d97706 !important;
}

@media (min-width: 400px) {
    .td-home-hub__grid--accesos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 7px;
    }

    .td-home-hub__grid--accesos .td-home-hub__tile {
        min-height: 54px;
        padding: 9px 8px 9px 9px;
    }

    .td-home-hub__grid--accesos .td-home-hub__tile-label {
        font-size: 0.75rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .td-home-hub__grid--accesos .td-home-hub__tile:hover {
        border-color: #cbd5e1 !important;
        background: #fafbfc !important;
        box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.14);
    }

    .td-home-hub__grid--accesos .td-home-hub__tile:hover .td-home-hub__tile-chev {
        background: #e2e8f0;
        color: #334155;
    }
}

/* Efemérides — panel colapsado (expandir si interesa) */
.td-home-hub__efem-panel {
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.06) 0%, transparent 100%);
}

.td-home-hub__efem-panel-sum {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 10px var(--td-home-edge-pad-r, 16px) 10px calc(var(--td-home-edge-pad, 16px) + 10px);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b45309;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.td-home-hub__efem-panel-sum::-webkit-details-marker {
    display: none;
}

.td-home-hub__efem-panel-sum .bi-calendar-heart {
    font-size: 0.9375rem;
}

.td-home-hub__efem-panel-lbl {
    flex-shrink: 0;
}

.td-home-hub__efem-panel-date {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #92400e;
}

.td-home-hub__efem-panel-count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 800;
    color: #ffffff;
    background: #d97706;
}

.td-home-hub__efem-panel-chev {
    margin-left: auto;
    font-size: 0.8125rem;
    transition: transform 0.2s ease;
}

.td-home-hub__efem-panel[open] .td-home-hub__efem-panel-chev {
    transform: rotate(180deg);
}

.td-home-hub__efem-panel-body {
    padding: 0 var(--td-home-edge-pad-r, 16px) 10px var(--td-home-edge-pad, 16px);
}

.td-home-hub__efem-panel .td-home-hub__efem-compact-track {
    flex-direction: column;
    overflow: visible;
    gap: 6px;
    padding-bottom: 0;
}

.td-home-hub__efem-panel .td-home-hub__efem-chip {
    max-width: none;
    min-width: 0;
    width: 100%;
}

.td-home-hub__efem-panel .td-home-hub__efem-chip-sum {
    padding: 8px 10px;
    font-size: 0.8125rem;
}

.td-home-hub__efem-panel .td-home-hub__efem-chip-body {
    padding: 0 10px 8px;
    font-size: 0.75rem;
}

/* Efemérides compactas (legacy) */
.td-home-hub__efem-compact {
    padding: 10px var(--td-home-edge-pad-r, 16px) 12px var(--td-home-edge-pad, 16px);
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.07) 0%, transparent 100%);
}

.td-home-hub__efem-compact-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #b45309;
}

.td-home-hub__efem-compact-head .bi {
    font-size: 1rem;
}

.td-home-hub__efem-compact-lbl {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.td-home-hub__efem-compact-date {
    font-weight: 700;
    color: #92400e;
}

.td-home-hub__efem-compact-count {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #ffffff;
    background: #d97706;
}

.td-home-hub__efem-compact-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.td-home-hub__efem-compact-track::-webkit-scrollbar {
    display: none;
}

.td-home-hub__efem-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    max-width: min(92vw, 340px);
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--efem-accent, #d97706) 28%, transparent);
    background: color-mix(in srgb, var(--efem-accent, #d97706) 7%, #ffffff);
}

.td-home-hub__efem-chip--patria { --efem-accent: var(--td-brand-navy, #0d1b2a); }
.td-home-hub__efem-chip--fiesta { --efem-accent: #ea580c; }
.td-home-hub__efem-chip--cultura { --efem-accent: #475569; }
.td-home-hub__efem-chip--naturaleza { --efem-accent: #059669; }
.td-home-hub__efem-chip--reflexion { --efem-accent: var(--td-brand-orange, #ff8a00); }

.td-home-hub__efem-chip-sum {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--efem-accent, #b45309);
    cursor: pointer;
    list-style: none;
}

.td-home-hub__efem-chip-sum::-webkit-details-marker {
    display: none;
}

.td-home-hub__efem-chip-title {
    flex: 1;
    min-width: 0;
}

.td-home-hub__efem-chip-chev {
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.td-home-hub__efem-chip[open] .td-home-hub__efem-chip-chev {
    transform: rotate(180deg);
}

.td-home-hub__efem-chip-body {
    padding: 0 12px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
    color: #78350f;
}

.td-home-hub__efem-chip-body p {
    margin: 0 0 6px;
}

.td-home-hub__efem-chip-more {
    opacity: 0.92;
}

/* Hoy en San Cristóbal — tarjetas de servicio */
.td-home-hub__hoy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 var(--td-home-edge-pad, 16px) 14px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.td-home-hub__hoy-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 11px 12px;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid var(--td-home-section-divider, #e2e8f0);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.td-home-hub__hoy-row:first-child {
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__hoy-row:active {
    transform: scale(0.99);
    background: #f8fafc;
    box-shadow: none;
}

.td-home-hub__hoy-row-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 1.1rem;
}

.td-home-hub__hoy-row--clima .td-home-hub__hoy-row-ico {
    background: #dbeafe;
    color: #2563eb;
}

.td-home-hub__hoy-row--farmacia .td-home-hub__hoy-row-ico {
    background: #d1fae5;
    color: #059669;
}

.td-home-hub__hoy-row--colectivo .td-home-hub__hoy-row-ico {
    background: #ffedd5;
    color: #ea580c;
}

.td-home-hub__hoy-row--urgente .td-home-hub__hoy-row-ico {
    background: #fee2e2;
    color: #dc2626;
}

.td-home-hub__hoy-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.td-home-hub__hoy-row-lbl {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.td-home-hub__hoy-row-val {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    word-break: break-word;
}

.td-home-hub__hoy-row-val .td-home-hub__pulse-date {
    font-weight: 800;
    color: #334155;
}

.td-home-hub__hoy-row-val .td-home-hub__pulse-clima {
    font-weight: 800;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__hoy-row-val .td-home-hub__pulse-clima::before {
    content: "· ";
    font-weight: 600;
    color: #94a3b8;
}

.td-home-hub__pulse-card-val--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.td-home-hub__hoy-row-go {
    flex-shrink: 0;
    min-width: 40px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: var(--td-brand-navy, #0d1b2a);
    background: rgba(255, 255, 255, 0.9);
}

.td-home-hub__hoy-row--farmacia .td-home-hub__hoy-row-go {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.35);
}
.td-home-hub__hoy-row--colectivo .td-home-hub__hoy-row-go { color: #ea580c; }
.td-home-hub__hoy-row--urgente .td-home-hub__hoy-row-go { color: #dc2626; }

/* Resumen en grilla 2×2 (legacy — conservado por compatibilidad) */
.td-home-hub__pulse-wrap {
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
}

.td-home-hub__pulse-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 var(--td-home-edge-pad-r, 16px) 14px var(--td-home-edge-pad, 16px);
}

.td-home-hub__pulse-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 88px;
    padding: 11px 12px 13px;
    border-radius: 14px;
    border: 1px solid var(--td-home-section-divider, #e2e8f0);
    background: #f8fafc;
    text-decoration: none !important;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.td-home-hub__pulse-card--diahoy {
    grid-column: 1 / -1;
    min-height: 76px;
    background: linear-gradient(118deg, #eff6ff 0%, #f0fdf4 100%);
    border-color: rgba(14, 165, 233, 0.22);
}

.td-home-hub__pulse-card--diahoy .td-home-hub__pulse-card-ico {
    background: #dbeafe;
    color: #2563eb;
}

.td-home-hub__pulse-date {
    font-weight: 800;
}

.td-home-hub__pulse-clima {
    font-weight: 800;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__pulse-clima::before {
    content: "·";
    margin-right: 6px;
    color: #94a3b8;
    font-weight: 700;
}

.td-home-hub__pulse-card--link:active {
    transform: scale(0.98);
}

.td-home-hub__pulse-card-ico {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 1.1rem;
}

.td-home-hub__pulse-card--fecha .td-home-hub__pulse-card-ico {
    background: #e0f2fe;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__pulse-card--farmacia .td-home-hub__pulse-card-ico {
    background: #d1fae5;
    color: #059669;
}

.td-home-hub__pulse-card--clima .td-home-hub__pulse-card-ico {
    background: #dbeafe;
    color: #2563eb;
}

.td-home-hub__pulse-card--colectivo .td-home-hub__pulse-card-ico {
    background: #ffedd5;
    color: #ea580c;
}

.td-home-hub__pulse-card--urgente .td-home-hub__pulse-card-ico {
    background: #fee2e2;
    color: #dc2626;
}

.td-home-hub__pulse-card-lbl {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.td-home-hub__pulse-card-val {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    word-break: break-word;
}

.td-home-hub__pulse-card--diahoy .td-home-hub__pulse-card-val {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    font-size: 0.9375rem;
}

.td-home-hub__pulse-card-go {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__pulse-card--farmacia .td-home-hub__pulse-card-go { color: #059669; }
.td-home-hub__pulse-card--colectivo .td-home-hub__pulse-card-go { color: #ea580c; }
.td-home-hub__pulse-card--urgente .td-home-hub__pulse-card-go { color: #dc2626; }

/* Accesos rápidos — tarjetas compactas */
.td-home-hub__grid--compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 var(--td-home-edge-pad-r, 16px) 14px var(--td-home-edge-pad, 16px);
}

.td-home-hub__grid--compact .td-home-hub__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    min-height: 112px;
    padding: 14px 12px 36px;
    border-radius: 16px;
    border: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
    border-top-width: 3px !important;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.td-home-hub__grid--compact .td-home-hub__tile:active {
    transform: scale(0.98);
}

.td-home-hub__grid--compact .td-home-hub__tile-ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.125rem;
}

.td-home-hub__grid--compact .td-home-hub__tile-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    width: 100%;
}

.td-home-hub__grid--compact .td-home-hub__tile-label {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.td-home-hub__grid--compact .td-home-hub__tile-sub {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.td-home-hub__grid--compact .td-home-hub__tile-chev {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 1rem;
    line-height: 1;
    color: #94a3b8;
    opacity: 0.85;
    transition: transform 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

.td-home-hub__grid--compact .td-home-hub__tile--salud {
    border-top-color: #10b981 !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--salud .td-home-hub__tile-ico {
    background: #d1fae5;
    color: #059669;
}

.td-home-hub__grid--compact .td-home-hub__tile--salud .td-home-hub__tile-chev {
    color: #059669;
}

.td-home-hub__grid--compact .td-home-hub__tile--comercios {
    border-top-color: var(--td-brand-orange, #ff8a00) !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--comercios .td-home-hub__tile-ico {
    background: #ede9fe;
    color: var(--td-brand-orange, #ff8a00);
}

.td-home-hub__grid--compact .td-home-hub__tile--comercios .td-home-hub__tile-chev {
    color: var(--td-brand-orange, #ff8a00);
}

.td-home-hub__grid--compact .td-home-hub__tile--servicios {
    border-top-color: #3b82f6 !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--servicios .td-home-hub__tile-ico {
    background: #dbeafe;
    color: #2563eb;
}

.td-home-hub__grid--compact .td-home-hub__tile--servicios .td-home-hub__tile-chev {
    color: #2563eb;
}

.td-home-hub__grid--compact .td-home-hub__tile--ofertas {
    border-top-color: #f59e0b !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--ofertas .td-home-hub__tile-ico {
    background: #fef3c7;
    color: #d97706;
}

.td-home-hub__grid--compact .td-home-hub__tile--ofertas .td-home-hub__tile-chev {
    color: #d97706;
}

.td-home-hub__grid--compact .td-home-hub__tile--movilidad {
    border-top-color: #3b82f6 !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--movilidad .td-home-hub__tile-ico {
    background: #dbeafe;
    color: #2563eb;
}

.td-home-hub__grid--compact .td-home-hub__tile--movilidad .td-home-hub__tile-chev {
    color: #2563eb;
}

.td-home-hub__grid--compact .td-home-hub__tile--necro {
    border-top-color: #64748b !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--necro .td-home-hub__tile-ico {
    background: #f1f5f9;
    color: #475569;
}

.td-home-hub__grid--compact .td-home-hub__tile--necro .td-home-hub__tile-chev {
    color: #475569;
}

.td-home-hub__grid--compact .td-home-hub__tile--agenda {
    border-top-color: var(--td-brand-orange, #ff8a00) !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--agenda .td-home-hub__tile-ico {
    background: #e0e7ff;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__grid--compact .td-home-hub__tile--agenda .td-home-hub__tile-chev {
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-hub__grid--compact .td-home-hub__tile--muni {
    border-top-color: #d97706 !important;
}

.td-home-hub__grid--compact .td-home-hub__tile--muni .td-home-hub__tile-ico {
    background: #ffedd5;
    color: #d97706;
}

.td-home-hub__grid--compact .td-home-hub__tile--muni .td-home-hub__tile-chev {
    color: #d97706;
}

@media (min-width: 420px) {
    .td-home-hub__grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .td-home-hub__grid--compact .td-home-hub__tile {
        min-height: 118px;
        padding: 12px 10px 34px;
    }

    .td-home-hub__grid--compact .td-home-hub__tile-label {
        font-size: 0.8125rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .td-home-hub__grid--compact .td-home-hub__tile:hover {
        box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.14);
        background: #fafbfc;
    }

    .td-home-hub__grid--compact .td-home-hub__tile:hover .td-home-hub__tile-chev {
        transform: translateX(2px);
        opacity: 1;
    }
}

/* Legacy compact (tile-btn) — conservado por si otro bloque lo usa */
.td-home-hub__grid--compact .td-home-hub__tile-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.td-home-hub__grid--compact .td-home-hub__tile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    margin-top: auto;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(2, 132, 199, 0.28);
    background: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--td-brand-navy, #0d1b2a);
    line-height: 1;
}

.td-home-hub__grid--compact .td-home-hub__tile--noticias .td-home-hub__tile-ico {
    background: #ffedd5;
    color: #ea580c;
}

.td-home-hub__grid--compact .td-home-hub__tile--noticias .td-home-hub__tile-btn {
    color: #ea580c;
    border-color: rgba(234, 88, 12, 0.28);
}

/* Accesos en grilla grande (legacy) */
.td-home-hub__grid--cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 var(--td-home-edge-pad-r, 16px) 16px var(--td-home-edge-pad, 16px);
}

.td-home-hub__grid--cards .td-home-hub__tile {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    min-height: 112px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--td-home-section-divider, #e2e8f0) !important;
    background: #f8fafc;
}

.td-home-hub__grid--cards .td-home-hub__tile-chev {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

.td-home-hub__grid--cards .td-home-hub__tile {
    position: relative;
    padding-bottom: 36px;
}

.td-home-hub__grid--cards .td-home-hub__tile-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.td-home-hub__grid--cards .td-home-hub__tile-label {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.td-home-hub__grid--cards .td-home-hub__tile-sub {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #64748b;
    white-space: normal;
}

.td-home-hub__block--destacado .td-home-hub__tile {
    min-height: 72px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.td-home-hub__block--destacado .td-home-hub__tile-label {
    font-size: 1.0625rem;
}

.td-home-hub__block--destacado .td-home-hub__tile-sub {
    font-size: 0.875rem;
}

html[data-theme="dark"] .td-home-hub__section-title {
    color: #f1f5f9;
}

html[data-theme="dark"] .td-home-hub__section-title--hero {
    background: linear-gradient(118deg, #7dd3fc 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="dark"] .td-home-hub__pulse-card,
html[data-theme="dark"] .td-home-hub__grid--cards .td-home-hub__tile {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(71, 85, 105, 0.8);
}

html[data-theme="dark"] .td-home-hub__pulse-card-val {
    color: #f1f5f9;
}

html[data-theme="dark"] .td-home-hub__hoy {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(71, 85, 105, 0.8);
}

html[data-theme="dark"] .td-home-hub__hoy-row {
    border-top-color: rgba(71, 85, 105, 0.55);
}

html[data-theme="dark"] .td-home-hub__hoy-row-val,
html[data-theme="dark"] .td-home-hub__pulse-card-val--inline {
    color: #f1f5f9;
}

html[data-theme="dark"] .td-home-hub__locales {
    border-top-color: rgba(251, 191, 36, 0.28);
    background: transparent;
}

html[data-theme="dark"] .td-home-hub__locales-link {
    background: rgba(120, 53, 15, 0.22) !important;
    border-color: rgba(251, 191, 36, 0.28) !important;
}

html[data-theme="dark"] .td-home-hub__locales-foot {
    border-top-color: rgba(251, 191, 36, 0.22);
}

html[data-theme="dark"] .td-home-hub__locales-count {
    color: #fbbf24;
}

html[data-theme="dark"] .td-home-hub__locales-hint {
    color: #fcd34d;
}

html[data-theme="dark"] .td-home-hub__locales-dots {
    background: rgba(120, 53, 15, 0.45);
    border-color: rgba(251, 191, 36, 0.25);
}

html[data-theme="dark"] .td-home-hub__locales-dot {
    background: rgba(251, 191, 36, 0.28);
}

html[data-theme="dark"] .td-home-hub__locales-dot--on {
    background: #fbbf24;
}

html[data-theme="dark"] .td-home-hub__locales-kicker {
    color: #fbbf24;
    background: rgba(120, 53, 15, 0.55);
}

html[data-theme="dark"] .td-home-hub__locales-name {
    color: #f1f5f9;
}

html[data-theme="dark"] .td-home-hub__tile-sub--ok { color: #6ee7b7; }
html[data-theme="dark"] .td-home-hub__tile-sub--warn { color: #fcd34d; }
html[data-theme="dark"] .td-home-hub__tile-sub--alert { color: #fca5a5; }

@media (min-width: 900px) {
    .td-home-hub__pulse-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .td-home-hub__pulse-card--diahoy {
        grid-column: auto;
    }

    .td-home-hub__grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .td-home-hub__grid--cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
