/* Central emergencias: tarjeta exterior como antes; rejilla en la tarjeta (sin caja blanca interior), como proximos_eventos / muni_servicio */
.central-em-sc { margin-top: 0; }
.central-em-sc__wrap { display: block; color: inherit; -webkit-tap-highlight-color: transparent; }
.central-em-sc__wrap:active .central-em-sc__card { transform: scale(0.992); }
.central-em-sc__card {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fffafa 50%, #fef2f2 100%);
    border-radius: 22px;
    border: 1px solid #fecaca;
    box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.central-em-sc__card:hover { box-shadow: 0 14px 32px -10px rgba(239, 68, 68, 0.16); }
.central-em-sc__deco {
    position: absolute;
    right: -8px;
    bottom: -18px;
    font-size: 72px;
    color: rgba(239, 68, 68, 0.07);
    transform: rotate(-12deg);
    pointer-events: none;
    line-height: 1;
}
.central-em-sc__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.central-em-sc__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.central-em-sc__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f87171, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.central-em-sc__titles { min-width: 0; }
.central-em-sc__kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dc2626;
}
.central-em-sc__title {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
/* Rejilla directa sobre el fondo de la tarjeta (sin .central-em-sc__body blanco) */
.central-em-sc__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.central-em-sc__tile {
    text-decoration: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 12px 10px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.central-em-sc__tile:active { transform: scale(0.99); opacity: 0.95; }
.central-em-sc__tile--wide { grid-column: span 2; padding: 12px 14px; }
.central-em-sc__tile-ico {
    width: 30px;
    font-size: 20px;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}
.central-em-sc__tile-txt { flex: 1; min-width: 0; }
.central-em-sc__tile-num {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.central-em-sc__tile-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.02em;
}
.central-em-sc__tile-call {
    font-size: 12px;
    opacity: 0.5;
    flex-shrink: 0;
}
.central-em-sc__tile-chip {
    flex-shrink: 0;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
    color: #fff;
}
/* Variantes por servicio */
.central-em-sc__tile--100 {
    background: #fef2f2;
    border: 1px solid #fee2e2;
}
.central-em-sc__tile--100 .central-em-sc__tile-ico { color: #ef4444; }
.central-em-sc__tile--100 .central-em-sc__tile-num { color: #991b1b; }
.central-em-sc__tile--100 .central-em-sc__tile-label { color: #ef4444; }
.central-em-sc__tile--100 .central-em-sc__tile-call { color: #ef4444; }
.central-em-sc__tile--911 {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
}
.central-em-sc__tile--911 .central-em-sc__tile-ico { color: #22c55e; }
.central-em-sc__tile--911 .central-em-sc__tile-num { color: #166534; }
.central-em-sc__tile--911 .central-em-sc__tile-label { color: #22c55e; }
.central-em-sc__tile--911 .central-em-sc__tile-call { color: #22c55e; }
.central-em-sc__tile--101 {
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
.central-em-sc__tile--101 .central-em-sc__tile-ico { color: #3b82f6; }
.central-em-sc__tile--101 .central-em-sc__tile-num { color: #1e40af; }
.central-em-sc__tile--101 .central-em-sc__tile-label { color: #3b82f6; }
.central-em-sc__tile--101 .central-em-sc__tile-call { color: #3b82f6; }
.central-em-sc__tile--103 {
    background: #fff7ed;
    border: 1px solid #ffedd5;
}
.central-em-sc__tile--103 .central-em-sc__tile-ico { color: #f97316; }
.central-em-sc__tile--103 .central-em-sc__tile-num { color: #9a3412; }
.central-em-sc__tile--103 .central-em-sc__tile-label { color: #f97316; }
.central-em-sc__tile--103 .central-em-sc__tile-call { color: #f97316; }
.central-em-sc__tile--144 {
    background: #faf5ff;
    border: 1px solid #f3e8ff;
}
.central-em-sc__tile--144 .central-em-sc__tile-ico { width: 35px; font-size: 22px; color: #a855f7; margin-right: 10px; }
.central-em-sc__tile--144 .central-em-sc__tile-num { color: #6b21a8; }
.central-em-sc__tile--144 .central-em-sc__tile-label { font-size: 10px; color: #a855f7; }
.central-em-sc__tile--144 .central-em-sc__tile-chip { background: #a855f7; }
