/* ============================================
   DESIGN SYSTEM — opencart-cms.ru
   Единый CSS для всего сайта
   ============================================ */

/* === 1. DESIGN TOKENS === */
:root {
    /* Colors */
    --ds-accent: #E31E2F;
    --ds-accent-hover: #C91525;
    --ds-accent-light: rgba(227, 30, 47, 0.08);
    --ds-bg: #F6F7F9;
    --ds-surface: #FFFFFF;
    --ds-surface-muted: #F1F4F7;
    --ds-text: #151A24;
    --ds-text-secondary: #5C6675;
    --ds-text-muted: #8B95A5;
    --ds-border: #DCE2EA;
    --ds-dark: #1A1D23;
    --ds-dark-surface: #22262E;
    --ds-success: #17875B;
    --ds-warning: #F59E0B;

    /* Typography */
    --ds-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ds-font-mono: 'SF Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --ds-h1: clamp(2rem, 4vw, 3rem);
    --ds-h2: clamp(1.5rem, 3vw, 2rem);
    --ds-h3: clamp(1.2rem, 2vw, 1.5rem);
    --ds-h4: 1.125rem;
    --ds-body: 1rem;
    --ds-small: 0.875rem;
    --ds-xs: 0.75rem;

    /* Spacing Scale (4px base) */
    --ds-space-1: 4px;
    --ds-space-2: 8px;
    --ds-space-3: 12px;
    --ds-space-4: 16px;
    --ds-space-5: 20px;
    --ds-space-6: 24px;
    --ds-space-8: 32px;
    --ds-space-10: 40px;
    --ds-space-12: 48px;
    --ds-space-16: 64px;
    --ds-space-20: 80px;

    /* Semantic Spacing */
    --ds-gap-xs: 4px;
    --ds-gap-sm: 8px;
    --ds-gap-md: 16px;
    --ds-gap-lg: 24px;
    --ds-gap-xl: 32px;
    --ds-gap-2xl: 48px;

    /* Section Spacing */
    --ds-section-py: clamp(48px, 8vw, 96px);
    --ds-section-py-sm: clamp(32px, 5vw, 64px);
    --ds-section-py-lg: clamp(64px, 10vw, 128px);

    /* Card Spacing */
    --ds-card-p: clamp(16px, 3vw, 32px);
    --ds-card-gap: clamp(16px, 2vw, 24px);

    /* Border Radius */
    --ds-radius-sm: 6px;
    --ds-radius: 10px;
    --ds-radius-lg: 16px;
    --ds-radius-xl: 24px;
    --ds-radius-full: 9999px;

    /* Shadows */
    --ds-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --ds-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --ds-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --ds-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --ds-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ds-duration: 0.3s;
    --ds-duration-slow: 0.5s;

    /* Z-index */
    --ds-z-header: 1000;
    --ds-z-modal: 2000;
    --ds-z-tooltip: 3000;

    /* Container */
    --ds-container: 1400px;
    --ds-container-narrow: 800px;
    --ds-container-wide: 1400px;
    --ds-gutter: clamp(16px, 3vw, 32px);
}

/* === 2. RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ds-font);
    font-size: var(--ds-body);
    line-height: 1.6;
    color: var(--ds-text);
    background: var(--ds-surface);
    overflow-x: hidden;
}

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

a {
    color: var(--ds-accent);
    text-decoration: none;
    transition: color var(--ds-duration) var(--ds-ease);
}

a:hover {
    color: var(--ds-accent-hover);
}

::selection {
    background: var(--ds-accent);
    color: white;
}

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--ds-text);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--ds-h1); margin-bottom: var(--ds-space-lg); }
h2 { font-size: var(--ds-h2); margin-bottom: var(--ds-space-lg); }
h3 { font-size: var(--ds-h3); margin-bottom: var(--ds-space-md); }
h4 { font-size: var(--ds-h4); margin-bottom: var(--ds-space-md); }

p {
    margin-bottom: var(--ds-space-md);
    max-width: 70ch;
}

.text-muted { color: var(--ds-text-secondary); }
.text-accent { color: var(--ds-accent); }
.text-center { text-align: center; }
.text-sm { font-size: var(--ds-small); }
.text-xs { font-size: var(--ds-xs); }

/* === 4. LAYOUT === */
.ds-container {
    width: 100%;
    max-width: var(--ds-container);
    margin: 0 auto;
    padding: 0 var(--ds-gutter);
}

.ds-container--narrow {
    max-width: var(--ds-container-narrow);
}

.ds-container--wide {
    max-width: var(--ds-container-wide);
}

/* Grid System */
.ds-grid {
    display: grid;
    gap: var(--ds-gap-lg);
}

.ds-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ds-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ds-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ds-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (max-width: 768px) {
    .ds-grid--2,
    .ds-grid--3,
    .ds-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Utilities */
.ds-flex { display: flex; }
.ds-flex--center { align-items: center; justify-content: center; }
.ds-flex--between { justify-content: space-between; }
.ds-flex--wrap { flex-wrap: wrap; }
.ds-gap-sm { gap: var(--ds-space-sm); }
.ds-gap-md { gap: var(--ds-space-md); }
.ds-gap-lg { gap: var(--ds-space-lg); }
.ds-gap-xl { gap: var(--ds-space-xl); }

/* === 5. SECTIONS === */
.ds-section {
    padding: var(--ds-section-py) 0;
}

.ds-section--sm {
    padding: var(--ds-section-py-sm) 0;
}

.ds-section--dark {
    background: var(--ds-dark);
    color: white;
}

.ds-section--dark h1,
.ds-section--dark h2,
.ds-section--dark h3,
.ds-section--dark h4 {
    color: white;
}

.ds-section--dark p {
    color: rgba(255,255,255,0.8);
}

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

.ds-section--accent {
    background: var(--ds-accent);
    color: white;
}

.ds-section--accent h1,
.ds-section--accent h2,
.ds-section--accent h3 {
    color: white;
}

/* Section Header */
.ds-section-header {
    text-align: center !important;
    max-width: 700px;
    margin: 0 auto var(--ds-gap-2xl);
}

.ds-section-header--left {
    text-align: left;
    max-width: 100%;
    margin: 0 0 2rem;
}

.ds-section-header .ds-label {
    display: inline-block;
    font-size: var(--ds-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ds-accent);
    margin-bottom: var(--ds-space-sm);
}

.ds-section--dark .ds-section-header .ds-label {
    color: rgba(255,255,255,0.6);
}

.ds-section-header h2 {
    margin-bottom: var(--ds-space-md);
}

.ds-section-header p {
    color: var(--ds-text-secondary);
    margin: 0 auto;
}

.ds-section--dark .ds-section-header p {
    color: rgba(255,255,255,0.7);
}

/* === 6. BUTTONS === */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ds-space-sm);
    padding: 12px 28px;
    font-family: var(--ds-font);
    font-size: var(--ds-body);
    font-weight: 500;
    line-height: 1.4;
    border: 2px solid transparent;
    border-radius: var(--ds-radius);
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
    text-decoration: none;
    white-space: nowrap;
}

