/* Inicio 1.1 — portada editorial, territorial y accesible. */

body.page-explora .main-content > .container {
    max-width: none;
    padding: 0;
}

.market-home {
    --home-shell-max: 1760px;
    --home-content-max: 1600px;
    --home-gutter: clamp(16px, 3.35vw, 64px);
    color: var(--d360-ink);
    background: var(--d360-surface);
}

.home-shell {
    width: min(100%, var(--home-shell-max));
    margin-inline: auto;
    padding-inline: max(var(--home-gutter), var(--d360-safe-left));
}

.home-content-shell {
    max-width: var(--home-content-max);
    padding-bottom: var(--d360-section-gap);
}

.home-alert-shell {
    padding-top: 18px;
}

.home-alert {
    padding: 13px 16px;
    border: 1px solid #efc5d3;
    border-radius: var(--d360-radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--d360-brand-strong);
    background: var(--d360-brand-soft);
}

/* Hero full-bleed: la superficie llega a los bordes y el contenido conserva
   una longitud de lectura humana dentro de un lienzo de hasta 1760 px. */
.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.94), transparent 31%),
        radial-gradient(circle at 84% 14%, rgba(239, 208, 218, 0.6), transparent 28%),
        linear-gradient(135deg, #fbfaf8 0%, #f7f3f2 54%, #f2ecef 100%);
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: auto auto -240px -180px;
    z-index: -1;
    width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(227, 28, 95, 0.055);
}

.home-hero-shell {
    min-height: clamp(540px, 38vw, 580px);
    padding-block: clamp(28px, 3.3vw, 48px);
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
    align-items: stretch;
    gap: clamp(32px, 4.3vw, 72px);
}

.home-hero-intro {
    align-self: center;
    max-width: 650px;
}

.home-hero-intro .d360-eyebrow {
    margin-bottom: 12px;
}

.home-hero-intro h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--d360-ink);
    font-size: clamp(3.15rem, 4.35vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.062em;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 58ch;
    margin: clamp(18px, 2vw, 26px) 0 0;
    color: var(--d360-ink-secondary);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.58;
}

