/* =========================================================
   Navbar
   ========================================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: var(--bg-nav);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
        background 0.25s var(--ease);
}

.nav.is-elevated {
    box-shadow: 0 6px 24px -16px rgba(14, 23, 38, 0.22);
    border-color: var(--line-2);
    background: var(--bg-nav-elevated);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.logo {
    width: 32px;
    height: 32px;
}

.nav__links {
    display: flex;
    gap: 28px;
}

.nav__links a {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease);
}

.nav__links a:hover {
    color: var(--ink);
}

.nav__links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.theme-toggle:hover {
    background: var(--bg-soft);
    border-color: var(--line-2);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

.nav__burger {
    display: none;
    background: none;
    border: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav__burger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__drawer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--line-2);
    background: var(--bg);
}

.nav__drawer a {
    color: var(--ink);
    font-weight: 600;
    padding: 10px 0;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 96px 0 120px;
    /* White space: dar aire jerárquico a la sección principal */
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line-2);
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 14s ease-in-out infinite;
}

.blob--blue {
    background: var(--blue-600);
    top: -180px;
    left: -120px;
}

.blob--green {
    background: var(--green);
    bottom: -200px;
    right: -120px;
    animation-delay: -4s;
}

.blob--orange {
    background: var(--orange);
    top: 40%;
    right: 20%;
    width: 280px;
    height: 280px;
    opacity: 0.18;
    animation-delay: -8s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -30px);
    }
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}


.hero__title {
    line-height: 1.1;
    /* Typography Hierarchy: bloque sólido */
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 1.12rem;
    max-width: 540px;
    color: var(--muted);
    margin-bottom: 32px;
}

.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.92rem;
    color: var(--muted);
}

.hero__trust strong {
    color: var(--ink);
    font-weight: 700;
    margin-right: 4px;
}

/* Hero mock */
.hero__mock {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mock--card {
    width: 100%;
    max-width: 420px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-2);
}

.mock__head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.mock__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.mock__title {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--muted);
}

.mock__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.mock__bar {
    background: var(--bg-soft);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.mock__bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--blue-600));
    border-radius: 999px;
}

.mock__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 0.78rem;
    text-align: center;
    color: var(--muted-2);
}

.mock__steps li {
    position: relative;
    padding-top: 18px;
}

.mock__steps li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--line);
    border-radius: 50%;
    transform: translateX(-50%);
}

.mock__steps li.is-done::before {
    background: var(--green);
}

.mock__steps li.is-active::before {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(242, 92, 31, 0.2);
}

.mock__map {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 10px;
}

.mock--badge {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-2);
    align-self: flex-start;
    margin-top: 10px;
    z-index: 2;
}

.mock--badge svg {
    width: 28px;
    height: 28px;
}

.mock--badge strong {
    display: block;
    font-size: 0.85rem;
}

.mock--badge span {
    font-size: 0.78rem;
    color: var(--muted);
}


/* =========================================================
   Circular Storytelling: "El Círculo se Cierra"
   ========================================================= */
.story-circle {
    padding: 80px 0 96px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.story-circle__container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .story-circle__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.story-circle__title {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.18;
    margin: 12px 0 16px;
    letter-spacing: -0.025em;
    color: var(--fg);
}

.story-circle__title .text-gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-circle__lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
}

@media (max-width: 991px) {
    .story-circle__lead {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tarjeta dinámica de la etapa activa */
.story-card {
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: 0 10px 24px -6px rgba(11, 74, 143, 0.1);
    margin-bottom: 24px;
    text-align: left;
    transition: all 0.35s ease;
    position: relative;
}

.story-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.story-card__status {
    font-size: 0.8rem;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fg);
    margin-bottom: 8px;
}

.story-card__desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.story-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--line-2);
    font-size: 0.82rem;
}

.story-meta-badge {
    background: var(--bg-soft);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--fg);
    border: 1px solid var(--line-2);
}

.story-meta-points {
    color: #16a34a;
    font-weight: 700;
}

/* Selector Interactivo de Etapas */
.story-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 991px) {
    .story-pills {
        justify-content: center;
    }
}

