/* ==========================================
   TRAWNIK — Webcreator CMS Stylesheet
   Modern Minimal, Scandinavian-inspired
   ========================================== */

:root {
    /* Colors */
    --color-bg: #fafaf7;
    --color-surface: #ffffff;
    --color-surface-alt: #f2f1ec;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-text-light: #999;
    --color-accent: #7a8a5c;
    --color-accent-dark: #5e6d44;
    --color-accent-light: #e8ece0;
    --color-border: #e5e4df;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container: 1200px;
    --radius: 4px;
    --radius-lg: 8px;
}

/* ==========================================
   Reset & Base
   ========================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container, .wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   Typography
   ========================================== */

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--color-accent);
}

/* ==========================================
   Navigation
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

/* Remove backdrop-filter when mobile menu is open — prevents stacking context from trapping the overlay */
.nav.menu-open,
.nav.menu-open.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    z-index: 101;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-white);
    transition: color 0.4s var(--ease);
}

.nav.scrolled .logo-text {
    color: var(--color-text);
}

.logo-accent {
    color: var(--color-accent);
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav.scrolled .nav-link {
    color: var(--color-text-muted);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
    color: var(--color-text);
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 300;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    position: absolute;
    left: 0;
    transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-text);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* Hamburger → X when menu open */
.nav-toggle.active span { background: var(--color-text); }
.nav-toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Nav dark mode — for pages without hero image */
.nav.nav-dark {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}
.nav.nav-dark .logo-text { color: var(--color-text); }
.nav.nav-dark .nav-link { color: var(--color-text-muted); }
.nav.nav-dark .nav-link:hover,
.nav.nav-dark .nav-link.active { color: var(--color-text); }
.nav.nav-dark .nav-toggle span { background: var(--color-text); }

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

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.nav-dropdown-menu > * {
    position: relative;
}

.nav-dropdown-menu {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    min-width: 200px;
    overflow: hidden;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.nav-dropdown-item span {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-left: 0.75rem;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: var(--color-surface-alt);
    color: var(--color-text);
}

.nav-dropdown-item + .nav-dropdown-item {
    border-top: 1px solid var(--color-border);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border: 1.5px solid var(--color-accent-dark);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(122, 138, 92, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

/* ==========================================
   Hero - v5 Glass Card
   ========================================== */

.hero {
    position: relative;
    padding-top: 65px;
}

.hero-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,16,.35) 0%, rgba(17,17,16,.08) 40%, transparent 100%);
}

.hero-body {
    position: relative;
    z-index: 2;
    height: 55vh;
    min-height: 420px;
}

.hero-card {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.hero-card-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: end;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem 3.5rem 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    border: 1px solid rgba(255,255,255,.5);
}

@keyframes slideUp {
    from { transform: translateY(120px); }
    to { transform: translateY(0); }
}

@keyframes glassIn {
    from { background: rgba(255,255,255,.6); }
    to { background: rgba(255,255,255,.85); }
}

.hero-card-animate {
    animation: slideUp 1.2s cubic-bezier(.16,1,.3,1) .3s both;
}

.hero-card-animate .hero-card-inner {
    animation: glassIn 1.2s cubic-bezier(.16,1,.3,1) .3s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.hero-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* v5 btn variants for hero */
.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn-out {
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-out:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero-stats-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--color-border);
}

.hero-stat {
    text-align: center;
}

.hero-stat b {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    display: block;
    line-height: 1.1;
    color: var(--color-text);
}

.hero-stat span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Stats
   ========================================== */

.stats {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0;
}

.stat {
    text-align: center;
    padding: 0 var(--space-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.1;
}

.stat-unit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
    vertical-align: super;
    margin-left: 0.15rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--color-border);
}

/* ==========================================
   About - Dark section (v5)
   ========================================== */

.about {
    background: #111110;
    color: #fff;
    padding: 8rem 0;
    overflow: hidden;
}

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

.about-content .section-label {
    color: var(--color-accent);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1.25rem;
}

.about-title em {
    font-style: italic;
    color: var(--color-accent);
}

.br-desktop { display: block; }
@media (max-width: 960px) {
    .br-desktop { display: none; }
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    margin-bottom: 0.85rem;
}

