/* Публичный сайт iazkeeper.ru (перенос с Тильды, 2026-11).
   Вёрстка повторяет блоки Тильды без её скриптов и стилей. */

:root {
  --text: #000;
  --text-soft: #222;
  --muted: #7a7a7a;
  --bg: #fff;
  --bg-gray: #efefef;
  --header-bg: #f5f5f5;
  --footer-bg: #111;
  --green: #6cd373;
  --green-dark: #3b9e42;
  --link: #ff8562;
  --blue-check: #1f5bff;
  --violet: #704def;
  --line: #e6e6e6;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { opacity: .85; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.section { padding: 105px 0; }
.section--gray { background: var(--bg-gray); }
.section--hero { padding: 150px 0; }

.h-xl { font-size: 52px; line-height: 1.23; font-weight: 700; margin: 0 0 32px; }
.h-lg { font-size: 42px; line-height: 1.23; font-weight: 700; margin: 0 0 32px; }
.h-md { font-size: 36px; line-height: 1.23; font-weight: 700; margin: 0 0 24px; }
.lead { font-size: 24px; line-height: 1.5; font-weight: 400; max-width: 560px; margin: 0 auto; }
.descr { font-size: 18px; line-height: 1.55; max-width: 560px; margin: 0 auto; }
.small-muted { color: var(--muted); }

/* ---- Шапка ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  height: 66px;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 40px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 700; }
.brand img { width: 24px; height: 24px; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--text); font-size: 16px; font-weight: 600; }
.header-icons { display: flex; align-items: center; gap: 12px; }
.header-icons a { display: block; width: 32px; height: 32px; }
.header-icons img, .header-icons svg { width: 32px; height: 32px; display: block; }
.burger {
  display: none; width: 32px; height: 32px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
}
.burger span { display: block; height: 3px; margin: 4px 0; background: #000; border-radius: 2px; }

/* ---- Кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; height: 60px; padding: 0 40px;
  border-radius: 30px; border: 2px solid transparent;
  font-family: var(--font); font-size: 16px; font-weight: 700; color: #fff;
  background: var(--green); cursor: pointer; text-decoration: none;
}
.btn:hover { opacity: .9; }
.btn--outline { background: transparent; border-color: var(--green); color: var(--green-dark); }
.btn--orange {
  background: linear-gradient(0.75turn, rgba(255, 148, 21, 1) 0%, rgba(255, 200, 0, 1) 100%);
  box-shadow: 0 10px 15px rgba(51, 51, 51, .1);
}
.btn--violet { background: var(--violet); height: 80px; min-width: 414px; border-radius: 30px; font-size: 26px; }
.btn-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }

/* ---- Первый экран ---- */
.hero-logo { width: 200px; height: 200px; margin: 0 auto 50px; display: block; }
.hero-logo--sm { width: 120px; height: 120px; margin-bottom: 60px; }
.hero .h-md { margin-bottom: 26px; }
.hero .descr { max-width: 560px; }

/* ---- Список возможностей (галочки) ---- */
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 50px; margin-top: 90px; }
.feature { display: flex; gap: 20px; }
.feature svg { flex: 0 0 30px; width: 30px; height: 30px; margin-top: 2px; }
.feature h3 { font-size: 20px; line-height: 1.35; font-weight: 600; margin: 0 0 14px; }
.feature p { font-size: 18px; line-height: 1.55; margin: 0; }
.features--blue svg { color: var(--blue-check); }
.features--green svg { color: var(--green); }

/* ---- Новости (лента блога) ---- */
.feed { position: relative; margin-top: 90px; padding: 0 100px; text-align: left; }
.feed-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 3);
  gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.feed-track::-webkit-scrollbar { display: none; }
