/* Dream Square Properties homepage refresh. Loaded after the existing style.css. */
:root {
    --ds-blue: var(--blue, #153c7a);
    --ds-ink: var(--ink, #17243a);
    --ds-muted: var(--muted, #68758a);
    --ds-line: var(--line, #e2e8f0);
    --ds-soft: #f5f8fc;
    --ds-accent: var(--yellow, #f4c45d)
}

/* Top contact bar: retain WhatsApp and email actions, with no tagline. */
.topbar .topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 44px;
    padding-top: 6px;
    padding-bottom: 6px
}

.topbar-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%
}

.topbar-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background .2s, border-color .2s
}

.topbar-contact span {
    font-size: 1rem;
    line-height: 1
}

.topbar-whatsapp {
    background: #218c54;
    border-color: #218c54
}

.topbar-whatsapp:hover {
    background: #187343;
    border-color: #187343
}

.topbar-email {
    background: transparent
}

.topbar-email:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .65)
}

/* Mobile contact controls are intentionally smaller than the brand logo. */
.mobile-nav-actions {
    display: none
}

.mobile-nav-action {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    width: 36px;
    height: 34px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1
}

.mobile-nav-action small {
    font-size: .52rem;
    font-weight: 750;
    line-height: 1.1
}

.mobile-call {
    color: var(--ds-blue);
    background: #edf3fc;
    border: 1px solid #d9e4f5
}

.mobile-whatsapp {
    color: #fff;
    background: #218c54;
    border: 1px solid #218c54
}

.ds-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f8fc;
    line-height: 0
}

.ds-hero-bg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
    margin: 0
}

.ds-eyebrow {
    display: inline-block;
    margin: 0 0 13px;
    color: var(--ds-blue);
    font-size: .72rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.ds-intro-image.section {
    padding-top: 76px;
    padding-bottom: 78px
}

.ds-intro-image-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: center
}

.ds-intro-image-frame {
    padding: 12px;
    background: #edf3fa;
    border-radius: 22px;
    overflow: hidden
}

.ds-intro-image-frame img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 14px
}

.ds-intro-content h1 {
    max-width: 580px;
    margin: 0 0 20px;
    color: var(--ds-ink);
    font-size: clamp(2.15rem, 4vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -.04em
}

.ds-intro-content p {
    margin: 0 0 14px;
    color: var(--ds-muted);
    font-size: 1rem;
    line-height: 1.8
}

.ds-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    color: var(--ds-blue);
    font-weight: 800;
    text-decoration: none
}

.ds-text-link span {
    transition: transform .2s
}

.ds-text-link:hover span {
    transform: translateX(4px)
}

/* Stats: values marked XX are deliberate placeholders pending verified business figures. */
.ds-stats-section {
    padding: 60px 0 54px;
    background: var(--ds-blue);
    color: #fff
}

.ds-stats-heading {
    text-align: center;
    margin-bottom: 28px
}

.ds-stats-heading .ds-eyebrow {
    color: #d7e5ff
}

.ds-stats-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -.03em
}

.ds-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    overflow: hidden
}

.ds-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 138px;
    padding: 22px 14px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .22)
}

.ds-stat-card:last-child {
    border-right: 0
}

.ds-stat-value {
    font-size: clamp(1.55rem, 2.5vw, 2.3rem);
    font-weight: 850;
    letter-spacing: -.035em;
    color: #fff
}

.ds-stat-label {
    font-size: .88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .82)
}

.ds-placeholder-note {
    margin: 18px 0 0;
    color: var(--ds-muted);
    font-size: .76rem;
    line-height: 1.55;
    text-align: center
}

.ds-stats-section .ds-placeholder-note {
    color: rgba(255, 255, 255, .72)
}

.ds-section-heading {
    margin-bottom: 36px
}

.ds-section-heading h2,
.ds-journey-content h2,
.ds-enquiry-copy h2 {
    margin: 0;
    color: var(--ds-ink);
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: -.035em
}

.ds-heading-centered {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center
}

