/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=sharp, тени=none, отступы=airy, кнопки=asymmetric */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker:wght@400&family=Rubik:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #EC4899;
    --accent-2: #A855F7;
    --accent-3: #22D3EE;
    --accent-gradient: linear-gradient(160deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Permanent Marker', cursive;
    --font-body: 'Rubik', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 64px;
    --fs-h2: 44px;
    --fs-h3: 30px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    
    /* Тени */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    
    /* Отступы секций */
    --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: 2px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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: stroke-hero-title — обводка вместо заливки */
.hero-title {
    -webkit-text-stroke: 2px var(--accent-1);
    -webkit-text-fill-color: transparent;
}
.hero-title:hover {
    -webkit-text-fill-color: var(--accent-1);
    transition: -webkit-text-fill-color 0.4s;
}

/* Trick: dot-pattern-bg — точечный фон */
.bg-secondary-custom {
    background-image: radial-gradient(circle, var(--accent-1) 1px, transparent 1px);
    background-size: 24px 24px;
    background-blend-mode: overlay;
}

/* Trick: striped-section-bg — диагональные полосы */
.bg-secondary-custom {
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 40px,
        var(--accent-1) 40px,
        var(--accent-1) 41px
    );
    background-blend-mode: overlay;
}

/* Trick: card-left-accent-border — толстая рамка слева */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border-left: 5px solid var(--accent-1);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* 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: 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: accent full — полностью акцентный фон */
.site-footer {
    background: var(--accent-1);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}