.ds-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow);
}

.ds-btn:active {
    transform: translateY(0);
}

.ds-btn--primary {
    background: var(--ds-accent);
    color: white;
    border-color: var(--ds-accent);
}

.ds-btn--primary:hover {
    background: var(--ds-accent-hover);
    border-color: var(--ds-accent-hover);
    color: white;
}

.ds-btn--secondary {
    background: transparent;
    color: var(--ds-text);
    border-color: var(--ds-border);
}

.ds-btn--secondary:hover {
    border-color: var(--ds-text);
    color: var(--ds-text);
}

.ds-btn--ghost {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
        margin-left: 20px;
}

.ds-btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.ds-btn--lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.ds-btn--sm {
    padding: 8px 16px;
    font-size: var(--ds-small);
}

.ds-btn--full {
    width: 100%;
}

a.ds-btn::before,
a.ds-btn::after {
    display: none !important;
}

/* === 7. CARDS === */
.ds-card {
    background: var(--ds-surface);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-card-p);
    border: 1px solid var(--ds-border);
    transition: all var(--ds-duration) var(--ds-ease);
}

.ds-card:hover {
    border-color: var(--ds-accent);
    box-shadow: var(--ds-shadow-lg);
    transform: translateY(-4px);
}

.ds-card--flat {
    border: none;
    background: var(--ds-bg);
}

.ds-card--dark {
    background: var(--ds-dark-surface);
    border-color: rgba(255,255,255,0.1);
}

.ds-card--dark:hover {
    border-color: var(--ds-accent);
}

.ds-card--accent {
    background: var(--ds-accent);
    color: white;
    border: none;
}

.ds-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-accent-light);
    border-radius: var(--ds-radius);
    margin-bottom: var(--ds-space-lg);
    color: var(--ds-accent);
}

.ds-card__title {
    font-size: var(--ds-h4);
    font-weight: 600;
    margin-bottom: var(--ds-space-sm);
}

.ds-card__text {
    color: var(--ds-text-secondary);
    font-size: var(--ds-small);
    line-height: 1.6;
}

.ds-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    color: var(--ds-accent);
    font-weight: 500;
    font-size: var(--ds-small);
    margin-top: var(--ds-space-lg);
    transition: gap var(--ds-duration) var(--ds-ease);
}

.ds-card__link:hover {
    gap: var(--ds-space-sm);
}

/* === 8. BREADCRUMBS === */
.ds-breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    font-size: var(--ds-small);
    color: var(--ds-text-muted);
    padding: var(--ds-space-lg) 0;
    flex-wrap: wrap;
}

.ds-breadcrumbs a {
    color: var(--ds-text-secondary);
}

.ds-breadcrumbs a:hover {
    color: var(--ds-accent);
}

.ds-breadcrumbs__sep {
    color: var(--ds-border);
    margin: 0px 10px;
}

.ds-breadcrumbs__current {
    color: var(--ds-text);
    font-weight: 500;
}

/* === 8B. PAGE HERO === */
.page-hero {
    padding: var(--ds-section-py-sm) 0 var(--ds-section-py);
}

.page-hero--dark {
    background: linear-gradient(135deg, #1a2332 0%, #0f1724 50%, #151A24 100%);
    color: white;
}

.page-hero--dark h1 { color: white; }
.page-hero--dark p { color: rgba(255,255,255,0.8); }

.page-hero__eyebrow {
    display: inline-block;
    font-size: var(--ds-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ds-accent);
    margin-bottom: var(--ds-space-sm);
}

.page-hero--dark .page-hero__eyebrow {
    background: rgba(227, 30, 47, 0.12);
    padding: 4px 12px;
    border-radius: var(--ds-radius-full);
}

.page-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ds-gap-2xl);
    align-items: start;
}

.page-hero__main h1 {
    margin-bottom: var(--ds-space-md);
}

.page-hero__lead p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ds-text-secondary);
    margin-bottom: var(--ds-space-lg);
}

.page-hero--dark .page-hero__lead p {
    color: rgba(255,255,255,0.7);
}

.page-hero__cta {
    display: flex;
    gap: var(--ds-gap-md);
    flex-wrap: wrap;
    margin-top: var(--ds-gap-lg);
}

@media (max-width: 768px) {
    .page-hero__grid {
        grid-template-columns: 1fr;
    }
}

/* === 9. EXPERT SUMMARY (replaces yellow short-answer) === */
.ds-answer-card {
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
    border: 1px solid rgba(220,226,234,0.9);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(21,26,36,0.04);
    padding: 16px 18px;
    margin: 18px 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ds-text);
}

