/* ==========================================================================
   D&B Properties — Project Page Styles
   MOBILE-FIRST responsive design
   Base styles = mobile → scale up via min-width media queries
   ========================================================================== */

/* ── BUTTONS (project page overrides) ── */
.btn {
    width: 100%;
    box-sizing: border-box;
}

.btn-outline-dark {
    background: #fff;
    color: #181244;
}

.btn-outline-dark:hover {
    background: #181244;
    color: #fff;
}

/* ── LAYOUT ── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section {
    padding: 48px 0;
}

.section-alt {
    background: var(--bg);
}

.sec-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.sec-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.sec-sub {
    font-size: 16px;
    color: rgba(35, 35, 35, .65);
    line-height: 1.8;
    max-width: 640px;
}

.sec-head {
    margin-bottom: 36px;
}

.sec-head.center {
    text-align: center;
}

.sec-head.center .sec-sub {
    margin: 0 auto;
}

.two-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.img-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 11, 69, .15);
}

.img-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform .6s;
}

.img-frame:hover img {
    transform: scale(1.03);
}

/* ── HERO ── */
.sp-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sp-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.sp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 69, .95) 0%, rgba(11, 11, 69, .65) 50%, rgba(5, 61, 160, .25) 100%);
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 61, 160, .35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.sp-hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}

.sp-hero h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 8vw, 84px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.sp-hero-sub {
    font-size: clamp(15px, 1.8vw, 20px);
    color: rgba(255, 255, 255, .85);
    font-weight: 300;
    margin-bottom: 28px;
    max-width: 700px;
    line-height: 1.7;
}

.sp-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-hero-badges {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hbadge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.hbadge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
    flex-shrink: 0;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
    position: static;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 11, 69, .08);
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bc-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(35, 35, 35, .55);
    white-space: nowrap;
}

.bc-inner a {
    color: var(--blue);
    text-decoration: none;
}

.bc-inner a:hover {
    color: var(--navy);
}

.bc-sep {
    opacity: .35;
}

.bc-current {
    color: var(--dark);
    font-weight: 500;
}

/* ── SECTION NAV (floating) ── */
.section-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
    pointer-events: none;
    border: none;
    background: transparent;
    box-shadow: none;
}

.section-nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.section-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 6px 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10), 0 1px 4px rgba(0, 0, 0, .06);
    border: 1px solid rgba(255, 255, 255, .6);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.section-nav-inner::-webkit-scrollbar {
    display: none;
}

.section-nav-link {
    padding: 8px 18px;
    font-family: var(--sans, 'Poppins', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: rgba(35, 35, 35, .6);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 40px;
    transition: color .2s, background .2s;
    position: relative;
    flex-shrink: 0;
}

.section-nav-link:hover {
    color: var(--navy, #0B0B45);
    background: rgba(11, 11, 69, .05);
}

.section-nav-link.active {
    color: var(--blue, #053DA0);
    font-weight: 600;
    background: rgba(5, 61, 160, .08);
}

/* ── HIDE MAIN NAV WHEN SECTION NAV IS ACTIVE ── */
.topbar,
body>nav {
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
}

.section-nav-active .topbar,
.section-nav-active>nav {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ── PROJECT SUMMARY BLOCK ── */
.summary-section {
    background: var(--bg);
    padding: 32px 0;
}

.summary-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(11, 11, 69, .08);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11, 11, 69, .06);
}

.summary-card-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid rgba(11, 11, 69, .08);
}

.sch-project {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sch-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.25;
}

.sch-meta {
    font-size: 14px;
    color: rgba(35, 35, 35, .55);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sch-meta strong {
    color: var(--navy);
    font-weight: 600;
}

.sch-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue);
    fill: none;
    flex-shrink: 0;
}

.sch-price-box {
    border: 1.5px solid rgba(11, 11, 69, .12);
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
}

.sch-price-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(35, 35, 35, .45);
    margin-bottom: 2px;
}

.sch-price-val {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.sch-price-val .info-ico,
.sd-value .info-ico {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(5, 61, 160, .3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--blue);
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}

.sd-value .info-ico {
    width: 16px;
    height: 16px;
    font-size: 10px;
    border-width: 1.5px;
    border-color: rgba(5, 61, 160, .25);
}

/* Detail grid — stacked on mobile */
.summary-detail-grid {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(11, 11, 69, .06);
}

.summary-detail-grid:last-of-type {
    border-bottom: none;
}

.sd-cell {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(11, 11, 69, .04);
    min-height: 48px;
}

.sd-cell:last-child {
    border-bottom: none;
}

.sd-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .55;
}

