/* BG Courier Checkout — landing website v2.0.0 */

:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --surface-soft: #eef2fb;
    --ink: #101828;
    --ink-2: #3d4a60;
    --muted: #667085;
    --line: #e2e8f2;
    --primary: #3f5eea;
    --primary-dark: #2946cb;
    --primary-soft: #ecefff;
    --navy: #0d1835;
    --green: #0f9f6e;
    --warm: #f59e0b;
    --violet: #7c3aed;
    --sky: #0ea5e9;
    --viber: #7360f2;
    --whatsapp: #25d366;
    --shadow-sm: 0 8px 26px rgba(16, 24, 40, .06);
    --shadow-md: 0 18px 48px rgba(16, 24, 40, .10);
    --shadow-lg: 0 32px 80px rgba(16, 24, 40, .16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --font: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- База ---------- */

html {
    scroll-behavior: smooth;
    /* Единствен източник на отместването при anchor навигация.
       --header-h се обновява от site.js спрямо реалната височина на header-а. */
    scroll-padding-top: calc(var(--header-h, 72px) + 12px);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.btn, .navbar, .form-label, .accordion-button {
    font-family: var(--font);
}

a {
    color: var(--primary);
    text-decoration-thickness: .07em;
    text-underline-offset: .18em;
}

a:hover { color: var(--primary-dark); }

img, picture { max-width: 100%; }
picture { display: block; }
picture img { display: block; width: 100%; height: auto; }

.icon { flex: 0 0 auto; vertical-align: -.14em; }

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    padding: .7rem 1rem;
    color: #fff;
    background: var(--navy);
    border-radius: 10px;
    transform: translateY(-140%);
    transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

:focus-visible {
    outline: 3px solid rgba(63, 94, 234, .45);
    outline-offset: 2px;
}

/* ---------- Header / навигация ---------- */

.site-header {
    z-index: 1030;
    border-bottom: 1px solid rgba(226, 232, 242, .8);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 6px 26px rgba(16, 24, 40, .07);
}

.navbar { min-height: 72px; padding: .5rem 0; }

.brand { display: inline-flex; gap: .68rem; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }

.brand-mark {
    display: inline-grid;
    width: 42px; height: 42px;
    place-items: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: 13px;
    background: linear-gradient(145deg, #5271ff, #2d49c5);
    box-shadow: 0 8px 20px rgba(63, 94, 234, .28);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.brand-copy small { margin-top: .1rem; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.desktop-nav { gap: .1rem; }
.desktop-nav .nav-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .52rem .6rem !important;
    color: var(--ink-2);
    font-size: .855rem;
    font-weight: 600;
    letter-spacing: -.005em;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.desktop-nav .nav-link .nav-icon { color: #93a0b8; transition: color .2s ease; }
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active { color: var(--primary); background: var(--primary-soft); }
.desktop-nav .nav-link:hover .nav-icon,
.desktop-nav .nav-link.active .nav-icon { color: var(--primary); }

.navbar-toggler {
    display: inline-grid;
    width: 44px; height: 44px;
    padding: 0;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: none !important;
}

.mobile-offcanvas {
    --bs-offcanvas-width: min(80vw, 380px);
    border: 0 !important;
    border-radius: 0 22px 22px 0;
    background: #fff;
}
.offcanvas-backdrop.show { opacity: .66; }

.mobile-offcanvas .offcanvas-header { padding: 1rem 1.1rem; }
.mobile-offcanvas .offcanvas-body { padding-top: 1.1rem; }

.btn-close-custom {
    display: inline-grid;
    width: 42px; height: 42px;
    padding: 0;
    place-items: center;
    color: var(--ink);
    background: #f2f4f8;
    border: 0;
    border-radius: 13px;
}

.mobile-nav { display: grid; gap: .3rem; }
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem .75rem;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 13px;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--primary); background: var(--primary-soft); }
.mobile-nav-icon {
    display: inline-grid;
    width: 38px; height: 38px;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 11px;
}
.mobile-nav-arrow { color: #b3bccd; }

.mobile-menu-cta { padding: 1.1rem; color: #fff; background: var(--navy); border-radius: 18px; }
.mobile-menu-cta p { margin-bottom: .8rem; color: #c9d3eb; font-size: .88rem; }
.mobile-menu-contacts { display: flex; gap: .5rem; justify-content: center; margin-top: .9rem; }
.mobile-menu-contacts a {
    display: grid;
    width: 38px; height: 38px;
    place-items: center;
    color: #dbe3f5;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 11px;
}
.mobile-menu-contacts a:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Бутони ---------- */

.btn { font-weight: 600; letter-spacing: -.005em; border-radius: 999px; }
.btn-lg { padding: .78rem 1.6rem; font-size: .98rem; }
.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(63, 94, 234, .24);
}
.btn-soft { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-soft:hover { color: var(--primary); background: var(--primary-soft); border-color: #cbd5ff; }
.btn-outline-dark { --bs-btn-border-color: #cfd6e4; --bs-btn-color: var(--ink); --bs-btn-hover-bg: var(--ink); }

/* ---------- Секции ---------- */

/*
 * Под xl breakpoint-а .container-xl е на пълна ширина с padding 12 px, а .g-5
 * редовете ползват gutter 48 px (margin -24 px) — това изнася реда 12 px извън
 * екрана. Изравняваме padding-а на контейнера с половината gutter.
 */
@media (max-width: 1199.98px) {
    .container-xl { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.section { padding: 6rem 0; }
/* Без собствен scroll-margin — иначе се събира със scroll-padding-top на html. */
.section-anchor { scroll-margin-top: 0; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.section-kicker-light { color: #a5b6ff; }

.section-title {
    margin: .9rem 0 0;
    font-size: clamp(1.75rem, 3.1vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.018em;
}

.section-lead {
    max-width: 560px;
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: 1rem;
}
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero-section {
    position: relative;
    padding: 5.5rem 0 3.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(91, 118, 255, .14), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(13, 186, 145, .1), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, #f6f8fc 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(109, 124, 159, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 124, 159, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.eyebrow {
    gap: .5rem;
    padding: .45rem .8rem;
    color: #3148b8;
    border: 1px solid #d9e0ff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 6px 20px rgba(63, 94, 234, .07);
}
.eyebrow-dot { width: 7px; height: 7px; background: #33b787; border-radius: 50%; box-shadow: 0 0 0 4px rgba(51, 183, 135, .14); }

/* Нормализирана типография на заглавието: по-малък кегел, спокоен tracking. */
.display-title {
    max-width: 15ch;
    margin: 1.3rem 0 1.1rem;
    color: var(--ink);
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.018em;
    word-spacing: .02em;
}
.display-title span { color: var(--primary); }

.hero-lead {
    max-width: 46ch;
    margin-bottom: 0;
    color: var(--ink-2);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-2);
    font-size: .87rem;
    font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points svg { color: var(--green); }

/* Hero screenshot */
.hero-shot {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .7rem .9rem;
    color: #8b96a9;
    font-size: .72rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    background: #fafbfe;
}
.browser-dots { display: flex; gap: .3rem; }
.browser-dots span { width: 8px; height: 8px; background: #d5dbe6; border-radius: 50%; }
.browser-address { flex: 1; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.hero-shot-body { padding: .35rem; background: #fff; }
.hero-shot-img { border-radius: 12px; }

.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .75rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(13, 24, 53, .94);
    box-shadow: 0 14px 32px rgba(13, 24, 53, .24);
}
.hero-chip svg { color: #8da3ff; }
.hero-chip > span { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip strong { font-size: .7rem; font-weight: 700; }
.hero-chip small { margin-top: .1rem; color: #a9b8d6; font-size: .6rem; }
.hero-chip-one { top: 22%; right: -6%; }
.hero-chip-two { bottom: 8%; left: -7%; }

/* Логострип */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
    padding: 1.1rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}
.logo-strip-label { color: #8b96a9; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.logo-strip-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.logo-strip-items img { width: auto; height: 26px; object-fit: contain; opacity: .92; }
.logo-strip-items .logo-woo { height: 24px; }
.logo-strip-items .logo-econt { height: 22px; }
.strip-divider { width: 1px; height: 24px; background: var(--line); }

/* ---------- Продукт ---------- */

.product-section { background: #fff; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.feature-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 24, 40, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: #cfd8ea; box-shadow: var(--shadow-md); }
.feature-card h3 { margin: 1.1rem 0 .5rem; font-size: 1.08rem; font-weight: 700; letter-spacing: -.012em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.feature-icon {
    display: grid;
    width: 46px; height: 46px;
    place-items: center;
    color: var(--primary);
    border-radius: 14px;
    background: var(--primary-soft);
}
.feature-icon-warm { color: #b66d00; background: #fff3d9; }
.feature-icon-green { color: #087a55; background: #ddf7ec; }
.feature-icon-violet { color: #6c32cc; background: #efe6ff; }
.feature-icon-sky { color: #0369a1; background: #e0f2fe; }
.feature-icon-dark { color: #fff; background: var(--navy); }

/* ---------- Екрани (галерия) ---------- */

.screens-section { background: linear-gradient(180deg, #f6f8fc, #eef2f9); }

.screens-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .45rem;
    margin-bottom: 2rem;
    padding: .35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    width: fit-content;
    max-width: 100%;
}
.screens-tab {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1.05rem;
    color: var(--ink-2);
    font-size: .87rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}
.screens-tab:hover { color: var(--primary); background: var(--primary-soft); }
.screens-tab.active { color: #fff; background: var(--primary); box-shadow: 0 8px 18px rgba(63, 94, 234, .26); }

/* Хоризонтален slider със snap и „надничащ“ следващ екран */

.screens-panel[hidden] { display: none; }

.slider-shell { position: relative; }

.screens-slider {
    --per-view: 1;
    --slide-gap: 1.15rem;
    --peek: 46px;
    display: flex;
    gap: var(--slide-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .25rem .25rem 1rem;
    margin: -.25rem -.25rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.screens-slider::-webkit-scrollbar { display: none; }
.screens-slider:active { cursor: grabbing; }
.screens-slider:focus-visible { outline: 3px solid rgba(63, 94, 234, .45); outline-offset: 4px; border-radius: var(--radius-md); }

.screens-slider > .shot-card {
    flex: 0 0 calc((100% - var(--peek) - (var(--per-view) - 1) * var(--slide-gap)) / var(--per-view));
    scroll-snap-align: start;
}

.shot-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}
.shot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shot-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #f7f9fd;
    cursor: zoom-in;
}
.shot-open picture { max-height: 300px; overflow: hidden; }
.shot-open img { object-fit: cover; object-position: top center; -webkit-user-drag: none; user-select: none; }
.shot-zoom {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    display: grid;
    width: 32px; height: 32px;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: rgba(13, 24, 53, .78);
    opacity: 0;
    transition: opacity .2s ease;
}
.shot-card:hover .shot-zoom,
.shot-open:focus-visible .shot-zoom { opacity: 1; }
.shot-card figcaption { padding: .9rem 1rem 1.05rem; border-top: 1px solid var(--line); }
.shot-card figcaption strong { display: block; font-size: .94rem; font-weight: 700; }
.shot-card figcaption span { display: block; margin-top: .18rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }

/* Стрелки */
.slider-nav {
    position: absolute;
    top: 40%;
    z-index: 3;
    display: none;
    width: 42px; height: 42px;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-md);
    transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.slider-nav:hover { color: var(--primary); transform: translateY(-1px); }
.slider-nav[disabled] { opacity: 0; pointer-events: none; }
.slider-prev { left: -18px; }
.slider-next { right: -18px; }

/* Точки */
.slider-dots {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    margin-top: 1.2rem;
}
.slider-dot {
    width: 9px; height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c6cfe0;
    transition: width .25s ease, background .25s ease;
}
.slider-dot:hover { background: #9aa8c4; }
.slider-dot.is-active { width: 26px; background: var(--primary); }

@media (min-width: 576px) {
    .screens-slider { --per-view: 2; }
}

@media (min-width: 992px) {
    .screens-slider { --per-view: 3; --peek: 58px; }
    .slider-nav { display: grid; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background: rgba(8, 14, 30, .88);
    backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 1000px; max-height: 100%; margin: 0; overflow: auto; text-align: center; }
.lightbox-figure img { max-width: 100%; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.lightbox-figure figcaption { margin-top: .9rem; color: #dfe6f5; font-size: .9rem; font-weight: 600; }
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1rem;
    display: grid;
    width: 44px; height: 44px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Как работи ---------- */

.process-section { background: #fff; }
.process-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.process-card {
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, #f7f9ff, #fff);
    box-shadow: var(--shadow-sm);
}
.process-step {
    display: inline-grid;
    width: 38px; height: 38px;
    place-items: center;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 12px;
    background: var(--primary);
}
.process-card h3 { margin: 1.3rem 0 .5rem; font-size: 1.1rem; font-weight: 700; }
.process-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Цени ---------- */

.pricing-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0, rgba(91, 118, 255, .3), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(14, 164, 126, .18), transparent 32%),
        var(--navy);
}

.pricing-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
}
.pricing-card-featured { border: 2px solid #7d93ff; }

.popular-badge {
    position: absolute;
    top: -13px; right: 24px;
    padding: .4rem .75rem;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(63, 94, 234, .38);
}

.plan-name { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-top: .7rem; }
.price strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.price-description { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }

.pricing-list {
    display: grid;
    gap: .7rem;
    margin: 1.4rem 0 1.8rem;
    padding: 1.3rem 0 0;
    list-style: none;
    border-top: 1px solid #eaeef5;
}
.pricing-list li { display: flex; align-items: flex-start; gap: .55rem; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.pricing-list svg { margin-top: .32rem; color: var(--green); }
.pricing-list .muted-item { color: #98a2b3; }
.pricing-list .muted-item svg { color: #c3cbd9; }
.pricing-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */

.faq-section { background: #fff; }
.text-cta { display: inline-flex; align-items: center; margin-top: 1.2rem; font-weight: 600; text-decoration: none; }
.faq-accordion { border-top: 1px solid var(--line); }
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq-accordion .accordion-button {
    padding: 1.2rem .2rem;
    color: var(--ink);
    font-size: .98rem;
    font-weight: 600;
    background: transparent;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--primary); }
.faq-accordion .accordion-button::after { padding: .9rem; border-radius: 50%; background-color: #f1f4f9; background-position: center; background-size: .95rem; }
.faq-accordion .accordion-body { padding: 0 .2rem 1.25rem; color: var(--muted); font-size: .94rem; }

/* ---------- Контакти ---------- */

.contact-section { padding-top: 2.5rem; background: #fff; }
.contact-shell { overflow: hidden; border-radius: 26px; background: var(--navy); box-shadow: var(--shadow-lg); }
.contact-intro {
    height: 100%;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    color: #fff;
    background: radial-gradient(circle at 0 0, rgba(91, 118, 255, .3), transparent 42%), var(--navy);
}
.contact-intro h2 { margin: .8rem 0 .8rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.contact-intro > p { color: #b9c6de; font-size: .95rem; }

.contact-direct { display: grid; gap: .6rem; margin-top: 1.8rem; }
.contact-direct a { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.contact-direct a:hover .contact-direct-icon { background: rgba(255, 255, 255, .14); }
.contact-direct-icon {
    display: grid;
    width: 40px; height: 40px;
    place-items: center;
    color: #a9b8ff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    transition: background .2s ease;
}
.contact-direct-icon.icon-viber { color: #b4a8ff; }
.contact-direct-icon.icon-whatsapp { color: #6ee7a8; }
.contact-direct a > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.contact-direct small { color: #8fa0bf; font-size: .72rem; }
.contact-direct strong { font-size: .9rem; font-weight: 600; }

.contact-note { display: flex; gap: .6rem; margin-top: 1.8rem; padding-top: 1.3rem; color: #93a7d0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-note p { margin: 0; font-size: .78rem; }

.contact-form-wrap { height: 100%; padding: clamp(1.8rem, 4vw, 3.2rem); background: #fff; }
.contact-form .form-label { color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.contact-form .form-control,
.contact-form .form-select {
    min-height: 50px;
    color: var(--ink);
    font-family: var(--font);
    font-size: .93rem;
    border-color: #dae1ec;
    border-radius: 12px;
    background-color: #fbfcfe;
}
.contact-form textarea.form-control { min-height: 140px; resize: vertical; }
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: #94a6ff; box-shadow: 0 0 0 .22rem rgba(63, 94, 234, .1); }
.consent-check { padding-left: 1.7rem; color: var(--muted); font-size: .8rem; }
.contact-submit { min-width: 240px; }
/* Съобщения след изпращане на формата */
.form-alert {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: 1.6rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 120px;
}
.form-alert:focus { outline: none; }
.form-alert strong { display: block; font-size: .95rem; font-weight: 700; }
.form-alert p { margin: .25rem 0 0; color: var(--ink-2); font-size: .88rem; line-height: 1.6; }
.form-alert ul { margin: .35rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .88rem; }
.form-alert li + li { margin-top: .2rem; }
.form-alert-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px; height: 32px;
    place-items: center;
    border-radius: 10px;
}
.form-alert-success { border-left-color: var(--green); background: #f4fdf9; }
.form-alert-success .form-alert-icon { color: #fff; background: var(--green); }
.form-alert-error { border-left-color: #dc3545; background: #fff6f6; }
.form-alert-error .form-alert-icon { color: #fff; background: #dc3545; }
.form-alert-fallback { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }
.form-alert-fallback a { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; text-decoration: none; }

/* Cloudflare Turnstile */
.turnstile-box { display: flex; justify-content: flex-start; min-height: 68px; }
.turnstile-box .cf-turnstile { max-width: 100%; }

.contact-alert { border-radius: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Страница „Ресурси“ ---------- */

.page-hero {
    padding: 4rem 0 3.2rem;
    color: #fff;
    background: radial-gradient(circle at 8% 0, rgba(91, 118, 255, .32), transparent 34%), var(--navy);
}
.page-hero h1 { margin: .9rem 0 .6rem; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { max-width: 620px; margin: 0; color: #b9c6dc; font-size: 1rem; }

.resources-section { padding-top: 3.5rem; background: #fff; }
.resources-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 2.2rem; align-items: start; }

.resources-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.resources-menu { padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fbfcfe; }
.resources-menu-title { margin: .3rem .5rem .7rem; color: #98a2b3; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.resources-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .7rem;
    padding: .65rem .7rem;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 12px;
}
.resources-link:hover { color: var(--primary); background: var(--primary-soft); }
.resources-link.active { color: var(--primary); background: var(--primary-soft); }
.resources-link-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--primary); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.resources-link.active .resources-link-icon { border-color: #c9d3ff; }
.resources-link-arrow { color: #b3bccd; }
.resources-link.is-disabled { color: #a4adbd; cursor: not-allowed; }
.resources-link.is-disabled .resources-link-icon { color: #b6bdcb; }
.resources-soon { margin-left: auto; padding: .18rem .45rem; color: #7d8798; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #eef1f6; border-radius: 999px; }

.resources-help { padding: 1.25rem; color: #cfd8ea; text-align: center; background: var(--navy); border-radius: var(--radius-md); }
.resources-help svg { color: #8da3ff; }
.resources-help p { margin: .6rem 0 .9rem; color: #dbe3f5; font-size: .88rem; font-weight: 600; }

.resource-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.resource-panel[hidden] { display: none; }
.resource-head { display: flex; gap: 1rem; padding: 1.6rem 1.7rem 0; }
.resource-badge { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 14px; }
.resource-head h2 { margin: 0 0 .35rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.resource-head p { margin: 0; color: var(--muted); font-size: .93rem; }
.resource-actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.3rem 1.7rem; }
.resource-embed { padding: 0 1.7rem 1.7rem; }
.resource-embed object { display: block; width: 100%; height: min(78vh, 820px); border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f4f6fa; }
.resource-fallback { padding: 2rem; color: var(--muted); text-align: center; }

/* ---------- Страница „Демо“ ---------- */

.demo-hero {
    position: relative;
    padding: 4rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0, rgba(91, 118, 255, .34), transparent 36%),
        radial-gradient(circle at 96% 90%, rgba(14, 164, 126, .16), transparent 34%),
        var(--navy);
}

.demo-title {
    max-width: 17ch;
    margin: 1rem 0 .9rem;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.02em;
}
.demo-lead { max-width: 46ch; margin: 0; color: #b9c6de; font-size: 1rem; line-height: 1.72; }

.demo-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.8rem; }
.demo-host {
    display: inline-flex; align-items: center;
    padding: .55rem .9rem;
    color: #a9b8ff; font-size: .82rem; font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
    background: rgba(255, 255, 255, .05);
}

.demo-facts {
    display: flex; flex-wrap: wrap; gap: 1.1rem;
    margin: 1.5rem 0 0; padding: 0; list-style: none;
    color: #cbd6ea; font-size: .85rem; font-weight: 600;
}
.demo-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.demo-facts svg { color: #4fd1a5; }

.demo-hero-shot {
    max-width: 560px; margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}
.demo-hero-shot .browser-bar { background: #f5f7fc; }
.demo-hero-body { padding: .3rem; }
.demo-hero-body picture { max-height: 420px; overflow: hidden; border-radius: 12px; }
.demo-hero-body img { object-fit: cover; object-position: top center; }
.demo-hero-body a { display: block; }

/* Фокус върху checkout */
.demo-focus { background: #fff; }
.demo-focus-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: start; }
.demo-focus-shot {
    margin: 0; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius-md);
    background: #fff; box-shadow: var(--shadow-md);
}
.demo-focus-shot picture { max-height: 460px; overflow: hidden; }
.demo-focus-shot img { object-fit: cover; object-position: top center; }
.demo-focus-shot figcaption { padding: 1rem 1.2rem 1.2rem; border-top: 1px solid var(--line); }
.demo-focus-shot figcaption strong { display: block; font-size: .95rem; font-weight: 700; }
.demo-focus-shot figcaption span { display: block; margin-top: .2rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }

.demo-focus-points { display: grid; gap: .9rem; }
.demo-point {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1.2rem;
    border: 1px solid var(--line); border-radius: var(--radius-md);
    background: #fbfcfe;
}
.demo-point-icon {
    display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center;
    color: var(--primary); background: var(--primary-soft); border-radius: 13px;
}
.demo-point-green { color: #087a55; background: #ddf7ec; }
.demo-point-violet { color: #6c32cc; background: #efe6ff; }
.demo-point h3 { margin: 0 0 .25rem; font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; }
.demo-point p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Стъпки */
.demo-steps-section { background: linear-gradient(180deg, #f6f8fc, #eef2f9); }
.demo-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
    margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.demo-steps li {
    padding: 1.4rem;
    border: 1px solid var(--line); border-radius: var(--radius-md);
    background: #fff; box-shadow: var(--shadow-sm);
}
.demo-steps span {
    display: inline-grid; width: 34px; height: 34px; place-items: center;
    color: #fff; font-size: .9rem; font-weight: 700;
    background: var(--primary); border-radius: 11px;
}
.demo-steps p { margin: .9rem 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }

/* Галерия */
.demo-gallery-section { background: #fff; }
.demo-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.demo-gallery .shot-open picture { max-height: 240px; }

/* CTA */
.demo-cta { padding: 0 0 5rem; background: #fff; }
.demo-cta-inner {
    display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
    padding: 2rem 2.2rem;
    color: #fff;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 6% 0, rgba(91, 118, 255, .34), transparent 40%), var(--navy);
}
.demo-cta-inner h2 { margin: 0 0 .3rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; }
.demo-cta-inner p { margin: 0; color: #b9c6de; font-size: .92rem; }
.demo-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

@media (max-width: 991.98px) {
    .demo-focus-grid { grid-template-columns: 1fr; }
    .demo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .demo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .demo-hero { padding: 3rem 0 2.5rem; }
    .demo-title { max-width: none; }
    .demo-actions .btn { width: 100%; justify-content: center; }
    .demo-host { width: 100%; justify-content: center; }
    .demo-steps { grid-template-columns: 1fr; }
    .demo-gallery { grid-template-columns: 1fr; }
    .demo-cta-inner { padding: 1.5rem; }
    .demo-cta-actions { width: 100%; }
    .demo-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */

.site-footer { padding-top: 4.5rem; color: #c3cee1; background: #0a1227; font-size: .92rem; }
.footer-main { padding-bottom: 2.8rem; }
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-copy small { color: #8493af; }
.footer-description { max-width: 380px; color: #8f9db6; font-size: .9rem; }

.footer-brands { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .5rem .85rem;
    background: #fff;
    border-radius: 11px;
    transition: transform .2s ease;
}
.footer-brand-chip:hover { transform: translateY(-2px); }
.footer-brands img { height: 20px; width: auto; object-fit: contain; }

.footer-title { margin-bottom: 1rem; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .62rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #a2aec4; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-nav-links a,
.footer-contact-links a { display: inline-flex; align-items: center; }
.footer-nav-links a svg { color: #6f7d97; }
.footer-nav-links a:hover svg { color: #9fb1ff; }

.footer-contact-links li { line-height: 1.4; }
.footer-contact-icon {
    display: inline-grid;
    width: 28px; height: 28px;
    flex: 0 0 28px;
    margin-right: .55rem;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .07);
}
.footer-contact-icon.icon-viber { color: #b4a8ff; }
.footer-contact-icon.icon-whatsapp { color: #6ee7a8; }
.footer-contact-icon.icon-mail,
.footer-contact-icon.icon-phone { color: #9fb1ff; }

.footer-trademark { max-width: 900px; margin: 0 0 1.4rem; color: #6b7891; font-size: .74rem; line-height: 1.6; }
.footer-bottom { padding: 1.2rem 0; color: #73829e; font-size: .78rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom a { color: #b8c4dc; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Плаващи бутони (Viber + към началото) ---------- */

.float-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float-btn {
    display: grid;
    width: 50px; height: 50px;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.float-btn:hover { color: #fff; transform: translateY(-3px); }

.float-viber { background: var(--viber); box-shadow: 0 12px 28px rgba(115, 96, 242, .42); }
.float-viber .float-tip {
    position: absolute;
    right: 60px;
    padding: .3rem .6rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(13, 24, 53, .92);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.float-viber { position: relative; }
.float-viber:hover .float-tip { opacity: 1; }

/* Бутонът „към началото“ е под Viber и се появява при скрол — Viber остава на място. */
.float-top {
    background: var(--primary);
    box-shadow: 0 12px 28px rgba(63, 94, 234, .35);
    opacity: 0;
    visibility: hidden;
}
.float-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Съгласие за бисквитки ---------- */

.cookie-consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1055;
    width: min(420px, calc(100vw - 40px));
    overflow: hidden;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.cookie-consent[hidden] { display: none; }

.cookie-consent-body { padding: 1.35rem 1.4rem 1.15rem; }
.cookie-consent-body h2 { margin: 0 0 .55rem; font-size: 1.08rem; font-weight: 700; letter-spacing: -.012em; }
.cookie-consent-body p { margin: 0; color: var(--ink-2); font-size: .86rem; line-height: 1.62; }
.cookie-consent-body a { font-weight: 600; }

.cookie-consent-settings { padding: .3rem 1.4rem 1rem; border-top: 1px solid var(--line); }
.cookie-consent-settings[hidden] { display: none; }
.cookie-option { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .85rem 0; }
.cookie-option + .cookie-option { border-top: 1px solid #f0f3f8; }
.cookie-option strong { display: block; font-size: .88rem; font-weight: 700; }
.cookie-option span { display: block; margin-top: .12rem; color: var(--muted); font-size: .76rem; line-height: 1.5; }

.cookie-switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-switch > span[aria-hidden] {
    position: absolute;
    inset: 0;
    background: #d6dce8;
    border-radius: 999px;
    transition: background .2s ease;
}
.cookie-switch > span[aria-hidden]::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(16, 24, 40, .2);
    transition: transform .2s ease;
}
.cookie-switch input:checked + span[aria-hidden] { background: var(--primary); }
.cookie-switch input:checked + span[aria-hidden]::after { transform: translateX(18px); }
.cookie-switch.is-locked { cursor: default; }
.cookie-switch.is-locked input:checked + span[aria-hidden] { background: #9fb0e8; }
.cookie-switch input:focus-visible + span[aria-hidden] { outline: 3px solid rgba(63, 94, 234, .45); outline-offset: 2px; }

.cookie-consent-actions { display: grid; gap: .55rem; padding: 1rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.btn-consent { width: 100%; padding: .72rem 1rem; font-size: .9rem; font-weight: 600; border-radius: 12px; }
.btn-consent-primary { color: #fff; background: var(--navy); border: 1px solid var(--navy); }
.btn-consent-primary:hover { color: #fff; background: #16244a; }
.btn-consent-ghost { color: var(--ink-2); background: #f1f3f8; border: 1px solid transparent; }
.btn-consent-ghost:hover { color: var(--ink); background: #e6eaf3; }
.btn-consent[hidden] { display: none; }

/* ---------- Товарителници ---------- */

.shipment-section { background: linear-gradient(180deg, #eef2f9, #f6f8fc); }
.shipment-lead { max-width: 48ch; margin: 1.1rem 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.72; }
.shipment-list { display: grid; gap: .6rem; margin: 1.5rem 0 1.2rem; padding: 0; list-style: none; }
.shipment-list li { display: flex; align-items: flex-start; gap: .55rem; color: var(--ink-2); font-size: .94rem; font-weight: 500; }
.shipment-list svg { margin-top: .3rem; color: var(--green); }

.shipment-visual { position: relative; padding: 0 0 3rem 0; }
.shipment-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.shipment-shot-back { box-shadow: var(--shadow-md); }
.shipment-shot-front {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    max-width: 240px;
    box-shadow: var(--shadow-lg);
}
.shipment-shot-front img { object-fit: contain; background: #fff; }

/* ---------- Персонализация ---------- */

.custom-band { padding: 0 0 1rem; background: #fff; }
.custom-band-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    align-items: center;
    padding: 1.8rem 2rem;
    border: 1px solid #dbe3f5;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #f2f5ff, #fbfcff 60%);
}
.custom-band-icon {
    display: grid;
    width: 52px; height: 52px;
    flex: 0 0 52px;
    place-items: center;
    color: var(--primary);
    background: #fff;
    border: 1px solid #dbe3f5;
    border-radius: 16px;
}
.custom-band-copy { flex: 1 1 320px; }
.custom-band-copy h2 { margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.014em; }
.custom-band-copy p { margin: 0; color: var(--muted); font-size: .93rem; }
.custom-band-cta { flex: 0 0 auto; }

/* ---------- Правни страници ---------- */

.legal-hero { padding: 4rem 0 3rem; color: #fff; background: radial-gradient(circle at 10% 0, rgba(91, 118, 255, .32), transparent 32%), var(--navy); }
.legal-hero h1 { margin: .8rem 0 .6rem; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.legal-hero p { max-width: 700px; margin: 0; color: #b9c6dc; font-size: 1rem; }
.legal-section { padding: 4rem 0; background: #fff; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); gap: 3.5rem; justify-content: center; }
.legal-aside-card { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem; color: var(--ink-2); font-size: .88rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f9fafd; }
.legal-aside-card strong { color: var(--ink); }
.legal-aside-card a { margin-top: .6rem; font-weight: 600; text-decoration: none; }
.legal-content h2 { margin: 2.2rem 0 .7rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { color: var(--ink-2); font-size: .94rem; }
.legal-content ul { display: grid; gap: .4rem; }
.cookie-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.cookie-table { min-width: 660px; margin: 0; font-size: .9rem; }
.cookie-table th { color: var(--ink); background: #f2f5f9; }
.cookie-table td,
.cookie-table th { padding: .85rem; vertical-align: top; border-color: var(--line); }
.cookie-table code { color: #3048bf; }

/* ---------- Анимации ---------- */

.reveal-item { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
    /* Седем пункта в менюто — по-стегнати отстояния, за да се поберат от 992px нагоре. */
    .desktop-nav .nav-link { padding: .5rem .5rem !important; font-size: .82rem; }
    .desktop-nav .nav-link .nav-icon { width: 15px; height: 15px; }

    .hero-chip-one { right: -2%; }
    .hero-chip-two { left: -2%; }
    .resources-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 1.6rem; }
}

@media (max-width: 991.98px) {
    .hero-section { padding-top: 3.8rem; }
    .hero-shot { margin-top: .8rem; }
    .section { padding: 4.5rem 0; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-row { grid-template-columns: 1fr; }
    .pricing-row { grid-template-columns: 1fr; max-width: 520px; }
    .resources-layout { grid-template-columns: minmax(0, 1fr); }
    .resources-aside { position: static; }
    .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .legal-aside-card { position: static; }
}

@media (max-width: 767.98px) {
    .navbar { min-height: 66px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
    .display-title { max-width: none; font-size: clamp(1.85rem, 7.4vw, 2.4rem); }
    .hero-lead { max-width: none; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-chip { display: none; }
    .logo-strip { gap: 1rem; margin-top: 2.5rem; padding: 1rem; }
    .logo-strip-items { gap: 1rem; }
    .logo-strip-items img { height: 21px; }
    .logo-strip-items .logo-woo { height: 19px; }
    .feature-grid { grid-template-columns: 1fr; }
    .screens-tabs { width: 100%; justify-content: center; }
    .screens-tab { flex: 1 1 auto; justify-content: center; padding: .5rem .7rem; font-size: .8rem; }
    .contact-form-wrap,
    .contact-intro { padding: 1.8rem 1.2rem; }
    .contact-submit { width: 100%; min-width: 0; }
    .resource-head,
    .resource-actions,
    .resource-embed { padding-left: 1.1rem; padding-right: 1.1rem; }
    .resource-embed object { height: 60vh; }
    .cookie-consent { right: 12px; bottom: 12px; left: 12px; width: auto; }
    .cookie-consent-body { padding: 1.15rem 1.15rem 1rem; }
    .cookie-consent-settings { padding-left: 1.15rem; padding-right: 1.15rem; }
    .cookie-consent-actions { padding: .9rem 1.15rem 1.15rem; }
    .shipment-visual { padding-bottom: 2.2rem; }
    .shipment-shot-front { width: 46%; }
    .custom-band-inner { padding: 1.4rem; }
    .custom-band-cta { width: 100%; justify-content: center; }
    .float-stack { right: 14px; bottom: 14px; gap: 10px; }
    .float-btn { width: 46px; height: 46px; border-radius: 14px; }
    .float-viber .float-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    .reveal-item { opacity: 1; transform: none; }
}