.ds-answer-card strong {
    display: inline-flex;
    margin-right: 6px;
    color: var(--ds-text-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ds-answer-card a {
    color: var(--ds-accent);
    font-weight: 500;
}

/* Legacy: keep oc-short-answer working but with new styling */
.oc-short-answer {
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
    border: 1px solid rgba(220,226,234,0.9);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(21,26,36,0.04);
    padding: 16px 18px;
    margin: 18px 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.oc-short-answer strong {
    color: var(--ds-text-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.oc-short-answer a {
    color: var(--ds-accent);
    font-weight: 500;
}

/* === 10. FAQ === */
.ds-faq {
    max-width: 800px;
    margin: 0 auto;
}

.ds-faq-item {
    border-bottom: 1px solid var(--ds-border);
}

.ds-faq-item__question {
    width: 100%;
    padding: var(--ds-gap-md) 0;
    background: none;
    border: none;
    font-family: var(--ds-font);
    font-size: var(--ds-body);
    font-weight: 500;
    color: var(--ds-text);
    cursor: pointer;
    text-align: left;
    transition: color var(--ds-duration) var(--ds-ease);
}

.ds-faq-item__question:hover {
    color: var(--ds-accent);
}

.ds-faq-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--ds-duration) var(--ds-ease);
}

.ds-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ds-duration-slow) var(--ds-ease);
}

.ds-faq-item__answer-inner {
    padding-bottom: var(--ds-space-lg);
    color: var(--ds-text-secondary);
    line-height: 1.7;
}

.ds-faq-item.active .ds-faq-item__icon {
    transform: rotate(45deg);
}

.ds-faq-item.active .ds-faq-item__answer {
    max-height: 500px;
}

/* === 11. FORMS === */
.ds-form {
    max-width: 600px;
}

.ds-form__group {
    margin-bottom: var(--ds-gap-md);
}

.ds-form__label {
    display: block;
    font-size: var(--ds-small);
    font-weight: 500;
    margin-bottom: var(--ds-space-sm);
    color: var(--ds-text);
}

.ds-form__input,
.ds-form__select,
.ds-form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--ds-font);
    font-size: var(--ds-body);
    color: var(--ds-text);
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    transition: all var(--ds-duration) var(--ds-ease);
}

.ds-form__input:focus,
.ds-form__select:focus,
.ds-form__textarea:focus {
    outline: none;
    border-color: var(--ds-accent);
    box-shadow: 0 0 0 3px var(--ds-accent-light);
}

.ds-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.ds-form__hidden {
    display: none;
}

/* === 12. CONTACTS === */
.ds-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ds-gap-lg);
    margin: var(--ds-gap-2xl) 0;
}

.ds-contact-card {
    background: var(--ds-bg);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-gap-xl);
    text-align: center;
    transition: all var(--ds-duration) var(--ds-ease);
}

.ds-contact-card:hover {
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow);
}

.ds-contact-card h3 {
    font-size: var(--ds-h3);
    margin-bottom: var(--ds-space-sm);
}

.ds-contact-card p {
    color: var(--ds-text-secondary);
    margin-bottom: var(--ds-space-lg);
}

/* === 13. STEPS === */
.ds-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ds-gap-lg);
    counter-reset: step;
}

.ds-step {
    position: relative;
    padding-left: var(--ds-space-3xl);
    counter-increment: step;
}

.ds-step::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-accent);
    color: white;
    border-radius: var(--ds-radius-full);
    font-weight: 600;
    font-size: var(--ds-small);
}

.ds-step__title {
    font-weight: 600;
    margin-bottom: var(--ds-space-sm);
}

.ds-step__text {
    color: var(--ds-text-secondary);
    font-size: var(--ds-small);
    line-height: 1.6;
}

/* === 14. STATS === */
.ds-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ds-gap-lg);
    text-align: center;
}

.ds-stat {
    padding: var(--ds-gap-lg);
}

.ds-stat__number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--ds-accent);
    line-height: 1;
    margin-bottom: var(--ds-space-sm);
}

.ds-stat__label {
    font-size: var(--ds-small);
    color: var(--ds-text-secondary);
}

.ds-section--dark .ds-stat__label {
    color: rgba(255,255,255,0.7);
}

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

/* === 15. REVIEWS === */
.ds-review {
    background: var(--ds-bg);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-gap-xl);
    position: relative;
}

.ds-review--media {
    padding: 0;
    overflow: hidden;
}

.ds-review--media iframe {
    border: none;
    display: block;
}

.ds-section--dark .ds-review {
    background: var(--ds-dark-surface);
}

.ds-review__quote {
    font-size: var(--ds-body);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--ds-gap-md);
    color: var(--ds-text);
}

.ds-section--dark .ds-review__quote {
    color: rgba(255,255,255,0.9);
}

.ds-review__author {
    font-weight: 600;
    font-size: var(--ds-small);
}

.ds-review__source {
    font-size: var(--ds-xs);
    color: var(--ds-text-muted);
    margin-top: var(--ds-space-xs);
}

/* === 16. CTA BLOCK === */
.ds-cta {
    background: var(--ds-dark);
    border-radius: var(--ds-radius-xl);
    padding: var(--ds-gap-2xl);
    text-align: center;
    color: white;
}

.ds-cta h2 {
    color: white;
    margin-bottom: var(--ds-gap-sm);
}

.ds-cta p {
    color: rgba(255,255,255,0.8);
    margin: 0 auto var(--ds-gap-lg);
}

.ds-cta .ds-btn-group {
    display: flex;
    gap: var(--ds-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === 17. TABLES === */
.ds-table-wrapper {
    overflow-x: auto;
    margin: var(--ds-gap-lg) 0;
    border-radius: var(--ds-radius-lg);
    border: 1px solid rgba(18, 24, 33, 0.09);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 18px 45px rgba(18, 24, 33, 0.08);
    padding: 8px;
}

.ds-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--ds-small);
}

.ds-table th,
.ds-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(18, 24, 33, 0.08);
}

.ds-table th {
    background: #eef2f7;
    font-weight: 700;
    font-size: var(--ds-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ds-text-secondary);
}

