/*
Theme Name: ViktoR Studio
Theme URI: https://viktor.studio
Author: ViktoR WebProjects
Author URI: https://viktor.studio
Description: Темна преміум-тема WordPress у стилі tech/agency з трьохвимірним hero-інтеракцією, outline-типографікою, fullscreen-навігацією та magazine-композицією. Побудовано на базі Tailwind CSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viktor-studio
Tags: dark, one-column, custom-menu, custom-logo, featured-images, full-width-template, translation-ready, blog, portfolio, editor-style, block-styles, wide-blocks
*/

/* ==================================================
   1. RESET & BASE TOKENS
   ================================================== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --bg-card: #f0f0f0;
    --text-primary: #050505;
    --text-secondary: #555555;
    --outline-stroke: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.05);
    --brand-teal: #0b6b61;
    --brand-teal-soft: rgba(13, 148, 136, 0.1);
    --brand-teal-soft-2: rgba(13, 148, 136, 0.08);
    --brand-teal-gradient: linear-gradient(135deg, #0b6b61 0%, #0d9488 55%, #14b8a6 100%);

    /* Дії (CTA, кнопки, активні посилання, focus-ring) — малиновий */
    --brand-raspberry: #c2185b;
    --brand-raspberry-600: #ad1457;
    --brand-raspberry-700: #880e4f;
    --brand-raspberry-soft: rgba(194, 24, 91, 0.1);
    --brand-raspberry-soft-2: rgba(194, 24, 91, 0.06);
    --brand-raspberry-ring: rgba(194, 24, 91, 0.25);
    --focus-ring-width: 3px;
}

.theme-dark,
.dark {
    --bg-primary: #080808;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --outline-stroke: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.05);
    /* Світліший відтінок для контрасту ≥4.5:1 на темному тлі */
    --brand-raspberry: #f06292;
    --brand-raspberry-600: #ec407a;
    --brand-raspberry-soft: rgba(240, 98, 146, 0.16);
    --brand-raspberry-soft-2: rgba(240, 98, 146, 0.1);
    --brand-raspberry-ring: rgba(240, 98, 146, 0.32);
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-raspberry);
}

/* ===== Глобальний focus-ring (a11y) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-raspberry);
    outline-offset: 3px;
    box-shadow: 0 0 0 var(--focus-ring-width) var(--brand-raspberry-ring);
    border-radius: 2px;
}

/* Скасовуємо дефолтний focus на миші, лишаємо тільки з клавіатури */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ==================================================
   2. TYPOGRAPHY
   ================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--outline-stroke);
    font-weight: 900;
    user-select: none;
    pointer-events: none;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    border-bottom: 1px solid currentColor;
    display: inline-block;
    padding-bottom: 0.5rem;
    color: var(--text-primary);
    opacity: 0.6;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ==================================================
   3. LAYOUT HELPERS
   ================================================== */
.site {
    min-height: 100vh;
    background: var(--bg-primary);
}

.site-content {
    position: relative;
    z-index: 1;
}

.site-content {
    padding-top: var(--site-header-h, 92px);
}

.site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Загальний обмежувач ширини контенту сторінок, щоб
   не розтягуватися на ультрашироких моніторах. */
.page-content,
.section > .container-wide,
.site-main > .page-content,
.site-main > section {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1600px) {
    .page-content {
        max-width: 1440px;
    }
}

.section {
    padding: 8rem 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem clamp(2rem, 5vw, 6rem);
    }
}

/* Контент секцій (не фон) обмежений 1600px — як і шапка.
   Фон секції лишається на всю ширину, а дочірні елементи центруються. */
.section > * {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.section--bordered {
    border-top: 1px solid var(--border-color);
}

.section--secondary {
    background: var(--bg-secondary);
}

.container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container-wide {
        padding: 0 clamp(2rem, 5vw, 6rem);
    }
}

/* ==================================================
   4. HEADER
   ================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    z-index: 110;
    color: var(--text-primary);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease,
                box-shadow 0.3s ease, border-color 0.3s ease,
                transform 0.25s ease;
    isolation: isolate;
    /* Без mix-blend-mode — без маски поверх героя/бекграундів. */
}

@media (min-width: 768px) {
    .site-header {
        padding: 1.5rem 2rem;
    }
}

.site-header.is-sticky {
    background: #ffffff;
    color: #0a0a0a;
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.site-header.is-hidden {
    transform: translate3d(0, -120%, 0);
}

.site-header.is-sticky.is-dark {
    background: #0a0a0a;
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.site-header.is-on-light:not(.is-sticky) {
    color: var(--text-primary);
}

.site-header.is-on-dark:not(.is-sticky) {
    color: #ffffff;
}

/* Соцмережі винесли у fullscreen-меню, тож блок у шапці схований,
   навіть якщо його залишили в DOM. */
.site-header__socials {
    display: none !important;
}

.site-header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: inherit;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .site-header__logo {
        font-size: 1.75rem;
    }
}

.site-header__logo a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header__logo .custom-logo {
    display: block;
    height: 28px;
    width: auto;
}

@media (min-width: 768px) {
    .site-header__logo .custom-logo {
        height: 32px;
    }
}

.site-header__logo .accent {
    color: var(--brand-teal);
}

.site-header__logo .light {
    font-weight: 300;
}

/* === Brand dali_win === */
.site-header__logo .brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-decoration: none;
    color: inherit;
    gap: 0.3rem;
    position: relative;
    isolation: isolate;
}

.site-header__logo .brand__mark {
    display: inline-flex;
    align-items: baseline;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--brand-teal);
    background: var(--brand-teal-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 0 rgba(13, 148, 136, 0.05);
    transition: filter 0.3s ease;
}

@media (min-width: 768px) {
    .site-header__logo .brand__mark {
        font-size: 1.55rem;
    }
}

.site-header__logo .brand__d,
.site-header__logo .brand__ali,
.site-header__logo .brand__sep,
.site-header__logo .brand__win {
    display: inline-block;
    font-weight: 800;
}

.site-header__logo .brand__d {
    /* Літера «d» як «d» в лого, без додаткової ваги */
}

.site-header__logo .brand__ali {
    font-weight: 600;
}

.site-header__logo .brand__sep {
    color: var(--brand-raspberry);
    -webkit-text-fill-color: var(--brand-raspberry);
    margin: 0 0.05em;
    opacity: 0.55;
    transform: translateY(-0.05em);
    font-weight: 400;
}

.site-header__logo .brand__win {
    /* «win» — імітація трикутного «крила» через skew + жирну вагу */
    transform: skewX(-6deg) translateY(0);
    transform-origin: left bottom;
    font-weight: 900;
    margin-left: 0.02em;
    /* «win» — малиновий (action-акцент), без teal-градієнта */
    color: var(--brand-raspberry);
    -webkit-text-fill-color: var(--brand-raspberry);
    background: none;
    text-shadow: 0 1px 0 rgba(194, 24, 91, 0.08);
}

.site-header__logo .brand__tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--brand-teal);
    padding: 0.18em 0.55em 0.22em;
    border-radius: 2px;
    line-height: 1.1;
    /* Асиметрична «стрічка» — імітація underline-банера з лого */
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    box-shadow: 0 1px 0 rgba(13, 148, 136, 0.25);
}

@media (min-width: 768px) {
    .site-header__logo .brand__tag {
        font-size: 0.6rem;
    }
}

.dark .site-header__logo .brand__tag {
    background: #0f766e;
    color: #ffffff;
}

/* На світлій/темній темі — лишаємо читабельним */
.site-header.is-sticky .site-header__logo .brand__mark,
.site-header.is-sticky.is-dark .site-header__logo .brand__mark {
    /* Градієнт працює на обох фонах */
    color: var(--brand-raspberry);
}

/* Підсвічування при ховері лого */
.site-header__logo a.brand:hover .brand__mark {
    filter: brightness(1.08) saturate(1.1);
}

.site-header__logo a.brand:hover .brand__tag {
    background: #0f766e;
}

/* ====================================================
 * Горизонтальне меню в header (desktop only)
 * ==================================================== */
.site-header__nav {
    display: none;
    flex: 1;
    justify-content: center;
    margin: 0;
    justify-self: center;
}

@media (min-width: 1024px) {
    .site-header__nav {
        display: flex;
    }
}

.site-header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.site-header__nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.site-header__nav-link {
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.site-header__nav-link:hover,
.site-header__nav-item.is-open > .site-header__nav-link {
    color: var(--brand-raspberry);
}

.site-header__nav-link.is-current {
    color: var(--brand-raspberry);
}

.site-header__nav-caret {
    appearance: none;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__nav-item.is-open .site-header__nav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* Випадне підменю (desktop) */
.site-header__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    background: #ffffff;
    color: #0a0a0a;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
    isolation: isolate;
    counter-reset: header-dropdown-counter;
}

.site-header.is-sticky.is-dark .site-header__dropdown {
    background: #0a0a0a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.site-header.is-sticky.is-dark .site-header__dropdown a {
    color: #ffffff;
}

.site-header.is-sticky.is-dark .site-header__dropdown a:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
}

/* Overflow guard: якщо елемент виходить за правий край — перекидаємо ліворуч */
.site-header__nav-item.is-open .site-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.site-header__nav-item.has-dropdown--flip .site-header__dropdown {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-6px);
}

.site-header__nav-item.has-dropdown--flip.is-open .site-header__dropdown {
    transform: translateX(0) translateY(0);
}

.site-header__dropdown li {
    margin: 0;
    counter-increment: header-dropdown-counter;
}

.site-header__dropdown a {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header__dropdown a::before {
    content: counter(header-dropdown-counter, decimal-leading-zero);
    font-size: 1.3em;
    font-weight: 300;
    opacity: 0.55;
    color: var(--brand-raspberry);
    transform: translateY(-0.05em);
    flex: 0 0 auto;
}

.site-header__dropdown a:hover::before,
.site-header__dropdown a:focus-visible::before {
    color: #ffffff;
    opacity: 1;
}

.site-header__dropdown a:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
}

/* CTA-кнопка "Отримати консультацію" */
.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.65rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: 9999px;
    transition: all 0.2s ease;
    background: transparent;
}

.site-header__cta-mobile {
    display: none;
}

.site-header__cta:hover {
    background: var(--brand-raspberry);
    color: #ffffff !important;
    border-color: var(--brand-raspberry);
}

.site-header__burger {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .site-header {
        grid-template-columns: auto 1fr auto auto auto;
        grid-template-areas: "logo nav cta actions menu";
    }
    .site-header__logo { grid-area: logo; }
    .site-header__nav { grid-area: nav; }
    .site-header__cta { grid-area: cta; }
    .site-header__actions { grid-area: actions; }
    .site-header__burger { grid-area: menu; }
}

@media (max-width: 1023px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "menu logo cta";
        gap: 0.75rem;
        padding: 0.9rem 1rem;
    }
    .site-header__logo { grid-area: logo; justify-self: center; }
    .site-header__nav { display: none !important; }
    .site-header__actions { display: none !important; }
    .site-header__cta { grid-area: cta; justify-self: end; padding: 0.5rem 0.85rem; font-size: 0.72rem; min-width: 96px; justify-content: center; }
    .site-header__burger { grid-area: menu; justify-self: start; flex-direction: row-reverse; width: 48px; justify-content: flex-start; padding: 0.25rem 0; }
    .burger-lines { width: 30px; gap: 5px; }
}

/* Дуже вузькі екрани (≤480px): ховаємо підпис-плашку бренду,
   зменшуємо кнопку CTA, щоб три блоки (burger/logo/cta) поміщались. */
@media (max-width: 480px) {
    .site-header {
        gap: 0.4rem;
        padding: 0.6rem 0.6rem;
    }
    .site-header__logo .brand {
        gap: 0.15rem;
    }
    .site-header__logo .brand__mark {
        font-size: 1.0rem;
        letter-spacing: -0.03em;
    }
    .site-header__logo .brand__sep {
        margin: 0 0.02em;
    }
    .site-header__logo .brand__tag {
        font-size: 0.42rem;
        letter-spacing: 0.1em;
        padding: 0.1em 0.4em 0.12em;
        clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
    }
    .site-header__cta {
        padding: 0.4rem 0.6rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        min-width: 0;
    }
    .site-header__cta-desktop {
        display: none;
    }
    .site-header__cta-mobile {
        display: inline;
    }
}

@media (max-width: 1023px) {
    .site-header.is-sticky {
        padding: 0.75rem 1rem;
    }
    body.menu-open .site-header {
        padding: 0.65rem 1rem;
    }
    .site-header__logo .custom-logo {
        height: 24px;
    }
}

.menu-overlay__theme-toggle {
    appearance: none;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 9999px;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.menu-overlay__theme-label--dark { display: none; }
.dark .menu-overlay__theme-label--light { display: none; }
.dark .menu-overlay__theme-label--dark { display: inline; }

@media (max-width: 1023px) {
    .menu-overlay__meta {
        border-left: 0;
        padding-left: 0;
    }
}

body.menu-open .site-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
    color: var(--text-primary) !important;
    z-index: 950;
}

.menu-overlay__langs .theme-toggle--overlay {
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 9999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay__langs .theme-toggle--overlay svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 767px) {
    .menu-overlay__inner {
        padding-top: 55px;
    }
    .video-btn-wrapper {
        display: none;
    }
}
/* ===== Language switcher ===== */
.lang-switcher {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .lang-switcher {
        display: block;
    }
}

.lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
}

.lang-switcher__toggle:hover,
.lang-switcher.is-open .lang-switcher__toggle {
    background: var(--brand-raspberry);
    color: #ffffff !important;
    border-color: var(--brand-raspberry);
}

.lang-switcher__caret {
    transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__caret {
    transform: rotate(180deg);
}

.lang-switcher__list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 110px;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 65;
    isolation: isolate;
}