.home-hero-actions {
    max-width: 610px;
    margin-top: clamp(22px, 2.5vw, 32px);
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-intent-search {
    min-width: min(100%, 390px);
    min-height: 62px;
    padding: 8px 19px;
    border: 1px solid rgba(31, 31, 31, 0.18);
    border-radius: var(--d360-radius-pill);
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--d360-ink);
    background: var(--d360-surface);
    box-shadow: 0 10px 28px rgba(43, 30, 35, 0.09);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-intent-search:hover {
    border-color: rgba(31, 31, 31, 0.44);
    box-shadow: 0 14px 34px rgba(43, 30, 35, 0.14);
    transform: translateY(-1px);
}

.home-intent-search > svg {
    flex: none;
    color: var(--d360-brand-strong);
}

.home-intent-search > span {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.home-intent-search small {
    overflow: hidden;
    color: var(--d360-ink-secondary);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-intent-search strong {
    overflow: hidden;
    font-size: 0.91rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-explore-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--d360-ink);
    font-size: 0.92rem;
    font-weight: 720;
    text-decoration: none;
    white-space: nowrap;
}

.home-explore-link:hover {
    color: var(--d360-brand-strong);
}

/* Carrusel editorial manual. No existe animación temporal ni autoplay. */
.home-editorial-slider,
.home-slider-viewport,
.home-hero-slide {
    min-width: 0;
    min-height: 0;
}

.home-editorial-slider {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: clamp(24px, 2.4vw, 36px);
    background: #8b2348;
    box-shadow: 0 22px 56px rgba(50, 31, 38, 0.18);
}

.home-slider-viewport,
.home-hero-slide {
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #8f1742, #e31c5f 62%, #ff8067);
}

.home-hero-slide[hidden] {
    display: none !important;
}

.home-hero-slide.has-bg-teal { background: linear-gradient(145deg, #083f43, #087f75 58%, #54b6a7); }
.home-hero-slide.has-bg-naranja { background: linear-gradient(145deg, #7e3512, #df6c27 58%, #ffc067); }
.home-hero-slide.has-bg-azul { background: linear-gradient(145deg, #173c65, #337aaf 58%, #85c7da); }
.home-hero-slide.has-bg-verde { background: linear-gradient(145deg, #173d2d, #347d4a 58%, #8db760); }

.home-slide-media,
.home-slide-media img,
.home-slide-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-slide-media img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-slide-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(12, 12, 12, 0.72) 0%, rgba(12, 12, 12, 0.22) 68%, rgba(12, 12, 12, 0.08) 100%),
        linear-gradient(0deg, rgba(12, 12, 12, 0.75) 0%, transparent 58%);
}

.home-hero-slide:not(.has-image) .home-slide-shade {
    background: linear-gradient(120deg, rgba(10, 10, 10, 0.22), transparent 70%);
}

.home-hero-slide.is-theme-light {
    color: #1e2322;
}

.home-hero-slide.is-theme-light .home-slide-shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.08));
}

.home-slide-landscape,
.home-slide-landscape::before,
.home-slide-landscape::after,
.home-slide-landscape i,
.home-slide-landscape b {
    position: absolute;
    display: block;
}

.home-slide-landscape {
    inset: 0;
    overflow: hidden;
}

.home-slide-landscape::before {
    content: '';
    top: 14%;
    right: 13%;
    width: clamp(54px, 8vw, 106px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 244, 211, 0.9);
    box-shadow: 0 0 80px rgba(255, 232, 165, 0.32);
}

.home-slide-landscape::after,
.home-slide-landscape i,
.home-slide-landscape b {
    content: '';
    right: -12%;
    bottom: -22%;
    left: 23%;
    height: 64%;
    border-radius: 50% 50% 0 0;
    background: rgba(10, 52, 42, 0.42);
    transform: rotate(-7deg);
}

.home-slide-landscape i {
    right: 32%;
    bottom: -28%;
    left: -22%;
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(8deg);
}

.home-slide-landscape b {
    right: -30%;
    bottom: -41%;
    left: 46%;
    background: rgba(20, 20, 20, 0.2);
    transform: rotate(12deg);
}

.home-slide-copy {
    position: absolute;
    right: clamp(24px, 4vw, 58px);
    bottom: clamp(30px, 4vw, 52px);
    left: clamp(24px, 4vw, 58px);
    z-index: 2;
    max-width: 620px;
    padding-right: 128px;
}

.home-slide-copy p {
    margin: 0 0 8px;
    color: currentColor;
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.1em;
    opacity: 0.82;
    text-transform: uppercase;
}

.home-slide-copy h2 {
    max-width: 18ch;
    margin: 0;
    color: currentColor;
    font-size: clamp(2rem, 3.15vw, 3.75rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.home-slide-copy > span {
    max-width: 52ch;
    margin-top: 12px;
    display: block;
    color: currentColor;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.45;
    opacity: 0.84;
}

.home-slide-copy > a {
    min-height: 48px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: var(--d360-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d1d1d;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.is-theme-light .home-slide-copy > a {
    color: #fff;
    background: #202020;
}

.home-sample-label {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 3;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--d360-radius-pill);
    color: #fff;
    background: rgba(20, 20, 20, 0.36);
    backdrop-filter: blur(8px);
    font-size: 0.66rem;
    font-weight: 650;
}

.home-slider-controls {
    position: absolute;
    right: clamp(18px, 2vw, 28px);
    bottom: clamp(18px, 2vw, 28px);
    z-index: 4;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--d360-radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    background: rgba(15, 15, 15, 0.42);
    backdrop-filter: blur(12px);
}

.home-slider-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.home-slider-controls button:hover {
    background: rgba(255, 255, 255, 0.24);
}

.home-slider-controls [data-slider-counter] {
    min-width: 60px;
    padding-inline: 6px;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 680;
    text-align: center;
}

/* Secciones del marketplace. */
.home-section,
.home-route-callout {
    margin-top: var(--d360-section-gap);
}

.home-section-intro {
    max-width: 64ch;
    margin: 8px 0 0;
    color: var(--d360-ink-secondary);
    line-height: 1.5;
}

.market-home .d360-section-heading > a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.home-territory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-territory-card {
    min-width: min(100%, 330px);
    min-height: 82px;
    padding: 15px 17px;
    border: 1px solid var(--d360-border);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    flex: 1 1 330px;
    color: var(--d360-ink);
    background: var(--d360-surface);
    text-decoration: none;
    box-shadow: var(--d360-shadow-sm);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-territory-list.is-single .home-territory-card {
    max-width: 520px;
    flex-grow: 0;
}

.home-territory-card:hover {
    border-color: var(--d360-border-strong);
    box-shadow: 0 12px 28px rgba(24, 24, 24, 0.09);
    transform: translateY(-2px);
}

.home-territory-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--d360-brand-strong);
    background: var(--d360-brand-soft);
}

.home-territory-card > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.home-territory-card small {
    color: var(--d360-ink-secondary);
}

.home-territory-card em {
    color: var(--d360-ink-secondary);
    font-size: 0.68rem;
    font-style: normal;
}

.home-card-arrow {
    color: var(--d360-ink-secondary);
}

.home-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
}

.home-offer-card {
    position: relative;
    min-width: 0;
}

.home-offer-card > a {
    display: block;
    color: var(--d360-ink);
    text-decoration: none;
}

.home-offer-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--d360-brand-strong);
    background: linear-gradient(140deg, var(--d360-brand-soft), #efeaff);
    font-size: 2.2rem;
    font-weight: 800;
}

.home-offer-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 260ms ease;
}

.home-offer-card:hover .home-offer-media img {
    transform: scale(1.025);
}

.home-offer-copy {
    padding: 13px 2px 0;
    display: grid;
    gap: 4px;
}

.home-offer-copy small {
    color: var(--d360-brand-strong);
    font-size: 0.76rem;
    font-weight: 700;
}

.home-offer-copy strong {
    overflow: hidden;
    font-size: 1.02rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-offer-copy > span {
    color: var(--d360-ink-secondary);
    font-size: 0.84rem;
}

.home-route-lock {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--d360-radius-pill);
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    background: rgba(22, 22, 22, 0.66);
    backdrop-filter: blur(9px);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 720;
    cursor: pointer;
}

.home-route-lock.is-saved,
.home-route-lock[aria-pressed="true"] {
    border-color: var(--d360-brand-strong);
    background: var(--d360-brand-strong);
}

.home-category-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
}

.home-category-rail a {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--d360-border);
    border-radius: var(--d360-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    color: var(--d360-ink);
    background: var(--d360-surface);
    text-decoration: none;
    scroll-snap-align: start;
}

.home-category-rail a:hover { border-color: var(--d360-ink); }

.home-category-rail small {
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--d360-ink-secondary);
    background: var(--d360-surface-subtle);
    font-size: 0.68rem;
}

.home-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
}

.home-event-card {
    min-width: 0;
    border: 1px solid var(--d360-border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--d360-surface);
    box-shadow: var(--d360-shadow-sm);
}

.home-event-card > a {
    display: grid;
    grid-template-columns: 43% minmax(0, 1fr);
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-event-card > a:focus-visible {
    outline: 3px solid var(--d360-brand);
    outline-offset: -4px;
    border-radius: inherit;
}

.home-event-media {
    position: relative;
    min-height: 156px;
    display: grid;
    place-items: center;
    color: var(--d360-brand-strong);
    background: linear-gradient(135deg, var(--d360-brand-soft), #f3f0ff);
    font-weight: 800;
}

.home-event-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-event-copy {
    min-width: 0;
    padding: clamp(15px, 1.5vw, 22px);
    display: grid;
    align-content: center;
    gap: 5px;
}

.home-event-copy small {
    color: var(--d360-brand-strong);
    font-weight: 720;
    text-transform: uppercase;
}

.home-event-copy strong { line-height: 1.25; }
.home-event-copy > span { color: var(--d360-ink-secondary); font-size: 0.82rem; }

/* Aliados: una franja editorial transparente, no un bloque publicitario. */
.home-sponsors {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(28px, 3.2vw, 48px);
    border: 1px solid rgba(91, 23, 48, 0.1);
    border-radius: clamp(26px, 2.8vw, 40px);
    background:
        radial-gradient(circle at 92% 2%, rgba(227, 28, 95, 0.11), transparent 26%),
        radial-gradient(circle at 8% 100%, rgba(253, 175, 105, 0.13), transparent 30%),
        linear-gradient(135deg, #fffdfb 0%, #fbf6f5 54%, #f7eff2 100%);
    box-shadow: 0 20px 52px rgba(66, 37, 47, 0.08);
}

.home-sponsors::before {
    content: '';
    position: absolute;
    top: -130px;
    right: -80px;
    z-index: -1;
    width: 300px;
    aspect-ratio: 1;
    border: 1px solid rgba(227, 28, 95, 0.08);
    border-radius: 50%;
}

.home-sponsors .d360-section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.home-sponsors .d360-section-heading h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 2.75vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.home-sponsors .home-section-intro {
    max-width: 66ch;
}

.home-sponsor-sample-note {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 0 18px;
    padding: 11px 14px;
    border: 1px solid rgba(123, 77, 38, 0.16);
    border-radius: 14px;
    color: #604b3d;
    background: rgba(255, 247, 228, 0.78);
    font-size: 0.8rem;
    line-height: 1.45;
}

.home-sponsor-sample-note > span {
    margin-right: 5px;
    font-weight: 780;
}

.home-sponsor-rail {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 4px 3px 14px;
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 1.6vw, 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 3px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(91, 23, 48, 0.32) transparent;
    scrollbar-width: thin;
    list-style: none;
}

.home-sponsor-item {
    width: min(24vw, 320px);
    min-width: min(24vw, 320px);
    flex: 0 0 min(24vw, 320px);
    scroll-snap-align: start;
}

.home-sponsor-item.is-featured {
    width: min(40vw, 500px);
    min-width: min(40vw, 500px);
    flex-basis: min(40vw, 500px);
}

.home-sponsor-card {
    min-height: 460px;
    height: 100%;
    padding: clamp(20px, 2vw, 28px);
    border: 1px solid rgba(31, 31, 31, 0.09);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    color: var(--d360-ink);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(50, 31, 38, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-sponsor-card:hover {
    border-color: rgba(91, 23, 48, 0.18);
    box-shadow: 0 18px 38px rgba(50, 31, 38, 0.13);
    transform: translateY(-2px);
}

.home-sponsor-item.is-featured .home-sponsor-card {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 88% 9%, rgba(255, 138, 170, 0.25), transparent 31%),
        linear-gradient(145deg, #27131a 0%, #57172e 61%, #7d1b3f 100%);
    box-shadow: 0 18px 42px rgba(75, 20, 40, 0.2);
}

.home-sponsor-meta {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.home-sponsor-disclosure,
.home-sponsor-sample-badge {
    width: fit-content;
    padding: 6px 9px;
    border-radius: var(--d360-radius-pill);
    color: #5f1630;
    background: #fce7ee;
    font-size: 0.65rem;
    font-weight: 780;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
}

.home-sponsor-sample-badge {
    color: #65492f;
    background: #fff1d8;
}

.is-featured .home-sponsor-disclosure,
.is-featured .home-sponsor-sample-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.home-sponsor-brand {
    min-width: 0;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-sponsor-logo {
    width: 62px;
    height: 62px;
    border: 1px solid rgba(31, 31, 31, 0.08);
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    overflow: hidden;
    color: var(--d360-brand-strong);
    background: #fff;
    box-shadow: 0 7px 18px rgba(31, 31, 31, 0.08);
    font-size: 1.35rem;
    font-weight: 820;
}

.home-sponsor-logo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    display: block;
    object-fit: contain;
}

.home-sponsor-brand > div { min-width: 0; }

.home-sponsor-brand h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: clamp(1.2rem, 1.45vw, 1.55rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.home-sponsor-brand p {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    color: var(--d360-ink-secondary);
    font-size: 0.78rem;
}

.is-featured .home-sponsor-brand p { color: rgba(255, 255, 255, 0.68); }

.home-sponsor-description {
    margin: 18px 0 0;
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--d360-ink-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.is-featured .home-sponsor-description { color: rgba(255, 255, 255, 0.76); }

.home-sponsor-perk {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(227, 28, 95, 0.1);
    border-radius: 17px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: #681a36;
    background: #fff0f4;
}

.home-sponsor-perk > svg { margin-top: 2px; }
.home-sponsor-perk > span { min-width: 0; display: grid; gap: 3px; }

.home-sponsor-perk small {
    font-size: 0.63rem;
    font-weight: 780;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.home-sponsor-perk strong {
    overflow-wrap: anywhere;
    font-size: 0.88rem;
    line-height: 1.35;
}

.home-sponsor-perk-until {
    color: #86586a;
    font-size: 0.7rem;
    line-height: 1.35;
}

.is-featured .home-sponsor-perk {
    border-color: rgba(255, 255, 255, 0.13);
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.is-featured .home-sponsor-perk-until { color: rgba(255, 255, 255, 0.68); }

.home-sponsor-terms {
    margin-top: 9px;
    color: var(--d360-ink-secondary);
    font-size: 0.78rem;
}

.home-sponsor-terms summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: inherit;
    font-weight: 690;
    cursor: pointer;
    list-style: none;
}

.home-sponsor-terms summary::-webkit-details-marker { display: none; }
.home-sponsor-terms summary svg { flex: none; transition: transform 180ms ease; }
.home-sponsor-terms[open] summary svg { transform: rotate(180deg); }

.home-sponsor-terms p {
    margin: 0 0 11px;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.is-featured .home-sponsor-terms { color: rgba(255, 255, 255, 0.7); }

.home-sponsor-action {
    min-height: 48px;
    margin-top: auto;
    padding: 0 16px;
    border: 1px solid rgba(31, 31, 31, 0.11);
    border-radius: var(--d360-radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--d360-ink);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 740;
    text-decoration: none;
}

.home-sponsor-action:hover { border-color: rgba(31, 31, 31, 0.35); }

.home-sponsor-action:focus-visible,
.home-sponsor-terms summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--d360-brand) 72%, white);
    outline-offset: 3px;
}

.is-featured .home-sponsor-action {
    border-color: #fff;
    color: #3b1724;
}

/* Mi ruta: explicación breve y verificable de lo que ya existe. */
.home-route-callout {
    padding: clamp(26px, 3.2vw, 50px);
    border-radius: clamp(24px, 2.8vw, 38px);
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(390px, 1.15fr) minmax(220px, 0.55fr);
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 112, 151, 0.2), transparent 28%),
        linear-gradient(135deg, #28131b, #5b1730 58%, #841b42);
    box-shadow: 0 22px 54px rgba(62, 20, 36, 0.16);
}

.home-route-callout .d360-eyebrow { color: #ffc6d9; }

.home-route-copy h2 {
    max-width: 16ch;
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.home-route-copy > p:last-child {
    max-width: 56ch;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.home-route-steps {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.home-route-steps li {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.home-route-steps li > span {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.09);
    font-weight: 800;
}

.home-route-steps p { margin: 0; display: grid; gap: 2px; }
.home-route-steps small { color: rgba(255, 255, 255, 0.68); line-height: 1.3; }

.home-route-status {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    display: grid;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.home-route-status > span { display: flex; align-items: baseline; gap: 5px; }
.home-route-status > span strong { font-size: 1.65rem; }

.home-route-status progress {
    width: 100%;
    height: 7px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
}

.home-route-status progress::-webkit-progress-bar { background: rgba(255, 255, 255, 0.18); }
.home-route-status progress::-webkit-progress-value { background: #fff; }
.home-route-status progress::-moz-progress-bar { background: #fff; }
.home-route-status .d360-button-primary { border-color: #fff; color: var(--d360-ink); background: #fff; }

.home-route-dialog {
    width: min(calc(100% - 32px), 450px);
    padding: 30px;
    border: 0;
    border-radius: var(--d360-radius-lg);
    color: var(--d360-ink);
    background: var(--d360-surface);
    box-shadow: var(--d360-shadow-md);
}

.home-route-dialog::backdrop { background: rgba(15, 15, 15, 0.62); }
.home-route-dialog h2 { margin: 0 36px 10px 0; }
.home-route-dialog p { color: var(--d360-ink-secondary); }

.home-route-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--d360-ink);
    background: var(--d360-surface-subtle);
    font-size: 1.4rem;
    cursor: pointer;
}

.home-route-dialog-secondary,
.home-route-dialog-continue {
    min-height: 48px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--d360-ink);
    background: transparent;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
}

.home-route-dialog-continue { width: 100%; border: 0; cursor: pointer; }

@media (max-width: 1279px) {
    .home-hero-shell {
        grid-template-columns: minmax(330px, 0.82fr) minmax(440px, 1.18fr);
        gap: 32px;
    }

    .home-offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-sponsor-item { width: min(31vw, 320px); min-width: min(31vw, 320px); flex-basis: min(31vw, 320px); }
    .home-sponsor-item.is-featured { width: min(47vw, 480px); min-width: min(47vw, 480px); flex-basis: min(47vw, 480px); }
    .home-route-callout { grid-template-columns: minmax(260px, 0.9fr) minmax(330px, 1fr); }
    .home-route-status { grid-column: 1 / -1; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; }
}

@media (max-width: 959px) {
    .home-hero-shell {
        min-height: 650px;
        grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
        gap: 24px;
    }

    .home-hero-intro h1 { font-size: clamp(2.8rem, 6vw, 3.8rem); }
    .home-hero-actions { display: grid; gap: 8px; }
    .home-intent-search { width: 100%; min-width: 0; }
    .home-slide-copy { padding-right: 0; bottom: 100px; }
    .home-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-sponsor-item { width: min(42vw, 330px); min-width: min(42vw, 330px); flex-basis: min(42vw, 330px); }
    .home-sponsor-item.is-featured { width: min(62vw, 470px); min-width: min(62vw, 470px); flex-basis: min(62vw, 470px); }
    .home-route-callout { grid-template-columns: 1fr; }
    .home-route-status { grid-column: auto; grid-template-columns: auto minmax(120px, 1fr) auto; }
}

@media (max-width: 760px) {
    .market-home { --home-gutter: 16px; }

    .home-hero-shell {
        height: 560px;
        min-height: 560px;
        max-height: 560px;
        padding-block: 18px 16px;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        gap: 14px;
    }

    .home-hero-intro { align-self: start; max-width: none; }
    .home-hero-intro .d360-eyebrow { margin-bottom: 6px; }

    .home-hero-intro h1 {
        max-width: 13ch;
        font-size: clamp(2.25rem, 10.3vw, 2.75rem);
        line-height: 0.98;
        letter-spacing: -0.052em;
    }

    .home-hero-lead {
        max-width: 52ch;
        margin-top: 10px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .home-hero-actions {
        margin-top: 12px;
        display: flex;
        gap: 10px;
    }

    .home-intent-search {
        min-width: 0;
        min-height: 54px;
        padding: 6px 14px;
        flex: 1;
    }

    .home-intent-search small { display: none; }
    .home-intent-search strong { font-size: 0.9rem; }
    .home-explore-link { min-height: 48px; font-size: 0.82rem; }

    .home-editorial-slider { border-radius: 22px; }

    .home-slide-copy {
        right: 18px;
        bottom: 66px;
        left: 18px;
        max-width: calc(100% - 36px);
        padding: 0;
    }

    .home-slide-copy p { margin-bottom: 4px; font-size: 0.63rem; }
    .home-slide-copy h2 { max-width: 19ch; font-size: clamp(1.55rem, 7vw, 2rem); }
    .home-slide-copy > span {
        max-width: 42ch;
        margin-top: 6px;
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.84rem;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-slide-copy > a { min-height: 48px; margin-top: 9px; padding-inline: 14px; font-size: 0.78rem; }
    .home-sample-label { top: 12px; left: 12px; padding: 5px 8px; font-size: 0.6rem; }

    .home-slider-controls { right: 12px; bottom: 10px; padding: 2px; }
    .home-slider-controls button { width: 48px; height: 48px; }
    .home-slider-controls [data-slider-counter] { min-width: 54px; font-size: 0.72rem; }

    .home-section,
    .home-route-callout { margin-top: clamp(42px, 12vw, 58px); }

    .d360-section-heading { margin-bottom: 18px; }
    .home-section-intro { margin-top: 5px; font-size: 0.9rem; }

    .home-territory-list { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; scroll-snap-type: x proximity; }
    .home-territory-card,
    .home-territory-list.is-single .home-territory-card { min-width: min(86vw, 340px); flex: none; scroll-snap-align: start; }

    .home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .home-offer-media { border-radius: 16px; }
    .home-offer-copy strong { white-space: normal; line-height: 1.25; }

    .home-event-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .home-event-card { min-width: min(84vw, 350px); scroll-snap-align: start; }

    .home-sponsors { padding: 26px 20px; border-radius: 28px; }
    .home-sponsor-rail { scroll-snap-type: x mandatory; }
    .home-sponsor-item,
    .home-sponsor-item.is-featured {
        width: min(82vw, 330px);
        min-width: min(82vw, 330px);
        flex: 0 0 min(82vw, 330px);
    }

    .home-route-callout { padding: 26px 20px; gap: 24px; border-radius: 26px; }
    .home-route-copy h2 { max-width: 18ch; }
    .home-route-status { grid-template-columns: 1fr; }
    .home-route-status progress { grid-row: 2; }

    .home-destination-rail {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 2px 0 8px;
        scroll-snap-type: x proximity;
    }

    .home-destination-card { min-width: min(72vw, 290px); scroll-snap-align: start; }

    .home-territory-list,
    .home-destination-rail,
    .home-category-rail,
    .home-event-grid,
    .home-sponsor-rail { -ms-overflow-style: none; scrollbar-width: none; }

    .home-territory-list::-webkit-scrollbar,
    .home-destination-rail::-webkit-scrollbar,
    .home-category-rail::-webkit-scrollbar,
    .home-event-grid::-webkit-scrollbar,
    .home-sponsor-rail::-webkit-scrollbar { display: none; }
}

@media (max-width: 480px) {
    .home-hero-shell { height: 560px; min-height: 560px; }
    .home-hero-lead { max-width: 40ch; }
    .home-explore-link {
        width: 48px;
        height: 48px;
        border: 1px solid rgba(31, 31, 31, 0.14);
        border-radius: 50%;
        flex: 0 0 48px;
        justify-content: center;
        background: #fff;
        box-shadow: var(--d360-shadow-sm);
        font-size: 0;
    }
    .home-explore-link span { font-size: 1rem; }
    .home-slider-controls [data-slider-counter] { min-width: 48px; }
    .home-slide-copy > a { display: none; }
    .home-slide-copy { bottom: 62px; }
    .home-territory-card { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 14px; }
    .home-territory-icon { width: 42px; height: 42px; }
    .home-territory-card em { display: none; }

    .home-route-lock { width: 48px; padding: 0; justify-content: center; }
    .home-route-lock span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
}

@media (max-width: 374px) {
    .home-hero-intro h1 { font-size: 2.1rem; }
    .home-hero-lead { font-size: 0.86rem; }
    .home-intent-search strong { font-size: 0.8rem; }
    .home-slider-controls [data-slider-counter] { display: none; }
    .home-slide-copy > span { -webkit-line-clamp: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .home-intent-search,
    .home-territory-card,
    .home-offer-media img,
    .home-sponsor-card,
    .home-sponsor-terms summary svg { transition: none; }
}
