/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=sharp, тени=strong, отступы=ultra-compact, кнопки=asymmetric */

@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: #CE351A;
    --accent-2: #DEB444;
    --accent-3: #F21670;
    --accent-gradient: linear-gradient(to right, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 64px;
    --fs-h2: 44px;
    --fs-h3: 30px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 800;
    
    /* Углы скругления */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    
    /* Тени */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.14);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.18);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.22);
    
    /* Отступы секций */
    --section-padding: 40px 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: footer-wave-top — волна над футером */
.site-footer {
    position: relative;
    margin-top: 40px;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* Trick: alternating-scale — чередующийся масштаб колонок */
.row > [class*="col"]:nth-child(odd) { transform: scale(1.03); z-index: 1; }
.row > [class*="col"]:nth-child(even) { transform: scale(0.97); }
.row > [class*="col"]:hover { transform: scale(1.05) !important; z-index: 2; }
@media (max-width: 768px) { .row > [class*="col"] { transform: none !important; } }

/* Trick: section-left-bar — акцентная вертикаль слева */
main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section) { border-left: 4px solid var(--accent-1); }
.hero-section { border-left: none !important; }

/* 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: highlight-marker — маркерное выделение слов */
.hero-title strong, .hero-title em, .section-title strong {
    background: linear-gradient(transparent 60%, var(--accent-1) 60%);
    background-size: 100% 90%;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding: 0 4px;
    -webkit-text-fill-color: initial;
}