.site-header.is-sticky.is-dark .lang-switcher__list {
    background: #0a0a0a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.lang-switcher.is-open .lang-switcher__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 2px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switcher__option:hover,
.lang-switcher__option:focus-visible {
    background: var(--brand-raspberry-soft);
    color: var(--brand-raspberry);
}

.lang-switcher__option.is-current {
    color: var(--brand-raspberry);
    background: var(--brand-raspberry-soft-2);
}

/* Мовний перемикач всередині fullscreen-меню */
.menu-overlay__langs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.menu-overlay__langs a,
.menu-overlay__theme-toggle {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border: 1px solid currentColor;
    border-radius: 9999px;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-overlay__langs a:hover,
.menu-overlay__langs a:focus-visible,
.menu-overlay__theme-toggle:hover,
.menu-overlay__theme-toggle:focus-visible {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.menu-overlay__langs a.is-current {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

@media (min-width: 768px) {
    .site-header__actions {
        gap: 2rem;
    }
}

.theme-toggle,
.burger-container {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font: inherit;
    color: inherit;
}

.burger-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 40px;
}

.burger-lines .line {
    height: 2px;
    background: currentColor;
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    width: 100%;
}

.burger-lines .line-2 {
    width: 60%;
    align-self: flex-end;
}

.burger-container:hover .line-2 {
    width: 100%;
}

.burger-container.active .line-1 {
    transform: translateY(4px) rotate(45deg);
}

.burger-container.active .line-2 {
    transform: translateY(-4px) rotate(-45deg);
    width: 100%;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(10deg);
}

.theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.theme-toggle .sun {
    display: none;
}

.theme-toggle .moon {
    display: block;
}

.theme-dark .theme-toggle .sun,
.dark .theme-toggle .sun {
    display: block;
}

.theme-dark .theme-toggle .moon,
.dark .theme-toggle .moon {
    display: none;
}

.burger-container__label {
    display: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.brand-dot {
    width: 10px;
    height: 10px;
    background-color: var(--brand-raspberry);
    border-radius: 50%;
    margin: 0 1rem;
}

.brand-dot--sm {
    width: 4px !important;
    height: 4px !important;
    margin: 0 4px !important;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.3;
}

/* ==================================================
   5. FULLSCREEN MENU
   ================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    clip-path: circle(0% at 95% 5%);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 900;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    color: var(--text-primary);
}

.dark .menu-overlay {
    background: #080808;
    color: #ffffff;
}

.menu-overlay.active {
    clip-path: circle(150% at 95% 5%);
    pointer-events: auto;
}

.menu-overlay__inner {
    width: 100%;
    padding: 5rem 1.5rem;
    position: relative;
    max-height: 100vh;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .menu-overlay__inner {
        padding: 5rem clamp(2rem, 5vw, 6rem);
    }
}

@media (max-width: 767px) {
    .menu-overlay__inner {
        padding-top: 55px;
    }
}

.menu-overlay__scroll {
    width: 100%;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    position: relative;
    --fade-color: var(--bg-primary);
}

.dark .menu-overlay__scroll { --fade-color: #080808; }

/* Fade-edge для сигналізації overflow */
.menu-overlay__scroll::after {
    content: "";
    position: sticky;
    bottom: -1px;
    left: 0;
    right: 0;
    display: block;
    height: 60px;
    margin-top: -60px;
    background: linear-gradient( to bottom, transparent, var(--fade-color) );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.menu-overlay__scroll.is-overflowing-bottom::after {
    opacity: 1;
}

.menu-overlay__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .menu-overlay__grid {
        grid-template-columns: 2fr 1fr;
        gap: 5rem;
    }
}

.menu-overlay__nav {
    display: block;
}

@media (max-width: 767px) {
    .menu-overlay__nav {
        margin-top: 1em;
    }
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    margin: 0;
    line-height: 1;
}

.nav-link {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    padding: 0.125rem 0;
    width: 100%;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--brand-raspberry);
    transform: translateX(20px);
}

.nav-item--current > .nav-link {
    color: var(--brand-raspberry);
}

/* Каретка «+» для пунктів із підменю */
.nav-link--has-children {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.nav-link--has-children::after {
    content: "+";
    font-size: 0.5em;
    font-weight: 400;
    margin-left: 0.25rem;
    color: currentColor;
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.2s ease;
    display: inline-block;
    width: 1.5em;
    text-align: center;
    line-height: 1;
}

.nav-item.is-open > .nav-link--has-children::after {
    transform: rotate(45deg);
    opacity: 1;
    color: var(--brand-raspberry);
}

/* Підменю (multilevel) */
.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-left: 1px solid var(--border-color);
    margin-left: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    counter-reset: submenu-counter;
}

.nav-submenu .nav-item {
    counter-increment: submenu-counter;
}

.nav-item.is-open > .nav-submenu {
    max-height: 2000px;
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-submenu--depth-1 { border-left-color: var(--brand-raspberry); }

.nav-submenu .nav-link {
    font-size: clamp(1.125rem, 2.2vw, 1.75rem);
    font-weight: 600;
    opacity: 0.7;
    text-transform: none;
    padding: 0.25rem 0;
    display: flex;
    align-items: baseline;
}

.nav-submenu .nav-link::before {
    content: counter(submenu-counter, decimal-leading-zero);
    font-size: 1.5em;
    font-weight: 300;
    margin-right: 0.75rem;
    opacity: 0.4;
    color: inherit;
    transform: translateY(-0.05em);
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-submenu .nav-link:hover,
.nav-submenu .nav-link.is-current {
    opacity: 1;
    color: var(--brand-raspberry);
    transform: translateX(10px);
}

.nav-submenu .nav-link:hover::before,
.nav-submenu .nav-link.is-current::before {
    color: var(--brand-raspberry);
    opacity: 1;
}

.nav-caret {
    font-size: 0.5em;
    opacity: 0.5;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-link--has-children:hover .nav-caret {
    transform: rotate(-90deg);
    opacity: 1;
}

.menu-overlay__meta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 0;
    padding-left: 0;
}

@media (min-width: 520px) and (max-width: 1023px) {
    .menu-overlay__meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
        row-gap: 2rem;
    }
    .menu-overlay__meta-block:nth-child(n + 3),
    .menu-overlay__meta > :not(.menu-overlay__meta-block) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .menu-overlay__meta {
        padding-left: 3rem;
    }
}

.menu-overlay__meta-block .menu-overlay__meta-title {
    color: var(--brand-raspberry);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0 0 1rem;
}

.menu-overlay__meta-block p,
.menu-overlay__meta-block a {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
    opacity: 0.7;
}

.menu-overlay__meta-block a:hover {
    opacity: 1;
    color: var(--brand-raspberry);
    transform: translateX(4px);
}

.menu-overlay__meta-block .menu-overlay__langs a,
.menu-overlay__meta-block .menu-overlay__theme-toggle {
    opacity: 1;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border: 1px solid currentColor;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-overlay__meta-block .menu-overlay__langs a {
    min-width: 56px;
}

.menu-overlay__meta-block .menu-overlay__langs a.is-current {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.menu-overlay__meta-block .menu-overlay__langs a:hover,
.menu-overlay__meta-block .menu-overlay__langs a:focus-visible,
.menu-overlay__meta-block .menu-overlay__theme-toggle:hover,
.menu-overlay__meta-block .menu-overlay__theme-toggle:focus-visible {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.menu-overlay__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: var(--brand-raspberry);
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    border-radius: 9999px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
    text-decoration: none;
    opacity: 1 !important;
}

.menu-overlay__cta:hover {
    background: var(--brand-raspberry-600);
    transform: translateX(4px) !important;
    box-shadow: 0 6px 20px var(--brand-raspberry-ring);
}

.menu-overlay__cta:active {
    background: var(--brand-raspberry-700);
}

.dark .menu-overlay__cta {
    background: #c2185b;
}

.dark .menu-overlay__cta:hover {
    background: #0f766e;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

/* Lock body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==================================================
   6. HERO
   ================================================== */
.hero {
    position: relative;
    height: 760px;
    min-height: 760px;
    max-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.hero__map {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 35%, rgba(255, 122, 0, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 122, 0, 0.05) 0%, transparent 70%),
        var(--bg-primary);
    overflow: hidden;
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--text-muted, #6b7280);
}

.dark .hero__map,
.dark .hero {
    background: #080808;
    color: #ffffff;
}

.dark .hero__map {
    background:
        radial-gradient(circle at center, #0a1118 0%, #010204 100%);
}

.hero__map canvas {
    display: block;
    z-index: 1;
    position: absolute;
}

.hero__hex-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='69.282' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 17.32l-20 11.547L0 17.32V0h40v17.32zm0 34.64l-20 11.548-20-11.548V34.64h40v17.32z' fill='none' stroke='%23000000' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 103.92px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.hero__ui {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 1023px) {
    .hero__ui {
        display: none;
    }
}

.hero__hud {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.hero__hud--bl {
    bottom: 7.5rem;
    right: 2.5rem;
}

.hero__hud strong {
    color: #ffffff;
    font-weight: 700;
}

.hero__hud .divider {
    margin: 0 0.5rem;
    color: #4a6b82;
}

.dark .hero__hud .divider {
    color: var(--text-secondary);
}

.hero__hud .accent {
    color: var(--brand-raspberry);
}

.hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12rem;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    transition: background 0.5s ease;
}

.hero__letter {
    position: absolute;
    left: -5rem;
    top: 25%;
    font-size: clamp(15rem, 20vw, 35rem);
    line-height: 1;
    opacity: 0.08;
    z-index: 10;
    pointer-events: none;
    color: var(--text-primary);
}

.dark .hero__letter {
    opacity: 0.2;
    color: #ffffff;
}

.hero__text {
    position: relative;
    z-index: 20;
    padding: 0 1.5rem 5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    pointer-events: auto;
    color: var(--text-primary);
}

.dark .hero__text {
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero__text {
        padding: 0 clamp(2rem, 5vw, 6rem) 5rem;
    }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0;
}

.hero__title .muted {
    opacity: 0.3;
}

.hero__subtitle {
    margin-top: 2rem;
    max-width: 36rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.75;
}

.hero__cta {
    margin-top: 2rem;
    display: inline-flex;
    color: var(--text-primary);
}

.hero__cta:hover {
    color: var(--brand-raspberry);
}

.dark .hero__cta {
    color: #ffffff;
}

/* Marquee */
.marquee {
    --gap: 2.5rem;
    position: relative;
    z-index: 20;
    pointer-events: none;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.marquee--hero {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Page-варіант: стрічка займає всю ширину секції без absolute,
   використовується на about, sut-proektu, archive, single, index. */
.marquee--page {
    position: relative;
    margin: 0;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
}

.marquee__strip {
    display: block;
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
    width: 100%;
    height: 70px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.25rem;
    line-height: 1;
}

.marquee__strip--light {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.marquee__strip--dark {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee__track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    will-change: transform;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    /* Без min-width: трек визначається контентом, рух точно на 1 копію. */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.marquee__strip:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__strip[data-direction="left"] .marquee__track {
    animation-name: marquee-scroll-left;
}

.marquee__strip[data-direction="right"] .marquee__track {
    animation-name: marquee-scroll-right;
}

.marquee__content {
    flex: 0 0 auto;              /* не стискати, не ростити — лишати природну ширину */
    display: inline-flex;
    align-items: center;
    gap: var(--gap, 2.5rem);
    padding: 0 1.25rem;
    white-space: nowrap;
}

.marquee__item {
    white-space: nowrap;
    color: inherit;
}

.marquee__dot {
    width: 8px;
    height: 8px;
    background: var(--brand-raspberry);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.marquee__strip--light .marquee__dot {
    background: var(--brand-teal);
}

.marquee__strip--dark .marquee__dot {
    background: var(--brand-teal);
}

/* Канонічна безшовна анімація.
   JS вимірює ширину ОДНІЄЇ копії контенту і записує її
   у CSS-змінну --marquee-shift (наприклад "420px").
   Анімація рухає трек рівно на цю величину, а в треку
   заздалегідь створено >= 2 копій (плюс запас під ширину
   viewport). Тому коли трек повертається в 0 — наступна
   копія вже стоїть на місці попередньої, без порожнечі. */
@keyframes marquee-scroll-left {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(var(--marquee-shift, 100vw) * -1), 0, 0); }
}

@keyframes marquee-scroll-right {
    from { transform: translate3d(calc(var(--marquee-shift, 100vw) * -1), 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none !important;
    }
}

/* ==================================================
   7. ABOUT
   ================================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about__visual {
    position: relative;
}

.about__visual-letter {
    position: absolute;
    left: -2.5rem;
    top: -5rem;
    font-size: 20rem;
    z-index: 0;
}

.about__visual-letter--w {
    composes: outline-text;
}

.about__content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    line-height: 1.05;
}

.about__content p {
    font-size: 1.25rem;
    opacity: 0.6;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.link-arrow__line {
    width: 3rem;
    height: 2px;
    background: var(--brand-raspberry);
}

.link-arrow:hover .link-arrow__line {
    background: var(--brand-raspberry);
    transform: scaleX(1.2);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* ==================================================
   8. CASES / PORTFOLIO
   ================================================== */
.cases {
    position: relative;
    overflow: hidden;
}

.cases__watermark {
    position: absolute;
    right: -5%;
    top: 2.5rem;
    font-size: 20rem;
    opacity: 0.2;
    pointer-events: none;
}

.cases__header {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
}

.cases__header h3 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.cases__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.case-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.case-card:nth-child(2) {
    margin-top: 0;
}

@media (min-width: 768px) {
    .case-card:nth-child(2) {
        margin-top: 8rem;
    }
}

.case-card__media {
    overflow: hidden;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    position: relative;
}

.case-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card__image--placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-card:hover .case-card__image {
    transform: scale(1.05);
    filter: grayscale(0);
}

.case-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.case-card__tag {
    color: var(--brand-raspberry);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.case-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0.5rem 0 0;
}

.case-card__year {
    color: var(--text-secondary);
    opacity: 0.85;
    font-size: 0.875rem;
}

/* ==================================================
   9. BLOG
   ================================================== */
.blog {
    position: relative;
}

.blog__watermark {
    position: absolute;
    left: -2.5rem;
    top: 5rem;
    font-size: 15rem;
    opacity: 0.3;
    pointer-events: none;
}

.blog__header {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
}

.blog__header h3 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    border-top: 1px solid currentColor;
    padding-top: 2.5rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.blog-card:hover {
    opacity: 1;
    border-color: var(--brand-raspberry);
    color: var(--brand-raspberry);
}

.blog-card__meta {
    font-size: 0.75rem;
    color: var(--brand-raspberry);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.blog-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 2rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.blog-card__cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.blog-card__cta-line {
    width: 2rem;
    height: 1px;
    background: currentColor;
    transition: background 0.3s ease, transform 0.3s ease;
}

.blog-card:hover .blog-card__cta-line {
    background: var(--brand-raspberry);
    transform: translateX(5px);
}

/* ==================================================
   10. STORE
   ================================================== */
.store {
    position: relative;
    overflow: hidden;
}

.store__header {
    position: relative;
    margin-bottom: 5rem;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .store__header {
        padding: 0 12rem;
    }
}

.store__watermark {
    position: absolute;
    left: -2.5rem;
    top: -6rem;
    font-size: 15rem;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.store__head {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .store__head {
        flex-direction: row;
        align-items: flex-end;
    }
}

.store__title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.store__nav {
    display: flex;
    gap: 1rem;
}

.store__nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    background: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.store__nav-btn:hover {
    border-color: var(--brand-raspberry);
    color: var(--brand-raspberry);
    opacity: 1;
}

.store__nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.store__slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 1.5rem 2.5rem 1.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.store__slider::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .store__slider {
        padding: 0 12rem 2.5rem 12rem;
    }
}

.store__card {
    flex: 0 0 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.store__card:hover {
    border-color: rgba(255, 107, 0, 0.5);
}

.store__price {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: var(--brand-raspberry-soft);
    border: 1px solid var(--brand-raspberry);
    color: var(--brand-raspberry);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.store__price--free {
    background: rgba(255, 255, 255, 0.05);
    border-color: currentColor;
    color: currentColor;
    opacity: 0.5;
}

.store__name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.store__desc {
    opacity: 0.6;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.store__buy {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store__buy:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
}

/* ==================================================
   11. CONTACT (FOOTER)
   ================================================== */
.site-footer {
    padding: 8rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 8rem 12rem;
    }
}

.site-footer__inner {
    position: relative;
    z-index: 10;
}

.site-footer {
    overflow: hidden;
}

.site-footer h2 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0 0 3rem;
    text-transform: uppercase;
}

.site-footer__email {
    display: inline-block;
    font-size: clamp(1.25rem, 4vw, 2.5rem);
    font-weight: 300;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
}

.site-footer__email:hover {
    color: var(--brand-raspberry);
    border-color: var(--brand-raspberry);
}

.site-footer__watermark {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(0,0,0,0.05);
    font-size: 20rem;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==================================================
   12. VIDEO BUTTON (floating)
   ================================================== */
.video-btn-wrapper {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 100;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 767px) {
    .video-btn-wrapper {
        display: none !important;
    }
}

.video-btn-wrapper.is-past-hero,
body.is-past-hero .video-btn-wrapper {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.85);
}

body.is-past-hero .sidebar-info {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-top {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.9);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    z-index: 110;
}

@media (min-width: 768px) {
    .scroll-top {
        right: calc(2.5rem + 120px + 0.75rem);
    }
}

@media (max-width: 767px) {
    .scroll-top {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }
}

.dark .scroll-top {
    background: rgba(17, 17, 17, 0.86);
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.menu-open .scroll-top {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.scroll-top:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.scroll-top__svg {
    width: 38px;
    height: 38px;
}

.scroll-top__track,
.scroll-top__bar {
    fill: none;
    stroke-width: 3;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-linecap: round;
}

.scroll-top__track {
    stroke: rgba(0, 0, 0, 0.15);
}

.dark .scroll-top__track {
    stroke: rgba(255, 255, 255, 0.18);
}

.scroll-top__bar {
    stroke: currentColor;
    stroke-dasharray: 126;
    stroke-dashoffset: calc(126 * (1 - var(--scroll-top-progress, 0)));
    transition: stroke-dashoffset 0.12s linear;
}

.scroll-top__arrow {
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top {
        transition: none;
    }
    .scroll-top__bar {
        transition: none;
    }
}

.video-btn {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 45px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.video-btn:hover {
    transform: scale(1.08);
}

.video-btn::before,
.video-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 0, 0.3);
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

.video-btn::after {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.video-btn__circular-text {
    position: absolute;
    width: 140px;
    height: 140px;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease;
    animation: rotateText 20s linear infinite;
    transform-origin: center;
}

.video-btn-wrapper:hover .video-btn__circular-text {
    animation-duration: 8s;
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 16px solid var(--brand-raspberry);
    border-bottom: 10px solid transparent;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.video-btn:hover .play-triangle {
    transform: scale(1.1);
}

/* ==================================================
   13. VIDEO MODAL
   ================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.video-modal__close {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    font: inherit;
    z-index: 10;
    padding: 0.25rem;
}

.video-modal__close-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.video-modal__close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.video-modal__close:hover .video-modal__close-icon {
    border-color: var(--brand-raspberry);
    background: rgba(255, 255, 255, 0.06);
}

.video-modal__close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.125rem;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform-origin: center;
    transition: background 0.3s ease;
}

.video-modal__close-line--a {
    transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal__close-line--b {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.video-modal__close:hover .video-modal__close-line {
    background: var(--brand-raspberry);
}

@media (max-width: 639px) {
    .video-modal__close {
        top: 1.25rem;
        right: 1.25rem;
    }
    .video-modal__close-text {
        display: none;
    }
}

.video-modal__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-modal__frame {
    width: 100%;
    max-width: 64rem;
    aspect-ratio: 16/9;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.video-modal__placeholder {
    text-align: center;
}

.video-modal__icon {
    color: var(--brand-raspberry);
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.video-modal h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0;
}

.video-modal p {
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==================================================
   14. STAMP (circular text)
   ================================================== */
.stamp {
    position: fixed;
    top: 6rem;
    left: 2.5rem;
    z-index: 40;
    width: 6rem;
    height: 6rem;
    color: #ffffff;
    mix-blend-mode: difference;
}

@media (max-width: 767px) {
    .stamp {
        display: none;
    }
}

.stamp svg {
    width: 100%;
    height: 100%;
    animation: rotateText 20s linear infinite;
    transform-origin: center;
}

.stamp__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ==================================================
   15. SIDEBAR INFO
   ================================================== */
.sidebar-info {
    display: none;
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 3rem;
    z-index: 40;
    opacity: 0.3;
    mix-blend-mode: difference;
    color: #ffffff;
}

@media (min-width: 1024px) {
    .sidebar-info {
        display: flex;
    }
}

.sidebar-info span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
}

/* ==================================================
   16. UTILITIES
   ================================================== */
.gleam-sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

/* Page hero (шапка для внутрішніх сторінок) — канонічний блок, див. рядок ~3478 */

/* ==================================================
   18. STATS
   ================================================== */
.stats__head {
    text-align: center;
    margin-bottom: 5rem;
}

.stats__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.5rem 0 1.5rem;
    text-transform: uppercase;
}

.stats__subtitle {
    font-size: 1.125rem;
    opacity: 0.6;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats__item {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .stats__item {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        padding: 2rem 1.5rem;
    }
    .stats__item:last-child {
        border-right: none;
    }
}

.stats__item:hover {
    transform: translateY(-5px);
}

.stats__value {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--brand-teal);
    letter-spacing: -0.04em;
}

.stats__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

/* ==================================================
   19. SERVICES
   ================================================== */
.services-section__head,
.pricing-section__head,
.faq-section__head {
    text-align: center;
    margin-bottom: 5rem;
}

/* ===== SERVICES — Mosaic із фоновими SVG-іконками ===== */
.services-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
}

/* Декоративна сітка на тлі (точки) */
.services-section__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.45;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}

.services-section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.services-section__title,
.pricing-section__title,
.faq-section__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.5rem 0 1.5rem;
    text-transform: uppercase;
}

.services-section__subtitle,
.pricing-section__subtitle,
.faq-section__subtitle {
    font-size: 1.125rem;
    opacity: 0.6;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

.services__mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .services__mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(220px, auto);
        gap: 1.5rem;
    }
    /* Симетрична 3x3 розкладка: Web (2x2) у центрі-зверху, без "хвоста" 4-го ряду */
    .service-card--smm { grid-column: 1; grid-row: 1; }
    .service-card--seo { grid-column: 1; grid-row: 2; }
    .service-card--ads { grid-column: 1; grid-row: 3; }
    .service-card--featured { grid-column: 2 / span 2; grid-row: 1 / span 2; }
    .service-card--brand { grid-column: 2; grid-row: 3; }
    .service-card--ai { grid-column: 3; grid-row: 3; }
}

/* ===== Картка сервісу ===== */
.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    isolation: isolate;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 4px;
    text-decoration: none;
}

.service-card__overlay:focus-visible {
    outline: 2px solid var(--brand-raspberry);
    outline-offset: 4px;
}

@media (min-width: 768px) {
    .service-card {
        padding: 3rem 2.25rem;
    }
}

.service-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card:hover {
        transition: none;
        transform: none;
    }
}

/* Велика фонова SVG-іконка (просвічує крізь картку) */
.service-card__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    filter: saturate(0.9) contrast(1.02);
    transform: scale(1.01);
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__bg-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.06;
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    will-change: transform;
}

.service-card:hover .service-card__bg-image {
    opacity: 0.18;
    transform: scale(1.05);
}

.service-card:hover .service-card__bg-icon {
    opacity: 0.14;
    transform: scale(1.05) rotate(-2deg);
}

@media (prefers-reduced-motion: reduce) {
    .service-card__bg-image,
    .service-card__bg-icon,
    .service-card:hover .service-card__bg-image,
    .service-card:hover .service-card__bg-icon {
        transition: none;
        transform: none;
    }
}

/* Контент поверх іконки */
.service-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    color: var(--text-primary);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.service-card--teal .service-card__tag {
    color: var(--brand-teal);
    border-color: var(--brand-teal);
    background: var(--brand-teal-soft);
}

.service-card--raspberry .service-card__tag {
    color: var(--brand-raspberry);
    border-color: var(--brand-raspberry);
    background: var(--brand-raspberry-soft);
}

.service-card__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--text-primary);
    text-wrap: balance;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
    color: var(--brand-raspberry);
}

.service-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-primary);
    opacity: 0.7;
    max-width: 38ch;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.service-card__link:hover,
.service-card__link:focus-visible {
    gap: 1rem;
    color: var(--brand-raspberry);
}

.service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: var(--brand-raspberry);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-card__link:hover .service-card__arrow,
.service-card__link:focus-visible .service-card__arrow {
    transform: translateX(4px) rotate(-45deg);
}

/* ===== Featured Web Development ===== */
.service-card--featured {
    background: var(--bg-card);
    border-color: var(--brand-raspberry);
    border-width: 2px;
}

.service-card--featured .service-card__bg-icon {
    opacity: 0.1;
}

.service-card--featured .service-card__bg-image {
    opacity: 0.18;
}

.service-card--featured:hover .service-card__bg-icon {
    opacity: 0.18;
}

.service-card--featured:hover .service-card__bg-image {
    opacity: 0.24;
}

.service-card--featured .service-card__title {
    color: var(--text-primary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.service-card--featured .service-card__text {
    opacity: 0.8;
    max-width: 48ch;
    font-size: 1rem;
}

.service-card--featured::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 100% 0%, var(--brand-raspberry-soft) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.service-card--featured::after {
    content: "★";
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    color: var(--brand-raspberry);
    font-size: 1.25rem;
    z-index: 1;
    line-height: 1;
}

/* Колір фону іконки за акцентом (teal / raspberry) */
.service-card--teal {
    color: var(--brand-teal);
}

.service-card--raspberry {
    color: var(--brand-raspberry);
}

.service-card--teal .service-card__bg-icon,
.service-card--raspberry .service-card__bg-icon {
    color: currentColor;
}

/* ==================================================
   20. PRICING / TARIFFS
   ================================================== */
.pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pricing__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.pricing-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: auto;
    align-self: flex-start; /* висота під вміст */
    min-width: 0;
}

.pricing-card:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-5px);
}

.pricing-card--featured {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .pricing-card--featured {
        transform: scale(1.05);
    }
    .pricing-card--featured:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

.pricing-card__badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: var(--brand-raspberry);
    color: #ffffff;
    padding: 0.25rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.pricing-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 2.5rem;
    color: var(--brand-raspberry);
}

.pricing-card--featured .pricing-card__price {
    color: var(--brand-raspberry);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    /* без flex-grow: висота під власний вміст */
    flex: 0 0 auto;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
    opacity: 0.9;
}

.pricing-card--featured .pricing-card__features li {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card__features li svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand-raspberry);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.pricing-card__cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: currentColor;
    border: 1px solid currentColor;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card__cta:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

/* Перемикач Місяць / Рік */
.pricing-toggle {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 4px;
    margin: 2.5rem 0 3rem;
    gap: 0;
    isolation: isolate;
}

.pricing-toggle__opt {
    position: relative;
    z-index: 2;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.625rem 1.5rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.5rem;
    transition: color 0.3s ease;
    border-radius: 9999px;
    text-transform: uppercase;
}

.pricing-toggle__opt.is-active {
    color: #ffffff;
}

.pricing-toggle__pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--text-primary);
    border-radius: 9999px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.dark .pricing-toggle__pill {
    background: var(--brand-teal);
}

.pricing-toggle.is-year .pricing-toggle__pill {
    transform: translateX(100%);
}

.pricing-toggle__save {
    background: var(--brand-raspberry);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Карусель */
.pricing-carousel {
    position: relative;
}

.pricing-carousel__viewport {
    overflow: hidden;
    overflow-y: visible;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.pricing-carousel__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
    align-items: flex-start; /* кожна картка під свою висоту, не витягується */
}

.pricing-carousel__track .pricing-card {
    flex: 0 0 calc( ( 100% - 1.5rem * 2 ) / 3 );
    min-width: 0;
    align-self: flex-start;
    height: auto; /* висота під вміст, не stretch */
}

@media (max-width: 1023px) {
    .pricing-carousel__track .pricing-card {
        flex: 0 0 calc( ( 100% - 1.5rem ) / 2 );
    }
}

@media (max-width: 639px) {
    .pricing-carousel__track .pricing-card {
        flex: 0 0 100%;
    }
}

.pricing-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

.pricing-carousel__nav:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.pricing-carousel__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pricing-carousel__nav svg {
    width: 20px;
    height: 20px;
}

.pricing-carousel__nav--prev { left: -24px; }
.pricing-carousel__nav--next { right: -24px; }

@media (max-width: 1023px) {
    .pricing-carousel__nav--prev { left: 4px; }
    .pricing-carousel__nav--next { right: 4px; }
}

/* Пагер (лічильник + дотс) */
.pricing-carousel__pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.pricing-carousel__counter {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted, #6b7280);
    font-weight: 700;
}

.pricing-carousel__dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-carousel__dot {
    width: 28px;
    height: 4px;
    background: var(--border-color);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pricing-carousel__dot.is-active {
    background: var(--brand-raspberry);
    transform: scaleY(1.5);
}

/* Анімація зміни ціни */
.pricing-card__value {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pricing-toggle.is-changing .pricing-card__value {
    transform: translateY(-6px);
    opacity: 0;
}

/* Підказка «Економія %» — ховається в month-режимі */
.pricing-card__hint {
    display: none;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: -1rem 0 1.25rem;
    color: var(--brand-raspberry);
    font-weight: 600;
}

.pricing-toggle:not(.is-year) .pricing-card__hint {
    display: none;
}

/* ==================================================
   21. FAQ
   ================================================== */
.faq__list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.faq__item {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.faq__item[open] {
    background: var(--bg-primary);
}

.faq__q {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 1rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q-index {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--brand-raspberry);
    line-height: 1;
    flex-shrink: 0;
}

.faq__q-text {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.faq__q-icon {
    font-size: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.3;
    position: relative;
}

.faq__q-icon::before,
.faq__q-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
}

.faq__q-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__q-icon {
    transform: rotate(45deg);
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
    opacity: 1;
}

.faq__a {
    padding: 0 1rem 2rem 5rem;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 50rem;
}

/* ==================================================
   22. TEAM
   ================================================== */
.team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team__head {
    text-align: center;
    margin-bottom: 5rem;
}

.team__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.5rem 0 1.5rem;
    text-transform: uppercase;
}

.team__subtitle {
    font-size: 1.125rem;
    opacity: 0.6;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 6rem;
    font-weight: 900;
}

.team-card {
    text-align: left;
}

.team-card__photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-card);
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    position: relative;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card:hover .team-card__photo {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.team-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.team-card__role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-raspberry);
    margin: 0 0 0.25rem;
    font-weight: 700;
}

.team-card__exp {
    font-size: 0.75rem;
    opacity: 0.5;
    margin: 0;
}

/* Детальна картка команди (сторінка "Про нас") */
.about-team__head {
    text-align: center;
    margin-bottom: 4rem;
}

.about-team__title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0.5rem 0 1rem;
}

.about-team__subtitle {
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.7;
    line-height: 1.6;
}

.about-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem 2rem;
}

.team-card--detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.team-card--detail .team-card__photo {
    aspect-ratio: auto;
    margin: 0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.team-card--detail .team-card__photo img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
}

.team-card--detail .team-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-card__contacts {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.team-card__phone {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.team-card__phone:hover {
    color: var(--brand-raspberry);
}

.team-card__socials {
    display: flex;
    gap: 0.5rem;
}

.team-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.team-card__social:hover {
    background: var(--brand-raspberry);
    color: #ffffff;
    border-color: var(--brand-raspberry);
}

.about-team__source {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.5;
}

.about-team__source a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--brand-raspberry);
    text-underline-offset: 4px;
}

/* Принципи (Чому обирають нас) */
.about-principles__head {
    text-align: center;
    margin-bottom: 3rem;
}

.about-principles__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 0.5rem;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.principle-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.principle-card--feature {
    background: var(--brand-raspberry-soft-2);
    border-color: var(--brand-raspberry);
}

.principle-card--feature .principle-card__title {
    color: var(--brand-raspberry);
}

.principle-card:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .principle-card,
    .principle-card:hover {
        transition: none;
        transform: none;
    }
}

.principle-card__title {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.principle-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* Page hero (шапка для внутрішніх сторінок) */
.page-hero {
    padding: clamp(10rem, 18vw, 14rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-hero__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
    margin: 1rem 0 1.5rem;
    color: var(--text-primary);
    text-wrap: balance;
}

.page-hero__lead {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 3rem;
    opacity: 0.75;
}

.page-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.page-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-hero__stat-num {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--text-primary);
}

.page-hero__stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* ==================================================
   23. VACANCIES (career page)
   ================================================== */
.vacancies__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.vacancy-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: padding 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
    .vacancy-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 1rem;
    }
    .vacancy-row:hover {
        padding-left: 2rem;
        color: var(--brand-raspberry);
    }
}