.about-checks {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.about-check {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.about-check:hover {
    border-color: var(--color-accent);
}

.about-check-dot {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-check strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
}

.about-check span {
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
}

.about-imgs {
    position: relative;
}

.about-img-1 {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.about-img-2 {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #111110;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.about-img-2 img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

/* ==========================================
   Gallery Home - v5 g-grid
   ========================================== */

.gallery-home {
    background: var(--color-surface-alt);
    padding: 6rem 0;
}

.gallery-head {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-head-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--color-text);
}

.gallery-head-title em {
    font-style: italic;
    color: var(--color-accent);
}

.g-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 0.75rem;
}

.g-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.g-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.g-item--tall {
    grid-row: span 2;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ==========================================
   Timeline - v5 tl-row style
   ========================================== */

.timeline {
    background: var(--color-surface);
    padding: 5rem 0;
}

.timeline-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.timeline-head-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--color-text);
}

.timeline-head-title em {
    font-style: italic;
    color: var(--color-accent);
}

.tl-row {
    display: flex;
    justify-content: center;
    position: relative;
}

.tl-row::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--color-border);
}

.tl-step {
    flex: 1;
    max-width: 200px;
    text-align: center;
    position: relative;
    padding-top: 48px;
}

.tl-dot {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    transition: all 0.3s;
    z-index: 1;
}

.tl-step.done .tl-dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.tl-step.active .tl-dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: 0 0 0 5px var(--color-accent-light);
}

.tl-q {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    color: var(--color-text);
}

.tl-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

/* ==========================================
   Housing Options - v5 3-column
   ========================================== */

.housing {
    background: var(--color-surface);
    padding: 8rem 0;
}

.housing-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3.5rem;
}

.housing-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.housing-title em {
    font-style: italic;
    color: var(--color-accent);
}

.housing-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.h-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    padding-top: 1.2rem;
}

.h-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.h-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
}

.h-card--pop {
    border: 2px solid var(--color-accent);
    position: relative;
}

.h-pop {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: var(--color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.h-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.h-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.h-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.h-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.h-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--color-text);
}

.h-card-body > p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.h-feats {
    list-style: none;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.h-feats li {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    padding: 0.3rem 0 0.3rem 1.1rem;
    position: relative;
}

.h-feats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.h-card-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h-price {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--color-text);
}

.h-price small {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-left: 0.3rem;
}

.h-card .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
}

/* ==========================================
   CTA (kept for compatibility)
   ========================================== */