.ds-heading-centered p {
    max-width: 660px;
    margin: 14px auto 0;
    color: var(--ds-muted);
    line-height: 1.8
}

.ds-heading-split {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 40px;
    align-items: end
}

.ds-heading-aside p {
    max-width: 510px;
    margin: 0 0 14px;
    color: var(--ds-muted);
    line-height: 1.75
}

.ds-commitment.section {
    padding-top: 82px;
    padding-bottom: 86px;
    background: var(--ds-soft)
}

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

.ds-commitment-card {
    position: relative;
    min-height: 225px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(20, 48, 89, .035);
    transition: transform .2s, box-shadow .2s
}

.ds-commitment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 48, 89, .08)
}

.ds-card-number {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #9ba9bc;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em
}

.ds-line-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 21px;
    background: #edf4ff;
    border-radius: 13px;
    color: var(--ds-blue);
    font-size: 1.3rem;
    font-weight: 700
}

.ds-commitment-card h3 {
    margin: 0 0 9px;
    color: var(--ds-ink);
    font-size: 1.06rem
}

.ds-commitment-card p {
    margin: 0;
    color: var(--ds-muted);
    font-size: .9rem;
    line-height: 1.72
}

.ds-projects.section {
    padding-top: 82px;
    padding-bottom: 84px
}

.ds-project-cards {
    margin-top: 0;
    gap: 24px
}

.ds-projects .card,
.ds-projects .project-card {
    overflow: hidden;
    border-radius: 16px
}

/* Client review carousel. Real client logos and approved testimonials must replace placeholders. */
.ds-testimonials.section {
    padding-top: 78px;
    padding-bottom: 78px;
    background: #fff
}

.ds-review-carousel {
    max-width: 800px;
    margin: 0 auto
}

.ds-review-track {
    position: relative;
    min-height: 310px
}

.ds-review-slide {
    box-sizing: border-box;
    width: 100%;
    min-height: 290px;
    padding: 30px clamp(20px, 5vw, 52px);
    border: 1px solid #e4eaf2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(20, 48, 89, .06);
    text-align: center
}

.ds-review-slide[hidden] {
    display: none
}

.ds-client-logo-placeholder {
    display: grid;
    place-items: center;
    width: 96px;
    height: 64px;
    margin: 0 auto 16px;
    border: 1px dashed #b8c6d8;
    border-radius: 10px;
    color: #7b899b;
    background: #f7f9fc;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em
}

.ds-review-stars {
    margin-bottom: 13px;
    color: #d59a21;
    letter-spacing: .18em
}

.ds-review-slide blockquote {
    max-width: 630px;
    margin: 0 auto 18px;
    color: var(--ds-ink);
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    line-height: 1.7;
    font-weight: 550
}

.ds-review-author {
    margin: 0 0 4px;
    color: var(--ds-ink);
    font-weight: 800
}

.ds-review-meta {
    margin: 0;
    color: var(--ds-muted);
    font-size: .8rem
}

.ds-review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px
}

.ds-review-controls>button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dce4ee;
    border-radius: 50%;
    background: #fff;
    color: var(--ds-blue);
    font-size: 1rem;
    cursor: pointer
}

.ds-review-controls>button:hover {
    background: #edf4ff
}

.ds-review-dots {
    display: flex;
    align-items: center;
    gap: 8px
}

.ds-review-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c6d0dd;
    cursor: pointer
}

.ds-review-dots button.is-active {
    width: 23px;
    border-radius: 999px;
    background: var(--ds-blue)
}

.ds-enquiry-section.section {
    padding-top: 78px;
    padding-bottom: 82px;
    background: var(--ds-soft)
}

.ds-enquiry-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center
}

.ds-enquiry-copy h2 {
    max-width: 520px
}

.ds-enquiry-copy>p {
    max-width: 510px;
    margin: 18px 0 0;
    color: var(--ds-muted);
    line-height: 1.8
}

.ds-enquiry-points {
    display: grid;
    gap: 13px;
    margin: 25px 0
}

.ds-enquiry-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ds-ink);
    font-weight: 650;
    font-size: .94rem
}