.sd-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--blue);
    fill: none;
}

.sd-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sd-label {
    font-size: 14px;
    color: rgba(35, 35, 35, .55);
    white-space: nowrap;
}

.sd-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-left: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sd-value.highlight {
    color: var(--blue);
}

/* Footer / download */
.summary-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px 20px;
    margin-top: 8px;
}

.sf-download {
    display: flex;
    width: 100%;
    padding: 16px;
    background: rgba(5, 61, 160, .06);
    border: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    transition: var(--trans);
    text-align: center;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sf-download:hover {
    background: rgba(5, 61, 160, .12);
}

.sf-download svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue);
    fill: none;
}

.sf-note {
    font-size: 12px;
    color: rgba(35, 35, 35, .4);
    text-align: center;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sf-note svg {
    width: 13px;
    height: 13px;
    stroke: var(--blue);
    fill: none;
    flex-shrink: 0;
}

/* ── OVERVIEW ── */
.features-list {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(11, 11, 69, .07);
    font-size: 15px;
    color: var(--dark);
    line-height: 1.6;
}

.features-list li:last-child {
    border-bottom: none;
}

.f-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(5, 61, 160, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.f-check svg {
    color: var(--blue);
    width: 12px;
    height: 12px;
}

/* ── AMENITIES ── */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.amen-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(11, 11, 69, .08);
    transition: var(--trans);
    height: 100%;
}

.amen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(11, 11, 69, .12);
    border-color: rgba(5, 61, 160, .2);
}

.amen-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(5, 61, 160, .08);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amen-ico svg {
    color: var(--blue);
    width: 22px;
    height: 22px;
}

.amen-ico img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.amen-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 4px;
}

.amen-desc {
    font-size: 12px;
    color: rgba(35, 35, 35, .6);
    line-height: 1.5;
}

/* ── PAYMENT PLAN ── */
.pp-section {
    background: var(--white);
    padding: 48px 0;
}

.pp-heading {
    font-family: var(--serif);
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 36px;
}

.pp-heading span {
    color: var(--blue);
}

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

.pp-pct {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 12px;
}

.pp-bar {
    height: 3px;
    background: var(--blue);
    margin-bottom: 12px;
    border-radius: 2px;
}

.pp-label {
    font-size: 13px;
    color: rgba(35, 35, 35, .5);
    font-weight: 400;
}

/* ── LOCATION ── */
.loc-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-box {
    background: var(--navy);
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#project-map {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 8px;
}

.map-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, .5);
    padding: 40px 20px;
}

.map-pin {
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 12px rgba(5, 61, 160, .2);
}

.map-pin svg {
    color: var(--white);
    width: 24px;
    height: 24px;
}

.landmark-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm {
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--trans);
    border: 1px solid rgba(11, 11, 69, .07);
    gap: 12px;
}

.lm:hover {
    transform: translateX(4px);
    border-color: rgba(5, 61, 160, .2);
}

.lm-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
}

.lm-time {
    background: var(--navy);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.loc-note {
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
}

.loc-note h4 {
    font-family: var(--serif);
    font-size: 20px;
    margin-bottom: 8px;
}

.loc-note p {
    opacity: .9;
    line-height: 1.8;
    font-size: 14px;
}

.loc-landmarks {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.landmark-list {
    width: 100%;
}

/* ── MASTER PLAN ── */
.mp-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

.mp-feat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(11, 11, 69, .08);
    transition: var(--trans);
}

.mp-feat:hover {
    box-shadow: 0 8px 24px rgba(11, 11, 69, .08);
    transform: translateY(-2px);
}

.mp-feat-ico {
    width: 36px;
    height: 36px;
    background: rgba(5, 61, 160, .1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.mp-feat-ico svg {
    color: var(--blue);
    width: 18px;
    height: 18px;
}

.mp-feat-ico img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.mp-feat h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 0;
}

/* ── FLOOR PLAN ACCORDION ── */
.fp-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fp-acc-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(11, 11, 69, .08);
    transition: var(--trans);
}

.fp-acc-item.open {
    box-shadow: 0 8px 32px rgba(11, 11, 69, .1);
    border-color: rgba(5, 61, 160, .2);
}

.fp-acc-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--sans);
    text-align: left;
    transition: background .2s;
    gap: 12px;
}

.fp-acc-header:hover {
    background: #f8f9fc;
}