/* ═══════════════════════════════════════════ */
/* 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: compact tight — очень компактный */
.site-header {
    background: var(--bg-primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.site-header .header-inner { gap: 16px; }
.site-logo { font-size: 18px; }
.main-nav { gap: 16px; }
.main-nav .nav-link { font-size: 12px; padding: 4px 0; }
.main-nav .nav-link::after { height: 1px; }
.header-cta { padding: 6px 16px !important; font-size: 12px !important; }
.site-header.scrolled { padding: 6px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* Footer: accent top bar — акцентная полоса сверху */
.site-footer {
    background: var(--footer-dark-bg);
    color: rgba(255,255,255,0.6);
    padding-top: 80px;
    border-top: 4px solid var(--accent-1);
}
.footer-widget .widget-title { text-transform: uppercase; font-size: 13px; letter-spacing: 3px; }
.footer-widget .widget-title::after { display: none; }
.footer-links a { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.footer-social a { border-radius: 0; width: 36px; height: 36px; }

/* 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: underline — подчеркнутый логотип */
.site-logo { font-size: 22px; font-weight: 700; position: relative; padding-bottom: 6px; }
.site-logo::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent-gradient); border-radius: 2px; }

/* Headings: default — стандартные */
h3, h4, h5 { font-weight: var(--fw-bold); color: var(--text-primary); }
.icon-title, .card-title, .step-title { font-weight: 600; }

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: gradient bg — градиентный фон */
.mobile-toggle { width: 42px; height: 42px; gap: 5px; border: none; background: var(--accent-gradient, 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.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-fade-dots */
main > section + section::before{content:'';display:block;width:60%;height:1px;margin:0 auto;background:radial-gradient(circle,var(--accent-1) 1px,transparent 1px);background-size:12px 1px;opacity:0.25;}

/* Effect: progress-bar-top */
.progress-top{position:fixed;top:0;left:0;height:3px;background:var(--accent-gradient);z-index:99999;transition:width 0.05s;width:0;}

/* Effect: stagger-blur-in */
.icon-box,.service-card,.blog-card{opacity:0;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: marquee-text */
.marquee-strip{overflow:hidden;padding:14px 0;background:var(--bg-secondary,var(--bg-card));border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);}.marquee-inner{display:flex;gap:60px;white-space:nowrap;animation:marqueeScroll 20s linear infinite;font-size:14px;text-transform:uppercase;letter-spacing:3px;opacity:0.3;font-weight:600;}@keyframes marqueeScroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* 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-img-zoom-rotate — Картинки в карточках зумятся и слегка вращаются */
.service-card img,.blog-card img,.portfolio-item img,.icon-box img{transition:transform 0.5s cubic-bezier(0.23,1,0.32,1);}.service-card:hover img,.blog-card:hover img,.portfolio-item:hover img,.icon-box:hover img{transform:scale(1.08) rotate(1.5deg);}

/* Effect: pulse-taglines — Тэглайны секций мягко пульсируют цветом */
.section-tagline{animation:taglinePulse 3s ease-in-out infinite;}@keyframes taglinePulse{0%,100%{opacity:1;}50%{opacity:0.5;}}

/* Effect: float-blobs-parallax — Градиентные блобы двигаются при скролле */
.float-blobs{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.float-blob{position:absolute;border-radius:50%;filter:blur(40px);opacity:0.035;will-change:transform;}

/* 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;}

/* Effect: tex-woven-mesh — Плетёная сетка — переплетение полос */
/* Texture: woven-mesh — плетёная сетка */
main > section:nth-child(3n+1):not(:first-child) { position: relative; overflow: clip; }
main > section:nth-child(3n+1):not(:first-child)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.02;
    background-image:
        linear-gradient(0deg, var(--accent-1) 2px, transparent 2px),
        linear-gradient(90deg, var(--accent-1) 2px, transparent 2px);
    background-size: 20px 20px;
    mask-image:
        linear-gradient(45deg, rgba(0,0,0,1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,1) 75%);
    -webkit-mask-image:
        linear-gradient(45deg, rgba(0,0,0,1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,1) 75%);
    mask-size: 20px 20px;
    -webkit-mask-size: 20px 20px;
}
.hero-section::before { display: none !important; }

/* Fallback: без JS секции видимы сразу */
html:not(.js-fx) main > section {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
}

/* ═══ DESKTOP NAV OVERFLOW SAFETY-NET ═══ */
/* Не даём nav-ссылкам переполнять хедер при большом числе вкладок */
@media (min-width: 993px) {
    .header-inner {
        flex-wrap: nowrap;
        overflow: visible;
    }
    .main-nav {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: clamp(10px, 1.8vw, 36px) !important;
    }
    .main-nav .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        padding: 8px 0;
        flex-shrink: 0;
    }
    /* Centered-logo split groups — адаптивный gap */
    .nav-group-left, .nav-group-right {
        gap: clamp(8px, 1.4vw, 32px) !important;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .nav-group-left .nav-link,
    .nav-group-right .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        flex-shrink: 0;
    }
    /* CTA-кнопка не сжимается */
    .header-cta {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .site-logo {
        flex-shrink: 0;
    }
}

/* ═══ TWO-LAYER HEADER FIX ═══ */
/* Вариант "Nav with Top Bar" — фиксируем top-bar (div) над хедером.
   Используем div.bg-secondary-custom (не section!) чтобы не зацепить секции. */
div.bg-secondary-custom:not(.section-padding) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
div.bg-secondary-custom:not(.section-padding) + .site-header {
    top: 33px;
    transition: top 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
/* При скролле: top-bar скрывается, header прижимается к верху */
div.bg-secondary-custom.top-bar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
div.bg-secondary-custom.top-bar-hidden + .site-header,
div.bg-secondary-custom:not(.section-padding) + .site-header.scrolled {
    top: 0;
}
/* Компенсируем дополнительную высоту top-bar для hero */
div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
    padding-top: 200px;
}

/* Мобильная адаптация top-bar */
@media (max-width: 992px) {
    div.bg-secondary-custom:not(.section-padding) {
        position: relative;
        z-index: auto;
        font-size: 11px;
        padding: 4px 0;
    }
    div.bg-secondary-custom:not(.section-padding) + .site-header {
        top: 0;
    }
    div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
        padding-top: 140px;
    }
}


/* ═══ 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; }
}


/* ═══ MOBILE MENU PANEL DESIGN ═══ */
/* Mobile Menu: slide-left-stagger — левая панель, пункты выезжают с левой стороны */
@media (max-width: 992px) {
    .main-nav { left: -100% !important; right: auto !important; width: min(300px,80vw) !important; background: var(--bg-primary) !important; padding: 100px 28px 40px !important; box-shadow: 8px 0 40px rgba(0,0,0,0.2) !important; border-right: 2px solid var(--border-color) !important; transition: left 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
    .main-nav.active { left: 0 !important; }
    .main-nav .nav-link { opacity: 0 !important; transform: translateX(-20px) !important; transition: opacity 0.3s ease, transform 0.3s ease !important; border-bottom: 1px solid var(--border-color) !important; }
    .main-nav.active .nav-link { opacity: 1 !important; transform: translateX(0) !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:.06s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:.12s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:.18s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:.24s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:.30s !important;}
    .main-nav.active .nav-link:nth-child(6){transition-delay:.36s !important;}
    .main-nav.active .nav-link:nth-child(7){transition-delay:.42s !important;}
    .main-nav.active .nav-link:nth-child(8){transition-delay:.48s !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;
    }
}
/* Spacing for blog-cards stacked vertically in the same column (density expansion) */
.blog-card + .blog-card {
    margin-top: 1.5rem;
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.631;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 26px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 22px 23px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + 0px);
}

.btn-custom {
    padding: 13px 24px;
    font-size: 15px;
    letter-spacing: 0.455px;
    border-radius: calc(var(--radius-md) + -1px);
}
.btn-outline-custom {
    padding: 14px 25px;
    border-width: 1px;
}

main > section {
    padding-top: 86px;
    padding-bottom: 79px;
}
main > section:first-child {
    padding-top: 101px;
}
main > section:nth-child(3) {
    padding-top: 78px;
    padding-bottom: 79px;
}
main > section:nth-child(5) {
    padding-top: 78px;
    padding-bottom: 82px;
}

.section-header {
    margin-bottom: 55px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 3px 13px rgba(0,0,0,0.079);
}

.hero-section {
    padding-top: 113px;
}
.hero-title {
    margin-bottom: 21px;
}
.hero-subtitle {
    margin-bottom: 39px;
    font-size: 19px;
    line-height: 1.647;
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 2.388px;
    margin-bottom: 22px;
}
.hero-buttons {
    gap: 15px;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 12px 39px rgba(0,0,0,0.154);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 21px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.icon-title, .card-title {
    font-size: 19px;
    margin-bottom: 7px;
}
.icon-text, .card-text {
    font-size: 14px;
    line-height: 1.579;
}

.section-title {
    margin-bottom: 15px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 3.667px;
    margin-bottom: 11px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.657;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 29px;
    }
    .main-nav .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
}

.site-footer {
    padding-top: 74px;
}
.footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 25px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-social {
    gap: 8px;
}
.footer-social a {
    width: 39px;
    height: 39px;
}
.footer-bottom {
    padding: 19px 0;
    margin-top: 55px;
}

.form-control {
    border-radius: 11px;
    padding: 13px 17px;
    font-size: 14px;
}

.testimonial-card {
    padding: 35px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.609;
    margin-bottom: 18px;
}
.author-image {
    width: 51px;
    height: 51px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 33px;
}
.plan-name {
    font-size: 22px;
    margin-bottom: 9px;
}
.plan-price {
    font-size: 46px;
    margin-bottom: 23px;
}
.plan-features li {
    padding: 10px 0;
    font-size: 14px;
}

.counter-number, .stat-number {
    font-size: 40px;
    margin-bottom: 3px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.75px;
}

.team-image img {
    border-radius: 15px;
}
.team-name {
    font-size: 19px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 14px;
}

.step-number {
    font-size: 30px;
    margin-bottom: 11px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 6px;
}

.wow {
    animation-duration: 0.689s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.332s;
}

.row {
    --bs-gutter-y: 26px;
}

.cta-section {
    padding: 76px 0;
}
.cta-title {
    font-size: 38px;
    margin-bottom: 19px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 27px;
}

.blog-card .card-image img {
    border-radius: 14px 14px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 9px;
    gap: 10px;
}

.site-header {
    padding: 19px 0;
}
.site-header.scrolled {
    padding: 14px 0;
}
.site-logo {
    font-size: 23px;
}
.header-cta {
    margin-left: 13px;
}

/* --- internal markers --- */
:root {
    --_uid: 6.45;
    --_stamp: 73679;
}
.env-flag { visibility: inherit }
.vis-helper { font-style: inherit; font-variant: normal }
.base-ref { vertical-align: baseline; font-style: inherit }
.ui-ghost { font-variant: normal }


/* ═══════════════════════════════════════════════════════ */
/* 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; }

/* Our Success Stories section — white text */
#case-studies-section .section-title,
#case-studies-section .section-tagline,
#case-studies-section p,
#case-studies-section span,
#case-studies-section h3,
#case-studies-section h4 { color: #fff !important; }

/* Footer Navigation links — black text */
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-links li,
.site-footer .footer-links li a { color: #000 !important; }
.site-footer .col-lg-6:last-child .footer-widget h5,
.site-footer .col-lg-6:last-child .footer-widget li { color: #000 !important; }