.story-pill {
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 20px;
    min-height: 48px;
    padding: 8px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.story-pill span {
    font-weight: 800;
    color: var(--blue);
    font-size: 0.76rem;
}

.story-pill:hover {
    border-color: var(--blue);
    color: var(--fg);
    transform: translateY(-1px);
}

.story-pill.is-active {
    background: var(--btn-blue-bg, #0b4a8f);
    border-color: var(--btn-blue-bg, #0b4a8f);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 74, 143, 0.25);
}

.story-pill.is-active span {
    color: #dbeafe;
}

.story-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 991px) {
    .story-actions {
        justify-content: center;
    }
}

/* ==================== DIAL CIRCULAR ==================== */
.story-circle__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.dial-container {
    --dial-size: min(520px, 92vw);
    --radius: clamp(130px, 26vw, 190px);
    width: var(--dial-size);
    height: var(--dial-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dial-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Hub Central */
.dial-hub {
    position: absolute;
    width: clamp(140px, 28vw, 185px);
    height: clamp(140px, 28vw, 185px);
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line-2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    z-index: 5;
    pointer-events: none;
}

.dial-hub__badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.dial-hub__title {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    font-weight: 800;
    color: var(--fg);
    line-height: 1.15;
    margin-bottom: 4px;
}

.dial-hub__sub {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dial-hub__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(22, 163, 74, 0.25);
    animation: hubPulse 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hubPulse {
    0% { transform: scale(0.96); opacity: 0.8; }
    50% { transform: scale(1.04); opacity: 0.3; }
    100% { transform: scale(0.96); opacity: 0.8; }
}

/* Nodos / Hitos Alrededor de la Circunferencia */
.dial-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
    cursor: pointer;
    z-index: 8;
    transition: transform 0.4s var(--ease);
}

.dial-node:hover {
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle))) scale(1.12);
}

.dial-node__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--line-2);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.dial-node.is-active .dial-node__dot,
.dial-node.is-passed .dial-node__dot {
    background: var(--btn-blue-bg, #0b4a8f);
    border-color: var(--btn-blue-bg, #0b4a8f);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 74, 143, 0.2);
}

.dial-node.is-closing .dial-node__dot {
    background: var(--btn-secondary-bg, #157a4f);
    border-color: var(--btn-secondary-bg, #157a4f);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.25);
}

/* Etiquetas exteriores de los nodos */
.dial-node__label {
    position: absolute;
    width: 140px;
    text-align: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.dial-node__label strong {
    display: block;
    font-size: 0.85rem;
    color: var(--fg);
    font-weight: 700;
}

.dial-node__label span {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
}

.dial-node.is-active .dial-node__label strong {
    color: var(--blue);
}

.dial-node.is-closing .dial-node__label strong {
    color: #16a34a;
}

/* Posicionamiento de las 4 etiquetas alrededor del círculo */
.dial-node__label--top {
    bottom: 54px;
    left: 50%;
    transform: translateX(-50%);
}

.dial-node__label--right {
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.dial-node__label--bottom {
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.dial-node__label--left {
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

@media (max-width: 600px) {
    .dial-node__label {
        display: none;
    }
}

/* Camión Navegante */
.dial-truck {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 32px;
    margin-left: -26px;
    margin-top: -16px;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
}

.dial-truck__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 12px rgba(11, 74, 143, 0.28));
}

.dial-truck__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================================
   How it works
   ========================================================= */
.how {
    padding: 120px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
}

.how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================================================
   Metrics
   ========================================================= */
.metrics {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--blue-900), var(--blue));
    color: #fff;
}

.metrics h2 {
    color: #fff;
}

.metrics p {
    color: rgba(255, 255, 255, 0.78);
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.metric strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.metric span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-top: 6px;
}

/* =========================================================
   Map
   ========================================================= */
.map-sec {
    padding: 120px 0;
}

.map-sec__legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: var(--muted);
}

.map-sec__legend .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.dot--blue {
    background: var(--blue);
}

.dot--green {
    background: var(--green);
}

.dot--orange {
    background: var(--orange);
}

.map-sec__container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-2);
    background: var(--bg);
}

.map-sec__map-wrap {
    min-height: 480px;
    height: 100%;
}

.map-sec__map {
    height: 100%;
    min-height: 480px;
    width: 100%;
}

.map-sec__sidebar {
    background: var(--bg);
    border-left: 1px solid var(--line-2);
    display: flex;
    flex-direction: column;
    max-height: 520px;
}

.map-sec__sidebar-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line-2);
    background: var(--bg-soft);
}

