/* City Space Developer ? shared site styles */
:root {
    --ink: #0f2c2e;
    --ink-soft: #1a4548;
    --mist: #e6eef0;
    --paper: #f4f8f9;
    --white: #fff;
    --copper: #c45c26;
    --copper-soft: #e07a45;
    --stone: #5a6b6d;
    --line: rgba(15, 44, 46, 0.12);
    --header-h: 88px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { width: min(1280px, calc(100% - 3rem)); margin-inline: auto; }

h1, h2, h3, .brand-font {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: var(--ink);
    color: var(--white);
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    height: 100%;
    width: min(1440px, calc(100% - 2.5rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.25rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: 87px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    object-position: left center;
}

.logo-img-light {
    height: 48px;
    max-width: 240px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-logo-img {
    display: block;
    height: 87px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    object-position: left center;
}

.page-content {
    max-width: 760px;
}

.page-content h2 {
    margin: 1.5rem 0 0.75rem;
    font-family: 'Fraunces', Georgia, serif;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    align-items: end;
}

.logo-mark span {
    background: var(--copper);
    border-radius: 1px;
}

.logo-mark span:nth-child(1) { height: 55%; }
.logo-mark span:nth-child(2) { height: 100%; }
.logo-mark span:nth-child(3) { height: 75%; }

.logo-text {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-text em {
    font-style: normal;
    color: var(--copper-soft);
}

/* Search */
.header-search {
    position: relative;
    width: 200px;
    min-width: 160px;
    flex-shrink: 0;
}

.header-search input {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--white);
    padding: 0 1rem 0 2.5rem;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.header-search input::placeholder { color: rgba(255, 255, 255, 0.55); }

.header-search input:focus {
    border-color: var(--copper-soft);
    background: rgba(255, 255, 255, 0.06);
}

.header-search i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    pointer-events: none;
}

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    color: var(--ink);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 44, 46, 0.2);
    overflow: hidden;
    z-index: 20;
}

.search-results.active { display: block; }

.search-results a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s;
}

.search-results a:hover { background: var(--mist); }
.search-results a:last-child { border-bottom: none; }

.search-empty {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    color: var(--stone);
}

/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-item { position: static; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    background: none;
    border: none;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-item.open .nav-link,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-item.open .nav-link::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mega menu */
.mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--ink);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    z-index: 999;
}

.nav-item.open .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-inner {
    width: min(1280px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 2.5rem 0 2.75rem;
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 2.5rem;
}

.mega-list-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.mega-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 320px;
    overflow-y: auto;
}

.mega-list button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    transition: color 0.2s;
}

.mega-list button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.35rem;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.25s var(--ease);
}

.mega-list button i {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
    font-size: 0.75rem;
}

.mega-list button:hover,
.mega-list button.active {
    color: var(--white);
}

.mega-list button.active::after,
.mega-list button:hover::after {
    width: calc(100% - 1.5rem);
}

.mega-list button.active i,
.mega-list button:hover i {
    opacity: 1;
    transform: translateX(0);
}

.mega-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-content: start;
}

.mega-card {
    display: block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.mega-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mega-gallery-wrap { position: relative; min-height: 220px; }

.mega-thumb { overflow: hidden; }

.mega-thumb img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.mega-thumb:hover img { transform: scale(1.04); }

.mega-thumb span {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    border-radius: 8px;
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
}

/* ========== MOBILE DRAWER ========== */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
}

.mobile-drawer.active { pointer-events: auto; }

.mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 44, 46, 0.55);
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-drawer.active .mobile-backdrop { opacity: 1; }

.mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100%;
    background: var(--ink);
    color: var(--white);
    padding: 1.25rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
}

.mobile-drawer.active .mobile-panel { transform: translateX(0); }

.mobile-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mobile-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: none;
    color: var(--white);
    border-radius: 8px;
}

.mobile-nav-list { list-style: none; }

.mobile-nav-list > li > a,
.mobile-nav-list > li > button {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
}

.mobile-sub {
    display: none;
    padding: 0.35rem 0 0.75rem 0.75rem;
}

.mobile-sub.open { display: block; }

.mobile-sub a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== HOME HERO SLIDER ========== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--white);
    overflow: hidden;
    background: var(--ink);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 3.5rem) clamp(5rem, 9vw, 7.5rem) 6.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s var(--ease), visibility 0.7s;
    z-index: 1;
    text-align: center;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 44, 46, 0.45) 0%, rgba(15, 44, 46, 0.55) 40%, rgba(15, 44, 46, 0.9) 100%),
        var(--slide-image) center/cover no-repeat;
    transform: scale(1.04);
    transition: transform 6.5s ease-out;
}

.hero-slide.is-active .hero-slide-media {
    transform: scale(1.08);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 44, 46, 0.35) 0%, rgba(15, 44, 46, 0.55) 45%, rgba(15, 44, 46, 0.88) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    max-width: 100%;
    margin-inline: auto;
    text-shadow: 0 2px 28px rgba(15, 44, 46, 0.4);
}

.hero-slide.is-active .hero-brand,
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active h1,
.hero-slide.is-active p,
.hero-slide.is-active .hero-cta {
    animation: fadeUp 0.85s var(--ease) both;
}

.hero-slide.is-active .hero-brand,
.hero-slide.is-active .hero-eyebrow { animation-delay: 0.12s; }
.hero-slide.is-active h1 { animation-delay: 0.24s; }
.hero-slide.is-active p { animation-delay: 0.36s; }
.hero-slide.is-active .hero-cta { animation-delay: 0.48s; }

.hero-brand {
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.02;
}

.hero-brand span { color: var(--copper-soft); }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper-soft);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(1.7rem, 4.2vw, 3rem);
    font-weight: 600;
    max-width: 18ch;
    margin: 0 auto 1.15rem;
    line-height: 1.15;
}