.ds-table th:first-child {
    border-top-left-radius: calc(var(--ds-radius-lg) - 6px);
}

.ds-table th:last-child {
    border-top-right-radius: calc(var(--ds-radius-lg) - 6px);
}

.ds-table td {
    background: rgba(255,255,255,0.72);
    color: var(--ds-text-secondary);
    line-height: 1.5;
    vertical-align: top;
}

.ds-table td:first-child {
    color: var(--ds-text);
    font-weight: 700;
}

.ds-table td a {
    color: var(--ds-accent);
    font-weight: 700;
    text-decoration: none;
}

.ds-table td a:hover {
    color: var(--ds-accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oc-container .oc-card a::after,.oc-container .oc-card a::before{
    display: none !important;
}

.ds-table td a::after,.ds-table td a::before {
    display: none !important;
}   

.ds-table tr:last-child td {
    border-bottom: none;
}

.ds-table tr:hover td {
    background: #fff7f7;
}

.ds-table tr:last-child td:first-child {
    border-bottom-left-radius: calc(var(--ds-radius-lg) - 6px);
}

.ds-table tr:last-child td:last-child {
    border-bottom-right-radius: calc(var(--ds-radius-lg) - 6px);
}

.ds-table td[data-label]::before {
    display: none;
}

.service-hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 4vw, 54px) 0 clamp(36px, 4.5vw, 56px) !important;
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 24, 33, 0.08);
}

.service-hero-section .ds-breadcrumbs {
    margin-bottom: clamp(20px, 3vw, 28px);
}

.service-hero-section .ds-section-header h1 {
    max-width: 820px;
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

.service-hero-section .ds-section-header p {
    max-width: 780px;
    color: #687180;
    font-size: clamp(1rem, 1.25vw, 1.06rem);
    line-height: 1.65;
}

.service-hero-section .ds-answer-card {
    background: #ffffff;
    border: 0;
    border-left: 3px solid var(--ds-accent);
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0 10px 18px;
}

.service-hero-section .ds-answer-card strong {
    display: inline-block;
    margin-right: 6px;
    color: var(--ds-accent);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-hero-actions {
    align-items: center;
    flex-wrap: wrap;
}

.service-hero-actions .oc-btn {
    min-height: 58px;
    box-shadow: none;
}

.service-hero-actions .oc-btn-primary {
    box-shadow: none;
}

.service-hero-actions .oc-btn-primary:hover {
    box-shadow: none;
}

.service-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(36px, 6vw, 72px);
    align-items: start;
}

.service-hero-copy {
    min-width: 0;
}

.service-hero-proof {
    position: sticky;
    top: 96px;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-top: 2px solid var(--ds-accent);
    border-bottom: 1px solid rgba(18, 24, 33, 0.12);
    border-radius: 0;
    padding: 22px 0 24px;
    box-shadow: none;
}

.service-hero-proof__eyebrow {
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ds-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-hero-proof__title {
    color: var(--ds-text);
    font-size: clamp(1.32rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.13;
    margin-bottom: 12px;
    text-wrap: balance;
}

.service-hero-proof__subtitle {
    color: var(--ds-text-secondary);
    font-size: var(--ds-small);
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-hero-proof__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 20px 0 18px;
    padding: 0;
    border: 0;
}

.service-hero-proof__stat {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 0;
}

.service-hero-proof__stat + .service-hero-proof__stat {
    padding-left: 0;
}

.service-hero-proof__stat:last-child {
    border-right: 0;
}

.service-hero-proof__stat strong {
    display: block;
    color: var(--ds-accent);
    font-size: clamp(0.98rem, 1.55vw, 1.12rem);
    line-height: 1.1;
    white-space: nowrap;
}

.service-hero-proof__stat span {
    display: block;
    color: var(--ds-text-muted);
    font-size: 0.78rem;
    line-height: 1.25;
    margin-top: 5px;
}

.service-hero-proof__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
    margin-top: 20px;
    border-top: 0;
}

.service-hero-proof__item {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    color: var(--ds-text);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0;
}

.service-hero-proof__item:nth-child(odd) {
    margin-right: 0;
}

.service-choice-table {
    position: relative;
    margin-top: 24px !important;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(18, 24, 33, 0.12);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.service-choice-table .ds-table {
    font-size: 0.94rem;
}

.service-choice-table .ds-table th {
    background: transparent;
    color: #6b7380;
    border-bottom: 0;
    padding-top: 17px;
    padding-bottom: 10px;
}

.service-choice-table .ds-table td {
    background: transparent;
    border-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

.service-choice-table .ds-table td:first-child {
    border-left: 0;
    padding-left: 18px;
}

.service-choice-table .ds-table tr:hover td {
    background: transparent;
}

.service-choice-table .ds-table tr:hover td:first-child {
    color: var(--ds-accent);
}

.service-choice-table .ds-table tbody tr + tr td {
    border-top: 1px solid rgba(18, 24, 33, 0.07);
}

@media (max-width: 980px) {
    .service-hero-layout {
        grid-template-columns: 1fr;
    }

    .service-hero-proof {
        position: static;
        max-width: 860px;
    }
}

@media (max-width: 700px) {
    .service-hero-section {
        padding: 24px 0 34px !important;
    }

    .service-hero-section .ds-breadcrumbs {
        display: none;
    }

    .service-hero-section .ds-section-header {
        margin-bottom: 18px !important;
    }

    .service-hero-section .ds-section-header h1 {
        font-size: clamp(2rem, 8.6vw, 2.55rem);
        line-height: 1.08;
    }

    .service-hero-section .ds-section-header p {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .service-hero-actions .oc-btn {
        width: 100%;
        min-height: 58px;
    }

    .service-hero-proof {
        border-radius: var(--ds-radius);
        padding: 18px;
        box-shadow: none;
    }

    .ds-table-wrapper {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-bottom: 84px;
    }

    .ds-table,
    .ds-table thead,
    .ds-table tbody,
    .ds-table tr,
    .ds-table td {
        display: block;
        width: 100%;
    }

    .ds-table thead {
        display: none;
    }

    .ds-table tr {
        background: transparent;
        border: 0;
        border-top: 1px solid rgba(18, 24, 33, 0.1);
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 14px;
        overflow: hidden;
    }

    .ds-table tr:last-child {
        border-bottom: 0;
    }

    .ds-table td {
        border-bottom: 0;
        padding: 8px 82px 2px 0;
        background: transparent;
    }

    .service-choice-table .ds-table td:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .ds-table td:last-child {
        border-bottom: 0;
        padding-bottom: 12px;
    }

    .service-choice-table .ds-table tbody tr + tr td {
        border-top: 0;
    }

    .ds-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: var(--ds-text-muted);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1.2;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .service-hero-proof__stats,
    .service-hero-proof__items {
        grid-template-columns: 1fr;
    }
}

/* === 18. PRICING === */
.ds-pricing {
    background: var(--ds-surface);
    border: 2px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-gap-xl);
    text-align: center;
    transition: all var(--ds-duration) var(--ds-ease);
}

.ds-pricing:hover {
    border-color: var(--ds-accent);
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-lg);
}

.ds-pricing--featured {
    border-color: var(--ds-accent);
    position: relative;
}

.ds-pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ds-accent);
    color: white;
    padding: 4px 16px;
    border-radius: var(--ds-radius-full);
    font-size: var(--ds-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-pricing__title {
    font-size: var(--ds-h3);
    margin-bottom: var(--ds-space-md);
}

.ds-pricing__price {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--ds-accent);
    margin-bottom: var(--ds-gap-md);
}

.ds-pricing__list {
    list-style: none;
    text-align: left;
    margin-bottom: var(--ds-gap-lg);
}

.ds-pricing__list li {
    padding: var(--ds-gap-sm) 0;
    border-bottom: 1px solid var(--ds-border);
    font-size: var(--ds-small);
    display: flex;
    align-items: center;
    gap: var(--ds-gap-sm);
}

.ds-pricing__list li::before {
    content: '✓';
    color: var(--ds-success);
    font-weight: 600;
}

/* === 19. PROJECTS/CASES === */
.ds-project {
    background: var(--ds-surface);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    transition: all var(--ds-duration) var(--ds-ease);
}

.ds-project:hover {
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-lg);
}

.ds-project__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ds-project__body {
    padding: var(--ds-gap-lg);
}

.ds-project__title {
    font-size: var(--ds-h4);
    margin-bottom: var(--ds-space-md);
}

.ds-project__meta {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-sm);
}

