.sdmx-city {
    --sdmx-city-ink: #22151c;
    --sdmx-city-muted: #665a60;
    --sdmx-city-paper: #ffffff;
    --sdmx-city-soft: #f7f4f0;
    --sdmx-city-charcoal: #151112;
    --sdmx-city-wine: #3a071d;
    --sdmx-city-wine-soft: #5b1534;
    --sdmx-city-gold: #d3a84c;
    --sdmx-city-gold-dark: #9b7028;
    --sdmx-city-blue: #26445a;
    --sdmx-city-green: #40624f;
    --sdmx-city-line: rgba(34, 21, 28, 0.14);
    color: var(--sdmx-city-ink);
    background: var(--sdmx-city-paper);
    font-family: inherit;
}

.sdmx-city *,
.sdmx-city *::before,
.sdmx-city *::after {
    box-sizing: border-box;
}

.sdmx-city a {
    color: var(--sdmx-city-wine-soft);
    text-decoration: none;
}

.sdmx-city a:hover {
    text-decoration: underline;
}

.sdmx-city-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.sdmx-city-section {
    padding: clamp(54px, 7vw, 88px) 0;
}

.sdmx-city-section--soft {
    background: var(--sdmx-city-soft);
}

.sdmx-city-section--dark {
    background: linear-gradient(135deg, var(--sdmx-city-charcoal), var(--sdmx-city-wine) 58%, var(--sdmx-city-blue));
    color: #fff;
}

.sdmx-city h1,
.sdmx-city h2,
.sdmx-city h3 {
    color: inherit;
    line-height: 1.12;
    letter-spacing: 0;
}

.sdmx-city h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.35rem, 5.2vw, 4.8rem);
    line-height: 0.98;
}

.sdmx-city h2 {
    margin: 0 0 16px;
    font-size: clamp(1.85rem, 3.3vw, 2.8rem);
}

.sdmx-city h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
}

.sdmx-city p,
.sdmx-city li {
    color: var(--sdmx-city-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.sdmx-city-section--dark p,
.sdmx-city-section--dark li,
.sdmx-city-final p {
    color: rgba(255, 255, 255, 0.78);
}

.sdmx-city-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 6px;
    background: var(--sdmx-city-gold);
    color: #21140b;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 14px 26px rgba(18, 12, 6, 0.17);
}

.sdmx-city-btn:hover {
    background: #e1b95e;
    color: #21140b;
    text-decoration: none;
}

.sdmx-city-hero {
    min-height: clamp(620px, 76vh, 800px);
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(14, 11, 12, 0.92), rgba(14, 11, 12, 0.72) 38%, rgba(14, 11, 12, 0.18) 66%, rgba(14, 11, 12, 0.04)),
        url("hero-sugar-daddy-puebla.jpg") 72% center/cover no-repeat;
    color: #fff;
}

.sdmx-city--merida .sdmx-city-hero {
    background:
        linear-gradient(90deg, rgba(14, 11, 12, 0.92), rgba(14, 11, 12, 0.7) 40%, rgba(14, 11, 12, 0.2) 68%, rgba(14, 11, 12, 0.04)),
        url("hero-sugar-daddy-merida.jpg") 68% center/cover no-repeat;
}

.sdmx-city-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(78px, 10vw, 126px) 0;
}

.sdmx-city-hero__copy p {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.03rem, 1.75vw, 1.26rem);
}

.sdmx-city-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.sdmx-city-hero__actions span {
    max-width: 290px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    line-height: 1.45;
}

.sdmx-city-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(28px, 5vw, 68px);
}

.sdmx-city-intro__text p {
    margin: 0;
}

.sdmx-city-intro__text p + p {
    margin-top: 16px;
}

.sdmx-city-heading {
    max-width: 790px;
    margin: 0 auto 34px;
    text-align: center;
}

.sdmx-city-heading p {
    margin-left: auto;
    margin-right: auto;
}

.sdmx-city-corridor {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: end;
    margin-bottom: 28px;
}

.sdmx-city-corridor p {
    margin: 0;
}

.sdmx-city-cards--corridor {
    align-items: stretch;
}

.sdmx-city-detail-band {
    max-width: 880px;
}

.sdmx-city-safe-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.sdmx-city-safe-split__media {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.sdmx-city-safe-split__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: 100%;
    object-fit: cover;
}

.sdmx-city-safe-split__copy {
    max-width: 560px;
}

.sdmx-city-copy p {
    margin: 0;
}

