/**
 * Amalia Syokimau — Design System
 */

:root {
    --forest: #0f2e1f;
    --forest-mid: #1a4d32;
    --sage: #7cb342;
    --sage-light: #a8c95a;
    --sage-muted: #98ab52;
    --cream: #f8f6f1;
    --cream-dark: #ede9e0;
    --white: #ffffff;
    --ink: #1a1f1c;
    --ink-soft: #4a524c;
    --ink-muted: #7a827c;
    --gold: #c9a962;
    --shadow-sm: 0 4px 20px rgba(15, 46, 31, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 46, 31, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 46, 31, 0.18);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 76px;
    --container-max: 1120px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 93.75%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.lightbox-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }

ul { list-style: none; }

.container {
    width: min(var(--container-max), 90vw);
    margin: 0 auto;
}

/* ─── Typography ─── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--forest);
    margin-bottom: 0.85rem;
}

.section-lead {
    font-size: 0.98rem;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-header--left {
    text-align: left;
}

.section-header--left .section-lead {
    margin-left: 0;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.45rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
    background: linear-gradient(135deg, var(--forest-mid), var(--forest));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(15, 46, 31, 0.25);
}

.btn--primary:hover {
    box-shadow: 0 12px 32px rgba(15, 46, 31, 0.35);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.btn--sage {
    background: var(--sage);
    color: var(--white);
}

.btn--sage:hover {
    background: var(--forest-mid);
    color: var(--white);
}

.btn--ghost {
    background: var(--cream-dark);
    color: var(--forest);
}

.btn--ghost:hover { background: var(--sage-light); color: var(--forest); }

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    background: rgba(248, 246, 241, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled .nav-link { color: var(--ink); }
.site-header.is-scrolled .nav-link:hover { color: var(--sage); }
.site-header.is-scrolled .nav-toggle span { background: var(--forest); }

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(var(--container-max) + 80px), 92vw);
}

.site-logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: filter var(--transition);
}

.site-header.is-scrolled .site-logo img {
    filter: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover { color: var(--sage-light); }

.site-header.is-scrolled .nav-link:hover {
    background: rgba(26, 77, 50, 0.06);
}

.nav-cta {
    margin-left: 0.75rem;
    padding: 0.65rem 1.35rem !important;
    background: var(--sage) !important;
    color: var(--white) !important;
    border-radius: 100px !important;
}

.nav-cta:hover {
    background: var(--forest-mid) !important;
    color: var(--white) !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: var(--ink);
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.nav-dropdown__menu a:hover {
    background: var(--cream);
    color: var(--forest-mid);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Hero Slider ─── */
.hero {
    position: relative;
    height: min(88vh, 760px);
    min-height: 520px;
    max-height: 760px;
}

.hero-swiper,
.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 46, 31, 0.82) 0%,
        rgba(15, 46, 31, 0.45) 45%,
        rgba(15, 46, 31, 0.25) 100%
    );
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 0 5vw;
    margin-left: max(4vw, calc((100vw - var(--container-max)) / 2));
    animation: heroFadeUp 0.9s ease forwards;
}

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

.hero-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 1.25rem;
}

.hero-slide__eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--sage-light);
}

