/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=sharp, тени=medium, отступы=airy, кнопки=rounded */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&family=Urbanist:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #FC681C;
    --accent-2: #F64E45;
    --accent-3: #FFB72B;
    --accent-gradient: linear-gradient(to bottom right, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Urbanist', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 30px;
    --fs-body: 17px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    
    /* Отступы секций */
    --section-padding: 120px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 10px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: image-zoom-hover — увеличение при hover */
.card-image, .portfolio-item, .team-image {
    overflow: hidden;
}
.card-image img, .portfolio-item img, .team-image img {
    transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.card-image:hover img, .portfolio-item:hover img, .team-card:hover .team-image img {
    transform: scale(1.08);
}

/* Trick: gradient-section-bg — градиентный фон секции */
.bg-secondary-custom {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Trick: section-corner-ornament — уголок-акцент */
main > section:nth-child(3n+2) { position: relative; }
main > section:nth-child(3n+2)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent-1);
    border-right: 2px solid var(--accent-1);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    border-radius: 0 4px 0 0;
}
.hero-section::after { display: none !important; }

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: overlap card — картинка с наложенным текстовым блоком */
.hero-section { min-height: 100vh; padding-bottom: 120px; }
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.hero-content {
    background: var(--bg-card, #fff);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 5;
    border: 1px solid var(--border-color);
}
.hero-tagline { background: var(--accent-1); color: #fff !important; padding: 6px 16px; border-radius: var(--radius-sm); font-size: 11px; }

/* Header: split accent — акцентная CTA-кнопка выделена */
.site-header { background: var(--bg-primary); padding: 0; }
.site-header .header-inner { padding: 16px 0; }
.header-cta {
    background: var(--accent-1) !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.main-nav { gap: 28px; }
.main-nav .nav-link { font-size: 14px; }

/* Footer: centered minimal — центрированный минимализм */
.site-footer { background: var(--bg-primary); color: var(--text-secondary); padding: 60px 0; text-align: center; border-top: 1px solid var(--border-color); }
.site-footer p, .site-footer li, .site-footer span,
.site-footer .footer-widget p, .site-footer .footer-contact li { color: var(--text-secondary); }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: var(--text-primary); }
.footer-widget { text-align: center; }
.footer-widget .widget-title::after { margin: 12px auto 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links li { margin-bottom: 0; }
.footer-links a { color: var(--text-secondary); }
.footer-social { justify-content: center; }
.footer-social a { background: var(--bg-secondary); border-color: var(--border-color); color: var(--text-secondary); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-color); margin-top: 40px; }
.footer-bottom p { color: var(--text-muted); }

/* Contact: split bg — разделённый фон */
.contact-section { position: relative; }
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .form-custom { background: var(--bg-card, #fff); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Logo: gradient text — градиентный текст */
.site-logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-logo span { -webkit-text-fill-color: transparent; }

/* Headings: numbered counter — нумерация заголовков */
.icon-box { counter-increment: card-counter; }
.icon-title::before {
    content: counter(card-counter, decimal-leading-zero) '.';
    display: block;
    color: var(--accent-1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.6;
}
.services-section, .features-section { counter-reset: card-counter; }

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: boxed — кнопка в рамке */
.mobile-toggle { width: 44px; height: 44px; gap: 5px; border: 2px solid var(--text-primary); background: none; border-radius: 0; }
.mobile-toggle .burger-line { width: 20px; height: 2px; border-radius: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle.active { border-color: var(--accent-1); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Effect: divider-circle */
main > section + section::before{content:'';display:block;width:12px;height:12px;border:2px solid var(--accent-1);border-radius:50%;margin:15px auto;opacity:0.35;}

/* Effect: stagger-slide-left */
.icon-box,.service-card{opacity:0;animation:slideLeft 0.6s ease forwards;}.row>[class*="col"]:nth-child(odd) .icon-box,.row>[class*="col"]:nth-child(odd) .service-card{animation-name:slideLeft;}.row>[class*="col"]:nth-child(even) .icon-box,.row>[class*="col"]:nth-child(even) .service-card{animation-name:slideRight;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.1s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.2s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.3s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.4s;}@keyframes slideLeft{from{opacity:0;transform:translateX(-40px);}to{opacity:1;transform:translateX(0);}}@keyframes slideRight{from{opacity:0;transform:translateX(40px);}to{opacity:1;transform:translateX(0);}}

/* Effect: stagger-cards */
.icon-box,.service-card,.blog-card,.pricing-card,.team-card{opacity:0;animation:staggerIn 0.6s ease forwards;}.row>[class*="col"]:nth-child(1) .icon-box,.row>[class*="col"]:nth-child(1) .service-card,.row>[class*="col"]:nth-child(1) .blog-card{animation-delay:0.1s;}.row>[class*="col"]:nth-child(2) .icon-box,.row>[class*="col"]:nth-child(2) .service-card,.row>[class*="col"]:nth-child(2) .blog-card{animation-delay:0.2s;}.row>[class*="col"]:nth-child(3) .icon-box,.row>[class*="col"]:nth-child(3) .service-card,.row>[class*="col"]:nth-child(3) .blog-card{animation-delay:0.3s;}.row>[class*="col"]:nth-child(4) .icon-box,.row>[class*="col"]:nth-child(4) .service-card{animation-delay:0.4s;}.row>[class*="col"]:nth-child(5) .icon-box{animation-delay:0.5s;}.row>[class*="col"]:nth-child(6) .icon-box{animation-delay:0.6s;}@keyframes staggerIn{from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:translateY(0);}}

/* Effect: scroll-overlap-sections — Overlap — секции наезжают друг на друга сверху при скролле */
/* Scroll: overlap-sections — секции перекрывают друг друга */
main > section {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-primary);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
}
main > section:nth-child(even) { background: var(--bg-secondary, var(--bg-primary)); }
main > section:nth-child(1) { z-index: 2; }
main > section:nth-child(2) { z-index: 3; }
main > section:nth-child(3) { z-index: 4; }
main > section:nth-child(4) { z-index: 5; }
main > section:nth-child(5) { z-index: 6; }
main > section:nth-child(6) { z-index: 7; }
main > section:nth-child(7) { z-index: 8; }
main > section:nth-child(8) { z-index: 9; }
main > section:nth-child(9) { z-index: 10; }
main > section:nth-child(10) { z-index: 11; }
main > section:nth-child(11) { z-index: 12; }
main > section:nth-child(12) { z-index: 13; }
.hero-section { z-index: 0; position: relative; }
.site-footer { position: relative; z-index: 20; }
@media (max-width: 768px) { main > section { position: relative; box-shadow: none; } }

/* Effect: hover-card-tilt-3d — Карточки слегка поворачиваются в 3D при наведении */
.icon-box,.service-card,.blog-card,.testimonial-card,.pricing-card{transition:transform 0.4s ease,box-shadow 0.4s ease;transform-style:preserve-3d;will-change:transform;}

/* Effect: hover-card-bg-accent — Фон карточки плавно становится акцентным при наведении */
.icon-box,.service-card{transition:background 0.4s ease,color 0.4s ease,border-color 0.4s ease,box-shadow 0.4s ease;}.icon-box:hover,.service-card:hover{background:var(--accent-1) !important;border-color:var(--accent-1) !important;box-shadow:0 12px 30px rgba(0,0,0,0.15) !important;}.icon-box:hover .icon-title,.icon-box:hover .icon-text,.icon-box:hover i,.service-card:hover .card-title,.service-card:hover .card-text{color:#fff !important;}.icon-box:hover .icon-wrap{background:rgba(255,255,255,0.15) !important;color:#fff !important;}

/* Effect: hover-btn-bounce-click — Кнопки пружинят при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{transition:transform 0.15s ease;}.btn-custom:active,.btn-primary-custom:active,.btn-outline-custom:active{transform:scale(0.93);}@keyframes btnBounce{0%{transform:scale(0.93);}40%{transform:scale(1.05);}70%{transform:scale(0.98);}100%{transform:scale(1);}}

/* Effect: pulse-hero-cta — CTA-кнопка в hero мягко пульсирует */
@keyframes pulseGlow{0%,100%{box-shadow:0 0 0 0 rgba(var(--accent-1-rgb,99,102,241),0.45);}70%{box-shadow:0 0 0 14px rgba(var(--accent-1-rgb,99,102,241),0);}}
.hero-section .btn-primary-custom,.hero-section .btn-custom{animation:pulseGlow 2.5s ease-in-out infinite;}

/* Effect: spin-gear-icon — Крутящаяся декоративная звезда рядом с hero */
.spin-gear{position:absolute;font-size:80px;opacity:0.04;animation:spinSlow 25s linear infinite;pointer-events:none;z-index:0;top:20%;left:5%;}@keyframes spinSlow{to{transform:rotate(360deg);}}@media(max-width:768px){.spin-gear{font-size:50px;}}

/* Effect: float-circles-mouse — Кружки реагируют на позицию мыши */
.float-shapes{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.float-circ{position:absolute;border-radius:50%;border:1px solid var(--accent-1);opacity:0.04;transition:transform 1.5s cubic-bezier(0.23,1,0.32,1);}

/* Effect: marquee-vertical-side — Вертикальная бегущая строка сбоку */
.js-marquee-v{position:fixed;left:0;top:0;width:30px;height:100vh;overflow:hidden;z-index:9989;opacity:0.06;pointer-events:none;writing-mode:vertical-rl;text-orientation:mixed;}.js-marquee-v-inner{display:flex;gap:20px;white-space:nowrap;animation:jsMarqueeV 20s linear infinite;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:3px;}@keyframes jsMarqueeV{from{transform:translateY(0);}to{transform:translateY(-50%);}}@media(max-width:992px){.js-marquee-v{display:none;}}

/* Effect: asym-diagonal-hero — Hero с косым нижним срезом */
/* Asymmetry: diagonal-hero — косой низ hero */
.hero-section {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
        margin-bottom: -10px;
    }
}

/* ═══ MOBILE MENU SAFETY-NET ═══ */
@media (max-width: 992px) {
    /* Бургер-кнопка — ВСЕГДА видима и кликабельна */
    .mobile-toggle {
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        z-index: 10001 !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-toggle .burger-line {
        pointer-events: none;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    /* Мобильная панель навигации — правильное позиционирование */
    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }
    /* Ссылки навигации — крупные, читаемые, кликабельные */
    .main-nav .nav-link {
        font-size: 18px !important;
        padding: 14px 0 !important;
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
    }
    .main-nav .nav-link::after { display: none !important; }
    .header-cta { display: none !important; }
    /* CTA-кнопка скрыта на мобильном (меню важнее) */
    .nav-group-left, .nav-group-right { display: none !important; }
}


/* ═══ BLUR SAFETY-NET ═══ */
/* Cards/content blocks: cap backdrop-filter blur at 8px, ensure solid-enough bg */
.icon-box,
.service-card,
.blog-card,
.pricing-card,
.feature-card,
.team-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
/* Guarantee text inside cards is never blurred by filter */
.icon-box *,
.service-card *,
.blog-card *,
.pricing-card *,
.feature-card * {
    filter: none !important;
}
/* Animation safety: blurIn cards MUST reach final state even if animation fails */
@supports (animation: none) {
    .icon-box, .service-card, .blog-card {
        animation-fill-mode: forwards !important;
    }
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.661;
    letter-spacing: 0.015em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 26px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 23px 24px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + 3px);
}

.btn-custom {
    padding: 12px 26px;
    font-size: 15px;
    letter-spacing: 0.34px;
    border-radius: calc(var(--radius-md) + -2px);
}
.btn-outline-custom {
    padding: 12px 27px;
    border-width: 2px;
}

main > section {
    padding-top: 94px;
    padding-bottom: 101px;
}
main > section:first-child {
    padding-top: 104px;
}
main > section:nth-child(2) {
    padding-top: 88px;
    padding-bottom: 87px;
}
main > section:nth-child(3) {
    padding-top: 88px;
    padding-bottom: 101px;
}
main > section:nth-child(6) {
    padding-top: 95px;
    padding-bottom: 87px;
}

.section-header {
    margin-bottom: 44px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 6px 14px rgba(0,0,0,0.084);
}

.hero-section {
    padding-top: 111px;
}
.hero-title {
    margin-bottom: 27px;
}
.hero-subtitle {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.65;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 3.638px;
    margin-bottom: 24px;
}
.hero-buttons {
    gap: 11px;
}

.hero-image img {
    border-radius: 11px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.136);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 21px;
    border-radius: 9px;
    margin-bottom: 18px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 9px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.611;
}

.section-title {
    margin-bottom: 15px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 2.339px;
    margin-bottom: 12px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.627;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 34px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }
}

.site-footer {
    padding-top: 64px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 19px;
}
.footer-links a {
    font-size: 13px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 8px;
}
.footer-social a {
    width: 39px;
    height: 39px;
}
.footer-bottom {
    padding: 21px 0;
    margin-top: 56px;
}

.form-control {
    border-radius: 10px;
    padding: 14px 15px;
    font-size: 15px;
}

.testimonial-card {
    padding: 27px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.667;
    margin-bottom: 19px;
}
.author-image {
    width: 52px;
    height: 52px;
}
.author-name {
    font-size: 16px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 39px;
}
.plan-name {
    font-size: 21px;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 47px;
    margin-bottom: 18px;
}
.plan-features li {
    padding: 10px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 46px;
    margin-bottom: 9px;
}
.counter-label {
    font-size: 13px;
    letter-spacing: 0.238px;
}

.team-image img {
    border-radius: 12px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 2px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 30px;
    margin-bottom: 14px;
}
.step-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.wow {
    animation-duration: 0.555s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.36s;
}

.row {
    --bs-gutter-y: 26px;
}

.cta-section {
    padding: 86px 0;
}
.cta-title {
    font-size: 36px;
    margin-bottom: 18px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 27px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 7px;
    gap: 11px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 19px 0;
}
.site-logo {
    font-size: 23px;
}
.header-cta {
    margin-left: 18px;
}

/* Partners logos — keep sizes consistent */
.partners-logos img {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.partners-logos img:hover {
    opacity: 1;
    filter: none;
}

/* --- internal markers --- */
:root {
    --_run: 6.52;
    --_gen: 82693;
    --_hash: '2a7604';
}
.layout-anchor { pointer-events: auto; box-sizing: border-box }
.view-anchor { pointer-events: auto; font-style: inherit; visibility: inherit }
.dom-hook { display: inherit }
.style-tag { display: inherit }


/* ═══════════════════════════════════════════════════════ */
/* CONTRAST GUARD — auto-generated, do NOT edit           */
/* Ensures readable text on ALL dark/gradient sections     */
/* ═══════════════════════════════════════════════════════ */

/* .bg-dark-section — DARK bg → light text */
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff !important; }
.bg-dark-section { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section p, .bg-dark-section li, .bg-dark-section span:not(.badge):not(.btn-custom), .bg-dark-section .section-subtitle, .bg-dark-section label, .bg-dark-section blockquote, .bg-dark-section figcaption, .bg-dark-section dt, .bg-dark-section dd, .bg-dark-section td, .bg-dark-section th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-section .counter-number { color: #fff !important; }
.bg-dark-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-dark-custom — DARK bg → light text */
.bg-dark-custom h1, .bg-dark-custom h2, .bg-dark-custom h3, .bg-dark-custom h4, .bg-dark-custom h5, .bg-dark-custom h6 { color: #fff !important; }
.bg-dark-custom { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom p, .bg-dark-custom li, .bg-dark-custom span:not(.badge):not(.btn-custom), .bg-dark-custom .section-subtitle, .bg-dark-custom label, .bg-dark-custom blockquote, .bg-dark-custom figcaption, .bg-dark-custom dt, .bg-dark-custom dd, .bg-dark-custom td, .bg-dark-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-custom .counter-number { color: #fff !important; }
.bg-dark-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-gradient-custom — DARK bg → light text */
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3, .bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff !important; }
.bg-gradient-custom { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span:not(.badge):not(.btn-custom), .bg-gradient-custom .section-subtitle, .bg-gradient-custom label, .bg-gradient-custom blockquote, .bg-gradient-custom figcaption, .bg-gradient-custom dt, .bg-gradient-custom dd, .bg-gradient-custom td, .bg-gradient-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-gradient-custom .counter-number { color: #fff !important; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-accent-custom — DARK bg → light text */
.bg-accent-custom h1, .bg-accent-custom h2, .bg-accent-custom h3, .bg-accent-custom h4, .bg-accent-custom h5, .bg-accent-custom h6 { color: #fff !important; }
.bg-accent-custom { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom p, .bg-accent-custom li, .bg-accent-custom span:not(.badge):not(.btn-custom), .bg-accent-custom .section-subtitle, .bg-accent-custom label, .bg-accent-custom blockquote, .bg-accent-custom figcaption, .bg-accent-custom dt, .bg-accent-custom dd, .bg-accent-custom td, .bg-accent-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-accent-custom .counter-number { color: #fff !important; }
.bg-accent-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .cta-section — DARK bg → light text */
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6 { color: #fff !important; }
.cta-section { color: rgba(255,255,255,0.85) !important; }
.cta-section p, .cta-section li, .cta-section span:not(.badge):not(.btn-custom), .cta-section .section-subtitle, .cta-section label, .cta-section blockquote, .cta-section figcaption, .cta-section dt, .cta-section dd, .cta-section td, .cta-section th { color: rgba(255,255,255,0.78) !important; }
.cta-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.cta-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.cta-section .counter-number { color: #fff !important; }
.cta-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .site-footer — LIGHT bg → dark text (preset handles colors) */
.site-footer { color: var(--text-secondary, #555) !important; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .widget-title { color: var(--text-primary, #1a1a2e) !important; }
.site-footer p, .site-footer li, .site-footer span,
.site-footer label { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom) { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom):hover { color: var(--accent-1) !important; }
.site-footer .footer-bottom p { color: var(--text-muted, #888) !important; }

/* .bg-primary-custom — LIGHT bg → dark text */
.bg-primary-custom h1, .bg-primary-custom h2, .bg-primary-custom h3, .bg-primary-custom h4, .bg-primary-custom h5, .bg-primary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-primary-custom p, .bg-primary-custom li, .bg-primary-custom span:not(.badge):not(.btn-custom), .bg-primary-custom .section-subtitle, .bg-primary-custom label, .bg-primary-custom blockquote, .bg-primary-custom figcaption, .bg-primary-custom dt, .bg-primary-custom dd, .bg-primary-custom td, .bg-primary-custom th { color: var(--text-secondary, #555) !important; }

/* .bg-secondary-custom — LIGHT bg → dark text */
.bg-secondary-custom h1, .bg-secondary-custom h2, .bg-secondary-custom h3, .bg-secondary-custom h4, .bg-secondary-custom h5, .bg-secondary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-secondary-custom p, .bg-secondary-custom li, .bg-secondary-custom span:not(.badge):not(.btn-custom), .bg-secondary-custom .section-subtitle, .bg-secondary-custom label, .bg-secondary-custom blockquote, .bg-secondary-custom figcaption, .bg-secondary-custom dt, .bg-secondary-custom dd, .bg-secondary-custom td, .bg-secondary-custom th { color: var(--text-secondary, #555) !important; }
