/* =============================================
   VICEROY VISAVA — COMPLETE STYLESHEET
   ============================================= */

/* ===== LOCAL FONTS ===== */
@font-face {
    font-family: 'Monarcha';
    src: url('fonts/fonnts.com-Monarcha-Book-.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Monarcha';
    src: url('fonts/fonnts.com-Monarcha-Semi-Bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --dark-green: #2D3E33;
    --olive-green: #5B6D43;
    --beige: #EAE7D6;
    --light-beige: #F7F4EA;
    --white: #FFFFFF;
    --logo-green: #01645a;
    --text-dark: #2a2a2a;
    --text-mid: #505050;
    --serif: 'Monarcha', 'Playfair Display', serif;
    --sans: 'Lato', sans-serif;
    
    /* Fluid spacing scale */
    --space-xs: clamp(0.5rem, 1vw, 0.75rem);
    --space-sm: clamp(0.75rem, 1.5vw, 1rem);
    --space-md: clamp(1rem, 2vw, 1.5rem);
    --space-lg: clamp(1.5rem, 3vw, 2.5rem);
    --space-xl: clamp(2rem, 4vw, 3.5rem);
    --space-2xl: clamp(3rem, 6vw, 5rem);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Fluid base: 16px @ 320px viewport → 18px @ 1920px viewport */
    font-size: clamp(16px, 0.833vw + 13.33px, 18px);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* Normalize for Windows display scaling */
@media screen and (-webkit-min-device-pixel-ratio: 1.25), 
       screen and (min-resolution: 120dpi) {
    html {
        font-size: clamp(14px, 0.729vw + 11.67px, 16px);
    }
}

body {
    font-family: var(--sans);
    color: var(--text-dark);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.75;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2 {
    font-family: var(--serif);
    font-weight: normal;
}

h3 {
    font-family: var(--sans);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 1vh, 16px) 6%;
    background: var(--logo-green);
    border-bottom: 1px solid var(--logo-green);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-size: clamp(0.7rem, 0.8vw + 0.3rem, 0.9rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--olive-green);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    background-image: url('img/hd/background.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* layered overlay: full dark tint + strong bottom fade */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(10,22,14,0.92) 0%, rgba(10,22,14,0.45) 45%, rgba(10,22,14,0.15) 100%),
        linear-gradient(to right, rgba(10,22,14,0.55) 0%, rgba(10,22,14,0.0) 65%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

/* main content block */
.hero-content {
    padding: 0 3% 64px;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    display: inline-block;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-body {
    font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--olive-green);
    color: var(--white);
    padding: 16px 34px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw + 0.45rem, 0.95rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.25s;
}

.btn-hero-primary:hover {
    background: #4a5a36;
}

.btn-hero-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 34px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw + 0.45rem, 0.95rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.45);
    transition: background 0.25s, border-color 0.25s;
}

.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* stats bar at the bottom */
.hero-stats {
    display: flex;
    align-items: center;
    background: rgba(10,22,14,0.72);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 7%;
    gap: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-num {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
    color: var(--white);
    line-height: 1;
}

.stat-num small {
    font-size: 1rem;
    opacity: 0.7;
    font-family: var(--sans);
    font-weight: 300;
    margin-left: 2px;
}

.stat-label {
    font-size: clamp(0.65rem, 0.8vw + 0.35rem, 0.8rem);
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    margin: 0 36px;
}

/* shared btn-primary for other sections */
.btn-primary {
    display: inline-block;
    background: var(--olive-green);
    color: var(--white);
    padding: 16px 30px;
    font-weight: 700;
    font-size: clamp(0.82rem, 1vw + 0.48rem, 0.95rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--dark-green);
}

/* ===== RENDER SECTION ===== */
.render-image {
    position: relative;
    overflow: hidden;
}

.render-image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.render-label {
    position: absolute;
    bottom: 18px;
    left: 24px;
    background: rgba(45, 62, 51, 0.78);
    color: var(--white);
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 3px;
    padding: 8px 18px;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 700;
}

.visava-name-strip {
    display: flex;
    min-height: 300px;
}

.visava-name-text {
    flex: 1;
    padding: 60px 15%;
    background: var(--light-beige);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.visava-eyebrow {
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--olive-green);
    font-weight: 700;
}

.visava-name-text p {
    font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.2rem);
    color: var(--text-dark);
    max-width: 440px;
    line-height: 1.8;
}

.visava-name-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.visava-name-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(45, 62, 51, 0.72);
    color: var(--white);
    font-size: clamp(0.65rem, 0.8vw + 0.35rem, 0.75rem);
    letter-spacing: 2px;
    padding: 6px 12px;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 700;
}

/* ===== MASTER LAYOUT PLAN ===== */
.master-layout {
    padding: var(--space-2xl) 6%;
    background: var(--white);
    text-align: center;
}

.master-layout h2 {
    font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.5rem);
    letter-spacing: 5px;
    color: var(--dark-green);
    margin-bottom: 55px;
    text-transform: uppercase;
}

.master-layout-grid {
    display: flex;
    gap: 36px;
    align-items: stretch;
    text-align: left;
}

.layout-image-col {
    flex: 1.6;
}

.layout-image-col img {
    width: 100%;
    border: 1px solid var(--beige);
}

.layout-caption {
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 2.5px;
    color: var(--olive-green);
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.layout-includes {
    flex: 1;
    background: var(--olive-green);
    color: var(--white);
    padding: 34px 28px;
}

.layout-includes h3 {
    font-size: clamp(0.75rem, 1vw + 0.4rem, 0.95rem);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.layout-includes ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    line-height: 1.6;
}

.layout-includes ul li::before {
    content: "• ";
    opacity: 0.6;
}

/* ===== AMENITY FLOOR PLAN ===== */
.amenity-floor-plan {
    display: flex;
    gap: 0;
    background: var(--light-beige);
    padding: 0;
}

.afp-image {
    flex: 1.5;
    padding: 60px 0 60px 6%;
}

.afp-image img {
    width: 100%;
    border: 1px solid var(--beige);
}

.afp-text {
    flex: 1;
    padding: 60px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.afp-text h3 {
    font-size: clamp(0.8rem, 1.1vw + 0.45rem, 1rem);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dark-green);
    border-bottom: 2px solid var(--olive-green);
    padding-bottom: 12px;
}

.afp-text ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    color: var(--text-mid);
}

.afp-text ul li::before {
    content: "— ";
    color: var(--olive-green);
}

.afp-note {
    font-style: italic;
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    color: var(--text-mid);
    border-top: 1px solid var(--beige);
    padding-top: 14px;
}

/* ===== TYPICAL UNIT PLANS ===== */
.unit-plans {
    background: var(--dark-green);
    padding: var(--space-2xl) 6%;
    text-align: center;
}

.unit-plans h2 {
    font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.5rem);
    letter-spacing: 5px;
    color: var(--white);
    margin-bottom: 55px;
    text-transform: uppercase;
}

.unit-plans-grid {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 50px;
}

.unit-plans-grid--extra {
    gap: 30px;
}

.unit-plan-item {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.unit-plans-grid--extra .unit-plan-item {
    max-width: 300px;
}

.unit-plan-item > img {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 22px;
}

.unit-plan-info {
    color: var(--white);
    padding: 30px 0 0;
}

.unit-label {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 16px;
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 700;
}

.unit-plan-info p {
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.05rem);
    opacity: 0.85;
    line-height: 1.7;
}

/* ===== TERRACE SECTION ===== */
.terrace-section {
    display: flex;
    min-height: 400px;
    padding: 0;
}

.terrace-image {
    flex: 1.6;
    position: relative;
    overflow: hidden;
}

.terrace-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.terrace-details {
    flex: 1;
    background: var(--beige);
    color: var(--dark-green);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.terrace-details h3 {
    font-size: clamp(1.2rem, 1.8vw + 0.7rem, 1.8rem);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 14px;
}

.terrace-details ul {
    font-size: clamp(1rem, 1.3vw + 0.6rem, 1.25rem);
    line-height: 1.9;
}

.terrace-details ul li::before {
    content: "— ";
    opacity: 0.55;
}

/* ===== AMENITIES ===== */
.amenities {
    background: var(--light-beige);
    padding: var(--space-2xl) 6%;
    text-align: center;
}

.amenities-cols {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.amenity-col {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
}

.amenity-col-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.amenity-col-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.amenity-col h3 {
    font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.15rem);
    letter-spacing: 5px;
    color: var(--dark-green);
    text-transform: uppercase;
}

.amenity-icons-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.a-icon {
    text-align: center;
    width: 66px;
}

.a-icon img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 7px;
    border: 2px solid var(--beige);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.a-icon span {
    font-size: clamp(0.65rem, 0.8vw + 0.35rem, 0.75rem);
    color: var(--text-mid);
    line-height: 1.4;
    display: block;
}

.amenity-col ul {
    text-align: left;
    display: inline-block;
}

.amenity-col ul li {
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    color: var(--text-mid);
    padding: 6px 0;
    border-bottom: 1px solid #dddacb;
    padding-left: 16px;
    position: relative;
}

.amenity-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--olive-green);
    font-size: 1.1rem;
    line-height: 1.4;
}

