/* ============================================================
   Соседи.Дом — ОСС 2026 landing
   Pure CSS, no external fonts, no JS. Optimized & responsive.
   ============================================================ */

:root {
  --teal-900: #0f4c4a;
  --teal-800: #14534f;
  --teal-700: #1a635d;
  --green:    #1f9d6b;
  --green-50: #eaf7f0;
  --green-100:#d7eee2;
  --orange:   #e7832f;
  --orange-50:#fdf1e6;
  --orange-100:#f9e2cd;
  --ink:      #1c2b2a;
  --muted:    #5b6b69;
  --line:     #e3e8e7;
  --bg:       #eef1f3;
  --card:     #ffffff;
  --radius:   16px;
  --shadow:   0 1px 2px rgba(15,76,74,.06), 0 8px 24px rgba(15,76,74,.07);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 20px; }

/* ===== Brand bar ===== */
.brandbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.brandbar__inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand__mark { width: 26px; height: 26px; }
.brand__name { color: var(--teal-900); }
.brand__dot { color: var(--green); }
.brandbar__link { font-size: 14px; font-weight: 600; color: var(--teal-700); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.brandbar__link:hover { background: var(--green-50); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(31,157,107,.35), transparent 60%),
    linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #eafaf4;
}
.hero__inner { padding-block: 52px 56px; max-width: 760px; }
.hero__kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fe6c9; }
.hero__title { margin: 0; font-size: clamp(28px, 5.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero__subtitle { margin: 10px 0 0; font-size: clamp(16px, 2.6vw, 22px); font-weight: 600; color: #bdf0db; }
.hero__lead { margin: 20px 0 0; font-size: 16px; color: #cfeee2; max-width: 56ch; }

/* ===== CTA bar ===== */
.cta {
  margin-top: -26px; position: relative; z-index: 2;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px;
}
.cta__text { display: flex; align-items: center; gap: 14px; min-width: 260px; flex: 1; }
.cta__icon { width: 30px; height: 30px; color: var(--green); flex: none; }
.cta__text b { color: var(--teal-900); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 999px; padding: 12px 22px; transition: transform .08s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--teal-900); color: #fff; }
.btn--solid:hover { background: var(--teal-700); }

/* ===== Sections ===== */
.section { padding-top: 44px; }
.section__title { font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--teal-900); margin: 0 0 4px; }
.section__lead { margin: 6px 0 22px; color: var(--muted); max-width: 70ch; }

/* ===== Question card ===== */
.qcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-top: 18px; }
.qcard__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.qcard__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-900); color: #fff; font-weight: 800; font-size: 20px; flex: none; }
.qcard__title { margin: 4px 0 0; font-size: clamp(17px, 2.6vw, 21px); font-weight: 700; color: var(--ink); line-height: 1.25; }
.qcard__note { margin-top: 12px; background: #f4f7f6; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--muted); font-size: 14.5px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.col { border-radius: 14px; padding: 16px 16px 8px; border: 1px solid transparent; }
.col--good { background: var(--green-50); border-color: var(--green-100); color: #16624a; }
.col--warn { background: var(--orange-50); border-color: var(--orange-100); color: #8a4d16; }
.col__head { display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; margin-bottom: 10px; }
.col--good .col__head { color: var(--green); }
.col--warn .col__head { color: var(--orange); }
.col__badge { width: 24px; height: 24px; flex: none; }
.col__list { list-style: none; margin: 0; padding: 0; }
.col__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 9px 0; font-size: 14.5px; color: var(--ink); border-top: 1px solid rgba(0,0,0,.05); }
.col__list li:first-child { border-top: 0; }
.li-ico { width: 20px; height: 20px; margin-top: 1px; }
.col--good .li-ico { color: var(--green); }
.col--warn .li-ico { color: var(--orange); }

/* Official wording (native <details>, no JS) */
.official { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 12px; }
.official summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--teal-700); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.official summary::-webkit-details-marker { display: none; }
.official summary::before { content: "▸"; transition: transform .15s ease; display: inline-block; }
.official[open] summary::before { transform: rotate(90deg); }
.official p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ===== Facts / Actions grid ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { border-radius: var(--radius); box-shadow: var(--shadow); }
.panel--light { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.panel--dark { background: linear-gradient(150deg, var(--teal-900), var(--teal-700)); color: #eafaf4; padding: 24px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.panel--dark .panel__body { flex: 1; min-width: 220px; }
.panel__title { margin: 0 0 14px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.panel--light .panel__title { color: var(--teal-900); }
.panel__list { list-style: none; margin: 0; padding: 0; }
.panel__list li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; border-top: 1px solid rgba(0,0,0,.05); }
.panel--dark .panel__list li { border-top-color: rgba(255,255,255,.12); }
.panel__list li:first-child { border-top: 0; }
.panel--light .panel__list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-700); }
.panel__list--check li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px; border-left: 2px solid #6fe3b4; border-bottom: 2px solid #6fe3b4; transform: rotate(-45deg); }

.qr { background: #fff; color: var(--ink); border-radius: 14px; padding: 14px; text-align: center; width: 168px; flex: none; }
.qr__img { width: 120px; height: 120px; margin: 0 auto 8px; }
.qr__caption { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--teal-900); line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }

/* ===== Documents ===== */
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc__link { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s ease, transform .08s ease; }
.doc__link:hover { border-color: var(--green); transform: translateY(-1px); }
.doc__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fdecec; color: #d23b3b; font-weight: 800; font-size: 12px; letter-spacing: .02em; }
.doc__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.doc__title { font-weight: 700; color: var(--teal-900); font-size: 15px; }
.doc__sub { font-size: 13px; color: var(--muted); }
.doc__arrow { width: 22px; height: 22px; color: var(--green); flex: none; }

/* ===== Footer ===== */
.footer { margin-top: 52px; background: var(--teal-900); color: #cfeee2; }
.footer__inner { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; padding-block: 30px; }
.footer__q { margin: 0; font-weight: 700; color: #fff; }
.footer__a { margin: 4px 0 0; }
.footer__a a { color: #9fe6c9; }
.footer__col--right { text-align: right; }
.footer__group { margin: 0; font-size: 14px; }
.footer__brand { margin: 4px 0 0; font-weight: 800; color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .cols { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .panel--dark { flex-direction: column; align-items: stretch; }
  .qr { width: 100%; max-width: 220px; margin-inline: auto; }
  .footer__col--right { text-align: left; }
  .cta { margin-top: -20px; }
}

@media (max-width: 420px) {
  .qcard { padding: 18px; }
  .qcard__head { gap: 12px; }
}

@media print {
  .brandbar, .cta, .btn { display: none; }
  body { background: #fff; }
  .qcard, .panel, .doc__link { box-shadow: none; }
}
