/* ============================================
    DESIGN TOKENS
    ============================================ */
:root {
    --navy:        #071a33;
    --navy-light:  #0f2444;
    --cyan:        #00a6d6;
    --cyan-dark:   #008fb5;
    --white:       #ffffff;
    --off-white:   #f4f6f8;
    --card-bg:     #172033;
    --text-muted:  #8a9ab5;
    --rule:        rgba(0, 166, 214, 0.18);
    --rule-strong: rgba(0, 166, 214, 0.35);

    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
    DESIGN TOKENS
    ============================================ */
:root {
    --navy:        #071a33;
    --navy-light:  #0f2444;
    --cyan:        #00a6d6;
    --cyan-dark:   #008fb5;
    --white:       #ffffff;
    --off-white:   #f4f6f8;
    --card-bg:     #172033;
    --text-muted:  #8a9ab5;
    --rule:        rgba(0, 166, 214, 0.18);
    --rule-strong: rgba(0, 166, 214, 0.35);

    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
    1. CSS Reset & Base
    ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--body);
    line-height: 1.6;
    color: #1a1a2e;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.1;
    font-family: var(--display);
    font-weight: 700;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.015em; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

ul, ol {
    margin: 0 0 1em 0;
    padding-left: 1.5em;
}

/* ============================================
    CONTAINER
    ============================================ */
.td-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.td-container--wide {
    max-width: 100%;
    padding-left: clamp(3rem, 6vw, 8rem);
    padding-right: clamp(3rem, 6vw, 8rem);
}

/* ============================================
   2. Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.btn--primary {
    background-color: #0f3460;
    color: #ffffff;
}

.btn--primary:hover {
    background-color: #16213e;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ============================================
   3. Header
   ============================================ */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    margin: 0;
    font-size: 1.25rem;
}

