/* Рига Лэнд — дизайн-токены */
:root {
  --ivory: #f5f1e9;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #252b28;
  --muted: #626760;
  --copper: #88563d;
  --copper-dark: #67402e;
  --copper-light: #d5b09a;
  --forest: #203c33;
  --forest-deep: #142a24;
  --sage: #9fae9d;
  --line: rgba(37, 43, 40, .14);
  --line-light: rgba(255, 255, 255, .18);
  --shadow: 0 24px 70px rgba(31, 40, 34, .12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --container: 1320px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --section: clamp(76px, 9vw, 144px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { margin-bottom: 28px; font-size: clamp(46px, 6.5vw, 94px); line-height: .98; }
h2 { margin-bottom: 24px; font-size: clamp(38px, 4.7vw, 66px); line-height: 1.04; }
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.25; }
p { margin-bottom: 20px; }
::selection { background: var(--copper); color: var(--white); }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--dark { overflow: hidden; background: var(--forest); color: var(--white); }
.section--copper { background: var(--copper); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.section--dark .section-head p { color: rgba(255, 255, 255, .72); }
.eyebrow { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; color: var(--copper); font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 1px; background: currentColor; content: ''; }
.eyebrow--light { color: var(--copper-light); }
.lead { max-width: 720px; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--copper); font-size: 14px; font-weight: 700; }
.text-link svg { transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(5px); }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-150%); background: var(--paper); color: var(--ink); border-radius: 8px; }
.skip-link:focus { transform: none; }

/* Buttons */
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 15px 25px; border: 1px solid transparent; border-radius: 100px; background: var(--copper); color: var(--white); cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); background: var(--copper-dark); box-shadow: 0 10px 30px rgba(70, 42, 29, .2); }
.btn--light { background: var(--paper); color: var(--forest); }
.btn--light:hover { background: var(--white); }
.btn--outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--paper); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); background: transparent; color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--small { min-height: 44px; padding: 11px 20px; font-size: 13px; }
.btn svg { flex: 0 0 auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: fixed; z-index: 110; top: 0; right: 0; left: 0; border-bottom: 1px solid transparent; transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header:not(.site-header--solid):not(.is-scrolled) { border-color: rgba(255, 255, 255, .14); background: rgba(20, 42, 36, .88); color: var(--white); backdrop-filter: blur(16px); }
.menu-open .site-header { border-color: var(--line); background: var(--ivory); color: var(--ink); }
.site-header.is-scrolled, .site-header--solid { border-color: var(--line); background: rgba(245, 241, 233, .96); box-shadow: 0 8px 32px rgba(25, 35, 29, .05); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; width: 170px; flex: 0 0 auto; align-items: center; padding: 5px 9px; border-radius: 8px; background: var(--paper); }
.logo img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 1.6vw, 24px); }
.site-nav > :where(.primary-menu) > :where(li) > a { position: relative; padding-block: 10px; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.site-nav > :where(.primary-menu) > :where(li) > a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--copper-light); content: ''; transition: transform .3s var(--ease); }
.site-header.is-scrolled .site-nav > :where(.primary-menu) > :where(li) > a::after, .site-header--solid .site-nav > :where(.primary-menu) > :where(li) > a::after, .menu-open .site-nav > :where(.primary-menu) > :where(li) > a::after { background: var(--copper); }
.site-nav > :where(.primary-menu) > :where(li) > a:hover::after, .site-nav > :where(.primary-menu) > :where(li) > a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.header-phone { font-size: 14px; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); content: ''; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav-actions { display: none; }