.hero-slide__title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.8vw, 3.35rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-slide__subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 480px;
    font-weight: 300;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-swiper .swiper-pagination {
    bottom: 40px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: transform var(--transition), background var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--sage-light);
    transform: scale(1.3);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: var(--white);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background var(--transition);
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-scroll {
    position: absolute;
    bottom: 100px;
    right: 5vw;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 1rem; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ─── Stats bar ─── */
.stats-bar {
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding: 0 4vw;
}

.stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-item {
    padding: 1.5rem 1.15rem;
    text-align: center;
    border-right: 1px solid var(--cream-dark);
}

.stat-item:last-child { border-right: none; }

.stat-item__value {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.stat-item__label {
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ─── About section ─── */
.section { padding: 4.5rem 0; }

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--forest {
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-mid) 100%);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-grid__text p {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-images__card {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
}

.about-images__card:hover { transform: scale(1.02); }

.about-images__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-images__card:first-child { margin-top: 2rem; }

.about-images__label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(15, 46, 31, 0.85);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.about-images__card { position: relative; }

/* ─── Property cards ─── */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.property-card__media {
    position: relative;
    aspect-ratio: 5/3.5;
    overflow: hidden;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-card__media img {
    transform: scale(1.06);
}

.property-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--forest);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
}

.property-card__price {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(15, 46, 31, 0.88);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.38rem 0.85rem;
    border-radius: 100px;
}

.property-card__body {
    padding: 1.15rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 0.6rem;
}

.property-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.property-card__features i {
    color: var(--sage);
    margin-right: 0.35rem;
}

.property-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-mid);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-card__link:hover { color: var(--sage); gap: 0.75rem; }

/* Phase II floor plan collection */
.section--phase2 {
    background: linear-gradient(160deg, #1a4d32 0%, #0f2e1f 100%);
}

.section--phase2 .section-title,
.section--phase2 .section-eyebrow {
    color: var(--white);
}

.section--phase2 .section-eyebrow {
    color: var(--sage-light);
}

.section--phase2 .section-lead {
    color: rgba(255, 255, 255, 0.78);
}

.phase2-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.phase2-plan-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.phase2-plan-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.phase2-plan-card__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 0.35rem;
}

.phase2-plan-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.2;
}

.phase2-plan-card__price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sage-light);
    white-space: nowrap;
}

.phase2-plan-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

.phase2-plan-card__meta i {
    color: var(--sage-light);
    margin-right: 0.25rem;
}

.phase2-plan-card__plans {
    display: grid;
    gap: 0.75rem;
}

.phase2-plan-card__plan {
    margin: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.phase2-plan-card__plan.is-missing {
    display: none;
}

.phase2-plan-card__plan img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    cursor: zoom-in;
}

.phase2-plan-card__plan figcaption {
    padding: 0.55rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.phase2-plan-card__more {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--sage-light);
    opacity: 0.9;
}

.phase2-plan-card__cta {
    margin-top: auto;
    width: 100%;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: var(--white) !important;
}

.phase2-plan-card__cta:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--white) !important;
}

/* Phase II dark section cards */
.section--sage .property-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.section--sage .property-card__title { color: var(--white); }
.section--sage .property-card__features { color: rgba(255,255,255,0.7); }
.section--sage .property-card__link { color: var(--sage-light); }
.section--sage .section-title { color: var(--white); }
.section--sage .section-eyebrow { color: var(--sage-light); }

/* ─── Features strip ─── */
.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding: 3rem 0;
}

.feature-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.feature-box:hover { transform: translateY(-4px); }

.feature-box__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    color: var(--white);
    border-radius: 12px;
    font-size: 1.15rem;
}

.feature-box h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--ink-muted);
}

/* ─── Reviews teaser ─── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--sage);
}

.review-card__stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-card__text {
    font-style: italic;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.review-card__author {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--forest);
}

/* ─── CTA ─── */
.cta-banner {
    margin: 5rem 4vw 6rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--forest) 0%, #2d6a4f 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    max-width: 500px;
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    margin-top: 0.5rem;
}

/* ─── Page hero (inner pages) ─── */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 4rem) 0 4rem;
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-mid) 70%);
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-top: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover { color: var(--sage-light); }
.breadcrumb__sep { font-size: 0.6rem; opacity: 0.5; }
.breadcrumb__current { color: var(--sage-light); }

/* ─── Content blocks ─── */
.content-block {
    padding: 4rem 0 6rem;
}

.content-block p {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose { max-width: 780px; }

/* ─── Forms ─── */
.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: 12px;
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.15);
    background: var(--white);
}