.vacancy-row__title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.vacancy-row__excerpt {
    font-size: 0.9375rem;
    opacity: 0.6;
    line-height: 1.6;
    margin: 0;
}

.vacancy-row__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vacancy-row__chip {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.vacancy-row__chip--alt {
    background: var(--bg-card);
    color: var(--brand-raspberry);
    border-color: var(--brand-raspberry);
}

/* ==================================================
   24. PORTFOLIO FILTER CHIPS
   ================================================== */
.filter-chip {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.filter-chip:hover,
.filter-chip--active {
    background: var(--brand-raspberry);
    border-color: var(--brand-raspberry);
    color: #ffffff;
    opacity: 1;
}

/* ==================================================
   25. CONTACT (page-contact.php) — hero, info, form
   ================================================== */
.page-hero--contact {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-top: 11rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .page-hero--contact {
        padding: 14rem clamp(2rem, 5vw, 6rem) 7rem;
    }
}

.page-hero--contact .page-hero__letter {
    position: absolute;
    inset: auto 0 0 0;
    transform: none;
    color: rgba(13, 148, 136, 0.08);
    font-size: clamp(8rem, 22vw, 24rem);
    line-height: 0.9;
    text-align: right;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 1;
}

.page-hero--contact .page-hero__inner {
    position: relative;
    z-index: 5;
}

.page-hero__contacts {
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
}

@media (min-width: 768px) {
    .page-hero__contacts {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.page-hero__contacts .eyebrow {
    display: block;
    margin-bottom: 0.4rem;
}

.page-hero__contact-link {
    display: inline-block;
    font-size: clamp(1.125rem, 1.6vw, 1.5rem);
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.page-hero__contact-link:hover {
    color: var(--brand-raspberry);
}

.contact-section {
    padding: 5rem 0 6rem;
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 7rem 0 8rem;
    }
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-section__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 4rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: sticky;
    top: 7rem;
}

@media (max-width: 1023px) {
    .contact-info {
        position: static;
    }
}

.contact-info__head .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
}

.contact-info__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.contact-info__lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

.contact-info__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .contact-info__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 1.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
    border-color: var(--brand-raspberry);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-raspberry-soft);
    color: var(--brand-raspberry);
    margin-bottom: 0.5rem;
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

.contact-card__value {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: break-word;
}

.contact-info__socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.contact-info__socials .eyebrow {
    display: block;
}

.contact-info__socials ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-info__socials a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-color);
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact-info__socials a:hover,
.contact-info__socials a:focus-visible {
    border-color: var(--brand-raspberry);
    color: var(--brand-raspberry);
    background: var(--brand-raspberry-soft-2);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-card__head .eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.contact-form-card__title {
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
}

.dali-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dali-form p {
    margin: 0;
}

.dali-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .dali-form__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dali-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dali-form__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    opacity: 0.65;
}

.dali-form__field input,
.dali-form__field select,
.dali-form__field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0;
}

