/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=none, тени=medium, отступы=airy, кнопки=square */

@import url('https://fonts.googleapis.com/css2?family=Brygada+1918:wght@400;500;600;700&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #ED4850;
    --accent-2: #0EA5E9;
    --accent-3: #0EA5E9;
    --accent-gradient: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Brygada 1918', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 72px;
    --fs-h2: 48px;
    --fs-h3: 32px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-pill: 0px;
    
    /* Тени */
    --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: 2px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 3px;
    border-color: #ED4850;
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: cascade-offset — каскадный сдвиг колонок */
.row > [class*="col"]:nth-child(2) { transform: translate(6px, 14px); }
.row > [class*="col"]:nth-child(3) { transform: translate(-6px, 28px); }
.row > [class*="col"]:nth-child(4) { transform: translate(6px, 14px); }
.row > [class*="col"]:nth-child(5) { transform: translate(-6px, 28px); }
.row > [class*="col"]:nth-child(6) { transform: translate(6px, 14px); }
@media (max-width: 768px) { .row > [class*="col"] { transform: none !important; } }

/* Trick: gradient-headings — градиентные заголовки */
.section-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trick: btn-arrow-hover — стрелка появляется при hover */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
    padding-right: 28px;
    transition: padding-right 0.3s;
}
.btn-primary-custom::after {
    content: '\2192';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s;
}
.btn-primary-custom:hover {
    padding-right: 40px;
}
.btn-primary-custom:hover::after {
    right: 16px;
}

/* 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: pricing-ribbon — ленточка на featured pricing */
.pricing-card.featured {
    overflow: hidden;
}
.pricing-card.featured::before {
    content: '★';
    position: absolute;
    top: 18px;
    right: -30px;
    width: 120px;
    text-align: center;
    padding: 4px 0;
    background: var(--accent-1);
    color: #fff;
    font-size: 12px;
    transform: rotate(45deg);
}

/* 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;
}

/* Trick: grayscale-hover — ч/б по умолчанию, цвет при hover */
.hero-image img, .about-image img, .portfolio-item img, .team-image img {
    transition: filter 0.5s ease;
}
.hero-image:hover img, .about-image:hover img,
.portfolio-item:hover img, .team-card:hover .team-image img {
    filter: grayscale(0%);
}

/* ═══════════════════════════════════════════ */
/* 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: underline nav — жирные подчёркивания */
.site-header { background: var(--bg-primary); padding: 18px 0; border-bottom: 2px solid var(--text-primary); }
.main-nav .nav-link { font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; }
.main-nav .nav-link::after { height: 3px; background: var(--accent-1); bottom: -4px; border-radius: 0; }
.site-header.scrolled { background: var(--bg-primary); box-shadow: none; border-bottom-color: var(--accent-1); }

/* 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: floating labels — крупные поля с акцентом */
.contact-section .form-control {
    padding: 18px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}
.contact-section .form-control:focus { border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(var(--accent-1), 0.08); transform: translateY(-2px); }
.contact-section .btn-custom { font-size: 16px; padding: 18px 36px; }

/* 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: accent underline — подчёркивание акцентом */
.icon-title, .card-title, .step-title, .widget-title {
    position: relative;
    padding-bottom: 10px;
}
.icon-title::after, .card-title::after, .step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-1);
    border-radius: 1px;
}

/* Img: hero — градиентная рамка */
.hero-image {
    padding: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: inline-block;
}
.hero-image img {
    border-radius: calc(var(--radius-lg) - 4px);
    display: block;
}

/* Img: team — градиентное кольцо */
.team-image {
    padding: 3px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: inline-block;
}
.team-card .team-image img, .team-image img {
    border-radius: 50%;
    display: block;
}

