:root {
  --ink: #2c2620;
  --muted: #655d52;
  --cream: #efe7d8;
  --paper: #fffdfa;
  --sand: #e6d9c3;
  --peach: #eed7bd;
  --gold: #b38f52;
  --gold-hover: #98793f;
  --gold-dark: #8c6b36;
  --terracotta: #9c5530;
  --line: #d8cdb8;
  --radius: 28px;
  --space: 96px;
  --header: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.5 Manrope, Arial, sans-serif; }
img { display: block; max-width: 100%; }
.container { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.04em; }
h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.eyebrow { display: inline-block; margin: 0 0 20px; padding: 8px 18px; border-radius: 999px; background: var(--sand); color: var(--gold-dark); font-size: 15px; font-weight: 700; }

/* Единый отступ между блоками */
main > .container + .container { margin-top: var(--space); }

/* Кнопки — золотистые с мерцающим бликом */
.button { position: relative; z-index: 0; display: inline-flex; align-items: center; overflow: hidden; border: 0; border-radius: 999px; padding: 18px 28px; background: var(--gold); color: #fffdfa; font: 600 14px Manrope, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.button::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); background-size: 200% 100%; background-position: 150% 0; animation: button-shimmer 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes button-shimmer { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.button:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(140, 107, 54, .3); }
.button:active { transform: translateY(0); box-shadow: none; }
.button span { position: relative; margin-left: 14px; font-size: 16px; }
.text-link { padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--gold); background: none; color: var(--ink); font: 600 13px Manrope, sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* Пилюли-теги */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--sand); color: var(--gold-dark); font-size: 13px; font-weight: 600; }
.chips .chip-accent { background: var(--peach); color: var(--terracotta); }

/* Верхняя полоса — по структуре royal-property (section-top): светлая, локация + контакты */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 32px; }
.topbar-location { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.topbar-location svg { width: 15px; height: 15px; fill: var(--gold-dark); }
.topbar-contacts { display: flex; align-items: center; gap: 24px; }
.topbar-phone { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s; }
.topbar-phone:hover { color: var(--gold-dark); }

/* Нижняя полоса — по структуре royal-property (section-menu): тёмная, лого + меню + кнопка */
.header { background: var(--ink); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header); padding: 0 32px; }
.brand { color: #fffdfa; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 8px; margin: 0 auto; }
.nav a { padding: 10px 16px; border-radius: 999px; color: rgba(255,253,250,.82); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,253,250,.1); color: #fffdfa; }
.header-cta { padding: 13px 24px; font-size: 13px; }
.header-cta span { margin-left: 10px; }
.menu { display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,253,250,.12); cursor: pointer; }
.menu i { display: block; width: 16px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fffdfa; transition: transform .2s, opacity .2s; }