/* Hero */
.hero { position: relative; display: flex; min-height: 850px; align-items: flex-end; overflow: hidden; padding-top: 130px; padding-bottom: 54px; background: var(--forest-deep); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 22, .85) 0%, rgba(14, 27, 22, .46) 52%, rgba(14, 27, 22, .1) 100%), linear-gradient(0deg, rgba(14, 27, 22, .85) 0%, transparent 48%); content: ''; }
.hero-content { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: 60px; align-items: end; }
.hero-copy { max-width: 900px; }
.hero-copy .lead { max-width: 620px; color: rgba(255, 255, 255, .84); }
.hero h1 em { color: #e3c3ae; font-weight: 400; }
.hero-card { padding: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(24, 43, 35, .54); backdrop-filter: blur(14px); }
.hero-card__label { margin-bottom: 8px; color: rgba(255, 255, 255, .68); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-card__price { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(30px, 2.35vw, 34px); line-height: 1.1; white-space: nowrap; }
.hero-card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.scroll-note { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .66); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-note::before { width: 36px; height: 1px; background: currentColor; content: ''; }
.hero-note { max-width: 420px; margin: 0; color: rgba(255, 255, 255, .65); font-size: 13px; text-align: right; }

/* Facts */
.facts { position: relative; z-index: 3; margin-top: -1px; background: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; border-right: 0; }
.fact strong { display: block; margin-bottom: 4px; color: var(--copper); font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 13px; }

/* Editorial blocks */
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.image-frame:hover img { transform: scale(1.025); }
.image-frame--tall { aspect-ratio: 4 / 5; }
.image-frame--wide { aspect-ratio: 16 / 10; }
.image-badge { position: absolute; right: 22px; bottom: 22px; max-width: 190px; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255, 253, 248, .92); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.image-badge strong { display: block; color: var(--copper); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.image-badge span { font-size: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.value-item { padding: 24px 20px 22px 0; border-bottom: 1px solid var(--line); }
.value-item:nth-child(odd) { border-right: 1px solid var(--line); }
.value-item:nth-child(even) { padding-left: 22px; }
.value-item span { display: block; margin-bottom: 12px; color: var(--copper); font-family: var(--serif); font-size: 14px; }
.value-item h3 { margin-bottom: 6px; font-size: 18px; }
.value-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* Offer banner */
.offer { overflow: hidden; padding-block: 54px; background: var(--copper); color: var(--white); }
.offer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.offer h2 { max-width: 760px; margin: 0; font-size: clamp(30px, 4vw, 52px); }
.offer p { margin: 8px 0 0; color: rgba(255, 255, 255, .75); }
.offer .btn { flex: 0 0 auto; }

/* Tabs and amenities */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab, .filter-btn, .chip { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.tab:hover, .filter-btn:hover, .chip:hover { border-color: var(--copper); color: var(--copper); }
.tab.is-active, .filter-btn.is-active, .chip.is-active { border-color: var(--forest); background: var(--forest); color: var(--white); }
.amenity-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); overflow: hidden; border-radius: var(--radius-lg); background: var(--forest); color: var(--white); }
.amenity-panel__image { min-height: 540px; }
.amenity-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.amenity-panel__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 70px); }
.amenity-panel__content h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 46px); font-weight: 400; }
.amenity-panel__content p { color: rgba(255, 255, 255, .72); }
.check-list { margin: 12px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; margin-block: 12px; padding-left: 26px; }
.check-list li::before { position: absolute; top: .72em; left: 0; width: 12px; height: 6px; transform: rotate(-45deg); border-bottom: 2px solid var(--copper-light); border-left: 2px solid var(--copper-light); content: ''; }

/* Master quarter */
.master-grid { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.master-grid .image-frame { box-shadow: 30px 30px 0 rgba(255, 255, 255, .05); }
.spec-list { margin: 34px 0; padding: 0; list-style: none; }
.spec-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line-light); }
.spec-list span { color: var(--copper-light); font-family: var(--serif); }
.master-note { color: rgba(255, 255, 255, .7); }