.site-footer h4,.site-footer h5 { color: #fff; }
.footer-widget .widget-title::after { background: #fff; width: 40px; }
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: #fff; }
.footer-contact li { color: rgba(255,255,255,0.8); }
.footer-contact li i { color: #fff; }
.footer-social a { border-color: rgba(255,255,255,0.3); color: #fff; }
.footer-social a:hover { background: #fff; color: var(--accent-1); border-color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); }
.footer-bottom p { color: rgba(255,255,255,0.5); }
.footer-policy a { color: rgba(255,255,255,0.6) !important; }
.footer-policy a:hover { color: #fff !important; }

/* Contact: split bg — разделённый фон */
.contact-section { position: relative; }
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .form-custom { background: var(--bg-card, #fff); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Logo: outline letter — буква с обводкой */
.site-logo { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.site-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-1);
    color: var(--accent-1) !important;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 18px;
}

/* 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: 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: filled — залитая акцентом кнопка */
.mobile-toggle { width: 42px; height: 42px; gap: 5px; border: none; background: var(--accent-1); border-radius: var(--radius-sm, 6px); }
.mobile-toggle .burger-line { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle:hover { background: var(--accent-2, var(--accent-1)); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Effect: cursor-spotlight */
.cursor-spot{position:fixed;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,0.04) 0%,transparent 70%);border-radius:50%;pointer-events:none;z-index:99998;transform:translate(-50%,-50%);}

/* 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-slide-left */
.icon-box,.service-card{opacity:0;animation:slideLeft 0.6s ease forwards;}.row>[class*="col"]:nth-child(odd) .icon-box,.row>[class*="col"]:nth-child(odd) .service-card{animation-name:slideLeft;}.row>[class*="col"]:nth-child(even) .icon-box,.row>[class*="col"]:nth-child(even) .service-card{animation-name:slideRight;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.1s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.2s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.3s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.4s;}@keyframes slideLeft{from{opacity:0;transform:translateX(-40px);}to{opacity:1;transform:translateX(0);}}@keyframes slideRight{from{opacity:0;transform:translateX(40px);}to{opacity:1;transform:translateX(0);}}

/* Effect: deco-diagonal-lines */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;background:repeating-linear-gradient(135deg,transparent,transparent 80px,var(--accent-1) 80px,var(--accent-1) 81px);opacity:0.018;}

/* Effect: hover-link-underline-draw — Ссылки навигации — подчёркивание рисуется от центра */
.main-nav .nav-link::after{content:'';position:absolute;bottom:0;left:50%;width:0;height:2px;background:var(--accent-1);transition:width 0.3s ease,left 0.3s ease;border-radius:1px;}.main-nav .nav-link:hover::after,.main-nav .nav-link.active::after{width:100%;left:0;}

/* Effect: hover-card-tilt-3d — Карточки слегка поворачиваются в 3D при наведении */
.icon-box,.service-card,.blog-card,.testimonial-card,.pricing-card{transition:transform 0.4s ease,box-shadow 0.4s ease;transform-style:preserve-3d;will-change:transform;}

/* Effect: pulse-border-cards — Рамки карточек пульсируют акцентным цветом */
.icon-box,.service-card{animation:borderPulse 4s ease-in-out infinite;}.icon-box:nth-child(odd),.service-card:nth-child(odd){animation-delay:-2s;}@keyframes borderPulse{0%,100%{border-color:var(--border-color);}50%{border-color:var(--accent-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-accent-ring — Медленно вращающееся кольцо в hero-секции */
.spin-ring{position:absolute;width:350px;height:350px;border:1px dashed var(--accent-1);border-radius:50%;opacity:0.08;animation:spinSlow 35s linear infinite;pointer-events:none;top:15%;right:-80px;z-index:0;}@keyframes spinSlow{to{transform:rotate(360deg);}}@media(max-width:768px){.spin-ring{width:200px;height:200px;right:-60px;}}

/* Effect: float-hexagons — Шестиугольники парят и поворачиваются */
.float-shapes{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.float-hex{position:absolute;width:60px;height:34px;background:var(--accent-1);opacity:0.025;animation:floatHex 22s ease-in-out infinite alternate;clip-path:polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);}@keyframes floatHex{0%{transform:translateY(0) rotate(0deg);}100%{transform:translateY(-80px) rotate(60deg);}}

/* Effect: shimmer-gradient-border — Рамки карточек переливаются градиентом */
.icon-box,.service-card,.pricing-card{position:relative;overflow:hidden;border:none !important;}.icon-box::after,.service-card::after,.pricing-card::after{content:'';position:absolute;inset:-2px;background:conic-gradient(from var(--shimmer-angle,0deg),var(--accent-1),var(--accent-2,var(--accent-1)),transparent,var(--accent-1));border-radius:inherit;z-index:-1;animation:shimmerBorder 4s linear infinite;}.icon-box::before,.service-card::before,.pricing-card::before{content:'';position:absolute;inset:2px;background:var(--bg-card);border-radius:inherit;z-index:-1;}@keyframes shimmerBorder{to{--shimmer-angle:360deg;}}@property --shimmer-angle{syntax:'<angle>';initial-value:0deg;inherits:false;}

/* ═══ 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.686;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 29px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 22px 19px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + 3px);
}

.btn-custom {
    padding: 15px 31px;
    font-size: 14px;
    letter-spacing: 0.124px;
    border-radius: calc(var(--radius-md) + 2px);
}
.btn-outline-custom {
    padding: 14px 33px;
    border-width: 1px;
}

main > section {
    padding-top: 74px;
    padding-bottom: 80px;
}
main > section:first-child {
    padding-top: 90px;
}
main > section:nth-child(2) {
    padding-top: 80px;
    padding-bottom: 72px;
}
main > section:nth-child(3) {
    padding-top: 81px;
    padding-bottom: 82px;
}
main > section:nth-child(4) {
    padding-top: 76px;
    padding-bottom: 79px;
}
main > section:nth-child(5) {
    padding-top: 81px;
    padding-bottom: 69px;
}

.section-header {
    margin-bottom: 53px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 3px 20px rgba(0,0,0,0.088);
}

.hero-section {
    padding-top: 114px;
}
.hero-title {
    margin-bottom: 25px;
}
.hero-subtitle {
    margin-bottom: 39px;
    font-size: 16px;
    line-height: 1.629;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 2.43px;
    margin-bottom: 26px;
}
.hero-buttons {
    gap: 14px;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 13px 46px rgba(0,0,0,0.106);
}

.icon-wrap {
    width: 49px;
    height: 49px;
    font-size: 22px;
    border-radius: 9px;
    margin-bottom: 19px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.637;
}

.section-title {
    margin-bottom: 19px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 3.167px;
    margin-bottom: 12px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.674;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 33px;
    }
    .main-nav .nav-link {
        font-size: 14px;
        padding: 9px 0;
    }
}

.site-footer {
    padding-top: 74px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 25px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-social {
    gap: 8px;
}
.footer-social a {
    width: 36px;
    height: 36px;
}
.footer-bottom {
    padding: 26px 0;
    margin-top: 58px;
}

.form-control {
    border-radius: 11px;
    padding: 14px 15px;
    font-size: 16px;
}

.testimonial-card {
    padding: 27px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.698;
    margin-bottom: 22px;
}
.author-image {
    width: 50px;
    height: 50px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 41px;
}
.plan-name {
    font-size: 19px;
    margin-bottom: 6px;
}
.plan-price {
    font-size: 43px;
    margin-bottom: 24px;
}
.plan-features li {
    padding: 9px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 38px;
    margin-bottom: 4px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.241px;
}

.team-image img {
    border-radius: 16px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 12px;
}

.step-number {
    font-size: 35px;
    margin-bottom: 11px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 10px;
}

.wow {
    animation-duration: 0.549s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.247s;
}

.row {
    --bs-gutter-y: 27px;
}

.cta-section {
    padding: 74px 0;
}
.cta-title {
    font-size: 35px;
    margin-bottom: 14px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 23px;
}

.blog-card .card-image img {
    border-radius: 10px 10px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 11px;
    gap: 15px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 15px 0;
}
.site-logo {
    font-size: 24px;
}
.header-cta {
    margin-left: 20px;
}

/* --- internal markers --- */
:root {
    --_seed: 8.19;
    --_flag: 'abcd8cc';
}
.bind-ref { vertical-align: baseline; font-variant: normal }
.layout-anchor { --_stamp: 627 }


/* ═══════════════════════════════════════════════════════ */
/* 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; }