.amenity-col ul li:last-child {
    border-bottom: none;
}

.amenities-tagline {
    font-style: italic;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.15rem);
    line-height: 2;
    border-top: 1px solid var(--beige);
    padding-top: 40px;
}

/* ===== DESIGNED FOR CALM ===== */
.designed-calm {
    display: flex;
    min-height: 420px;
}

.designed-calm-text {
    flex: 1;
    background: var(--light-beige);
    padding: 70px 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.calm-eyebrow {
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 2.5px;
    color: var(--olive-green);
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--sans);
}

.designed-calm-text h3 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.5vw + 0.9rem, 2.4rem);
    font-weight: normal;
    color: var(--dark-green);
    line-height: 1.4;
    max-width: 380px;
}

.designed-calm-image {
    flex: 1;
    overflow: hidden;
}

.designed-calm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== OPPORTUNITY ===== */
.opportunity-section {
    display: flex;
    min-height: 420px;
    padding: 0;
    background: var(--dark-green);
}

.opportunity-image {
    flex: 1;
    overflow: hidden;
}

.opportunity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opportunity-text {
    flex: 1;
    padding: 60px 15%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.opportunity-text h2 {
    font-size: clamp(1.8rem, 2.8vw + 1rem, 2.6rem);
    color: var(--white);
}

.opportunity-text ul {
    font-size: 0.95rem;
    line-height: 1;
}

.opportunity-text ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-left: 20px;
    position: relative;
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.05rem);
    opacity: 0.85;
}