.hero p {
    max-width: 46ch;
    margin: 0 auto 2rem;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-sub-html {
    max-width: 46ch;
    margin: 0 auto 2rem;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    opacity: 0.95;
}

.hero-sub-html p { margin: 0 0 0.5rem; }
.hero-sub-html p:last-child { margin-bottom: 0; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 240px;
    padding: 1.05rem 2rem;
    background: var(--copper);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.25s, transform 0.25s;
}

.hero-cta:hover {
    background: var(--copper-soft);
    transform: translateY(-2px);
}

.hero-controls { display: none; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(15, 44, 46, 0.55);
    color: var(--white);
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px);
    transition: background 0.25s, border-color 0.25s;
    font-size: 1rem;
}

.hero-arrow:hover {
    background: var(--copper);
    border-color: var(--copper);
}

.hero-prev {
    left: clamp(1rem, 3vw, 2rem);
    right: auto;
}

.hero-next {
    right: clamp(1rem, 3vw, 2rem);
    left: auto;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    padding: 0;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.hero-dot.is-active {
    background: var(--copper-soft);
    border-color: var(--copper-soft);
    transform: scale(1.15);
}

.scroll-hint { display: none; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTION COMMON ========== */
.section { padding: 5.5rem 0; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.section-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    max-width: 16ch;
}

.section-head p {
    max-width: 42ch;
    color: var(--stone);
    font-size: 0.95rem;
    font-weight: 300;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
    color: var(--copper);
    border-color: var(--copper);
}

/* Project grid (home launches) */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
}

.project-item { display: block; }

.project-item figure {
    overflow: hidden;
    background: var(--mist);
    margin-bottom: 0.85rem;
}

.project-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-item:hover img { transform: scale(1.05); }

.project-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
}

.project-meta {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--stone);
    font-weight: 300;
}

.launches {
    background: var(--ink);
    color: var(--white);
}

.launches .section-label { color: var(--copper-soft); }

.launches .section-head p,
.launches .project-meta { color: rgba(255, 255, 255, 0.65); }

.launches .text-link {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.launches .text-link:hover {
    color: var(--copper-soft);
    border-color: var(--copper-soft);
}

/* About (home) */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.about-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.about-copy p {
    color: var(--stone);
    margin-bottom: 1rem;
    font-weight: 300;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.about-stats strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.about-stats span {
    font-size: 0.8rem;
    color: var(--stone);
}

.about-visual { position: relative; }

.about-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 1px solid var(--copper);
    z-index: -1;
    opacity: 0.5;
}

/* Values strip */
.values-strip {
    background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 55%, #234e52 100%);
    color: var(--white);
    padding: 2.75rem 0;
    overflow: hidden;
}

.values-strip--logos {
    padding: 2rem 0;
}

.values-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.values-strip--logos .values-track {
    gap: 1.25rem;
    animation-duration: 40s;
}

.values-item {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.values-item--logo {
    gap: 0;
}

.values-text {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.values-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.values-item:not(.values-item--logo) .values-icon-wrap {
    width: 36px;
    height: 36px;
}

.values-item:not(.values-item--logo) .values-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.values-item--logo .values-icon-wrap {
    min-width: 160px;
    height: 64px;
    padding: 0.35rem 0.85rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.values-item--logo .values-icon {
    width: auto;
    max-width: 150px;
    height: 52px;
    object-fit: contain;
    display: block;
    filter: none;
}

.values-sep {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--copper-soft);
    transform: rotate(45deg);
    flex-shrink: 0;
    display: inline-block;
}

.values-track span.values-text {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.9;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Developments */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dev-card {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    color: var(--white);
}

.dev-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.dev-card:hover img { transform: scale(1.06); }

.dev-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 44, 46, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.dev-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.dev-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

/* Completed handovers */
.completed {
    background:
        linear-gradient(180deg, #eef4f5 0%, var(--mist) 100%);
}

.completed .section-head {
    align-items: flex-end;
}

.completed .section-intro {
    margin-top: 0.85rem;
    max-width: 42ch;
    color: var(--stone);
    font-weight: 300;
    font-size: 0.95rem;
}

.handover-feature {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
    background: var(--ink);
    color: var(--white);
    margin-bottom: 1.5rem;
    overflow: hidden;
    min-height: 420px;
}

.handover-feature-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.handover-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.handover-feature:hover .handover-feature-media img {
    transform: scale(1.04);
}

.handover-badge {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    background: var(--copper);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.handover-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 4vw, 3rem);
}

.handover-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--copper-soft);
    font-weight: 500;
    margin-bottom: 0.85rem;
}

.handover-feature-body h3 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.9rem;
    line-height: 1.15;
}

.handover-feature-body > p {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    margin-bottom: 1.35rem;
    line-height: 1.7;
    max-width: 38ch;
}

.handover-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.75rem;
    padding: 0;
}

.handover-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.handover-meta i {
    color: var(--copper-soft);
    font-size: 0.8rem;
}

.handover-feature-body .btn-primary {
    align-self: flex-start;
}

.handover-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.handover-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.handover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 44, 46, 0.1);
}

.handover-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--mist);
}

.handover-card figure img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.handover-card:hover figure img {
    transform: scale(1.05);
}

.handover-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.35rem 1.35rem 1.5rem;
    flex: 1;
}

.handover-card-body .handover-date {
    color: var(--copper);
    margin-bottom: 0;
}

.handover-card-body h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.handover-card-body p {
    color: var(--stone);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.handover-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.2s, border-color 0.2s;
}

.handover-card:hover .handover-link {
    color: var(--copper);
    border-color: var(--copper);
}

/* legacy handover grid kept for safety */
.handover-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.25rem;
}

.handover-item {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    color: var(--white);
}

/* Contact form */
.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    background: var(--white);
    border: 1px solid var(--line);
}

.contact-info {
    background: var(--ink);
    color: var(--white);
    padding: 2.5rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.contact-detail i {
    color: var(--copper-soft);
    margin-top: 0.25rem;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.contact-form { padding: 2.5rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.95rem 1.6rem;
    background: var(--copper);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.25s, transform 0.25s;
}

.btn-submit:hover {
    background: var(--copper-soft);
    transform: translateY(-1px);
}

/* ========== FOOTER ========== */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    display: inline-block;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 32ch;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.35rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--copper-soft); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    transition: color 0.2s;
}