/* Общие стили для контактов/мессенджеров (используются в мобильном меню) */
.phone { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s; }
.phone:hover { color: var(--gold-dark); }
.messenger { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); transition: background .2s, transform .2s; }
.messenger:hover { background: var(--gold-dark); transform: translateY(-2px); }
.messenger svg { width: 20px; height: 20px; fill: #fffdfa; }

/* Мобильное меню */
.mobile-menu { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; padding: 24px 24px 32px; background: var(--paper); transform: translateY(-100%); transition: transform .3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.mobile-menu-title { margin: 40px 0 24px; font-size: 34px; font-weight: 600; letter-spacing: -.04em; text-align: center; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mobile-menu-nav a { padding: 14px 28px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.mobile-menu-contacts { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 40px; }
.mobile-menu-contacts .phone { font-size: 18px; }
.mobile-menu-max { color: var(--muted); font-size: 14px; }
.mobile-menu-messengers { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }

/* Первый экран (главная) — максимально чистый: фото, лого, заголовок и кнопка внизу */
.hero { position: relative; min-height: 640px; overflow: hidden; color: #fffdfa; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,14,10,.82) 0%, rgba(18,14,10,.4) 55%, rgba(18,14,10,.12) 80%, rgba(18,14,10,0) 100%); }
.hero-logo { position: absolute; z-index: 1; top: clamp(24px, 4vh, 40px); right: clamp(24px, 4vw, 56px); width: clamp(140px, 16vw, 200px); height: auto; }
.hero-layout { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-start; gap: 32px; min-height: 640px; width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 170px; }
.hero-copy { min-width: 0; max-width: 560px; }
.hero-copy h1 { margin: 0 0 20px; color: #fffdfa; font-size: 56px; font-weight: 700; line-height: 1.1; }
.hero-cta-button { padding: 22px 32px; font-size: 16px; }
.hero-cta-button span { font-size: 18px; }
.hero-points { margin: 0 0 28px; padding: 0 0 0 20px; color: #fffdfa; font-size: 15px; line-height: 1.5; }
.hero-points li { margin-bottom: 8px; }
.hero-points li:last-child { margin-bottom: 0; }
.hero-caption { position: absolute; z-index: 1; right: clamp(24px, 4vw, 56px); bottom: 20px; margin: 0; color: rgba(255,253,250,.7); font-size: 12px; text-align: right; }
.hero-widget { margin-bottom: 20px; }

.hero-widget { flex: 0 0 auto; width: 300px; padding: 22px; border-radius: 20px; background: rgba(255,253,250,.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,253,250,.2); }
.hero-widget-price { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,253,250,.25); }
.hero-widget-price span { color: rgba(255,253,250,.7); font-size: 12px; }
.hero-widget-price strong { color: #fffdfa; font-size: 20px; font-weight: 700; }
.text-link-light { display: inline-block; margin-top: 14px; color: var(--peach); font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link-light:hover { color: #fffdfa; }

/* Знаем рынок изнутри — крупные портреты команды, копия структуры royal-property.pro */
.team-lead { max-width: 720px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 17px; }
.team-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 40px auto 32px; }
.person { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.person img { width: 100%; height: auto; aspect-ratio: .92; object-fit: cover; object-position: 50% 20%; }
.person figcaption { padding: 20px 12px 16px; }
.person b { display: block; font-size: 20px; }
.person figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.team-note { max-width: 720px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Статистика (главная) — копия .rp-home-v2__trust, 4 плитки с разделителями */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 32px; border-top: 1px solid var(--line); }
.trust-grid > div { min-height: 104px; padding: 8px 34px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { padding-right: 0; border-right: 0; }
.trust-grid strong { display: block; color: var(--ink); font-size: 34px; font-weight: 700; line-height: 1.15; }
.trust-grid span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Карусель фото (карточка на главной + hero страницы объекта) */
.card-carousel { position: relative; overflow: hidden; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: rgba(18,14,10,.5); color: #fffdfa; font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s; }
.carousel-arrow:hover { background: rgba(18,14,10,.75); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(18,14,10,.55); color: #fffdfa; font-size: 12px; font-weight: 600; }

/* Плитки (используются на странице объекта) */
.tiles { display: grid; gap: 12px; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tile { padding: 26px; border-radius: 24px; background: var(--paper); }
.tile strong { display: block; margin-bottom: 12px; font-size: 28px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.tile span { color: var(--muted); font-size: 14px; }
.about-tiles { margin-top: 24px; }
.about-tiles .tile strong { font-size: 18px; letter-spacing: -.02em; }
.about-tiles .tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Карточка объекта на главной (ссылка) */
.projects { padding: 48px; border-radius: 36px; background: var(--sand); }
.projects.container { max-width: 1256px; }
.section-head { margin-bottom: 32px; }
.projects .eyebrow { background: var(--paper); }
.property-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 32px; border-radius: var(--radius); background: var(--paper); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.property-card + .property-card { margin-top: 24px; }
.property-card:hover { box-shadow: 0 16px 40px rgba(44, 38, 32, .12); transform: translateY(-3px); }
.gallery.card-carousel { height: 460px; border-radius: 22px; }
.property-info { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0; }
.property-info h3 { margin: 22px 0 6px; font-size: 38px; line-height: 1.05; }
.property-subtitle { margin: 0; color: var(--muted); font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.pill { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 22px; border-radius: 20px; }
.pill-price { background: var(--peach); color: var(--terracotta); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.pill-yield { background: var(--sand); }
.pill-yield strong { font-size: 28px; letter-spacing: -.04em; }
.pill-yield small { color: var(--muted); font-size: 11px; line-height: 1.25; }
.property-text { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.property-cta { display: inline-flex; align-items: center; margin-top: auto; color: var(--gold-dark); font-weight: 700; font-size: 14px; }
.property-cta span { margin-left: 10px; }

/* CTA-блок (обе страницы) */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: 56px; border-radius: 36px; background: #3a3126; color: #fffdf8; }
.cta.container { max-width: 1256px; }
.cta .eyebrow { background: rgba(255, 253, 250, .1); color: #dfc689; }
.cta h2 { max-width: 620px; color: #fffdf8; }
.cta > div:last-child { max-width: 360px; }
.cta p:not(.eyebrow) { margin: 0 0 22px; color: #e4dcd0; font-size: 14px; }
.cta .button { background: #cba869; color: #302a20; }
.cta .button:hover { background: #dcbc7f; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

.footer { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.footer-disclaimer { max-width: none; margin: 0 auto 24px; padding-top: 0; }

.contact-block { margin-top: var(--space); padding: 40px; border-radius: var(--radius); background: var(--ink); color: #fffdf8; }
.eyebrow-light { background: rgba(255,253,250,.14); color: var(--peach); }
.contact-block-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-block-grid b { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.contact-block-grid a { display: block; margin-top: 4px; color: rgba(255,253,250,.8); font-size: 14px; text-decoration: none; }
.contact-block-grid a:hover { color: #fffdf8; }

.to-top { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 18px rgba(44,38,32,.3); opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.to-top.visible { opacity: 1; transform: translateY(0); }
.to-top svg { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; stroke: #fffdfa; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Модальные окна */
dialog { width: min(480px, calc(100% - 32px)); padding: 40px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px #0006; }
dialog::backdrop { background: #221d167f; }
dialog h2 { margin-bottom: 10px; font-size: 32px; }
dialog > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
dialog form { display: grid; gap: 14px; margin-top: 24px; }
dialog label { font-size: 13px; font-weight: 600; }
input { width: 100%; margin-top: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 14px Manrope, sans-serif; }
dialog .button { justify-content: center; margin-top: 6px; }

.lightbox { width: min(640px, calc(100% - 32px)); padding: 24px; text-align: center; }
.lightbox img { width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 12px; object-fit: contain; }
.lightbox p { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.close { position: absolute; right: 18px; top: 12px; border: 0; background: none; color: var(--ink); font-size: 28px; cursor: pointer; }

/* ===== Страница объекта (nikolay-1.html) ===== */

.obj-hero { margin-top: 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.obj-hero-carousel { height: clamp(240px, 36vh, 360px); border-radius: var(--radius); background: var(--sand); }
.obj-hero-image { object-fit: cover; }
.obj-hero-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; margin-top: 8px; }
.obj-hero-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.obj-hero-thumbs button.active { border-color: var(--gold); }
.obj-hero-thumbs img { width: 100%; height: 52px; object-fit: cover; }
.obj-hero-copy { display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--ink); color: #fffdf8; }
.obj-hero-copy .eyebrow { background: rgba(255,253,250,.16); color: #f0d9a8; }
.obj-hero-copy h1 { max-width: 480px; color: #fffdf8; font-size: 20px; }
.obj-hero-copy .button { margin-top: 14px; padding: 10px 18px; font-size: 12px; }
.obj-hero-copy .button span { margin-left: 8px; font-size: 13px; }
.obj-lead { max-width: 560px; margin: 16px 0 24px; color: #e4dcd0; font-size: 16px; }

.video-player { display: block; width: 100%; max-width: 760px; margin: 0 auto; border-radius: var(--radius); background: var(--ink); }

.media-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 240px; border-radius: var(--radius); background: var(--sand); color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.video-placeholder { height: clamp(240px, 36vh, 360px); max-width: 760px; margin: 0 auto; }

.honest { max-width: 860px; }
.honest-text { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.eyebrow-big { padding: 10px 22px; font-size: 18px; }
.about-text { display: grid; gap: 16px; margin-top: 28px; }
.about-text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.about-text p b { color: var(--ink); }

.income h2 { margin-bottom: 20px; }
.income-intro { max-width: 720px; margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.income-outro { max-width: 780px; margin: 24px 0 0; padding: 24px 28px; border-radius: var(--radius); background: var(--paper); color: var(--muted); font-size: 15px; line-height: 1.65; }
.disclaimer { max-width: 780px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.rate-table { margin-bottom: 16px; padding: 8px 28px; border-radius: var(--radius); background: var(--paper); }
.rate-row { display: grid; grid-template-columns: 1.1fr 1.8fr 1fr .8fr 1.1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rate-row:first-child { border-top: 0; }
.rate-head { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rate-row span:last-child { font-weight: 700; color: var(--gold-dark); }
.rate-total { padding-top: 20px; border-top: 2px solid var(--gold); }
.rate-total span:first-child { color: var(--muted); font-weight: 400; }
.rate-total span:last-child { font-weight: 400; color: var(--ink); }
.income-note { max-width: 720px; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.income-caveat { max-width: 720px; margin: 0 0 32px; color: var(--gold-dark); font-size: 13px; font-weight: 600; }
.income-subhead { margin: 0 0 16px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.capitalization-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 24px; }
.capitalization-gallery img { width: 100%; height: 180px; border-radius: var(--radius); object-fit: cover; }
.income-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
.income-cards article { padding: 32px; border-radius: var(--radius); background: var(--paper); }
.income-cards article.accent { background: var(--peach); }
.income-cards > article > span:first-child { color: var(--muted); font-size: 14px; }
.income-cards strong { display: block; margin-top: 28px; color: var(--terracotta); font-size: 60px; letter-spacing: -.05em; line-height: 1; }
.income-cards b { display: block; margin: 6px 0 20px; font-size: 14px; }
.income-cards p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.expenses-list { margin: 8px 0 16px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.expenses-list li { margin-bottom: 4px; }
.figure { font-weight: 700; color: var(--ink); }

.sales-dynamics { max-width: 780px; margin: 24px 0 0; padding: 28px; border-radius: var(--radius); background: var(--paper); }
.sales-dynamics-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sales-dynamics-total { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 18px; background: var(--peach); }
.sales-dynamics-total strong { font-size: 32px; font-weight: 700; color: var(--terracotta); letter-spacing: -.03em; }
.sales-dynamics-total span { color: var(--terracotta); font-size: 12px; line-height: 1.3; }
.sales-dynamics-title { margin: 0; padding-left: 14px; border-left: 2px solid #2f9e6f; color: #2f9e6f; font-size: 15px; font-weight: 700; text-transform: uppercase; line-height: 1.3; letter-spacing: .01em; }
.sales-dynamics-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sales-dynamics-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.sales-bar { position: relative; flex: 1; height: calc(var(--v) * var(--scale, 7.2px)); min-height: 4px; border-radius: 6px 6px 0 0; background: #2f9e6f; }
.sales-bar-current { background: var(--sand); }
.sales-bar span { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.sales-dynamics-labels { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); margin-top: 10px; color: var(--muted); font-size: 12px; }
.sales-dynamics-labels span { text-align: center; }
.sales-dynamics-year { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.sales-dynamics-source { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
@media (max-width: 860px) {
  .sales-dynamics-chart { grid-template-columns: 1fr; gap: 28px; }
  .sales-dynamics-head { flex-direction: column; gap: 12px; }
}

.growth-intro { max-width: 720px; margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.growth-note { max-width: 780px; margin: 0; padding: 24px 28px; border-radius: var(--radius); background: var(--paper); color: var(--muted); font-size: 15px; line-height: 1.65; }

.eden-location-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.eden-location-text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.eden-location-map { margin: 0; padding: 0; border-radius: var(--radius); overflow: hidden; }
.eden-location-map img { width: 100%; display: block; }

.contact-cta { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--sand); }
.contact-cta-title { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.contact-cta-text { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.contact-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-cta-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: #21c15b; color: #0c2b1b; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.contact-cta-button:hover { background: #1ba84e; transform: translateY(-2px); }
.contact-cta-button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

.floorplans-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; max-width: 780px; }
.floorplan-type { padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.floorplan-type b { display: block; font-size: 14px; }
.floorplan-type span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.floorplan-type strong { display: block; margin-top: 10px; color: var(--terracotta); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.floorplan-type small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.floorplans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; max-width: 780px; }
.floorplan-card { display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; background: var(--paper); overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: box-shadow .2s, transform .2s; }
.floorplan-card:hover { box-shadow: 0 12px 28px rgba(44,38,32,.14); transform: translateY(-2px); }
.floorplan-card img { width: 100%; height: 160px; object-fit: contain; padding: 12px; background: #fff; }
.floorplan-card-info { padding: 12px 16px 16px; }
.floorplan-card-info b { display: block; font-size: 15px; }
.floorplan-card-info span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.floorplan-card-info strong { display: block; margin-top: 8px; color: var(--terracotta); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.floorplans-note { max-width: 720px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.construction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; max-width: 620px; }
.construction-grid figure { margin: 0; }
.construction-grid img { width: 100%; height: 120px; border-radius: 14px; object-fit: cover; }
.construction-grid figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }

.summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.summary-list li { padding: 16px 20px; border-radius: 16px; background: var(--paper); font-size: 14px; }

@media (max-height: 720px) and (min-width: 861px) {
  .hero-copy .chips { display: none; }
  .hero-copy h1 { margin-top: 0; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu { display: block; }
  .hero-widget { display: none; }
}

@media (max-width: 860px) {
  :root { --space: 64px; --header: 72px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: 12px; padding: 0 16px; }
  .header-inner .menu { margin-left: auto; }
  .brand-logo img { height: 34px; }
  .topbar-inner { padding: 8px 16px; }
  .topbar-location span { display: none; }
  .topbar-contacts { gap: 14px; }
  .topbar-phone:not(:first-child) { display: none; }
  .header-cta { display: none; }
  .eyebrow { padding: 6px 14px; font-size: 13px; }
  .contact-block { margin-top: var(--space); padding: 24px; }
  .contact-block-grid { grid-template-columns: 1fr; gap: 20px; }
  .capitalization-gallery { grid-template-columns: 1fr; }
  .capitalization-gallery img { height: 160px; }
  .eden-location-grid { grid-template-columns: 1fr; gap: 20px; }
  .eden-location-map { order: -1; }
  .contact-cta { padding: 20px; }
  .contact-cta-buttons { flex-direction: column; }
  .contact-cta-button { justify-content: center; }
  .hero { min-height: 620px; }
  .hero-logo { width: 110px; top: 16px; right: 16px; }
  .hero-layout { min-height: 620px; width: calc(100% - 32px); padding: 40px 0 56px; }
  .hero-copy h1 { max-width: 320px; font-size: 28px; overflow-wrap: break-word; }
  .hero-caption { left: 16px; right: 16px; bottom: 16px; max-width: none; text-align: left; font-size: 11px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 20px; }
  .trust-grid > div { min-height: 0; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:first-child { padding-left: 0; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(n+3) { border-bottom: 0; }
  .trust-grid strong { font-size: 26px; }
  .trust-grid span { font-size: 11px; }
  .property-card, .about-grid, .income-cards, .compare-grid, .why-price-grid, .cta, .tiles-2, .summary-list { grid-template-columns: minmax(0, 1fr); }
  .floorplans-summary { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .floorplans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .floorplan-card img { height: 120px; padding: 6px; }
  .floorplan-card-info { padding: 8px 10px 10px; }
  .floorplan-card-info b { font-size: 12px; }
  .floorplan-card-info span { font-size: 10px; }
  .floorplan-card-info strong { font-size: 12px; margin-top: 4px; }
  .construction-grid { grid-template-columns: 1fr; }
  .rate-table { padding: 4px 4px; }
  .rate-row { display: flex; flex-direction: column; gap: 8px; padding: 18px 12px; font-size: 14px; }
  .rate-row.rate-head { display: none; }
  .rate-head + .rate-row { border-top: 0; }
  .rate-row span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .rate-row span[data-label]::before { content: attr(data-label) ":"; flex: 0 0 auto; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .rate-row span[data-label] { text-align: right; }
  .rate-total { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .rate-total span:first-child { font-size: 14px; }
  .rate-total span[data-label]::before { display: none; }
  .property-card > *, .about-grid > * { min-width: 0; }
  body { overflow-x: hidden; }
  .projects, .cta { margin-left: 16px; margin-right: 16px; padding: 20px; border-radius: 28px; }
  .property-card { gap: 16px; padding: 16px; }
  .gallery.card-carousel { height: 220px; }
  .team-people { grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
  .person figcaption { padding: 14px 12px 16px; }
  .person b { font-size: 14px; }
  .person figcaption span { font-size: 11px; }
  .chips span { padding: 6px 10px; font-size: 12px; }
  .pills { flex-wrap: nowrap; gap: 8px; margin: 16px 0; }
  .pill { min-height: 48px; padding: 8px 14px; flex: 1; }
  .pill-price, .pill-yield strong { font-size: 18px; }
  .pill-yield small { font-size: 10px; }
  .about-image { height: 260px; }
  .amphitheater-image { height: 260px; }
  .income-cards strong { font-size: 48px; }
  .tile { padding: 20px; }
  .tile strong { font-size: 24px; }
  .obj-hero-copy { margin-top: 20px; padding: 20px; }
  .obj-hero-copy h1 { font-size: 30px; }
  .footer { flex-direction: column; justify-content: center; gap: 8px; }
  .to-top { display: block; }
}

/* Анапа и аналитика (главная, под портретами) */
.anapa-market { display: grid; grid-template-columns: 1fr; gap: 22px; justify-items: center; margin: 0 0 40px; padding: 24px; border-radius: var(--radius); background: var(--paper); }
.anapa-market-media .media-placeholder { min-height: 200px; }
.anapa-market-media { width: 100%; max-width: 760px; }
.anapa-market-media img { display: block; width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; object-position: 50% 45%; border-radius: 18px; }
.anapa-market-text { width: 100%; max-width: 760px; }
.anapa-market-text p { break-inside: avoid; margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.anapa-market-text p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .anapa-market { gap: 14px; padding: 16px; }
  .anapa-market-media img { aspect-ratio: 2; }
}

/* Главная: весь текст на светлых блоках - один чёрный цвет */
.page-home { --home-text: #000; }
.page-home .team, .page-home .projects { color: var(--home-text); }
.page-home .team :is(h2, p, b, span, strong, small, li, figcaption),
.page-home .projects :is(h2, h3, p, b, span, strong, small, li):not(.carousel-counter):not(.carousel-counter *) { color: var(--home-text); }

.team > .eyebrow, .team > h2 { display: table; margin-left: auto; margin-right: auto; text-align: center; }
.team > .eyebrow { margin-bottom: 20px; }

.capitalization-gallery-single { grid-template-columns: 1fr; max-width: 780px; margin-top: 24px; }
.capitalization-gallery-single img { height: 300px; }
@media (max-width: 860px) { .capitalization-gallery-single img { height: 200px; } }

.floorplan-card-static { cursor: default; }
.floorplan-card-static:hover { box-shadow: none; transform: none; }
.floorplan-card-empty { display: flex; align-items: center; justify-content: center; height: 160px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; }
@media (max-width: 860px) { .floorplan-card-empty { height: 120px; } }

dialog .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 12px; line-height: 1.45; color: var(--muted); }
dialog .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold); }
dialog .consent a { color: var(--gold-dark); }
.footer-legal { margin: 0 auto 12px; font-size: 12px; }
.footer-legal a { color: var(--muted); }
.legal { max-width: 780px; margin: 40px auto 0; }
.legal h1 { margin: 0 0 24px; font-size: 32px; line-height: 1.15; }
.legal h2 { margin: 28px 0 10px; font-size: 18px; }
.legal p, .legal li { color: var(--muted); font-size: 14px; line-height: 1.65; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal .legal-operator { margin-top: 28px; padding: 20px 24px; border-radius: 20px; background: var(--paper); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 18px; margin: 0; font-size: 13px; line-height: 1.4; color: var(--gold-dark); }

/* Анапа: тестовая карусель из трёх фото (прежняя версия - _backups/*.single-anapa-photo) */
.anapa-carousel { width: 100%; aspect-ratio: 2.4; border-radius: 18px; background: var(--sand); }
.anapa-carousel .carousel-slide { margin: 0; }
.anapa-carousel .carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.anapa-carousel figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(18,14,10,.6); font-size: 13px; font-weight: 600; }
.page-home .team .anapa-carousel figcaption, .page-home .team .anapa-carousel .carousel-counter, .page-home .team .anapa-carousel .carousel-counter span { color: #fffdfa; }
@media (max-width: 860px) { .anapa-carousel { aspect-ratio: 1.7; } .anapa-carousel figcaption { left: 8px; bottom: 8px; font-size: 12px; } }

/* Страницы объектов, компьютер: фото в шапке крупнее примерно вдвое (до этого: 620px шириной, ~360px высотой) */
@media (min-width: 861px) {
  .obj-hero { max-width: 1160px; }
  .obj-hero-carousel { height: clamp(460px, 62vh, 620px); }
  .obj-hero-thumbs { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-top: 12px; }
  .obj-hero-thumbs img { height: 84px; }
  .obj-hero-copy { padding: 28px 36px; }
  .obj-hero-copy h1 { max-width: 760px; font-size: 28px; }
}

.team-offer { max-width: 760px; margin: 14px auto 0; text-align: center; font-family: Onest, Manrope, Arial, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.4; }
@media (max-width: 860px) { .team-offer { font-size: 18px; } }

/* Анапа: пропорции 16:9, чтобы не срезало море */
.anapa-carousel { aspect-ratio: 16 / 9; }
.anapa-carousel .carousel-slide img { object-position: 50% 78%; }
@media (max-width: 860px) { .anapa-carousel { aspect-ratio: 16 / 9; } }

/* 8 ловушек (главная, после блока про Анапу): коричневый фон, белый текст */
.traps { margin: 0 0 40px; padding: 36px 40px; border-radius: var(--radius); background: #4b3727; }
.traps h3 { margin: 0 0 28px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.traps-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.traps-list li { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,253,250,.22); }
.traps-num { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,253,250,.16); font-size: 15px; font-weight: 700; }
.traps-list p { margin: 3px 0 0; font-size: 16px; line-height: 1.45; font-weight: 500; }
.page-home .team .traps, .page-home .team .traps :is(h3, p, span, li) { color: #fffdfa; }
@media (max-width: 860px) {
  .traps { padding: 24px 20px; }
  .traps h3 { font-size: 22px; margin-bottom: 18px; }
  .traps-list { grid-template-columns: 1fr; gap: 0; }
  .traps-list p { font-size: 15px; }
}

/* 8 ловушек: уже и компактнее */
.traps { max-width: 860px; margin: 0 auto 28px; padding: 22px 28px; }
.traps h3 { margin-bottom: 14px; font-size: 22px; }
.traps-list { gap: 0 28px; }
.traps-list li { gap: 12px; padding: 9px 0; }
.traps-num { width: 26px; height: 26px; font-size: 12px; }
.traps-list p { margin-top: 2px; font-size: 14px; line-height: 1.35; }
@media (max-width: 860px) { .traps { padding: 18px 16px; } .traps h3 { font-size: 19px; margin-bottom: 10px; } .traps-list li { padding: 8px 0; } .traps-list p { font-size: 14px; } }

a.mobile-menu-max { text-decoration: none; }