.ds-project__label {
    font-size: var(--ds-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ds-text-muted);
}

.ds-project__value {
    font-size: var(--ds-small);
    color: var(--ds-text-secondary);
}

.ds-project__value--accent {
    color: var(--ds-accent);
    font-weight: 500;
}

/* === 20. ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animation Classes */
.ds-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--ds-duration-slow) var(--ds-ease),
                transform var(--ds-duration-slow) var(--ds-ease);
}

.ds-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.ds-animate--delay-1 { transition-delay: 0.1s; }
.ds-animate--delay-2 { transition-delay: 0.2s; }
.ds-animate--delay-3 { transition-delay: 0.3s; }
.ds-animate--delay-4 { transition-delay: 0.4s; }

.ds-animate--left {
    transform: translateX(-30px);
}

.ds-animate--left.visible {
    transform: translateX(0);
}

.ds-animate--right {
    transform: translateX(30px);
}

.ds-animate--right.visible {
    transform: translateX(0);
}

.ds-animate--scale {
    transform: scale(0.9);
}

.ds-animate--scale.visible {
    transform: scale(1);
}

/* Hover Animations */
.ds-hover-lift {
    transition: transform var(--ds-duration) var(--ds-ease),
                box-shadow var(--ds-duration) var(--ds-ease);
}

.ds-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-lg);
}

.ds-hover-glow:hover {
    box-shadow: 0 0 30px rgba(227, 30, 47, 0.3);
}

/* Stagger Animation for Grids */
.ds-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ds-ease),
                transform 0.5s var(--ds-ease);
}

.ds-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.ds-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.ds-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.ds-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.ds-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.ds-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.ds-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Убираем псевдоэлементы у ссылок внутри первых 3 элементов stagger */
.ds-stagger.visible > *:nth-child(1) a::before,
.ds-stagger.visible > *:nth-child(1) a::after,
.ds-stagger.visible > *:nth-child(2) a::before,
.ds-stagger.visible > *:nth-child(2) a::after,
.ds-stagger.visible > *:nth-child(3) a::before,
.ds-stagger.visible > *:nth-child(3) a::after,
.ds-stagger.visible > *:nth-child(1)::before,
.ds-stagger.visible > *:nth-child(1)::after,
.ds-stagger.visible > *:nth-child(2)::before,
.ds-stagger.visible > *:nth-child(2)::after,
.ds-stagger.visible > *:nth-child(3)::before,
.ds-stagger.visible > *:nth-child(3)::after {
    display: none;
}

/* === 21. INLINE CTA === */
.ds-inline-cta {
    background: var(--ds-bg);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-gap-xl) var(--ds-gap-2xl);
    margin: var(--ds-gap-xl) 0;
    text-align: center;
}
.ds-inline-cta h3 {
    font-size: var(--ds-h3);
    margin-bottom: var(--ds-gap-sm);
}
.ds-inline-cta p {
    color: var(--ds-text-secondary);
    margin-bottom: var(--ds-gap-md);
}
.ds-inline-cta a {
    color: var(--ds-accent);
    font-weight: 500;
}

/* === FAQ nav buttons (replacing <a> to avoid CSS pseudo-element click interception) === */
.faq-page__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ds-text);
    font-family: var(--ds-font);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color var(--ds-duration) var(--ds-ease), color var(--ds-duration) var(--ds-ease);
}