.footer-legal a:hover { color: var(--copper-soft); }

.legal-content {
    max-width: 760px;
}

.legal-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2rem 0 0.85rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
    color: var(--stone);
    font-weight: 300;
    margin-bottom: 0.85rem;
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.35rem 1.5rem;
}

.faq-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.faq-item p {
    color: var(--stone);
    font-weight: 300;
    font-size: 0.92rem;
    margin: 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.guide-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 44, 46, 0.08);
}

.guide-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.guide-card .guide-body {
    padding: 1.35rem 1.4rem 1.5rem;
}

.guide-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.guide-card p {
    color: var(--stone);
    font-size: 0.88rem;
    font-weight: 300;
    margin: 0;
}

.socials { display: flex; gap: 0.75rem; }

.socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    transition: border-color 0.2s, color 0.2s;
}

.socials a:hover {
    border-color: var(--copper-soft);
    color: var(--copper-soft);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 2.5rem) 0 3.25rem;
    color: var(--white);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 44, 46, 0.45) 0%, rgba(15, 44, 46, 0.78) 100%),
        var(--page-hero-image, url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80')) center/cover no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 44, 46, 0.25) 0%, rgba(15, 44, 46, 0.72) 100%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.page-hero .breadcrumb a:hover { color: var(--white); }

.page-hero .breadcrumb span { color: rgba(255, 255, 255, 0.4); }

.page-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 16ch;
    margin-bottom: 0.75rem;
}

.page-hero .page-subtitle {
    max-width: 42ch;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.page-hero .hero-cta { opacity: 1; animation: none; }

/* ========== FILTER BAR ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.filter-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.filter-btn.active {
    background: var(--copper);
    border-color: var(--copper);
    color: var(--white);
}

/* ========== LISTING GRID ========== */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.5rem;
}

.listing-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 44, 46, 0.1);
}

.listing-card .listing-media {
    position: relative;
    overflow: hidden;
    background: var(--mist);
}

.listing-card .listing-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.listing-card:hover .listing-media img { transform: scale(1.05); }

.listing-card .status-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--white);
}

.listing-card .status-badge.available { background: var(--copper); }
.listing-card .status-badge.sold-out { background: var(--stone); }
.listing-card .status-badge.coming-soon { background: var(--ink-soft); }

.listing-card .listing-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.35rem 1.4rem;
    flex: 1;
}

.listing-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    font-size: 0.82rem;
    color: var(--stone);
    font-weight: 300;
}

.listing-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.listing-meta i {
    color: var(--copper);
    font-size: 0.78rem;
}

.listing-card .learn-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.2s, border-color 0.2s;
}

.listing-card .learn-more:hover {
    color: var(--copper);
    border-color: var(--copper);
}

.listing-card.is-hidden { display: none; }

/* ========== FEATURE SPOTLIGHT ========== */
.feature-spotlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 4.5rem 0;
}

.feature-spotlight .spotlight-media {
    position: relative;
    overflow: hidden;
    background: var(--mist);
}

.feature-spotlight .spotlight-media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.feature-spotlight .spotlight-copy .section-label { margin-bottom: 0.75rem; }

.feature-spotlight .spotlight-copy h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.feature-spotlight .spotlight-copy p {
    color: var(--stone);
    font-weight: 300;
    margin-bottom: 1rem;
    max-width: 42ch;
}

.feature-spotlight .spotlight-copy .hero-cta,
.feature-spotlight .spotlight-copy .btn-submit {
    margin-top: 0.75rem;
}

/* ========== VISION / MISSION ========== */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.vm-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 2.5rem 2.25rem;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}

.vm-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 92, 38, 0.35);
    box-shadow: 0 16px 36px rgba(15, 44, 46, 0.08);
}

.vm-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(196, 92, 38, 0.1);
    color: var(--copper);
    font-size: 1.25rem;
    margin-bottom: 1.35rem;
}

.vm-card h3 {
    font-size: 1.55rem;
    margin-bottom: 0.85rem;
}

.vm-card p {
    color: var(--stone);
    font-weight: 300;
    line-height: 1.75;
}

/* ========== VALUES GRID (about) ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--copper);
    padding: 2rem 1.75rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 28px rgba(15, 44, 46, 0.08);
}

.value-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.value-card h3 i {
    color: var(--copper);
    font-size: 1rem;
}

.value-card p {
    color: var(--stone);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
}

/* ========== OFFICE GRID ========== */
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.office-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.75rem;
}

.office-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0.85rem;
}

.office-card p,
.office-card a {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--stone);
    margin-bottom: 0.45rem;
}

.office-card a:hover { color: var(--copper); }

.office-card i {
    color: var(--copper);
    width: 1.1rem;
    margin-right: 0.4rem;
}

/* ========== MAP BLOCK ========== */
.map-block {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(135deg, var(--mist) 0%, #d5e2e5 100%);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--stone);
    overflow: hidden;
}

.map-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 44, 46, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 44, 46, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.7;
}

.map-block .map-placeholder {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.map-block .map-placeholder i {
    font-size: 2rem;
    color: var(--copper);
    margin-bottom: 0.75rem;
}

.map-block .map-placeholder p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink-soft);
}

.map-block .map-placeholder span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--stone);
}

