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

:root {
    --primary: #2d5016;
    --primary-light: #3d6b1f;
    --primary-dark: #1e3a0e;
    --accent: #8fbc5a;
    --accent-light: #c5e1a5;
    --bg: #fafaf7;
    --bg-alt: #f0efe8;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --text-muted: #999;
    --white: #ffffff;
    --border: #e0dfd8;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(250, 250, 247, 0.97);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(45, 80, 22, 0.82) 0%, rgba(30, 58, 14, 0.78) 50%, rgba(45, 80, 22, 0.75) 100%),
        url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(143, 188, 90, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 100px 24px 60px;
    max-width: 900px;
}

.hero-tag {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    margin-top: 8px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(4px, 4px); opacity: 0.8; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

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

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

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

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

.btn-full {
    width: 100%;
    background: var(--primary);
    color: var(--white);
}

.btn-full:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white) !important;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-sm:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-image {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
}

/* ===== APARTMENTS ===== */
.section-apartments {
    background: var(--bg-alt);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

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

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

.apartments-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 64px;
}

.apartments-table {
    width: 100%;
    border-collapse: collapse;
}

.apartments-table thead {
    background: var(--primary);
    color: var(--white);
}

.apartments-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.apartments-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    white-space: nowrap;
}

.apartments-table tbody tr {
    transition: background var(--transition);
}

.apartments-table tbody tr:hover {
    background: rgba(143, 188, 90, 0.06);
}

.apartments-table tbody tr:last-child td {
    border-bottom: none;
}

.apartments-table tbody tr.hidden {
    display: none;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-available {
    background: rgba(143, 188, 90, 0.15);
    color: var(--primary);
}

.status-reserved {
    background: rgba(255, 193, 7, 0.15);
    color: #b8860b;
}

.status-sold {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
}

/* Apartment types */
.apt-types h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
}

.apt-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.apt-type-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.apt-type-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.apt-type-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary);
    color: var(--white);
    margin-bottom: 16px;
}

.apt-type-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.apt-type-size {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.apt-type-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.apt-type-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    padding-left: 20px;
    position: relative;
}

.apt-type-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

.apt-type-card ul li:last-child {
    border-bottom: none;
}

.apt-type-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== LOCATION ===== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loc-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.loc-feature:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.loc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.loc-icon svg {
    width: 100%;
    height: 100%;
}

.loc-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.loc-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.location-map {
    position: sticky;
    top: 100px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-alt);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== SPECS ===== */
.section-specs {
    background: var(--bg-alt);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.spec-group {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.spec-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.spec-group ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.spec-group ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
}

.spec-group ul li:last-child {
    border-bottom: none;
}

/* Building params */
.building-params h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
}

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

.param-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.param-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
}

.param-table td {
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.param-table td:first-child {
    color: var(--text-light);
}

.param-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text);
}

.param-table tr:last-child td {
    border-bottom: none;
}

/* ===== BUILDINGS GRID ===== */
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.building-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

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

.building-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.building-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.building-card:hover .building-card-img img {
    transform: scale(1.05);
}

.building-card-body {
    padding: 24px;
}

.building-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.building-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.building-card-note {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(143, 188, 90, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 12px;
}

.building-card-units {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.unit-row {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.unit-row:last-child {
    border-bottom: none;
}

.unit-floor {
    font-weight: 600;
    color: var(--primary);
    min-width: 90px;
    flex-shrink: 0;
}

/* ===== FLOOR PLANS ===== */
.section-floorplans {
    background: var(--bg-alt);
}

.floorplan-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.fp-tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

.fp-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.fp-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.floorplan-group {
    display: none;
}

.floorplan-group.active {
    display: block;
}

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

.floorplan-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
}

.floorplan-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.floorplan-card > p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.floorplan-img {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
}

.floorplan-img img {
    width: 100%;
    transition: transform 0.3s ease;
}

.floorplan-img:hover img {
    transform: scale(1.02);
}

.floorplan-zoom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.75rem;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.floorplan-img:hover .floorplan-zoom {
    opacity: 1;
}

/* ===== LOCATION HERO IMAGE ===== */
.location-hero-img {
    margin-bottom: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-hero-img img {
    width: 100%;
    border-radius: var(--radius);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all var(--transition);
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-caption {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-align: center;
}

/* ===== CONTACT ===== */
.section-contact {
    min-height: 100vh;
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--primary);
    margin: 0 auto 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-card.highlight {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

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

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

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

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

.contact-card.highlight h3 {
    color: var(--white);
}

.contact-card.highlight ul {
    list-style: none;
}

.contact-card.highlight ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-left: 20px;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.contact-card.highlight ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

.contact-card.highlight ul li:last-child {
    border-bottom: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.5);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-nav a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.6);
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .location-map {
        position: static;
    }

    .map-container {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .header.nav-open {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        height: -webkit-fill-available;
        background: #ffffff;
        z-index: 9998;
        padding: 24px;
        gap: 0;
    }

    .nav-link {
        padding: 14px 0;
        font-size: 1.25rem;
        border-bottom: none;
        text-align: center;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-top: 24px;
        text-align: center;
        width: auto;
        padding: 14px 36px;
        font-size: 1rem;
        white-space: nowrap;
    }

    .hamburger {
        display: flex;
        z-index: 9999;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 64px 0;
    }

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

    .apt-types-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .lightbox {
        padding: 16px;
    }

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

    .contact-form-wrap {
        padding: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .apartments-table th:nth-child(6),
    .apartments-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .apartments-table th:nth-child(2),
    .apartments-table td:nth-child(2),
    .apartments-table th:nth-child(6),
    .apartments-table td:nth-child(6) {
        display: none;
    }
}