/* Сайт ayboo.app — вариант «Восхождение» (выбран заказчиком 05.10.2026). */
:root {
  --tuff: #f6ece6; --tuff-2: #efe2da; --surface: #ffffff; --ink: #241d1a; --muted: #6f625b; --line: #e6d7ce;
  --pom: #d9481e; --pom-dark: #a5320f; --apr: #e8901f; --sevan: #2f6fde; --dil: #23946a; --ararat: #4b4f9e; --rose: #d0645a;
  --sky: #dfe9f5; --snow: #ffffff;
  --fd: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --fu: 'Golos Text', -apple-system, system-ui, sans-serif;
  --fh: 'Noto Sans Armenian', 'Mshtakan', sans-serif;
  --fhs: 'Noto Serif Armenian', 'Noto Sans Armenian', serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --tuff: #1f1916; --tuff-2: #2a221e; --surface: #2c2421; --ink: #f3ebe6; --muted: #b3a59c; --line: #42372f;
    --sky: #1d2433; --snow: #e9e4f0; color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --tuff: #1f1916; --tuff-2: #2a221e; --surface: #2c2421; --ink: #f3ebe6; --muted: #b3a59c; --line: #42372f;
  --sky: #1d2433; --snow: #e9e4f0; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tuff); color: var(--ink); font-family: var(--fu); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.hy { font-family: var(--fh); }
.wordmark { font-family: var(--fd); font-weight: 700; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wordmark em { font-style: normal; color: var(--pom); }
.wordmark img { width: 36px; height: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 16px;
  font-family: var(--fd); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; }
.btn-primary { background: var(--pom); color: #fff; box-shadow: 0 4px 0 var(--pom-dark); }
.btn-primary:active { transform: translateY(3px); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--sevan); outline-offset: 3px; }
.phone { position: relative; width: 100%; max-width: 280px; aspect-ratio: 390 / 844; border-radius: 42px; padding: 10px; background: #15110f;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55), inset 0 0 0 2px #2a2320; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border-radius: 16px; background: #111; color: #fff; font-size: 0.8rem; line-height: 1.15; text-decoration: none; }
.badge-soon b { display: block; font-size: 1rem; }
footer.site { padding-block: 36px 48px; padding-inline: 20px; color: var(--muted); font-size: 0.9rem; }
footer.site .in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }


/* Вариант 1 «Восхождение»: страница — подъём на Арарат. Герой — панорама горы из Еревана,
   дальше разделы как высоты на склоне с отметками слева. */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; padding: calc(env(safe-area-inset-top) + 18px) 20px 0; }
.top .in { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.top .wordmark { font-size: 1.35rem; }
.top a.link { font-weight: 600; text-decoration: none; color: var(--ink); }

.hero { position: relative; overflow: hidden; padding-bottom: 340px; background: linear-gradient(to bottom, var(--sky) 0%, var(--tuff) 78%); }
.hero svg.mtn { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 360px; }
/* Гора всегда под текстом: под неё зарезервирован нижний отступ героя */
.mtn .far { fill: var(--tuff-2); }
.mtn .near { fill: #ecd9cd; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .mtn .near { fill: #2c2320; } }
:root[data-theme='dark'] .mtn .near { fill: #2c2320; }
.mtn .snow { fill: var(--snow); }
.hero .copy { position: relative; z-index: 2; padding-bottom: 40px; max-width: 1120px; margin: 0 auto; padding: 150px 20px 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.hero h1 { font-family: var(--fd); font-weight: 700; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.hero h1 .hy { color: var(--pom); font-weight: 700; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 32ch; margin: 20px 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .phone { justify-self: center; transform: rotate(2deg); position: relative; z-index: 1; margin-bottom: -300px; }
.peaklabel { position: absolute; z-index: 2; font-family: var(--fd); font-weight: 700; font-size: 0.8rem; text-align: center; line-height: 1.2; }
.peaklabel small { display: block; font-family: var(--fu); font-weight: 400; color: var(--muted); font-size: 0.72rem; }

.climb { position: relative; max-width: 1120px; margin: 0 auto; padding: 40px 20px 20px 20px; }
.camp { position: relative; display: grid; grid-template-columns: 120px 1fr 1fr; gap: 28px; align-items: center; padding: 56px 0; border-top: 1px dashed var(--line); }
.camp:first-child { border-top: none; }
.alt { font-family: var(--fd); font-weight: 700; font-size: 0.95rem; color: var(--pom); }
.alt small { display: block; font-family: var(--fu); font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.camp h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.camp p { margin: 0; color: var(--muted); max-width: 44ch; }
.camp .phone { max-width: 240px; justify-self: center; }
.letters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.letters span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-family: var(--fh); font-weight: 700; font-size: 1.4rem; }

.install { background: var(--surface); }
.install .in { max-width: 1120px; margin: 0 auto; padding: 64px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.install h2 { font-family: var(--fd); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 14px; }
.install ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: s; }
.install li { counter-increment: s; display: flex; gap: 14px; align-items: center; background: var(--tuff); border-radius: 16px; padding: 14px 16px; }
.install li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pom); color: #fff; display: grid; place-items: center; font-family: var(--fd); font-weight: 700; font-size: 0.85rem; }
.summit { text-align: center; padding: 80px 20px; }
.summit h2 { font-family: var(--fd); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 18px; text-wrap: balance; }
.summit p { color: var(--muted); margin: 0 auto 26px; max-width: 46ch; }

@media (max-width: 860px) {
  .hero { padding-bottom: 260px; }
  .hero svg.mtn { height: 280px; }
  .hero .copy { grid-template-columns: 1fr; padding-top: 110px; }
  .hero .phone { max-width: 230px; transform: none; margin-bottom: -200px; }
  .camp { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .install .in { grid-template-columns: 1fr; }
  .peaklabel { display: none; }
}

/* Текстовые страницы: конфиденциальность, поддержка */
.doc-top { padding: calc(env(safe-area-inset-top) + 18px) 20px 0; }
.doc-top .in { max-width: 820px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.doc-top .wordmark { font-size: 1.25rem; }
.doc-top a.link { font-weight: 600; text-decoration: none; }
.doc-hero { background: linear-gradient(to bottom, var(--sky), var(--tuff)); padding: 48px 20px 24px; }
.doc-hero .in { max-width: 820px; margin: 0 auto; }
.doc-hero h1 { font-family: var(--fd); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.08; margin: 0; text-wrap: balance; }
.doc-hero p { color: var(--muted); margin: 12px 0 0; }
.doc { max-width: 820px; margin: 0 auto; padding: 24px 20px 64px; }
.doc h2 { font-family: var(--fd); font-weight: 700; font-size: 1.25rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); max-width: 68ch; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .card { background: var(--surface); border-radius: 18px; padding: 18px 20px; margin: 14px 0; }
.doc details { background: var(--surface); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
.doc summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.doc summary::after { content: '+'; font-family: var(--fd); color: var(--pom); }
.doc details[open] summary::after { content: '−'; }
.doc details p { margin: 10px 0 0; color: var(--muted); }
.mail { font-family: var(--fd); font-weight: 700; font-size: 1.1rem; color: var(--pom); text-decoration: none; word-break: break-all; }