/* ========== CTA BAND ========== */
.cta-band {
    background: var(--ink);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.cta-band p {
    max-width: 42ch;
    margin: 0 auto 1.75rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
}

.cta-band .hero-cta {
    opacity: 1;
    animation: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .dev-grid { grid-template-columns: 1fr 1fr; }
    .handover-grid { grid-template-columns: 1fr 1fr; }
    .handover-item:first-child { grid-row: auto; min-height: 300px; }
    .handover-feature { grid-template-columns: 1.1fr 1fr; }
    .handover-cards { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .office-grid { grid-template-columns: 1fr 1fr; }
    .guide-grid { grid-template-columns: 1fr 1fr; }
    .feature-spotlight { gap: 2rem; }
}

@media (max-width: 900px) {
    .main-nav,
    .header-search { display: none; }
    .menu-toggle { display: inline-grid; place-items: center; }
    .about-grid,
    .contact-wrap,
    .feature-spotlight,
    .vm-grid { grid-template-columns: 1fr; }
    .about-visual::before { display: none; }
    .mega-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero { min-height: 44vh; }
}

@media (max-width: 640px) {
    .project-grid,
    .dev-grid,
    .handover-grid,
    .footer-grid,
    .about-stats,
    .listing-grid,
    .values-grid,
    .office-grid { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .hero { min-height: 92vh; align-items: flex-end; }
    .page-hero { min-height: 40vh; padding-bottom: 2.5rem; }
    .filter-bar { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 0.95rem; font-size: 0.78rem; }
    .vm-card { padding: 2rem 1.5rem; }
    .value-card { padding: 1.75rem; }
    .cta-band { padding: 3.25rem 0; }
    .map-block { min-height: 240px; }
}

/* ========== COMPAT: page markup from inner HTML pages ========== */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 2.5rem) 0 3.25rem;
    color: var(--white);
    overflow: hidden;
}
.page-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,44,46,0.4) 0%, rgba(15,44,46,0.82) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 3rem));
    margin-inline: auto;
}
.page-hero .hero-sub,
.page-hero .page-subtitle {
    max-width: 46ch;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    margin-bottom: 0.5rem;
}
.mega-list-title a {
    color: var(--white);
    transition: color 0.2s;
}
.mega-list-title a:hover { color: var(--copper-soft); }

.listing-card figure {
    position: relative;
    overflow: hidden;
    background: var(--mist);
    margin: 0;
}
.listing-card figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.listing-card:hover figure img { transform: scale(1.05); }
.listing-card .status-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--copper);
    color: var(--white);
}
.listing-card .status-badge.soft { background: var(--ink-soft); }
.listing-loc {
    font-size: 0.82rem;
    color: var(--stone);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.listing-loc i { color: var(--copper); font-size: 0.75rem; }
.listing-stats {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--stone);
    font-weight: 300;
    margin-top: 0.35rem;
}
.listing-stats .price {
    color: var(--ink);
    font-weight: 500;
}

.feature-spotlight {
    padding: 0;
}
.feature-spotlight figure {
    overflow: hidden;
    background: var(--mist);
    margin: 0;
}
.feature-spotlight figure img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}
.feature-copy .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.feature-copy h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}
.feature-copy p {
    color: var(--stone);
    font-weight: 300;
    margin-bottom: 1.25rem;
    max-width: 42ch;
}
.feature-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.15rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.feature-meta strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.15rem;
}
.feature-meta div {
    font-size: 0.8rem;
    color: var(--stone);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.55rem;
    background: var(--copper);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover {
    background: var(--copper-soft);
    transform: translateY(-2px);
}
.cta-band .btn-primary {
    background: var(--copper);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stat-block strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.stat-block span {
    font-size: 0.82rem;
    color: var(--stone);
}

.section.ink {
    background: var(--ink);
    color: var(--white);
}
.section.ink .section-label { color: var(--copper-soft); }
.section.ink .value-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.75rem 1.5rem;
}
.section.ink .value-item h3 { color: var(--white); }
.section.ink .value-item p { color: rgba(255,255,255,0.7); }
.section.ink .value-item i { color: var(--copper-soft); display: block; margin-bottom: 0.85rem; font-size: 1.2rem; }

.value-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--copper);
    padding: 2rem 1.75rem;
}
.value-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}
.value-item p {
    color: var(--stone);
    font-size: 0.92rem;
    font-weight: 300;
}

.why-list {
    list-style: none;
    counter-reset: why;
    display: grid;
    gap: 1.25rem;
}
.why-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    counter-increment: why;
}
.why-list li::before {
    content: counter(why, decimal-leading-zero);
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--copper);
    font-weight: 600;
}
.why-list h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.why-list p {
    color: var(--stone);
    font-weight: 300;
    font-size: 0.92rem;
}

.map-block > div {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.map-block > div i {
    font-size: 2rem;
    color: var(--copper);
    margin-bottom: 0.5rem;
}
.map-block > div strong {
    font-size: 1rem;
    color: var(--ink);
}
.map-block > div span {
    font-size: 0.85rem;
    color: var(--stone);
    font-weight: 300;
    line-height: 1.6;
}

/* ========== MOBILE RESPONSIVE (final overrides) ========== */
html {
    -webkit-text-size-adjust: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1280px, calc(100% - 3rem));
}