.dali-form__field input:focus,
.dali-form__field select:focus,
.dali-form__field textarea:focus {
    outline: 0;
    border-color: var(--brand-raspberry);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.dali-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    position: relative;
}

.dali-form__field--icon .wpcf7-form-control-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}

.dali-form__field--icon .wpcf7-form-control-wrap > input,
.dali-form__field--icon .wpcf7-form-control-wrap > select,
.dali-form__field--icon .wpcf7-form-control-wrap > textarea {
    grid-column: 1;
    grid-row: 1;
    z-index: 0;
}

.dali-form__field--icon .wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
    grid-column: 1;
    grid-row: 2;
}

.dali-form__field--icon input,
.dali-form__field--icon textarea {
    padding-left: 2.75rem;
}

.dali-form__field--icon .wpcf7-form-control-wrap::before {
    content: "";
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    margin-left: 1rem;
    width: 1.125rem;
    height: 1.125rem;
    z-index: 1;
    background-color: var(--text-primary);
    opacity: 0.45;
    pointer-events: none;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.dali-form__field--message .wpcf7-form-control-wrap::before {
    align-self: start;
    margin-top: 1.05rem;
}

.dali-form__field--icon:focus-within .wpcf7-form-control-wrap::before {
    background-color: var(--brand-raspberry);
    opacity: 0.9;
}

.dali-form__field--name .wpcf7-form-control-wrap::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M12%2012c2.21%200%204-1.79%204-4S14.21%204%2012%204%208%205.79%208%208s1.79%204%204%204zm0%202c-3.33%200-8%201.67-8%205v1h16v-1c0-3.33-4.67-5-8-5z%22/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M12%2012c2.21%200%204-1.79%204-4S14.21%204%2012%204%208%205.79%208%208s1.79%204%204%204zm0%202c-3.33%200-8%201.67-8%205v1h16v-1c0-3.33-4.67-5-8-5z%22/%3E%3C/svg%3E");
}

.dali-form__field--phone .wpcf7-form-control-wrap::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M6.54%205c-.28%200-.5.22-.5.5%200%207.18%205.82%2013%2013%2013.0.28%200%20.5-.22.5-.5v-2.6c0-.24-.17-.45-.41-.49-1.41-.23-2.73-.67-3.92-1.3a.5.5%200%200%200-.58.08l-1.65%201.65a15.06%2015.06%200%200%201-5.52-5.52L9.29%208.37a.5.5%200%200%200%20.08-.58c-.63-1.19-1.07-2.51-1.3-3.92A.5.5%200%200%200%207.58%203.5H6.54z%22/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M6.54%205c-.28%200-.5.22-.5.5%200%207.18%205.82%2013%2013%2013.0.28%200%20.5-.22.5-.5v-2.6c0-.24-.17-.45-.41-.49-1.41-.23-2.73-.67-3.92-1.3a.5.5%200%200%200-.58.08l-1.65%201.65a15.06%2015.06%200%200%201-5.52-5.52L9.29%208.37a.5.5%200%200%200%20.08-.58c-.63-1.19-1.07-2.51-1.3-3.92A.5.5%200%200%200%207.58%203.5H6.54z%22/%3E%3C/svg%3E");
}

.dali-form__field--message .wpcf7-form-control-wrap::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2zm0%204l8%205%208-5V6l-8%205-8-5v2z%22/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2zm0%204l8%205%208-5V6l-8%205-8-5v2z%22/%3E%3C/svg%3E");
}

.dali-form .wpcf7-not-valid {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.dali-form .wpcf7-not-valid-tip {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #d92d20;
}

.dali-form__field textarea {
    resize: vertical;
    min-height: 140px;
}

.dali-form__field.is-invalid input,
.dali-form__field.is-invalid select,
.dali-form__field.is-invalid textarea {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.dali-form__field--check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.85;
}

.dali-form__field--check input {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.dali-form__field--check a {
    color: var(--brand-raspberry);
    text-decoration: underline;
}

.dali-form__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .dali-form__actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.dali-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.75rem;
    background: var(--brand-raspberry);
    color: #ffffff;
    border: 1px solid var(--brand-raspberry);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dali-form__submit:hover,
.dali-form__submit:focus-visible {
    background: #ff7a1a;
    transform: translateY(-1px);
}

.dali-form__submit:disabled {
    opacity: 0.6;
    cursor: progress;
    transform: none;
}

.dali-form__submit-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
}

.dali-form__submit-wrap .dali-form__submit {
    padding-right: 3.25rem;
}

.dali-form__submit-wrap .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 3.25rem;
    margin: 0;
    transform: translateY(-50%);
}

.dali-form__submit-wrap .dali-form__arrow {
    position: absolute;
    top: 50%;
    right: 1.35rem;
    pointer-events: none;
    width: 1.125rem;
    height: 1.125rem;
    display: block;
    transform: translateY(-50%);
}

.dali-form__arrow {
    transition: transform 0.2s ease;
}

.dali-form__submit:hover .dali-form__arrow {
    transform: translate(4px, -50%);
}

.dali-form__submit-wrap:hover .dali-form__arrow,
.dali-form__submit-wrap:focus-within .dali-form__arrow {
    transform: translate(4px, -50%);
}