.faq-page__nav-btn:hover,
.faq-page__nav-btn:focus-visible {
    border-color: var(--ds-accent);
    color: var(--ds-accent);
    outline: none;
}

.faq-page__nav-btn:active {
    transform: translateY(0);
}

/* === FAQ page redesign === */
    padding-top: clamp(32px, 4vw, 56px);
}

.faq-page .ds-breadcrumbs {
    margin-bottom: clamp(28px, 4vw, 48px);
}

.faq-page__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    margin-bottom: 24px;
}

.faq-page__hero-copy {
    max-width: 820px;
}

.faq-page__hero h1 {
    max-width: 720px;
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.faq-page__hero p {
    max-width: 720px;
    margin: 0;
    color: var(--ds-text-secondary);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.65;
}

.faq-page__summary {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--ds-border);
    border-bottom: 1px solid var(--ds-border);
}

.faq-page__summary > div {
    padding: 14px 0;
    background: transparent;
    border-bottom: 1px solid var(--ds-border);
}

.faq-page__summary > div:last-child {
    border-bottom: 0;
}

.faq-page__summary span {
    display: block;
    margin-bottom: 4px;
    color: var(--ds-accent);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.faq-page__summary p {
    margin: 0;
    color: var(--ds-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.faq-page__brief {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    gap: 16px;
    align-items: start;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.faq-page__brief .ds-answer-card {
    margin: 0;
    border-left: 4px solid var(--ds-accent);
    border-radius: 8px;
    box-shadow: none;
    text-align: left;
}

.faq-page__nav {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 6px;
    padding: 12px;
    background: #F7F8FA;
    border: 1px solid var(--ds-border);
    border-radius: 8px;
}

.faq-page__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ds-text);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

.faq-page__nav a:hover,
.faq-page__nav a:focus-visible {
    border-color: var(--ds-accent);
    color: var(--ds-accent);
    outline: none;
}

.faq-page .ds-faq {
    max-width: 980px;
}

.faq-page .ds-faq-group {
    padding: clamp(26px, 4vw, 40px) 0;
    border-top: 1px solid var(--ds-border);
    scroll-margin-top: 96px;
}

.faq-page .ds-faq-group:first-child {
    border-top: 0;
    padding-top: 0;
}

.faq-page .ds-faq-group__title {
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    border-left: 3px solid var(--ds-accent);
    font-size: clamp(1.18rem, 1.8vw, 1.45rem);
    letter-spacing: 0;
}

.faq-page .ds-faq-item {
    overflow: hidden;
    margin: 0;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: 0;
}

.faq-page .ds-faq-group__title + .ds-faq-item {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.faq-page .ds-faq-item + .ds-faq-item {
    margin-top: -1px;
}

.faq-page .ds-faq-group .ds-faq-item:last-child {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.faq-page .ds-faq-item__question {
    position: relative;
    min-height: 58px;
    padding: 17px 56px 17px 20px;
    color: var(--ds-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.faq-page .ds-faq-item__question:focus-visible {
    outline: 2px solid rgba(227, 30, 47, 0.38);
    outline-offset: -2px;
}

.faq-page .ds-faq-item__question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 1px solid var(--ds-border);
    border-radius: 8px;
    color: var(--ds-accent);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 25px;
    text-align: center;
    transition: transform var(--ds-duration) var(--ds-ease), background var(--ds-duration) var(--ds-ease), color var(--ds-duration) var(--ds-ease);
}

.faq-page .ds-faq-item.active {
    border-color: rgba(227, 30, 47, 0.28);
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.faq-page .ds-faq-item.active .ds-faq-item__question {
    color: var(--ds-accent);
}
.faq-page .ds-faq-item__question[aria-expanded="true"] {
    color: var(--ds-accent);
}

.faq-page .ds-faq-item.active .ds-faq-item__question::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--ds-accent);
    border-color: var(--ds-accent);
    color: #FFFFFF;
}
.faq-page .ds-faq-item__question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--ds-accent);
    border-color: var(--ds-accent);
    color: #FFFFFF;
}
.faq-page .ds-faq-item__question[aria-expanded="true"] + .ds-faq-item__answer {
    max-height: 420px;
}

.faq-page .ds-faq-item__answer-inner {
    padding: 0 20px 20px;
    color: var(--ds-text-secondary);
    font-size: 0.97rem;
    line-height: 1.68;
}

.faq-page .ds-faq-item__answer-inner a {
    font-weight: 600;
}

.faq-page__cta-section {
    padding-top: clamp(44px, 6vw, 76px);
    padding-bottom: clamp(44px, 6vw, 76px);
}

.faq-page__cta {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
}

.faq-page__cta-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ds-accent);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .faq-page__hero,
    .faq-page__brief,
    .faq-page .ds-faq-group {
        grid-template-columns: 1fr;
    }

    .faq-page .ds-faq-group__title {
        position: static;
    }
}

@media (max-width: 640px) {
    .faq-page {
        padding-top: 26px;
    }

    .faq-page .ds-breadcrumbs {
        display: none;
    }

    .faq-page__hero {
        gap: 20px;
        margin-bottom: 18px;
    }

    .faq-page__hero h1 {
        font-size: clamp(2rem, 10vw, 2.45rem);
        line-height: 1.08;
    }

    .faq-page__hero p {
        font-size: 0.98rem;
    }

    .faq-page__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid var(--ds-border);
        border-radius: 8px;
    }

    .faq-page__summary > div {
        padding: 10px;
        border-right: 1px solid var(--ds-border);
        border-bottom: 0;
    }

    .faq-page__summary > div:last-child {
        border-right: 0;
    }

    .faq-page__summary span {
        font-size: 0.95rem;
    }

    .faq-page__summary p {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .faq-page__brief {
        gap: 12px;
        margin-bottom: 30px;
    }

    .faq-page__brief .ds-answer-card,
    .faq-page__nav {
        padding: 14px;
    }

    .faq-page__nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-right: calc(var(--ds-gutter) * -1);
        padding-right: var(--ds-gutter);
    }

    .faq-page__nav::-webkit-scrollbar {
        display: none;
    }

    .faq-page__nav a {
        flex: 0 0 auto;
    }

    .faq-page .ds-faq-group {
        gap: 16px;
        padding: 28px 0;
    }

    .faq-page .ds-faq-group__title {
        padding-left: 12px;
        font-size: 1.35rem;
    }

    .faq-page .ds-faq-item__question {
        min-height: 56px;
        padding: 15px 50px 15px 16px;
        font-size: 0.96rem;
    }

    .faq-page .ds-faq-item__question::after {
        right: 14px;
        width: 26px;
        height: 26px;
        line-height: 23px;
    }

    .faq-page .ds-faq-item__answer-inner {
        padding: 0 16px 18px;
        font-size: 0.94rem;
    }
}