@media (max-width: 1100px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .dev-grid { grid-template-columns: 1fr 1fr; }
    .handover-grid { grid-template-columns: 1fr 1fr; }
    .handover-item:first-child {
        grid-row: auto;
        min-height: 300px;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .office-grid { grid-template-columns: 1fr 1fr; }
    .feature-spotlight {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .section-head h2 { max-width: none; }
}

@media (max-width: 900px) {
    .container {
        width: min(1280px, calc(100% - 2.25rem));
    }

    .header-inner {
        width: min(1440px, calc(100% - 1.5rem));
        gap: 0.75rem;
    }

    .logo-text { font-size: 1rem; }

    .main-nav,
    .header-search { display: none !important; }

    .menu-toggle {
        display: inline-grid !important;
        place-items: center;
        flex-shrink: 0;
    }

    .mega-panel { display: none !important; }

    .hero {
        min-height: 100svh;
        padding: 0;
    }

    .hero-slide {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: calc(var(--header-h) + 1.5rem) 4.5rem 5.5rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-brand {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(1.2rem, 4.4vw, 1.65rem);
    }

    .hero p {
        max-width: none;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        min-width: min(100%, 260px);
        width: auto;
    }

    .hero-arrow {
        top: auto;
        bottom: 1.35rem;
        transform: none;
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .hero-prev { left: 1rem; }
    .hero-next { right: 1rem; }

    .hero-dots { bottom: 1.55rem; }

    .scroll-hint { display: none; }

    .section { padding: 4rem 0; }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .section-head h2,
    .section-head p { max-width: none; }

    .about-grid,
    .contact-wrap,
    .feature-spotlight,
    .vm-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .about-visual::before { display: none; }

    .about-visual img {
        aspect-ratio: 16 / 11;
    }

    .form-row { grid-template-columns: 1fr; }

    .page-hero {
        min-height: 42vh !important;
        min-height: 42svh !important;
        padding: calc(var(--header-h) + 1.75rem) 0 2.5rem !important;
    }

    .page-hero-content {
        width: min(1280px, calc(100% - 2.25rem));
    }

    .page-hero h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .feature-meta { grid-template-columns: 1fr; }

    .stats-row { grid-template-columns: 1fr 1fr; }

    .contact-info,
    .contact-form { padding: 1.75rem 1.35rem; }

    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .filter-bar::-webkit-scrollbar { display: none; }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .why-list li {
        grid-template-columns: auto 1fr;
        gap: 0.9rem;
    }

    .cta-band { padding: 3.25rem 0; }

    .cta-band p { max-width: none; padding-inline: 0.5rem; }

    .footer-grid { gap: 2rem 1.5rem; }

    .mobile-panel .header-search {
        display: block !important;
        position: relative;
        flex: none;
        width: 100%;
        min-width: 0;
        margin-bottom: 1rem;
    }

    .mobile-panel .header-search input {
        width: 100%;
    }

    .mobile-panel .search-results {
        position: static;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .container,
    .page-hero-content {
        width: min(1280px, calc(100% - 1.75rem));
    }

    .header-inner {
        width: min(1440px, calc(100% - 1.25rem));
    }

    .logo-img {
        height: 48px;
        max-width: 220px;
    }

    .logo-img-light {
        height: 42px;
        max-width: 200px;
    }

    .footer-logo-img {
        height: 48px;
        max-width: 220px;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
    }

    .logo-text { font-size: 0.95rem; }

    .project-grid,
    .dev-grid,
    .handover-grid,
    .footer-grid,
    .about-stats,
    .listing-grid,
    .values-grid,
    .office-grid,
    .stats-row {
        grid-template-columns: 1fr !important;
    }

    .section { padding: 3.25rem 0; }

    .hero {
        min-height: 92svh;
    }

    .hero-slide {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: calc(var(--header-h) + 1.25rem) 1.1rem 5.25rem;
    }

    .hero-cta,
    .btn-primary,
    .btn-submit {
        width: auto;
        max-width: 100%;
        justify-content: center;
    }

    .hero-slide .hero-cta {
        width: auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .project-detail-hero {
        min-height: 70vh;
        min-height: 70svh;
    }

    .project-detail-hero .page-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 1.25rem 2rem;
    }

    .project-hero-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .project-hero-actions .btn-primary,
    .project-hero-actions .btn-ghost {
        width: 100%;
    }

    .project-detail-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .listing-card .listing-body {
        padding: 1.1rem 1.15rem 1.25rem;
    }

    .feature-spotlight figure img {
        aspect-ratio: 16 / 11;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.25rem;
    }

    .stat-block strong,
    .about-stats strong {
        font-size: 1.75rem;
    }

    .contact-wrap { border: none; }

    .contact-info,
    .contact-form {
        padding: 1.5rem 1.15rem;
    }

    .dev-card { min-height: 280px; }

    .handover-feature {
        grid-template-columns: 1fr;
    }

    .handover-feature-media {
        min-height: 260px;
    }

    .handover-cards {
        grid-template-columns: 1fr;
    }

    .handover-feature-body .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .socials { justify-content: center; }

    .values-track span.values-text,
    .values-text {
        font-size: 1.35rem;
    }

    .values-item:not(.values-item--logo) .values-icon {
        width: 22px;
        height: 22px;
    }

    .values-item--logo .values-icon-wrap {
        min-width: 130px;
        height: 54px;
        padding: 0.25rem 0.65rem;
    }

    .values-item--logo .values-icon {
        max-width: 120px;
        height: 42px;
    }

    .map-block { min-height: 220px; }

    .mobile-panel {
        width: min(100vw, 100%);
        padding: 1rem 1.15rem 2rem;
    }

    .mobile-nav-list > li > a,
    .mobile-nav-list > li > button {
        min-height: 48px;
        font-size: 0.98rem;
    }

    .mobile-sub a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 400px) {
    .about-stats {
        grid-template-columns: 1fr !important;
    }

    .filter-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.75rem;
    }

    .logo-text { letter-spacing: 0.02em; }
}

/* Prevent iOS tap highlight / horizontal scroll */
body {
    overflow-x: hidden;
}

a, button {
    -webkit-tap-highlight-color: rgba(196, 92, 38, 0.2);
}

/* ========== PROJECT DETAIL ========== */
.project-detail-hero {
    min-height: 78vh;
    min-height: 78svh;
    align-items: flex-end;
    padding: 0 !important;
}

.project-detail-hero .page-hero-media::after {
    background:
        linear-gradient(180deg, rgba(15, 44, 46, 0.25) 0%, rgba(15, 44, 46, 0.35) 35%, rgba(15, 44, 46, 0.92) 100%);
}

.project-detail-hero .page-hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 2rem 3rem;
    align-items: end;
    padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 3rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 44, 46, 0.55) 40%, rgba(15, 44, 46, 0.88) 100%);
}

.project-hero-main {
    min-width: 0;
}

.project-detail-hero .breadcrumb {
    margin-bottom: 1.15rem;
}

.project-detail-hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    margin-bottom: 0.9rem;
    line-height: 1.05;
}

.project-detail-hero .hero-sub {
    max-width: 60ch;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
}

