/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: floating-circle, футер: newsletter-highlight, стиль: sea-glass.
Version: 1.2.4
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 ===== */

/* Sea Glass — глубокий ocean-teal, «пена», aqua и коралловый акцент */
:root {
  --sb-color-bg: #061a20;
  --sb-color-bg-alt: #0c2833;
  --sb-color-text: #eefaf7;
  --sb-color-muted: #8fb5b3;
  --sb-color-link: #5eead4;
  --sb-color-link-hover: #99f6e4;
  --sb-color-border: #17333e;
  --sb-color-accent: #ff7a59;

  --sb-font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui,
    sans-serif;
  --sb-font-heading:
    "Futura", "Avenir Next", "Century Gothic", "Segoe UI", sans-serif;
  --sb-font-size: 16px;
  --sb-line-height: 1.7;
  --sb-content-max-width: 920px;
}

/* Многослойные свечения: именно их и будет «ловить» backdrop-filter */
body.sb-site {
  background:
    radial-gradient(
      1000px 560px at 88% -12%,
      color-mix(in srgb, var(--sb-color-link) 9%, transparent),
      transparent 62%
    ),
    radial-gradient(
      860px 520px at -12% 38%,
      color-mix(in srgb, var(--sb-color-accent) 7%, transparent),
      transparent 60%
    ),
    radial-gradient(
      760px 520px at 52% 112%,
      color-mix(
        in srgb,
        color-mix(in srgb, var(--sb-color-link) 50%, var(--sb-color-accent)) 8%,
        transparent
      ),
      transparent 60%
    ),
    var(--sb-color-bg);
  background-attachment: fixed;
  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 {
  color: var(--sb-color-text);
  font-family: var(--sb-font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* H1 — «стеклянный блик»: градиент пена→aqua */
body.sb-site h1 {
  color: var(--sb-color-link-hover);
  background: linear-gradient(
    92deg,
    var(--sb-color-text) 25%,
    var(--sb-color-link) 85%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ссылки: растущее коралловое подчёркивание + aqua-свечение при hover */
body.sb-site a {
  color: var(--sb-color-link);
  text-decoration: none;
  background-image: linear-gradient(
    var(--sb-color-accent),
    var(--sb-color-accent)
  );
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition:
    color 0.2s,
    background-size 0.25s,
    text-shadow 0.2s;
}

body.sb-site a:hover {
  color: var(--sb-color-link-hover);
  background-size: 100% 1px;
  text-shadow: 0 0 14px
    color-mix(in srgb, var(--sb-color-link) 55%, transparent);
}

body.sb-site strong {
  color: var(--sb-color-link-hover);
}

/* Blockquote — стеклянная панель с blur */
body.sb-site blockquote {
  padding: 22px 26px;
  color: var(--sb-color-muted);
  background: color-mix(in srgb, var(--sb-color-bg-alt) 62%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--sb-color-border);
  border-left: 3px solid var(--sb-color-accent);
  border-radius: 16px;
  box-shadow: 0 12px 32px -16px
    color-mix(in srgb, var(--sb-color-bg) 70%, transparent);
}

/* Code — «стеклянная пилюля» */
body.sb-site code {
  color: var(--sb-color-link-hover);
  background: color-mix(in srgb, var(--sb-color-text) 7%, transparent);
  border: 1px solid var(--sb-color-border);
  padding: 2px 8px;
  border-radius: 20px;
}


body.sb-site ::selection {
  background: var(--sb-color-accent);
  color: var(--sb-color-bg);
}

/* --------------------------------------------------------------------------
   Совместимость с хедером/футером: на тёмном стекле «маркер» должен
   держать тёмный текст, иначе акцентное слово не пройдёт по контрасту
   -------------------------------------------------------------------------- */
body.sb-site .sb-header-gm-brand-accent,
body.sb-site .sb-footer-min-name-accent {
  color: var(--sb-color-bg);
}


/* ===== Header variant: floating-circle ===== */
/* templates/theme/headers/floating-circle.css */

.sb-header-floating-circle {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 20px auto 40px;
    max-width: 100%;
    padding: 0 20px;
    transition: top 0.3s ease;
}

.sb-header-floating-circle a {
    text-decoration: none;
}

.sb-header-floating-circle a::after {
    display: none !important;
    content: none !important;
}

.sb-header-floating-circle-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-inner {
    padding: 10px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   NAV — top level items
   =================================================================== */

.sb-header-floating-circle-nav {
    min-width: 0;
}

.sb-header-floating-circle-nav .sb-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
}

.sb-header-floating-circle-nav-left .sb-menu {
    justify-content: flex-end;
}

.sb-header-floating-circle-nav-right .sb-menu {
    justify-content: flex-start;
}

.sb-header-floating-circle-nav .sb-menu > li {
    margin: 0;
    position: relative;
}

/* plain items — no children */
.sb-header-floating-circle-nav .sb-menu > li > a {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 5px;
    display: block;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sb-header-floating-circle-nav .sb-menu > li > a:hover {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-header-floating-circle-nav .sb-menu > li.current > a {
    color: var(--sb-color-link, #2563eb);
}

/* items WITH children: label + caret are two independent controls that
   share one visual pill. The label keeps its own href — clicking it
   navigates like any normal link. Only the caret opens the mega panel. */
.sb-item-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sb-item-group:hover,
.sb-item-group:focus-within {
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-parent-link {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 5px 9px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    transition: color 0.2s ease;
}

.sb-item-group:hover > .sb-parent-link,
li.sb-mega-active .sb-parent-link {
    color: var(--sb-color-link, #2563eb);
}

.sb-trigger {
    display: flex;
    align-items: center;
    padding: 9px 12px 9px 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.sb-header-floating-circle-nav .sb-menu > li > a:focus-visible,
.sb-parent-link:focus-visible,
.sb-trigger:focus-visible,
.sb-header-floating-circle-brand a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: 2px;
    border-radius: 8px;
}

.sb-trigger-caret {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

li.sb-mega-active .sb-trigger-caret {
    transform: rotate(180deg);
}

/* mega-grid-data is the raw source markup, hidden until JS moves its
   contents into the shared mega panel */
.sb-mega-grid-data[hidden] {
    display: none;
}

/* ===================================================================
   BRAND / LOGO
   =================================================================== */

.sb-header-floating-circle-brand {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.sb-header-floating-circle-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px !important;
    min-width: 160px !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, min-width 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-brand a {
    width: 140px !important;
    min-width: 140px !important;
}

.sb-header-floating-circle-brand a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.sb-header-floating-circle-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sb-header-floating-circle-brand span {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--sb-font-heading, sans-serif);
    text-align: center;
}

/* the signature detail: a hairline that grows from the logo down
   toward the mega panel when it's open */
.sb-mega-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background: var(--sb-color-border, #e5e7eb);
    transition: height 0.25s ease;
    pointer-events: none;
}

.sb-header-floating-circle.sb-mega-open .sb-mega-connector {
    height: 16px;
    background: var(--sb-color-link, #2563eb);
}

/* ===================================================================
   MEGA PANEL — one shared surface, aligned to the header capsule's own
   centering (same max-width/side padding) so edges always line up.
   Height animates via grid-template-rows: no JS measuring needed.
   =================================================================== */

.sb-mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
}

.sb-mega-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sb-mega-shell {
    position: fixed;
    left: 20px;
    right: 20px;
    max-width: 1400px;
    margin-inline: auto;
    top: calc(var(--sb-header-h, 88px) + 12px);
    z-index: 999;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    pointer-events: none;
}

.sb-mega-shell.is-open {
    grid-template-rows: 1fr;
    pointer-events: auto;
}

.sb-mega-shell-inner {
    overflow: hidden;
}

.sb-mega-panel {
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 24px 28px;
    margin-top: 4px;
}

.sb-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 28px;
}

.sb-mega-grid a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--sb-color-text, #111);
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-mega-grid a:hover,
.sb-mega-grid a:focus-visible {
    background: var(--sb-color-bg-alt, #f9fafb);
    color: var(--sb-color-link, #2563eb);
}

.sb-mega-grid a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: -2px;
}

/* View All button */
.sb-floating-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #2563eb) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 8px;
    max-width: 300px;
    margin: 0 auto;
}

.sb-floating-view-all {
    width: 32px;
    height: 22px;
}

.sb-floating-view-all:hover {
    background: var(--sb-color-link-hover, #1d4ed8) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sb-floating-view-all svg {
    flex-shrink: 0;
}

.sb-floating-view-all span {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ===================================================================
   MOBILE — burger + accordion, same component, same tokens
   =================================================================== */

.sb-header-floating-circle-toggle {
    display: none;
}

.sb-header-floating-circle-mobile-menu {
    display: none;
}

@media (max-width: 968px) {
    .sb-header-floating-circle {
        top: 0;
        margin: 0;
        max-width: 100%;
        padding: 0;
    }

    .sb-header-floating-circle-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 16px 20px;
        gap: 16px;
    }

    .sb-header-floating-circle-nav,
    .sb-mega-backdrop,
    .sb-mega-shell {
        display: none !important;
    }

    .sb-header-floating-circle-brand {
        order: 2 !important;
        margin: 0;
    }

    .sb-header-floating-circle-brand a {
        width: 150px !important;
        min-width: 150px !important;
    }

    .sb-header-floating-circle-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        background: var(--sb-color-link, #2563eb) !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer;
        padding: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transition: background 0.2s ease !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        position: relative;
        order: 1 !important;
        flex-shrink: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .sb-header-floating-circle-toggle:hover {
        background: var(--sb-color-accent, #1e40af) !important;
    }

    .sb-header-floating-circle-toggle:focus-visible {
        outline: 2px solid var(--sb-color-text, #111);
        outline-offset: 3px;
    }

    .sb-header-floating-circle-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        border-radius: 2px !important;
        flex-shrink: 0 !important;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sb-header-floating-circle-mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: var(--sb-color-bg, #fff);
        transition: max-height 0.3s ease;
        border-bottom: 1px solid transparent;
    }

    .sb-header-floating-circle-mobile-menu.is-open {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        border-bottom-color: var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu {
        list-style: none;
        flex-direction: column;
        align-items: stretch;
        display: flex;
        padding: 12px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li {
        margin: 0;
        border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li:last-child {
        border-bottom: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li > a {
        width: 100%;
        color: var(--sb-color-text, #111);
        font-size: 16px;
        font-weight: 600;
        padding: 15px 0;
        display: block;
        max-width: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group {
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group:hover,
    .sb-header-floating-circle-mobile-menu .sb-item-group:focus-within {
        background: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-parent-link {
        font-size: 16px;
        padding: 15px 0;
        flex: 1;
    }

    .sb-header-floating-circle-mobile-menu .sb-trigger {
        padding: 15px 4px 15px 12px;
    }

    .sb-mobile-submenu {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.25s ease;
    }

    .sb-mobile-submenu-inner {
        overflow: hidden;
    }

    li.sb-mega-active > .sb-mobile-submenu {
        grid-template-rows: 1fr;
    }

    .sb-mobile-submenu .sb-mega-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 2px 0 14px;
        gap: 2px 20px;
        max-height: calc(3 * 44px);
        overflow-y: auto;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar {
        width: 6px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-thumb {
        background: var(--sb-color-link, #2563eb);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid a {
        font-size: 14.5px;
        color: var(--sb-color-muted, #6b7280);
        padding: 10px 10px 10px 4px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-header-floating-circle,
    .sb-header-floating-circle-inner,
    .sb-header-floating-circle-brand a,
    .sb-mega-connector,
    .sb-mega-backdrop,
    .sb-mega-shell,
    .sb-trigger-caret,
    .sb-header-floating-circle-mobile-menu,
    .sb-mobile-submenu {
        transition: none !important;
    }
}

body.sb-site button {
    background: var(--sb-color-button-bg, linear-gradient(135deg, var(--sb-color-link, #2563eb) 0%, var(--sb-color-accent, #1e40af) 100%));
    color: var(--sb-color-button-text, #ffffff);
    border: none;
    padding: 4px 12px!important;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sb-shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.sb-site .tc-s1-terms-toggle,
body.sb-site .tc-s1-terms-toggle:hover,
body.sb-site .tc-s1-terms-toggle:focus,
body.sb-site .tc-s1-terms-toggle:active,
body.sb-site .tc-s1-terms-toggle button {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transform: none !important;
}
h1 {
    margin: 0 !important;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
    margin-left: 20px;
}

.sb-site-content {
        padding: 0px 20px;
}


/* ===== Footer variant: newsletter-highlight ===== */
/* newsletter-highlight — большая колонка с формой подписки */
.sb-footer-nl {
    background: var(--sb-color-bg-alt, #f8f9fa);
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    padding: 56px 20px 24px;
    color: var(--sb-color-text, #111);
    margin-top: 48px;
}
.sb-footer-nl-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
}
.sb-footer-nl-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}
.sb-footer-nl-signup-col {
    padding-right: 20px;
}
.sb-footer-nl-signup-col img {
    max-height: 40px;
    width: auto;
    margin-bottom: 12px;
}
.sb-footer-nl-name {
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 12px;
    color: var(--sb-color-text);
}
.sb-footer-nl-heading {
    margin: 0 0 12px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sb-color-muted, #6b7280);
    font-weight: 700;
}
.sb-footer-nl-list, .sb-footer-nl .sb-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
    font-size: 0.9em;
}
.sb-footer-nl-list a, .sb-footer-nl .sb-menu a {
    color: var(--sb-color-text);
    text-decoration: none;
    transition: color 0.15s;
}
.sb-footer-nl-list a:hover, .sb-footer-nl .sb-menu a:hover {
    color: var(--sb-color-link);
    text-decoration: underline;
}
.sb-footer-nl-copyright {
    padding-top: 20px;
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    color: var(--sb-color-muted, #6b7280);
    font-size: 0.85em;
    text-align: center;
}
@media (max-width: 800px) {
    .sb-footer-nl-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .sb-footer-nl-signup-col {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}
@media (max-width: 480px) {
    .sb-footer-nl-grid { grid-template-columns: 1fr; gap: 28px; }
    .sb-footer-nl-signup-form { flex-direction: column; }
}

:root {
  --bg: #f3f1eb;
  --paper: #fffdf8;
  --line: #d8d5cd;
}

.faq {
  display: grid;
  gap: 12px
}

.faq details {
  background: #09161a;
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 8px
}

.faq summary {
  font-weight: 800;
  cursor: pointer
}

.faq p {
  margin-bottom: 0
}


/* Контейнер бренда: выравниваем содержимое по центру */
.sb-header-floating-circle-brand {
    display: flex;
    align-items: center;
    /* Можно задать максимальную ширину, чтобы логотип не стал гигантским на больших экранах */
    max-width: 200px; 
}

/* Ссылка-обертка: занимает доступное пространство и центрирует картинку */
.sb-brand-logo-link {
    display: flex;
    align-items: center;
    justify-content: center; /* или flex-start, если нужно прижать влево */
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* Само изображение логотипа: главная защита от растягивания */
.sb-brand-logo-img {
    max-width: 100%;
    max-height: 50px; /* ⚠️ ВАЖНО: Подстройте это значение под высоту вашего хедера */
    width: auto;
    height: auto;
    object-fit: contain; /* Гарантирует сохранение пропорций без искажений */
    display: block;
}

/* Стили для текстового варианта (на случай, если картинка не найдется) */
.sb-brand-text-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}