/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=round, тени=subtle, отступы=airy, кнопки=slim */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Sans:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #F3980C;
    --accent-2: #475569;
    --accent-3: #475569;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 84px;
    --fs-h2: 52px;
    --fs-h3: 36px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --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: 4px;
    padding: 10px 24px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: dark-cta-section — тёмный CTA */
.cta-section {
    background: var(--footer-dark-bg);
    color: #fff;
    border-radius: var(--radius-xl);
    margin: 0 20px;
}
.cta-section .cta-title { color: #fff; }
.cta-section .cta-text { color: rgba(255,255,255,0.7); }
.cta-section .btn-custom { background: #fff; color: var(--footer-dark-bg); }

/* Trick: btn-fill-up — заливка снизу */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255,255,255,0.15);
    transition: height 0.35s ease;
    z-index: -1;
}
.btn-primary-custom:hover::before {
    height: 100%;
}

/* Trick: card-stack-shadow — тень-стопка ::after */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    position: relative;
}
.icon-box::after, .service-card::after {
    content: '';
    position: absolute;
    inset: 8px 8px -8px -8px;
    background: var(--accent-1);
    opacity: 0.12;
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.3s;
}
.icon-box:hover::after, .service-card:hover::after {
    opacity: 0.22;
}

/* ═══════════════════════════════════════════ */
/* 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: transparent blur — прозрачный с блюром */
.site-header { background: transparent; padding: 20px 0; }
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-color);
    padding: 14px 0;
}

/* Footer: gradient bg — градиентный фон */
.site-footer {
    background: linear-gradient(135deg, var(--footer-dark-bg) 0%, color-mix(in srgb, var(--footer-dark-bg) 70%, var(--accent-1)) 100%);
    color: rgba(255,255,255,0.6);
    padding-top: 80px;
}
.site-footer h4,.site-footer h5 { color: #fff; }
.footer-widget .widget-title::after { background: rgba(255,255,255,0.3); }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: #fff; }
.footer-social a { border-color: rgba(255,255,255,0.15); }
.footer-social a:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { color: rgba(255,255,255,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: serif elegant — элегантный с засечками */
.site-logo {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 2px;
    font-style: italic;
}
.site-logo span { color: var(--accent-1); font-style: normal; font-weight: 700; }

/* Headings: highlight bg — фон-выделение */
.icon-title, .card-title {
    display: inline;
    background: linear-gradient(transparent 55%, rgba(var(--accent-1-rgb, 37,99,235), 0.12) 55%);
    padding: 0 4px;
    font-weight: 700;
}

/* Img: hero — лёгкий наклон с тенью */
.hero-image {
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}
.hero-image:hover {
    transform: rotate(0deg);
}
.hero-image img {
    border-radius: var(--radius-md);
    box-shadow: 12px 12px 0 var(--accent-1);
}

/* Img: cards — скругление только сверху */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Img: section — обтекание текстом (float blob) */
section:not(.hero-section) .col-lg-6 img, section:not(.hero-section) .col-lg-5 img {
    shape-outside: ellipse(48% 48%);
    border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
    float: left;
    margin: 0 24px 16px 0;
    max-width: 55%;
    object-fit: cover;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: circle — круглая кнопка */
.mobile-toggle { width: 44px; height: 44px; gap: 5px; border: 1.5px solid var(--border-color); background: var(--bg-secondary, transparent); border-radius: 50%; }
.mobile-toggle .burger-line { width: 18px; height: 2px; border-radius: 2px; transition: transform 0.35s ease, opacity 0.3s ease; }
.mobile-toggle:hover { background: var(--accent-1); border-color: var(--accent-1); }
.mobile-toggle:hover .burger-line { background: #fff; }
.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-plus */
main > section + section::before{content:'+';display:block;text-align:center;color:var(--accent-1);opacity:0.2;font-size:24px;font-weight:300;padding:8px 0;}

/* Effect: scrollbar-dots */
.scroll-dots{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:9990;display:flex;flex-direction:column;gap:12px;}.scroll-dots .dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--accent-1);opacity:0.4;cursor:pointer;transition:all 0.3s;}.scroll-dots .dot.active{background:var(--accent-1);opacity:1;transform:scale(1.3);}@media(max-width:768px){.scroll-dots{display:none;}}

/* Effect: progress-percentage */
.progress-pct{position:fixed;bottom:20px;left:20px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--accent-1);background:var(--bg-card);border:1px solid var(--border-color);border-radius:50%;z-index:9990;opacity:0.6;font-family:var(--font-body);}@media(max-width:768px){.progress-pct{display:none;}}

/* 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-gradient-blobs */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;border-radius:50%;filter:blur(60px);opacity:0.03;animation:decoBlob 22s ease-in-out infinite alternate;}@keyframes decoBlob{0%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,-40px) scale(1.15);}100%{transform:translate(-20px,30px) scale(0.9);}}

/* Effect: hover-btn-ripple — Material Design ripple-эффект на кнопках при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{position:relative;overflow:hidden;}.btn-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.35);transform:scale(0);animation:rippleAnim 0.6s ease-out;pointer-events:none;}@keyframes rippleAnim{to{transform:scale(4);opacity:0;}}

/* Effect: hover-card-lift-shadow — Карточки взлетают вверх с глубокой тенью */
.icon-box,.service-card,.blog-card,.testimonial-card,.pricing-card{transition:transform 0.35s ease,box-shadow 0.35s ease;}.icon-box:hover,.service-card:hover,.blog-card:hover,.testimonial-card:hover,.pricing-card:hover{transform:translateY(-10px);box-shadow:0 20px 50px rgba(0,0,0,0.12) !important;}