.project-status-pill {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.95rem;
    background: var(--copper);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-hero-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    font-weight: 300;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
    padding-bottom: 0.25rem;
}

.project-hero-actions .btn-primary {
    min-width: 180px;
    justify-content: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 160px;
    padding: 0.95rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.7);
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.project-fact {
    background: var(--white);
    padding: 1.35rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-fact-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
}

.project-fact-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.project-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 2.5rem 3rem;
    align-items: start;
}

.project-overview-copy h2 {
    margin: 0.4rem 0 1.25rem;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}

.project-overview-copy p {
    color: var(--stone);
    margin-bottom: 1.1rem;
    max-width: 58ch;
}

.project-overview-copy .rich-content ul,
.project-overview-copy .rich-content ol {
    color: var(--stone);
    margin: 0 0 1.1rem 1.2rem;
    max-width: 58ch;
}

.project-overview-copy .rich-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 0.75rem 0 1.1rem;
}

.enquire-card {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.75rem 1.5rem;
}

.enquire-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.enquire-card > p {
    color: var(--stone);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.enquire-card .form-group { margin-bottom: 0.9rem; }

.enquire-card .btn-submit {
    width: 100%;
    margin-top: 0.35rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.project-gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--mist);
}

.project-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-gallery-item:hover img { transform: scale(1.04); }

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1rem;
    background: var(--white);
    border: 1px solid var(--line);
}

.amenity-item i {
    color: var(--copper);
    font-size: 1.15rem;
    width: 1.5rem;
    text-align: center;
}

.amenity-item span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
}

.units-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--white);
}

.units-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.units-table th,
.units-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.units-table th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
    font-weight: 600;
    background: var(--mist);
}

.units-table td {
    font-size: 0.95rem;
    color: var(--ink);
}

.units-table tbody tr:last-child td { border-bottom: none; }

.units-table tbody tr:hover td { background: rgba(196, 92, 38, 0.04); }

.units-table td:last-child {
    font-weight: 600;
    color: var(--copper);
}

.project-highlights {
    display: grid;
    gap: 0.85rem;
    max-width: 720px;
}

.project-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: var(--white);
    border-left: 3px solid var(--copper);
    border: 1px solid var(--line);
    border-left-width: 3px;
    border-left-color: var(--copper);
}

.project-highlights li i {
    color: var(--copper);
    margin-top: 0.2rem;
}

.project-highlights li span {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

@media (max-width: 1024px) {
    .project-facts { grid-template-columns: repeat(3, 1fr); }

    .project-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .enquire-card { position: static; }

    .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .project-facts { grid-template-columns: repeat(2, 1fr); }

    .project-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .project-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 10;
    }

    .amenity-grid { grid-template-columns: 1fr; }

    .project-fact { padding: 1.1rem 0.9rem; }
}

@media (max-width: 480px) {
    .project-facts { grid-template-columns: 1fr; }

    .project-gallery { grid-template-columns: 1fr; }

    .project-gallery-item:first-child {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }
}

/* Toast + submit spinner */
.toast-root {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(380px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 44, 46, 0.14);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast.hide { opacity: 0; transform: translateY(-6px); }

.toast-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.toast-body {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
  padding-top: 0.1rem;
}

.toast-close {
  border: 0;
  background: transparent;
  color: var(--stone);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.toast-success { border-color: #c6e6d4; }
.toast-success .toast-icon { background: #e6f4ec; color: #1f7a4d; }

.toast-error { border-color: #f0c9c5; }
.toast-error .toast-icon { background: #fdf2f1; color: #b42318; }

.toast-warning { border-color: #f3e0b5; }
.toast-warning .toast-icon { background: #fff8e8; color: #9a6b00; }

.toast-info { border-color: #cfe3e6; }
.toast-info .toast-icon { background: #eef6f7; color: var(--ink-soft); }

.btn-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: toast-spin 0.7s linear infinite;
  margin-right: 0.4rem;
  vertical-align: -2px;
}

.btn-submit .btn-spinner,
button.btn-submit[aria-busy="true"] .btn-spinner {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}

button[type="submit"][aria-busy="true"],
.is-submitting button[type="submit"] {
  opacity: 0.9;
  cursor: wait;
  pointer-events: none;
}

@keyframes toast-spin {
  to { transform: rotate(360deg); }
}

/* ========== About Us (Meraas-inspired, City Space brand) ========== */
.about-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.about-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 44, 46, 0.25) 0%, rgba(15, 44, 46, 0.72) 55%, rgba(15, 44, 46, 0.92) 100%),
    linear-gradient(90deg, rgba(15, 44, 46, 0.55) 0%, transparent 55%);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.about-hero-kicker {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  max-width: 14ch;
  margin: 0 0 1.35rem;
}

.about-hero-lead {
  max-width: 42rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.about-intro {
  background: var(--paper);
  padding: 4rem 0;
}

.about-intro-inner {
  max-width: 48rem;
}

.about-intro p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}

.about-pillars {
  background: var(--white);
}

.about-pillar {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
}

.about-pillar-reverse {
  direction: rtl;
}

.about-pillar-reverse > * {
  direction: ltr;
}

.about-pillar-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.about-pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-pillar-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--white);
}

.about-pillar-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  margin: 0.5rem 0 1.15rem;
  max-width: 16ch;
}

.about-pillar-copy p {
  color: var(--stone);
  line-height: 1.7;
  max-width: 38ch;
  margin: 0 0 1.25rem;
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--copper);
  font-weight: 560;
  font-size: 0.92rem;
}

.about-text-link:hover { color: var(--copper-soft); }

.about-stats-band {
  background: var(--ink);
  color: var(--white);
  padding: 3.25rem 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.about-stats-grid strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--copper-soft);
  margin-bottom: 0.35rem;
}

.about-stats-grid span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.about-team-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.about-team-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.about-team-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 44, 46, 0.88) 0%, rgba(15, 44, 46, 0.55) 55%, rgba(15, 44, 46, 0.35) 100%);
}