.feed-card {
  scroll-snap-align: start; background: #fff; color: var(--text);
  display: flex; flex-direction: column; min-height: 100%;
}
.feed-card img { width: 100%; aspect-ratio: 13 / 10; object-fit: cover; display: block; }
.feed-card .body { padding: 18px 30px 26px; }
.feed-card h3 { font-size: 20px; line-height: 1.35; font-weight: 600; margin: 0 0 12px; }
.feed-card p { font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.date { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.feed-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: #000; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.feed-arrow svg { width: 14px; height: 14px; }
.feed-arrow--prev { left: 30px; }
.feed-arrow--next { right: 30px; }
.feed-arrow[disabled] { visibility: hidden; }
h1 strong, h2 strong, h3 strong { font-weight: inherit; }
.feed-all { margin-top: 50px; }

/* ---- Вопросы и ответы (аккордеон) ---- */
.faq { max-width: 760px; margin: 80px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 27px 0; font-size: 22px; line-height: 1.35; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 24px; width: 24px; height: 24px;
  background:
    linear-gradient(#000, #000) center / 24px 1px no-repeat,
    linear-gradient(#000, #000) center / 1px 24px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 30px 0; font-size: 18px; line-height: 1.55; }
.section--gray .faq details, .section--gray .faq details:first-child { border-color: transparent; }

/* ---- Оформление текста из редактора Тильды ---- */
.rich ul, .rich ol { margin: 8px 0; padding-left: 20px; }
.rich li { margin: 2px 0; }
.rich h2 { font-size: 26px; line-height: 1.3; margin: 40px 0 20px; }
.rich h3 { font-size: 22px; line-height: 1.35; margin: 32px 0 16px; }
.rich h4 { font-size: 20px; line-height: 1.35; margin: 30px 0 14px; }
.rich blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--text); font-size: 20px; }
.rich figure { margin: 24px 0; }
.rich img { display: block; margin: 0 auto; }
.rich figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.quill-table__wrapper { overflow-x: auto; margin: 16px 0; }
.quill-table__table { border-collapse: collapse; width: 100%; font-size: 16px; }
.quill-table__table td { border: 1px solid #ccc; padding: 8px 10px; vertical-align: top; }
.quill-table__table p { margin: 0; }

/* ---- Плашки-подсказки (страница Windows) ---- */
.callout {
  max-width: 760px; margin: 0 auto; padding: 24px 24px 24px 56px; border-radius: 12px;
  position: relative; font-size: 16px; line-height: 1.55;
}
.callout::before {
  content: "i"; position: absolute; left: 20px; top: 26px; width: 22px; height: 22px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 14px; line-height: 22px; text-align: center;
}
.callout--info { background: #eef8ef; }
.callout--info::before { background: var(--green); }
.callout--warn { background: #fff6ee; }
.callout--warn::before { background: #f5862a; }

/* ---- Шаги установки ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 90px; text-align: center; }
.step-num {
  width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step h3 { font-size: 24px; line-height: 1.35; font-weight: 600; margin: 0 0 16px; }
.step p { font-size: 14px; line-height: 1.7; margin: 0; }

/* ---- Форма обратной связи ---- */
.form { max-width: 760px; margin: 60px auto 0; text-align: left; }
.form label.caption { display: block; font-size: 20px; margin: 0 0 10px; }
.form input, .form textarea {
  display: block; width: 100%; margin: 0 0 25px; padding: 0 20px; height: 60px;
  border: 1px solid #000; border-radius: 0; background: #fff; color: #000;
  font-family: var(--font); font-size: 16px;
}
.form textarea { height: 102px; padding-top: 17px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { text-align: center; margin-top: 10px; }
.form .consent { font-size: 14px; line-height: 1.55; text-align: center; margin-top: 35px; }
.form-status { margin-top: 20px; padding: 16px 20px; text-align: center; font-size: 16px; display: none; }
.form-status.ok { display: block; background: #eef8ef; }
.form-status.err { display: block; background: #fff0ec; color: #b3261e; }

/* ---- Карточки магазинов ---- */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.store-card {
  border: 2px solid #000; padding: 36px 40px 70px; text-align: center; color: var(--text);
  display: flex; flex-direction: column; align-items: center; min-height: 524px;
}
.store-card img { height: 50px; width: auto; margin-bottom: 40px; }
.store-card h3 { font-size: 24px; line-height: 1.35; font-weight: 700; margin: 0 0 70px; }
.store-card p { font-size: 16px; line-height: 1.55; margin: 0; }
.store-card .go { margin-top: auto; padding-top: 40px; font-weight: 700; font-size: 16px; }

/* ---- Поддержка проекта ---- */
.donate { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.5; }
.donate h2 { font-size: 32px; line-height: 1.23; margin: 0 0 30px; }
.donate .cta { margin-top: 70px; display: flex; align-items: center; gap: 30px; }
.donate .arrow { width: 50px; height: 70px; color: var(--violet); }
.donate-page { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.donate-page .text { font-size: 16px; line-height: 1.55; }
.donate-page h1 { font-size: 30px; line-height: 1.23; margin: 0 0 30px; }
.donate-page .fine { font-size: 12px; line-height: 1.7; margin-top: 30px; }

/* ---- Текстовые страницы (документы, описание) ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 20px 90px; font-size: 18px; line-height: 1.55; }
.doc .part + .part { margin-top: 90px; }
.description { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 960px; margin: 0 auto; padding: 30px 20px 90px; }
.description .lead-side { font-size: 30px; line-height: 1.35; border-top: 1px solid #000; padding-top: 30px; margin-top: 0; }
.description .main-side { font-size: 18px; line-height: 1.55; }
.description h1 { font-size: 24px; line-height: 1.35; margin: 0 0 30px; }

/* ---- Запись блога ---- */
.post-top { height: 54px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; }
.post-top .back { position: absolute; left: 20px; top: 15px; width: 24px; height: 24px; color: #000; }
.post-top .brand { font-size: 14px; }
.post { max-width: 760px; margin: 0 auto; padding: 50px 20px 90px; }
.post h1 { font-size: 42px; line-height: 1.23; margin: 0 0 20px; }
.post .cover { margin: 40px 0; }
.post .rich { font-size: 20px; line-height: 1.55; }
.post .more { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.post .more h2 { font-size: 26px; margin: 0 0 20px; }
.post .more ul { padding-left: 20px; }

/* ---- Список записей блога ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.posts .feed-card { background: var(--bg-gray); }

/* ---- Подвал ---- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 25px 40px 60px; }
.site-footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 14px; font-weight: 700; }
.site-footer a { color: #fff; }
.site-footer .links { text-align: center; line-height: 1.6; }
.site-footer .links a { margin: 0 15px; white-space: nowrap; }
.site-footer .up { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Адаптив ---- */
@media (max-width: 960px) {
  .site-header .bar { padding: 0 20px; }
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--header-bg);
    flex-direction: column; gap: 0; padding: 10px 20px 20px; box-shadow: 0 10px 15px rgba(0, 0, 0, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .burger { display: block; }
  .header-icons { margin-left: auto; }
  .feed { padding: 0 20px; }
  .feed-track { grid-auto-columns: calc((100% - 40px) / 2); }
  .feed-arrow { display: none; }
  .stores, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .donate-page, .description { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section, .section--hero { padding: 75px 0; }
  .h-xl { font-size: 32px; }
  .h-lg, .post h1 { font-size: 30px; }
  .h-md { font-size: 28px; }
  .lead { font-size: 20px; }
  .features { grid-template-columns: 1fr; margin-top: 50px; row-gap: 36px; }
  .feed-track { grid-auto-columns: 85%; gap: 20px; }
  .stores, .posts { grid-template-columns: 1fr; }
  .store-card { min-height: 0; min-width: 0; padding: 30px 20px 40px; }
  .site-footer .links a { white-space: normal; display: inline-block; margin: 2px 8px; }
  .store-card h3 { margin-bottom: 30px; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .faq .answer { font-size: 16px; padding-right: 0; }
  .btn--violet { min-width: 0; width: 100%; font-size: 20px; height: 64px; }
  .donate .arrow { display: none; }
  .site-footer { padding: 25px 20px 40px; }
  .site-footer .bar { flex-direction: column; text-align: center; }
  .doc, .post .rich { font-size: 16px; }
  .description .lead-side { font-size: 22px; }
}
