/*
 * Mahidhara responsive corrections
 * Load this file AFTER style.css.
 * Desktop changes are limited to the new portfolio dropdown controls.
 * All other layout overrides remain limited to screens 1023px and below.
 */
/* =========================================================
   MAHIDHARA HOMEPAGE TYPOGRAPHY — PX VERSION
   Load this file LAST, after style.css, responsive.css and
   carousel-fixes.css. All font sizes use px values.
   ========================================================= */

/* =========================
   DESKTOP: 1024px AND ABOVE
   ========================= */
body {
    font-size: 18px !important;
    line-height: 1.65 !important;
}

/* Header */
.site-header .primary-nav a {
    font-size: 16px !important;
}

.site-header .header-search input {
    font-size: 14px !important;
}

/* Main headings and labels */
.eyebrow {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.section-title {
    font-size: 56px !important;
    line-height: 1.12 !important;
}

.section-intro,
.portfolio-content > p:not(.eyebrow),
.about-copy p:not(.eyebrow),
.purpose-copy p:not(.eyebrow),
.contact-copy > span {
    font-size: 17px !important;
    line-height: 1.65 !important;
}

.button,
.hero-actions .button,
.buyer-journey-section .button.centered {
    font-size: 14px !important;
}

/* Hero */
.hero-copy h1 {
    font-size: 88px !important;
    line-height: .94 !important;
}

.hero-copy > p:not(.eyebrow) {
    font-size: 17px !important;
    line-height: 1.55 !important;
}

.hero-facts {
    font-size: 17px !important;
}

.hero-track-item {
    font-size: 16px !important;
}

/* About */
.about-copy .section-title {
    font-size: 40px !important;
}

.about-copy h3 {
    font-size: 22px !important;
    line-height: 1.5 !important;
}

.about-stats small {
    font-size: 16px !important;
}

.number-icon {
    font-size: 36px !important;
}

/* Journey cards */
.journey-heading .section-title {
    font-size: 40px !important;
}

.journey-card h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

.journey-card p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.journey-card a {
    font-size: 14px !important;
}

/* Cities */
.cities-title .section-title {
    font-size: 40px !important;
}

.city-tab {
    font-size: 17px !important;
}

.city-tab span,
.city-info > span {
    font-size: 14px !important;
}

.city-info h3 {
    font-size: 22px !important;
}

.city-info p {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.city-info a {
    font-size: 15px !important;
}

/* Portfolio */
.portfolio-content .section-title {
    font-size: 40px !important;
}

.project-filter-button,
.project-filter-field select {
    font-size: 14px !important;
}

.project-feature-card h3 {
    font-size: 19px !important;
}

.project-feature-card > p:nth-of-type(1) {
    font-size: 14px !important;
}

.project-feature-card > p:nth-of-type(2) {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.project-feature-card > div > span,
.project-feature-card a,
.project-thumb span {
    font-size: 14px !important;
}

/* Comparison */
.compare-section .section-title {
    font-size: 40px !important;
}

.compare-section .section-intro {
    font-size: 17px !important;
}

.compare-section th {
    font-size: 14px !important;
}

.compare-section td {
    font-size: 15px !important;
}

.status-pill,
.table-button {
    font-size: 13px !important;
}

/* Purpose */
.purpose-copy .section-title {
    font-size: 40px !important;
}

.trust-card strong {
    font-size: 46px !important;
}

.trust-card span {
    font-size: 18px !important;
}

/* Why choose us */
.why-section .section-title {
    font-size: 40px !important;
}

.why-grid article > span {
    font-size: 17px !important;
}

.why-grid h3 {
    font-size: 19px !important;
}

.why-grid p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

/* Buyer journey */
.buyer-journey-section .section-title {
    font-size: 40px !important;
}

.step-card strong {
    font-size: 34px !important;
}

.step-card p {
    font-size: 17px !important;
    line-height: 1.5 !important;
}

/* Testimonials */
.testimonials-section .section-title {
    font-size: 40px !important;
}

.testimonial-person h3 {
    font-size: 17px !important;
}

.testimonial-person p {
    font-size: 15px !important;
}

.testimonial-card blockquote {
    font-size: 17px !important;
    line-height: 1.65 !important;
}

/* Contact */
.contact-copy > p {
    font-size: 27px !important;
}

.contact-copy h2 {
    font-size: 40px !important;
}

.contact-copy > span {
    font-size: 16px !important;
}

.lead-form h3 {
    font-size: 16px !important;
}

.lead-form input,
.lead-form select,
.lead-form button,
.whatsapp-button {
    font-size: 15px !important;
}

/* Footer */
.footer-brand p {
    font-size: 13px !important;
}

.footer-grid h3 {
    font-size: 18px !important;
}

.footer-grid > div:not(.footer-brand) > a,
.footer-grid p,
.footer-grid p a {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.footer-bottom {
    font-size: 13px !important;
}

/* =========================
   TABLET: 768px TO 1023px
   ========================= */
   
   
   @media screen and (max-width: 1023px) {
    .purpose-copy .section-title,
    .portfolio-content .section-title,
    .cities-title .section-title,
    .journey-heading .section-title {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }

    .purpose-copy .section-title .dc-title-part,
    .portfolio-content .section-title .dc-title-part,
    .cities-title .section-title .dc-title-part,
    .journey-heading .section-title .dc-title-part {
        display: block;
        width: 100%;
        text-align: center !important;
    }

    .hero .hero-actions {
        width: 100%;
        justify-content: center !important;
        text-align: center;
    }
}
@media screen and (max-width: 1023px) {
    body {
        font-size: 17px !important;
    }

    .site-header .primary-nav a {
        font-size: 17px !important;
    }

    .section-title {
        font-size: 46px !important;
    }

    .hero-copy h1 {
        font-size: 64px !important;
    }

    .hero-facts {
        font-size: 14px !important;
    }

    .hero-track-item {
        font-size: 14px !important;
    }

    .about-copy .section-title,
    .journey-heading .section-title,
    .cities-title .section-title,
    .portfolio-content .section-title,
    .compare-section .section-title,
    .purpose-copy .section-title,
    .why-section .section-title,
    .buyer-journey-section .section-title,
    .testimonials-section .section-title {
        font-size: 35px !important;
        
    }

    .about-copy p:not(.eyebrow),
    .portfolio-content > p:not(.eyebrow),
    .purpose-copy p:not(.eyebrow),
    .contact-copy > span,
    .section-intro {
        font-size: 16px !important;
    }

    .journey-card h3 {
        font-size: 18px !important;
    }

    .journey-card p {
        font-size: 15px !important;
    }

    .journey-card a {
        font-size: 14px !important;
    }

    .city-mobile-current {
        font-size: 15px !important;
    }

    .city-info h3 {
        font-size: 21px !important;
    }

    .city-info p {
        font-size: 15px !important;
    }

    .project-feature-card h3 {
        font-size: 18px !important;
    }

    .project-feature-card > p:nth-of-type(1),
    .project-feature-card > p:nth-of-type(2) {
        font-size: 14px !important;
    }

    .why-grid h3 {
        font-size: 18px !important;
    }

    .why-grid p {
        font-size: 14px !important;
    }

    .step-card p {
        font-size: 20px !important;
    }

    .testimonial-card blockquote {
        font-size: 16px !important;
    }

    .contact-copy h2 {
        font-size: 46px !important;
    }
}

/* =========================
   MOBILE: 576px TO 767px
   ========================= */
@media screen and (max-width: 767px) {
    body {
        font-size: 17px !important;
        line-height: 1.65 !important;
    }

    .eyebrow {
        font-size: 13px !important;
    }

    .section-title {
        font-size: 36px !important;
        line-height: 1.15 !important;
    }

    .hero-copy h1 {
        font-size: 48px !important;
    }

    .hero-actions .button,
    .button,
    .buyer-journey-section .button.centered {
        font-size: 13px !important;
    }

    .hero-facts {
        font-size: 13px !important;
    }

    .hero-track-item {
        font-size: 13px !important;
    }

    .about-copy .section-title,
    .journey-heading .section-title,
    .cities-title .section-title,
    .portfolio-content .section-title,
    .compare-section .section-title,
    .purpose-copy .section-title,
    .why-section .section-title,
    .buyer-journey-section .section-title,
    .testimonials-section .section-title {
        font-size: 36px !important;
    }

    .about-copy p:not(.eyebrow),
    .portfolio-content > p:not(.eyebrow),
    .purpose-copy p:not(.eyebrow),
    .contact-copy > span,
    .section-intro {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }

    .about-copy h3 {
        font-size: 18px !important;
    }

    .about-stats small {
        font-size: 16px !important;
    }

    .journey-card h3 {
        font-size: 17px !important;
    }

    .journey-card p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .journey-card a {
        font-size: 13px !important;
    }

    .city-mobile-current {
        font-size: 14px !important;
    }

    .city-info > span {
        font-size: 13px !important;
    }

    .city-info h3 {
        font-size: 20px !important;
    }

    .city-info p {
        font-size: 15px !important;
    }

    .city-info a {
        font-size: 14px !important;
    }

    .project-filter-field select {
        font-size: 13px !important;
    }

    .project-feature-card h3 {
        font-size: 18px !important;
    }

    .project-feature-card > p:nth-of-type(1),
    .project-feature-card > p:nth-of-type(2) {
        font-size: 14px !important;
    }

    .project-feature-card > div > span,
    .project-feature-card a {
        font-size: 13px !important;
    }

    .compare-section .section-intro {
        font-size: 15px !important;
    }

    .compare-section th,
    .compare-section td {
        font-size: 13px !important;
    }

    .trust-card span {
        font-size: 16px !important;
    }

    .why-grid article > span {
        font-size: 16px !important;
    }

    .why-grid h3 {
        font-size: 18px !important;
    }

    .why-grid p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .step-card strong {
        font-size: 48px !important;
    }

    .step-card p {
        font-size: 22px !important;
    }

    .testimonial-person h3 {
        font-size: 16px !important;
    }

    .testimonial-person p {
        font-size: 14px !important;
    }

    .testimonial-card blockquote {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }

    .contact-copy > p {
        font-size: 23px !important;
    }

    .contact-copy h2 {
        font-size: 38px !important;
    }

    .lead-form h3 {
        font-size: 15px !important;
    }

    .lead-form input,
    .lead-form select,
    .lead-form button,
    .whatsapp-button {
        font-size: 15px !important;
    }

    .footer-grid h3 {
        font-size: 17px !important;
    }

    .footer-grid > div:not(.footer-brand) > a,
    .footer-grid p,
    .footer-grid p a {
        font-size: 15px !important;
    }
}

/* =========================
   SMALL MOBILE: 575px BELOW
   ========================= */
@media screen and (max-width: 575px) {
    body {
        font-size: 16px !important;
    }

    .section-title,
    .about-copy .section-title,
    .journey-heading .section-title,
    .cities-title .section-title,
    .portfolio-content .section-title,
    .compare-section .section-title,
    .purpose-copy .section-title,
    .why-section .section-title,
    .buyer-journey-section .section-title,
    .testimonials-section .section-title {
        font-size: 32px !important;
    }

    .hero-copy h1 {
        font-size: 42px !important;
    }

    .hero-actions .button {
        font-size: 13px !important;
    }

    .about-copy p:not(.eyebrow),
    .portfolio-content > p:not(.eyebrow),
    .purpose-copy p:not(.eyebrow),
    .testimonial-card blockquote,
    .contact-copy > span {
        font-size: 15px !important;
    }

    .journey-card h3 {
        font-size: 17px !important;
    }

    .journey-card p {
        font-size: 14px !important;
    }

    .city-info h3 {
        font-size: 19px !important;
    }

    .city-info p {
        font-size: 14px !important;
    }

    .project-feature-card h3 {
        font-size: 17px !important;
    }

    .project-feature-card > p:nth-of-type(1),
    .project-feature-card > p:nth-of-type(2) {
        font-size: 13px !important;
    }

    .why-grid h3 {
        font-size: 18px !important;
    }

    .why-grid p {
        font-size: 14px !important;
    }

    .step-card p {
        font-size: 21px !important;
    }

    .contact-copy h2 {
        font-size: 34px !important;
    }
}


/* Portfolio filters: desktop pills and mobile dropdowns */
.project-filter-desktop {
    display: grid;
    gap: 20px;
    margin: 0 0 68px;
}

.project-filter-button-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 48px;
}

.project-filter-button {
    min-width: 100px;
    height: 30px;
    padding: 4px 18px;
    border: 1px solid rgba(11, 103, 95, .58);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    font-size: .72rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.project-filter-button:hover,
.project-filter-button:focus-visible {
    border-color: var(--red);
    color: var(--red);
    outline: 0;
    transform: translateY(-1px);
}

.city-filter-button.is-active {
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 0 2px rgba(221, 7, 30, .05);
}

.type-filter-button.is-active,
.city-filter-button.is-active {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.project-filter-button:disabled {
    opacity: .38;
    cursor: not-allowed;
    transform: none;
}

.project-filter-mobile {
    display: none;
}

.project-filter-controls {
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin: 0 0 42px;
}

.project-filter-field {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.project-filter-field::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--red);
    border-bottom: 1.5px solid var(--red);
    pointer-events: none;
    transform: translateY(-68%) rotate(45deg);
}

.project-filter-field select {
    width: 100%;
    min-width: 150px;
    height: 36px;
    padding: 5px 40px 5px 17px;
    border: 1px solid rgba(11, 103, 95, .65);
    border-radius: 999px;
    outline: 0;
    background: #fff;
    color: var(--green);
    font-size: .72rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.project-filter-city select {
    border-color: var(--red);
}

.project-filter-field select:hover,
.project-filter-field select:focus-visible {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(221, 7, 30, .08);
}

.project-filter-empty {
    margin: -30px 0 40px;
    color: var(--red);
    font-size: .82rem;
}

/* Desktop portfolio layout matching the supplied reference. */
@media screen and (min-width: 1024px) {
    .portfolio-section {
        padding-top: 72px;
        padding-bottom: 54px;
    }

    .portfolio-grid {
        grid-template-columns: minmax(430px, .92fr) minmax(0, 1.35fr);
        gap: clamp(70px, 6.2vw, 104px);
        align-items: start;
    }

    .portfolio-content {
        min-width: 0;
        padding-top: 12px;
    }

    .portfolio-content > .eyebrow {
        display: none;
    }

    .portfolio-content .section-title {
        font-size: clamp(3rem, 3.7vw, 4.15rem);
        line-height: 1.08;
        letter-spacing: -.045em;
    }

    .portfolio-content > p:not(.eyebrow) {
        max-width: 650px;
        margin: 20px 0 38px;
        font-size: 1rem;
        line-height: 1.48;
    }

    .project-feature,
    .project-feature > img {
        min-height: 0;
        height: 694px;
    }

    .project-feature-card {
        right: 7%;
        bottom: 36px;
        left: 7%;
        padding: 30px 30px 26px;
    }

    .project-thumbs {
        grid-auto-columns: 295px;
        gap: 38px;
        max-width: 100%;
        padding-bottom: 18px;
    }

    .project-thumb {
        height: 247px;
    }

    .carousel-progress {
        width: 80%;
        margin-top: 58px;
    }
}

.project-feature[hidden],
.project-mobile-nav[hidden],
.project-filter-empty[hidden] {
    display: none !important;
}

.city-mobile-nav,
.project-mobile-nav {
    display: none;
}

@media screen and (max-width: 1023px) {
    .project-filter-desktop {
        display: none !important;
    }

    .project-filter-mobile {
        display: flex !important;
    }

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    html {
        scroll-padding-top: 82px !important;
    }

    body {
        min-width: 320px !important;
    }

    .container,
    .container-wide {
        width: min(calc(100% - 36px), 920px) !important;
        margin-inline: auto !important;
    }

    .section {
        padding: 78px 0 !important;
    }

    .section-title {
        font-size: clamp(2.1rem, 6.4vw, 3.9rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -.04em !important;
    }

    /* Header */
    .site-header,
    .site-header.is-scrolled {
        top: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-height: 122px !important;
        padding: 0 28px !important;
        border-radius: 0 !important;
        background: linear-gradient(90deg, rgba(198, 215, 239, .88), rgba(120, 145, 191, .72)) !important;
        box-shadow: none !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }

    .site-header.is-scrolled .header-shell {
        background: linear-gradient(90deg, rgba(64, 103, 143, .94), rgba(30, 66, 110, .88)) !important;
        box-shadow: 0 10px 30px rgba(12, 37, 68, .18) !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        position: absolute !important;
        top: 50% !important;
        left: 7.8% !important;
        z-index: 3 !important;
        width: 162px !important;
        transform: translateY(-50%) !important;
    }

    .site-header .brand img,
    .site-header.is-scrolled .brand img {
        width: 100% !important;
    }

    .site-header .nav-toggle {
        position: absolute !important;
        top: 50% !important;
        right: 6.3% !important;
        z-index: 4 !important;
        display: grid !important;
        place-content: center !important;
        width: 54px !important;
        height: 54px !important;
        padding: 8px !important;
        transform: translateY(-50%) !important;
    }

    .site-header .nav-toggle span {
        width: 40px !important;
        height: 2px !important;
        margin: 5px 0 !important;
        background: #fff !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        position: fixed !important;
        top: 122px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 1002 !important;
        display: flex !important;
        width: min(390px, 88vw) !important;
        height: auto !important;
        padding: 42px 34px 126px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 28px !important;
        background: rgba(5, 76, 70, .985) !important;
        box-shadow: -18px 0 48px rgba(0, 0, 0, .26) !important;
        transform: translateX(105%) !important;
        transition: transform .3s ease !important;
    }

    body.nav-open .primary-nav {
        transform: translateX(0) !important;
    }

    .site-header .nav-cluster {
        position: static !important;
        display: contents !important;
        height: auto !important;
    }

    .site-header .primary-nav a {
        width: 100% !important;
        padding: 7px 0 !important;
        color: #fff !important;
        font-size: 1rem !important;
    }

    .site-header .header-search,
    .site-header.is-scrolled .header-search {
        position: fixed !important;
        right: 28px !important;
        bottom: 28px !important;
        z-index: 1003 !important;
        width: min(320px, calc(88vw - 56px)) !important;
        transform: translateX(120vw) !important;
        transition: transform .3s ease .05s !important;
    }

    body.nav-open .header-search {
        transform: translateX(0) !important;
    }

    /* Hero: tablet composition matches the supplied reference */
    .hero,
    .hero-inner {
        min-height: max(726px, 100svh) !important;
    }

    .hero-video,
    .hero-shade {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-copy {
        top: auto !important;
        right: 5.8% !important;
        bottom: 14.7% !important;
        left: auto !important;
        width: 43% !important;
        text-align: right !important;
        transform: none !important;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 6.8vw, 4rem) !important;
        line-height: .92 !important;
        letter-spacing: -.055em !important;
    }

    .hero-actions {
        /*display: grid !important;*/
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-content: end !important;
        gap: 14px !important;
        width: min(390px, 100%) !important;
        margin: 20px 0 0 auto !important;
    }

    .hero-actions .button {
        width: 100% !important;
        min-height: 38px !important;
        padding: 9px 12px !important;
        border-radius: 11px !important;
        font-size: .65rem !important;
        white-space: nowrap !important;
    }

    .hero-facts {
        right: auto !important;
        bottom: 15.1% !important;
        left: 6.7% !important;
        width: 50% !important;
        justify-content: flex-start !important;
        gap: 7px 10px !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        text-align: left !important;
    }

    .hero-facts i {
        height: 19px !important;
    }

    .hero-track {
        right: 11% !important;
        bottom: 1.6% !important;
        left: 11% !important;
        grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .hero-track::-webkit-scrollbar {
        display: none !important;
    }

    .hero-track-item {
        min-height: 38px !important;
        padding: 9px 10px 0 !important;
        font-size: .7rem !important;
    }

    /* About */
    .about-section {
        min-height: 0 !important;
        padding: 88px 0 90px !important;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 360px) !important;
        gap: 46px !important;
    }

    .about-copy .section-title {
        font-size: clamp(2.35rem, 6.6vw, 3.3rem) !important;
    }

    .about-copy p:not(.eyebrow) {
        max-width: none !important;
        font-size: .9rem !important;
    }

    .about-visual {
        width: 100% !important;
        max-width: 360px !important;
        margin-inline: auto !important;
    }

    .about-visual img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: .86 !important;
        object-fit: cover !important;
    }

    .about-stats {
        grid-column: 1 / -1 !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }

    /* Journey */
    .journey-layout {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .journey-heading {
        text-align: center !important;
    }

    .journey-card {
        flex: 0 0 228px !important;
        min-height: 210px !important;
    }

    /* Cities */
    .cities-block {
        margin-top: 88px !important;
    }

    .cities-title {
        text-align: center !important;
    }

    .city-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .city-tabs {
        display: none !important;
    }

    .city-mobile-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        margin: 4px auto 8px !important;
    }

    .city-mobile-nav button,
    .project-mobile-nav button {
        display: grid !important;
        place-items: center !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--red) !important;
        font-size: 1.18rem !important;
        line-height: 1 !important;
    }

    .city-mobile-current {
        display: inline-flex !important;
        align-items: center !important;
        gap: 12px !important;
        min-width: 130px !important;
        justify-content: center !important;
        color: var(--red) !important;
        font-size: .82rem !important;
        font-weight: 500 !important;
    }

    .city-mobile-current strong {
        font-size: .72rem !important;
        font-weight: 500 !important;
    }

    .city-stage {
        width: min(100%, 760px) !important;
        max-width: none !important;
        margin-inline: auto !important;
    }

    .city-stage > img {
        width: 100% !important;
        height: 350px !important;
        object-fit: cover !important;
        /*border-radius: 0 !important;*/
    }

    .city-info {
        right: 4% !important;
        bottom: 8% !important;
        width: 290px !important;
        padding: 26px !important;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 72px 0 !important;
    }

    .portfolio-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 46px !important;
    }

    .portfolio-content {
        order: 1 !important;
        text-align: center !important;
    }

    .project-feature {
        order: 2 !important;
        width: min(100%, 620px) !important;
        min-height: 540px !important;
        margin-inline: auto !important;
    }

    .project-feature > img {
        width: 100% !important;
        height: 540px !important;
        object-fit: cover !important;
    }

    .project-mobile-nav {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: -24px !important;
    }

    .project-mobile-count {
        min-width: 58px !important;
        color: var(--muted) !important;
        font-size: .68rem !important;
        text-align: center !important;
    }

    .filter-pills {
        justify-content: center !important;
        gap: 12px !important;
        margin: 28px 0 34px !important;
    }

    .project-filter-controls {
        justify-content: center !important;
        gap: 16px !important;
        margin: 28px 0 34px !important;
    }

    .project-filter-field select {
        min-width: 148px !important;
    }

    .project-filter-empty {
        margin: -12px auto 28px !important;
        text-align: center !important;
    }

    .project-thumbs,
    .carousel-progress {
        display: none !important;
    }

    /* Comparison */
    .compare-section {
        padding-top: 74px !important;
    }

    .compare-section .container > .eyebrow,
    .compare-section .container > .section-title,
    .compare-section .container > .section-intro {
        display: block !important;
        text-align: center !important;
        margin-inline: auto !important;
    }

    .table-shell {
        margin-top: 70px !important;
        padding: 18px !important;
    }

    .table-scroll {
        width: 100% !important;
        overflow-x: auto !important;
    }

    /* Purpose */
    .purpose-section {
        padding: 70px 0 42px !important;
        overflow: hidden !important;
    }

    .purpose-section .purpose-grid {
        width: min(calc(100% - 36px), 760px) !important;
        grid-template-columns: 1fr !important;
        gap: 70px !important;
    }

    .purpose-visual {
        width: min(100%, 620px) !important;
        margin-inline: auto !important;
    }

    .purpose-visual > img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1.72 !important;
        object-fit: cover !important;
    }

    .trust-card {
        right: 50% !important;
        bottom: -58px !important;
        left: auto !important;
        width: min(380px, calc(100% - 70px)) !important;
        min-width: 0 !important;
        transform: translateX(50%) !important;
    }

    .purpose-copy {
        text-align: center !important;
    }

    .purpose-copy p:not(.eyebrow) {
        margin-inline: auto !important;
    }

    /* Why */
    .why-section {
        height: auto !important;
        min-height: 0 !important;
        margin-top: 38px !important;
        padding: 58px 0 0 !important;
    }

    .why-section > .container {
        width: min(calc(100% - 36px), 760px) !important;
    }

    .why-section .section-title {
        text-align: center !important;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Buyer journey */
    .buyer-journey-section .container > .eyebrow,
    .buyer-journey-section .container > .section-title {
        display: block !important;
        text-align: center !important;
        margin-inline: auto !important;
    }

    .steps-row {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 24px !important;
        max-width: none !important;
        overflow-x: auto !important;
        padding: 4px 12px 18px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
    }

    .steps-row::-webkit-scrollbar {
        display: none !important;
    }

    .step-card {
        flex: 0 0 320px !important;
        min-height: 320px !important;
        padding: 42px 30px !important;
        border-radius: 24px !important;
        scroll-snap-align: center !important;
    }

    .step-card strong {
        font-size: 3.4rem !important;
    }

    .step-card p {
        margin-top: 38px !important;
        font-size: 1.55rem !important;
        line-height: 1.35 !important;
    }

    .buyer-journey-section .button.centered {
        width: min(360px, 100%) !important;
    }

    /* Testimonials */
    .testimonials-section .container > .eyebrow,
    .testimonials-section .container > .section-title {
        display: block !important;
        text-align: center !important;
        margin-inline: auto !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 46px !important;
        margin-top: 58px !important;
    }

    /* Contact and footer */
    .contact-panel {
        grid-template-columns: 1fr !important;
        gap: 42px !important;
        padding: 42px !important;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr !important;
        gap: 38px !important;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1 !important;
    }
}

@media screen and (max-width: 767px) {
    html {
        scroll-padding-top: 74px !important;
    }

    .container,
    .container-wide {
        width: calc(100% - 30px) !important;
    }

    .section {
        padding: 62px 0 !important;
    }

    .section-title {
        font-size: clamp(1.95rem, 9.4vw, 3rem) !important;
    }

    .eyebrow {
        margin-bottom: 12px !important;
        font-size: .7rem !important;
    }

    /* Header */
    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        min-height: 74px !important;
        padding: 0 15px !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        left: 16px !important;
        width: 148px !important;
    }

    .site-header .nav-toggle {
        right: 13px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .site-header .nav-toggle span {
        width: 32px !important;
        margin: 4px 0 !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        top: 74px !important;
        width: min(360px, 92vw) !important;
    }

    /* Hero */
    .hero,
    .hero-inner {
        min-height: max(690px, 100svh) !important;
    }

    .hero-copy {
        top: auto !important;
        right: 16px !important;
        bottom: 21.5% !important;
        left: 16px !important;
        width: auto !important;
        text-align: right !important;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 13vw, 4rem) !important;
    }

    .hero-actions {
        width: 100% !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .hero-actions .button {
        min-width: 0 !important;
        min-height: 39px !important;
        padding: 8px 9px !important;
        font-size: .56rem !important;
    }

    .hero-facts {
        right: 16px !important;
        bottom: 13.7% !important;
        left: 16px !important;
        width: auto !important;
        justify-content: center !important;
        font-size: .68rem !important;
        text-align: center !important;
    }

    .hero-track {
        right: 0 !important;
        bottom: 1.8% !important;
        left: 0 !important;
        grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    }

    /* About: match supplied narrow layout */
    .about-section {
        padding: 70px 0 76px !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
    }

    .about-copy {
        text-align: center !important;
    }

    .about-copy .section-title {
        font-size: clamp(1.55rem, 7.2vw, 2.15rem) !important;
        line-height: 1.08 !important;
    }

    .about-copy p:not(.eyebrow) {
        max-width: 370px !important;
        margin: 22px auto 18px !important;
        font-size: .76rem !important;
        line-height: 1.48 !important;
        text-align: center !important;
    }

    .about-copy h3 {
        max-width: 360px !important;
        margin-inline: auto !important;
        font-size: .78rem !important;
        line-height: 1.4 !important;
    }

    .about-visual {
        width: min(88%, 370px) !important;
    }

    .about-visual img {
        aspect-ratio: .87 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    .about-stats {
        grid-column: auto !important;
        grid-template-columns: 1fr !important;
        gap: 44px !important;
        padding-top: 6px !important;
    }

    .about-stats article {
        min-width: 0 !important;
    }

    .about-stats small {
        font-size: 1.05rem !important;
        white-space: normal !important;
    }

    .line-icon {
        width: 92px !important;
        height: 72px !important;
    }

    .number-icon {
        font-size: 3rem !important;
    }

    /* Journey */
    .discovery-section {
        padding-top: 52px !important;
    }

    .journey-layout {
        gap: 28px !important;
    }

    .journey-heading .section-title {
        font-size: 1.7rem !important;
        line-height: 1.05 !important;
    }

    .journey-scroller {
        position: relative !important;
        width: calc(100vw - 2px) !important;
        margin-left: calc(50% - 50vw) !important;
        overflow: hidden !important;
    }

    .journey-scroller::after {
        content: "" !important;
        position: absolute !important;
        right: 18px !important;
        bottom: 0 !important;
        left: 18px !important;
        height: 1px !important;
        background: linear-gradient(90deg, rgba(221, 7, 30, .35) 0 28%, rgba(8, 90, 83, .18) 28% 100%) !important;
    }

    .journey-rail {
        gap: 24px !important;
        padding: 2px 54px 58px !important;
    }

    .journey-card {
        flex: 0 0 min(56vw, 190px) !important;
        min-height: 180px !important;
        padding: 27px 15px 18px !important;
        border-radius: 15px !important;
    }

    .journey-card h3 {
        font-size: .88rem !important;
    }

    .journey-card p {
        min-height: 58px !important;
        margin: 18px 0 14px !important;
        font-size: .7rem !important;
    }

    .journey-card a {
        font-size: .55rem !important;
    }

    /* Cities */
    .cities-block {
        margin-top: 54px !important;
    }

    .cities-title .section-title {
        font-size: 1.72rem !important;
    }

    .city-mobile-nav {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .city-mobile-current {
        min-width: 118px !important;
        font-size: .72rem !important;
    }

    .city-stage {
        width: calc(100vw - 2px) !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .city-stage > img {
        height: 250px !important;
    }

    .city-info {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: min(76%, 300px) !important;
        margin: -44px auto 0 !important;
        padding: 20px 24px 22px !important;
        /*border-radius: 0 !important;*/
        background: linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(238, 225, 207, .95)) !important;
        box-shadow: 0 14px 36px rgba(46, 42, 36, .12) !important;
    }

    .city-info > span {
        font-size: .62rem !important;
    }

    .city-info h3 {
        font-size: 1.06rem !important;
    }

    .city-info p {
        margin: 3px 0 16px !important;
        font-size: .83rem !important;
    }

    .city-info a {
        font-size: .84rem !important;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 58px 0 66px !important;
    }

    .portfolio-grid {
        gap: 36px !important;
    }

    .portfolio-content .eyebrow {
        margin-bottom: 4px !important;
    }

    .portfolio-content .section-title {
        font-size: 1.42rem !important;
        line-height: 1.13 !important;
    }

    .portfolio-content > p:not(.eyebrow) {
        max-width: 300px !important;
        margin: 12px auto 18px !important;
        font-size: .96rem !important;
    }

    .filter-pills {
        gap: 24px !important;
        margin: 20px 0 28px !important;
    }

    .filter-pills button {
        min-width: 90px !important;
        padding: 4px 14px !important;
        font-size: .62rem !important;
        background: #fff !important;
        color: var(--green) !important;
    }

    .filter-pills button:nth-child(2) {
        order: -1 !important;
    }

    .filter-pills button:nth-child(n + 3) {
        display: none !important;
    }

    .filter-pills button::after {
        content: " ▼" !important;
        color: var(--red) !important;
        font-size: .48rem !important;
    }


    .project-filter-controls {
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 24px !important;
        margin: 20px 0 28px !important;
    }

    .project-filter-field {
        flex: 0 1 112px !important;
        min-width: 0 !important;
    }

    .project-filter-field select {
        min-width: 0 !important;
        height: 30px !important;
        padding: 3px 28px 3px 13px !important;
        font-size: .7rem !important;
    }

    .project-filter-field::after {
        right: 12px !important;
        width: 5px !important;
        height: 5px !important;
    }

    .project-filter-empty {
        max-width: 290px !important;
        margin: -8px auto 22px !important;
        font-size: .62rem !important;
        text-align: center !important;
    }

    .project-feature {
        width: min(88%, 360px) !important;
        min-height: 520px !important;
    }

    .project-feature > img {
        height: 520px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .project-feature-card {
        right: 11% !important;
        bottom: 17px !important;
        left: 11% !important;
        padding: 20px !important;
        border-radius: 8px !important;
        text-align: left !important;
    }

    .project-feature-card h3 {
        font-size: .92rem !important;
    }

    .project-feature-card > p:nth-of-type(1) {
        font-size: .7rem !important;
    }

    .project-feature-card > p:nth-of-type(2) {
        margin-bottom: 14px !important;
        font-size: .7rem !important;
    }

    .project-feature-card > div {
        gap: 10px !important;
    }

    .project-feature-card > div > span {
        min-width: 96px !important;
        padding: 8px 10px !important;
        font-size: .55rem !important;
    }

    .project-feature-card a {
        font-size: .62rem !important;
    }

    .project-mobile-nav {
        margin-top: -24px !important;
    }

    /* Comparison */
    .compare-section {
        padding-top: 58px !important;
    }

    .compare-section .section-title {
        font-size: 1.65rem !important;
    }

    .compare-section .section-intro {
        max-width: 290px !important;
        margin-top: 10px !important;
        font-size: .8rem !important;
    }

    .skyline {
        top: 120px !important;
        height: 185px !important;
        background-size: auto 100% !important;
    }

    .table-shell {
        margin-top: 58px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: linear-gradient(120deg, rgba(224, 241, 239, .95), rgba(255, 255, 255, .96)) !important;
    }

    .table-scroll {
        overflow: hidden !important;
    }

    table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    th,
    td {
        padding: 14px 16px !important;
        font-size: .68rem !important;
        white-space: normal !important;
    }

    th:nth-child(n + 3),
    td:nth-child(n + 3) {
        display: none !important;
    }

    th:first-child,
    td:first-child {
        width: 63% !important;
    }

    th:nth-child(2),
    td:nth-child(2) {
        width: 37% !important;
    }

    /* Purpose: heading above image and paragraph below */
    .purpose-section {
        padding: 62px 0 30px !important;
    }

    .purpose-section .purpose-grid {
        display: grid !important;
        width: calc(100% - 34px) !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: center !important;
    }

    /*.purpose-copy {*/
    /*    display: contents !important;*/
    /*}*/

    .purpose-copy .eyebrow {
        grid-row: 1 !important;
        margin: 0 auto 12px !important;
    }

    .purpose-copy .section-title {
        grid-row: 2 !important;
        margin: 0 auto 36px !important;
        font-size: clamp(2rem, 7.6vw, 3.15rem) !important;
    }

    .purpose-visual {
        grid-row: 3 !important;
        width: min(100%, 560px) !important;
        margin-inline: auto !important;
    }

    .purpose-visual > img {
        aspect-ratio: 1.82 !important;
        border-radius: 16px !important;
    }

    .trust-card {
        bottom: -72px !important;
        width: min(380px, calc(100% - 90px)) !important;
        min-height: 122px !important;
        padding: 20px 24px !important;
        justify-content: center !important;
        border-radius: 17px !important;
    }

    .trust-card strong {
        font-size: 2.7rem !important;
    }

    .trust-card span {
        font-size: 1.05rem !important;
        text-align: left !important;
    }

    .purpose-copy p:not(.eyebrow) {
        grid-row: 4 !important;
        max-width: 560px !important;
        margin: 112px auto 0 !important;
        font-size: .96rem !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    /* Why */
    .why-section {
        margin-top: 0 !important;
        padding: 48px 0 0 !important;
    }

    .why-section > .container {
        width: calc(100% - 34px) !important;
    }

    .why-section .section-title {
        font-size: 1.65rem !important;
    }

    .why-grid {
        width: min(100%, 520px) !important;
        grid-template-columns: 1fr !important;
        margin: 34px auto -18px !important;
        border-radius: 8px !important;
    }

    .why-grid article,
    .why-grid article:nth-child(2n),
    .why-grid article:nth-child(3n),
    .why-grid article:nth-last-child(-n + 2),
    .why-grid article:nth-last-child(-n + 3) {
        min-height: 126px !important;
        padding: 23px 26px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .38) !important;
    }

    .why-grid article:last-child {
        border-bottom: 0 !important;
    }

    .why-grid h3 {
        font-size: 1.04rem !important;
    }

    .why-grid p {
        font-size: .85rem !important;
    }

    /* Buyer journey */
    .buyer-journey-section {
        padding-top: 74px !important;
    }

    .buyer-journey-section .section-title {
        font-size: clamp(2rem, 7.8vw, 3rem) !important;
    }

    .steps-row {
        width: calc(100vw - 2px) !important;
        margin-left: calc(50% - 50vw) !important;
        padding: 12px calc((100vw - min(320px, 74vw)) / 2) 26px !important;
    }

    .step-card {
        flex-basis: min(320px, 74vw) !important;
        min-height: 320px !important;
        padding: 44px 28px !important;
    }

    .buyer-journey-section .button.centered {
        min-height: 46px !important;
        margin-top: 36px !important;
    }

    /* Testimonials */
    .testimonials-section {
        padding-top: 68px !important;
    }

    .testimonials-section .section-title {
        font-size: 1.55rem !important;
    }

    .testimonials-grid {
        gap: 56px !important;
        margin-top: 44px !important;
    }

    .testimonial-card {
        padding-left: 28px !important;
    }

    .testimonial-card::before {
        top: 26px !important;
        bottom: 26px !important;
        width: 2px !important;
    }

    .testimonial-person {
        gap: 12px !important;
    }

    .testimonial-person img {
        width: 34px !important;
        height: 34px !important;
    }

    .testimonial-person h3 {
        font-size: .92rem !important;
    }

    .testimonial-person p {
        font-size: .88rem !important;
    }

    .testimonial-card blockquote {
        margin: 18px 0 9px !important;
        font-size: .82rem !important;
        line-height: 1.45 !important;
    }

    .stars {
        font-size: .82rem !important;
    }

    /* Contact */
    .contact-section {
        padding-top: 72px !important;
        background: linear-gradient(var(--aqua) 0 15%, var(--green) 15% 100%) !important;
    }

    .contact-panel {
        gap: 34px !important;
        padding: 30px 22px !important;
        border-radius: 20px !important;
    }

    .contact-copy {
        text-align: center !important;
    }

    .contact-copy > p {
        font-size: 1.15rem !important;
    }

    .contact-copy h2 {
        font-size: 2rem !important;
    }

    .contact-copy > span {
        font-size: .78rem !important;
    }

    .lead-form input,
    .lead-form select,
    .lead-form button,
    .whatsapp-button {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 34px 24px !important;
    }

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: 1 / -1 !important;
    }
}

@media screen and (max-width: 575px) {
    .container,
    .container-wide {
        width: calc(100% - 24px) !important;
    }

    .section {
        padding: 25px 0 !important;
    }

    .section-title {
        font-size: clamp(1.85rem, 10.4vw, 2.75rem) !important;
    }

    /* Header */
    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        min-height: 70px !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        left: 14px !important;
        width: 137px !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        top: 70px !important;
        width: calc(100vw - 12px) !important;
    }

    /* Hero */
    .hero,
    .hero-inner {
        min-height: max(660px, 100svh) !important;
    }

    .hero-copy {
        bottom: 23.5% !important;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 13.2vw, 3.65rem) !important;
    }

    .hero-actions {
        grid-template-columns: 1fr !important;
        /*width: min(310px, 100%) !important;*/
        margin-left: auto !important;
    }

    .hero-actions .button {
        min-height: 40px !important;
        font-size: .62rem !important;
    }

    .hero-facts {
        bottom: 12.9% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px 12px !important;
        font-size: .62rem !important;
    }

    .hero-facts i {
        display: none !important;
    }

    /* About */
    .about-copy .section-title {
        font-size: 1.45rem !important;
    }

    .about-copy p:not(.eyebrow) {
        font-size: .9rem !important;
    }

    .about-copy h3 {
        font-size: .67rem !important;
    }

    .about-visual {
        width: min(91%, 370px) !important;
    }

    .about-stats {
        gap: 50px !important;
    }

    .about-stats small {
        font-size: 1.05rem !important;
    }

    /* Journey */
    .journey-heading .section-title {
        font-size: 1.38rem !important;
    }

    .journey-rail {
        padding-right: 50px !important;
        padding-left: 72px !important;
    }

    .journey-card {
        flex-basis: 180px !important;
        min-height: 179px !important;
    }

    /* Cities */
    .cities-title .section-title {
        font-size: 1.35rem !important;
    }

    .city-stage > img {
        height: 154px !important;
    }

    .city-info {
        width: 76% !important;
        margin-top: -27px !important;
        padding: 18px 24px 20px !important;
    }

    /* Portfolio */
    .portfolio-content .section-title {
        font-size: 1.3rem !important;
    }


    .project-filter-controls {
        gap: 12px !important;
    }

    .project-filter-field {
        flex-basis: 106px !important;
    }

    .project-filter-field select {
        font-size: .7rem !important;
    }

    .project-feature {
        width: min(84%, 300px) !important;
        min-height: 410px !important;
    }

    .project-feature > img {
        height: 410px !important;
    }

    .project-feature-card {
        right: 10% !important;
        bottom: 14px !important;
        left: 10% !important;
        padding: 17px !important;
    }

    .project-feature-card > div {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .project-feature-card > div > span {
        width: 96px !important;
    }

    /* Comparison */
    .compare-section .section-title {
        font-size: 1.4rem !important;
    }

    th,
    td {
        padding: 13px 12px !important;
        font-size: .62rem !important;
    }

    /* Purpose */
    .purpose-section .purpose-grid {
        width: calc(100% - 24px) !important;
        padding-top:10%;
    }

    .purpose-copy .section-title {
        margin-bottom: 28px !important;
        font-size: 1.7rem !important;
    }

    .purpose-visual > img {
        aspect-ratio: 1.55 !important;
    }

    .trust-card {
        bottom: -22px !important;
        width: calc(100% - 80px) !important;
        min-height: 104px !important;
        padding: 15px 18px !important;
    }

    .trust-card strong {
        font-size: 2.1rem !important;
    }

    .trust-card span {
        font-size: .78rem !important;
    }

    .purpose-copy p:not(.eyebrow) {
        margin-top: 22px !important;
        font-size: .78rem !important;
    }

    /* Why */
    .why-section > .container {
        width: calc(100% - 24px) !important;
    }

    .why-section .section-title {
        max-width: 250px !important;
        margin-inline: auto !important;
        font-size: 1.2rem !important;
    }

    .why-grid {
        width: min(263px, 100%) !important;
        margin-top: 34px !important;
    }

    .why-grid article,
    .why-grid article:nth-child(2n),
    .why-grid article:nth-child(3n),
    .why-grid article:nth-last-child(-n + 2),
    .why-grid article:nth-last-child(-n + 3) {
        min-height: 120px !important;
        padding: 21px 24px !important;
    }

    /* Buyer journey */
    .buyer-journey-section .section-title {
        font-size: 1.75rem !important;
    }

    .steps-row {
        padding-right: calc((100vw - min(260px, 80vw)) / 2) !important;
        padding-left: calc((100vw - min(260px, 80vw)) / 2) !important;
    }

    .step-card {
        flex-basis: min(260px, 80vw) !important;
        min-height: 290px !important;
        padding: 36px 25px !important;
    }

    .step-card strong {
        font-size: 3rem !important;
    }

    .step-card p {
        margin-top: 30px !important;
        font-size: 1.25rem !important;
    }

    .buyer-journey-section .button.centered {
        width: min(100%, 360px) !important;
        font-size: .72rem !important;
    }

    /* Testimonials */
    .testimonials-section .section-title {
        font-size: 1.28rem !important;
    }

    .testimonial-card {
        padding-left: 26px !important;
    }

    /* Contact */
    .contact-panel {
        padding: 28px 18px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: auto !important;
    }
}

@media screen and (max-width: 359px) {
    .container,
    .container-wide {
        width: calc(100% - 18px) !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        width: 124px !important;
    }

    .hero-copy h1 {
        font-size: 2.42rem !important;
    }

    .hero-actions .button {
        font-size: .7rem !important;
    }

    .journey-rail {
        padding-left: 64px !important;
    }

    .project-feature {
        width: 86% !important;
    }

    .purpose-copy .section-title {
        font-size: 1.55rem !important;
    }
}

@media screen and (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
    .hero,
    .hero-inner {
        min-height: 620px !important;
    }

    .hero-copy {
        bottom: 18% !important;
    }

    .hero-facts {
        bottom: 11% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-rail,
    .steps-row,
    .hero-track {
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   MOBILE COMPARISON TABLE: DESKTOP TABLE WITH HORIZONTAL SCROLL
   Keeps all seven columns visible and preserves desktop layout.
   ========================================================= */
@media screen and (max-width: 767px) {
    .compare-section .table-shell {
        position: relative !important;
        margin-top: 42px !important;
        padding: 12px 10px 8px !important;
        border: 1px solid rgba(255,255,255,.58) !important;
        border-radius: 18px !important;
        background: linear-gradient(120deg, rgba(255,255,255,.72), rgba(207,244,241,.62)) !important;
        box-shadow: 0 18px 42px rgba(8, 90, 83, .12) !important;
        backdrop-filter: blur(14px) !important;
        overflow: hidden !important;
    }

    .compare-section .table-scroll {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(8, 90, 83, .45) rgba(8, 90, 83, .08);
    }

    .compare-section .table-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .compare-section .table-scroll::-webkit-scrollbar-track {
        border-radius: 999px;
        background: rgba(8, 90, 83, .08);
    }

    .compare-section .table-scroll::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(8, 90, 83, .45);
    }

    .compare-section table {
        display: table !important;
        width: 100% !important;
        min-width: 1040px !important;
        table-layout: auto !important;
        border-collapse: collapse !important;
    }

    .compare-section thead {
        display: table-header-group !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: normal !important;
        border: 0 !important;
    }

    .compare-section tbody {
        display: table-row-group !important;
        width: auto !important;
    }

    .compare-section thead tr,
    .compare-section tbody tr {
        display: table-row !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .compare-section th,
    .compare-section td,
    .compare-section th:nth-child(n + 3),
    .compare-section td:nth-child(n + 3),
    .compare-section tbody td,
    .compare-section tbody td:nth-child(n + 3) {
        display: table-cell !important;
        width: auto !important;
        padding: 13px 14px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(8, 90, 83, .13) !important;
        color: var(--ink) !important;
        font-size: .66rem !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        text-align: left !important;
        vertical-align: middle !important;
    }

    .compare-section th {
        color: var(--red) !important;
        font-size: .62rem !important;
        font-weight: 700 !important;
        letter-spacing: .025em !important;
        text-transform: uppercase !important;
    }

    .compare-section tbody tr:last-child td {
        border-bottom: 0 !important;
    }

    .compare-section th:nth-child(1),
    .compare-section td:nth-child(1) {
        width: 220px !important;
        min-width: 220px !important;
    }

    .compare-section th:nth-child(2),
    .compare-section td:nth-child(2) {
        width: 125px !important;
        min-width: 125px !important;
    }

    .compare-section th:nth-child(3),
    .compare-section td:nth-child(3) {
        width: 165px !important;
        min-width: 165px !important;
    }

    .compare-section th:nth-child(4),
    .compare-section td:nth-child(4) {
        width: 110px !important;
        min-width: 110px !important;
    }

    .compare-section th:nth-child(5),
    .compare-section td:nth-child(5) {
        width: 125px !important;
        min-width: 125px !important;
    }

    .compare-section th:nth-child(6),
    .compare-section td:nth-child(6) {
        width: 220px !important;
        min-width: 220px !important;
    }

    .compare-section th:nth-child(7),
    .compare-section td:nth-child(7) {
        width: 125px !important;
        min-width: 125px !important;
    }

    .compare-section tbody td::before,
    .compare-section tbody td:nth-child(1)::before,
    .compare-section tbody td:nth-child(7)::before {
        display: none !important;
        content: none !important;
    }

    .compare-section tbody td:nth-child(1) strong {
        display: inline !important;
        color: var(--green) !important;
        font-size: .69rem !important;
        font-weight: 600 !important;
        line-height: inherit !important;
    }

    .compare-section .status-pill {
        display: inline-flex !important;
        min-width: 76px !important;
        justify-content: center !important;
        padding: 5px 10px !important;
        border-radius: 999px !important;
        font-size: .61rem !important;
        white-space: nowrap !important;
    }

    .compare-section .table-button {
        display: inline-flex !important;
        width: auto !important;
        min-width: 94px !important;
        min-height: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 7px 12px !important;
        border: 1px solid var(--red) !important;
        border-radius: 999px !important;
        background: transparent !important;
        color: var(--ink) !important;
        font-size: .63rem !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
    }

    .compare-section .table-button:hover,
    .compare-section .table-button:focus-visible {
        background: var(--red) !important;
        color: var(--white) !important;
    }
}

/* =====================================================
   COMPLETE MOBILE / TABLET TOGGLE MENU
   Desktop header remains unchanged.
   ===================================================== */
.mobile-menu-list {
    display: none;
}

/* Keep the property-advisor CTA centred on every viewport. */
.buyer-journey-section .button.centered {
    display: flex !important;
    width: max-content !important;
    max-width: calc(100% - 30px) !important;
    margin: 34px auto 0 !important;
    padding:15px;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

@media screen and (max-width: 1023px) {
    /* Hide only the desktop link clusters inside the toggle panel. */
    .site-header .primary-nav .nav-cluster {
        display: none !important;
    }

    /* Allow every menu item to remain accessible on short screens. */
    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        align-items: stretch !important;
        gap: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        padding: 26px 28px 145px !important;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-list {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .site-header .mobile-menu-list a {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        min-height: 54px !important;
        padding: 14px 4px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
        color: #fff !important;
        font-size: .95rem !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        transition: padding-left .2s ease, background .2s ease, color .2s ease !important;
    }

    .site-header .mobile-menu-list a:first-child {
        border-top: 1px solid rgba(255, 255, 255, .16) !important;
    }

    .site-header .mobile-menu-list a::after {
        display: none !important;
        content: none !important;
    }

    .site-header .mobile-menu-list a b {
        flex: 0 0 auto !important;
        color: var(--mint, #84f3df) !important;
        font-size: 1.15rem !important;
        font-weight: 400 !important;
        transition: transform .2s ease !important;
    }

    .site-header .mobile-menu-list a:hover,
    .site-header .mobile-menu-list a:focus-visible {
        padding-left: 12px !important;
        background: rgba(255, 255, 255, .07) !important;
        color: var(--mint, #84f3df) !important;
        outline: 0 !important;
    }

    .site-header .mobile-menu-list a:hover b,
    .site-header .mobile-menu-list a:focus-visible b {
        transform: translateX(4px) !important;
    }
}

@media screen and (max-width: 575px) {
    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        width: 100% !important;
        padding: 22px 22px 140px !important;
    }

    .site-header .mobile-menu-list a {
        min-height: 51px !important;
        font-size: .9rem !important;
    }

    .buyer-journey-section .button.centered {
        width: calc(100% - 30px) !important;
        min-height: 46px !important;
        margin-top: 28px !important;
        padding: 12px 18px !important;
    }
}

/* =========================================================
   FINAL MOBILE JOURNEY CAROUSEL + DRAG CURSOR
   Matches the supplied narrow reference without changing
   the approved desktop layout.
   ========================================================= */

/* Desktop mouse users see a grab hand on horizontal carousels. */
@media (hover: hover) and (pointer: fine) {
    .drag-scroll {
        cursor: grab !important;
    }

    .drag-scroll.is-dragging {
        cursor: grabbing !important;
        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
    }

    .drag-scroll.is-dragging,
    .drag-scroll.is-dragging * {
        user-select: none !important;
        -webkit-user-select: none !important;
        cursor: grabbing !important;
    }
}

@media screen and (max-width: 767px) {
    /* Journey heading and card rail match the supplied mobile reference. */
    .discovery-section .journey-layout {
        gap: 26px !important;
    }

    .journey-heading {
        width: calc(100% - 36px) !important;
        max-width: 360px !important;
        margin-inline: auto !important;
        text-align: center !important;
    }

    .journey-heading .eyebrow {
        margin: 0 auto 10px !important;
        padding-bottom: 5px !important;
        font-size: .7rem !important;
    }

    .journey-heading .section-title {
        margin: 0 auto !important;
        font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -.035em !important;
    }

    .journey-scroller {
        position: relative !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        overflow: hidden !important;
    }

    .journey-rail {
        --journey-card-width: min(180px, 70vw);
        display: flex !important;
        width: 100% !important;
        gap: 24px !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px calc((100vw - var(--journey-card-width)) / 2) 58px !important;
        scroll-padding-inline: calc((100vw - var(--journey-card-width)) / 2) !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-inline: contain !important;
    }

    .journey-rail::-webkit-scrollbar {
        display: none !important;
    }

    .journey-card {
        flex: 0 0 var(--journey-card-width) !important;
        width: var(--journey-card-width) !important;
        min-height: 180px !important;
        padding: 27px 15px 18px !important;
        border-radius: 15px !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
    }

    .journey-card h3 {
        font-size: .88rem !important;
        line-height: 1.24 !important;
    }

    .journey-card p {
        min-height: 58px !important;
        margin: 18px 0 14px !important;
        font-size: .88rem !important;
        line-height: 1.45 !important;
    }

    .journey-card a {
        padding-top: 12px !important;
        font-size: .55rem !important;
    }

    .journey-scroller::after {
        content: "" !important;
        position: absolute !important;
        right: 20px !important;
        bottom: 0 !important;
        left: 20px !important;
        height: 1px !important;
        background: linear-gradient(
            90deg,
            rgba(221, 7, 30, .75) 0 25%,
            rgba(8, 90, 83, .18) 25% 100%
        ) !important;
        pointer-events: none !important;
    }

    /* The final why-us card slightly overlaps the white section, as in the reference. */
    .why-section {
        overflow: visible !important;
        background: linear-gradient(
            to bottom,
            var(--green) 0 calc(100% - 24px),
            var(--white) calc(100% - 24px) 100%
        ) !important;
    }

    .why-grid {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 359px) {
    .journey-rail {
        --journey-card-width: min(174px, 72vw);
        gap: 20px !important;
    }
}

/* =========================================================
   FINAL CLEAN MOBILE / TABLET HEADER
   Appended last so it overrides earlier responsive rules.
   Desktop header at 1024px and above is not changed.
   ========================================================= */
@media screen and (max-width: 1023px) {
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1980;
        background: rgba(2, 24, 32, .46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    body.nav-open::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header,
    .site-header.is-scrolled {
        z-index: 2000 !important;
    }

    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        min-height: 82px !important;
        padding: 0 22px !important;
        align-items: center !important;
        justify-content: space-between !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: linear-gradient(90deg, rgba(177, 202, 232, .96), rgba(86, 128, 184, .93)) !important;
        box-shadow: 0 8px 24px rgba(16, 48, 82, .14) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }

    .site-header.is-scrolled .header-shell {
        background: linear-gradient(90deg, rgba(84, 126, 169, .98), rgba(40, 82, 133, .96)) !important;
        box-shadow: 0 10px 26px rgba(8, 31, 57, .22) !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        position: static !important;
        top: auto !important;
        left: auto !important;
        z-index: 2 !important;
        width: 166px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .site-header .brand img,
    .site-header.is-scrolled .brand img {
        width: 100% !important;
        height: auto !important;
    }

    .site-header .nav-toggle,
    .site-header.is-scrolled .nav-toggle {
        position: static !important;
        top: auto !important;
        right: auto !important;
        z-index: 3 !important;
        display: flex !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        flex: 0 0 46px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255, 255, 255, .48) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .08) !important;
        box-shadow: none !important;
        transform: none !important;
        transition: background .2s ease, border-color .2s ease, transform .2s ease !important;
    }

    .site-header .nav-toggle:hover,
    .site-header .nav-toggle:focus-visible {
        border-color: rgba(255, 255, 255, .85) !important;
        background: rgba(255, 255, 255, .15) !important;
        outline: none !important;
    }

    .site-header .nav-toggle span,
    .site-header.is-scrolled .nav-toggle span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        margin: 3px 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        transform-origin: center !important;
        transition: transform .25s ease, opacity .2s ease !important;
    }

    body.nav-open .site-header .nav-toggle {
        background: rgba(255, 255, 255, .16) !important;
        border-color: rgba(255, 255, 255, .72) !important;
    }

    body.nav-open .site-header .nav-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    body.nav-open .site-header .nav-toggle span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }

    body.nav-open .site-header .nav-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        position: fixed !important;
        top: 82px !important;
        right: 18px !important;
        bottom: auto !important;
        left: 18px !important;
        z-index: 1995 !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: calc(100svh - 100px) !important;
        padding: 8px 20px 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        border: 1px solid rgba(255, 255, 255, .13) !important;
        border-top: 0 !important;
        border-radius: 0 0 20px 20px !important;
        background: linear-gradient(180deg, rgba(5, 99, 91, .99), rgba(4, 75, 69, .99)) !important;
        box-shadow: 0 24px 48px rgba(0, 35, 34, .30) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-14px) !important;
        transition: opacity .24s ease, transform .24s ease, visibility .24s ease !important;
        -webkit-overflow-scrolling: touch;
    }

    body.nav-open .site-header .primary-nav,
    body.nav-open .site-header.is-scrolled .primary-nav {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .site-header .primary-nav .nav-cluster {
        display: none !important;
    }

    .site-header .mobile-menu-list {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .site-header .mobile-menu-list a {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        min-height: 50px !important;
        padding: 12px 4px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .15) !important;
        color: rgba(255, 255, 255, .96) !important;
        font-size: .92rem !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        text-decoration: none !important;
        transition: color .2s ease, padding-left .2s ease, background .2s ease !important;
    }

    .site-header .mobile-menu-list a:first-child {
        border-top: 0 !important;
    }

    .site-header .mobile-menu-list a:last-child {
        border-bottom: 0 !important;
    }

    .site-header .mobile-menu-list a::after {
        display: none !important;
        content: none !important;
    }

    .site-header .mobile-menu-list a b {
        display: grid !important;
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        place-items: center !important;
        border-radius: 50% !important;
        background: rgba(132, 243, 223, .10) !important;
        color: var(--mint, #84f3df) !important;
        font-size: .95rem !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        transition: background .2s ease, transform .2s ease !important;
    }

    .site-header .mobile-menu-list a:hover,
    .site-header .mobile-menu-list a:focus-visible {
        padding-left: 10px !important;
        background: rgba(255, 255, 255, .055) !important;
        color: var(--mint, #84f3df) !important;
        outline: none !important;
    }

    .site-header .mobile-menu-list a:hover b,
    .site-header .mobile-menu-list a:focus-visible b {
        background: rgba(132, 243, 223, .18) !important;
        transform: translateX(2px) !important;
    }

    /* The desktop search bar stays on desktop. Hiding its old floating
       mobile position prevents it from covering menu items. */
    .site-header .header-search,
    .site-header.is-scrolled .header-search,
    body.nav-open .site-header .header-search {
        display: none !important;
        transform: none !important;
    }
}

@media screen and (max-width: 767px) {
    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        min-height: 70px !important;
        padding: 0 14px 0 18px !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        width: 142px !important;
    }

    .site-header .nav-toggle,
    .site-header.is-scrolled .nav-toggle {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
        border-radius: 11px !important;
    }

    .site-header .nav-toggle span,
    .site-header.is-scrolled .nav-toggle span {
        width: 22px !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        top: 70px !important;
        right: 8px !important;
        left: 8px !important;
        max-height: calc(100svh - 78px) !important;
        padding: 6px 16px 14px !important;
        border-radius: 0 0 16px 16px !important;
    }

    .site-header .mobile-menu-list a {
        min-height: 48px !important;
        padding: 11px 2px !important;
        font-size: .86rem !important;
    }

    .site-header .mobile-menu-list a b {
        width: 26px !important;
        height: 26px !important;
        flex-basis: 26px !important;
        font-size: .88rem !important;
    }
}

@media screen and (max-width: 359px) {
    .site-header .header-shell,
    .site-header.is-scrolled .header-shell {
        padding-right: 10px !important;
        padding-left: 12px !important;
    }

    .site-header .brand,
    .site-header.is-scrolled .brand {
        width: 128px !important;
    }

    .site-header .primary-nav,
    .site-header.is-scrolled .primary-nav {
        right: 5px !important;
        left: 5px !important;
        padding-right: 13px !important;
        padding-left: 13px !important;
    }
}

/* =========================================================
   MOBILE-ONLY SECTION HEADING CENTER ALIGNMENT
   Desktop and tablet UI remain unchanged.
   ========================================================= */
@media screen and (max-width: 767px) {
    .dc-animated-title,
    .dc-animated-title.dc-title-stacked,
    .dc-animated-title.dc-title-inline {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .dc-animated-title .dc-title-part {
        width: auto !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center !important;
    }
}
@media (max-width: 1023px) {
    .hero .hero-copy, .hero .hero-copy[data-reveal], .hero .hero-copy[data-reveal].is-visible {
        top: 40% !important;
        right: auto !important;
        bottom: auto !important;
        left: 47% !important;
        width: calc(47% - 0px) !important;
        text-align: center !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* =========================================================
   FINAL MOBILE CITIES SPACING FIX
   Removes the large blank gap above "WHERE ARE YOU LOOKING FOR?"
   without changing tablet or desktop layouts.
   Keep this block at the absolute end of responsive.css.
   ========================================================= */
@media screen and (max-width: 767px) {
    .discovery-section .cities-block {
        margin-top: 12px !important;
    }
}

@media screen and (max-width: 575px) {
    .discovery-section .cities-block {
        margin-top: 6px !important;
    }
}

/* =========================================================
   FINAL MOBILE CITIES TITLE LAYOUT
   Shows "3 Cities." and "1 Vision" on separate lines.
   Tablet and desktop remain unchanged.
   Keep this block at the absolute end of responsive.css.
   ========================================================= */
@media screen and (max-width: 767px) {
    .discovery-section .cities-title .section-title,
    .discovery-section .cities-title .section-title.dc-animated-title,
    .discovery-section .cities-title .dc-animated-title {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        text-align: center !important;
    }

    .discovery-section .cities-title .section-title .dc-title-part,
    .discovery-section .cities-title .dc-animated-title .dc-title-part,
    .discovery-section .cities-title .section-title > span {
        display: block !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   FINAL TABLET HERO BUTTON ALIGNMENT
   Centers both hero CTA buttons on tablets only.
   Mobile and desktop layouts remain unchanged.
   ========================================================= */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero .hero-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: min(390px, 100%) !important;
        margin: 20px auto 0 !important;
        justify-content: center !important;
        justify-items: stretch !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .hero .hero-actions .button {
        width: 100% !important;
        margin: 0 !important;
    }
}