/* Partners: compact logos in testimonials page */
.partners-logos img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* ═══ 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: scrollbar-line */
.scroll-line{position:fixed;right:16px;top:20%;height:60%;width:3px;background:var(--border-color);border-radius:2px;z-index:9990;opacity:0.4;}.scroll-line .indicator{width:100%;background:var(--accent-1);border-radius:2px;transition:height 0.1s;}@media(max-width:768px){.scroll-line{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: 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: 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: 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-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: 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-reverse-double — Двойная лента — вторая в обратном направлении */
.js-marquee-wrap{overflow:hidden;padding:20px 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);display:flex;flex-direction:column;gap:8px;}.js-mq-row{display:flex;gap:40px;white-space:nowrap;font-size:clamp(20px,3vw,38px);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:0.02em;opacity:0.12;}.js-mq-row span{flex-shrink:0;}.js-mq-row.fwd{animation:jsMarquee 30s linear infinite;}.js-mq-row.rev{animation:jsMarqueeRev 30s linear infinite;}@keyframes jsMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}@keyframes jsMarqueeRev{from{transform:translateX(-50%);}to{transform:translateX(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.661;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 31px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 26px 23px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 34px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 33px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + -2px);
}
.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: 13px 28px;
    font-size: 16px;
    letter-spacing: 0.142px;
    border-radius: calc(var(--radius-md) + 3px);
}
.btn-outline-custom {
    padding: 14px 28px;
    border-width: 2px;
}

main > section {
    padding-top: 93px;
    padding-bottom: 99px;
}
main > section:first-child {
    padding-top: 97px;
}
main > section:nth-child(2) {
    padding-top: 91px;
    padding-bottom: 85px;
}
main > section:nth-child(3) {
    padding-top: 86px;
    padding-bottom: 87px;
}
main > section:nth-child(6) {
    padding-top: 87px;
    padding-bottom: 92px;
}

.section-header {
    margin-bottom: 50px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 6px 20px rgba(0,0,0,0.074);
}

.hero-section {
    padding-top: 108px;
}
.hero-title {
    margin-bottom: 22px;
}
.hero-subtitle {
    margin-bottom: 39px;
    font-size: 19px;
    line-height: 1.627;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 3.607px;
    margin-bottom: 23px;
}
.hero-buttons {
    gap: 12px;
}

.hero-image img {
    border-radius: 13px;
    box-shadow: 0 10px 34px rgba(0,0,0,0.121);
}

.icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 24px;
    border-radius: 15px;
    margin-bottom: 17px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 13px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.572;
}

.section-title {
    margin-bottom: 18px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 3.039px;
    margin-bottom: 14px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.694;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 26px;
    }
    .main-nav .nav-link {
        font-size: 15px;
        padding: 8px 0;
    }
}

.site-footer {
    padding-top: 77px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 22px;
}
.footer-links a {
    font-size: 13px;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-social {
    gap: 11px;
}
.footer-social a {
    width: 38px;
    height: 38px;
}
.footer-bottom {
    padding: 19px 0;
    margin-top: 54px;
}

.form-control {
    border-radius: 5px;
    padding: 11px 14px;
    font-size: 15px;
}

.testimonial-card {
    padding: 34px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.635;
    margin-bottom: 21px;
}
.author-image {
    width: 45px;
    height: 45px;
}
.author-name {
    font-size: 15px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 31px;
}
.plan-name {
    font-size: 19px;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 46px;
    margin-bottom: 16px;
}
.plan-features li {
    padding: 8px 0;
    font-size: 14px;
}

.counter-number, .stat-number {
    font-size: 43px;
    margin-bottom: 8px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.649px;
}

.team-image img {
    border-radius: 17px;
}
.team-name {
    font-size: 19px;
    margin-bottom: 5px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 29px;
    margin-bottom: 10px;
}
.step-title {
    font-size: 18px;
    margin-bottom: 9px;
}

.wow {
    animation-duration: 0.633s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.293s;
}

.row {
    --bs-gutter-y: 29px;
}

.cta-section {
    padding: 80px 0;
}
.cta-title {
    font-size: 33px;
    margin-bottom: 16px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 28px;
}

.blog-card .card-image img {
    border-radius: 7px 7px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 5px;
    gap: 13px;
}

.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: 93622;
    --_stamp: 7.76;
    --_ref: 55215;
    --_key: '5645eea';
    --_seed: 8.62;
}
.scope-tag { pointer-events: auto }
.env-flag { 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; }

/* .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; }