/* Effect: hover-cursor-text-follow — Текст-подсказка следует за курсором на карточках */
.hover-tooltip{position:fixed;padding:6px 14px;background:var(--text-primary);color:#fff;font-size:11px;font-weight:600;border-radius:var(--radius-sm);pointer-events:none;z-index:99999;opacity:0;transition:opacity 0.2s;font-family:var(--font-body);letter-spacing:0.5px;white-space:nowrap;}

/* Effect: pulse-scroll-hint — Анимированная стрелка «скролль вниз» в hero */
.scroll-hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;opacity:0.5;animation:scrollHintBounce 2s ease-in-out infinite;z-index:10;}.scroll-hint span{display:block;width:24px;height:24px;border-right:2px solid var(--text-primary);border-bottom:2px solid var(--text-primary);transform:rotate(45deg);}@keyframes scrollHintBounce{0%,100%{transform:translateX(-50%) translateY(0);opacity:0.5;}50%{transform:translateX(-50%) translateY(12px);opacity:1;}}

/* Effect: pulse-icon-boxes — Иконки в icon-box мягко масштабируются */
.icon-box .icon-wrap i,.icon-box .icon-wrap svg{animation:iconPulse 3s ease-in-out infinite;}.icon-box:nth-child(2) .icon-wrap i{animation-delay:-0.5s;}.icon-box:nth-child(3) .icon-wrap i{animation-delay:-1s;}.icon-box:nth-child(4) .icon-wrap i{animation-delay:-1.5s;}@keyframes iconPulse{0%,100%{transform:scale(1);}50%{transform:scale(1.15);}}

/* 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-gradient-slide — Градиент скользит по заголовкам при hover */
.section-title{transition:background-position 0.6s ease;background:linear-gradient(90deg,var(--text-primary) 50%,var(--accent-1) 50%);background-size:200% 100%;background-position:0% 0;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}.section-title:hover{background-position:100% 0;}

/* ═══ 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.664;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 28px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 23px 16px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 2px);
}
.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: 27px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + -2px);
}

.btn-custom {
    padding: 16px 30px;
    font-size: 16px;
    letter-spacing: 0.405px;
    border-radius: calc(var(--radius-md) + -2px);
}
.btn-outline-custom {
    padding: 16px 28px;
    border-width: 1px;
}

main > section {
    padding-top: 88px;
    padding-bottom: 85px;
}
main > section:first-child {
    padding-top: 98px;
}
main > section:nth-child(3) {
    padding-top: 95px;
    padding-bottom: 84px;
}

.section-header {
    margin-bottom: 48px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 3px 18px rgba(0,0,0,0.06);
}

.hero-section {
    padding-top: 120px;
}
.hero-title {
    margin-bottom: 21px;
}
.hero-subtitle {
    margin-bottom: 35px;
    font-size: 17px;
    line-height: 1.614;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 3.66px;
    margin-bottom: 22px;
}
.hero-buttons {
    gap: 11px;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 14px 31px rgba(0,0,0,0.152);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 23px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 19px;
    margin-bottom: 7px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.576;
}

.section-title {
    margin-bottom: 16px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 13px;
    letter-spacing: 3.314px;
    margin-bottom: 13px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.658;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 28px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }
}

.site-footer {
    padding-top: 80px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 20px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-social {
    gap: 11px;
}
.footer-social a {
    width: 36px;
    height: 36px;
}
.footer-bottom {
    padding: 18px 0;
    margin-top: 54px;
}

.form-control {
    border-radius: 11px;
    padding: 11px 15px;
    font-size: 14px;
}

.testimonial-card {
    padding: 27px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.631;
    margin-bottom: 17px;
}
.author-image {
    width: 45px;
    height: 45px;
}
.author-name {
    font-size: 15px;
}
.author-role {
    font-size: 12px;
}

.pricing-card {
    padding: 32px;
}
.plan-name {
    font-size: 18px;
    margin-bottom: 11px;
}
.plan-price {
    font-size: 46px;
    margin-bottom: 18px;
}
.plan-features li {
    padding: 11px 0;
    font-size: 14px;
}

.counter-number, .stat-number {
    font-size: 44px;
    margin-bottom: 9px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.227px;
}

.team-image img {
    border-radius: 16px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 32px;
    margin-bottom: 9px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.678s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.329s;
}

.row {
    --bs-gutter-y: 29px;
}

.cta-section {
    padding: 70px 0;
}
.cta-title {
    font-size: 37px;
    margin-bottom: 12px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 29px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 9px;
    gap: 11px;
}

.site-header {
    padding: 15px 0;
}
.site-header.scrolled {
    padding: 9px 0;
}
.site-logo {
    font-size: 21px;
}
.header-cta {
    margin-left: 18px;
}

/* --- internal markers --- */
:root {
    --_ref: '0a480e8';
    --_env: '15fdf4';
    --_uid: 'a1f1b2';
    --_hash: 6.23;
    --_run: 6.3;
}
.theme-marker { --_ref: 'fa' }
.render-flag { font-variant: normal }
.state-flag { vertical-align: baseline; content: '' }


/* ═══════════════════════════════════════════════════════ */
/* 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; }
