/* Стиль в духе apple.com: светлый фон, крупная типографика, плитки, много воздуха.
   Фирменный цвет — изумрудный, акцент — золотой. */
:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #fbfbfd;
  --gray: #f5f5f7;
  --tile: #ffffff;
  --brand: #0b6e4f;
  --brand-2: #0f8a63;
  --brand-dark: #054230;
  --brand-light: #34c49a;
  --gold: #c99a45;
  --link: #0b7a57;
  --line: #d2d2d7;
  --radius: 28px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 52px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }

/* Шапка: тонкая полупрозрачная полоса с размытием */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  height: 52px; display: flex; align-items: center; gap: 28px;
  font-size: 13px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.logo__mark {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
}
.nav__links { display: none; gap: 28px; margin-left: auto; color: #424245; }
.nav__links a:hover { color: var(--text); }
.nav__call {
  margin-left: auto; padding: 5px 13px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 500; font-size: 13px;
}
@media (min-width: 900px) { .nav__links { display: flex; } .nav__call { margin-left: 0; } }

/* Кнопки */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-size: 17px; font-weight: 500;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.pill:active { transform: scale(.98); }
.pill--primary { background: var(--brand); color: #fff; }
.pill--primary:hover { background: var(--brand-2); }
.pill--light { background: #fff; color: var(--brand-dark); font-weight: 600; }
.pill--light:hover { background: #eafaf3; }
.link-more { color: var(--link); font-size: 17px; }
.link-more::after { content: " ›"; }
.link-more:hover { text-decoration: underline; }
.link-more--light { color: #bff0dc; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(11, 110, 79, .45); outline-offset: 3px; border-radius: 8px; }

/* Первый экран */
.hero { text-align: center; padding: 72px 20px 0; overflow: hidden; }
@media (min-width: 900px) { .hero { padding-top: 110px; } }
.hero__eyebrow { color: var(--brand); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.hero__eyebrow--center { text-align: center; }
.section--dark .hero__eyebrow { color: var(--brand-light); }
.hero__title {
  font-size: clamp(44px, 9vw, 96px); line-height: 1.04; letter-spacing: -.035em;
  max-width: 980px; margin: 0 auto;
  background: linear-gradient(180deg, #1d1d1f 35%, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(19px, 2.4vw, 26px); line-height: 1.3; color: var(--muted);
  max-width: 760px; margin: 22px auto 0; letter-spacing: -.015em; font-weight: 500;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; margin-top: 34px; }
.hero__cta--left { justify-content: flex-start; }
.hero__checks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  max-width: 880px; margin: 36px auto 0; font-size: 15px; color: #424245;
}
.hero__checks li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 7px; }
.hero__art { margin: 48px auto 0; max-width: 1440px; }
.skyline { display: block; width: 100%; height: auto; min-height: 140px; }

/* Полоса фактов */
.strip { background: var(--brand-dark); color: #fff; }
.strip__list {
  margin: 0 auto; padding: 34px 20px; max-width: 1080px;
  display: grid; gap: 26px 20px; text-align: center;
}
@media (min-width: 720px) { .strip__list { grid-template-columns: repeat(3, 1fr); } }
.strip__list b { display: block; font-size: 20px; letter-spacing: -.02em; }
.strip__list span { display: block; color: #9fd9c2; font-size: 14px; margin-top: 2px; }

/* Секции */
.section { padding: 96px 0; }
.section--tight { padding-top: 24px; }
@media (min-width: 900px) { .section { padding: 130px 0; } .section--tight { padding-top: 40px; } }
.section--gray { background: var(--gray); }
.section--dark { background: #000; color: #f5f5f7; }
.headline { font-size: clamp(36px, 6vw, 60px); line-height: 1.07; text-align: center; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; }
.headline__muted { color: var(--muted); }
.lede { text-align: center; color: var(--muted); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.35; margin: 18px auto 0; max-width: 700px; }
.section--dark .lede { color: #a1a1a6; }

/* Промо: бесплатный подбор новостроек */
.promo {
  position: relative; overflow: hidden;
  border-radius: 36px; padding: 44px 26px;
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(52, 196, 154, .35), transparent 60%),
    linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
@media (min-width: 900px) { .promo { padding: 72px 72px 64px; } }
.promo__tag { color: #bff0dc; font-weight: 600; margin-bottom: 12px; }
.promo__title { font-size: clamp(34px, 6vw, 64px); line-height: 1.05; letter-spacing: -.035em; max-width: 820px; }
.promo__accent {
  background: linear-gradient(90deg, #f3d99b, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promo__text { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: #d5efe5; max-width: 760px; margin-top: 22px; margin-bottom: 0; }
.promo__text--strong { color: #fff; font-weight: 600; margin-top: 14px; }
.promo__list { display: grid; gap: 12px 32px; margin-top: 34px; max-width: 900px; }
@media (min-width: 720px) { .promo__list { grid-template-columns: 1fr 1fr; } }
.promo__list li { position: relative; padding-left: 30px; color: #e6f6ef; font-size: 16px; }
.promo__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #f3d99b;
}
.promo .hero__cta { margin-top: 40px; }

/* Плитки */
.bento { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento--why { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--tile); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.section--gray .tile { box-shadow: none; }
.tile h3 { font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.tile p { color: var(--muted); margin-bottom: .7em; }
.tile p:last-child { margin-bottom: 0; }
.tile__num { display: block; font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 18px; letter-spacing: .02em; }
.tile--brand { background: linear-gradient(140deg, var(--brand), var(--brand-dark)); color: #fff; }
.tile--brand p { color: #cdeee0; }
.tile--brand .tile__num { color: #f3d99b; }

.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: #424245; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }

/* Проверка квартиры */
.checks { display: grid; gap: 1px; margin-top: 60px; background: #2c2c2e; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.check { background: #111113; padding: 30px 28px; }
.check h3 { font-size: 20px; margin-bottom: 8px; color: var(--brand-light); }
.check p { color: #a1a1a6; font-size: 15px; margin: 0; }
@media (min-width: 1000px) { .check:last-child { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 999px) { .check:nth-last-child(1):nth-child(odd) { grid-column: span 2; } }

/* Шаги */
.steps { counter-reset: s; padding: 0; margin: 60px 0 0; display: grid; gap: 16px; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; background: var(--gray); border-radius: 24px; padding: 30px 24px; }
.steps li::before {
  content: "0" counter(s); display: block; margin-bottom: 22px;
  font-size: 40px; font-weight: 700; letter-spacing: -.03em;
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* Районы */
.areas { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
.areas__group { background: #fff; border-radius: var(--radius); padding: 34px 30px; }
.areas__group h3 { font-size: 24px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--gray); font-size: 15px; color: #424245; }
.chips--brand li { background: #e3f5ee; color: var(--brand-dark); }
.areas__note { margin: 22px 0 0; color: var(--muted); font-size: 15px; }

/* Основатель */
.about { text-align: center; }
.about__lead { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 28px 0 22px; }
.about p:not(.about__lead):not(.hero__eyebrow) { color: var(--muted); font-size: 19px; }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 44px 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-right: 44px; }
.faq details p:last-child { margin-bottom: 24px; }

/* Контакты */
.contacts { text-align: center; }
.contacts__phone {
  display: inline-block; margin-top: 36px;
  font-size: clamp(40px, 8vw, 88px); font-weight: 700; letter-spacing: -.035em; line-height: 1;
  color: var(--brand);
}
.contacts__phone:hover { color: var(--brand-2); }

.footer { background: var(--gray); border-top: 1px solid var(--line); padding: 22px 0 110px; font-size: 12px; color: var(--muted); }
.footer p { margin: 0 0 4px; }
@media (min-width: 900px) { .footer { padding-bottom: 22px; } }

/* Плавающая кнопка звонка на мобильных */
.fab {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  background: rgba(11, 110, 79, .94); color: #fff; font-weight: 600; font-size: 17px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.fab svg { width: 19px; height: 19px; fill: currentColor; }
.fab.is-hidden { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
@media (min-width: 900px) { .fab { display: none; } }

/* Появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Первый экран появляется без JS */
.hero-in { animation: hero-in 1s var(--ease) both; }
.hero__title.hero-in { animation-delay: .08s; }
.hero__sub.hero-in { animation-delay: .16s; }
.hero__cta.hero-in { animation-delay: .24s; }
.hero__checks.hero-in { animation-delay: .3s; }
.hero__art.hero-in { animation-delay: .36s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } }

.js-tg[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { animation: none; }
}