.map-sec__sidebar-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ink);
}

.map-sec__sidebar-head p {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
}

.map-sec__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.map-sec__item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-2);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.map-sec__item:hover {
    background: var(--bg-soft);
}

.map-sec__item.is-active {
    background: rgba(1, 118, 211, 0.08);
    border-left: 3px solid #0176d3;
}

.map-sec__item .dot {
    margin-top: 5px;
    flex-shrink: 0;
}

.map-sec__item-body strong {
    display: block;
    font-size: 0.88rem;
    color: var(--ink);
    margin-bottom: 2px;
}

.map-sec__item-body span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
}

/* =========================================================
   Ajustes Dark Mode para Mapa y Popups Leaflet
   ========================================================= */
[data-theme="dark"] .map-sec__item.is-active {
    background: rgba(96, 165, 250, 0.16);
    border-left: 3px solid var(--blue);
}

[data-theme="dark"] .map-sec__item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .map-sec__item-body strong {
    color: #f9fafb !important;
}

[data-theme="dark"] .map-sec__item-body span {
    color: #9ca3af !important;
}

[data-theme="dark"] .map-sec__sidebar-head h3 {
    color: #f9fafb !important;
}

[data-theme="dark"] .map-sec__sidebar-head p {
    color: #9ca3af !important;
}

[data-theme="dark"] .map-sec__legend span {
    color: #e5e7eb;
}

[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip {
    background: #111827 !important;
    color: #f9fafb !important;
    border: 1px solid #374151;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .leaflet-popup-content h3,
[data-theme="dark"] .leaflet-popup-content strong {
    color: #f9fafb !important;
}

[data-theme="dark"] .leaflet-popup-content p {
    color: #d1d5db !important;
}

[data-theme="dark"] .leaflet-popup-close-button {
    color: #9ca3af !important;
}

@media (max-width: 900px) {
    .map-sec__container {
        grid-template-columns: 1fr;
    }
    .map-sec__sidebar {
        border-left: none;
        border-top: 1px solid var(--line-2);
        max-height: 260px;
    }
}

/* Custom Leaflet marker */
.dt-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(14, 23, 38, 0.25);
}

.dt-marker--blue {
    background: var(--blue);
}

.dt-marker--green {
    background: var(--green);
}

.dt-marker--orange {
    background: var(--orange);
}

/* Modal */
[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 16px;
    border: 0;
    background: transparent;
    color: inherit;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
}

.modal::backdrop {
    background: transparent;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 23, 38, 0.55);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s var(--ease);
}

.modal__panel {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: pop 0.25s var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-nav-elevated);
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
}

.modal__media {
    height: 160px;
    background: linear-gradient(135deg, var(--blue-50), var(--green-50));
    display: grid;
    place-items: center;
    font-size: 3rem;
}

.modal__body {
    padding: 22px 24px 26px;
}

.modal__body h3 {
    margin: 10px 0 8px;
}

.modal__meta {
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.modal__meta dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-2);
    margin-bottom: 4px;
}

.modal__meta dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.92rem;
}

/* =========================================================
   Campaigns
   ========================================================= */
.camp {
    padding: 120px 0;
    background: var(--bg-soft);
}

.camp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.campaign {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.campaign:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.campaign__img {
    height: 210px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.campaign__img--1 {
    background-color: #d97745;
    background-image: linear-gradient(180deg, rgba(11, 21, 40, 0.14) 0%, rgba(11, 21, 40, 0.34) 100%), url("/img/alimentoComedoresSur.avif");
}

.campaign__img--2 {
    background-color: #2f7d5b;
    background-image: linear-gradient(180deg, rgba(11, 21, 40, 0.14) 0%, rgba(11, 21, 40, 0.34) 100%), url("/img/ropaAbrigo.jpg");
}

.campaign__img--3 {
    background-color: #265994;
    background-image: linear-gradient(180deg, rgba(11, 21, 40, 0.14) 0%, rgba(11, 21, 40, 0.34) 100%), url("/img/fortalecimiento-educativo.webp");
}

.campaign__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 21, 40, 0.08) 0%, transparent 45%);
    pointer-events: none;
}


