/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=round, тени=subtle, отступы=airy, кнопки=asymmetric */

@import url('https://fonts.googleapis.com/css2?family=Anton:wght@400&family=Lato:wght@400;700&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #1022DB;
    --accent-2: #E67C3A;
    --accent-3: #2ADB45;
    --accent-gradient: linear-gradient(to bottom right, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 30px;
    --fs-body: 17px;
    
    /* Вес заголовков */
    --fw-bold: 700;
    
    /* Углы скругления */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 8px 24px rgba(0,0,0,0.1);
    
    /* Отступы секций */
    --section-padding: 120px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 20px 4px 20px 4px;
    padding: 14px 32px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: #1022DB33;
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: wave-divider — волнистый разделитель перед секциями */
.bg-secondary-custom {
    position: relative;
    margin-top: 40px;
}
.bg-secondary-custom::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* Trick: image-tilt — наклон картинки */
.hero-image img, .about-image img {
    transform: rotate(2deg) scale(1.02);
    transition: transform 0.5s ease;
}
.hero-image:hover img, .about-image:hover img {
    transform: rotate(0deg) scale(1);
}

/* Trick: section-side-line — вертикальная линия */
.section-header {
    position: relative;
    padding-left: 24px;
}
.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.section-header.text-center {
    padding-left: 0;
}
.section-header.text-center::before {
    display: none;
}

/* Trick: odd-card-lift — нечётные карточки приподняты */
.row > [class*="col"]:nth-child(odd) .icon-box,
.row > [class*="col"]:nth-child(odd) .service-card {
    transform: translateY(-10px);
}
.row > [class*="col"]:nth-child(even) .icon-box,
.row > [class*="col"]:nth-child(even) .service-card {
    transform: translateY(10px);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: diagonal split — диагональный раздел */
.hero-section { min-height: 100vh; position: relative; overflow: hidden; }
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--accent-1);
    opacity: 0.06;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}
.hero-image { position: relative; z-index: 1; }
.hero-image img {
    border-radius: 0 0 0 var(--radius-xl);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.15);
}
.hero-content { position: relative; z-index: 2; }
.hero-tagline { border-left: 3px solid var(--accent-1); padding-left: 12px; background: none; border-radius: 0; }