.dali-form .wpcf7-response-output {
    margin: 0.25rem 0 0;
    padding: 0;
    border: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dali-form .wpcf7 form.invalid .wpcf7-response-output,
.dali-form .wpcf7 form.unaccepted .wpcf7-response-output,
.dali-form .wpcf7 form.failed .wpcf7-response-output,
.dali-form .wpcf7 form.aborted .wpcf7-response-output {
    color: #d92d20;
}

.dali-form .wpcf7 form.sent .wpcf7-response-output {
    color: #2e7d32;
}

.dali-form .wpcf7-spinner {
    margin-left: 0.75rem;
}

.cf7-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    place-items: center;
    padding: 1.5rem;
}

.cf7-modal[aria-hidden="false"] {
    display: grid;
}

.cf7-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cf7-modal-card {
    position: relative;
    width: min(92vw, 560px);
    padding: 2rem 1.75rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
    color: var(--text-primary);
}

.cf7-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cf7-modal-close:hover {
    color: var(--brand-raspberry);
}

.cf7-icon {
    width: 94px;
    height: 94px;
    margin: 0 auto 0.75rem;
    display: grid;
    place-items: center;
}

.cf7-modal.success .cf7-icon {
    color: var(--brand-teal);
}

.cf7-modal.error .cf7-icon {
    color: var(--brand-raspberry);
}

.cf7-title {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.375rem;
    font-weight: 800;
}

.cf7-message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.cookie-consent-banner {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
}

.cookie-consent-banner[aria-hidden="false"] {
    display: grid;
    place-items: end center;
    padding: 1.5rem;
}

.cookie-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cookie-consent-card {
    position: relative;
    width: min(92vw, 46rem);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.cookie-consent-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookie-consent-close:hover {
    color: var(--brand-raspberry);
}

.cookie-consent-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.cookie-consent-text {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.cookie-consent-text a {
    color: var(--brand-raspberry);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.15rem;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-primary);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-consent-btn--primary {
    background: var(--brand-raspberry);
    border-color: var(--brand-raspberry);
    color: #fff;
}

.cookie-consent-btn--primary:hover {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
    transform: translateY(-1px);
}

.cookie-consent-btn--ghost {
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

.cookie-consent-btn--ghost:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-1px);
}

.cookie-consent-toggles {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.cookie-consent-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.cookie-consent-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-raspberry);
}

.cookie-consent-toggle__label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dali-form__hint {
    font-size: 0.8125rem;
    opacity: 0.6;
    margin: 0;
}

.dali-form__status {
    font-size: 0.875rem;
    line-height: 1.5;
    min-height: 1.25em;
    margin-top: 0.5rem;
}

.dali-form__status.is-success {
    color: #2e7d32;
}

.dali-form__status.is-error {
    color: #d92d20;
}

.contact-additional .entry-content {
    max-width: 50rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.contact-additional .entry-content p {
    margin: 0 0 1.25rem;
}

/* Старий контактний grid (для зворотної сумісності) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-grid .eyebrow {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-grid__link {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

a.contact-grid__link:hover {
    color: var(--brand-raspberry);
}

.contact-form {
    margin-top: 3rem;
}

/* ==================================================
   26. ENHANCED FOOTER (multi-link)
   ================================================== */
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.dali-form__field--hidden {
    display: none;
}

.dali-form--footer {
    width: min(720px, 100%);
    margin: 2rem auto 2.5rem;
}

.dali-form--footer .dali-form__actions {
    align-items: center;
}

.site-footer__email,
.site-footer__phone {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.25rem;
}

.site-footer__email {
    font-size: clamp(1.25rem, 4vw, 2.5rem);
}

.site-footer__phone {
    opacity: 0.6;
}

.site-footer__phone:hover {
    opacity: 1;
    color: var(--brand-raspberry);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.site-footer__socials a {
    color: var(--text-secondary);
    opacity: 1;
    transition: all 0.3s ease;
}

.site-footer__socials a:hover {
    opacity: 1;
    color: var(--brand-raspberry);
}

.site-footer__copy {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    opacity: 0.85;
    margin: 0;
}

/* ==================================================
   27. CASES — heading & subtitle
   ================================================== */
.cases__heading {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
}

.cases__sub {
    font-size: 1.125rem;
    opacity: 0.6;
    max-width: 36rem;
    line-height: 1.7;
    margin: 0;
}

/* ==================================================
   28. RESPONSIVE FINE-TUNING
   ================================================== */
@media (max-width: 1023px) {
    .hero__letter {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 600px;
        max-height: 600px;
    }
    .marquee__strip {
        font-size: 1rem;
        height: 56px;
    }
    .nav-link {
        font-size: 2.5rem;
    }
    .cases__header h3,
    .blog__header h3 {
        font-size: 2rem;
    }
    .store__title {
        font-size: 1.75rem;
    }
    .page-hero {
        padding: 10rem 1.5rem 3rem;
    }
    .page-hero__title {
        font-size: 2.5rem;
    }
    .stats__title,
    .services-section__title,
    .pricing-section__title,
    .faq-section__title {
        font-size: 2rem;
    }
    .faq__a {
        padding: 0 1rem 2rem 1rem;
    }
    .faq__q-text {
        font-size: 1rem;
    }
    .pricing-card--featured {
        transform: scale(1);
    }
}

/* ==================================================
   30. BLOG ARCHIVE & SINGLE
   ================================================== */
.outline-text {
    -webkit-text-stroke: 1.5px var(--text-primary);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ARCHIVE HERO */
.archive-hero {
    position: relative;
    padding: 11rem 0 5rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.archive-hero__inner {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .archive-hero__inner {
        padding: 0 4rem;
    }
}

.archive-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 2.5rem;
}

.archive-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.archive-hero__breadcrumb a:hover {
    opacity: 0.7;
}

.archive-hero__breadcrumb span[aria-hidden="true"] {
    opacity: 0.4;
}

.archive-hero__breadcrumb-current {
    color: var(--text-primary);
    opacity: 0.9;
}

.archive-hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin: 0.5rem 0 1.5rem;
    max-width: 28ch;
}

.archive-hero__desc {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.7;
    font-weight: 300;
    opacity: 0.7;
    max-width: 60ch;
    margin: 0 0 1.75rem;
}

.archive-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.55;
}

.archive-hero__watermark {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    z-index: 1;
    font-size: clamp(6rem, 14vw, 16rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    opacity: 0.1;
}

/* ARCHIVE FILTERS */
.archive-filters {
    position: sticky;
    top: 5.25rem;
    z-index: 20;
    background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.archive-filters__inner {
    padding: 1.25rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .archive-filters__inner {
        padding: 1.25rem 4rem;
    }
}

.archive-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.archive-filters__chips::-webkit-scrollbar {
    display: none;
}

.archive-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.archive-filters__chip:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.archive-filters__chip.is-active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.archive-filters__count {
    display: inline-block;
    font-size: 0.6875rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text-primary) 15%, transparent);
}

.archive-filters__chip.is-active .archive-filters__count {
    background: color-mix(in srgb, var(--bg-primary) 20%, transparent);
}

/* ARCHIVE LIST */
.archive-list {
    padding: 4rem 0 8rem;
    background: var(--bg-secondary);
}

.archive-list__inner {
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .archive-list__inner {
        padding: 0 4rem;
    }
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 2rem;
}

@media (min-width: 640px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem 2.5rem;
    }
}

/* POST CARD */
.post-card {
    position: relative;
    height: 100%;
}

.post-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    gap: 1.5rem;
}

.post-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary, var(--bg-primary));
    border: 1px solid var(--border-color);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post-card__link:hover .post-card__media img {
    transform: scale(1.04);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.post-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-raspberry);
    text-decoration: none;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.post-card__category:hover {
    opacity: 0.7;
}

.post-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0.25rem 0 0;
    text-transform: none;
    transition: opacity 0.2s ease;
}

@media (min-width: 1024px) {
    .post-card__title {
        font-size: 1.5rem;
    }
}

.post-card__link:hover .post-card__title {
    opacity: 0.7;
}

.post-card__excerpt {
    font-size: 0.9375rem;
    line-height: 1.65;
    opacity: 0.65;
    margin: 0.25rem 0 0;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.post-card__date {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
    font-variant-numeric: tabular-nums;
}

.post-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    position: relative;
    padding-right: 2.25rem;
}

.post-card__cta-line {
    position: absolute;
    right: 0;
    top: 50%;
    width: 1.75rem;
    height: 1px;
    background: var(--text-primary);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.post-card__link:hover .post-card__cta-line {
    width: 2.5rem;
}

/* FEATURED card (first in archive) */
.post-card--featured {
    grid-column: 1 / -1;
}

.post-card--featured .post-card__link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

@media (min-width: 1024px) {
    .post-card--featured .post-card__link {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    }
}

.post-card--featured .post-card__media {
    aspect-ratio: 16 / 9;
    border: none;
    border-right: 1px solid var(--border-color);
}

.post-card--featured .post-card__body {
    padding: 2.5rem;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .post-card--featured .post-card__body {
        padding: 3.5rem;
    }
}

.post-card--featured .post-card__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
}

.post-card--featured .post-card__excerpt {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.7;
}