.campaign__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.campaign__body h3 {
    margin: 0;
}

.campaign__body p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.bar {
    background: var(--bg-soft);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-600));
    border-radius: 999px;
}

.campaign__stats {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--muted);
}

.campaign__stats strong {
    color: var(--ink);
    font-size: 1rem;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testi {
    padding: 120px 0;
}

.testi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding: 120px 0;
    background: var(--bg-soft);
}

.faq__wrap {
    max-width: 820px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq details {
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq details[open] {
    border-color: var(--blue-50);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq__chev {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
    flex: 0 0 auto;
}

.faq details[open] .faq__chev {
    transform: rotate(-135deg);
}

.faq details p {
    padding: 0 22px 22px;
    margin: 0;
    color: var(--muted);
}

/* =========================================================
   Access / Register
   ========================================================= */
.access {
    padding: 120px 0;
}

.access__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.access__card {
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: left;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.access__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.access__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.access__icon svg {
    width: 28px;
    height: 28px;
}

.access__icon--blue {
    background: var(--blue-50);
    color: var(--blue);
}

.access__icon--green {
    background: var(--green-50);
    color: var(--green);
}

.access__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.access__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.access__privacy svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
    flex: 0 0 auto;
    margin-top: 1px;
}

.access__privacy a {
    font-weight: 600;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: #091220;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.footer__brand .nav__brand {
    color: #fff;
    margin-bottom: 14px;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
    font-size: 0.92rem;
}

.footer__badges {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.trust {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.footer ul a:hover {
    color: #fff;
}

.footer__social {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.footer__social a {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2a3547;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer__social a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer__bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   Chatbot
   ========================================================= */
.chatbot__fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: 0;
    box-shadow: 0 14px 32px -10px rgba(242, 92, 31, 0.6);
    cursor: pointer;
    z-index: 9990;
    display: grid;
    place-items: center;
    transition: transform 0.2s var(--ease);
}

.chatbot__fab:hover {
    transform: scale(1.06);
}

.chatbot__fab svg {
    width: 26px;
    height: 26px;
}

.chatbot {
    position: fixed;
    bottom: 96px;
    right: 24px;
    left: auto;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-2);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    animation: chatPop 0.25s var(--ease);
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: inherit;
}

@keyframes chatPop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
}

.chatbot__head {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-2);
    background: linear-gradient(135deg, var(--bg), var(--blue-50));
}

.chatbot__who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot__avatar svg {
    width: 36px;
    height: 36px;
    display: block;
}

.chatbot__who strong {
    display: block;
    font-size: 0.95rem;
}

.chatbot__status {
    font-size: 0.78rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chatbot__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

.chatbot__close {
    background: transparent;
    border: 0;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
}

.chatbot__log {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-soft);
}

.msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
    max-width: 85%;
    line-height: 1.45;
    animation: msgIn 0.2s var(--ease);
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

.msg--bot {
    background: var(--bg);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--line-2);
}

.msg--user {
    background: var(--btn-blue-bg, #0b4a8f);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--line-2);
    background: var(--bg);
}

.chip {
    border: 1px solid var(--line);
    background: var(--bg);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    cursor: pointer;
    color: var(--ink-2);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chip:hover {
    background: var(--blue-50);
    border-color: var(--blue-50);
    color: var(--blue);
}

.chatbot__form {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--line-2);
    background: var(--bg);
}

.chatbot__form input {
    flex: 1;
    min-height: 48px;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.92rem;
}

.chatbot__form input:focus {
    outline: 2px solid var(--blue-50);
    border-color: var(--blue);
}

.chatbot__form .btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
}

.chatbot__form .btn svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {

    .nav__links,
    .nav__cta .btn {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__mock {
        order: -1;
    }

    .how__grid,
    .camp__grid,
    .testi__grid {
        grid-template-columns: 1fr;
    }

    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .access__grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0 72px;
    }

    .how,
    .camp,
    .testi,
    .faq,
    .access,
    .map-sec {
        padding: 72px 0;
    }

    .metrics {
        padding: 64px 0;
    }

    .section-head--row {
        align-items: flex-start;
    }

    .chatbot {
        bottom: 88px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =========================================================
   Page Loader
   ========================================================= */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.container-dt {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* BOX */
.box-wrapper {
    position: relative;
    width: 82px;
    height: 82px;
    animation:
        slideIn 0.8s cubic-bezier(.22, 1, .36, 1) forwards,
        floatBox 2s ease-in-out infinite 0.8s;
}

.speed-line {
    position: absolute;
    height: 6px;
    border-radius: 999px;
    background: var(--muted-2);
    left: -60px;
    opacity: 0;
    animation: lines 0.5s ease forwards, wind 1.5s ease-in-out infinite 0.5s;
}

.line1 {
    width: 42px;
    top: 22px;
}

.line2 {
    width: 26px;
    top: 38px;
    animation-delay: .05s;
}

.line3 {
    width: 35px;
    top: 54px;
    animation-delay: .1s;
}

.box {
    width: 82px;
    height: 82px;
    position: relative;
    z-index: 2;
}

/* TEXT */
.brand-dt {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dona {
    font-size: clamp(32px, 8vw, 54px);
    font-weight: 700;
    letter-spacing: -3px;
    color: var(--ink);
    width: max-content;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    animation: revealText 0.8s cubic-bezier(.22, 1, .36, 1) 1.2s forwards;
}

.track {
    color: var(--muted-2);
}

/* ANIMATIONS */
@keyframes slideIn {
    from {
        transform: translateX(-220px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes lines {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wind {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-6px);
    }
}

@keyframes revealText {
    from {
        max-width: 0;
        opacity: 0;
    }

    to {
        max-width: 320px;
        opacity: 1;
    }
}

@keyframes floatBox {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .calculator-results {
    grid-template-columns: 1fr !important;
  }
}

.map-sec__item {
  min-height: 48px;
}

.ranking-pub {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.ranking-pub__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.ranking-pub__card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 340px;
  max-width: 360px;
  width: 100%;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.ranking-pub__pos {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ranking-pub__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ranking-pub__name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.ranking-pub__stats {
  font-size: 0.85rem;
  color: var(--muted);
}

.ranking-pub__empty {
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}

/* =========================================================
   Novedades (Estilo Editorial Cáritas / Comunidad)
   ========================================================= */
.novedades-sec {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.novedades-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.novedad-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.novedad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.novedad-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line-2);
  position: relative;
}

.novedad-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.novedad-card:hover .novedad-card__img {
  transform: scale(1.03);
}

.novedad-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.novedad-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.novedad-card__date-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.novedad-card__date-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--muted);
}

.novedad-card__date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.novedad-card__title {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.novedad-card__title a {
  color: inherit;
  text-decoration: none;
}

.novedad-card__title a:hover {
  color: #b11f24;
}

.novedad-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.novedad-card__actions {
  margin-top: 6px;
}

.novedad-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b11f24;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.novedad-card__btn:hover {
  background: #8f161a;
  color: #ffffff;
}

/* ---------- Mini-Blog Detalle de Novedad ---------- */
.novedad-post-sec {
  padding: 64px 0 88px;
  background: var(--bg);
}

.novedad-post__container {
  max-width: 800px;
  margin: 0 auto;
}

.novedad-post__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 18px;
}

.novedad-post__breadcrumb:hover {
  color: #b11f24;
}

.novedad-post__header {
  margin-bottom: 24px;
}

.novedad-post__date {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #b11f24;
  margin-bottom: 10px;
}

.novedad-post__title {
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

.novedad-post__hero {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
}

.novedad-post__hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.novedad-post__body {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink);
}

.novedad-post__body p {
  margin: 0 0 20px;
  color: var(--ink);
}

.novedad-post__subtitle {
  font-size: 1.38rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  margin: 34px 0 14px;
}

.novedad-post__share {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.novedad-post__share-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.novedad-post__share-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.novedad-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.novedad-share-btn:hover {
  border-color: #b11f24;
  color: #b11f24;
}

.novedad-share-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.novedad-latest {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line-2);
}

.novedad-latest__heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
}

@media (max-width: 960px) {
  .novedades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .novedades-grid {
    grid-template-columns: 1fr;
  }
}