.cta {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,.85), rgba(26,26,26,.7)); }
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 600px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 500; color: #fff; line-height: 1.2; margin-bottom: 1.5rem; }
.cta-title em { font-style: italic; color: var(--color-accent); }
.cta-text { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 3rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ==========================================
   Image Break
   ========================================== */

.img-break {
    height: 420px;
    overflow: hidden;
    position: relative;
}

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

.img-break-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-break-text {
    text-align: center;
    color: #fff;
}

.img-break-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.img-break-text h2 em {
    font-weight: 400;
    font-style: italic;
}

.img-break-text p {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
}

/* ==========================================
   Financing
   ========================================== */

.financing {
    background: var(--color-surface-alt);
    padding: 8rem 0;
}

.financing-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.financing-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.financing-title em {
    font-style: italic;
    color: var(--color-accent);
}

.financing-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.financing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.financing-options--single {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.financing-card {
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
}

.financing-card--dark {
    background: #111110;
    color: #fff;
}

.financing-card--light {
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.financing-card-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.financing-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.financing-card--dark h3 { color: #fff; }
.financing-card--light h3 { color: var(--color-text); }

.financing-pct {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.financing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.financing-list li {
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.financing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
}

.financing-card--dark .financing-list li {
    color: rgba(255,255,255,.65);
}

.financing-card--light .financing-list li {
    color: var(--color-text-muted);
}

/* Financing steps (new 3-contract layout) */
.financing-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    margin: 0 auto 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.financing-step {
    border-bottom: 1px solid var(--color-border);
}

.financing-step:last-child {
    border-bottom: none;
}

.financing-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-bg-alt, #f4f3ef);
}

.financing-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.financing-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.financing-step-body {
    padding: 0.5rem 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.financing-tranche {
    display: grid;
    grid-template-columns: 13rem 6rem 1fr;
    align-items: baseline;
    gap: 0.5rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--color-border);
}

.financing-tranche:last-child {
    border-bottom: none;
}

.tranche-when {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.tranche-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
}

.tranche-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    grid-column: 2 / -1;
}

.tranche-desc {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .financing-tranche {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .tranche-amount { grid-column: auto; }
}

.financing-note {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.financing-note p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* ==========================================
   News Section
   ========================================== */

.news-section {
    background: var(--color-surface);
    padding: 8rem 0;
}

.news-head {
    text-align: center;
    margin-bottom: 3rem;
}

.news-head-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--color-text);
}

.news-head-title em {
    font-style: italic;
    color: var(--color-accent);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.07);
}

.news-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.news-card-date {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    line-height: 1.3;
}

.news-card-body p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.2s;
}

.news-card-link:hover {
    gap: 0.7rem;
}

/* ==========================================
   Contact Section - v5 dark/white
   ========================================== */

.contact-section {
    background: #111110;
    padding: 5rem 0;
}

.contact-section--page {
    padding-top: 10rem;
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.checkbox-inline input[type="checkbox"] {
    flex-shrink: 0;
    accent-color: var(--color-accent);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.form-group--checkbox label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

.form-group--checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-accent);
}

.contact-wrap {
    max-width: var(--container);
    width: calc(100% - 4rem);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.contact-left {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #111110;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 110%, rgba(122,138,92,.25) 0%, transparent 65%);
    pointer-events: none;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-title em {
    font-style: italic;
    color: var(--color-accent);
}

.contact-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 340px;
}

.cc-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cc-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.cc-item span, .cc-item a {
    font-size: 0.88rem;
    color: rgba(255,255,255,.85);
}

.cc-item a:hover {
    color: var(--color-accent);
}

.contact-right {
    background: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    background: var(--color-bg);
    outline: none;
    transition: border-color 0.2s;
    color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.form-hint {
    font-size: 0.65rem;
    color: var(--color-text-light);
    margin-top: 0.2rem;
}

.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 2rem;
    margin-top: 0.25rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-send:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    background: #fde8e8;
    color: #c62828;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--color-white);
    font-size: 1.5rem;
}

.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.9rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.footer-nav a,
.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s var(--ease);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    font-size: 0.8rem;
}

.footer-credit-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-credit-link:hover {
    opacity: 1;
}

/* ==========================================
   Animations - Scroll Reveal
   ========================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 960px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 200;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        color: var(--color-text);
        font-size: 1.25rem;
    }

    .nav-links .nav-cta {
        margin-top: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        padding-top: 0;
        opacity: 1;
        visibility: visible;
        background: none;
        border: none;
        box-shadow: none;
        min-width: auto;
        display: flex;
        gap: 1rem;
    }

    .nav-dropdown-menu::before { display: none; }

    .nav-dropdown-item {
        padding: 0;
        font-size: 0.9rem;
        color: var(--color-text-muted);
    }

    .nav-dropdown-item:hover,
    .nav-dropdown-item.active {
        background: none;
        color: var(--color-accent);
    }

    .nav-dropdown-item + .nav-dropdown-item { border-top: none; }

    /* Hero */
    .hero-card {
        padding: 0 1rem 2.5rem;
    }

    .hero-card-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-stats-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-border);
        padding-top: 1.25rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
    }

    .hero-stat b {
        font-size: 2.5rem;
    }

    .hero-body { height: 30vh; min-height: 260px; }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-2 { display: none; }

    /* Housing */
    .h-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    /* Gallery */
    .g-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .g-item--tall { grid-row: span 1; }

    /* Timeline */
    .tl-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .tl-row::before { display: none; }
    .tl-dot { display: none; }
    .tl-step { padding-top: 0; }

    /* Financing */
    .financing-options { grid-template-columns: 1fr; }

    /* News */
    .news-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider { display: none; }
    .stat { flex: 1 1 40%; }
}

@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .img-break { height: 300px; }

    .contact-left, .contact-right { padding: 2.5rem 2rem; }

    .form-row { grid-template-columns: 1fr; }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   PLOTS PAGE
   ========================================== */

.plots-section {
    padding: 120px 0 6rem;
}