.opportunity-text ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--beige);
    opacity: 0.7;
}

/* ===== LOCATION ===== */
.location-section {
    display: flex;
    min-height: 600px;
}

.location-map {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.location-map > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-map-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 62, 51, 0.8);
    color: var(--white);
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 3px;
    padding: 14px 24px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.location-info {
    flex: 1;
    background: var(--dark-green);
    color: var(--white);
    padding: 0% 80px;
    overflow-y: auto;
}

.location-info h3 {
    font-size: clamp(0.8rem, 1vw + 0.45rem, 0.95rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 14px;
    margin-top: 80px;
    margin-bottom: 22px;
}

.location-list {
    margin-bottom: 34px;
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    line-height: 1;
}

.location-list li {
    padding: 8px 0 8px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    position: relative;
    opacity: 0.85;
}

.location-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--beige);
    font-size: 1.2rem;
    line-height: 1.4;
}

.enquiry-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    font-family: var(--sans);
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    outline: none;
    transition: border-color 0.2s;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: rgba(255,255,255,0.55);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: rgba(255,255,255,0.42);
}

.enquiry-form button {
    padding: 15px;
    background: var(--olive-green);
    border: none;
    color: var(--white);
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw + 0.45rem, 0.95rem);
    letter-spacing: 2.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.enquiry-form button:hover {
    background: #4a5a36;
}

.contact-details {
    font-size: 0.85rem;
    opacity: 0.72;
    line-height: 2.1;
}

/* ===== LOCATION MAP 2 ===== */
.location-map-2 {
    padding: 0;
    line-height: 0;
}

.location-map-2 img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

/* ===== CELEBRATE YOUR LEGACY ===== */
.legacy-section {
    display: flex;
    min-height: 520px;
}

.legacy-text {
    flex: 1;
    background: var(--light-beige);
    padding: 80px 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legacy-text h2 {
    font-size: clamp(2.4rem, 4.2vw + 1.2rem, 4rem);
    color: var(--dark-green);
    line-height: 1.1;
    margin-bottom: 26px;
}

.legacy-text p {
    max-width: 420px;
    color: var(--text-mid);
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.05rem);
    margin-bottom: 14px;
}

.legacy-cta {
    font-size: clamp(0.75rem, 0.95vw + 0.42rem, 0.88rem) !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--olive-green) !important;
    margin-top: 12px;
    text-transform: uppercase;
    font-family: var(--sans);
}

.legacy-image {
    flex: 1;
    overflow: hidden;
}

.legacy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-green);
    color: rgba(255,255,255,0.8);
    padding: 48px 6%;
}

.footer-inner {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 2.1rem;
    color: var(--white);
    margin-bottom: 14px;
    opacity: 0.92;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: clamp(0.8rem, 1vw + 0.5rem, 1rem);
    line-height: 2.1;
    opacity: 0.72;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 130px;
}

.rera-qr {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 5px;
    background: rgba(255,255,255,0.06);
    display: block;
}

.rera-qr-label {
    font-size: clamp(0.65rem, 0.8vw + 0.35rem, 0.75rem) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.45 !important;
    line-height: 1.5 !important;
    font-family: var(--sans);
}

