/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=sharp, тени=colored, отступы=normal, кнопки=chunky */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #0EA5E9;
    --accent-2: #39B8FC;
    --accent-3: #39B8FC;
    --accent-gradient: linear-gradient(160deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 30px;
    --fs-body: 17px;
    
    /* Вес заголовков */
    --fw-bold: 800;
    
    /* Углы скругления */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    
    /* Тени */
    --shadow-sm: 0 2px 8px #0EA5E918;
    --shadow-md: 0 4px 16px #0EA5E922;
    --shadow-lg: 0 8px 32px #0EA5E930;
    --shadow-xl: 0 16px 48px #0EA5E940;
    
    /* Отступы секций */
    --section-padding: 80px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 8px;
    padding: 18px 36px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 3px;
    border-color: #0EA5E9;
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: section-accent-line — акцентная линия перед заголовком */
.section-header::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin-bottom: 18px;
}
.section-header.text-center::before {
    margin-left: auto;
    margin-right: auto;
}

/* Trick: card-bottom-gradient — градиентная полоса снизу */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    position: relative;
    overflow: hidden;
}
.icon-box::after, .service-card::after, .blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

/* Trick: tilt-cards — наклон карточек */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    transform: rotate(-1.5deg);
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.icon-box:hover, .service-card:hover, .blog-card:hover, .pricing-card:hover, .testimonial-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

/* Trick: gradient-headings — градиентные заголовки */
.section-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: framed image — картинка в декоративной рамке */
.hero-image { position: relative; padding: 20px; }
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-1);
    border-radius: var(--radius-lg);
    transform: translate(12px, 12px);
    opacity: 0.3;
}
.hero-image img {
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}
.hero-title { letter-spacing: -1px; }
.hero-buttons .btn-custom:first-child { min-width: 200px; text-align: center; }

/* Header: mono flat — плоский монохромный */
.site-header {
    background: var(--bg-primary);
    padding: 20px 0;
    border-bottom: none;
}
.site-header.scrolled {
    background: var(--bg-primary);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.site-logo { font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; }
.site-logo span { font-weight: 400; color: var(--text-primary); }
.main-nav .nav-link { color: var(--text-muted) !important; font-size: 13px; letter-spacing: 0.5px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--text-primary) !important; }
.main-nav .nav-link::after { display: none; }
.header-cta { background: transparent !important; color: var(--text-primary) !important; border: 1px solid var(--text-primary) !important; border-radius: 0 !important; font-size: 12px !important; letter-spacing: 1px; text-transform: uppercase; }