textarea.form-control { min-height: 140px; resize: vertical; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-grid .form-group--full { grid-column: 1 / -1; }

/* ─── Contact info cards ─── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.info-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--forest-mid);
    border-radius: 12px;
    font-size: 1.25rem;
}

.info-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.info-card p, .info-card a {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.info-card a:hover { color: var(--sage); }

/* ─── Map ─── */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* ─── Footer ─── */
.site-footer {
    background: var(--forest);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-brand img {
    height: 48px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-col h6 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.65rem; }

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover { color: var(--sage-light); }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    transition: background var(--transition), transform var(--transition);
}

.footer-social a:hover {
    background: var(--sage);
    transform: translateY(-2px);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 0.82rem;
}

.footer-bottom__links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom__links a:hover { color: var(--sage-light); }

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-float i { font-size: 1.4rem; }

/* ─── Portfolio / Gallery ─── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.portfolio-card__body {
    padding: 1.5rem;
    background: var(--white);
}

.portfolio-card__body h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--forest);
}

.portfolio-card__body a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* ─── News & Blogs ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card__media {
    display: block;
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.04);
}

.blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--forest) 0%, var(--sage) 100%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 2.5rem;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.blog-card__category,
.blog-detail__category {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--cream);
    color: var(--forest);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card__body h3 a {
    color: var(--forest);
    text-decoration: none;
}

.blog-card__body h3 a:hover {
    color: var(--sage);
}

.blog-card__body p {
    flex: 1;
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
}

.blog-empty {
    text-align: center;
    color: var(--ink-muted);
    padding: 3rem;
}

.blog-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
    align-items: start;
}

.blog-detail__hero {
    margin: 0 0 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-detail__hero img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.blog-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.blog-detail__author {
    font-weight: 600;
    color: var(--forest);
}

.blog-detail__content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink);
}

.blog-detail__back {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 60, 52, 0.1);
}

.blog-detail__sidebar {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.blog-detail__sidebar h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 1.25rem;
}

.blog-related {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-related__item + .blog-related__item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 60, 52, 0.08);
}

.blog-related__link {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.blog-related__link img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.blog-related__link strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--forest);
    margin-bottom: 0.25rem;
}

.blog-related__link small {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.blog-related__link:hover strong {
    color: var(--sage);
}

@media (max-width: 900px) {
    .blog-detail {
        grid-template-columns: 1fr;
    }

    .blog-detail__sidebar {
        position: static;
    }
}

/* ─── Policy pages ─── */
.policy-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-wrap h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--forest);
    margin: 2rem 0 0.75rem;
}

.policy-wrap h2:first-child { margin-top: 0; }

.policy-wrap p, .policy-wrap li {
    color: var(--ink-soft);
    margin-bottom: 0.75rem;
}

.policy-wrap ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1440px) {
    html { font-size: 15px; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; }

    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--forest);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
        gap: 0;
        transition: right var(--transition);
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .site-nav.is-open { right: 0; }

    .nav-link {
        color: var(--white);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 0;
    }

    .nav-cta { margin: 1.5rem 0 0 !important; text-align: center; }

    .nav-dropdown__menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        display: none;
        margin-top: 0.5rem;
    }

    .nav-dropdown.is-open .nav-dropdown__menu { display: block; }

    .nav-dropdown__menu a { color: rgba(255,255,255,0.85); }
    .nav-dropdown__menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }

    .hero { min-height: 100svh; }
    .hero-slide__content { margin-left: 5vw; padding-right: 5vw; }
    .hero-scroll { display: none; }

    .stats-bar { margin-top: -40px; }
    .stats-bar__inner { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 1.25rem 1rem; }
    .stat-item__value { font-size: 1.6rem; }

    .section { padding: 3.5rem 0; }
    .phase2-plans-grid { grid-template-columns: 1fr; }
    .amalia-lightbox__nav--prev { left: 0.5rem; }
    .amalia-lightbox__nav--next { right: 0.5rem; }
    .features-strip { grid-template-columns: 1fr; }
    .cta-banner { padding: 2.5rem; margin: 3.5rem 4vw 4rem; flex-direction: column; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .property-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr !important; }
    .reviews-layout { grid-template-columns: 1fr !important; }
    .reviews-layout aside { position: static !important; }
    .property-detail { grid-template-columns: 1fr; }
    .inquiry-sidebar { position: static; }
}