.footer-disclaimer {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 32px;
    margin-bottom: 0;
}

.footer-inner {
    padding-top: 40px;
}

.disclaimer-heading {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.65rem, 0.8vw + 0.35rem, 0.75rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.footer-disclaimer p {
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem) !important;
    line-height: 1.85 !important;
    color: rgba(255,255,255,0.32) !important;
    opacity: 1 !important;
    margin-bottom: 10px;
}

.footer-disclaimer a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-disclaimer a:hover {
    color: rgba(255,255,255,0.75);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .unit-plans-grid { flex-wrap: wrap; }
    .unit-plans-grid--extra { flex-wrap: wrap; }
    .amenities-cols { gap: 36px; }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; }
    .hero-right { display: none; }
    .visava-name-strip { flex-direction: column; }
    .visava-name-image { min-height: 280px; }
    .master-layout-grid { flex-direction: column; }
    .amenity-floor-plan { flex-direction: column; }
    .afp-image { padding: 40px 6%; }
    .unit-plans-grid { flex-direction: column; align-items: center; }
    .terrace-section { flex-direction: column; }
    .terrace-image { min-height: 300px; }
    .designed-calm { flex-direction: column; }
    .designed-calm-image { min-height: 320px; }
    .opportunity-section { flex-direction: column; }
    .opportunity-image { min-height: 280px; }
    .location-section { flex-direction: column; }
    .location-map { min-height: 360px; }
    .legacy-section { flex-direction: column; }
    .legacy-image { min-height: 320px; }
    .footer-inner { flex-direction: column; gap: 30px; }
}

@media (max-width: 680px) {
    .nav-links { display: none; }
    .hero-left h1 { font-size: 2.4rem; }
    .master-layout h2,
    .unit-plans h2 { font-size: 1.5rem; }
    .legacy-text h2 { font-size: 2.4rem; }
    .designed-calm-text h3 { font-size: 1.6rem; }
    .layout-includes ul { grid-template-columns: 1fr; }
    .afp-text ul { grid-template-columns: 1fr; }
    .amenities-cols { flex-direction: column; align-items: center; }
}

/* =============================================
   ANIMATIONS
   ============================================= */

/* --- Hero entrance (runs immediately on load) --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroStatsIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes navbarIn {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: translateY(0); }
}

.navbar {
    animation: navbarIn 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-content {
    animation: heroFadeUp 0.9s 0.25s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-stats {
    animation: heroStatsIn 0.7s 0.65s cubic-bezier(0.22,1,0.36,1) both;
}

/* --- Scroll-reveal base state --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
                transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* visible state — added by JS */
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* stagger delays for sibling groups */
.stagger-1 { transition-delay: 0.05s !important; }
.stagger-2 { transition-delay: 0.15s !important; }
.stagger-3 { transition-delay: 0.25s !important; }
.stagger-4 { transition-delay: 0.35s !important; }

/* --- Image hover zoom --- */
.visava-name-image img,
.designed-calm-image img,
.opportunity-image img,
.legacy-image img,
.location-map > img {
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
}

.visava-name-image:hover img,
.designed-calm-image:hover img,
.opportunity-image:hover img,
.legacy-image:hover img,
.location-map:hover > img {
    transform: scale(1.04);
}

/* --- Navbar link underline animation --- */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--olive-green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Button press micro-interaction --- */
.btn-hero-primary,
.btn-hero-ghost,
.btn-primary {
    transition: background 0.25s, transform 0.15s, border-color 0.25s;
}

.btn-hero-primary:active,
.btn-hero-ghost:active,
.btn-primary:active {
    transform: scale(0.97);
}

/* --- Amenity icon hover --- */
.a-icon img {
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
}

.a-icon:hover img {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* =============================================
   FLOOR PLAN BLUR + OVERLAY
   ============================================= */
.fp-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.fp-img {
    width: 100%;
    display: block;
    filter: blur(7px);
    transform: scale(1.04);
    transition: filter 0.3s, transform 0.3s;
}

.fp-wrap:hover .fp-img {
    filter: blur(9px);
    transform: scale(1.06);
}

.fp-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(10, 22, 14, 0.45);
    transition: background 0.3s;
}

.fp-wrap:hover .fp-overlay {
    background: rgba(10, 22, 14, 0.58);
}