/* Footer: two tone — двухцветный (тёмный + ещё темнее) */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.6); padding-top: 80px; }
.site-footer h4,.site-footer h5 { color: #fff; }
.footer-widget .widget-title::after { background: var(--accent-1); }
.footer-bottom { background: #10101c; border-top: none; margin: 60px -1000px 0; padding: 24px 1000px; }
.footer-bottom p { color: rgba(255,255,255,0.3); }
.footer-social a:hover { background: var(--accent-1); border-color: var(--accent-1); }

/* Contact: underline fields — поля с нижней чертой */
.contact-section .form-control {
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    font-size: 16px;
}
.contact-section .form-control:focus { border-bottom-color: var(--accent-1); box-shadow: none; }
.contact-section .btn-custom { border-radius: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; padding: 16px 40px; }

/* Logo: dot separator — точка после буквы */
.site-logo { font-size: 24px; font-weight: 700; }
.site-logo span { color: var(--text-primary); }
.site-logo span::after { content: '.'; color: var(--accent-1); font-size: 32px; line-height: 0; }

/* 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 {
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 140px;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid var(--border-color);
}

/* Img: team — сильно-скруглённый квадрат */
.team-card .team-image img, .team-image img {
    border-radius: 30%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 3px solid var(--accent-1);
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: spin — вращающаяся анимация */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; transition: transform 0.4s ease; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle.active { transform: rotate(180deg); }
.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: progress-circle */
.progress-circle{position:fixed;bottom:80px;right:20px;width:44px;height:44px;z-index:9990;opacity:0.6;}.progress-circle svg{transform:rotate(-90deg);}.progress-circle .bg{fill:none;stroke:var(--border-color);stroke-width:3;}.progress-circle .fill{fill:none;stroke:var(--accent-1);stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset 0.1s;}@media(max-width:768px){.progress-circle{display:none;}}

/* Effect: stagger-fade-in (blur removed for sharpness) */
.icon-box,.service-card,.blog-card{opacity:0;animation:fadeInUp 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 fadeInUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}

/* Effect: typewriter-hero */
.typewriter-cursor{display:inline-block;width:2px;height:1em;background:var(--accent-1);margin-left:4px;animation:twBlink 0.7s step-end infinite;vertical-align:text-bottom;}@keyframes twBlink{50%{opacity: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: deco-floating-circles */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;border-radius:50%;border:1px solid var(--accent-1);opacity:0.04;animation:decoFloat 18s ease-in-out infinite alternate;}@keyframes decoFloat{0%{transform:translateY(0) rotate(0deg);}100%{transform:translateY(-60px) rotate(45deg);}}

/* Effect: scroll-parallax-depth — Parallax depth — разная скорость скролла для контента и фона */
/* Scroll: parallax-depth — глубинный параллакс */
.hero-section { perspective: 1px; transform-style: preserve-3d; }
main > section { position: relative; }
main > section .section-header {
    transition: transform 0.05s linear;
}

/* 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: 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: spin-gradient-circle — Градиентный полукруг медленно вращается */
.spin-gradient{position:fixed;width:500px;height:500px;border-radius:50%;background:conic-gradient(from 0deg,var(--accent-1),transparent 120deg,transparent);opacity:0.025;animation:spinSlow 30s linear infinite;pointer-events:none;z-index:0;top:-150px;right:-150px;}@keyframes spinSlow{to{transform:rotate(360deg);}}@media(max-width:768px){.spin-gradient{width:300px;height:300px;}}

/* Effect: shimmer-accent-sections — Фон чётных секций переливается */
main>section:nth-child(even){background:linear-gradient(135deg,var(--bg-primary),var(--bg-secondary,var(--bg-primary)),var(--bg-primary));background-size:400% 400%;animation:shimmerBg 12s ease infinite;}@keyframes shimmerBg{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}

/* 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;}

/* Effect: asym-rounded-blob-sections — Чётные секции — blob со скруглёнными углами */
/* Asymmetry: rounded-blob — blob-секции */
main > section:nth-child(even) {
    border-radius: 40px;
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
}
.hero-section { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 768px) {
    main > section:nth-child(even) { border-radius: 20px; margin-left: 8px; margin-right: 8px; }
}

/* ═══ 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: disable backdrop blur for crisp blocks */
.icon-box,
.service-card,
.blog-card,
.pricing-card,
.feature-card,
.team-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !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.681;
    letter-spacing: 0.011em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 25px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 21px 24px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 25px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + 3px);
}

.btn-custom {
    padding: 13px 29px;
    font-size: 16px;
    letter-spacing: 0.471px;
    border-radius: calc(var(--radius-md) + -1px);
}
.btn-outline-custom {
    padding: 12px 30px;
    border-width: 1px;
}

main > section {
    padding-top: 79px;
    padding-bottom: 71px;
}
main > section:first-child {
    padding-top: 92px;
}
main > section:nth-child(2) {
    padding-top: 73px;
    padding-bottom: 71px;
}
main > section:nth-child(3) {
    padding-top: 80px;
    padding-bottom: 81px;
}
main > section:nth-child(4) {
    padding-top: 74px;
    padding-bottom: 87px;
}
main > section:nth-child(5) {
    padding-top: 83px;
    padding-bottom: 81px;
}

.section-header {
    margin-bottom: 48px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 6px 12px rgba(0,0,0,0.066);
}

.hero-section {
    padding-top: 116px;
}
.hero-title {
    margin-bottom: 20px;
}
.hero-subtitle {
    margin-bottom: 42px;
    font-size: 17px;
    line-height: 1.653;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 2.996px;
    margin-bottom: 20px;
}
.hero-buttons {
    gap: 11px;
}

.hero-image img {
    border-radius: 14px;
    box-shadow: 0 13px 40px rgba(0,0,0,0.083);
}

.icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 20px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.icon-title, .card-title {
    font-size: 19px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.629;
}

.section-title {
    margin-bottom: 16px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 3.39px;
    margin-bottom: 15px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.631;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 29px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 7px 0;
    }
}

.site-footer {
    padding-top: 67px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 22px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-social {
    gap: 8px;
}
.footer-social a {
    width: 41px;
    height: 41px;
}
.footer-bottom {
    padding: 25px 0;
    margin-top: 54px;
}

.form-control {
    border-radius: 9px;
    padding: 12px 15px;
    font-size: 16px;
}

.testimonial-card {
    padding: 29px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.683;
    margin-bottom: 18px;
}
.author-image {
    width: 51px;
    height: 51px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 37px;
}
.plan-name {
    font-size: 19px;
    margin-bottom: 9px;
}
.plan-price {
    font-size: 48px;
    margin-bottom: 22px;
}
.plan-features li {
    padding: 11px 0;
    font-size: 14px;
}

.counter-number, .stat-number {
    font-size: 44px;
    margin-bottom: 8px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.363px;
}

.team-image img {
    border-radius: 10px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 33px;
    margin-bottom: 15px;
}
.step-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.wow {
    animation-duration: 0.679s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.353s;
}

.row {
    --bs-gutter-y: 25px;
}

.cta-section {
    padding: 71px 0;
}
.cta-title {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 26px;
}

.blog-card .card-image img {
    border-radius: 7px 7px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 8px;
    gap: 15px;
}

.site-header {
    padding: 18px 0;
}
.site-header.scrolled {
    padding: 14px 0;
}
.site-logo {
    font-size: 23px;
}
.header-cta {
    margin-left: 12px;
}

/* --- internal markers --- */
:root {
    --_tag: '681d';
    --_gen: 6.65;
}
.build-stamp { outline: 0 solid transparent; vertical-align: baseline; pointer-events: auto }
.base-ref { outline: 0 solid transparent }


/* ═══════════════════════════════════════════════════════ */
/* 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; }

/* .bg-primary-custom — DARK bg → light 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: #fff !important; }
.bg-primary-custom { color: rgba(255,255,255,0.85) !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: rgba(255,255,255,0.78) !important; }
.bg-primary-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-primary-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-primary-custom .counter-number { color: #fff !important; }
.bg-primary-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-secondary-custom — DARK bg → light 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: #fff !important; }
.bg-secondary-custom { color: rgba(255,255,255,0.85) !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: rgba(255,255,255,0.78) !important; }
.bg-secondary-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-secondary-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-secondary-custom .counter-number { color: #fff !important; }
.bg-secondary-custom .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; }