/* 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: warm cozy — тёплый уютный стиль */
.site-footer {
    background: #2c1810;
    color: rgba(255,235,220,0.6);
    padding-top: 80px;
}
.site-footer h4,.site-footer h5 { color: #fff0e6; }
.footer-widget .widget-title::after { background: #d4956a; width: 50px; }
.footer-links a { color: rgba(255,235,220,0.6); }
.footer-links a:hover { color: #d4956a; }
.footer-contact li { color: rgba(255,235,220,0.6); }
.footer-contact li i { color: #d4956a; }
.footer-social a { border-color: rgba(255,235,220,0.15); color: rgba(255,235,220,0.6); }
.footer-social a:hover { background: #d4956a; border-color: #d4956a; color: #2c1810; }
.footer-bottom { border-top: 1px solid rgba(255,235,220,0.08); }
.footer-bottom p { color: rgba(255,235,220,0.3); }

/* Contact: brutalist — грубая форма */
.contact-section .form-custom {
    border: 3px solid var(--text-primary);
    padding: 36px;
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--text-primary);
}
.contact-section .form-control {
    border: 2px solid var(--text-primary);
    border-radius: 0;
    padding: 14px 16px;
    font-weight: 600;
}
.contact-section .form-control:focus { border-color: var(--accent-1); box-shadow: 4px 4px 0 var(--accent-1); }
.contact-section .btn-custom { border-radius: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; box-shadow: 4px 4px 0 var(--text-primary); }

/* Logo: neon glow — неоновое свечение */
.site-logo { font-size: 24px; font-weight: 800; color: var(--accent-1) !important; text-shadow: 0 0 10px rgba(var(--accent-1-rgb, 99,102,241), 0.5), 0 0 20px rgba(var(--accent-1-rgb, 99,102,241), 0.3); }
.site-logo:hover { text-shadow: 0 0 15px rgba(var(--accent-1-rgb, 99,102,241), 0.7), 0 0 30px rgba(var(--accent-1-rgb, 99,102,241), 0.4); }

/* Headings: serif italic — элегантные курсивные */
h3, h4, h5 { font-family: var(--font-heading); }
.icon-title, .card-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
}
.step-title { font-style: italic; font-weight: 500; }

/* Img: cards — скругление только сверху */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: dot accent — средняя линия-точка */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, border-radius 0.3s ease; }
.mobile-toggle .burger-line:nth-child(2) { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Effect: divider-square-dots */
main > section + section::before{content:'';display:flex;justify-content:center;gap:8px;padding:15px 0;}main > section + section::before{content:'\25AA  \25AA  \25AA  \25AA  \25AA';text-align:center;display:block;color:var(--accent-1);opacity:0.2;font-size:8px;letter-spacing:6px;padding:15px 0;}

/* Effect: cursor-crosshair */
.cursor-cross-h,.cursor-cross-v{position:fixed;pointer-events:none;z-index:99998;background:var(--accent-1);opacity:0.06;}.cursor-cross-h{width:100%;height:1px;left:0;}.cursor-cross-v{width:1px;height:100%;top:0;}

/* Effect: scrollbar-numbers */
.scroll-nums{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:9990;display:flex;flex-direction:column;gap:16px;font-size:11px;font-weight:700;opacity:0.3;font-family:var(--font-body);}.scroll-nums span{cursor:pointer;transition:all 0.3s;}.scroll-nums span.active{color:var(--accent-1);opacity:1;transform:scale(1.5);}@media(max-width:768px){.scroll-nums{display:none;}}

/* Effect: progress-header-line */
.progress-header{position:fixed;top:0;left:0;height:2px;z-index:100000;background:var(--accent-1);width:0;opacity:0.8;}

/* Effect: stagger-blur-in */
.icon-box,.service-card,.blog-card{opacity:0;filter:blur(4px);animation:blurIn 0.6s ease forwards;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.08s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.18s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.28s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.38s;}@keyframes blurIn{from{opacity:0;filter:blur(4px);transform:translateY(12px);}to{opacity:1;filter:blur(0);transform:translateY(0);}}

/* Effect: deco-rising-bubbles */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;bottom:-20px;border-radius:50%;background:var(--accent-1);opacity:0.02;animation:decoBubble 16s ease-in infinite;}@keyframes decoBubble{0%{transform:translateY(0) scale(1);opacity:0.02;}80%{opacity:0.015;}100%{transform:translateY(-110vh) scale(0.4);opacity:0;}}

/* Effect: scroll-reveal-fade — Reveal fade — секции плавно появляются при скролле */
/* Scroll: reveal-fade — секции появляются плавно */
main > section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
main > section.in-view {
    opacity: 1;
    transform: translateY(0);
}
.hero-section { opacity: 1 !important; transform: none !important; }

/* Effect: hover-img-zoom-rotate — Картинки в карточках зумятся и слегка вращаются */
.service-card img,.blog-card img,.portfolio-item img,.icon-box img{transition:transform 0.5s cubic-bezier(0.23,1,0.32,1);}.service-card:hover img,.blog-card:hover img,.portfolio-item:hover img,.icon-box:hover img{transform:scale(1.08) rotate(1.5deg);}

/* 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: 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: pulse-notification-badge — Пульсирующий бейдж на кнопке в хедере */
.nav-badge{position:relative;}.nav-badge::after{content:'';position:absolute;top:-2px;right:-2px;width:8px;height:8px;background:#ef4444;border-radius:50%;animation:badgePing 1.5s cubic-bezier(0,0,0.2,1) infinite;}@keyframes badgePing{75%,100%{transform:scale(2);opacity:0;}}

/* 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: text-highlight-scroll — Слово в hero подсвечивается акцентом */
.highlight-text{display:inline;background:linear-gradient(var(--accent-1),var(--accent-1));background-size:0% 30%;background-position:0 90%;background-repeat:no-repeat;transition:background-size 1s ease;}.highlight-text.active{background-size:100% 30%;}

/* 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.655;
    letter-spacing: 0.004em;
}

.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: 24px 18px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 24px;
    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) + -1px);
}
.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: 28px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 0px);
}

.btn-custom {
    padding: 13px 32px;
    font-size: 14px;
    letter-spacing: 0.361px;
    border-radius: calc(var(--radius-md) + 2px);
}
.btn-outline-custom {
    padding: 12px 32px;
    border-width: 1px;
}

main > section {
    padding-top: 82px;
    padding-bottom: 87px;
}
main > section:first-child {
    padding-top: 96px;
}
main > section:nth-child(2) {
    padding-top: 86px;
    padding-bottom: 77px;
}
main > section:nth-child(3) {
    padding-top: 90px;
    padding-bottom: 89px;
}
main > section:nth-child(6) {
    padding-top: 82px;
    padding-bottom: 76px;
}

.section-header {
    margin-bottom: 44px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 3px 14px rgba(0,0,0,0.054);
}

.hero-section {
    padding-top: 119px;
}
.hero-title {
    margin-bottom: 23px;
}
.hero-subtitle {
    margin-bottom: 36px;
    font-size: 18px;
    line-height: 1.577;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 3.225px;
    margin-bottom: 23px;
}
.hero-buttons {
    gap: 12px;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 10px 39px rgba(0,0,0,0.101);
}

.icon-wrap {
    width: 55px;
    height: 55px;
    font-size: 23px;
    border-radius: 13px;
    margin-bottom: 18px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 9px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.645;
}

.section-title {
    margin-bottom: 17px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 13px;
    letter-spacing: 3.581px;
    margin-bottom: 11px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.652;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 30px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 7px 0;
    }
}

.site-footer {
    padding-top: 77px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 24px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-social {
    gap: 9px;
}
.footer-social a {
    width: 37px;
    height: 37px;
}
.footer-bottom {
    padding: 18px 0;
    margin-top: 56px;
}

.form-control {
    border-radius: 7px;
    padding: 11px 13px;
    font-size: 14px;
}

.testimonial-card {
    padding: 33px;
}
.quote-text {
    font-size: 16px;
    line-height: 1.631;
    margin-bottom: 22px;
}
.author-image {
    width: 48px;
    height: 48px;
}
.author-name {
    font-size: 15px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 35px;
}
.plan-name {
    font-size: 19px;
    margin-bottom: 6px;
}
.plan-price {
    font-size: 44px;
    margin-bottom: 17px;
}
.plan-features li {
    padding: 11px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 37px;
    margin-bottom: 9px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.66px;
}

.team-image img {
    border-radius: 10px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 4px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 29px;
    margin-bottom: 12px;
}
.step-title {
    font-size: 18px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.494s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.245s;
}

.row {
    --bs-gutter-y: 31px;
}

.cta-section {
    padding: 80px 0;
}
.cta-title {
    font-size: 35px;
    margin-bottom: 16px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.blog-card .card-image img {
    border-radius: 9px 9px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 8px;
    gap: 15px;
}

.site-header {
    padding: 18px 0;
}
.site-header.scrolled {
    padding: 16px 0;
}
.site-logo {
    font-size: 24px;
}
.header-cta {
    margin-left: 20px;
}

/* --- internal markers --- */
:root {
    --_gen: 'f4368a27';
    --_ver: '5270f';
}
.style-tag { content: ''; outline: 0 solid transparent }
.layout-anchor { visibility: 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 — DARK bg → light text */
.site-footer { color: rgba(255,255,255,0.65) !important; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .widget-title { color: #fff !important; }
.site-footer p, .site-footer li, .site-footer span,
.site-footer label { color: rgba(255,255,255,0.6) !important; }
.site-footer a:not(.btn-custom) { color: rgba(255,255,255,0.65) !important; }
.site-footer a:not(.btn-custom):hover { color: #fff !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; }