.site-title a {
    color: #0f3460;
    font-weight: 700;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a1a2e;
    transition: transform 0.3s ease;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1a1a2e;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu__services {
    display: block;
    padding: 11px 34px 11px 14px;
    color: var(--td-text);
    background: var(--td-secondary);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
}

.nav-menu__services::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.nav-menu a:hover {
    background-color: #f1f5f9;
    color: #0f3460;
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   4. Hero Section
   ============================================ */
.hero {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.hero__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-size: 2.5rem;
    color: #0f3460;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero__image {
    margin-top: 2rem;
}

/* ============================================
   5. Services Grid
   ============================================ */
.services-grid {
    padding: 4rem 0;
}

.services-grid__title {
    text-align: center;
    margin-bottom: 2rem;
    color: #0f3460;
}

.services-grid__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: block;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-card__icon {
    margin-bottom: 1rem;
}

.service-card__title {
    font-size: 1.25rem;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.service-card__description {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* ============================================
   6. CTA Section
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background-color: #0f3460;
    color: #ffffff;
}

.cta-section__inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section__text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .btn--primary {
    background-color: #ffffff;
    color: #0f3460;
}

.cta-section .btn--primary:hover {
    background-color: #f1f5f9;
}

/* ============================================
   7. FAQ Section
   ============================================ */
.faq-section {
    padding: 4rem 0;
}

.faq-section__title {
    text-align: center;
    margin-bottom: 2rem;
    color: #0f3460;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
}

.faq-item__question:hover {
    color: #0f3460;
}

.faq-item__icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #0f3460;
    border-bottom: 2px solid #0f3460;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding-bottom: 1.25rem;
}

/* ============================================
   8. Site Content / Entry
   ============================================ */
.site-content {
    min-height: 60vh;
}

.site-main {
    padding: 3rem 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    color: #0f3460;
}

.entry-content {
    line-height: 1.8;
}

.entry-content--full {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   9. Blog Post Cards
   ============================================ */
.blog-post-card {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.blog-post-card__title a {
    color: #0f3460;
}

.blog-post-card__title a:hover {
    color: #16213e;
}

/* ============================================
   10. Footer
   ============================================ */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.site-footer__inner {
    text-align: center;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-navigation {
    margin-bottom: 2rem;
}

.footer-nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav-menu a {
    color: #cbd5e1;
    font-size: 0.9375rem;
}

.footer-nav-menu a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
}

.copyright {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* ============================================
   11. Breadcrumbs
   ============================================ */
.breadcrumbs {
    padding: 16px 0;
    color: var(--td-muted);
    font-size: 0.9rem;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs a {
    color: var(--td-primary-dark);
    font-weight: 700;
}

.breadcrumbs__item {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.breadcrumbs__separator {
    color: var(--td-accent-dark);
    font-weight: 900;
}

.breadcrumbs__current {
    color: var(--td-muted);
}

/* ============================================
   12. Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.pagination .current {
    background-color: #0f3460;
    color: #ffffff;
    border-color: #0f3460;
}

/* ============================================
    13. Featured Section (Homepage ЗСК highlight)
    ============================================ */
.featured-section__title {
    font-size: 2rem;
}

.featured-section__subtitle {
    font-size: 1.125rem;
    color: #475569;
}

.featured-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.featured-card {
    display: block;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.featured-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #0f3460;
}

.featured-card__title {
    font-size: 1.125rem;
    color: #0f3460;
    margin-bottom: 0.75rem;
}

.featured-card:hover .featured-card__title {
    color: #16213e;
}

.featured-card__text {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
    14. Advantages Section
    ============================================ */
.advantages-section__title {
    font-size: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.advantage-card {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.advantage-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.advantage-card__title {
    font-size: 1.125rem;
    color: #0f3460;
    margin-bottom: 0.75rem;
}

.advantage-card__text {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
    15. Work Process Section
    ============================================ */
.process-section__title {
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-step {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.process-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.process-step__num {
    font-size: 2rem;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 0.75rem;
}

.process-step__title {
    font-size: 1.125rem;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.process-step__text {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
    16. Homepage FAQ Section wrapper
    ============================================ */
.faq-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.faq-section__title {
    font-size: 2rem;
}

/* ============================================
    17. Responsive Styles
    ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        padding: 2.5rem 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 5rem 2rem 2rem;
        z-index: 999;
    }

    .main-navigation.is-open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .services-grid__inner,
    .featured-section__grid,
    .advantages-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-nav-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* ============================================
   18. Tvoe Delo redesign foundation
   ============================================ */
:root {
    --td-primary: #123c69;
    --td-primary-dark: #08233f;
    --td-secondary: #ecf7f4;
    --td-accent: #1fbf84;
    --td-accent-dark: #108d63;
    --td-text: #172033;
    --td-muted: #5f6f86;
    --td-bg: #ffffff;
    --td-bg-alt: #f4f8fb;
    --td-border: #dde7ee;
    --td-success: #138a5b;
    --td-error: #c43d3d;
    --td-shadow: 0 22px 60px rgba(18, 60, 105, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--td-text);
    background: var(--td-bg);
}

body.menu-open {
    overflow: hidden;
}

.td-container,
.container {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 0;
}

.td-container--wide {
    width: min(100% - 40px, 1360px);
    max-width: 1360px;
    padding-inline: 0;
}

.site-header {
    padding: 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(221, 231, 238, 0.9);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: 76px;
    gap: 24px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    margin: 0;
}

.site-title a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--td-primary-dark);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0;
}

.site-title span {
    color: var(--td-accent-dark);
}

.site-logo img,
.custom-logo {
    width: auto;
    max-height: 44px;
}

.main-navigation {
    flex: 1 1 auto;
}

.nav-menu {
    justify-content: center;
    gap: 4px;
}

.nav-menu a {
    color: var(--td-text);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 11px 14px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--td-primary);
    background: var(--td-secondary);
}

.nav-menu .sub-menu {
    border: 1px solid var(--td-border);
    border-radius: 14px;
    box-shadow: var(--td-shadow);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.site-header__phone {
    color: var(--td-primary-dark);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.site-header__cta,
.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.site-header__cta,
.td-btn--primary,
.td-btn--cyan {
    color: #ffffff;
    background: var(--td-accent);
    box-shadow: 0 12px 28px rgba(31, 191, 132, 0.25);
}

.site-header__cta:hover,
.site-header__cta:focus-visible,
.td-btn--primary:hover,
.td-btn--primary:focus-visible,
.td-btn--cyan:hover,
.td-btn--cyan:focus-visible {
    color: #ffffff;
    background: var(--td-accent-dark);
    transform: translateY(-1px);
}

.td-btn--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: none;
}

.td-btn--ghost:hover,
.td-btn--ghost:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.48);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--td-border);
    border-radius: 999px;
    background: #ffffff;
}

.hamburger {
    width: 18px;
    background: var(--td-primary-dark);
}

.td-home {
    overflow: hidden;
}

.td-hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 8vw, 96px);
    color: #ffffff;
    background:
        radial-gradient(circle at 72% 26%, rgba(31, 191, 132, 0.28), transparent 32%),
        linear-gradient(138deg, #09213b 0%, #123c69 55%, #0f2e52 100%);
}

.td-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 190px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(244,248,251,0.1));
    pointer-events: none;
}

.td-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(36px, 7vw, 92px);
}

.td-hero__line {
    position: absolute;
    top: -54px;
    left: 0;
    width: 76px;
    height: 5px;
    border-radius: 999px;
    background: var(--td-accent);
}

.td-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #cceee4;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.td-hero__title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.6rem, 5.4vw, 5.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.td-hero__subtitle {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    line-height: 1.6;
}

.td-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.td-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.td-hero__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.86rem;
    font-weight: 700;
}

.td-hero__visual {
    position: relative;
    min-height: 0;
}

.td-hero__visual::before {
    content: "";
    position: absolute;
    inset: -22px -18px auto auto;
    width: 160px;
    height: 160px;
    border-radius: 36px;
    background: rgba(31, 191, 132, 0.22);
    transform: rotate(12deg);
}

.td-hero__image {
    width: 100%;
    height: min(58vh, 560px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.td-hero-panel {
    position: relative;
    min-height: 450px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    background: linear-gradient(155deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.td-hero-panel::before {
    content: "";
    position: absolute;
    right: 30px;
    bottom: 94px;
    width: 150px;
    height: 150px;
    border-radius: 28px;
    background: var(--td-accent);
    opacity: 0.9;
}

.td-hero-panel__top,
.td-hero-panel__footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #ffffff;
}

.td-hero__visual .td-consult-form {
    position: relative;
    z-index: 1;
}

.td-hero__visual-note {
    position: relative;
    z-index: 2;
    width: min(74%, 320px);
    margin: -22px auto 0;
    padding: 18px 22px;
    border-radius: 22px;
    color: var(--td-primary-dark);
    background: #ffffff;
    box-shadow: var(--td-shadow);
}

.td-hero__visual-note span {
    display: block;
    color: var(--td-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.td-hero__visual-note strong {
    display: block;
    margin-top: 4px;
    font-size: 1.1rem;
}

.td-consult-form {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 30px;
    color: var(--td-text);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

.td-consult-form__header span {
    display: block;
    color: var(--td-primary-dark);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 800;
    line-height: 1.12;
}

.td-consult-form__header p {
    margin: 10px 0 0;
    color: var(--td-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.td-consult-form label {
    display: grid;
    gap: 7px;
}

.td-consult-form label > span {
    color: var(--td-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.td-consult-form input,
.td-consult-form select,
.td-consult-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--td-border);
    border-radius: 14px;
    color: var(--td-text);
    background: #ffffff;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.td-consult-form input:focus,
.td-consult-form select:focus,
.td-consult-form textarea:focus {
    border-color: var(--td-accent);
    box-shadow: 0 0 0 4px rgba(31, 191, 132, 0.14);
}

.td-consult-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    opacity: 0;
}

.td-consult-form__agree {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px !important;
}

.td-consult-form__agree input {
    min-height: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--td-accent);
}

.td-consult-form__agree span {
    color: var(--td-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.45;
}

.td-consult-form .td-btn {
    width: 100%;
}

.td-consult-form .td-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.td-consult-form__note {
    margin: 0;
    color: var(--td-muted);
    font-size: 0.86rem;
    text-align: center;
}

.td-consult-form__status {
    min-height: 20px;
    color: var(--td-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.td-consult-form__status.is-success {
    color: var(--td-success);
}

.td-consult-form__status.is-error {
    color: var(--td-error);
}

.td-hero-panel__top span,
.td-hero-panel__footer span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 800;
}

.td-hero-panel__top strong {
    font-size: 1rem;
}

.td-hero-panel__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    margin-top: 98px;
}

.td-hero-panel__bar {
    display: block;
    width: 72%;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.td-hero-panel__bar--wide {
    width: 100%;
    height: 70px;
    border-radius: 22px;
    background: #ffffff;
}

.td-hero-panel__bar--short {
    width: 48%;
}

.td-hero-panel__footer {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
}

.td-section-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--td-accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.td-section-number--cyan,
.td-section-number--white {
    color: #9ce8d0;
}

.td-section-label {
    max-width: 760px;
    margin-bottom: 32px;
    color: var(--td-primary-dark);
    font-size: clamp(2rem, 3.8vw, 4rem);
    letter-spacing: 0;
}

.td-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
    margin-bottom: 34px;
}

.td-section-head .td-section-label {
    margin-bottom: 0;
}

.td-section-head p {
    margin: 0 0 8px;
    color: var(--td-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.td-directions,
.td-advantages,
.td-process,
.td-faq,
.td-cta {
    padding: clamp(64px, 8vw, 112px) 0;
}

.td-directions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.td-direction {
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    color: var(--td-text);
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(18, 60, 105, 0.06);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.td-direction::before {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 150px;
    height: 150px;
    border-radius: 42px;
    background: rgba(31, 191, 132, 0.12);
    transform: rotate(18deg);
    z-index: -1;
}

.td-direction--large {
    grid-column: span 2;
    background: var(--td-secondary);
}

.td-direction:hover,
.td-direction:focus-visible {
    color: var(--td-text);
    border-color: rgba(31, 191, 132, 0.45);
    box-shadow: var(--td-shadow);
    transform: translateY(-4px);
}

.td-direction__num {
    color: var(--td-accent-dark);
    font-weight: 800;
}

.td-direction__title {
    margin-top: 32px;
    color: var(--td-primary-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.td-direction__desc {
    margin-top: 12px;
    color: var(--td-muted);
    font-size: 0.96rem;
}

.td-direction__arrow {
    margin-top: auto;
    color: var(--td-primary);
    font-size: 1.5rem;
}

.td-zsk {
    padding: clamp(72px, 8vw, 118px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 84% 18%, rgba(31, 191, 132, 0.22), transparent 30%),
        linear-gradient(135deg, #08233f, #0d3158) !important;
}

.td-zsk__col {
    position: sticky;
    top: 104px;
}

.td-zsk__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: start;
}

.td-zsk__title,
.td-cta__title {
    color: #ffffff;
    letter-spacing: 0;
}

.td-zsk__text,
.td-cta__text {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.7;
}

.td-zsk__services {
    display: grid;
    gap: 14px;
}

.td-zsk-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.td-zsk-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(31, 191, 132, 0.5);
    transform: translateX(4px);
}

.td-zsk-item__num {
    color: #9ce8d0;
    font-weight: 800;
}

.td-zsk-item__title {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}

.td-zsk-item__desc {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.td-faq {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--td-bg-alt) 100%);
}

.td-advantages {
    background: #ffffff;
}

.td-advantages__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: clamp(30px, 6vw, 84px);
    align-items: start;
}

.td-advantages__intro {
    position: sticky;
    top: 110px;
}

.td-advantages__intro p {
    margin: 22px 0 0;
    color: var(--td-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.td-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.td-benefit-card {
    min-height: 260px;
    padding: 24px;
    border: 1px solid var(--td-border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(236, 247, 244, 0.72), rgba(255, 255, 255, 0.96));
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
}

.td-benefit-card__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--td-primary);
    font-weight: 900;
}

.td-benefit-card h3 {
    margin: 30px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.td-benefit-card p {
    margin: 12px 0 0;
    color: var(--td-muted);
    line-height: 1.68;
}

.td-process {
    background: var(--td-bg-alt);
}

.td-process__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.td-process__steps::before {
    content: "";
    position: absolute;
    top: 36px;
    right: 7%;
    left: 7%;
    height: 2px;
    background: linear-gradient(90deg, rgba(31, 191, 132, 0), rgba(31, 191, 132, 0.46), rgba(31, 191, 132, 0));
}

.td-process-step {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 18px 17px 20px;
    border: 1px solid var(--td-border);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.td-process-step:hover {
    border-color: rgba(31, 191, 132, 0.42);
    box-shadow: 0 16px 36px rgba(18, 60, 105, 0.1);
    transform: translateY(-4px);
}

.td-process-step__num {
    display: block;
    margin-top: 12px;
    color: var(--td-accent-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.td-process-step__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 191, 132, 0.32);
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.td-process-step:hover .td-process-step__icon {
    background: #ffffff;
    transform: translateY(-3px);
}

.td-process-step__title {
    margin: 8px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.02rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.td-process-step__text {
    margin: 9px 0 0;
    color: var(--td-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.td-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.td-zsk-page {
    background: #ffffff;
}

.td-zsk-hero {
    padding: clamp(58px, 8vw, 112px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 24%, rgba(31, 191, 132, 0.24), transparent 34%),
        linear-gradient(140deg, #08233f, #123c69 62%, #0b2a4a);
}

.td-zsk-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
    gap: clamp(34px, 6vw, 88px);
    align-items: center;
}

.td-zsk-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.td-zsk-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.72;
}

.td-zsk-hero__actions,
.td-zsk-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.td-zsk-hero__points span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    font-weight: 800;
}

.td-zsk-visual {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: linear-gradient(155deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.td-zsk-visual::before {
    content: "";
    position: absolute;
    inset: 70px 42px auto;
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
}

.td-zsk-visual__bank,
.td-zsk-visual__shield,
.td-zsk-visual__card {
    position: absolute;
    display: grid;
    gap: 10px;
    justify-items: center;
    align-content: center;
    padding: 18px;
    border-radius: 22px;
    color: var(--td-primary-dark);
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
    text-align: center;
    font-weight: 900;
}

.td-zsk-visual__bank {
    top: 42px;
    left: 42px;
    width: 150px;
    height: 126px;
}

.td-zsk-visual__card--account {
    top: 160px;
    right: 46px;
    width: 178px;
    height: 116px;
}

.td-zsk-visual__card--monitor {
    right: 150px;
    bottom: 46px;
    width: 178px;
    height: 116px;
}

.td-zsk-visual__shield {
    left: 58px;
    bottom: 68px;
    width: 150px;
    height: 134px;
    color: #ffffff;
    background: var(--td-accent);
}

.td-zsk-visual .td-icon {
    width: 34px;
    height: 34px;
}

.td-zsk-section,
.td-zsk-explain {
    padding: clamp(58px, 7vw, 104px) 0;
}

.td-zsk-section--alt {
    background: var(--td-bg-alt);
}

.td-zsk-section--dark {
    color: #ffffff;
    background: linear-gradient(135deg, var(--td-primary-dark), var(--td-primary));
}

.td-zsk-section--dark .td-section-label {
    color: #ffffff;
}

.td-zsk-explain__grid,
.td-zsk-table-wrap,
.td-zsk-docs {
    display: grid;
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    gap: clamp(30px, 6vw, 82px);
    align-items: start;
}

.td-zsk-explain h2,
.td-zsk-table-wrap h2,
.td-zsk-docs h2 {
    margin: 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.td-zsk-explain p,
.td-zsk-docs p {
    color: var(--td-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.td-zsk-flow {
    display: grid;
    gap: 12px;
}

.td-zsk-flow__item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 66px;
    padding: 12px 16px;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 60, 105, 0.06);
    color: var(--td-primary-dark);
    font-weight: 900;
}

.td-zsk-flow__item .td-icon {
    width: 24px;
    height: 24px;
    color: var(--td-accent-dark);
}

.td-zsk-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.td-zsk-service-card {
    display: flex;
    min-height: 252px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    color: var(--td-text);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.td-zsk-service-card:hover {
    color: var(--td-text);
    border-color: rgba(31, 191, 132, 0.48);
    box-shadow: var(--td-shadow);
    transform: translateY(-4px);
}

.td-zsk-service-card__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
}

.td-zsk-service-card__num {
    margin-top: 18px;
    color: var(--td-accent-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.td-zsk-service-card h3 {
    margin: 8px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.td-zsk-service-card p {
    margin: 10px 0 0;
    color: var(--td-muted);
    line-height: 1.6;
}

.td-zsk-service-card strong {
    margin-top: auto;
    color: var(--td-primary);
}

.td-zsk-service-card--compact {
    min-height: 190px;
}

.td-zsk-problems {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.td-zsk-problem-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    border: 1px solid var(--td-border);
    border-radius: 20px;
    background: #ffffff;
    color: var(--td-primary-dark);
    font-weight: 800;
}

.td-zsk-problem-card .td-icon {
    color: var(--td-accent-dark);
}

.td-zsk-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
}

.td-zsk-table th,
.td-zsk-table td {
    padding: 18px;
    border-bottom: 1px solid var(--td-border);
    text-align: left;
    vertical-align: top;
}

.td-zsk-table th {
    color: var(--td-primary-dark);
    background: var(--td-secondary);
}

.td-zsk-table td:first-child {
    color: var(--td-primary-dark);
    font-weight: 900;
}

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

.td-zsk-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.td-zsk-process__step {
    min-height: 210px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.td-zsk-process__step span {
    color: #9ce8d0;
    font-weight: 900;
}

.td-zsk-process__step .td-icon {
    display: block;
    width: 32px;
    height: 32px;
    margin: 18px 0;
    color: #9ce8d0;
}

.td-zsk-process__step h3 {
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.td-zsk-process__step p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.td-faq__list {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}

.td-faq-item {
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.td-faq-item:hover,
.td-faq-item[open] {
    border-color: rgba(31, 191, 132, 0.42);
    box-shadow: 0 18px 44px rgba(18, 60, 105, 0.1);
}

.td-faq-item__question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 18px;
    align-items: center;
    min-height: 76px;
    padding: 20px 22px 20px 26px;
    color: var(--td-primary-dark);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
}

.td-faq-item__question::-webkit-details-marker {
    display: none;
}

.td-faq-item__icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--td-secondary);
}

.td-faq-item__icon::before,
.td-faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--td-accent-dark);
    transform: translate(-50%, -50%);
}

.td-faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: opacity 0.18s ease;
}

.td-faq-item[open] .td-faq-item__icon::after {
    opacity: 0;
}

.td-faq-item__answer {
    padding: 0 26px 24px;
}

.td-faq-item__answer p {
    max-width: 780px;
    margin: 0;
    color: var(--td-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.td-cta {
    background: #ffffff;
}

.td-cta__box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.55fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 16%, rgba(31, 191, 132, 0.26), transparent 34%),
        linear-gradient(138deg, var(--td-primary-dark), var(--td-primary));
    box-shadow: 0 34px 90px rgba(8, 35, 63, 0.2);
    overflow: hidden;
}

.td-cta__box::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 54px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(18deg);
}

.td-cta__content,
.td-cta__form {
    position: relative;
    z-index: 1;
}

.td-cta__title {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4.4rem);
    letter-spacing: 0;
}

.td-cta__text {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.72;
}

.td-cta__contacts {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.td-cta__contacts a {
    color: #ffffff;
    font-size: 1.28rem;
    font-weight: 800;
}

.td-cta__contacts span {
    color: rgba(255, 255, 255, 0.72);
}

.td-cta__form .td-consult-form {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.td-mega {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.td-mega.is-open {
    opacity: 1;
    pointer-events: auto;
}

.td-mega__overlay {
    position: fixed;
    inset: 76px 0 0;
    background: rgba(8, 35, 63, 0.18);
}

.td-mega__panel {
    position: relative;
    width: min(100% - 40px, 1260px);
    max-height: calc(100vh - 100px);
    margin: 12px auto 0;
    overflow: auto;
    border: 1px solid var(--td-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(8, 35, 63, 0.22);
}

.td-mega__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    border-bottom: 1px solid var(--td-border);
}

.td-mega__head span {
    color: var(--td-primary-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.td-mega__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--td-primary-dark);
    background: var(--td-bg-alt);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.td-mega__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    padding: 26px;
}

.td-mega__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.td-mega__group {
    padding: 18px;
    border: 1px solid var(--td-border);
    border-radius: 20px;
    background: var(--td-bg-alt);
}

.td-mega__group h2 {
    margin: 0 0 14px;
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 0;
}

.td-mega__group h2 a,
.td-mega__group h2 {
    color: var(--td-primary-dark);
}

.td-mega__group ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.td-mega__group a {
    color: var(--td-muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.td-mega__group a:hover {
    color: var(--td-accent-dark);
}

.td-mega__cta {
    padding: 22px;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--td-primary-dark), var(--td-primary));
}

.td-mega__cta h2 {
    color: #ffffff;
    font-family: inherit;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.td-mega__cta p {
    color: rgba(255, 255, 255, 0.78);
}

.td-mega__phone {
    display: inline-block;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
}

.td-mega__cta .td-consult-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.td-mega__cta .td-consult-form__header {
    display: none;
}

.td-mega__cta .td-consult-form label > span {
    color: #ffffff;
}

.td-mega__cta .td-consult-form__agree span,
.td-mega__cta .td-consult-form__note {
    color: rgba(255, 255, 255, 0.72) !important;
}

.td-consult-form__agree a {
    color: var(--td-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer {
    margin-top: 0;
    padding: clamp(56px, 7vw, 88px) 0 24px;
    color: rgba(255, 255, 255, 0.74);
    background: #071a33;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr repeat(4, minmax(150px, 0.8fr)) 1.15fr;
    gap: clamp(24px, 3vw, 42px);
    align-items: start;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer__brand,
.site-footer__col,
.site-footer__contacts {
    display: grid;
    gap: 10px;
}

.site-footer__logo {
    color: #ffffff !important;
    font-size: 1.18rem;
    font-weight: 900;
}

.site-footer__logo span {
    color: #9ce8d0;
}

.site-footer__brand p,
.site-footer__contacts p {
    margin: 0;
    line-height: 1.6;
}

.site-footer__contacts span {
    color: #ffffff;
    font-weight: 800;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 16px 28px;
    align-items: center;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
}

.site-footer__bottom nav {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer__bottom nav span {
    color: rgba(255, 255, 255, 0.58);
    font-weight: 900;
}

.td-popup,
.td-popup__overlay {
    position: fixed;
    inset: 0;
}

.td-popup {
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.td-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.td-popup__overlay {
    background: rgba(8, 35, 63, 0.52);
}

.td-popup__dialog {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(8, 35, 63, 0.28);
}

.td-popup__dialog h2 {
    margin: 0 54px 18px 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.5rem;
    letter-spacing: 0;
}

.td-popup__dialog .td-consult-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.td-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--td-bg-alt);
    color: var(--td-primary-dark);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.td-cookie {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1100;
    width: min(420px, calc(100vw - 48px));
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(8, 35, 63, 0.18);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.td-cookie[hidden] {
    display: none;
}

.td-cookie.is-hidden {
    opacity: 0;
    transform: translateY(12px);
}

.td-cookie strong {
    color: var(--td-primary-dark);
}

.td-cookie p {
    margin: 6px 0 0;
    color: var(--td-muted);
    line-height: 1.55;
}

.td-cookie p a {
    color: var(--td-primary);
    font-weight: 800;
}

.td-cookie__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.td-cookie__actions a {
    color: var(--td-primary);
    font-weight: 800;
}

.td-cookie__actions button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--td-accent);
    cursor: pointer;
    font-weight: 800;
}

.td-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1110;
}

body.cookie-consent-visible .td-floating {
    pointer-events: none;
}

.td-floating__button {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--td-accent);
    box-shadow: 0 20px 48px rgba(31, 191, 132, 0.34);
    cursor: pointer;
    font-size: 1.45rem;
}

.td-floating__panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(320px, calc(100vw - 32px));
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(8, 35, 63, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.td-floating__panel[hidden] {
    display: none;
}

.td-floating.is-open .td-floating__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.td-floating__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--td-primary-dark);
}

.td-floating__head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: var(--td-bg-alt);
    cursor: pointer;
    font-size: 1.35rem;
}

.td-floating p {
    margin: 0;
    color: var(--td-muted);
}

.td-floating__panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--td-primary-dark);
    background: var(--td-bg-alt);
    font-weight: 800;
}

.td-floating__panel svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.td-floating__panel a:hover {
    color: #ffffff;
    background: var(--td-primary);
}

.td-floating__phone {
    color: var(--td-primary-dark);
}

.td-service-page {
    background: #ffffff;
}

.td-service-hero {
    padding: clamp(56px, 7vw, 96px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 22%, rgba(31, 191, 132, 0.2), transparent 34%),
        linear-gradient(138deg, #08233f, #123c69);
}

.td-service-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.52fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.td-service-hero__category {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    margin-bottom: 18px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #9ce8d0;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.td-service-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.td-service-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.72;
}

.td-service-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
}

.td-service-hero__chips span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 800;
}

.td-service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.td-service-hero__art {
    position: relative;
    min-height: 150px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background:
        radial-gradient(circle at 78% 20%, rgba(31, 191, 132, 0.34), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    overflow: hidden;
}

.td-service-hero__art span {
    position: absolute;
    top: 28px;
    left: 28px;
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: #ffffff;
    background: rgba(31, 191, 132, 0.82);
    box-shadow: 0 20px 50px rgba(31, 191, 132, 0.22);
}

.td-service-hero__art i,
.td-service-hero__art b {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.td-service-hero__art i {
    right: 28px;
    top: 42px;
    width: 160px;
    height: 12px;
}

.td-service-hero__art b {
    right: 58px;
    top: 76px;
    width: 210px;
    height: 12px;
}

.td-service-section {
    padding: clamp(58px, 7vw, 100px) 0;
}

.td-service-section--compact {
    padding: clamp(34px, 5vw, 64px) 0;
}

.td-service-section--alt {
    background: var(--td-bg-alt);
}

.td-service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.td-service-card {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--td-border);
    border-radius: 24px;
    color: var(--td-text);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.td-service-card:hover {
    color: var(--td-text);
    border-color: rgba(31, 191, 132, 0.45);
    box-shadow: var(--td-shadow);
    transform: translateY(-4px);
}

.td-service-card > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.td-service-card:hover > span {
    background: #ffffff;
    transform: translateX(3px);
}

.td-service-card h3 {
    margin: 28px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.td-service-card p {
    margin: 12px 0 0;
    color: var(--td-muted);
    line-height: 1.65;
}

.td-service-split {
    display: grid;
    grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.td-service-split h2,
.td-related h2 {
    margin: 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: clamp(1.9rem, 3.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.td-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.td-check-item {
    position: relative;
    min-height: 58px;
    padding: 17px 18px 17px 46px;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--td-primary-dark);
    font-weight: 800;
}

.td-check-item::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--td-accent-dark);
    border-bottom: 2px solid var(--td-accent-dark);
    transform: rotate(-45deg);
}

.td-service-list {
    display: grid;
    gap: 12px;
}

.td-service-list p {
    margin: 0;
    padding: 20px;
    border-left: 4px solid var(--td-accent);
    border-radius: 18px;
    background: var(--td-bg-alt);
    color: var(--td-muted);
    line-height: 1.7;
}

.td-callout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    max-width: 980px;
    padding: 22px;
    border: 1px solid rgba(31, 191, 132, 0.28);
    border-radius: 24px;
    background: linear-gradient(135deg, #f1fbf7, #ffffff);
}

.td-callout__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: #ffffff;
}

.td-callout__label {
    display: block;
    color: var(--td-primary-dark);
    font-weight: 900;
}

.td-callout p {
    margin: 8px 0 0;
    color: var(--td-muted);
    line-height: 1.7;
}

.td-service-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 56px;
}

.td-service-process::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, rgba(31, 191, 132, 0), rgba(31, 191, 132, 0.48), rgba(31, 191, 132, 0));
}

.td-service-process__item {
    position: relative;
    min-height: 0;
    padding: 18px 18px 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(18, 60, 105, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.td-service-process__item:nth-child(even) {
    margin-top: 32px;
}

.td-service-process__item:hover {
    border-color: rgba(31, 191, 132, 0.42);
    box-shadow: 0 16px 36px rgba(18, 60, 105, 0.1);
    transform: translateY(-4px);
}

.td-service-process__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
}

.td-service-process__num {
    display: block;
    margin-top: 12px;
    color: var(--td-accent-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.td-service-process h3 {
    margin: 8px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.12rem;
    letter-spacing: 0;
}

.td-service-process p {
    margin: 9px 0 0;
    color: var(--td-muted);
    line-height: 1.58;
}

.td-related {
    display: grid;
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px;
    border: 1px solid var(--td-border);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 60, 105, 0.06);
}

.td-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.td-related-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--td-border);
    border-radius: 20px;
    color: var(--td-primary-dark);
    background: var(--td-bg-alt);
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.td-related-card:hover {
    color: var(--td-primary-dark);
    border-color: rgba(31, 191, 132, 0.45);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(18, 60, 105, 0.08);
    transform: translateY(-3px);
}

.td-related-card__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: #ffffff;
    transition: transform 0.18s ease;
}

.td-related-card:hover .td-related-card__icon {
    transform: translateX(3px);
}

.td-related-card__category {
    margin-top: 14px;
    color: var(--td-accent-dark);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.td-related-card strong {
    margin-top: 7px;
    font-size: 1.04rem;
    line-height: 1.25;
}

.td-related-card small {
    margin-top: 9px;
    color: var(--td-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
}

.td-related-card__more {
    margin-top: auto;
    padding-top: 14px;
    color: var(--td-primary);
    font-size: 0.92rem;
}

.td-service-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.td-service-nav div {
    min-height: 100px;
    padding: 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: #ffffff;
}

.td-service-nav div:last-child {
    text-align: right;
}

.td-service-nav span {
    display: block;
    margin-bottom: 8px;
    color: var(--td-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.td-service-nav a {
    color: var(--td-primary-dark);
    font-weight: 900;
}

.td-service-nav a:hover {
    color: var(--td-accent-dark);
}

body.reveal-ready .reveal,
body.reveal-ready .reveal-left,
body.reveal-ready .reveal-right {
    opacity: 0;
    transition: opacity 0.62s ease, transform 0.62s ease;
    transition-delay: var(--delay, 0ms);
}

body.reveal-ready .reveal {
    transform: translateY(24px);
}

body.reveal-ready .reveal-left {
    transform: translateX(-22px);
}

body.reveal-ready .reveal-right {
    transform: translateX(22px);
}

body.reveal-ready .reveal.is-visible,
body.reveal-ready .reveal-left.is-visible,
body.reveal-ready .reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.td-contact-page,
.td-articles-page {
    background: #ffffff;
}

.td-contact-hero {
    padding: clamp(58px, 8vw, 104px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 22%, rgba(31, 191, 132, 0.2), transparent 32%),
        linear-gradient(138deg, #08233f, #123c69);
}

.td-contact-hero__grid,
.td-contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.58fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.td-contact-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.td-contact-hero p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.7;
}

.td-contact-hero__panel {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(circle at 80% 18%, rgba(31, 191, 132, 0.34), transparent 30%),
        rgba(255, 255, 255, 0.08);
}

.td-contact-hero__panel > span {
    display: inline-flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 22px;
    color: #ffffff;
    background: var(--td-accent);
}

.td-contact-hero__panel strong {
    color: #ffffff;
    font-size: 1.35rem;
}

.td-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.td-contact-card {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    color: var(--td-primary-dark);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 60, 105, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.td-contact-card:hover {
    color: var(--td-primary-dark);
    border-color: rgba(31, 191, 132, 0.44);
    box-shadow: 0 16px 38px rgba(18, 60, 105, 0.1);
    transform: translateY(-3px);
}

.td-contact-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
}

.td-contact-card small {
    color: var(--td-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.td-contact-card strong {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.45;
}

.td-contact-form-grid h2 {
    margin: 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.td-contact-form-grid p {
    margin: 18px 0 0;
    color: var(--td-muted);
    line-height: 1.7;
}

.td-contact-form {
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--td-shadow);
}

.td-articles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.td-quiz {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.td-quiz.is-open {
    opacity: 1;
    pointer-events: auto;
}

.td-quiz__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 35, 63, 0.58);
}

.td-quiz__dialog {
    position: relative;
    width: min(100%, 820px);
    max-height: min(92vh, 820px);
    padding: clamp(24px, 4vw, 34px);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(8, 35, 63, 0.24);
    overflow: auto;
}

.td-quiz__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--td-bg-alt);
    color: var(--td-primary-dark);
    font-size: 1.4rem;
    cursor: pointer;
}

.td-quiz__label {
    color: var(--td-accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.td-quiz h2 {
    margin: 10px 48px 0 0;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0;
}

.td-quiz__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    color: var(--td-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.td-quiz__progress {
    height: 8px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--td-bg-alt);
    overflow: hidden;
}

.td-quiz__progress span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--td-accent), #67e7ba);
    transition: width 0.24s ease;
}

.td-quiz__body h3 {
    margin: 28px 0 16px;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.45rem;
    letter-spacing: 0;
}

.td-quiz__answers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.td-quiz__answer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 16px;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    background: var(--td-bg-alt);
    color: var(--td-primary-dark);
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.td-quiz__answer span {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ffffff;
}

.td-quiz__answer:hover,
.td-quiz__answer.is-selected {
    border-color: rgba(31, 191, 132, 0.58);
    background: #ffffff;
    transform: translateY(-3px);
}

.td-quiz__final {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.td-quiz__final[hidden] {
    display: none;
}

.td-quiz__final-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: var(--td-bg-alt);
}

.td-quiz__final-head > span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: #ffffff;
}

.td-quiz__final-head strong {
    display: block;
    color: var(--td-primary-dark);
    font-size: 1.1rem;
}

.td-quiz__final-head p {
    margin: 6px 0 0;
    color: var(--td-muted);
    line-height: 1.55;
}

.td-quiz__final label {
    display: grid;
    gap: 7px;
}

.td-quiz__final label > span {
    color: var(--td-primary-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.td-quiz__final input[type="text"],
.td-quiz__final input[type="tel"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--td-border);
    border-radius: 14px;
}

.td-quiz__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.td-quiz__messengers a,
.td-quiz__back {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--td-border);
    border-radius: 999px;
    color: var(--td-primary-dark);
    background: #ffffff;
    font-weight: 800;
}

.td-quiz__actions {
    margin-top: 18px;
}

.td-quiz__back[hidden] {
    display: none;
}

.td-legal-page {
    background: #ffffff;
}

.td-legal-hero {
    padding: clamp(50px, 7vw, 92px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 20%, rgba(31, 191, 132, 0.2), transparent 32%),
        linear-gradient(138deg, #08233f, #123c69);
}

.td-legal-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.td-legal-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.td-legal__layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 920px);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    padding-top: clamp(44px, 6vw, 76px);
    padding-bottom: clamp(64px, 8vw, 108px);
}

.td-legal__toc {
    position: sticky;
    top: 96px;
    padding: 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: var(--td-bg-alt);
}

.td-legal__toc strong {
    display: block;
    margin-bottom: 12px;
    color: var(--td-primary-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.td-legal__toc nav {
    display: grid;
    gap: 8px;
}

.td-legal__toc a {
    color: var(--td-muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.td-legal__toc a:hover {
    color: var(--td-primary);
}

.td-legal__content {
    max-width: 920px;
}

.td-legal__content .td-legal-date {
    display: inline-flex;
    margin: 0 0 22px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--td-accent-dark);
    background: var(--td-secondary);
    font-weight: 900;
}

.td-legal__content h2 {
    margin: 44px 0 16px;
    padding-top: 22px;
    border-top: 1px solid var(--td-border);
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 0;
}

.td-legal__content h3 {
    margin: 28px 0 10px;
    color: var(--td-primary-dark);
    font-family: inherit;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.td-legal__content p {
    margin: 14px 0;
    color: var(--td-text);
    font-size: 1rem;
    line-height: 1.78;
}

.td-legal-callout {
    margin: 26px 0;
    padding: 22px;
    border: 1px solid rgba(31, 191, 132, 0.3);
    border-radius: 22px;
    color: var(--td-primary-dark);
    background: linear-gradient(135deg, #f1fbf7, #ffffff);
    line-height: 1.7;
}

.td-legal__content a {
    color: var(--td-primary);
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    body.reveal-ready .reveal,
    body.reveal-ready .reveal-left,
    body.reveal-ready .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1100px) {
    .site-header__actions {
        display: none;
    }

    .td-hero__grid,
    .td-zsk__inner {
        grid-template-columns: 1fr;
    }

    .td-zsk__col {
        position: static;
    }

    .td-hero__visual {
        min-height: 340px;
    }

    .td-hero-panel {
        min-height: 340px;
    }

    .td-directions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .td-process__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .td-process__steps::before {
        display: none;
    }

    .td-mega__grid {
        grid-template-columns: 1fr;
    }

    .td-mega__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .td-contact-grid,
    .td-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom nav {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .td-container,
    .container,
    .td-container--wide {
        width: min(100% - 28px, 1240px);
    }

    .site-header__inner {
        min-height: 66px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    .main-navigation {
        display: none;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        max-width: none;
        height: 100vh;
        padding: 92px 22px 28px;
        background: #ffffff;
        box-shadow: -22px 0 60px rgba(8, 35, 63, 0.18);
        transform: translateX(105%);
        transition: transform 0.3s ease;
    }

    .main-navigation.is-open {
        display: block;
        transform: translateX(0);
    }

    .nav-menu {
        align-items: stretch;
        gap: 8px;
    }

    .nav-menu a {
        padding: 14px 16px;
        border-radius: 14px;
        background: var(--td-bg-alt);
    }

    .nav-menu__services {
        width: 100%;
        padding: 14px 36px 14px 16px;
        border-radius: 14px;
        text-align: left;
    }

    .td-mega {
        inset: 0;
        z-index: 1002;
    }

    .td-mega__overlay {
        inset: 0;
        background: rgba(8, 35, 63, 0.34);
    }

    .td-mega__panel {
        width: 100%;
        height: 100vh;
        max-height: none;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .td-mega__grid,
    .td-mega__columns {
        grid-template-columns: 1fr;
    }

    .td-section-head,
    .td-cta__box,
    .site-footer__grid,
    .td-advantages__grid,
    .td-service-hero__grid,
    .td-service-split,
    .td-related,
    .td-contact-hero__grid,
    .td-contact-form-grid,
    .td-legal__layout {
        grid-template-columns: 1fr;
    }

    .td-legal__toc {
        position: static;
    }

    .td-service-cards,
    .td-check-grid,
    .td-related__grid,
    .td-contact-grid,
    .td-articles-grid,
    .td-quiz__answers,
    .td-benefit-grid,
    .td-zsk-hero__grid,
    .td-zsk-explain__grid,
    .td-zsk-table-wrap,
    .td-zsk-docs {
        grid-template-columns: 1fr;
    }

    .td-zsk-service-grid,
    .td-zsk-problems,
    .td-zsk-process {
        grid-template-columns: 1fr;
    }

    .td-zsk-visual {
        min-height: 360px;
    }

    .td-advantages__intro {
        position: static;
    }

    .td-process__steps {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-left: 46px;
    }

    .td-process__steps::before {
        display: block;
        top: 0;
        bottom: 0;
        left: 28px;
        width: 2px;
        height: auto;
        background: rgba(31, 191, 132, 0.32);
    }

    .td-service-process {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-left: 42px;
    }

    .td-service-process::before {
        left: 20px;
    }

    .td-service-process__item:nth-child(even) {
        margin-top: 0;
    }

    .td-service-nav {
        grid-template-columns: 1fr;
    }

    .td-service-nav div:last-child {
        text-align: left;
    }

    .td-hero {
        min-height: auto;
        padding-top: 58px;
    }

    .td-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .td-btn {
        width: 100%;
    }

    .td-hero__visual {
        min-height: 0;
    }

    .td-hero-panel {
        min-height: 300px;
        padding: 22px;
        border-radius: 24px;
    }

    .td-directions__grid {
        grid-template-columns: 1fr;
    }

    .td-direction--large {
        grid-column: auto;
    }

    .td-direction {
        min-height: 210px;
    }

    .td-zsk-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .td-faq-item__question {
        grid-template-columns: minmax(0, 1fr) 34px;
        min-height: 66px;
        padding: 18px;
        font-size: 0.98rem;
    }

    .td-faq-item__answer {
        padding: 0 18px 20px;
    }

    .td-cta__box {
        padding: 24px;
        border-radius: 26px;
    }

    .td-cookie {
        right: 12px;
        bottom: 86px;
        left: 12px;
        z-index: 1120;
        width: calc(100% - 24px);
        gap: 12px;
        padding: 20px;
        border-radius: 24px;
    }

    .td-cookie strong {
        font-size: 2.3rem;
        line-height: 1.12;
    }

    .td-cookie p {
        margin-top: 8px;
        font-size: 1.6rem;
        line-height: 1.45;
    }

    .td-cookie__actions {
        gap: 10px;
    }

    .td-cookie__actions a,
    .td-cookie__actions button {
        min-height: 40px;
        padding: 0 16px;
        font-size: 1.5rem;
    }

    .td-floating {
        right: 14px;
        bottom: 14px;
        z-index: 1110;
    }

    .td-quiz {
        align-items: stretch;
        padding: 10px;
    }

    .td-quiz__dialog {
        width: 100%;
        max-height: 100%;
        border-radius: 22px;
    }

    .td-service-hero__art i,
    .td-service-hero__art b {
        width: 120px;
    }

    body.reveal-ready .reveal-left,
    body.reveal-ready .reveal-right {
        transform: translateY(22px);
    }

    body.reveal-ready .reveal-left.is-visible,
    body.reveal-ready .reveal-right.is-visible {
        transform: translateY(0);
    }
}