.about-team-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 4.5rem 0;
}

.about-team-inner .section-label { color: var(--copper-soft); }

.about-team-inner h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin: 0.45rem 0 1rem;
}

.about-team-inner p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-weight: 550;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.about-bigger {
  background: var(--paper);
  padding: 5rem 0;
}

.about-bigger-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem 4rem;
  align-items: start;
}

.about-bigger h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin: 0.4rem 0 0;
  max-width: 14ch;
}

.about-bigger p {
  color: var(--stone);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
}

.about-bigger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.about-bigger-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 560;
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 44, 46, 0.2);
  padding-bottom: 0.15rem;
}

.about-bigger-links a:hover { color: var(--copper); border-color: var(--copper); }

.about-handovers {
  padding: 5rem 0;
  background: var(--white);
}

.about-handover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-handover-card {
  display: block;
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.about-handover-card:hover { transform: translateY(-4px); }

.about-handover-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.about-handover-meta {
  padding: 1.15rem 1.2rem 1.35rem;
}

.about-handover-meta h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.about-handover-meta p {
  margin: 0;
  color: var(--stone);
  font-size: 0.88rem;
}

.about-stories {
  background: var(--mist);
  padding: 5rem 0;
}

.about-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-story {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  margin: 0;
  border-top: 3px solid var(--copper);
}

.about-story p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
}

.about-story footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-story strong {
  font-size: 0.92rem;
  color: var(--ink);
}

.about-story span {
  font-size: 0.8rem;
  color: var(--stone);
}

.about-bottom-cta {
  background: var(--ink);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.about-bottom-inner h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin: 0 0 0.85rem;
}

.about-bottom-inner > p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
  margin: 0 auto 1.85rem;
  line-height: 1.6;
}

.about-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  background: var(--copper);
  color: var(--white);
  font-weight: 560;
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.btn-primary-solid:hover {
  background: var(--copper-soft);
  color: var(--white);
}

.btn-outline-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-weight: 560;
  font-size: 0.92rem;
}

.btn-outline-ink:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .about-pillar,
  .about-pillar-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: 0;
  }

  .about-pillar-media { min-height: 280px; aspect-ratio: 16 / 10; }

  .about-stats-grid,
  .about-handover-grid,
  .about-stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-bigger-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .about-hero { min-height: 72vh; }
  .about-hero-inner { padding: 4rem 0 3rem; }

  .about-stats-grid,
  .about-handover-grid,
  .about-stories-grid {
    grid-template-columns: 1fr;
  }

  .about-team-cta { min-height: 420px; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsapp-pulse 2.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  background: #0f2c2e;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-float-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0f2c2e;
}

.whatsapp-float:hover .whatsapp-float-tip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }
  .whatsapp-float-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ========== BUY SALE HUB ========== */
.hub-page {
    padding: 2.5rem 0 4rem;
    background: var(--white);
    min-height: 50vh;
}

.hub-toolbar-title h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--ink);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hub-toolbar {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hub-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.hub-toolbar-title h1 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--ink);
}

.hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hub-search {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    color: var(--stone);
}

.hub-search input {
    border: 0;
    background: transparent;
    width: 100%;
    font: inherit;
    color: var(--ink);
    outline: none;
}

.hub-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.hub-pill select,
.hub-pill input {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    outline: none;
    max-width: none;
    min-width: 10rem;
    width: auto;
}

.hub-pill select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 1.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235a6b6d' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
}

.hub-filter-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
}

.hub-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--stone);
}

.hub-empty h2 { margin-bottom: 0.5rem; color: var(--ink); }
.hub-empty p { margin-bottom: 1.25rem; }

.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.hub-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 44, 46, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 44, 46, 0.1);
}

.hub-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--mist);
    overflow: hidden;
}

.hub-card-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}

.hub-card-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hub-card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-card-slide-empty {
    display: grid;
    place-items: center;
    color: var(--stone);
    background: var(--mist);
}

.hub-badge-3d {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border-radius: 8px;
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
}

.hub-wish {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    display: grid;
    place-items: center;
}

.hub-wish.is-active { color: var(--copper); }
.hub-wish.is-active i::before { content: "\f004"; font-weight: 900; }

.hub-card-dots,
.hub-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    z-index: 2;
}

.hub-card-dot,
.hub-gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
}

.hub-card-dot.is-active,
.hub-gallery-dot.is-active { background: var(--copper); }

.hub-card-body {
    padding: 1rem 1.05rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.hub-card-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hub-card-loc {
    color: var(--stone);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hub-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.hub-card-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hub-card-specs i { color: var(--copper); width: 1rem; text-align: center; }

.hub-card-emi {
    color: var(--copper);
    font-size: 0.9rem;
    font-weight: 500;
}

.hub-card-cta,
.hub-check-price {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--mist);
    color: var(--ink);
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hub-check-price {
    background: var(--white);
    border-color: var(--ink);
    border-radius: 999px;
}

.hub-card-cta:hover,
.hub-check-price:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

/* Detail */
.hub-detail {
    padding: calc(var(--header-h) + 1.75rem) 0 0;
    background: var(--white);
}

.hub-detail-top {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}

.hub-detail-gallery {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--mist);
    aspect-ratio: 16 / 10;
}

.hub-detail-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.hub-detail-slide.is-active { opacity: 1; }

.hub-detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-detail-slide-empty {
    display: grid;
    place-items: center;
    color: var(--stone);
}

.hub-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    display: grid;
    place-items: center;
}

.hub-gallery-prev { left: 1rem; }
.hub-gallery-next { right: 1rem; }

.hub-gallery-actions {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.hub-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

.hub-gallery-note {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
}

.hub-summary-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem;
}

.hub-summary-card h1,
.hub-summary-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
}

.hub-summary-specs {
    display: grid;
    gap: 0.7rem;
    margin: 1.15rem 0;
}

.hub-summary-specs li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink-soft);
}

