/* Fungi landing — styles */

/* ---------- Fonts (self-hosted, Google Fonts, OFL) ---------- */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rubik-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rubik-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bagel-fat-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #1b1c21;
  --bg-alt: #202127;
  --bg-deep: #15161a;
  --surface: #24252b;
  --surface-2: #2a2b32;
  --line: #30313a;
  --line-soft: #2c2d34;
  --text: #f3efe8;
  --text-2: #c9c4bc;
  --muted: #a9a49c;
  --accent: #d58f4c;
  --accent-text: #e9a15c;
  --accent-soft: #e09a55;
  --on-accent: #1a1208;
  --danger-bg: #3a1f1d;
  --danger-line: #6b302a;
  --font-display: "Rubik", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Bagel Fat One", "Arial Black", sans-serif;
  --radius: 16px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: #f4be86; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-soft); }
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 0 0 104px; }
.h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.08; }
.lead { font-size: 18px; color: var(--text-2); }
.note { font-size: 16px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px;
  border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: #e3a062; color: var(--on-accent); }
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 18px;
  border-radius: 14px; background: #000; border: 1px solid #5a5b63; color: #fff; text-decoration: none;
}
.store-btn:hover { border-color: #8a8b93; color: #fff; }
.store-btn svg { flex: none; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn__small { font-size: 12px; font-weight: 500; }
.store-btn__big { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(27, 28, 33, 0.94); border-bottom: 1px solid var(--line-soft); }
.site-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-brand); font-size: 32px; letter-spacing: 1.5px; color: var(--accent-soft); text-decoration: none; line-height: 1; }
.logo:hover { color: var(--accent-soft); }
.main-nav__list { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav__link { color: #cfcac2; text-decoration: none; }
.main-nav__link:hover { color: var(--text); }
.main-nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
@media (max-width: 860px) { .main-nav__item--section { display: none; } }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 72px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.phone { display: flex; justify-content: center; }
.phone img { width: 100%; max-width: 360px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }
.icon-badge { display: flex; align-items: center; gap: 14px; }
.icon-badge__circle { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-2); flex: none; }
.icon-badge__circle--warm { background: radial-gradient(circle at 70% 30%, #5a3b1e, #2a2018); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero__grid { gap: 56px; }
.hero__title { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.1; letter-spacing: -0.5px; }
.hero__title em { font-style: normal; color: var(--accent-text); }
.hero__lead { font-size: 20px; color: var(--text-2); max-width: 540px; }
.facts { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #2e2f36; margin: 0; }
.facts__item { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 36px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 600px; }
.hero__glow { position: absolute; inset: 8% 4% 4% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(213, 143, 76, 0.22), rgba(213, 143, 76, 0) 70%); }
.hero__back { position: relative; width: 46%; max-width: 280px; margin-top: 72px; margin-right: -16%; transform: rotate(-6deg); opacity: 0.92; }
.hero__front { position: relative; width: 56%; max-width: 330px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); }
@media (max-width: 600px) { .hero { padding-top: 56px; } .hero__visual { min-height: 0; } }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps__item { display: flex; gap: 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); font-size: 17px; }
.steps__num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent-text); min-width: 28px; }

/* ---------- Chips ---------- */
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.chip--danger { background: #2e1d1c; border-color: #5a2c28; }
.chip img { width: 36px; height: 36px; flex: none; }

.warnings { display: flex; flex-direction: column; gap: 12px; }
.warning { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--danger-bg); border: 1px solid var(--danger-line); font-size: 16px; }
.warning--deadly { background: #4a1a18; border-color: #8a2e26; }
.warning img { width: 36px; height: 36px; flex: none; }

/* ---------- Biotopes ---------- */
.biotopes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: 18px 12px; }
.biotope { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; font-weight: 500; }
.biotope__circle { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 70% 25%, #2e5640, #18241d 75%); display: flex; align-items: center; justify-content: center; }
.biotope__circle img { width: 44px; height: 44px; }

/* ---------- Map list ---------- */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-list__item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.feature-list__item:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-list__title { font-size: 18px; font-weight: 700; }
.feature-list__text { font-size: 16px; color: var(--text-2); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.card__title { font-size: 24px; line-height: 1.15; }
.card p { font-size: 17px; color: var(--text-2); }

/* ---------- Safety ---------- */
.safety { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 36px 40px; border-radius: 24px; background: var(--danger-bg); border: 1px solid var(--danger-line); }
.safety__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 6px; }
.safety__title { font-size: 22px; }
.safety p { font-size: 17px; color: #ead9d4; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); border-radius: 28px; overflow: hidden; background: #2a1810; }
.cta__body { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 64px 56px; }
.cta__title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.05; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta__mark { background: var(--accent-soft); color: var(--on-accent); padding: 2px 22px 8px; border-radius: 16px; }
.cta__lead { font-size: 18px; color: #d9cbbe; max-width: 440px; }
.cta__small { font-size: 14px; color: #b8a796; }
.cta__image { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
@media (max-width: 600px) { .cta__body { padding: 40px 24px; } }

/* ---------- Author ---------- */
.author { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 56px; border-radius: 28px; background: #211e1b; border: 1px solid #3a322a; }
.author__aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.author__title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.author__text { flex: 2 1 420px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: #dcd5cb; }
.author__sign { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid #3a322a; }
.author__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author__who { display: flex; flex-direction: column; gap: 2px; }
.author__name { font-size: 18px; font-weight: 700; color: var(--text); font-style: normal; }
.author__role { font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .author { padding: 32px 24px; } }

/* ---------- Contact ---------- */
.contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 48px 56px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.contact__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.contact .btn { font-size: 18px; padding: 0 28px; }
@media (max-width: 600px) { .contact { padding: 32px 24px; } .contact .btn { font-size: 16px; padding: 0 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; padding-bottom: 48px; }
.site-footer__about { display: flex; flex-direction: column; gap: 16px; }
.site-footer__about .logo { font-size: 30px; }
.site-footer__about p { font-size: 15px; color: var(--muted); max-width: 280px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer__heading { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links a { color: var(--text-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--text); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 24px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--accent-text); }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 24px 22px; font-size: 17px; color: var(--text-2); max-width: 860px; }