.fp-acc-item.open .fp-acc-header {
    background: #f0f4ff;
}

.fp-acc-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fp-acc-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.fp-acc-size {
    font-size: 12px;
    color: rgba(35, 35, 35, .5);
    margin-top: 2px;
}

.fp-acc-price {
    display: none;
    /* Hidden on mobile */
}

.fp-acc-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.fp-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(5, 61, 160, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s, background .3s;
}

.fp-acc-item.open .fp-chevron {
    background: var(--blue);
    transform: rotate(180deg);
}

.fp-chevron svg {
    color: var(--blue);
    width: 16px;
    height: 16px;
    transition: color .3s;
}

.fp-acc-item.open .fp-chevron svg {
    color: var(--white);
}

.fp-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.4, 0, .2, 1);
}

.fp-acc-item.open .fp-acc-body {
    max-height: 1200px;
    /* Generous for mobile stacked layout */
}

.fp-acc-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fp-plan-box {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 16px;
}

.fp-plan-box svg,
.fp-plan-box img {
    width: 100%;
    height: auto;
    max-height: 30rem;
    object-fit: contain;
}

.fp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.fp-spec {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 12px;
}

.fp-spec-lbl {
    font-size: 11px;
    color: rgba(35, 35, 35, .5);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 4px;
}

.fp-spec-val {
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}

.fp-cta-btn {
    width: 100%;
    margin-bottom: 10px;
}

/* ── GALLERY — Main Image + Thumbnails (Swiper) ── */
.gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.gallery-main-swiper {
    position: relative;
}

.gallery-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all .25s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.gallery-arrow:hover,
.gallery-arrow:active,
.gallery-arrow:focus {
    background: var(--white);
    transform: translateY(-50%) !important;
    color: var(--blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    outline: none;
}

.gallery-arrow-prev {
    left: 12px;
}

.gallery-arrow-next {
    right: 12px;
}

/* Counter badge */
.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 11, 69, .7);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    font-family: var(--sans);
}

/* Thumbnail strip (Swiper thumbs) */
.gallery-thumbs-wrap {
    margin-top: 12px;
}

.gallery-thumbs-swiper {
    overflow: hidden;
}

.gallery-thumbs-swiper .swiper-slide {
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    opacity: .6;
}

.gallery-thumbs-swiper .swiper-slide:hover {
    opacity: .85;
    border-color: rgba(6, 54, 146, .3);
}

.gallery-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue);
}

.gallery-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── GALLERY TABS ── */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.gallery-tab {
    padding: 10px 28px;
    border: 2px solid rgba(11, 11, 69, .12);
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: all .3s ease;
    font-family: var(--sans);
}

.gallery-tab:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.gallery-tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* Gallery panels (show/hide) */
.gallery-panel {
    display: none;
}

.gallery-panel.active {
    display: block;
}

/* ── BROCHURE SECTION ── */
.brochure-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.brochure-img-wrap {
    position: relative;
    height: 100%;
}

.brochure-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 30rem;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(11, 11, 69, .2);
}

.brochure-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brochure-list {
    list-style: none;
    margin: 20px 0 28px;
    padding: 0;
}

.brochure-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--dark);
    border-bottom: 1px solid rgba(11, 11, 69, .07);
}

.brochure-list li:last-child {
    border-bottom: none;
}