/* COMPACT card (related posts) */
.post-card--compact .post-card__link {
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.post-card--compact .post-card__link:hover {
    border-color: var(--brand-raspberry);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.post-card--compact .post-card__title {
    font-size: 1.125rem;
    line-height: 1.35;
}

.post-card--compact .post-card__media {
    aspect-ratio: 16 / 9;
}

/* MINIMAL card (no image) */
.post-card--minimal .post-card__link {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* PAGINATION */
.pagination {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: var(--bg-primary);
    border-color: var(--text-primary);
}

.pagination .page-numbers.current {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    pointer-events: none;
}

.pagination .page-numbers.dots {
    border-color: transparent;
    pointer-events: none;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: 600;
}

/* ARCHIVE EMPTY STATE */
.archive-empty {
    text-align: center;
    padding: 4rem 1.5rem;
}

.archive-empty__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 1rem 0 2rem;
}

.archive-empty .link-arrow {
    justify-content: center;
}

/* ARTICLE HERO (single post) */
.article-hero {
    position: relative;
    padding: 10rem 0 4rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.article-hero__inner {
    padding: 0 1.5rem;
    max-width: 1040px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .article-hero__inner {
        padding: 0 1.5rem;
    }
}

.article-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 2rem;
}

.article-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.article-hero__breadcrumb a:hover {
    opacity: 0.7;
}

.article-hero__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-raspberry);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.article-hero__title {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
    max-width: 18ch;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
}

.article-hero__sep {
    opacity: 0.4;
}

/* ARTICLE IMAGE (single post) */
.article-image {
    margin: 0;
    padding: 0 1.5rem;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

.article-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid var(--border-color);
}

.article-image__caption {
    display: block;
    padding: 0.75rem 0 0;
    font-size: 0.8125rem;
    font-style: italic;
    opacity: 0.55;
    text-align: center;
}

/* ARTICLE CONTENT (single post) */
.article-content {
    max-width: 860px;
    padding: 4.5rem 1.5rem 4.5rem;
    font-size: 1.125rem;
    line-height: 1.9;
    font-weight: 400;
    color: var(--text-primary);
}

.article-content > * + * {
    margin-top: 1.5em;
}

.article-content p {
    margin: 0;
}

.article-content a {
    color: var(--brand-raspberry);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: opacity 0.2s ease;
}

.article-content a:hover {
    opacity: 0.7;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 2.5em;
}

.article-content h2 {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    text-transform: none;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
    text-transform: none;
    letter-spacing: 0;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5em;
    margin: 1.5em 0;
}

.article-content li {
    margin: 0.5em 0;
}

.article-content blockquote {
    margin: 2.5em 0;
    padding: 1.75rem 2rem;
    border-left: 3px solid var(--brand-raspberry);
    background: var(--bg-secondary);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

.article-content blockquote p {
    margin: 0;
}

.article-content code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--bg-secondary);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

.article-content pre {
    margin: 2em 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    max-width: 100%;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

.article-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ==================================================
   31. ABOUT PAGE (page-about.php)
   ================================================== */
.page-hero--about {
    text-align: center;
    position: relative;
    padding-bottom: 8rem;
}

.page-hero--about .page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero__letter {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(20%, -25%);
    font-size: clamp(15rem, 35vw, 40rem);
    line-height: 0.85;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--outline-stroke);
    z-index: 0;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.dark .page-hero__letter {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.08);
}

.page-hero__geo {
    font-size: 0.8125rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
    margin: 0 0 3rem;
}

/* Додатковий відступ для head секцій, де зверху є outline-літера */
.page-hero--about .eyebrow {
    position: relative;
    z-index: 2;
}

.page-hero--about .page-hero__title {
    position: relative;
    z-index: 2;
}

.page-hero--about .page-hero__lead {
    position: relative;
    z-index: 2;
}

.page-hero--about .page-hero__geo {
    position: relative;
    z-index: 2;
}

.page-hero--about .page-hero__stats {
    position: relative;
    z-index: 2;
}

.about-editor__inner {
    max-width: 800px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.about-editor__inner p {
    margin: 0 0 1.25rem;
}

.about-editor__inner h1,
.about-editor__inner h2,
.about-editor__inner h3,
.about-editor__inner h4,
.about-editor__inner h5,
.about-editor__inner h6 {
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 2.75rem 0 1rem;
    letter-spacing: -0.01em;
}

.about-editor__inner h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.about-editor__inner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.about-editor__inner h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.about-editor__inner h4 { font-size: 1.25rem; }
.about-editor__inner h5 {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 1.5rem 0 1.25rem;
    text-transform: none;
    color: var(--text-primary);
}
.about-editor__inner h6 { font-size: 1rem; }

.about-editor__inner h1:first-child,
.about-editor__inner h2:first-child,
.about-editor__inner h3:first-child,
.about-editor__inner h4:first-child,
.about-editor__inner h5:first-child,
.about-editor__inner h6:first-child {
    margin-top: 0;
}

.about-editor__inner ul,
.about-editor__inner ol {
    margin: 0 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.about-editor__inner ul li,
.about-editor__inner ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Стилізуємо як тире-буллети (як у тексті "– SMM…") */
.about-editor__inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 1.25rem;
    height: 1px;
    background: var(--brand-raspberry);
}

.about-editor__inner ol {
    counter-reset: editor-list;
}

.about-editor__inner ol li {
    counter-increment: editor-list;
    padding-left: 2.5rem;
}

.about-editor__inner ol li::before {
    content: counter(editor-list) ".";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 2rem;
    font-weight: 300;
    color: var(--brand-raspberry);
    min-width: 2.5rem;
    text-align: left;
    line-height: 1;
}

.about-editor__inner a {
    color: var(--brand-raspberry);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.about-editor__inner a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.about-editor__inner strong,
.about-editor__inner b {
    font-weight: 900;
    color: var(--text-primary);
}

.about-editor__inner em,
.about-editor__inner i {
    font-style: italic;
    opacity: 0.85;
}

.about-editor__inner blockquote {
    margin: 2rem 0;
    padding: 1.25rem 0 1.25rem 1.5rem;
    border-left: 3px solid var(--brand-raspberry);
    font-size: 1.125rem;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.6;
}

.about-editor__inner blockquote p {
    margin-bottom: 0.5rem;
}

.about-editor__inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.about-editor__inner figure {
    margin: 2rem 0;
}

.about-editor__inner figcaption {
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.about-editor__inner code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    padding: 0.15em 0.4em;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.about-editor__inner pre {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.about-editor__inner pre code {
    background: none;
    border: none;
    padding: 0;
}

.about-editor__inner hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0;
}

.about-editor__inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.about-editor__inner th,
.about-editor__inner td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.about-editor__inner th {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* dropcap для першого параграфа, що містить перший символ тексту */
.about-editor__inner > p:first-of-type::first-letter {
    font-size: 3.5em;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin: 0.15em 0.15em 0 0;
    color: var(--brand-raspberry);
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .about-editor__inner > p:first-of-type::first-letter {
        font-size: 2.5em;
    }
}

/* ===== Місія ===== */
.about-mission__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.about-mission__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 1rem 0 1.5rem;
    letter-spacing: -0.02em;
}

.about-mission__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 640px;
    margin: 0 auto;
}

.about-mission__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-mission__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-card {
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    list-style: none;
}

.mission-card--feature {
    grid-column: span 2;
    background: var(--brand-raspberry-soft-2);
    border-color: var(--brand-raspberry);
}

.mission-card--feature .mission-card__title {
    color: var(--brand-raspberry);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.mission-card:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .mission-card,
    .mission-card:hover {
        transition: none;
        transform: none;
    }
}

.mission-card__title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.mission-card__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* ===== Досягнення ===== */
.about-achievements__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-achievements__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1rem;
}

.about-achievements__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-achievements__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-achievements__item {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.3s ease;
}

.about-achievements__item:hover {
    background: var(--bg-card);
}

.about-achievements__num {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.about-achievements__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    line-height: 1.4;
}

.about-team__empty {
    text-align: center;
    opacity: 0.5;
    padding: 3rem 0;
}

/* ==================================================
   32. SUT-PROEKTU PAGE (page-sut-proektu.php)
   ================================================== */
.page-hero--sut {
    text-align: left;
    position: relative;
    padding-bottom: 6rem;
}

.page-hero--sut .page-hero__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    text-align: left;
}

@media (min-width: 768px) {
    .page-hero--sut .page-hero__inner {
        padding: 0 clamp(2rem, 5vw, 6rem);
    }
}

.page-hero__title-accent {
    color: var(--brand-raspberry);
}

.sut-editor__inner {
    max-width: 800px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.sut-editor__inner p {
    margin: 0 0 1.25rem;
}

.sut-editor__inner h1,
.sut-editor__inner h2,
.sut-editor__inner h3,
.sut-editor__inner h4,
.sut-editor__inner h5,
.sut-editor__inner h6 {
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 2.75rem 0 1rem;
    letter-spacing: -0.01em;
}

.sut-editor__inner h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.sut-editor__inner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.sut-editor__inner h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.sut-editor__inner h4 { font-size: 1.25rem; }
.sut-editor__inner h5 { font-size: 1.125rem; }
.sut-editor__inner h6 { font-size: 1rem; }

.sut-editor__inner h1:first-child,
.sut-editor__inner h2:first-child,
.sut-editor__inner h3:first-child,
.sut-editor__inner h4:first-child,
.sut-editor__inner h5:first-child,
.sut-editor__inner h6:first-child {
    margin-top: 0;
}

.sut-editor__inner ul,
.sut-editor__inner ol {
    margin: 0 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.sut-editor__inner ul li,
.sut-editor__inner ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.sut-editor__inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 1.25rem;
    height: 1px;
    background: var(--brand-raspberry);
}

.sut-editor__inner ol {
    counter-reset: sut-editor-list;
}

.sut-editor__inner ol li {
    counter-increment: sut-editor-list;
    padding-left: 2.5rem;
}

.sut-editor__inner ol li::before {
    content: counter(sut-editor-list) ".";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 2rem;
    font-weight: 300;
    color: var(--brand-raspberry);
    min-width: 2.5rem;
    text-align: left;
    line-height: 1;
}

.sut-editor__inner a {
    color: var(--brand-raspberry);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sut-editor__inner a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.sut-editor__inner strong,
.sut-editor__inner b {
    font-weight: 900;
    color: var(--text-primary);
}

.sut-editor__inner em,
.sut-editor__inner i {
    font-style: italic;
    opacity: 0.85;
}

.sut-editor__inner blockquote {
    margin: 2rem 0;
    padding: 1.25rem 0 1.25rem 1.5rem;
    border-left: 3px solid var(--brand-teal);
    font-size: 1.125rem;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.6;
}

.sut-editor__inner blockquote p {
    margin-bottom: 0.5rem;
}

.sut-editor__inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.sut-editor__inner figure {
    margin: 2rem 0;
}

.sut-editor__inner figcaption {
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.sut-editor__inner code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    padding: 0.15em 0.4em;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.sut-editor__inner pre {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.sut-editor__inner pre code {
    background: none;
    border: none;
    padding: 0;
}

.sut-editor__inner hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0;
}

.sut-editor__inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.sut-editor__inner th,
.sut-editor__inner td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sut-editor__inner th {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.sut-editor__inner > p:first-of-type::first-letter {
    font-size: 3.5em;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin: 0.15em 0.15em 0 0;
    color: var(--brand-raspberry);
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .sut-editor__inner > p:first-of-type::first-letter {
        font-size: 2.5em;
    }
}

/* ===== Маніфест ===== */
.sut-manifest__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-manifest__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 1rem 0 0;
    letter-spacing: -0.02em;
}

.sut-manifest__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 1024px) {
    .sut-manifest__grid {
        grid-template-columns: 1fr 1.4fr;
        gap: 6rem;
    }
}

.sut-manifest__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--brand-raspberry);
}

.sut-manifest__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: sut;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sut-manifest__list li {
    position: relative;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.sut-manifest__list li:first-child {
    border-top: none;
    padding-top: 0;
}

.sut-manifest__list-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--brand-raspberry);
    letter-spacing: 0.3em;
    margin-bottom: 0.75rem;
}

.sut-manifest__list h3 {
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.sut-manifest__list p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* ===== Цілі ===== */
.sut-goals__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-goals__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1rem;
}

.sut-goals__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sut-goals__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.goal-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-raspberry);
}

.goal-card__num {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--brand-raspberry);
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.goal-card__title {
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.goal-card__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* ===== Stats ===== */
.sut-stats__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-stats__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1rem;
}

.sut-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sut-stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sut-stats__item {
    padding: 3rem 1.5rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.3s ease;
}

.sut-stats__item:hover {
    background: var(--bg-card);
}

.sut-stats__num {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
}

.sut-stats__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

/* ===== Team (sut) ===== */
.sut-team__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-team__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 1rem 0 1rem;
}

.sut-team__subtitle {
    font-size: 1.125rem;
    opacity: 0.7;
    margin: 0;
}

.sut-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Timeline ===== */
.sut-timeline__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-timeline__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1rem;
}

.sut-timeline__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    position: relative;
}

.sut-timeline__list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 90px;
    width: 1px;
    background: var(--border-color);
}

.sut-timeline__item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
}

.sut-timeline__item::before {
    content: '';
    position: absolute;
    left: 86px;
    top: 2.5rem;
    width: 9px;
    height: 9px;
    background: var(--brand-raspberry);
    border-radius: 50%;
    z-index: 1;
}

.sut-timeline__year {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-raspberry);
    letter-spacing: 0.05em;
    line-height: 1;
    padding-top: 0.5rem;
}

.sut-timeline__heading {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.sut-timeline__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

@media (max-width: 767px) {
    .sut-timeline__list::before {
        left: 60px;
    }
    .sut-timeline__item {
        grid-template-columns: 60px 1fr;
        gap: 1.25rem;
    }
    .sut-timeline__item::before {
        left: 56px;
    }
    .sut-timeline__year {
        font-size: 1rem;
    }
}

/* ==================================================
   33. ABOUT — СТАТТЯ «ПРО ЦИФРОВИЙ МАРКЕТИНГ»
   (page-about.php: about-article, about-channels,
    about-dali, about-advantages, about-components,
    about-principles-long)
   ================================================== */
.about-article {
    position: relative;
}

.about-article__intro {
    max-width: 1100px;
    margin: 0 auto 5rem;
    text-align: center;
}

.about-article__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 2rem;
    letter-spacing: -0.02em;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-article__prose {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.about-article__prose p {
    margin: 0 0 1.5rem;
}

.about-article__prose p:first-of-type::first-letter {
    font-size: 3.5em;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin: 0.15em 0.15em 0 0;
    color: var(--brand-raspberry);
    letter-spacing: -0.02em;
}

.about-article__media {
    margin: 5rem auto;
    max-width: 1280px;
    text-align: center;
    position: relative;
}

.about-article__media-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-article__media-btn:hover {
    border-color: var(--brand-raspberry);
}

.about-article__media-btn:focus-visible {
    outline: 2px solid var(--brand-raspberry);
    outline-offset: 2px;
}

.about-article__media-btn img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.about-article__media-btn:hover img {
    transform: scale(1.02);
}

.about-article__zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-article__media-btn:hover .about-article__zoom,
.about-article__media-btn:focus-visible .about-article__zoom {
    opacity: 1;
    transform: translateY(0);
}

.about-article__media--last {
    margin-bottom: 6rem;
}

.about-article__conclusion {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0 1rem;
}

.about-article__conclusion p {
    margin: 0;
    position: relative;
    padding: 0 2.5rem;
}

.about-article__conclusion p::before,
.about-article__conclusion p::after {
    content: '"';
    color: var(--brand-raspberry);
    font-size: 2.5rem;
    position: absolute;
    top: -0.5rem;
    font-weight: 900;
    line-height: 1;
}

.about-article__conclusion p::before { left: -0.25rem; }
.about-article__conclusion p::after { right: -0.25rem; }

/* ===== 5 каналів ===== */
.about-channels {
    margin-top: 7rem;
}

.about-channels__head {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.about-channels__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.about-channels__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.7;
    margin: 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-channels__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .about-channels__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-channels__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .about-channels__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.about-channels__item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.about-channels__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--brand-raspberry);
    transition: height 0.4s ease;
}

.about-channels__item:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
    background: var(--bg-primary);
}

.about-channels__item:hover::before {
    height: 100%;
}

.about-channels__num {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--brand-raspberry);
    display: inline-block;
    padding: 0;
    background: transparent;
    align-self: flex-start;
}

.about-channels__heading {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0.5rem 0 0;
    color: var(--text-primary);
}

.about-channels__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.75;
    margin: 0;
}

/* ===== dali_win tools ===== */
.about-dali {
    margin-top: 7rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.about-dali__head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-dali__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.about-dali__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 1100px;
    margin: 0 auto;
}

.about-dali__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-dali__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-dali__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1440px) {
    .about-dali__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-dali__tool {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-dali__tool:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-2px);
}

.about-dali__abbr {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-raspberry);
    background: var(--bg-primary);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--brand-raspberry);
    letter-spacing: 0.05em;
}

.about-dali__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-dali__name {
    font-size: 0.9375rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-dali__desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* ===== 3 переваги ===== */
.about-advantages {
    margin-top: 7rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.about-advantages__head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-advantages__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.about-advantages__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.7;
    margin: 0;
}

.about-advantages__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .about-advantages__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-advantages__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
    list-style: none;
}

.about-advantages__item:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .about-advantages__item,
    .about-advantages__item:hover {
        transition: none;
        transform: none;
    }
}

.about-advantages__heading {
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0.5rem 0 0.5rem;
    color: var(--text-primary);
}

.about-advantages__text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

/* ===== 3 складники ===== */
.about-components {
    margin-top: 7rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.about-components__head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-components__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 0;
    letter-spacing: -0.02em;
}

.about-components__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .about-components__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-component {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.about-component--feature {
    background: var(--brand-raspberry-soft-2);
    border-color: var(--brand-raspberry);
    transform: scale(1.02);
}

.about-component--feature .about-component__icon {
    background: var(--brand-teal);
}

@media (min-width: 768px) {
    .about-components__grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
    .about-component--feature {
        transform: scale(1.05);
    }
}

.about-component:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
}

.about-component__icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--brand-raspberry);
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
}

.about-component__icon--text {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M3 3h18v2H3V3zm0 4h18v12H3V7zm2 2v8h14V9H5zm2 2h10v2H7v-2zm0 4h6v2H7v-2z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M3 3h18v2H3V3zm0 4h18v12H3V7zm2 2v8h14V9H5zm2 2h10v2H7v-2zm0 4h6v2H7v-2z'/></svg>");
}