.plots-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.plots-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.plots-intro {
    max-width: 660px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ── Interactive Plot Map ── */
.plots-map-wrap {
    margin-bottom: var(--space-2xl);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    position: relative;
    z-index: 1;
}

.plots-map {
    width: 100%;
    height: 600px;
    background: var(--color-surface-alt);
}

.plot-tooltip {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.plot-tooltip strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.map-price {
    font-weight: 600;
    color: var(--color-accent-dark);
}

.map-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 2px;
}

.map-status-available {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
}

.map-status-reserved {
    background: #fef3e0;
    color: #a67c2e;
}

.map-status-sold {
    background: #fde8e8;
    color: #8b4049;
}

.map-legend {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

/* Hide Leaflet zoom controls styling override */
.plots-map .leaflet-control-zoom a {
    font-family: var(--font-body);
    border-radius: 6px;
}

.plots-pricing-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--space-2xl);
}

.pricing-card {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.pricing-card-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.pricing-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-badge {
    display: inline-block;
    margin-top: 1rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plots-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e8e8e4;
    background: #fff;
}

/* Grid columns: name | area | price | +small | +large | status */
.plots-table {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    min-width: 680px;
}

.plots-table-header,
.plot-row {
    display: grid;
    grid-template-columns: 150px 100px 1fr 1fr 1fr 230px;
    align-items: center;
    padding: 0.85rem 1.25rem;
    gap: 0.5rem;
}

.plots-table-header {
    background: var(--color-bg-alt, #f5f5f0);
    border-radius: 10px 10px 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.plot-row {
    border-top: 1px solid #f0f0ec;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
    cursor: pointer;
}

.plot-row:hover {
    background: #f7f7f4;
}

/* Align: area right, prices right, status center */
.plots-table-header span:nth-child(2),
.plot-row span:nth-child(2) { text-align: right; }
.plots-table-header span:nth-child(3),
.plot-row span:nth-child(3),
.plots-table-header span:nth-child(4),
.plot-row span:nth-child(4),
.plots-table-header span:nth-child(5),
.plot-row span:nth-child(5) { text-align: right; }
.plots-table-header span:nth-child(6),
.plot-row span:nth-child(6) { text-align: center; }

/* Plot filter bar */
.plots-filter {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--color-border, rgba(0,0,0,0.08));
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.plots-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 130px;
}

.plots-filter-group label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.plots-filter-group select,
.plots-filter-group input[type="number"] {
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--color-border, rgba(0,0,0,0.12));
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--color-bg, #fafaf7);
    color: var(--color-text);
    transition: border-color 0.2s;
    appearance: auto;
}

.plots-filter-group select:focus,
.plots-filter-group input[type="number"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(122,138,92,0.12);
}

.plots-filter-price {
    min-width: 220px;
    flex: 2;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.price-range-slider {
    position: relative;
    height: 28px;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(122,138,92,0.2);
    border-radius: 2px;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    pointer-events: all;
    cursor: pointer;
    margin-top: -7px;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    pointer-events: all;
    cursor: pointer;
}

.filter-reset-btn {
    padding: 0.55rem 1rem;
    border: 1.5px solid var(--color-border, rgba(0,0,0,0.12));
    border-radius: 8px;
    background: transparent;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.filter-reset-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.plots-filter-count {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    align-self: center;
    padding-top: 1.2rem;
}


/* Status button (CityPark-style) */
.status-btn {
    padding: 0.45rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
    width: 120px;
    text-align: center;
}

.status-btn.available {
    background: rgba(122,138,92,0.12);
    color: var(--color-accent);
}

.status-btn.available:hover {
    background: var(--color-accent);
    color: #fff;
}

.status-btn.available .status-text { display: inline; }
.status-btn.available .status-hover { display: none; }
.status-btn.available:hover .status-text { display: none; }
.status-btn.available:hover .status-hover { display: inline; }

.status-btn.reserved {
    background: #fff3e0;
    color: #b36200;
    cursor: default;
}

.status-btn.sold {
    background: #ffeaea;
    color: #c62828;
    cursor: default;
}

.plot-reserved { opacity: 0.6; }
.plot-sold { opacity: 0.45; }

.plot-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.available {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.reserved {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.sold {
    background: #fce4ec;
    color: #c62828;
}

.plot-price strong {
    color: var(--color-accent);
    font-size: 1rem;
}

.price-na {
    color: #ccc;
}

.btn-interest {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-interest:hover {
    background: #6a7a4c;
}

/* ── Interest Modal ── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.modal-title span {
    color: var(--color-accent);
}

/* Contact form inside modal */
.contact-form {
    display: flex;
    flex-direction: column;
}

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

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea {
    resize: vertical;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.btn-full {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-full:hover {
    background: #6a7a4c;
}

.btn-full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

.plots-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   LOCATION PAGE
   ========================================== */

.location-section {
    padding: 120px 0 6rem;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.location-intro {
    max-width: 640px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Full-width map */
.location-map-hero {
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.map-open-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s var(--ease);
}

.map-open-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.trawnik-map-marker {
    cursor: pointer;
}

.trawnik-map-marker svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.trawnik-poi-marker {
    cursor: pointer;
    transition: transform 0.2s;
}

.trawnik-poi-marker:hover {
    transform: scale(1.3);
}

.trawnik-poi-marker svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

/* Features grid */
.location-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--space-2xl);
}

.location-feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.location-feature-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.location-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(122, 138, 92, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.location-feature-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.location-feature-card span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* About the area */
.location-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-about-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.location-about-title em {
    font-style: italic;
    color: var(--color-accent);
}

.location-about-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-about-text p:last-child {
    margin-bottom: 0;
}

.location-about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.location-about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* ==========================================
   GALLERY PAGE
   ========================================== */

.gallery-section {
    padding: 120px 0 6rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery-intro {
    max-width: 560px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-link {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-overlay svg {
    color: #fff;
}

/* ==========================================
   PROPERTY DETAIL PAGE
   ========================================== */

.property-detail {
    padding: 120px 0 6rem;
}

.property-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.property-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.property-back-link:hover {
    color: var(--color-accent);
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-areas:
        "top    sidebar"
        "bottom sidebar";
    gap: 3rem;
    align-items: start;
}

.property-detail-top    { grid-area: top; }
.property-detail-bottom { grid-area: bottom; }

.property-detail-sidebar {
    grid-area: sidebar;
}

.property-detail-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.property-detail-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-top: 0.25rem;
    letter-spacing: -0.02em;
}

.property-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.property-label-row .status-badge {
    font-size: 0.7rem;
}

.property-detail-status {
    padding-top: 0.5rem;
}

/* Metrics */
.property-metrics {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.property-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.property-metric svg {
    color: var(--color-accent);
    flex-shrink: 0;
    opacity: 0.7;
}

.metric-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Info + Map row */
.property-info-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.property-info-col {
    min-width: 0;
}

.property-map-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.property-map {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.leaflet-container {
    background: #f2ede0 !important;
}

.property-map.leaflet-container {
    overflow: visible;
}

.property-map .leaflet-tooltip {
    white-space: nowrap;
}

.property-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease);
}

.property-map-link:hover {
    gap: 0.6rem;
    color: var(--color-accent-dark);
}

/* Description */
.property-description {
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.property-description p {
    margin-bottom: 0.5rem;
}

/* Images */
.property-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.property-image {
    border-radius: 12px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* Sidebar */
.property-detail-sidebar {
    position: sticky;
    top: 100px;
}

.property-price-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.property-price-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 28px rgba(122, 138, 92, 0.15);
    transform: translateY(-2px);
}

.property-price-card:first-child {
    border-left: 3px solid var(--color-accent);
}

.property-price-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.property-price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

.price-vat {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.price-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease);
}

.price-card-link:hover {
    gap: 0.6rem;
    color: var(--color-accent-dark);
}

.price-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.price-card-header h3 {
    margin: 0;
}

.price-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.price-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-card-price .price-vat {
    white-space: nowrap;
}

.price-card-btn {
    font-size: 0.8rem;
    padding: 0.45rem 1.1rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-card-btn:hover {
    background: var(--color-accent-dark);
}

.property-price-card > .price-card-btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.5rem;
}

.property-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 1rem;
}

.property-cta-btn:hover {
    background: var(--color-accent-dark, #5e6d44);
    transform: translateY(-1px);
}

.property-sold-notice {
    background: var(--color-surface-alt, #f0efe9);
    border: 1px solid var(--color-border, rgba(0,0,0,0.08));
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.property-sold-notice svg {
    color: var(--color-accent);
    opacity: 0.7;
}

.sold-notice-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.sold-area-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
}

.sold-area-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.property-sold-notice p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.btn-outline-sm {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid var(--color-accent);
    border-radius: 6px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-outline-sm:hover {
    background: var(--color-accent);
    color: #fff;
}

.price-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* ── House Options (Property Detail) ── */
.house-options {
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.house-options-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.house-options-title em {
    font-style: italic;
    color: var(--color-accent);
}

.house-option {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: border-color 0.3s var(--ease);
}

.house-option:hover {
    border-color: var(--color-accent-light);
}

.house-option-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.house-option-name span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.house-option-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.house-option-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 280px;
    cursor: pointer;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.house-option-img:hover {
    border-color: var(--color-accent-light);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.house-option-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.house-option-img.podorys {
    background: #fff;
    padding: 1rem;
}

.house-option-img.podorys img {
    object-fit: contain;
}

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

.img-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.house-option-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.3s;
}

.house-option-link:hover {
    gap: 0.7rem;
}

/* ==========================================
   CONTACT PAGE (legacy selectors — kept for contact-item/card)
   ========================================== */

.contact-card {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 12px;
    padding: 2rem;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid #f0f0ec;
}

.contact-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.contact-item a,
.contact-item span {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--color-accent);
}

/* ==========================================
   SUBPAGE RESPONSIVE
   ========================================== */

@media (max-width: 960px) {
    .plots-map {
        height: 400px;
    }

    .plots-pricing-info {
        grid-template-columns: 1fr;
    }

    .location-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-about {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none;
    }

    .property-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "top"
            "sidebar"
            "bottom";
    }

    .property-info-map {
        grid-template-columns: 1fr;
    }

    .property-detail-sidebar {
        position: static;
    }

    .property-metrics {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .plots-map {
        height: 300px;
    }

    .house-option-images {
        grid-template-columns: 1fr;
    }

    .location-features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .plots-table {
        font-size: 0.85rem;
        min-width: 500px;
    }

    .plots-table-header,
    .plot-row {
        grid-template-columns: 1.4fr 0.6fr 1fr 150px;
        padding: 0.75rem 1rem;
    }
}

/* ==========================================
   House Detail Pages (mala-chata, velka-chata)
   ========================================== */

.house-detail {
    padding: 6rem 0 4rem;
    background: var(--color-bg);
}

.house-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.house-detail-header {
    margin-bottom: 2rem;
}

.house-detail-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0.5rem 0;
}

.house-detail-title em {
    font-style: italic;
    color: var(--color-accent);
}

.house-detail-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.house-detail-hero {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.house-detail-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats bar */
.house-detail-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
}

.house-stat {
    text-align: center;
}

.house-stat-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.house-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Content */
.house-detail-content {
    margin-bottom: 3rem;
}

.house-detail-desc h2,
.house-detail-floorplan h2,
.house-detail-specs h2,
.house-detail-cta h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.house-detail-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* Floor plans */
.house-detail-floorplan {
    margin-bottom: 3rem;
}

.floorplan-floor {
    margin-bottom: 2.5rem;
}

.floorplan-floor h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.floorplan-image {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.floorplan-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Room legend table */
.room-legend {
    margin-bottom: 1.5rem;
}

.room-legends-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.room-legend h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.room-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.room-table col.col-num      { width: 80px; }
.room-table col.col-name     { width: auto; }
.room-table col.col-area     { width: 130px; }

.room-table th {
    text-align: left;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid var(--color-accent);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.room-table th:last-child,
.room-table td:last-child {
    text-align: right;
}

.room-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--color-text);
}

.room-table td:first-child {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.room-table tbody tr:hover td {
    background: rgba(122,138,92,0.05);
}

.room-table .room-total td {
    font-weight: 700;
    border-top: 2px solid var(--color-accent);
    border-bottom: none;
    padding-top: 0.85rem;
    color: var(--color-text);
}

/* Technical specs */
.house-detail-specs {
    margin-bottom: 3rem;
}

.specs-note {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.spec-group {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
}

.spec-group h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.spec-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-group li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.spec-group li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.specs-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
    font-style: italic;
}

/* CTA */
.house-detail-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}

.house-detail-cta p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.house-detail-cta .property-cta-btn {
    display: inline-flex;
    width: auto;
    padding: 1rem 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .house-detail-title {
        font-size: 2.25rem;
    }

    .house-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .room-legends-grid {
        grid-template-columns: 1fr;
    }

    .house-detail-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .house-detail-title {
        font-size: 1.75rem;
    }

    .house-stat-value {
        font-size: 1.25rem;
    }

    .property-price-value {
        font-size: 1.35rem;
    }

    .price-card-row {
        flex-wrap: nowrap;
    }

    .price-card-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}
