:root {
    --mam-orange: #ef4a1b;
    --mam-blue: #2e3f99;
    --mam-green: #7fbe20;
    --mam-violet: #8b7cc0;
    --mam-ink: #161b22;
    --mam-muted: #5f6670;
    --mam-line: #d9dee5;
    --mam-bg: #f7f8fb;
    --mam-font: "Montserrat", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.mam-temporal-page {
    margin: 0 !important;
    overflow-x: hidden !important;
    touch-action: pan-y !important;
    -webkit-text-size-adjust: 100%;
}

body.mam-temporal-page * {
    -webkit-tap-highlight-color: transparent;
}

body.mam-temporal-page #header,
body.mam-temporal-page #footer,
body.mam-temporal-page #sidebar,
body.mam-temporal-page header:not(.mam-hero):not(.mam-form-hero),
body.mam-temporal-page footer:not(.mam-footer),
body.mam-temporal-page aside,
body.mam-temporal-page .site-header,
body.mam-temporal-page .site-footer,
body.mam-temporal-page .site-branding,
body.mam-temporal-page .widget-area,
body.mam-temporal-page .widget,
body.mam-temporal-page .search-form,
body.mam-temporal-page .entry-title,
body.mam-temporal-page .page-title,
body.mam-temporal-page .post-edit-link {
    display: none !important;
}

body.mam-temporal-page #container,
body.mam-temporal-page #content,
body.mam-temporal-page main,
body.mam-temporal-page article,
body.mam-temporal-page .entry-content {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

body.mam-temporal-page .mam-live {
    background: var(--mam-bg);
    color: var(--mam-ink);
    font-family: var(--mam-font);
    font-weight: 400;
    isolation: isolate;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body.mam-temporal-page .mam-live--form {
    background:
        linear-gradient(180deg, rgba(46, 63, 153, 0.08), transparent 360px),
        #f5f7fb;
}

body.mam-temporal-page .mam-hero,
body.mam-temporal-page .mam-winter,
body.mam-temporal-page .mam-feed-heading,
body.mam-temporal-page .mam-feed,
body.mam-temporal-page .mam-footer {
    position: relative;
    z-index: 2;
}

body.mam-temporal-page .mam-rain-backdrop {
    display: block !important;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    visibility: visible !important;
    z-index: 2147483600;
}

body.mam-temporal-page .mam-rain-backdrop span {
    animation: mamRainDrop 5.9s linear infinite;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(46, 63, 153, 0.52), rgba(239, 74, 27, 0.28));
    border-radius: 999px;
    display: block !important;
    height: 68px;
    left: 50%;
    opacity: 0.58;
    position: absolute;
    top: -150px;
    transform: rotate(14deg);
    width: 1.8px;
}

@keyframes mamRainDrop {
    0% {
        transform: translate3d(0, -120px, 0) rotate(14deg);
    }

    100% {
        transform: translate3d(-138px, calc(100vh + 160px), 0) rotate(14deg);
    }
}

body.mam-temporal-page .mam-rain-backdrop span:nth-child(1) { left: 4%; animation-delay: -1.1s; animation-duration: 5.8s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(2) { left: 9%; animation-delay: -4.6s; animation-duration: 6.5s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(3) { left: 14%; animation-delay: -2.2s; animation-duration: 5.4s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(4) { left: 19%; animation-delay: -5.9s; animation-duration: 6.8s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(5) { left: 24%; animation-delay: -3.3s; animation-duration: 5.6s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(6) { left: 29%; animation-delay: -6.1s; animation-duration: 7s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(7) { left: 35%; animation-delay: -0.7s; animation-duration: 5.2s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(8) { left: 40%; animation-delay: -4s; animation-duration: 6.2s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(9) { left: 45%; animation-delay: -6.8s; animation-duration: 6.7s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(10) { left: 50%; animation-delay: -1.8s; animation-duration: 5.5s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(11) { left: 55%; animation-delay: -5.2s; animation-duration: 6.4s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(12) { left: 60%; animation-delay: -1.4s; animation-duration: 5.3s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(13) { left: 65%; animation-delay: -6.4s; animation-duration: 7.1s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(14) { left: 70%; animation-delay: -2.8s; animation-duration: 5.7s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(15) { left: 75%; animation-delay: -7s; animation-duration: 6.6s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(16) { left: 80%; animation-delay: -3.8s; animation-duration: 7.2s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(17) { left: 85%; animation-delay: -7.9s; animation-duration: 7.6s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(18) { left: 90%; animation-delay: -4.4s; animation-duration: 7.8s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(19) { left: 95%; animation-delay: -2.6s; animation-duration: 6.1s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(20) { left: 2%; animation-delay: -6.7s; animation-duration: 7.4s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(21) { left: 17%; animation-delay: -7.5s; animation-duration: 7.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(22) { left: 32%; animation-delay: -2.9s; animation-duration: 6.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(23) { left: 47%; animation-delay: -8.5s; animation-duration: 7.7s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(24) { left: 62%; animation-delay: -5.6s; animation-duration: 6.3s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(25) { left: 77%; animation-delay: -8.9s; animation-duration: 7.5s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(26) { left: 88%; animation-delay: -1.9s; animation-duration: 5.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(27) { left: 23%; animation-delay: -8.2s; animation-duration: 7.3s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(28) { left: 71%; animation-delay: -6.9s; animation-duration: 7.1s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(29) { left: 6%; animation-delay: -8.8s; animation-duration: 7.2s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(30) { left: 11%; animation-delay: -3.6s; animation-duration: 5.6s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(31) { left: 27%; animation-delay: -9.1s; animation-duration: 7.6s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(32) { left: 38%; animation-delay: -6.2s; animation-duration: 6.4s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(33) { left: 43%; animation-delay: -9.8s; animation-duration: 7.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(34) { left: 52%; animation-delay: -7.2s; animation-duration: 6.8s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(35) { left: 58%; animation-delay: -3.9s; animation-duration: 5.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(36) { left: 67%; animation-delay: -9.4s; animation-duration: 7.4s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(37) { left: 73%; animation-delay: -5.3s; animation-duration: 6.1s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(38) { left: 82%; animation-delay: -10.1s; animation-duration: 8s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(39) { left: 91%; animation-delay: -7.7s; animation-duration: 6.9s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(40) { left: 97%; animation-delay: -4.8s; animation-duration: 6.2s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(41) { left: 15%; animation-delay: -10.5s; animation-duration: 8.1s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(42) { left: 31%; animation-delay: -4.9s; animation-duration: 6.5s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(43) { left: 64%; animation-delay: -8.3s; animation-duration: 7.7s; }
body.mam-temporal-page .mam-rain-backdrop span:nth-child(44) { left: 86%; animation-delay: -5.7s; animation-duration: 6.6s; }

body.mam-home-page {
    background: #f2f6fb;
    color: var(--mam-ink);
    font-family: var(--mam-font);
    margin: 0;
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

body.mam-home-page * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.mam-rain-float {
    animation: mamRainPulse 2.4s ease-in-out infinite !important;
}

@keyframes mamRainPulse {
    0%,
    100% {
        box-shadow: 0 18px 48px rgba(240, 75, 27, 0.26), 0 0 0 0 rgba(240, 75, 27, 0.28);
    }

    50% {
        box-shadow: 0 18px 48px rgba(240, 75, 27, 0.36), 0 0 0 8px rgba(240, 75, 27, 0);
    }
}

.mam-rain-float {
    align-items: center;
    background:
        linear-gradient(135deg, #fff7ed 0%, #ffffff 48%, #eef2ff 100%);
    border: 1px solid rgba(240, 75, 27, 0.35);
    border-radius: 14px;
    border-top: 4px solid var(--mam-orange);
    box-shadow: 0 18px 48px rgba(240, 75, 27, 0.26);
    color: var(--mam-ink);
    display: grid !important;
    gap: 6px;
    grid-template-columns: 36px repeat(4, minmax(58px, 1fr));
    left: 50% !important;
    margin: 0 !important;
    max-width: 360px !important;
    padding: 16px 12px 12px !important;
    position: fixed !important;
    text-align: center;
    bottom: 14px !important;
    transform: translateX(-50%) !important;
    z-index: 2147483000 !important;
}

.mam-rain-float__close {
    align-items: center;
    appearance: none;
    background: var(--mam-orange);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(7, 14, 46, 0.22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    height: 26px;
    justify-content: center;
    left: 50%;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: -13px;
    transform: translateX(-50%);
    width: 26px;
}

.mam-rain-float__open {
    align-items: center;
    appearance: none;
    background: var(--mam-orange);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(240, 75, 27, 0.28);
    color: #fff;
    cursor: pointer;
    display: none !important;
    font-family: var(--mam-font);
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    grid-column: 1 / -1;
    justify-self: center;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 11px 15px;
    text-transform: uppercase;
}

.mam-rain-float__icon {
    align-items: center;
    background: var(--mam-blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    grid-column: 1;
    grid-row: 2;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.mam-rain-float__body {
    display: contents;
    min-width: 0;
    text-align: center;
}

.mam-rain-float p,
.mam-rain-float strong,
.mam-rain-float span,
.mam-rain-float small {
    display: block;
    margin: 0;
}

.mam-rain-float p {
    color: var(--mam-orange);
    font-size: 10px;
    font-weight: 900;
    grid-column: 1 / -1;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.mam-rain-float strong {
    color: var(--mam-blue);
    font-size: 28px;
    font-weight: 900;
    line-height: 0.95;
    margin-top: 4px;
}

.mam-rain-metrics {
    display: grid;
    gap: 5px;
    grid-column: 2 / -1;
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    margin-top: 0;
}

.mam-rain-metrics div {
    background: #fff;
    border: 1px solid rgba(240, 75, 27, 0.22);
    border-radius: 8px;
    min-width: 58px;
    padding: 6px 7px;
    text-align: center;
}

.mam-rain-metrics strong {
    color: var(--mam-blue);
    font-size: 15px;
    line-height: 0.95;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.mam-rain-metrics span {
    color: var(--mam-muted);
    display: block;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 5px;
    text-align: center;
    text-transform: uppercase;
}

.mam-rain-metrics strong::after {
    content: " mm";
    font-size: 9px;
    font-weight: 900;
}

.mam-rain-float.is-collapsed {
    animation: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    grid-template-columns: 1fr !important;
    max-width: none !important;
    padding: 0 !important;
}

.mam-rain-float.is-collapsed .mam-rain-float__close,
.mam-rain-float.is-collapsed .mam-rain-float__icon,
.mam-rain-float.is-collapsed .mam-rain-float__body,
.mam-rain-float.is-collapsed > a {
    display: none !important;
}

.mam-rain-float.is-collapsed .mam-rain-float__open {
    display: inline-flex !important;
}

.mam-rain-float span {
    color: var(--mam-ink);
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
}

.mam-rain-float small {
    color: var(--mam-muted);
    font-size: 9px;
    font-weight: 800;
    grid-column: 1 / -1;
    margin: 4px auto 0;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mam-rain-float > a {
    grid-column: 1 / -1;
    color: var(--mam-orange) !important;
    font-size: 9px;
    font-weight: 950;
    justify-self: center;
    letter-spacing: 0.02em;
    margin-top: 7px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.mam-rain-float > a::before {
    content: "FUENTE: ";
}

.mam-rain-float--pending {
    border-left-color: var(--mam-orange);
}

.mam-rain-float--pending strong {
    color: var(--mam-orange);
    font-size: 18px;
    line-height: 1.05;
}

.mam-home a {
    color: inherit;
}

.mam-home-wrap {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 22px;
    position: relative;
    z-index: 1;
}

.mam-home-hero {
    background:
        linear-gradient(120deg, rgba(16, 24, 64, 0.98), rgba(41, 60, 150, 0.94) 48%, rgba(239, 74, 27, 0.9)),
        #2e3f99;
    color: #fff;
    min-height: 82vh;
    overflow: hidden;
    position: relative;
}

.mam-home-bg {
    background-position: right -80px top -66px;
    background-repeat: no-repeat;
    background-size: min(58vw, 620px);
    inset: 0;
    opacity: 0.15;
    position: absolute;
}

.mam-home-hero::after {
    background:
        linear-gradient(100deg, transparent 0 17%, rgba(255, 255, 255, 0.18) 17% 17.4%, transparent 17.4% 100%),
        linear-gradient(100deg, transparent 0 49%, rgba(120, 220, 242, 0.22) 49% 49.3%, transparent 49.3% 100%),
        linear-gradient(100deg, transparent 0 74%, rgba(255, 255, 255, 0.14) 74% 74.25%, transparent 74.25% 100%);
    content: "";
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
    position: absolute;
}

.mam-home-topbar {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 24px 0;
}

.mam-home-logo {
    display: block;
    width: min(66vw, 360px);
}

.mam-home-logo img,
.mam-home-footer img {
    display: block;
    height: auto;
    width: 100%;
}

.mam-home-status {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 9px;
    min-height: 40px;
    padding: 0 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mam-home-status span {
    background: var(--mam-green);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(127, 190, 32, 0.18);
    height: 10px;
    width: 10px;
}

.mam-home-grid {
    align-items: end;
    display: grid;
    gap: clamp(30px, 6vw, 74px);
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
    padding: clamp(56px, 8vw, 110px) 0 42px;
}

.mam-home-kicker {
    color: #78dcf2;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.mam-home-copy h1 {
    color: #fff;
    font-size: clamp(50px, 9vw, 112px);
    font-weight: 900;
    line-height: 0.88;
    margin: 0;
    max-width: 780px;
}

.mam-home-copy p:not(.mam-home-kicker) {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 400;
    line-height: 1.36;
    margin: 22px 0 0;
    max-width: 690px;
}

.mam-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.mam-home-button,
.mam-home-panel a {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    text-decoration: none;
}

.mam-home-button--primary {
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
    color: var(--mam-orange) !important;
}

.mam-home-button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff !important;
}

.mam-home-panel {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(7, 14, 46, 0.32);
    padding: 22px;
}

.mam-home-panel p {
    color: #78dcf2;
    font-size: 13px;
    font-weight: 900;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.mam-home-panel strong {
    color: #fff;
    display: block;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.02;
}

.mam-home-panel span {
    color: rgba(255, 255, 255, 0.84);
    display: block;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 14px;
}

.mam-home-panel a {
    background: rgba(255, 255, 255, 0.94);
    color: var(--mam-blue) !important;
    margin-top: 22px;
    min-height: 46px;
    padding: 0 18px;
}

.mam-home-quick {
    background: linear-gradient(90deg, var(--mam-blue), var(--mam-orange));
    border-bottom: 1px solid #dce5ef;
    position: relative;
    z-index: 2;
}

.mam-home-quick-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mam-home-quick a {
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff, #f7f9fc);
    border-bottom: 4px solid var(--mam-orange);
    color: var(--mam-blue);
    display: grid;
    justify-items: center;
    min-height: 88px;
    padding: 18px 16px;
    text-align: center;
    text-decoration: none;
}

.mam-home-quick a:nth-child(2n) {
    border-bottom-color: var(--mam-blue);
}

.mam-home-quick a:nth-child(3n) {
    border-bottom-color: var(--mam-green);
}

.mam-home-quick span,
.mam-home-contact span {
    color: var(--mam-muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.mam-home-quick strong {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    line-height: 1;
}

.mam-home-quick strong,
.mam-home-contact strong,
body.mam-temporal-page .mam-phone-actions a {
    align-items: center;
    display: inline-flex !important;
    gap: 8px;
}

.mam-home-quick strong::before,
.mam-home-contact strong::before,
body.mam-temporal-page .mam-phone-actions a::before {
    align-items: center;
    background: rgba(239, 74, 27, 0.12);
    border-radius: 999px;
    color: var(--mam-orange);
    content: "☎";
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    height: 26px;
    justify-content: center;
    line-height: 1;
    width: 26px;
}

.mam-home-quick small {
    color: var(--mam-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 7px;
    text-transform: uppercase;
}

.mam-home-section {
    padding: clamp(36px, 6vw, 70px) 0;
}

.mam-home-section-head {
    margin-bottom: 22px;
    text-align: center;
}

.mam-home-section-head .mam-home-kicker {
    color: var(--mam-orange);
}

.mam-home-section h2 {
    color: var(--mam-ink);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.mam-home-contact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mam-home-contact {
    background: #fff;
    border: 1px solid #dfe8f2;
    border-radius: 10px;
    color: var(--mam-ink) !important;
    min-height: 112px;
    padding: 16px;
    text-decoration: none;
}

.mam-home-contact::after {
    color: var(--mam-orange);
    content: "Tocar para llamar";
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-top: 10px;
    text-transform: uppercase;
}

.mam-home-contact--wide {
    grid-column: span 2;
}

.mam-home-contact strong {
    color: var(--mam-blue);
    display: block;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 900;
    line-height: 1.05;
}

.mam-home-contact small {
    color: var(--mam-muted);
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.mam-home-footer {
    background: #111947;
    color: #fff;
    padding: 32px 0;
}

.mam-home-footer-grid {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: auto 1fr;
}

.mam-home-footer img {
    max-width: 300px;
}

.mam-home-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mam-home-footer a {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    min-height: 42px;
    padding: 11px 14px;
    text-decoration: none;
}

.mam-form-hero {
    background:
        linear-gradient(130deg, rgba(22, 27, 34, 0.82), rgba(46, 63, 153, 0.86) 42%, rgba(239, 74, 27, 0.92)),
        #2e3f99;
    color: #fff;
    overflow: hidden;
    padding: 34px 20px 54px;
    position: relative;
    text-align: center;
}

.mam-form-hero::after {
    background-image: url("../img/logo-simbolo-color.png");
    background-position: right -22px bottom -46px;
    background-repeat: no-repeat;
    background-size: min(34vw, 330px);
    content: "";
    inset: 0;
    opacity: 0.16;
    position: absolute;
}

.mam-form-hero img,
.mam-form-hero h1,
.mam-form-hero p,
.mam-form-hero a {
    margin-left: auto;
    margin-right: auto;
    max-width: 880px;
    position: relative;
    z-index: 1;
}

.mam-form-hero img {
    display: block;
    height: auto;
    margin-bottom: 34px;
    width: min(360px, 70vw);
}

.mam-form-hero h1 {
    color: #fff;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900;
    line-height: 0.94;
    margin-bottom: 12px;
}

.mam-form-hero p {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.mam-form-hero .mam-button {
    margin-top: 24px;
    width: fit-content;
}

.mam-form-wrap {
    margin: 0 auto;
    max-width: 920px;
    padding: 0 20px 64px;
    transform: translateY(-28px);
}

.mam-front-form {
    background: #fff;
    border: 1px solid var(--mam-line);
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(22, 27, 34, 0.16);
    display: grid;
    gap: 20px;
    padding: 28px;
}

.mam-honeypot {
    height: 0;
    left: -9999px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.mam-form-head {
    align-items: end;
    border-bottom: 1px solid var(--mam-line);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    padding-bottom: 20px;
    text-align: left;
}

.mam-form-head > *,
.mam-front-form label {
    min-width: 0;
}

.mam-form-head h2 {
    color: var(--mam-ink);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.mam-form-head .mam-kicker {
    color: var(--mam-orange);
}

.mam-form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mam-front-form label {
    display: grid;
    gap: 8px;
}

.mam-front-form label span {
    color: var(--mam-ink);
    font-size: 14px;
    font-weight: 900;
}

.mam-front-form input,
.mam-front-form select,
.mam-front-form textarea {
    background: #fbfcfe;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    color: var(--mam-ink);
    font: inherit;
    min-height: 48px;
    padding: 12px;
    width: 100%;
}

.mam-front-form input[type="time"] {
    max-width: 100%;
    min-width: 0;
}

.mam-front-form input:focus,
.mam-front-form select:focus,
.mam-front-form textarea:focus {
    border-color: var(--mam-blue);
    box-shadow: 0 0 0 4px rgba(46, 63, 153, 0.12);
    outline: 0;
}

.mam-front-form textarea {
    line-height: 1.5;
    resize: vertical;
}

.mam-media-link-field small,
.mam-front-form label small,
.mam-upload-box small {
    color: var(--mam-muted);
    font-size: 13px;
    line-height: 1.35;
}

.mam-upload-box {
    background:
        linear-gradient(135deg, rgba(46, 63, 153, 0.06), rgba(239, 74, 27, 0.07));
    border: 2px dashed #c9d1dc;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.mam-upload-box input {
    background: #fff;
}

.mam-upload-box strong {
    color: var(--mam-blue);
    display: block;
    font-size: 17px;
    margin-top: 8px;
}

.mam-upload-progress {
    background: #fff;
    border: 1px solid rgba(46, 63, 153, 0.16);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(22, 27, 34, 0.08);
    display: grid;
    gap: 10px;
    padding: 14px;
}

.mam-upload-progress[hidden] {
    display: none !important;
}

.mam-upload-progress__head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mam-upload-progress__head strong {
    color: var(--mam-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.mam-upload-progress__head span {
    color: var(--mam-orange);
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
}

.mam-upload-progress__track {
    background: #e8edf5;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
    position: relative;
}

.mam-upload-progress__track span {
    background: linear-gradient(90deg, var(--mam-blue), var(--mam-orange));
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 0.18s ease;
    width: 0;
}

.mam-upload-progress small {
    color: var(--mam-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.mam-advanced {
    border: 1px solid var(--mam-line);
    border-radius: 8px;
    padding: 14px 16px;
}

.mam-advanced summary {
    color: var(--mam-blue);
    cursor: pointer;
    font-weight: 900;
}

.mam-advanced .mam-form-grid {
    margin-top: 16px;
}

.mam-form-check {
    align-items: center;
    display: flex !important;
    gap: 10px;
}

.mam-form-check input {
    min-height: auto;
    width: auto;
}

.mam-submit {
    background: var(--mam-orange);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 900;
    min-height: 54px;
    padding: 0 22px;
    width: 100%;
}

.mam-form-message {
    border-radius: 8px;
    font-weight: 800;
    padding: 16px;
}

.mam-form-message p {
    font-weight: 500;
    margin: 8px 0 0;
}

.mam-form-message--success {
    background: #e9f8e2;
    color: #315f10;
}

.mam-form-message--error {
    background: #fde9e4;
    color: #91260a;
}

.mam-form-message--warning {
    background: #fff5d8;
    color: #7a4b00;
}

body.mam-temporal-page .mam-live,
body.mam-temporal-page .mam-live * {
    box-sizing: border-box;
}

body.mam-temporal-page .mam-hero {
    background:
        linear-gradient(115deg, rgba(22, 27, 34, 0.86) 0%, rgba(46, 63, 153, 0.78) 46%, rgba(239, 74, 27, 0.82) 100%),
        linear-gradient(180deg, #1f315f 0%, #ef4a1b 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

body.mam-temporal-page .mam-hero::before {
    background:
        linear-gradient(110deg, transparent 0 16%, rgba(255, 255, 255, 0.15) 16% 17%, transparent 17% 100%),
        linear-gradient(145deg, transparent 0 42%, rgba(127, 190, 32, 0.22) 42% 50%, transparent 50% 100%),
        linear-gradient(25deg, transparent 0 62%, rgba(249, 154, 0, 0.26) 62% 72%, transparent 72% 100%);
    content: "";
    inset: 0;
    opacity: 0.9;
    position: absolute;
}

body.mam-temporal-page .mam-hero::after {
    background-image: url("../img/logo-simbolo-color.png");
    background-position: right -34px bottom -42px;
    background-repeat: no-repeat;
    background-size: min(34vw, 360px);
    content: "";
    filter: saturate(1.06);
    inset: 0;
    opacity: 0.12;
    position: absolute;
}

body.mam-temporal-page .mam-hero__inner {
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px 20px 42px;
    position: relative;
    z-index: 1;
}

body.mam-temporal-page .mam-topbar {
    align-items: center;
    display: flex !important;
    gap: 20px;
    justify-content: center;
    min-height: 60px;
}

body.mam-temporal-page .mam-topbar__brand,
body.mam-temporal-page .mam-topbar__brand:visited {
    display: inline-flex !important;
    max-width: 320px !important;
    text-decoration: none !important;
    width: min(320px, 58vw) !important;
}

body.mam-temporal-page .mam-topbar__brand img {
    display: block;
    height: auto;
    max-width: 100% !important;
    width: 100% !important;
}

body.mam-temporal-page .mam-topbar__links {
    align-items: center;
    display: flex !important;
    gap: 10px;
}

body.mam-temporal-page .mam-topbar__links a,
body.mam-temporal-page .mam-topbar__links a:visited {
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #fff;
    display: inline-flex !important;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    padding: 12px 14px;
    text-decoration: none !important;
}

body.mam-temporal-page .mam-hero__main {
    align-items: center;
    display: grid !important;
    gap: 36px;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    min-height: 150px;
    padding: 18px 0 10px;
}

body.mam-temporal-page .mam-hero__main--single {
    grid-template-columns: minmax(0, 1fr);
}

body.mam-temporal-page .mam-hero__copy {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
}

.mam-hero__logo {
    display: block;
    height: auto;
    width: min(100%, 360px);
}

.mam-hero__logo--color {
    display: none;
}

body.mam-temporal-page .mam-kicker,
body.mam-temporal-page .mam-source {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

body.mam-temporal-page .mam-hero h1 {
    color: #fff;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900;
    line-height: 0.94;
    margin: 0;
    max-width: 780px;
}

body.mam-temporal-page .mam-hero p {
    color: #fff;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 680px;
}

body.mam-temporal-page .mam-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

body.mam-temporal-page .mam-button,
body.mam-temporal-page .mam-button:visited {
    align-items: center;
    border-radius: 999px;
    display: inline-flex !important;
    font-size: 15px;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    text-decoration: none !important;
}

body.mam-temporal-page .mam-button--primary,
body.mam-temporal-page .mam-button--primary:visited {
    background: #fff;
    color: var(--mam-orange);
}

body.mam-temporal-page .mam-button--ghost,
body.mam-temporal-page .mam-button--ghost:visited {
    border: 1px solid rgba(255, 255, 255, 0.44);
    color: #fff;
}

body.mam-temporal-page .mam-hero__symbol {
    display: block;
    height: auto;
    margin: 0 0 18px;
    max-width: 190px;
    width: 64%;
}

body.mam-temporal-page .mam-winter {
    background: #eef7ff;
    border-bottom: 1px solid #d4e5f4;
}

body.mam-temporal-page .mam-winter__inner {
    margin: 0 auto;
    max-width: 1180px;
    padding: 24px 20px 30px;
}

body.mam-temporal-page .mam-winter__head {
    display: grid;
    gap: 5px;
    justify-items: center;
    margin-bottom: 14px;
    text-align: center;
}

body.mam-temporal-page .mam-winter__head .mam-kicker {
    color: var(--mam-blue);
}

body.mam-temporal-page .mam-winter__head h2 {
    color: var(--mam-ink);
    font-size: clamp(28px, 4.5vw, 50px);
    line-height: 1;
    margin: 0;
}

body.mam-temporal-page .mam-winter__head p {
    color: #334155;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
    max-width: 720px;
}

body.mam-temporal-page .mam-quick-phones {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.mam-temporal-page .mam-phone-pill,
body.mam-temporal-page .mam-phone-pill:visited {
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff, #f7f9fc);
    border: 1px solid rgba(46, 63, 153, 0.18);
    border-bottom: 4px solid var(--mam-orange);
    border-radius: 8px;
    color: var(--mam-blue);
    display: grid !important;
    gap: 9px;
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 58px;
    padding: 9px 12px;
    text-align: left;
    text-decoration: none !important;
    width: 100%;
}

body.mam-temporal-page .mam-phone-pill__badge {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(46, 63, 153, 0.16);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(46, 63, 153, 0.18);
    display: inline-flex !important;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    width: 38px;
}

body.mam-temporal-page .mam-phone-pill__badge img {
    display: block;
    height: 100%;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    width: 100%;
}

body.mam-temporal-page .mam-phone-pill__copy {
    display: grid !important;
    gap: 1px;
    min-width: 0;
}

body.mam-temporal-page .mam-phone-pill--carabineros .mam-phone-pill__badge {
    background: #fff !important;
    border-color: rgba(46, 63, 153, 0.18);
}

body.mam-temporal-page .mam-phone-pill:nth-child(2n) {
    border-bottom-color: var(--mam-blue);
}

body.mam-temporal-page .mam-phone-pill:nth-child(3n) {
    border-bottom-color: var(--mam-green);
}

body.mam-temporal-page .mam-phone-pill__copy > span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

body.mam-temporal-page .mam-phone-pill strong {
    font-size: 21px;
    line-height: 1;
}

body.mam-temporal-page .mam-info-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.mam-temporal-page .mam-info-grid--compact {
    align-items: start;
}

body.mam-temporal-page .mam-info-card {
    background: #fff;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(46, 63, 153, 0.07);
    overflow: hidden;
}

body.mam-temporal-page .mam-info-card summary {
    color: var(--mam-blue);
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    padding: 14px 15px;
}

body.mam-temporal-page .mam-phone-list {
    border-top: 1px solid #e5eef6;
    display: grid;
}

body.mam-temporal-page .mam-phone-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    padding: 12px 15px;
}

body.mam-temporal-page .mam-phone-row + .mam-phone-row {
    border-top: 1px solid #edf2f7;
}

body.mam-temporal-page .mam-phone-row strong,
body.mam-temporal-page .mam-phone-row span {
    display: block;
}

body.mam-temporal-page .mam-phone-row strong {
    color: var(--mam-ink);
    font-size: 14px;
    line-height: 1.2;
}

body.mam-temporal-page .mam-phone-row span {
    color: var(--mam-muted);
    font-size: 12px;
    margin-top: 4px;
}

body.mam-temporal-page .mam-phone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

body.mam-temporal-page .mam-phone-actions a,
body.mam-temporal-page .mam-phone-actions a:visited {
    background: rgba(46, 63, 153, 0.08);
    border: 1px solid rgba(46, 63, 153, 0.14);
    border-radius: 999px;
    color: var(--mam-blue);
    display: inline-flex !important;
    font-size: 13px;
    font-weight: 900;
    min-height: 32px;
    padding: 0 10px;
    align-items: center;
    text-decoration: none !important;
}

body.mam-temporal-page .mam-shelter {
    align-items: center;
    border-top: 1px solid #e5eef6;
    display: grid !important;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 112px;
    padding: 16px 18px;
}

body.mam-temporal-page .mam-shelter strong,
body.mam-temporal-page .mam-shelter span {
    display: block;
}

body.mam-temporal-page .mam-shelter strong {
    color: var(--mam-blue);
    font-size: clamp(23px, 3.5vw, 32px);
    line-height: 1;
}

body.mam-temporal-page .mam-shelter span {
    color: var(--mam-muted);
    font-size: 13px;
    margin-top: 8px;
    text-transform: uppercase;
}

body.mam-temporal-page .mam-shelter__maps {
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 0;
    max-width: 292px;
}

body.mam-temporal-page .mam-map-button,
body.mam-temporal-page .mam-map-button:visited {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(22, 27, 34, 0.08);
    color: #1f2937;
    display: inline-flex !important;
    gap: 8px;
    justify-content: flex-start;
    min-height: 42px;
    min-width: 136px;
    padding: 6px 12px 6px 7px;
    text-decoration: none !important;
}

body.mam-temporal-page .mam-map-button__icon {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 7px rgba(22, 27, 34, 0.08);
    color: #fff;
    display: inline-flex !important;
    flex: 0 0 auto;
    font-size: 13px;
    height: 28px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    text-transform: none;
    width: 28px;
}

body.mam-temporal-page .mam-map-button__icon img {
    display: block !important;
    height: 100%;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    width: 100%;
}

body.mam-temporal-page .mam-map-button__copy {
    color: inherit;
    display: grid !important;
    gap: 1px;
    line-height: 1.05;
    margin: 0;
    text-transform: none;
}

body.mam-temporal-page .mam-map-button__copy strong,
body.mam-temporal-page .mam-map-button__copy small {
    color: inherit;
    display: block;
    margin: 0;
    text-transform: none;
}

body.mam-temporal-page .mam-map-button__copy strong {
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

body.mam-temporal-page .mam-map-button__copy small {
    color: #667085;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
}

body.mam-temporal-page .mam-footer {
    background:
        linear-gradient(115deg, rgba(46, 63, 153, 0.96), rgba(239, 74, 27, 0.92)),
        #2e3f99;
    color: #fff;
}

body.mam-temporal-page .mam-footer__inner {
    align-items: center;
    display: grid !important;
    gap: 20px;
    justify-items: center;
    margin: 0 auto !important;
    max-width: 860px !important;
    padding: 36px 20px !important;
    text-align: center;
}

body.mam-temporal-page .mam-footer img {
    display: block;
    height: auto;
    max-width: 300px !important;
    width: 100% !important;
}

body.mam-temporal-page .mam-footer__content {
    display: grid;
    justify-items: center;
}

body.mam-temporal-page .mam-footer p {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 12px !important;
    text-transform: uppercase;
}

body.mam-temporal-page .mam-footer-socials {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

body.mam-temporal-page .mam-footer-socials a,
body.mam-temporal-page .mam-footer-socials a:visited {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    color: var(--mam-blue);
    gap: 9px;
    display: inline-flex !important;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 16px;
    text-decoration: none !important;
}

body.mam-temporal-page .mam-footer-socials svg {
    display: block;
    fill: none;
    flex: 0 0 auto;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}

body.mam-temporal-page .mam-footer-socials a:nth-child(2) svg {
    fill: currentColor;
    stroke: none;
}

body.mam-temporal-page .mam-status-strip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    display: grid !important;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

body.mam-temporal-page .mam-status-strip div {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
}

body.mam-temporal-page .mam-status-strip strong,
body.mam-temporal-page .mam-status-strip span {
    display: block;
}

body.mam-temporal-page .mam-status-strip strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
}

body.mam-temporal-page .mam-status-strip span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.35;
    margin-top: 5px;
}

body.mam-temporal-page .mam-feed-heading {
    margin: 0 auto;
    max-width: 980px;
    padding: 34px 20px 0;
    text-align: center;
}

body.mam-temporal-page .mam-feed-heading .mam-kicker {
    color: var(--mam-orange);
}

body.mam-temporal-page .mam-feed-heading h2 {
    color: var(--mam-ink);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 900;
    line-height: 1.08;
    margin: 0;
}

.mam-feed {
    display: grid;
    gap: 64px;
    margin: 0 auto;
    max-width: 980px;
    padding: 40px 20px 88px;
}

.mam-card {
    margin: 0 0 0 !important;
    position: relative;
    z-index: 3;
}

.mam-card + .mam-card {
    margin-top: 0 !important;
}

.mam-card__meta {
    align-items: center;
    background:
        linear-gradient(180deg, #fff8f4, #ffffff);
    border-bottom: 1px solid #e6edf4;
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 16px 18px 14px;
    text-align: center;
}

.mam-time-pill {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--mam-orange);
    display: grid;
    gap: 3px;
    font-weight: 900;
    justify-items: center;
    letter-spacing: 0;
    min-width: 0;
    padding: 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.mam-time-pill::before {
    background: linear-gradient(90deg, var(--mam-orange), #f99a00);
    border-radius: 999px;
    content: "";
    height: 4px;
    margin-bottom: 6px;
    width: 52px;
}

.mam-time-pill strong {
    color: var(--mam-orange);
    display: block;
    font-size: clamp(30px, 4.5vw, 42px);
    line-height: 0.95;
}

.mam-card__hours {
    color: #8a94a6;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.mam-card__date {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.mam-card__badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.mam-state-badge {
    background: rgba(46, 63, 153, 0.1);
    border-radius: 999px;
    color: var(--mam-blue);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
    text-transform: uppercase;
}

.mam-edit-link {
    align-items: center;
    background: var(--mam-ink);
    border: 1px solid rgba(22, 27, 34, 0.16);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    gap: 6px;
    letter-spacing: 0.04em;
    line-height: 1;
    min-height: 28px;
    padding: 0 11px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.mam-edit-link::before {
    content: "✎";
    font-size: 12px;
    line-height: 1;
}

.mam-edit-link:hover,
.mam-edit-link:focus-visible {
    background: var(--mam-blue);
    color: #fff !important;
}

.mam-state-badge--solved {
    background: #dcfce7;
    color: #15803d;
}

.mam-solved-ribbon {
    align-items: center;
    background:
        linear-gradient(90deg, #16a34a, #22c55e);
    color: #fff;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    text-align: center;
}

.mam-solved-ribbon span {
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.mam-solved-ribbon strong {
    font-size: 17px;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.mam-card__body,
.mam-empty {
    background: #f4f6f9;
    border: 1px solid #cfd9e5;
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82) inset,
        0 22px 50px rgba(22, 27, 34, 0.12);
    overflow: hidden;
}

.mam-card--featured .mam-card__body {
    border-color: rgba(239, 74, 27, 0.48);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.78) inset,
        0 22px 50px rgba(239, 74, 27, 0.18);
}

.mam-card--solved .mam-card__body {
    background:
        linear-gradient(180deg, #f0fdf4 0%, #f4f8f5 38%, #f4f6f9 100%);
    border: 2px solid rgba(22, 163, 74, 0.72);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.86) inset,
        0 0 0 5px rgba(34, 197, 94, 0.12),
        0 24px 54px rgba(22, 163, 74, 0.22);
}

.mam-card--featured.mam-card--solved .mam-card__body {
    border-color: rgba(22, 163, 74, 0.78);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.86) inset,
        0 0 0 5px rgba(34, 197, 94, 0.14),
        0 24px 54px rgba(22, 163, 74, 0.24);
}

.mam-card--solved .mam-card__meta {
    background:
        linear-gradient(180deg, #ecfdf3, #ffffff);
    border-bottom-color: rgba(22, 163, 74, 0.22);
}

.mam-media {
    background:
        linear-gradient(135deg, #e8eef5, #dde6ef);
    border-top: 1px solid #d9e2ec;
    display: grid;
    max-height: 460px;
    margin: 0;
    overflow: hidden;
    place-items: center;
    text-align: center;
}

.mam-media img,
.mam-media video {
    display: block;
    height: auto;
    max-height: 460px;
    max-width: min(100%, 820px);
    object-fit: contain;
    width: auto;
}

.mam-photo-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: zoom-in;
    display: grid;
    margin: 0;
    padding: 0;
    place-items: center;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.mam-photo-trigger::after {
    align-items: center;
    background: rgba(17, 24, 39, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: #fff;
    content: "⌕";
    display: inline-flex;
    font-size: 19px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    line-height: 1;
    opacity: 0.86;
    position: absolute;
    right: 12px;
    top: 12px;
    transition: opacity 0.18s ease, transform 0.18s ease;
    width: 36px;
    z-index: 2;
}

.mam-photo-trigger:hover::after,
.mam-photo-trigger:focus-visible::after {
    opacity: 1;
    transform: scale(1.04);
}

.mam-photo-trigger:focus-visible {
    border-radius: 8px;
    outline: 3px solid rgba(239, 74, 27, 0.45);
    outline-offset: 3px;
}

.mam-media--image {
    padding: 10px;
}

.mam-media--image img {
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(22, 27, 34, 0.12);
}

.mam-media--image .mam-photo-trigger {
    max-width: min(100%, 820px);
}

.mam-media--gallery {
    align-items: stretch;
    background: #eef3f8;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding: 10px;
}

.mam-media--gallery img {
    aspect-ratio: 4 / 3;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(22, 27, 34, 0.09);
    height: 100%;
    max-height: none;
    object-fit: cover;
    width: 100%;
}

.mam-media--gallery .mam-photo-trigger {
    border-radius: 8px;
    height: 100%;
    min-height: 0;
}

.mam-media--gallery .mam-photo-trigger:first-child:nth-last-child(3),
.mam-media--gallery .mam-photo-trigger:first-child:nth-last-child(5) {
    grid-column: 1 / -1;
}

.mam-lightbox {
    align-items: center;
    background: rgba(8, 13, 24, 0.92);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 999999;
}

.mam-lightbox.is-open {
    display: flex;
}

html.mam-lightbox-open,
body.mam-lightbox-open {
    overflow: hidden;
}

.mam-lightbox__image {
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    display: block;
    max-height: calc(100vh - 88px);
    max-width: calc(100vw - 36px);
    object-fit: contain;
}

.mam-lightbox__close {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    color: #172033;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 44px;
}

.mam-lightbox__close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.62);
    outline-offset: 4px;
}

.mam-media--video {
    max-height: none;
    padding: 0;
}

.mam-media iframe {
    display: block;
    max-width: 100%;
    width: 100%;
}

.mam-media iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.mam-media .wp-video,
.mam-media video {
    max-height: 460px;
    width: 100% !important;
}

.mam-media--embed {
    max-height: none;
    padding: 0;
}

.mam-media--instagram {
    background:
        linear-gradient(180deg, #f7f9fc, #eef3f8);
    max-height: none;
    padding: 18px 12px;
}

.mam-media--instagram iframe,
.mam-media--instagram blockquote {
    border-radius: 8px !important;
    margin: 0 auto !important;
    max-width: 500px !important;
    min-width: 0 !important;
    width: 100% !important;
}

.mam-media--instagram iframe {
    aspect-ratio: auto !important;
    min-height: 540px;
}

.mam-media--instagram .mam-instagram-iframe {
    aspect-ratio: auto !important;
    background: #fff;
    border: 0;
    border-radius: 8px;
    display: block;
    height: 690px;
    max-width: 500px;
    min-height: 620px;
    width: 100%;
}

.mam-instagram-embed-shell {
    display: grid;
    justify-items: center;
    min-height: 560px;
    place-items: center;
    position: relative;
    width: min(100%, 500px);
}

.mam-instagram-embed-shell::before {
    color: #667085;
    content: "Cargando publicación de Instagram...";
    font-size: 13px;
    font-weight: 800;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.mam-instagram-embed-shell .instagram-media {
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 16px 36px rgba(22, 27, 34, 0.12) !important;
    min-height: 520px;
    position: relative !important;
    z-index: 1;
}

.mam-instagram-fallback,
.mam-instagram-fallback:visited {
    color: #2e3f99;
    display: inline-flex !important;
    font-size: 12px;
    font-weight: 900;
    margin-top: 10px;
    text-decoration: none !important;
}

.mam-embed-link,
.mam-embed-link:visited {
    align-items: center;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(135deg, rgba(46, 63, 153, 0.88), rgba(239, 74, 27, 0.9));
    color: #fff;
    display: grid;
    justify-items: center;
    padding: 24px;
    text-align: center;
    text-decoration: none !important;
}

.mam-embed-link span {
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
    text-transform: uppercase;
}

.mam-embed-link strong {
    display: block;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    margin-top: 12px;
}

.mam-card__text {
    background: #f8fafc;
    padding: 28px 30px 30px;
    text-align: center;
}

.mam-source {
    color: var(--mam-blue);
    text-align: center;
}

.mam-card h2,
.mam-empty h2 {
    color: var(--mam-ink);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 12px;
}

.mam-description {
    color: #2c333a;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.mam-description p {
    margin: 0 0 12px;
}

.mam-description p:last-child {
    margin-bottom: 0;
}

.mam-empty {
    padding: 34px;
    text-align: center;
}

.mam-empty p {
    color: var(--mam-muted);
    margin: 0;
}

@media (max-width: 720px) {
    .mam-hero__inner {
        padding: 16px 16px 28px;
    }

    .mam-topbar {
        align-items: center;
        flex-direction: column;
    }

    .mam-topbar__links {
        width: 100%;
    }

    .mam-topbar__links a {
        flex: 1;
        text-align: center;
    }

    .mam-hero__main {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 22px 0 12px;
    }

    .mam-hero__logo {
        width: min(100%, 300px);
    }

    .mam-hero h1 {
        font-size: clamp(42px, 15vw, 64px);
    }

    .mam-actions {
        flex-direction: column;
    }

    .mam-button {
        width: 100%;
    }

    .mam-status-strip {
        grid-template-columns: 1fr;
    }

    body.mam-temporal-page .mam-quick-phones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.mam-temporal-page .mam-info-grid {
        grid-template-columns: 1fr;
    }

    body.mam-temporal-page .mam-shelter {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    body.mam-temporal-page .mam-shelter__maps {
        justify-content: center;
        max-width: 100%;
    }

    body.mam-temporal-page .mam-phone-row {
        grid-template-columns: 1fr;
    }

    body.mam-temporal-page .mam-phone-actions {
        justify-content: flex-start;
    }

    body.mam-temporal-page .mam-phone-actions a {
        flex: 1 1 140px;
        justify-content: center;
    }

    body.mam-temporal-page .mam-footer__inner {
        grid-template-columns: 1fr;
    }

    body.mam-temporal-page .mam-footer-socials a {
        flex: 1 1 140px;
    }

    .mam-card {
        border-radius: 14px;
    }

    .mam-card + .mam-card {
        margin-top: 0 !important;
    }

    .mam-feed {
        gap: 54px;
        padding-top: 34px;
    }

    .mam-card__meta {
        align-items: center;
        padding: 14px 12px 12px;
    }

    .mam-time-pill {
        width: 100%;
    }

    .mam-card__badges {
        justify-content: center;
        width: 100%;
    }

    .mam-card__hours,
    .mam-card__date {
        font-size: 10px;
    }

    .mam-card__text {
        padding: 22px 18px 24px;
    }

    .mam-media,
    .mam-media img,
    .mam-media video,
    .mam-media .wp-video {
        max-height: 360px;
    }

    .mam-media--gallery {
        gap: 7px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        padding: 8px;
    }

    .mam-media--gallery img {
        max-height: none;
    }

    .mam-media--embed,
    .mam-media--instagram {
        max-height: none;
    }

    .mam-media--instagram {
        padding: 10px;
    }

    .mam-instagram-embed-shell {
        min-height: 500px;
        width: 100%;
    }

    .mam-media--instagram iframe {
        min-height: 500px;
    }

    .mam-media--instagram .mam-instagram-iframe {
        height: 640px;
        max-height: none;
        min-height: 560px;
    }

    .mam-form-grid {
        grid-template-columns: 1fr;
    }

    .mam-front-form {
        padding: 18px;
    }

    .mam-rain-float {
        bottom: 10px !important;
        grid-template-columns: 32px repeat(4, minmax(54px, 1fr)) !important;
        left: 50% !important;
        max-width: min(356px, calc(100vw - 20px)) !important;
        padding: 16px 10px 11px !important;
        transform: translateX(-50%) !important;
    }

    .mam-rain-metrics {
        grid-template-columns: repeat(4, minmax(54px, 1fr)) !important;
    }

    .mam-rain-metrics div {
        min-width: 54px !important;
        padding: 6px 5px !important;
    }

    .mam-rain-metrics strong {
        font-size: 14px;
    }

    .mam-rain-metrics span {
        font-size: 7px;
    }

    .mam-rain-float__icon {
        height: 30px;
        width: 30px;
    }

    .mam-form-head {
        grid-template-columns: 1fr;
    }

    .mam-form-wrap {
        transform: translateY(-18px);
    }

    .mam-home-hero {
        min-height: auto;
    }

    .mam-home-bg {
        background-position: right -150px top -22px;
        background-size: 520px auto;
        opacity: 0.1;
    }

    .mam-home-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .mam-home-status {
        white-space: normal;
    }

    .mam-home-grid {
        grid-template-columns: 1fr;
        padding: 42px 0 34px;
    }

    .mam-home-copy h1 {
        font-size: clamp(46px, 15vw, 70px);
    }

    .mam-home-actions {
        flex-direction: column;
    }

    .mam-home-button {
        width: 100%;
    }

    .mam-home-quick-grid,
    .mam-home-contact-grid,
    .mam-home-footer-grid {
        grid-template-columns: 1fr;
    }

    .mam-home-contact--wide {
        grid-column: auto;
    }

    .mam-home-footer-grid {
        justify-items: center;
        text-align: center;
    }

    .mam-home-footer nav {
        justify-content: center;
    }
}