.fp-overlay span {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.72rem, 0.92vw + 0.41rem, 0.85rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.fp-wrap:hover .fp-overlay span {
    background: var(--olive-green);
    border-color: var(--olive-green);
}

.unit-plans-note {
    color: rgba(255,255,255,0.5);
    font-size: clamp(0.75rem, 0.95vw + 0.42rem, 0.88rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: -32px;
    margin-bottom: 40px;
}

/* =============================================
   AMENITY SHOWCASE GRID
   ============================================= */
.amenity-showcase {
    background: var(--dark-green);
    padding-bottom: 4px;
}

.as-header {
    text-align: center;
    padding: var(--space-2xl) 6% 50px;
}

.as-header .calm-eyebrow {
    color: rgba(255,255,255,0.45);
    margin-bottom: 14px;
}

.as-header h2 {
    font-size: clamp(1.8rem, 2.8vw + 1rem, 2.6rem);
    color: var(--white);
}

.as-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 4px 4px;
}

.as-item {
    position: relative;
    overflow: hidden;
    height: clamp(400px, 30vw, 580px);
}

.as-span2 {
    grid-column: span 2;
}

.as-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
    display: block;
}

.as-item:hover img {
    transform: scale(1.06);
}

.as-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 16px 14px;
    background: linear-gradient(to top, rgba(10,22,14,0.88) 0%, transparent 100%);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.7rem, 0.9vw + 0.4rem, 0.85rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =============================================
   FLOOR PLAN MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 14, 0.72);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--white);
    max-width: 460px;
    width: 100%;
    padding: clamp(28px, 4vh, 44px) clamp(24px, 4vw, 40px) clamp(24px, 3vh, 36px);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-mid);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px 8px;
}

.modal-close:hover {
    color: var(--dark-green);
}

.modal-eyebrow {
    font-size: clamp(0.68rem, 0.85vw + 0.38rem, 0.78rem);
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--olive-green);
    margin-bottom: 10px;
}

.modal-box h3 {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 1.8vw + 0.8rem, 1.7rem);
    font-weight: 400;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    color: var(--text-mid);
    margin-bottom: 26px;
    line-height: 1.7;
}

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-box input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5d0be;
    background: var(--light-beige);
    font-family: var(--sans);
    font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.modal-box input:focus {
    border-color: var(--olive-green);
}

.modal-box input::placeholder {
    color: #aaa;
}

.modal-box button[type="submit"] {
    padding: 15px;
    background: var(--olive-green);
    border: none;
    color: var(--white);
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw + 0.45rem, 0.95rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.modal-box button[type="submit"]:hover {
    background: var(--dark-green);
}

.modal-box button[type="submit"]:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* =============================================
   FORM FEEDBACK MESSAGES
   ============================================= */
.form-msg {
    margin-top: 12px;
    font-size: clamp(0.82rem, 1vw + 0.48rem, 0.95rem);
    font-family: var(--sans);
    min-height: 20px;
    line-height: 1.5;
}

.form-success {
    color: #3a7a3a;
    font-weight: 700;
}

.form-error {
    color: #b83232;
    font-weight: 700;
}

/* =============================================
   FLOATING CONTACT BUTTONS
   ============================================= */
.float-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
    z-index: 9998;
    cursor: pointer;
}

.float-whatsapp {
    right: 30px;
    background: var(--olive-green);
}

.float-call {
    left: 30px;
    background: var(--logo-green);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.float-btn:active {
    transform: scale(0.95);
}

/* =============================================
   THANK YOU POPUP
   ============================================= */
.thankyou-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 14, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.thankyou-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.thankyou-box {
    background: var(--white);
    border-radius: 12px;
    padding: 48px 40px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.thankyou-overlay.open .thankyou-box {
    transform: translateY(0);
}

.thankyou-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2d6a4f;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.thankyou-box h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.thankyou-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 680px) {
    .as-grid { grid-template-columns: 1fr 1fr; }
    .as-span2 { grid-column: span 2; }
    .as-item { height: 200px; }
    .modal-box { padding: 36px 24px 28px; }
    
    .float-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
    }
    
    .float-whatsapp { right: 20px; }
    .float-call { left: 20px; }
    
    /* Fix horizontal scroll on mobile */
    .navbar { padding: clamp(10px, 1vh, 16px) 4%; }
    .hero-stats { padding: 20px 4%; }
    .hero-content { padding: 0 4% 64px; }
    .master-layout,
    .unit-plans,
    .amenities,
    footer { padding-left: 4%; padding-right: 4%; }
    .visava-name-text,
    .designed-calm-text,
    .opportunity-text,
    .legacy-text { padding-left: 6%; padding-right: 6%; }
    .afp-image { padding-left: 4%; }
    .afp-text { padding-left: 4%; padding-right: 4%; }
    .location-info { padding-left: 4%; padding-right: 4%; }
    .hero-stat-divider { margin: 0 12px; }
}