body.nav-open { overflow: hidden; }

@media (max-width: 480px) {
    .hero-slide__actions { flex-direction: column; }
    .hero-slide__actions .btn { width: 100%; }
    .stats-bar__inner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--cream-dark); }
}

/* ─── Property detail page ─── */
.property-detail {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.property-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.property-gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform var(--transition);
}

.property-gallery-grid img:hover { transform: scale(1.03); }

.property-gallery-grid img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-spec {
    background: var(--cream);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.88rem;
}

.detail-spec strong {
    display: block;
    color: var(--ink-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.detail-spec span { color: var(--forest); font-weight: 600; font-size: 1rem; }

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.amenities-grid li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.property-map-embed {
    margin-top: 0;
    margin-bottom: 0;
}

.floor-plan-gallery {
    display: grid;
    gap: 1rem;
}

.floor-plan-gallery--full {
    gap: 1.5rem;
}

.floor-plan-card {
    margin: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.floor-plan-card__label {
    padding: 0.85rem 1rem 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--forest);
    text-align: center;
}

.floor-plan-card__image {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform var(--transition);
}

.floor-plan-gallery--detail .floor-plan-card__image {
    cursor: zoom-in;
}

.floor-plan-gallery--detail .floor-plan-card__image:hover {
    transform: scale(1.01);
}

/* Lightbox */
.amalia-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 18, 14, 0.94);
}

.amalia-lightbox[hidden] {
    display: none !important;
}

.amalia-lightbox__stage {
    max-width: min(920px, 92vw);
    width: 100%;
    text-align: center;
}

.amalia-lightbox__image {
    max-width: 100%;
    max-height: 78vh;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.amalia-lightbox__caption {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.amalia-lightbox__close,
.amalia-lightbox__nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.amalia-lightbox__close:hover,
.amalia-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.amalia-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
}

.amalia-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.amalia-lightbox__nav--prev { left: 1rem; }
.amalia-lightbox__nav--next { right: 1rem; }

.amenities-grid i { color: var(--sage); }

/* Rich text / CMS content */
.rich-text {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 0.96rem;
}

.rich-text--lead {
    margin-bottom: 1.25rem;
}

.rich-text p,
.rich-text ul,
.rich-text ol {
    margin-bottom: 0.9rem;
}

.rich-text p:last-child,
.rich-text ul:last-child,
.rich-text ol:last-child {
    margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.2rem;
}

.rich-text li {
    margin-bottom: 0.35rem;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    font-family: var(--font-display);
    color: var(--forest);
    margin: 1.25rem 0 0.65rem;
    line-height: 1.2;
}

.rich-text h2 { font-size: 1.45rem; }
.rich-text h3 { font-size: 1.2rem; }
.rich-text h4 { font-size: 1.05rem; }

.prose {
    max-width: 760px;
}

.detail-block__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--forest);
    margin: 1.75rem 0 0.85rem;
}

.detail-block__copy {
    margin-bottom: 0.5rem;
}

.floor-plan-card__hint {
    padding: 0.55rem 0.75rem 0.7rem;
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-align: center;
}

.inquiry-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

/* Inner pages: solid header from start (no transparent hero behind) */
body:not(.page-home) .site-header {
    background: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

body:not(.page-home) .site-header .nav-link {
    color: var(--ink);
}

body:not(.page-home) .site-header .nav-link:hover {
    color: var(--sage);
}

body:not(.page-home) .site-header .nav-toggle span {
    background: var(--forest);
}

body:not(.page-home) .site-logo img {
    filter: none;
}

/* Homepage body - transparent header over hero */
body.page-home .site-header:not(.is-scrolled) .site-logo img {
    filter: brightness(0) invert(1);
}