.about-component__icon--design {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16zm-5-9h2l1 2 2-5 2 5 1-2h2l-2 4h-2l-1-2-2 4H7l-2-4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16zm-5-9h2l1 2 2-5 2 5 1-2h2l-2 4h-2l-1-2-2 4H7l-2-4z'/></svg>");
}

.about-component__icon--analytics {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M3 3h2v18H3V3zm4 10h2v8H7v-8zm4-4h2v12h-2V9zm4 6h2v6h-2v-6zm4-12h2v18h-2V3z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M3 3h2v18H3V3zm4 10h2v8H7v-8zm4-4h2v12h-2V9zm4 6h2v6h-2v-6zm4-12h2v18h-2V3z'/></svg>");
}

.about-component__title {
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.about-component__text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

/* ===== 6 принципів ===== */
.about-principles-long {
    margin-top: 7rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.about-principles-long__head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-principles-long__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.25rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.about-principles-long__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 1100px;
    margin: 0 auto;
}

.about-principles-long__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .about-principles-long__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .about-principles-long__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-principles-long__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-principles-long__item:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-2px);
}

.about-principles-long__num {
    font-size: 3rem;
    font-weight: 300;
    color: var(--brand-raspberry);
    line-height: 1;
    flex-shrink: 0;
    min-width: 3.5rem;
    letter-spacing: -0.02em;
}

.about-principles-long__heading {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.about-principles-long__text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

/* ==================================================
   34. SUT-PROEKTU — місія, підтримка, тарифи,
   хостинг, апсейли, dali_win
   (page-sut-proektu.php)
   ================================================== */

/* ===== Місія ===== */
.sut-mission__inner {
    max-width: 1600px;
    margin: 0 auto;
}

.sut-mission__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1rem 0 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.sut-mission__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.75;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.sut-mission__sub {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-raspberry);
    padding: 2.5rem 2.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.sut-mission__sub-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--brand-raspberry);
}

.sut-mission__sub p {
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    opacity: 0.8;
}

/* ===== Підтримка Banner ===== */
.sut-free-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--brand-teal-soft);
    border: 1px solid var(--brand-teal);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .sut-free-banner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
}

.sut-free-banner__content {
    flex: 1;
}

.sut-free-banner__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    margin: 0 0 1rem;
    color: var(--brand-teal);
}

.sut-free-banner__lead {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.sut-free-banner__action {
    margin-top: 2rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .sut-free-banner__action {
        margin-top: 0;
    }
}

.dark .sut-free-banner {
    background: rgba(13, 148, 136, 0.05);
}

/* ===== Sut Stats (already styled in section 32) — keep as is ===== */

/* ===== Tariffs (price cards) ===== */
.sut-tariffs,
.sut-hosting {
    position: relative;
    overflow: hidden;
}

.sut-tariffs__watermark,
.sut-hosting__watermark {
    position: absolute;
    top: 50%;
    font-size: clamp(20rem, 45vw, 40rem);
    line-height: 0.85;
    z-index: 0;
    opacity: 0.08;
    font-weight: 900;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
    pointer-events: none;
    user-select: none;
}

.sut-tariffs__watermark {
    right: -2rem;
    transform: translateY(-50%);
    color: var(--brand-raspberry);
}

.sut-hosting__watermark {
    left: -2rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.14);
}

.sut-tariffs .container-wide,
.sut-hosting .container-wide {
    position: relative;
    z-index: 1;
}

.sut-tariffs::before,
.sut-hosting::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.45;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}

.sut-tariffs__head,
.sut-hosting__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
}

.sut-tariffs__title,
.sut-hosting__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.5rem 0 1.5rem;
    text-transform: uppercase;
    text-wrap: balance;
}

.sut-tariffs__lead,
.sut-hosting__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 36rem;
    color: var(--text-primary);
    opacity: 0.6;
    margin: 0 auto;
}

.sut-tariffs__rows {
    display: block;
}

.sut-tariffs__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sut-tariffs__filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.sut-tariffs .pricing-toggle {
    margin: 0;
}

.tariff-filter-btn {
    appearance: none;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    min-height: 2.75rem;
    padding: 0.7rem 1.1rem;
    border-radius: 9999px;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.tariff-filter-btn:hover,
.tariff-filter-btn.is-active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #ffffff;
}

.sut-tariffs__grid,
.sut-hosting__grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.sut-tariffs__grid--adaptive,
.sut-hosting__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
    .sut-tariffs__grid--adaptive,
    .sut-hosting__grid {
        gap: 1.5rem;
    }
}

.sut-hosting {
    background: var(--bg-secondary);
}

@media (min-width: 1180px) {
    .sut-hosting__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ===== Price card ===== */
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: auto;
    align-self: start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--text-primary);
}

.price-card__head {
    padding: 2rem 2rem 1.1rem;
    text-align: left;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.45rem;
    border-top: 3px solid var(--border-color);
}

.price-card--sun .price-card__head {
    border-top-color: var(--brand-teal);
}

.price-card--magenta .price-card__head {
    border-top-color: var(--brand-raspberry);
}

.price-card--neutral .price-card__head {
    border-top-color: rgba(5, 5, 5, 0.22);
}

.price-card__name {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.price-card__tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    color: var(--text-primary);
    opacity: 0.7;
    text-wrap: balance;
}

.price-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0 2rem 1.5rem;
    text-align: left;
}

.price-card__old {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-raspberry);
    text-decoration: line-through;
    opacity: 0.8;
}

.price-card__amount {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    line-height: 1;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.035em;
}

.price-card__period {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 700;
    color: var(--brand-teal);
}

.price-card__period--stacked {
    margin-top: 0;
}

.price-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 2rem 1.5rem;
    flex: 1 1 auto;
}

.price-card__section-title,
.price-card__lead,
.price-card__meta,
.price-card__warning,
.price-card__feature {
    margin: 0;
}

.price-card__section-title {
    font-size: 0.6875rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.65;
    padding-top: 0.55rem;
}

.price-card__lead,
.price-card__meta,
.price-card__warning,
.price-card__feature {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.price-card__lead,
.price-card__meta {
    color: var(--text-primary);
    opacity: 0.72;
}

.price-card__warning,
.price-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.price-card__warning {
    color: var(--text-primary);
    font-weight: 700;
}

.price-card__feature {
    color: var(--text-primary);
    opacity: 0.88;
}

.price-card__marker {
    flex: 0 0 auto;
    width: 0.9rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
    color: var(--brand-raspberry);
    text-align: center;
    transform: translateY(0.08rem);
}

.price-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: calc(100% - 4rem);
    margin: auto 2rem 0;
    min-height: 3.5rem;
    padding: 0.95rem 1.25rem;
    background: var(--brand-teal);
    border: 1px solid var(--brand-teal);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.price-card__cta::before {
    content: none;
}

.price-card__cta:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #ffffff;
}

.price-card__footer-note {
    margin: 0;
    padding: 1rem 2rem 2rem;
    text-align: left;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-primary);
    opacity: 0.65;
}

.sut-hosting .price-card {
    min-height: 0;
}

.sut-hosting .price-card__head {
    min-height: auto;
}

.sut-hosting .price-card__content {
    gap: 0.8rem;
    padding-top: 0;
}

@media (max-width: 767px) {
    .price-card__cta {
        width: calc(100% - 3rem);
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }
}

/* ===== Addons (До будь-якого тарифного плану) ===== */
.sut-addons__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.sut-addons__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 1rem 0 0;
}

.sut-addons__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.2s ease;
}

.addon-row:hover {
    padding-left: 1rem;
    padding-right: 1rem;
}

.addon-row__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.addon-row__price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--brand-raspberry);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ===== Що таке dali_win? ===== */
.sut-dali__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sut-dali__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1rem 0 1.5rem;
}

.sut-dali__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.75;
    max-width: 700px;
    margin: 0 auto;
}

.sut-dali__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sut-dali__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dali-card {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dali-card:hover {
    border-color: var(--brand-raspberry);
    transform: translateY(-4px);
}

.dali-card__num {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--brand-raspberry);
    margin-bottom: 0.75rem;
}

.dali-card__title {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.dali-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* ==================================================
   35. MOBILE FIXES для нових секцій
   ================================================== */
@media (max-width: 767px) {
    .about-channels__item {
        padding: 1.75rem 1.25rem;
    }
    .about-dali__tool {
        padding: 1rem 1.25rem;
    }
    .about-dali__abbr {
        width: 44px;
        height: 44px;
        font-size: 0.9375rem;
    }
    .about-component {
        padding: 2rem 1.5rem;
    }
    .about-component__icon {
        width: 50px;
        height: 50px;
    }
    .about-principles-long__item {
        padding: 1.25rem 1.25rem;
    }
    .price-card {
        padding: 2rem 1.5rem;
    }
    .price-card__name {
        font-size: 1.25rem;
    }
    .addon-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }
    .free-card {
        padding: 2rem 1.5rem;
    }
    .sut-mission__sub {
        padding: 2rem 1.5rem;
    }
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    border: 1px solid var(--border-color);
}

.article-content figure {
    margin: 2em 0;
}

.article-content figcaption {
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
    opacity: 0.6;
    margin-top: 0.75rem;
}

.article-content hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 3em auto;
    max-width: 100px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.9375rem;
    display: block;
    overflow-x: auto;
}

.article-content th,
.article-content td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-content th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
}

.article-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 3em 0 0;
    padding: 2em 0 0;
    border-top: 1px solid var(--border-color);
}

.article-pages__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    font-size: 0.875rem;
}

.article-pages__num.current {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    pointer-events: none;
}

/* ARTICLE FOOTER (tags) */
.article-footer {
    max-width: 860px;
    padding: 0 1.5rem 4.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.article-tags .eyebrow {
    margin-top: 0.6rem;
}

.article-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* POST NAVIGATION (prev/next) */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    padding: 4rem 1.5rem;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr 1fr;
    }
}

.post-navigation__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    min-width: 0;
}

.post-navigation__item:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.post-navigation__item--next {
    text-align: right;
    align-items: flex-end;
}

.post-navigation__item--empty {
    background: transparent;
    border: 1px dashed var(--border-color);
    pointer-events: none;
}

.post-navigation__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    overflow-wrap: anywhere;
}

/* RELATED POSTS */
.related-posts {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.related-posts__inner {
    padding: 0 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .related-posts__inner {
        padding: 0 4rem;
    }
}

.related-posts__head {
    margin-bottom: 3rem;
    max-width: 820px;
}

.related-posts__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0.5rem 0 0;
}

.related-posts .post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .related-posts .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .related-posts .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ARTICLE COMMENTS */
.article-comments {
    max-width: 960px;
    padding: 5rem 1.5rem;
    margin: 0 auto;
}

.article-comments .comments-area {
    margin: 0;
}

.article-comments .comments-title,
.article-comments .comment-reply-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.article-comments .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-comments .comment-body {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    margin-bottom: 1rem;
}

.article-comments .comment-form input[type="text"],
.article-comments .comment-form input[type="email"],
.article-comments .comment-form input[type="url"],
.article-comments .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.article-comments .comment-form input[type="submit"] {
    padding: 0.75rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.article-comments .comment-form input[type="submit"]:hover {
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
    .archive-hero {
        padding: 6rem 0 3rem;
    }
    .archive-filters {
        top: 5rem;
    }
    .archive-hero__watermark {
        font-size: 6rem;
        right: -1rem;
        bottom: -1rem;
    }
    .post-card--featured .post-card__link {
        grid-template-columns: 1fr;
    }
    .post-card--featured .post-card__media {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .article-hero {
        padding: 8rem 0 3rem;
    }
}

@media (max-width: 639px) {
    .archive-hero {
        padding: 5rem 0 2.5rem;
    }
    .archive-hero__title {
        font-size: 2rem;
    }
    .archive-list {
        padding: 2.5rem 0 5rem;
    }
    .archive-list__inner {
        padding: 0 1rem;
    }
    .post-grid {
        gap: 2.5rem 1.5rem;
    }
    .post-card__title {
        font-size: 1.25rem;
    }
    .article-content {
        padding: 2.5rem 1rem 3rem;
        font-size: 1rem;
    }
    .article-content h2 {
        font-size: 1.5rem;
    }
    .article-hero__title {
        font-size: 1.875rem;
        max-width: none;
    }
    .related-posts {
        padding: 3rem 0;
    }
    .related-posts__title {
        font-size: 1.5rem;
    }
    .post-navigation {
        padding: 2.5rem 1rem;
    }
}

/* ==================================================
   29. SERVICE PAGES
   ================================================== */
.service-section__head {
    margin-bottom: 4rem;
    max-width: 720px;
}

.service-section__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.5rem 0 0;
}

.service-intro__text {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    line-height: 1.7;
    font-weight: 300;
    opacity: 0.78;
    margin: 1.5rem 0 0;
    max-width: 60rem;
}

.service-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .service-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-feature-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.3s ease;
    align-self: stretch;
    height: auto;
}

.service-feature-card:hover {
    background: var(--bg-secondary);
}

.service-feature-card__num {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--brand-raspberry);
    opacity: 0.9;
    display: block;
}

.service-feature-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}

.service-feature-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    opacity: 0.65;
    margin: 0;
}

.service-process__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .service-process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-process__steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

.service-step {
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: stretch;
    height: auto;
}

@media (min-width: 768px) {
    .service-step {
        border-right: 1px solid var(--border-color);
    }
    .service-step:nth-child(2n) {
        border-right: none;
    }
    .service-step:last-child {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .service-step {
        border-right: 1px solid var(--border-color);
    }
    .service-step:nth-child(2n) {
        border-right: 1px solid var(--border-color);
    }
    .service-step:last-child {
        border-right: none;
    }
}

.service-step__num {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--brand-raspberry);
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
}