/* === 22. UTILITIES === */
.ds-mb-0 { margin-bottom: 0; }
.ds-mb-sm { margin-bottom: var(--ds-gap-sm); }
.ds-mb-md { margin-bottom: var(--ds-gap-md); }
.ds-mb-lg { margin-bottom: var(--ds-gap-lg); }
.ds-mb-xl { margin-bottom: var(--ds-gap-xl); }
.ds-mb-2xl { margin-bottom: var(--ds-gap-2xl); }

.ds-mt-0 { margin-top: 0; }
.ds-mt-sm { margin-top: var(--ds-gap-sm); }
.ds-mt-md { margin-top: var(--ds-gap-md); }
.ds-mt-lg { margin-top: var(--ds-gap-lg); }
.ds-mt-xl { margin-top: var(--ds-gap-xl); }
.ds-mt-2xl { margin-top: var(--ds-gap-2xl); }

.ds-hidden { display: none; }
.ds-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === 22. RESPONSIVE === */
@media (max-width: 1024px) {
    .ds-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ds-section {
        padding: var(--ds-section-sm) 0;
    }
    
    .ds-grid--3 {
        grid-template-columns: 1fr;
    }
    
    .ds-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ds-steps {
        grid-template-columns: 1fr;
    }
    
    .ds-cta .ds-btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ds-contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ds-grid--2 {
        grid-template-columns: 1fr;
    }
    
    .ds-stats {
        grid-template-columns: 1fr;
    }
    
    .ds-btn {
        width: 100%;
    }
}

/* === 23. LEGACY COMPATIBILITY === */
/* Keep existing oc- classes working, map to ds-* tokens */
.oc-container { max-width: var(--ds-container); margin: 0 auto; padding: 0 var(--ds-gutter); }
.oc-section { padding: var(--ds-section-py) 0; }
.oc-section--dark { background: var(--ds-dark); color: white; }
.oc-section--dark h2 { color: white; }
.oc-section-title { font-size: var(--ds-h2); margin-bottom: var(--ds-gap-xl); }
.oc-section-title--light { color: white; }
.oc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ds-gap-lg); }
.oc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.oc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.oc-card { background: var(--ds-surface); border-radius: var(--ds-radius); padding: var(--ds-card-p); border: 1px solid var(--ds-border); }
.oc-card:hover { border-color: var(--ds-accent); }
.oc-card--dark { background: var(--ds-dark-surface); border-color: rgba(255,255,255,0.1); }
.oc-card__title { font-size: var(--ds-h4); font-weight: 600; margin-top: 0; margin-bottom: var(--ds-gap-sm); }
.oc-section--dark .oc-card__title{color: rgba(255, 255, 255, 0.6);}
.oc-card__text { color: var(--ds-text-secondary); font-size: var(--ds-small); line-height: 1.6; }
.oc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; font-weight: 500; border-radius: var(--ds-radius) !important; transition: all var(--ds-duration) var(--ds-ease); cursor: pointer; color: inherit; }
.oc-btn-primary { background: var(--ds-accent); color: white !important; border: 2px solid var(--ds-accent); }
.oc-btn-primary:hover { background: var(--ds-accent-hover); border-color: var(--ds-accent-hover); color: white !important; transform: translateY(-2px); box-shadow: var(--ds-shadow); }
.oc-btn-lg { padding: 16px 36px; font-size: 1.125rem; }
.oc-btn-ghost { background: transparent; color: var(--ds-text) !important; border: 2px solid var(--ds-border); }
.oc-btn-ghost:hover { background: rgba(14, 20, 30, 0.04); border-color: var(--ds-text); color: var(--ds-text) !important; transform: translateY(-2px); }
.oc-section--dark .oc-btn-ghost,
.oc-card--dark .oc-btn-ghost,
.oc-btn-ghost--light { color: white !important; border-color: rgba(255,255,255,0.35); }
.oc-section--dark .oc-btn-ghost:hover,
.oc-card--dark .oc-btn-ghost:hover,
.oc-btn-ghost--light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.65); color: white !important; }
.oc-flex { display: flex; }
.oc-gap-sm { gap: var(--ds-gap-sm); }
.oc-short-answer { background: var(--ds-bg); border: 1px solid var(--ds-border); border-left: 4px solid var(--ds-accent); border-radius: var(--ds-radius); padding: var(--ds-gap-lg) var(--ds-gap-xl); margin: var(--ds-gap-lg) 0; }
.oc-short-answer strong { color: var(--ds-accent); }
.oc-cta-block { background: var(--ds-dark); border-radius: var(--ds-radius-xl); padding: var(--ds-gap-2xl); text-align: center; color: white; }
.oc-cta-block__title { font-size: var(--ds-h2); color: white; margin-bottom: var(--ds-gap-sm); }
.oc-cta-block__text { color: rgba(255,255,255,0.8); margin-bottom: var(--ds-gap-lg); text-align: center; }
.oc-cta-block.ds-animate.visible { max-width: var(--ds-container); margin: 40px auto; }
.oc-service-card { display: block; background: var(--ds-surface); border: 1px solid var(--ds-border); border-radius: var(--ds-radius); padding: var(--ds-card-p); text-decoration: none; color: var(--ds-text); transition: all var(--ds-duration) var(--ds-ease); }
.oc-service-card:hover { border-color: var(--ds-accent); transform: translateY(-4px); box-shadow: var(--ds-shadow-lg); }
.oc-service-card__link { display: inline-flex; align-items: center; gap: var(--ds-gap-xs); color: var(--ds-accent); font-weight: 500; font-size: var(--ds-small); margin-top: var(--ds-gap-lg); }