.sdmx-city-copy p + p {
    margin-top: 16px;
}

.sdmx-city-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sdmx-city-cards--stacked {
    grid-template-columns: 1fr;
    margin-top: 24px;
}

.sdmx-city-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--sdmx-city-line);
    border-radius: 8px;
    background: var(--sdmx-city-paper);
    box-shadow: 0 14px 34px rgba(34, 21, 28, 0.06);
}

.sdmx-city-card p {
    margin: 0;
}

.sdmx-city-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(211, 168, 76, 0.22);
    color: var(--sdmx-city-gold-dark);
    font-weight: 900;
}

.sdmx-city-section--dark .sdmx-city-card {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.sdmx-city-section--dark .sdmx-city-card p {
    color: rgba(255, 255, 255, 0.72);
}

.sdmx-city-checklist {
    display: grid;
    gap: 13px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.sdmx-city-checklist li {
    position: relative;
    padding-left: 30px;
}

.sdmx-city-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 12px;
    height: 12px;
    border: 3px solid var(--sdmx-city-gold);
    border-radius: 50%;
}

.sdmx-city-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.sdmx-city-note-grid > div {
    padding: 22px;
    border-left: 4px solid var(--sdmx-city-gold);
    background: var(--sdmx-city-soft);
}

.sdmx-city-note-grid p {
    margin: 0;
}

.sdmx-city-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sdmx-city-timeline article {
    padding: 26px;
    border: 1px solid var(--sdmx-city-line);
    border-radius: 8px;
    background: var(--sdmx-city-paper);
}

.sdmx-city-timeline span,
.sdmx-city-post-card time {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--sdmx-city-green);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sdmx-city-timeline p {
    margin: 0;
}

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

.sdmx-city-testimonials figure {
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.sdmx-city-testimonials img {
    display: block;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    margin: 0;
    border: 2px solid rgba(211, 168, 76, 0.72);
    border-radius: 50%;
    object-fit: cover;
}

.sdmx-city-testimonials blockquote {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.7;
}

.sdmx-city-testimonials figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: var(--sdmx-city-gold);
    font-weight: 800;
    line-height: 1.3;
}

.sdmx-city-faq {
    max-width: 860px;
    margin: 0 auto;
}

.sdmx-city-faq details {
    border-bottom: 1px solid var(--sdmx-city-line);
    background: var(--sdmx-city-paper);
}

.sdmx-city-faq summary {
    cursor: pointer;
    padding: 22px 0;
    color: var(--sdmx-city-ink);
    font-weight: 800;
    line-height: 1.35;
}

.sdmx-city-faq p {
    margin: -8px 0 22px;
}

.sdmx-city-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sdmx-city-post-card {
    overflow: hidden;
    border: 1px solid var(--sdmx-city-line);
    border-radius: 8px;
    background: var(--sdmx-city-paper);
}

.sdmx-city-post-card__body {
    padding: 20px;
}

.sdmx-city-post-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.sdmx-city-post-card p {
    margin: 0;
}

.sdmx-city-empty {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sdmx-city-final {
    padding: clamp(56px, 7vw, 88px) 0;
    background: linear-gradient(135deg, var(--sdmx-city-wine), var(--sdmx-city-charcoal));
    color: #fff;
    text-align: center;
}

.sdmx-city-final h2 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.sdmx-city-final p {
    max-width: 720px;
    margin: 0 auto 26px;
}

@media (max-width: 980px) {
    .sdmx-city-hero__grid,
    .sdmx-city-intro,
    .sdmx-city-corridor,
    .sdmx-city-safe-split {
        grid-template-columns: 1fr;
    }

    .sdmx-city-safe-split__copy {
        max-width: none;
    }

    .sdmx-city-cards,
    .sdmx-city-timeline,
    .sdmx-city-posts {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {
    .sdmx-city-shell {
        width: min(100% - 24px, 1120px);
    }

    .sdmx-city-hero {
        min-height: auto;
        background-position: 64% center;
    }

    .sdmx-city-hero__grid {
        padding: 72px 0;
    }

    .sdmx-city-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sdmx-city-btn {
        width: 100%;
    }

    .sdmx-city-note-grid,
    .sdmx-city-testimonials {
        grid-template-columns: 1fr;
    }

    .sdmx-city-safe-split__media img {
        aspect-ratio: 16 / 11;
    }

    .sdmx-city-card,
    .sdmx-city-timeline article,
    .sdmx-city-testimonials figure,
    .sdmx-city-post-card__body {
        padding: 20px;
    }

}