.brochure-list li::before {
    content: '↗';
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

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


/* ── Content block (rich text) ── */
.content-block p {
    margin-bottom: 1em;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* ── CONTACT FORM reinforcements ── */
.contact-form-card {
    background: var(--white) !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.form-input,
.form-select,
.form-textarea {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    width: 100% !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(5, 61, 160, 0.1) !important;
    outline: none !important;
}


/* ═══════════════════════════════════════════════════
   TABLET BREAKPOINT (min-width: 768px)
═══════════════════════════════════════════════════ */
@media (min-width: 768px) {

    .container {
        padding: 0 40px;
    }

    .section {
        padding: 72px 0;
    }

    .sec-head {
        margin-bottom: 48px;
    }

    .sec-sub {
        font-size: 17px;
    }

    /* Hero */
    .sp-hero {
        min-height: 80vh;
        max-height: 860px;
    }

    .sp-hero-content {
        padding: 0 40px 56px;
    }

    .sp-hero-tag {
        font-size: 13px;
        padding: 8px 20px;
        margin-bottom: 24px;
    }

    .sp-hero-sub {
        margin-bottom: 36px;
    }

    .sp-hero-actions {
        flex-direction: row;
        gap: 16px;
    }

    .sp-hero-actions .btn {
        width: auto;
    }

    .sp-hero-badges {
        gap: 32px;
        margin-top: 36px;
    }

    /* Summary */
    .summary-section {
        padding: 48px 0;
    }

    .summary-card-header {
        padding: 24px 32px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .sch-name {
        font-size: 26px;
    }

    .sch-price-box {
        text-align: right;
        flex-shrink: 0;
    }

    .sch-price-val {
        font-size: 26px;
        justify-content: flex-end;
    }

    .summary-detail-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-direction: unset;
    }

    .sd-cell {
        padding: 16px 28px;
        border-bottom: none;
        border-right: 1px solid rgba(11, 11, 69, .06);
    }

    .sd-cell:nth-child(2n) {
        border-right: none;
    }

    .summary-footer {
        padding: 0 32px 24px;
    }

    /* Amenities */
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .amen-card {
        padding: 24px 20px;
    }

    .amen-name {
        font-size: 15px;
    }

    /* Floor plans */
    .fp-acc-header {
        padding: 20px 28px;
    }

    .fp-acc-price {
        display: block;
        font-family: var(--serif);
        font-size: 18px;
        font-weight: 700;
        color: var(--blue);
    }

    .fp-acc-type {
        font-size: 18px;
    }

    .fp-acc-inner {
        padding: 28px;
    }

    /* Gallery */
    .gallery-thumb {
        width: 100px;
        height: 68px;
    }

    .gallery-arrow {
        width: 44px;
        height: 44px;
    }

    .gallery-tabs {
        gap: 12px;
        margin-bottom: 32px;
    }

    .gallery-tab {
        padding: 12px 32px;
        font-size: 15px;
    }

    /* Location */
    .map-box {
        min-height: 400px;
    }

    #project-map {
        min-height: 480px;
    }

    .loc-note {
        padding: 28px 36px;
    }

    /* Master Plan */
    .mp-features {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Brochure */
    .brochure-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .brochure-actions .btn {
        width: auto;
    }

    /* Buttons */
    .btn {
        width: auto;
        padding: 14px 30px;
    }


    /* Contact form */
    .contact-form-card {
        padding: 36px !important;
    }
}


/* ═══════════════════════════════════════════════════
   DESKTOP BREAKPOINT (min-width: 1100px)
═══════════════════════════════════════════════════ */
@media (min-width: 1100px) {

    .section {
        padding: 90px 0;
    }

    .sec-head {
        margin-bottom: 60px;
    }

    /* Hero */
    .sp-hero {
        height: 90vh;
        min-height: 600px;
    }

    .sp-hero-content {
        padding: 0 40px 64px;
    }

    /* Two-col layout */
    .two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .two-col-media {
        order: 0;
        /* Image back to natural order on desktop */
        height: 100%;
    }

    .img-frame {
        height: 100%;
    }

    .img-frame img {
        height: 100%;
    }

    /* Summary 3-col grid */
    .summary-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sd-cell {
        padding: 16px 36px;
    }

    .sd-cell:nth-child(2n) {
        border-right: 1px solid rgba(11, 11, 69, .06);
    }

    .sd-cell:nth-child(3n) {
        border-right: none;
    }

    .summary-card-header {
        padding: 28px 36px;
    }

    .summary-footer {
        padding: 0 36px 28px;
    }

    /* Amenities */
    .amenities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .amen-card {
        padding: 28px 22px;
    }

    /* Payment Plan */
    .pp-section {
        padding: 72px 0;
    }

    .pp-grid {
        gap: 48px;
    }

    /* Location */
    .loc-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .map-box {
        min-height: 480px;
    }

    #project-map {
        min-height: 480px;
    }

    .loc-note {
        padding: 32px 40px;
    }

    /* Master Plan */
    .mp-grid {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .mp-features {
        gap: 20px;
        margin-top: 32px;
    }

    /* Floor Plans */
    .fp-acc-header {
        padding: 24px 32px;
    }

    .fp-acc-inner {
        padding: 32px;
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .fp-acc-price {
        font-size: 22px;
    }

    /* Gallery */
    .gallery-thumb {
        width: 120px;
        height: 80px;
    }

    .gallery-arrow {
        width: 48px;
        height: 48px;
    }

    /* Brochure */
    .brochure-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
        align-items: center;
    }


    /* Contact form */
    .contact-form-card {
        padding: 40px !important;
    }
}


/* ── Elementor Override ── */
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1400px;
}