.ds-enquiry-points span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e3f4eb;
    color: #21794a;
    font-size: .8rem;
    font-weight: 900
}

.ds-enquiry-copy .ds-disclaimer {
    padding-left: 14px;
    border-left: 3px solid var(--ds-accent);
    font-size: .8rem;
    line-height: 1.7
}

.ds-enquiry-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 680px;
    justify-self: end;
    padding: clamp(24px, 3vw, 38px);
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(20, 48, 89, .07)
}

.ds-form-heading {
    margin-bottom: 24px
}

.ds-form-heading .ds-eyebrow {
    margin-bottom: 8px
}

.ds-form-heading h3 {
    margin: 0 0 7px;
    color: var(--ds-ink);
    font-size: 1.5rem
}

.ds-form-heading p {
    margin: 0;
    color: var(--ds-muted);
    font-size: .83rem
}

.ds-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.ds-form-full {
    grid-column: 1/-1
}

.ds-enquiry-form .form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ds-ink);
    font-size: .86rem;
    font-weight: 700
}

.ds-enquiry-form .form-control {
    box-sizing: border-box;
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
    color: var(--ds-ink);
    font: inherit;
    font-size: .92rem;
    outline: none
}

.ds-enquiry-form textarea.form-control {
    min-height: 96px;
    resize: vertical
}

.ds-enquiry-form .form-control:focus {
    border-color: var(--ds-blue);
    box-shadow: 0 0 0 3px rgba(21, 60, 122, .1)
}

.ds-submit-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px
}

.ds-form-note {
    margin: 14px 0 0;
    color: var(--ds-muted);
    font-size: .77rem;
    line-height: 1.6
}

.ds-final-cta.section {
    padding-top: 0;
    padding-bottom: 78px;
    background: var(--ds-soft)
}

.ds-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(30px, 5vw, 52px);
    border-radius: 22px;
    background: var(--ds-blue);
    color: #fff
}

.ds-cta-band .ds-eyebrow {
    color: #dce8ff
}

.ds-cta-band h2 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.2;
    letter-spacing: -.03em
}

.ds-cta-band p {
    max-width: 640px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7
}

.ds-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 0 0 auto
}

.ds-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap
}

.ds-cta-secondary {
    color: #fff;
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none
}

.ds-cta-secondary:hover {
    text-decoration: underline
}

/* Footer: three balanced columns as requested. */
.ds-footer {
    padding: 54px 0 0;
    background: #101f35;
    color: #d6deea
}

.ds-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .9fr;
    gap: clamp(28px, 5vw, 72px);
    padding-bottom: 38px
}

.ds-footer-brand img {
    display: block;
    max-width: 190px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 18px
}

.ds-footer-brand p {
    max-width: 400px;
    margin: 0 0 18px;
    color: #b9c5d6;
    font-size: .9rem;
    line-height: 1.8
}

.ds-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

.ds-footer-social a {
    color: #fff;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none
}

.ds-footer-social a:hover,
.ds-footer-column a:hover {
    color: #fff;
    text-decoration: underline
}

.ds-footer-column h3 {
    margin: 5px 0 18px;
    color: #fff;
    font-size: 1rem
}

.ds-footer-column ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.ds-footer-column a {
    color: #c7d1df;
    font-size: .88rem;
    text-decoration: none
}

.ds-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #aab8cb;
    font-size: .78rem;
    line-height: 1.5
}

@media(max-width:1000px) {
    .ds-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ds-stat-card:nth-child(2) {
        border-right: 0
    }

    .ds-stat-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .22)
    }

    .ds-commitment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ds-intro-image-frame img {
        height: 340px
    }

    .ds-footer-grid {
        grid-template-columns: 1.2fr .8fr .9fr;
        gap: 28px
    }

    .ds-cta-band {
        align-items: flex-start
    }
}

