/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: sticky-slim, футер: minimal-3, стиль: sage-forest.
Version: 1.1.10
Author: Site Builder Plugin
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ===== Reset & base layout ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sb-font-body, "Segoe UI", system-ui, -apple-system, sans-serif);
    font-size: var(--sb-font-size, 16px);
    line-height: var(--sb-line-height, 1.6);
    color: var(--sb-color-text, #222);
    background: var(--sb-color-bg, #fff);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-color-link, #2271b1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Site wrapper ===== */
.sb-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sb-site-content {
    flex: 1;
    padding: 32px 20px;
    max-width: var(--sb-content-max-width, 920px);
    width: 100%;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* ===== Content elements ===== */
.sb-content figure { margin: 24px 0; }
.sb-content figure img { border-radius: 4px; }
.sb-content figcaption {
    font-size: 0.9em;
    color: var(--sb-color-muted, #666);
    text-align: center;
    margin-top: 6px;
}
.sb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.sb-content th, .sb-content td {
    padding: 8px 12px;
    border: 1px solid var(--sb-color-border, #e2e8f0);
    text-align: left;
}
.sb-content th {
    background: var(--sb-color-bg-alt, #f8f9fa);
    font-weight: 600;
}
.sb-content blockquote {
    border-left: 4px solid var(--sb-color-accent, #2271b1);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    color: var(--sb-color-muted, #555);
}
.sb-content code {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.sb-content pre {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Variant-specific styles (header, footer, color scheme) injected below ===== */

:root {
    --sb-color-bg:              #f8faf6;    /* soft botanical white */
    --sb-color-bg-alt:          #edf2e9;    /* pale sage */
    --sb-color-text:            #1e2923;    /* forest black */
    --sb-color-muted:           #69766e;    /* muted sage gray */
    --sb-color-link:            #34745a;    /* botanical green */
    --sb-color-link-hover:      #255642;    /* deep forest */
    --sb-color-border:          #d8e1d7;    /* sage border */
    --sb-color-accent:          #234c3a;    /* forest green */

    --sb-font-body:             -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-heading:          -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-size:             16px;
    --sb-line-height:           1.6;
    --sb-content-max-width:     920px;
}

body.sb-site {
    background: var(--sb-color-bg);
    color: var(--sb-color-text);
    font-family: var(--sb-font-body);
    font-size: var(--sb-font-size);
    line-height: var(--sb-line-height);
}
body.sb-site h1, body.sb-site h2, body.sb-site h3, body.sb-site h4 {
    font-family: var(--sb-font-heading);
    color: var(--sb-color-text);
    font-weight: 700;
    letter-spacing: -0.015em;
}
body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: underline;
    text-decoration-color: rgba(2, 132, 199, 0.35);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
body.sb-site a:hover {
    color: var(--sb-color-link-hover);
    text-decoration-color: currentColor;
}
body.sb-site strong { color: var(--sb-color-accent); }
body.sb-site blockquote {
    border-left: 4px solid var(--sb-color-accent);
    padding: 12px 22px;
    background: var(--sb-color-bg-alt);
    border-radius: 0 6px 6px 0;
    color: var(--sb-color-text);
}
body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link-hover);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
}


/* ===== Header variant: sticky-slim ===== */
/* sticky-slim — тонкая липкая шапка (48px) с dropdown на 3 уровня */
.sb-header-slim {
    position: sticky; top: 0; z-index: 100;
    background: var(--sb-color-bg, #fff);
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    transition: box-shadow 0.2s;
}
.sb-header-slim.sb-slim-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.sb-header-slim-inner {
    max-width:1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    height: 48px;
}
.sb-header-slim-brand {
    margin: 0;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
}
.sb-header-slim-brand a, .sb-header-slim-name {
    color: var(--sb-color-text, #111);
    text-decoration: none;
}
.sb-header-slim-brand img {
    max-height: 50px;
    width: auto;
    display: block;
}
/* Nav */
.sb-header-slim-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sb-header-slim-nav li { position: relative; }
.sb-header-slim-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--sb-color-text, #111);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.sb-header-slim-nav a:hover, .sb-header-slim-nav .current-menu-item > a {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg-alt, #f9fafb);
}
/* Dropdowns (2nd and 3rd level) */
.sb-header-slim-nav .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 200px;
    background: var(--sb-color-bg, #fff);
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
}
.sb-header-slim-nav li:hover > .sub-menu,
.sb-header-slim-nav li:focus-within > .sub-menu {
    display: flex;
}
.sb-header-slim-nav .sub-menu .sub-menu {
    top: 0; left: 100%;
    margin-left: 4px;
}
.sb-header-slim-nav .sub-menu a {
    padding: 6px 10px;
    font-size: 0.88em;
    white-space: nowrap;
}
/* Chevron for items with children */
.sb-header-slim-nav .menu-item-has-children > a::after {
    content: "▾";
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7em;
    opacity: 0.6;
}
.sb-header-slim-nav .sub-menu .menu-item-has-children > a::after {
    content: "▸";
    float: right;
    margin-left: 8px;
}
/* Burger — hidden on desktop */
.sb-header-slim-burger {
    display: none;
    background: transparent; border: none;
    padding: 8px; cursor: pointer;
    flex-direction: column; gap: 4px;
    width: 32px; height: 32px;
    justify-content: center; align-items: center;
}
.sb-header-slim-burger span {
    display: block; width: 18px; height: 2px;
    background: var(--sb-color-text, #111);
    transition: transform 0.2s, opacity 0.2s;
}
.sb-header-slim-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sb-header-slim-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sb-header-slim-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Mobile */
@media (max-width: 800px) {
    .sb-header-slim-burger { display: flex; }
    .sb-header-slim-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--sb-color-bg, #fff);
        border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
        padding: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }
    .sb-header-slim-nav.sb-slim-open { display: block; }
    .sb-header-slim-nav ul { flex-direction: column; gap: 2px; }
    .sb-header-slim-nav .sub-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }
    .sb-header-slim-nav .sub-menu .sub-menu {
        margin-left: 0;
    }
    .sb-header-slim-nav .menu-item-has-children > a::after { content: "▾"; float: right; }
}


/* ===== Footer variant: minimal-3 ===== */
/* minimal-3 — три сдержанные колонки с большим воздухом */
.sb-footer-min {
    background: var(--sb-color-bg, #fff);
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    padding: 56px 20px 28px;
    color: var(--sb-color-text, #111);
    margin-top: 56px;
}
.sb-footer-min-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
}
.sb-footer-min-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 44px;
}
.sb-footer-min-col { font-size: 0.9em; }
.sb-footer-min-col img {
    max-height: 36px;
    width: auto;
    margin-bottom: 12px;
    display: block;
}
.sb-footer-min-name {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--sb-color-text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.sb-footer-min-tagline {
    margin: 0;
    color: var(--sb-color-muted, #6b7280);
    font-size: 0.95em;
    line-height: 1.7;
    max-width: 30ch;
}
.sb-footer-min-heading {
    margin: 0 0 16px;
    font-size: 0.8em;
    color: var(--sb-color-text);
    font-weight: 600;
}
.sb-footer-min-list, .sb-footer-min .sb-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 11px;
}
.sb-footer-min-list a, .sb-footer-min .sb-menu a {
    color: var(--sb-color-muted, #6b7280);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.15s;
}
.sb-footer-min-list a:hover, .sb-footer-min .sb-menu a:hover {
    color: var(--sb-color-link);
}
.sb-footer-min-copyright {
    padding-top: 24px;
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    color: var(--sb-color-muted, #6b7280);
    font-size: 0.83em;
    text-align: center;
    letter-spacing: 0.02em;
}
@media (max-width: 800px) {
    .sb-footer-min-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .sb-footer-min-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .sb-footer-min-grid { grid-template-columns: 1fr; gap: 32px; }
}
ul {
  
    list-style-type: none;
padding-left: 0;
}
:root {
  --bg: #f3f1eb;
  --paper: #fffdf8;
  --ink: #17202a;
  --muted: #5f6b73;
  --line: #d8d5cd;
  --accent: #1f4d45;
  --accent-soft: #e6efec;
  --warm: #8b5e34;
  --max: 1180px;
}

.faq {
  display: grid;
  gap: 12px
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 8px
}

.faq summary {
  font-weight: 800;
  cursor: pointer
}

.faq p {
  margin-bottom: 0
}