.hub-summary-specs i { color: var(--copper); width: 1.1rem; }

.hub-detail-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.hub-block {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}

.hub-block h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hub-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.25rem;
}

.hub-info-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink-soft);
}

.hub-info-item i { color: var(--copper); width: 1.15rem; }

.hub-prose {
    color: var(--stone);
    max-width: 70ch;
}

.hub-amenities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem 1rem;
}

.hub-amenity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.hub-amenity i { color: var(--copper); width: 1.1rem; text-align: center; }

.hub-enquire-form {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
    max-width: 560px;
}

.hub-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.hub-summary-sticky { position: sticky; top: calc(var(--header-h) + 1rem); }

.hub-similar,
.hub-faq {
    padding: 3.5rem 0;
    background: var(--paper);
}

.hub-similar-title,
.hub-faq-title {
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
}

.hub-similar-title span,
.hub-faq-title span { color: var(--copper); }

.hub-similar-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hub-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
}

.hub-outline-btn:hover {
    background: var(--ink);
    color: var(--white);
}

.hub-faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 920px;
    margin-inline: auto;
}

.hub-faq-item {
    background: rgba(15, 44, 46, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.hub-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-weight: 500;
}

.hub-faq-item summary::-webkit-details-marker { display: none; }

.hub-faq-item summary i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

.hub-faq-item[open] summary i { transform: rotate(45deg); }

.hub-faq-answer {
    padding: 0 1.25rem 1.2rem;
    color: var(--stone);
}

@media (max-width: 1100px) {
    .hub-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .hub-detail-top,
    .hub-detail-grid { grid-template-columns: 1fr; }
    .hub-detail-side { display: none; }
    .hub-grid { grid-template-columns: repeat(2, 1fr); }
    .hub-info-grid,
    .hub-amenities { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hub-grid { grid-template-columns: 1fr; }
    .hub-form-row,
    .hub-info-grid,
    .hub-amenities { grid-template-columns: 1fr; }
    .hub-page { padding-top: 1.75rem; }
}

/* ========== HUB DETAIL MODALS & POLISH ========== */
.hub-detail-crumb {
    padding-top: calc(var(--header-h) + 1.1rem);
    padding-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    color: var(--stone);
    font-size: 0.88rem;
}

.hub-detail-crumb a:hover { color: var(--copper); }

.hub-detail { padding-top: 0.5rem; }

.hub-status {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(196, 92, 38, 0.12);
    color: var(--copper);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hub-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hub-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hub-chip i { color: #444; }

.hub-chip-plain {
    box-shadow: none;
    border: 1px solid var(--line);
    background: var(--white);
    flex: 1;
    justify-content: center;
}

.hub-side-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.hub-check-price {
    cursor: pointer;
    font: inherit;
}

.hub-gallery-note { display: none; }

body.hub-modal-open { overflow: hidden; }

.hub-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.hub-modal[hidden] { display: none !important; }

.hub-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 44, 46, 0.62);
    backdrop-filter: blur(2px);
}

.hub-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    animation: hubModalIn 0.28s var(--ease);
}

@keyframes hubModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.hub-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.hub-modal-head h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    margin: 0;
}

.hub-modal-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    color: var(--ink);
    font-size: 1.4rem;
    line-height: 1;
    display: grid;
    place-items: center;
}

.hub-modal-intro {
    padding: 0 1.35rem;
    margin: 1rem 0 0;
    color: var(--stone);
    font-size: 0.95rem;
}

.hub-modal-price { width: min(420px, 100%); }

.hub-price-form {
    padding: 1.15rem 1.35rem 1.5rem;
    display: grid;
    gap: 0.9rem;
}

.hub-price-form .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    font-weight: 500;
}

.hub-price-form .optional {
    color: var(--stone);
    font-weight: 400;
}

.hub-price-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font: inherit;
    background: var(--paper);
    color: var(--ink);
}

.hub-price-form input:focus {
    outline: 2px solid rgba(196, 92, 38, 0.35);
    border-color: var(--copper);
}

.hub-price-submit { width: 100%; justify-content: center; }

.hub-modal-photos { width: min(980px, 100%); }

.hub-lightbox {
    position: relative;
    background: #0b1c1d;
    aspect-ratio: 16 / 10;
}

.hub-lightbox-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    margin: 0;
}

.hub-lightbox-slide.is-active { opacity: 1; }

.hub-lightbox-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hub-lightbox .hub-gallery-nav {
    background: rgba(255, 255, 255, 0.92);
}

.hub-lightbox-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
}

.hub-lightbox-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem 1rem;
    overflow-x: auto;
}

.hub-lightbox-thumb {
    flex: 0 0 72px;
    height: 54px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: var(--mist);
    cursor: pointer;
}

.hub-lightbox-thumb.is-active { border-color: var(--copper); }

.hub-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-modal-map { width: min(860px, 100%); }

.hub-map-frame {
    aspect-ratio: 16 / 10;
    background: var(--mist);
}

.hub-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hub-modal-foot {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    justify-content: flex-end;
}

.hub-modal-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--stone);
}

.hub-summary-card {
    box-shadow: 0 14px 36px rgba(15, 44, 46, 0.08);
}

@media (max-width: 640px) {
    .hub-modal-dialog { border-radius: 16px; }
    .hub-lightbox { aspect-ratio: 4 / 3; }
    .hub-map-frame { aspect-ratio: 1 / 1; }
}

/* Single summary card on hub detail ? full-width content below */
.hub-detail-grid {
    grid-template-columns: 1fr;
}
.hub-detail-side { display: none !important; }

.hub-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--copper);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hub-clear-filters:hover {
    background: rgba(196, 92, 38, 0.08);
    border-color: var(--copper);
    color: var(--ink);
}

.hub-pill-location {
    max-width: 100%;
    flex: 0 1 auto;
}

.hub-pill-location select {
    min-width: 9rem;
    max-width: none;
    width: auto;
    text-overflow: clip;
    white-space: nowrap;
}