/* Gallery */
.gallery-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.gallery-stack { display: grid; gap: 22px; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.gallery-caption strong { color: var(--ink); font-size: 15px; }

/* Houses */
.house-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.house-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.house-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .35s var(--ease), box-shadow .35s; }
.house-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.house-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.house-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.house-card:hover .house-card__media img { transform: scale(1.04); }
.house-card__tag { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 100px; background: rgba(255, 253, 248, .9); color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.house-card__body { padding: 24px; }
.house-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.house-card__title h3 { margin: 0; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.house-card__title span { color: var(--muted); font-size: 12px; }
.house-card__specs { display: flex; gap: 18px; margin-block: 20px; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.house-card__price { margin-bottom: 4px; font-size: 21px; font-weight: 700; }
.house-card__finish { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.house-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Masterplan */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.plan-canvas { position: relative; min-height: 620px; overflow: hidden; background: #e8eddc; }
.plan-canvas > img { width: 100%; height: 100%; object-fit: cover; }
.lot { position: absolute; display: grid; width: 42px; height: 42px; place-items: center; transform: translate(-50%, -50%); border: 2px solid var(--white); border-radius: 50%; background: var(--forest); color: var(--white); box-shadow: 0 5px 16px rgba(20, 42, 36, .25); cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .25s, background .25s; }
.lot:hover, .lot.is-active { transform: translate(-50%, -50%) scale(1.18); background: var(--copper); }
.lot--reserved { background: #b39261; }
.lot--sold { background: #777c75; }
.plan-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 54px); }
.plan-info__number { color: var(--copper); font-family: var(--serif); font-size: 66px; line-height: 1; }
.plan-info dl { margin-block: 24px; }
.plan-info dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.plan-info dt { color: var(--muted); }
.plan-info dd { margin: 0; font-weight: 700; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.plan-legend span { display: flex; align-items: center; gap: 7px; }
.plan-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--forest); }
.plan-legend .reserved { background: #b39261; }
.plan-legend .sold { background: #777c75; }

/* Location */
.location-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 60px; align-items: center; }
.route-list { margin: 32px 0; padding: 0; list-style: none; }
.route-list li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--line); }
.route-list strong { color: var(--copper); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.route-list span { color: var(--muted); }
.map-card { position: relative; overflow: hidden; min-height: 560px; border-radius: var(--radius-lg); background: #e5e1d7; }
.map-card > img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; top: 52%; left: 48%; display: grid; width: 70px; height: 70px; place-items: center; transform: translate(-50%, -50%); border: 6px solid rgba(255, 255, 255, .75); border-radius: 50% 50% 50% 8px; background: var(--copper); color: var(--white); box-shadow: var(--shadow); font-family: var(--serif); font-size: 20px; rotate: -45deg; }
.map-pin span { rotate: 45deg; }
.map-card__link { position: absolute; right: 22px; bottom: 22px; }

/* Progress */
.progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.progress-card { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius); color: var(--white); }
.progress-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.progress-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 30, 24, .9), rgba(15, 30, 24, .05) 75%); content: ''; }
.progress-card:hover img { transform: scale(1.04); }
.progress-card__body { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; }
.progress-card__body time { color: var(--copper-light); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.progress-card__body h3 { margin-block: 8px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.progress-card__body p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 13px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.video-card h3 { margin: 18px 0 6px; color: var(--white); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.video-card p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 14px; }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-light); border-radius: var(--radius); background: #142a24; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-poster { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #142a24; color: var(--white); cursor: pointer; }
.video-poster::after { position: absolute; inset: 0; background: rgba(15, 30, 24, .24); content: ''; transition: background .3s; }
.video-poster:hover::after { background: rgba(15, 30, 24, .1); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video-poster:hover img { transform: scale(1.035); }
.video-poster .play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-link { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 28px 32px; border: 1px solid var(--line-light); border-radius: var(--radius); }
.video-link p { margin: 0; color: rgba(255, 255, 255, .7); }
.video-link strong { display: block; margin-bottom: 4px; color: var(--white); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.play { display: grid; width: 62px; height: 62px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--copper); transition: transform .3s; }
.video-link:hover .play { transform: scale(1.08); }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.article-card { display: flex; min-width: 0; flex-direction: column; }
.article-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 20px; border-radius: var(--radius); background: #ddd6cb; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.article-card__meta span:first-child { color: var(--copper); font-weight: 700; }
.article-card h2 { font-size: 27px; }
.article-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.15; }
.article-card p { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.article-card .text-link { align-self: flex-start; margin-top: auto; }
.blog-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 50px; }
.blog-more p { margin: 0; color: var(--muted); font-size: 13px; }

/* CTA and forms */
.cta-panel { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px); border-radius: var(--radius-lg); background: var(--copper); color: var(--white); }
.cta-panel::after { position: absolute; right: -120px; bottom: -200px; width: 500px; height: 500px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255, 255, 255, .04), 0 0 0 120px rgba(255, 255, 255, .03); content: ''; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 60px; align-items: center; }
.cta-panel p { color: rgba(255, 255, 255, .78); }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; min-height: 56px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; }
.field select option { background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--copper-light); box-shadow: 0 0 0 3px rgba(213, 176, 154, .2); }
.field input::placeholder, .field textarea::placeholder { color: #74786f; }
.consent-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1.55; }
.consent-check input { width: 20px; height: 20px; margin: 0; border-radius: 4px; accent-color: var(--copper); cursor: pointer; }
.consent-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent-check:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 5px; border-radius: 3px; }
.form--light .consent-check { color: rgba(255, 255, 255, .9); }
.form--light .consent-check input { accent-color: var(--paper); }
.form-status { min-height: 20px; margin: 0; font-size: 12px; }
.form--light .field input, .form--light .field textarea, .form--light .field select { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: var(--white); }
.form--light .field input::placeholder, .form--light .field textarea::placeholder { color: rgba(255, 255, 255, .72); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 44px 1fr 32px; gap: 16px; align-items: center; padding-block: 24px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .number { color: var(--copper); font-family: var(--serif); font-size: 15px; font-weight: 400; }
.faq-item summary .plus { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq-item summary .plus::before, .faq-item summary .plus::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; transform: translate(-50%, -50%); background: var(--ink); content: ''; transition: transform .25s; }
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__answer { max-width: 850px; padding: 0 48px 28px 60px; color: var(--muted); }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { padding: 70px 0 30px; background: var(--forest-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .6fr 1fr; gap: 50px; }
.site-footer .logo { margin-bottom: 22px; }
.footer-about { max-width: 310px; color: rgba(255, 255, 255, .58); font-size: 13px; }
.footer-title { margin-bottom: 18px; color: var(--copper-light); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-block: 9px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-contact { font-size: 14px; }
.footer-contact a { display: block; margin-bottom: 10px; }
.footer-contact p { color: rgba(255, 255, 255, .58); font-size: 13px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .46); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }

/* Internal pages */
.page-hero { position: relative; overflow: hidden; padding: 190px 0 90px; background: var(--forest); color: var(--white); }
.page-hero::after { position: absolute; top: -180px; right: -120px; width: 600px; height: 600px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02); content: ''; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1000px; margin-bottom: 24px; font-size: clamp(48px, 7vw, 92px); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255, 255, 255, .75); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 38px; color: rgba(255, 255, 255, .62); font-size: 12px; }
.breadcrumbs a:hover { color: var(--white); }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.blog-toolbar .tabs { margin: 0; }
.blog-count { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-card .label { display: block; margin-bottom: 8px; color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a.big { font-family: var(--serif); font-size: 28px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-map { min-height: 500px; }
.requisites { margin-top: 30px; padding: 28px; border-left: 3px solid var(--copper); background: var(--paper); }
.requisites p { margin: 5px 0; color: var(--muted); font-size: 14px; }

/* Article */
.article-hero { padding: 180px 0 70px; background: var(--paper); }
.article-hero h1 { max-width: 1100px; font-size: clamp(44px, 6.4vw, 82px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.article-meta .category { color: var(--copper); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-lead { max-width: 850px; color: var(--muted); font-size: 21px; }
.article-cover { overflow: hidden; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 740px); gap: 80px; justify-content: center; padding-block: 70px var(--section); }
.article-toc { position: sticky; top: 120px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.article-toc strong { display: block; margin-bottom: 14px; color: var(--copper); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article-toc a { display: block; margin-block: 10px; color: var(--muted); font-size: 13px; }
.article-toc a:hover { color: var(--copper); }
.article-body { min-width: 0; font-size: 18px; line-height: 1.8; }
.article-body h2 { margin-top: 58px; font-size: 42px; }
.article-body h3 { margin-top: 34px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-block: 9px; }
.article-body img { margin-block: 34px; border-radius: var(--radius); }
.article-body blockquote { margin: 40px 0; padding: 28px 32px; border-left: 3px solid var(--copper); background: var(--paper); color: var(--copper-dark); font-family: var(--serif); font-size: 27px; line-height: 1.4; }
.key-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block: 34px; }
.key-fact { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.key-fact strong { display: block; color: var(--copper); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.key-fact span { color: var(--muted); font-size: 12px; }
.article-author { display: flex; gap: 18px; align-items: center; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-mark { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--forest); color: var(--white); font-family: var(--serif); }
.article-author strong, .article-author span { display: block; }
.article-author span { color: var(--muted); font-size: 12px; }
.article-updated { color: var(--muted); font-size: 12px; }

/* Modal, cookie notice and toast */
.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(14, 27, 22, .72); backdrop-filter: blur(8px); }
.modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 38px; border-radius: var(--radius); background: var(--ivory); box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.modal__dialog h2 { padding-right: 30px; font-size: 40px; }
.cookie-banner { position: fixed; z-index: 250; bottom: 20px; left: 50%; display: grid; width: min(1120px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 24px 28px; transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(20, 42, 36, .98); color: var(--white); box-shadow: 0 20px 70px rgba(14, 27, 22, .3); }
.cookie-copy strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.cookie-copy p { max-width: 700px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 12px; line-height: 1.55; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 7px; color: var(--copper-light); font-size: 11px; }
.cookie-links a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 12px 18px; white-space: nowrap; }
.cookie-actions .btn--outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.cookie-actions .btn--outline:hover { background: rgba(255, 255, 255, .1); }
.toast { position: fixed; z-index: 400; right: 24px; bottom: 24px; max-width: 420px; padding: 18px 22px; transform: translateY(20px); border-radius: var(--radius-sm); background: var(--forest-deep); color: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
.toast.is-visible { transform: none; opacity: 1; }

/* Motion: content is always visible, even if JavaScript fails. */
.js .reveal { transform: none; opacity: 1; }
.js .reveal.is-visible { animation: reveal-soft .7s var(--ease) both; }
.js .reveal-delay-1 { animation-delay: .08s; }
.js .reveal-delay-2 { animation-delay: .16s; }
.js .reveal-delay-3 { animation-delay: .24s; }
@keyframes reveal-soft {
  from { transform: translateY(18px); opacity: .65; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; }
  .header-phone { display: none; }
  .house-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 210px minmax(0, 700px); gap: 44px; }
}

@media (max-width: 960px) {
  .container, .narrow { width: min(100% - 40px, var(--container)); }
  .header-inner { min-height: 78px; }
  .logo { width: 156px; }
  .menu-toggle { display: block; }
  .logo, .header-actions { position: relative; z-index: 100; }
  .site-nav { position: fixed; z-index: 99; inset: 0 auto auto 0; display: flex; width: 100%; height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; overflow-y: auto; padding: 106px 34px 36px; transform: translateX(100%); background: var(--ivory); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .menu-open .site-nav { transform: none; visibility: visible; }
  .site-nav > :where(.primary-menu) > :where(li) > a { flex: 0 0 auto; padding-block: 7px; font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); font-weight: 400; }
  .mobile-nav-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .mobile-nav-actions .btn { width: 100%; margin-bottom: 8px; }
  .mobile-nav-actions a { padding-block: 3px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
  .mobile-nav-actions a::after { display: none; }
  .mobile-nav-email { color: var(--muted); }
  .header-actions .btn { display: none; }
  .hero { min-height: 820px; }
  .hero-grid, .editorial-grid, .master-grid, .location-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .amenity-panel { grid-template-columns: 1fr; }
  .amenity-panel__image { min-height: 420px; }
  .plan-wrap { grid-template-columns: 1fr; }
  .plan-canvas { min-height: 520px; }
  .map-card { min-height: 480px; }
  .offer-inner { align-items: flex-start; flex-direction: column; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .article-toc nav { columns: 2; }
}

@media (max-width: 640px) {
  :root { --radius-lg: 24px; --section: 72px; }
  body { font-size: 15px; }
  .container, .narrow { width: calc(100% - 32px); }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  h2 { font-size: clamp(36px, 10vw, 48px); }
  .header-inner { min-height: 72px; }
  .logo { width: 142px; }
  .hero { min-height: 780px; padding-top: 110px; padding-bottom: 30px; }
  .hero-media img { object-position: 60% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(14, 27, 22, .95) 0%, rgba(14, 27, 22, .48) 75%, rgba(14, 27, 22, .3) 100%); }
  .hero-grid { gap: 28px; }
  .hero-copy .lead { font-size: 17px; }
  .hero-card { padding: 20px; }
  .hero-card__price { font-size: 30px; }
  .hero-bottom { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 24px 14px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3), .fact:nth-child(4) { border-bottom: 0; }
  .fact:first-child { padding-left: 14px; }
  .fact strong { font-size: 32px; }
  .editorial-grid { gap: 40px; }
  .value-item { padding-right: 12px; }
  .value-item:nth-child(even) { padding-left: 14px; }
  .value-item p { font-size: 12px; }
  .offer { padding-block: 42px; }
  .amenity-panel__image { min-height: 300px; }
  .amenity-panel__content { padding: 30px 24px; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row > .image-frame { aspect-ratio: 4 / 3; }
  .house-toolbar, .blog-toolbar { align-items: flex-start; flex-direction: column; }
  .house-grid, .blog-grid, .progress-grid, .video-grid { grid-template-columns: 1fr; }
  .house-card__body { padding: 22px; }
  .plan-canvas { min-height: 390px; }
  .lot { width: 34px; height: 34px; font-size: 10px; }
  .plan-info__number { font-size: 52px; }
  .route-list li { grid-template-columns: 74px 1fr; }
  .map-card { min-height: 390px; }
  .progress-card { min-height: 390px; }
  .video-link { padding: 22px; }
  .video-link strong { font-size: 22px; }
  .cta-panel { padding: 34px 22px; }
  .cta-grid { gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 30px 1fr 28px; gap: 10px; font-size: 16px; }
  .faq-item__answer { padding: 0 0 24px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-hero { padding: 150px 0 70px; }
  .page-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .article-hero { padding: 140px 0 50px; }
  .article-cover { aspect-ratio: 4 / 3; }
  .article-layout { gap: 30px; padding-block: 44px 72px; }
  .article-toc nav { columns: 1; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 34px; }
  .key-facts { grid-template-columns: 1fr; }
  .article-body blockquote { padding: 22px; font-size: 23px; }
  .contact-card a.big { font-size: 24px; }
  .modal { padding: 12px; }
  .modal__dialog { max-height: calc(100dvh - 24px); padding: 30px 22px; }
  .cookie-banner { bottom: 12px; width: calc(100% - 24px); grid-template-columns: 1fr; gap: 16px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px; border-radius: 18px; }
  .cookie-copy strong { font-size: 22px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-actions .btn { width: 100%; }
  .cookie-links { flex-direction: column; gap: 3px; }
  .toast { right: 16px; bottom: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { transform: none; opacity: 1; }
}

/* WordPress supplies list items. Let the navigation own the flex layout. */
.site-nav .primary-menu, .site-nav .primary-menu > li { display: contents; list-style: none; }

.nland-cookie-settings { margin-top: 12px; padding: 4px 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