@media(max-width:760px) {
    .contact-num{
        display: none;
    }
    .topbar .topbar-inner {
        min-height: 40px
    }

    .topbar-actions {
        gap: 7px;
        justify-content: center;
    }

    .topbar-contact {
        min-height: 29px;
        padding: 6px 9px;
        font-size: .73rem
    }

    .nav-wrap {
        gap: 8px
    }

    .brand {
        flex: 0 0 auto
    }

    .brand img {
        display: block;
        max-width: 128px;
        max-height: 42px;
        width: auto;
        height: auto;
        object-fit: contain
    }

    .mobile-nav-actions {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: auto
    }

    .mobile-nav-action {
        display: flex;
        flex: 0 0 35px;
        width: 35px;
        height: 32px;
        font-size: .88rem
    }

    .mobile-nav-action small {
        font-size: .49rem
    }

    .menu-toggle {
        flex: 0 0 auto
    }

    .nav-cta {
        display: none !important
    }

    .ds-hero-bg {
        max-height: none;
        object-fit: contain
    }

    .ds-intro-image.section,
    .ds-commitment.section,
    .ds-projects.section,
    .ds-testimonials.section,
    .ds-enquiry-section.section {
        padding-top: 54px;
        padding-bottom: 56px
    }

    .ds-intro-image-grid,
    .ds-heading-split,
    .ds-enquiry-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .ds-intro-image-frame img {
        height: 280px
    }

    .ds-intro-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem)
    }

    .ds-heading-split {
        align-items: start
    }

    .ds-section-heading {
        margin-bottom: 28px
    }

    .ds-heading-centered {
        text-align: left;
        margin-left: 0;
        margin-right: 0
    }

    .ds-heading-centered p {
        margin-left: 0
    }

    .ds-stats-section {
        padding: 44px 0
    }

    .ds-stats-heading {
        text-align: left
    }

    .ds-stat-card {
        min-height: 112px;
        padding: 18px 9px
    }

    .ds-stat-label {
        font-size: .79rem
    }

    .ds-commitment-grid {
        gap: 13px
    }

    .ds-commitment-card {
        padding: 22px 18px;
        min-height: 0
    }

    .ds-line-icon {
        margin-bottom: 18px
    }

    .ds-review-track {
        min-height: 325px
    }

    .ds-review-slide {
        min-height: 300px;
        padding: 25px 20px
    }

    .ds-enquiry-form {
        justify-self: stretch;
        max-width: none
    }

    .ds-cta-band {
        flex-direction: column;
        padding: 30px 24px
    }

    .ds-cta-actions {
        width: 100%
    }

    .ds-cta-actions .btn {
        white-space: normal
    }

    .ds-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px
    }

    .ds-footer-brand {
        grid-column: 1/-1
    }

    .ds-footer-brand img {
        max-width: 165px;
        max-height: 56px
    }

    .ds-footer-bottom {
        flex-direction: column;
        gap: 7px
    }

    .ds-form-grid {
        grid-template-columns: 1fr
    }

    .ds-form-full {
        grid-column: auto
    }
}

@media(max-width:420px) {
    .brand img {
        max-width: 112px;
        max-height: 38px
    }

    .mobile-nav-actions {
        gap: 4px
    }

    .mobile-nav-action {
        flex-basis: 31px;
        width: 31px;
        height: 30px;
        border-radius: 7px
    }

    .mobile-nav-action small {
        font-size: .44rem
    }

    .menu-toggle {
        padding: 6px;
        font-size: 1.05rem
    }

    .topbar-contact {
        padding: 6px 8px;
        font-size: .7rem
    }

    .ds-stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .ds-stat-value {
        font-size: 1.42rem
    }

    .ds-stat-label {
        font-size: .75rem
    }

    .ds-commitment-grid {
        grid-template-columns: 1fr
    }

    .ds-review-track {
        min-height: 350px
    }

    .ds-review-slide {
        min-height: 325px
    }

    .ds-enquiry-form {
        padding: 22px 18px
    }

    .ds-footer-grid {
        grid-template-columns: 1fr
    }

    .ds-footer-brand {
        grid-column: auto
    }

    .ds-footer-column h3 {
        margin-bottom: 12px
    }
}

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

    .ds-text-link span,
    .ds-commitment-card {
        transition: none !important
    }
}