.service-step__title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    margin: 0.25rem 0 0;
    line-height: 1.25;
}

.service-step__text {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.65;
    margin: 0.25rem 0 0;
}

.service-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .service-benefits__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-benefit {
    border-top: 2px solid var(--text-primary);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-benefit__title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    margin: 0;
    line-height: 1.2;
}

.service-benefit__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    opacity: 0.7;
    margin: 0;
}

.service-cta {
    background: var(--bg-secondary);
}

.service-cta__text {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.7;
    margin: 1.5rem auto 2.5rem;
    max-width: 40rem;
}

.service-faq .faq__list {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .service-section__head {
        margin-bottom: 2.5rem;
    }
    .service-feature-card,
    .service-step {
        padding: 1.5rem 1rem;
    }
}

/* ==================================================
   36. LIGHTBOX — модальне вікно для зображень
   ================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-active {
    display: flex;
    opacity: 1;
}

.lightbox__inner {
    position: relative;
    max-width: min(1400px, 95vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.is-active .lightbox__inner {
    transform: scale(1);
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(90vh - 4rem);
    height: auto;
    display: block;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    padding: 0 1rem;
    max-width: 800px;
    opacity: 0.9;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

.lightbox__close {
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    padding: 0;
    font-weight: 300;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
    background: rgba(13, 148, 136, 0.9);
    border-color: var(--brand-raspberry);
    transform: rotate(90deg);
    outline: none;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    font-weight: 300;
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
    background: rgba(13, 148, 136, 0.9);
    border-color: var(--brand-raspberry);
    outline: none;
}

.lightbox__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 1rem;
    }
    .lightbox__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .lightbox__nav--prev { left: 0.5rem; }
    .lightbox__nav--next { right: 0.5rem; }
}

body.menu-open {
    overflow: hidden;
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
    gap: 0.5rem;
}

.btn--primary {
    background-color: var(--brand-teal);
    color: #ffffff;
}

.btn--primary:hover {
    background-color: var(--brand-raspberry);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--brand-raspberry-ring);
}

.dark .btn--primary {
    background-color: #c2185b;
    color: #ffffff;
}

.dark .btn--primary:hover {
    background-color: #0f766e;
    color: #ffffff;
    box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.4);
}

/* ====================================================================
   PROMO OFFERS � ����� ������ ������� �������
   ==================================================================== */
.promo-offers {
    position: relative;
    padding-top: clamp(7rem, 12vw, 10rem);
    padding-bottom: clamp(5rem, 8vw, 8rem);
    overflow: hidden;
}

.promo-offers--page {
    padding-top: clamp(4rem, 6vw, 6rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
    overflow: visible;
}

.promo-offers--page .service-section__head {
    margin-bottom: 3rem;
    max-width: 880px;
}

.promo-offers--page .promo-offers__lead {
    margin: 1.25rem 0 0;
    max-width: 72ch;
}

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

.promo-offers__head .eyebrow {
    border: 1px solid var(--brand-raspberry);
    color: var(--brand-raspberry);
    background: var(--brand-raspberry-soft);
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.promo-offers__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    color: var(--text-primary);
    text-wrap: balance;
}

.promo-offers__lead {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.75;
    margin: 0 auto;
    max-width: 56ch;
}

.promo-offers__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.promo-card {
    background: var(--bg-card, var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px -10px var(--brand-raspberry-ring);
    border-color: var(--brand-raspberry);
}

@media (prefers-reduced-motion: reduce) {
    .promo-card,
    .promo-card:hover {
        transform: none;
        transition: none;
    }
}

.promo-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.promo-card__title {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.promo-card__title-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--brand-teal);
}

.promo-card--ads .promo-card__title-ico {
    color: var(--brand-raspberry);
}

.promo-card__title-ico svg {
    width: 24px;
    height: 24px;
    display: block;
}

.promo-card__title-body {
    display: block;
    min-width: 0;
}

.promo-card__title-main {
    display: block;
    color: var(--text-primary);
    text-transform: uppercase;
}

.promo-card__title-sub {
    display: block;
    color: var(--brand-raspberry);
    font-size: 0.65em;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.25rem;
}

.promo-card__title-prep {
    color: var(--text-primary);
    opacity: 0.5;
    font-weight: 500;
    margin-right: 0.35em;
}

.promo-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-shrink: 0;
    line-height: 1;
}

.promo-card__price-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    opacity: 0.6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.promo-card__price-amount {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--brand-raspberry);
    letter-spacing: -0.04em;
}

.promo-card__price-note {
    font-size: 1rem;
    color: var(--brand-raspberry);
    font-weight: 600;
}

.promo-card__price-fineprint {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
    opacity: 0.55;
    margin: 0.5rem 0 0;
    max-width: 28rem;
}

.promo-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.promo-card__stat {
    text-align: center;
    min-width: 0;
}

.promo-card__stat-num {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--brand-teal);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.promo-card__stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-primary);
    opacity: 0.6;
    text-transform: lowercase;
    margin-top: 0.25rem;
    line-height: 1.2;
}

.promo-card__lead {
    font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.85;
    margin: 0 0 1.5rem;
    font-weight: 500;
}

.promo-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1 1 auto;
}

.promo-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.promo-card__check {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: var(--brand-raspberry);
    margin-top: 0.15rem;
}

.promo-card__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.promo-card__col {
    min-width: 0;
}

.promo-card__col-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-teal);
    margin: 0 0 0.75rem;
}

.promo-card__col-ico {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-raspberry);
}

.promo-card__cta {
    align-self: flex-start;
    margin-top: auto;
}

/* === Promo deal (QR + WhatsApp + cashback) === */
.promo-deal {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: var(--bg-card, var(--bg-primary));
    border: 1px solid var(--brand-teal);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.promo-deal::before {
    content: ;
 position: absolute;
 inset: 0;
 background: linear-gradient(135deg, var(--brand-raspberry-soft-2), transparent 60%);
 pointer-events: none;
}

.promo-deal__col {
 position: relative;
 z-index: 1;
 min-width: 0;
}

.promo-deal__col--qr {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.5rem;
 text-align: center;
 max-width: 180px;
}

.promo-deal__qr-label {
 font-size: 0.75rem;
 color: var(--text-primary);
 opacity: 0.75;
 line-height: 1.3;
 font-weight: 600;
}

.promo-deal__qr {
 width: 110px;
 height: 110px;
 background: #ffffff;
 border-radius: 0.5rem;
 padding: 0.5rem;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promo-deal__qr svg,
.promo-deal__qr img {
 width: 100%;
 height: 100%;
 display: block;
}

.promo-deal__col--code {
 text-align: center;
 border-left: 1px solid var(--border-color);
 border-right: 1px solid var(--border-color);
 padding: 0 1.5rem;
}

.promo-deal__code-label {
 display: block;
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 0.15em;
 color: var(--text-primary);
 opacity: 0.6;
 margin-bottom: 0.25rem;
}

.promo-deal__code {
 display: block;
 font-size: clamp(1.25rem, 2.5vw, 1.75rem);
 font-weight: 900;
 color: var(--brand-raspberry);
 letter-spacing: 0.05em;
 word-break: break-all;
}

.promo-deal__col--wa {
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
}

.promo-deal__wa-head {
 font-size: 0.8rem;
 color: var(--text-primary);
 opacity: 0.7;
 text-transform: lowercase;
}

.promo-deal__wa-phone {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 color: var(--brand-raspberry);
 font-weight: 800;
 font-size: clamp(1.1rem, 2.2vw, 1.5rem);
 text-decoration: none;
 transition: color 0.2s ease;
}

.promo-deal__wa-phone:hover {
 color: var(--brand-raspberry-600);
}

.promo-deal__wa-ico {
 width: 1.5rem;
 height: 1.5rem;
 color: #25D366;
}

.promo-deal__wa-sub {
 font-size: 0.8rem;
 color: var(--text-primary);
 opacity: 0.7;
}

.promo-deal__cashback {
 font-size: clamp(1.25rem, 2.5vw, 1.75rem);
 font-weight: 800;
 color: var(--text-primary);
 line-height: 1.1;
 text-transform: uppercase;
}

.promo-deal__cashback strong {
 color: var(--brand-raspberry);
 font-size: 1.25em;
 font-weight: 900;
 margin-left: 0.3em;
}

.promo-deal__wa-fine {
 font-size: 0.75rem;
 color: var(--text-primary);
 opacity: 0.65;
 line-height: 1.4;
}

.promo-deal__wa-deadline {
 font-size: 0.8rem;
 color: var(--text-primary);
 opacity: 0.8;
 margin-top: 0.25rem;
}

.promo-deal__wa-deadline strong {
 color: var(--brand-raspberry-700, var(--brand-raspberry));
 font-weight: 800;
}

.promo-offers__fineprint {
 margin: 1.25rem 0 0;
 text-align: center;
 font-size: 0.75rem;
 color: var(--text-primary);
 opacity: 0.5;
 line-height: 1.4;
}

/* === Dark Mode Overrides for Promo Offers === */
.dark .promo-offers {
    background-color: var(--bg-primary);
}

.dark .promo-card {
    background: var(--bg-card);
    border: 1px solid var(--brand-teal);
    padding: clamp(1.5rem, 3vw, 3rem);
}

.dark .promo-card:hover {
    box-shadow: 0 14px 40px -10px rgba(13, 148, 136, 0.3);
    border-color: var(--brand-teal);
    transform: translateY(-4px);
}

.dark .promo-card__head {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1rem;
}

.dark .promo-card__title {
    display: flex;
    flex-direction: column;
    line-height: 1;
    grid-column: 1;
}

.dark .promo-card__price {
    grid-column: 2;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: 0.25rem;
    row-gap: 0;
}

.dark .promo-card__title-main {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
}

.dark .promo-card__title-sub {
    color: var(--brand-raspberry);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 0;
}

.dark .promo-card__title-prep {
    color: #ffffff;
    opacity: 1;
}

.dark .promo-card__price-label {
    grid-column: 1 / -1;
    grid-row: 1;
    color: var(--brand-raspberry);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 900;
    opacity: 1;
    text-transform: lowercase;
}

.dark .promo-card__price-amount {
    grid-column: 1;
    grid-row: 2;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.8;
}

.dark .promo-card__price-note {
    grid-column: 2;
    grid-row: 2;
    color: var(--brand-raspberry);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 900;
}

.dark .promo-card__price-fineprint {
    display: none; /* In the poster, fineprint is at the very bottom, not in head */
}

.dark .promo-card__stats {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dark .promo-card__stat {
    border: 1px solid var(--brand-teal);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
    justify-content: center;
}

.dark .promo-card__stat-num {
    color: #ffffff;
    font-size: 3rem;
}

.dark .promo-card__stat-label {
    color: #ffffff;
    opacity: 1;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: none;
    margin: 0;
}

.dark .promo-card__lead {
    color: var(--brand-teal);
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 2rem;
}

.dark .promo-card__lead strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.dark .promo-card__features li {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.125rem;
}

.dark .promo-card__check {
    color: var(--brand-teal);
}

.dark .promo-card__col-title {
    color: var(--brand-teal);
    font-size: 1.25rem;
}

.dark .promo-card__col {
    border: 1px solid var(--brand-teal);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.dark .promo-card__split {
    gap: 1rem;
}

.dark .promo-deal {
    background: transparent;
    border: 1px solid var(--brand-teal);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.dark .promo-deal::before {
    display: none;
}

.dark .promo-deal__qr-label,
.dark .promo-deal__code-label,
.dark .promo-deal__wa-head {
    color: var(--brand-teal);
    opacity: 1;
    font-weight: 500;
}

.dark .promo-deal__code {
    color: var(--brand-raspberry);
}

.dark .promo-deal__wa-phone {
    color: #ffffff;
}

.dark .promo-deal__wa-sub,
.dark .promo-deal__wa-fine {
    color: #ffffff;
    opacity: 1;
}

.dark .promo-deal__wa-deadline {
    color: var(--brand-teal);
    opacity: 1;
}

.dark .promo-deal__cashback {
    color: var(--brand-raspberry);
}

.dark .promo-deal__cashback strong {
    color: var(--brand-raspberry);
}

.dark .promo-offers__fineprint {
    color: #ffffff;
    opacity: 0.6;
}

/* === Responsive === */
@media (max-width: 1023px) {
 .promo-offers__cards {
 grid-template-columns: 1fr;
 gap: 1.5rem;
 }
 .promo-deal {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .promo-deal__col--qr {
 max-width: 100%;
 flex-direction: row;
 gap: 1rem;
 align-items: center;
 }
 .promo-deal__col--code {
 border: none;
 border-top: 1px solid var(--border-color);
 border-bottom: 1px solid var(--border-color);
 padding: 1rem 0;
 }
}

@media (max-width: 639px) {
 .promo-offers {
 padding-top: clamp(5rem, 10vw, 7rem);
 }
 .promo-card__head {
 flex-direction: column;
 align-items: flex-start;
 gap: 1rem;
 }
 .promo-card__stats {
 grid-template-columns: 1fr;
 text-align: left;
 }
 .promo-card__stat {
 text-align: left;
 display: flex;
 align-items: baseline;
 gap: 0.75rem;
 }
 .promo-card__stat-label {
 margin-top: 0;
 }
 .promo-card__split {
 grid-template-columns: 1fr;
 gap: 1.5rem;
 }
 .promo-deal__col--qr {
 flex-direction: column;
 text-align: center;
 }
 .promo-deal__wa-phone {
 justify-content: center;
 }
}

@media (max-width: 480px) {
 .promo-card {
 padding: 1.25rem;
 }
 .promo-card__price-amount {
 font-size: 2.25rem;
 }
 .promo-deal {
 padding: 1.25rem;
 }
 .promo-deal__qr {
 width: 90px;
 height: 90px;
 }
}