/* Home page button mapping */
.home-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-gap-sm); padding: 12px 28px; font-family: var(--ds-font); font-size: var(--ds-body); font-weight: 500; line-height: 1.4; border: 2px solid transparent; border-radius: var(--ds-radius); cursor: pointer; transition: all var(--ds-duration) var(--ds-ease); text-decoration: none; white-space: nowrap; }
.home-btn:hover { transform: translateY(-2px); box-shadow: var(--ds-shadow); }
.home-btn:active { transform: translateY(0); }
.home-btn-primary { background: var(--ds-accent); color: white; border-color: var(--ds-accent); }
.home-btn-primary:hover { background: var(--ds-accent-hover); border-color: var(--ds-accent-hover); color: white; }
.home-btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.home-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: white; }
.home-btn-lg { padding: 16px 36px; font-size: 1.125rem; }

.youtube_tmb,
.newvideoblock iframe {
    aspect-ratio: 717 / 315;
    height: auto;
    object-fit: cover;
}

.slide img {
    aspect-ratio: 425 / 285;
    height: auto;
    object-fit: cover;
}

@media (max-width: 700px) {
    .b24-widget-button-wrapper,
    .b24-widget-button-position-bottom-right,
    .bx-livechat-wrapper {
        bottom: 88px !important;
        right: 12px !important;
        transform: scale(0.82);
        transform-origin: right bottom;
    }

    .oc-section:last-of-type {
        padding-bottom: calc(var(--ds-section-py) + 70px);
    }
}

@media (max-width: 768px) {
    .oc-grid--2, .oc-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .oc-grid { grid-template-columns: 1fr; }
}

/* === 24. TRUST STRIP === */
.oc-section--trust-strip {
    padding: 0 !important;
    min-height: 0 !important;
    background: var(--ds-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.oc-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 0;
}

.oc-trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 32px;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.oc-trust-strip__item:last-child {
    border-right: none;
}

.oc-trust-strip__item strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.oc-trust-strip__item span {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
}

.oc-trust-strip__link {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255,255,255,0.25);
    transition: color var(--ds-duration) var(--ds-ease), text-decoration-color var(--ds-duration) var(--ds-ease);
}

.oc-trust-strip__link:hover {
    color: white !important;
    text-decoration-color: white;
}

.oc-trust-strip__link::before,
.oc-trust-strip__link::after {
    display: none !important;
}

.ds-updated-date {
    font-size: 0.8125rem;
    color: var(--ds-text-muted);
    margin-top: -8px;
    margin-bottom: 20px;
}

.ds-answer-card .ds-updated-date {
    display: inline;
    margin: 0;
}

.ds-founder-card {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.ds-founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--ds-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ds-founder-avatar span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ds-accent);
}

.ds-founder-body {
    flex: 1;
    min-width: 240px;
}

.ds-founder-name {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.ds-founder-meta {
    margin: 0 0 12px;
    color: var(--ds-text-muted);
    font-size: 0.9rem;
}

.ds-founder-text {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.ds-founder-text--last {
    margin-bottom: 0;
}

.ds-founder-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .ds-btn--secondary,
    .ds-btn--ghost {
        margin-left: 0;
        margin-right: 0;
    }

    .text-center .ds-btn {
        max-width: 100%;
        white-space: normal;
    }

    .oc-trust-strip {
        flex-wrap: wrap;
        gap: 4px 0;
    }
    .oc-trust-strip__item {
        padding: 8px 16px;
        min-width: 25%;
    }
    .oc-trust-strip__item:nth-child(2) {
        border-right: none;
    }
    .oc-trust-strip__item:nth-child(3) {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .oc-trust-strip__item strong {
        font-size: 1.1rem;
    }
    .oc-trust-strip__item span {
        font-size: 0.75rem;
    }
}

/* === 25. HERO DARK SIDEBAR === */
/* FAQ summary inside dark hero */
.oc-hero .faq-page__summary {
    border-color: rgba(255,255,255,0.15);
}
.oc-hero .faq-page__summary > div {
    border-color: rgba(255,255,255,0.12);
}
.oc-hero .faq-page__summary p {
    color: rgba(255,255,255,0.65);
}
.oc-hero .faq-page__summary span {
    color: var(--ds-accent);
}

/* Reviews trust cards inside dark hero */
.oc-hero .reviews-trust-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
}
.oc-hero .reviews-trust-card span {
    color: var(--ds-accent);
}
.oc-hero .reviews-trust-card p {
    color: rgba(255,255,255,0.65);
}
.oc-hero .reviews-trust-card--metric {
    background: rgba(255,255,255,0.07);
    border-color: rgba(227,30,47,0.25);
}
.oc-hero .reviews-trust-card--metric span {
    color: rgba(255,255,255,0.9);
    text-transform: none;
}
.oc-hero .reviews-trust-card--metric p {
    color: rgba(255,255,255,0.6);
}

/* Ghost button inside hero has no extra margin — flex gap handles spacing */
.oc-hero__cta .ds-btn--ghost {
    margin-left: 0;
}

/* Hero sidebar cards inherit dark bg properly */
.oc-hero .faq-page__summary {
    border-color: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0 12px;
}
.oc-hero .faq-page__summary > div {
    padding: 16px 0;
    border-color: rgba(255,255,255,0.12);
}
.oc-hero .faq-page__summary p {
    color: rgba(255,255,255,0.65);
}
.oc-hero .faq-page__summary span {
    color: var(--ds-accent);
}
