/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=sharp, тени=colored, отступы=normal, кнопки=square */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #5483EE;
    --accent-2: #E4507F;
    --accent-3: #9EF575;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Space Mono', monospace;
    --font-body: 'IBM Plex Mono', monospace;
    
    /* Размеры шрифтов */
    --fs-h1: 72px;
    --fs-h2: 48px;
    --fs-h3: 32px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 600;
    
    /* Углы скругления */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    
    /* Тени */
    --shadow-sm: 0 2px 8px #5483EE18;
    --shadow-md: 0 4px 16px #5483EE22;
    --shadow-lg: 0 8px 32px #5483EE30;
    --shadow-xl: 0 16px 48px #5483EE40;
    
    /* Отступы секций */
    --section-padding: 80px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 2px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 2px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: dark-cta-section — тёмный CTA */
.cta-section {
    background: var(--footer-dark-bg);
    color: #fff;
    border-radius: var(--radius-xl);
    margin: 0 20px;
}
.cta-section .cta-title { color: #fff; }
.cta-section .cta-text { color: rgba(255,255,255,0.7); }
.cta-section .btn-custom { background: #fff; color: var(--footer-dark-bg); }

/* Trick: diagonal-section — визуальный сдвиг через transform */
.bg-secondary-custom {
    position: relative;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    margin: 40px 0;
}

/* 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;
}

/* ═══════════════════════════════════════════ */
/* 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: top line accent — тонкая акцентная линия сверху */
.site-header {
    background: var(--bg-primary);
    padding: 16px 0;
    border-top: 3px solid var(--accent-1);
}
.site-header.scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 12px 0;
}
.main-nav .nav-link { font-weight: 500; }
.main-nav .nav-link::after { background: var(--accent-1); border-radius: var(--radius-pill); height: 2px; }

/* Footer: brutalist — грубый стиль */
.site-footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding-top: 60px;
    border-top: 4px solid var(--text-primary);
}
.site-footer p, .site-footer li, .site-footer span,
.site-footer .footer-widget p, .site-footer .footer-contact li { color: var(--text-secondary); }
.site-footer a:not(.btn-custom) { color: var(--text-primary); }
.site-footer a:not(.btn-custom):hover { color: var(--accent-1); }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: var(--text-primary); }
.footer-widget .widget-title { text-transform: uppercase; font-weight: 900; letter-spacing: 2px; border-bottom: 2px solid var(--text-primary); padding-bottom: 10px; }
.footer-widget .widget-title::after { display: none; }
.footer-links a { color: var(--text-primary); font-weight: 600; text-transform: uppercase; font-size: 12px; }
.footer-links a:hover { color: var(--accent-1); padding-left: 10px; }
.footer-social a { border-radius: 0; background: var(--text-primary); color: var(--bg-primary); border: none; }
.footer-social a:hover { background: var(--accent-1); }
.footer-bottom { border-top: 2px solid var(--text-primary); }
.footer-bottom p { color: var(--text-secondary); }

/* 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: uppercase spaced — заглавные с отступами */
.site-logo { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 5px; }

/* 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: section — треугольная маска */
section:not(.hero-section) .col-lg-6 img, section:not(.hero-section) .col-lg-5 img {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: arrow — средняя линия сдвигается вправо */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; align-items: flex-start; padding-left: 8px; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.35s ease, width 0.35s ease, opacity 0.3s ease; }
.mobile-toggle .burger-line:nth-child(2) { width: 16px; transition: width 0.3s ease, opacity 0.3s ease; }
.mobile-toggle:hover .burger-line:nth-child(2) { width: 24px; }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; width: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Effect: scrollbar-dots */
.scroll-dots{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:9990;display:flex;flex-direction:column;gap:12px;}.scroll-dots .dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--accent-1);opacity:0.4;cursor:pointer;transition:all 0.3s;}.scroll-dots .dot.active{background:var(--accent-1);opacity:1;transform:scale(1.3);}@media(max-width:768px){.scroll-dots{display:none;}}

/* Effect: stagger-scale */
.icon-box,.service-card,.portfolio-item{opacity:0;animation:scaleIn 0.5s ease forwards;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.05s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.15s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.25s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.35s;}.row>[class*="col"]:nth-child(5)>*{animation-delay:0.45s;}.row>[class*="col"]:nth-child(6)>*{animation-delay:0.55s;}@keyframes scaleIn{from{opacity:0;transform:scale(0.85);}to{opacity:1;transform:scale(1);}}

/* Effect: deco-rising-bubbles */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;bottom:-20px;border-radius:50%;background:var(--accent-1);opacity:0.02;animation:decoBubble 16s ease-in infinite;}@keyframes decoBubble{0%{transform:translateY(0) scale(1);opacity:0.02;}80%{opacity:0.015;}100%{transform:translateY(-110vh) scale(0.4);opacity:0;}}

/* Effect: scroll-alternate-slide — Alternate Slide — чётные секции уходят влево, нечётные вправо */
/* Scroll: alternate-slide — попеременное скольжение */
main > section {
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s ease;
    will-change: transform, opacity;
    opacity: 0;
}
main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section) { transform: translateX(-80px) rotate(-0.5deg); }
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { transform: translateX(80px) rotate(0.5deg); }
main > section.in-view {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
}
.hero-section { transform: none !important; opacity: 1 !important; }
@media (max-width: 768px) {
    main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section),
    main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { transform: translateY(50px) rotate(0deg); }
}

/* Effect: hover-btn-bounce-click — Кнопки пружинят при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{transition:transform 0.15s ease;}.btn-custom:active,.btn-primary-custom:active,.btn-outline-custom:active{transform:scale(0.93);}@keyframes btnBounce{0%{transform:scale(0.93);}40%{transform:scale(1.05);}70%{transform:scale(0.98);}100%{transform:scale(1);}}

/* 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-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: shimmer-accent-sections — Фон чётных секций переливается */
main>section:nth-child(even):not(.cta-section):not(.bg-dark-section){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: 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-japanese-wave — Сейгайха — японская волна (арочный паттерн) */
/* Texture: japanese-wave (seigaiha) — арочные полукруги */
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { position: relative; overflow: clip; }
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M0 40a40 40 0 0 1 40-40 40 40 0 0 1 40 40' fill='none' stroke='currentColor' stroke-width='0.8'/%3E%3Cpath d='M0 40a32 32 0 0 1 32-32 32 32 0 0 1 32 32' fill='none' stroke='currentColor' stroke-width='0.6' transform='translate(8 0)'/%3E%3Cpath d='M0 40a24 24 0 0 1 24-24 24 24 0 0 1 24 40' fill='none' stroke='currentColor' stroke-width='0.4' transform='translate(16 0)'/%3E%3C/svg%3E");
    background-size: 80px 40px;
}
.hero-section::before { display: none !important; }

/* Effect: tex-gradient-mesh — Градиентная сетка — множество мягких цветных пятен */
/* Texture: gradient-mesh — мягкая градиентная сетка */
main > section:nth-child(3n+2):not(.cta-section):not(.bg-dark-section) { position: relative; overflow: clip; }
main > section:nth-child(3n+2):not(.cta-section):not(.bg-dark-section)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background:
        radial-gradient(ellipse at 15% 20%, var(--accent-1) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, var(--accent-2, var(--accent-1)) 0%, transparent 45%),
        radial-gradient(ellipse at 40% 80%, var(--accent-1) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, var(--accent-2, var(--accent-1)) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, var(--accent-1) 0%, transparent 60%);
}
.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: dark-cinema — всегда тёмный фон, uppercase ссылки */
@media (max-width: 992px) {
    .main-nav { right: -100% !important; left: auto !important; width: min(320px,85vw) !important; background: #0a0a0a !important; padding: 100px 32px 40px !important; box-shadow: -4px 0 60px rgba(0,0,0,0.6) !important; border-left: 1px solid rgba(255,255,255,0.06) !important; transition: right 0.45s cubic-bezier(0.4,0,0.2,1) !important; }
    .main-nav.active { right: 0 !important; }
    .main-nav .nav-link { color: rgba(255,255,255,0.8) !important; text-transform: uppercase !important; font-size: 13px !important; letter-spacing: 2px !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important; opacity: 0 !important; transform: translateX(30px) !important; transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s !important; }
    .main-nav.active .nav-link { opacity: 1 !important; transform: translateX(0) !important; }
    .main-nav.active .nav-link:hover { color: var(--accent-1) !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:.10s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:.16s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:.22s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:.28s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:.34s !important;}
    .main-nav.active .nav-link:nth-child(6){transition-delay:.40s !important;}
    .main-nav.active .nav-link:nth-child(7){transition-delay:.46s !important;}
    .main-nav.active .nav-link:nth-child(8){transition-delay:.52s !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;
}


/* ═══ OVERLAY & DARK-SECTION TEXT SAFETY-NET ═══ */
/* Hero overlay → guarantee white text regardless of kit theme */
.hero-section .hero-overlay ~ .container,
.hero-section .hero-overlay ~ .container * {
    color: #fff;
}
.hero-section .hero-overlay ~ .container p,
.hero-section .hero-overlay ~ .container .hero-subtitle {
    color: rgba(255,255,255,0.85);
}
.hero-section .hero-overlay ~ .container .btn-custom {
    color: inherit;
}
/* bg-dark-section: ensure ALL inner text is light */
.bg-dark-section .hero-tagline { color: #fff; }
.bg-dark-section .section-tagline { color: var(--accent-1); }
.bg-dark-section .text-muted-custom { color: rgba(255,255,255,0.55); }
.bg-dark-section .footer-links a { color: rgba(255,255,255,0.65); }
.bg-dark-section .footer-links a:hover { color: #fff; }
/* Site-footer with own inner background → kill outer kit/preset bg */
.site-footer[style*="background:none"] { background: none !important; }
.site-footer[style*="background:none"]::before,
.site-footer[style*="background:none"]::after { display: none !important; }


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.618;
    letter-spacing: 0.004em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 24px;
}
.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: 22px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 22px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 2px);
}

.btn-custom {
    padding: 15px 28px;
    font-size: 14px;
    letter-spacing: 0.23px;
    border-radius: calc(var(--radius-md) + -1px);
}
.btn-outline-custom {
    padding: 14px 28px;
    border-width: 1px;
}

main > section {
    padding-top: 100px;
    padding-bottom: 97px;
}
main > section:first-child {
    padding-top: 104px;
}
main > section:nth-child(2) {
    padding-top: 93px;
    padding-bottom: 99px;
}
main > section:nth-child(3) {
    padding-top: 108px;
    padding-bottom: 98px;
}
main > section:nth-child(5) {
    padding-top: 104px;
    padding-bottom: 93px;
}

.section-header {
    margin-bottom: 56px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 4px 15px rgba(0,0,0,0.085);
}

.hero-section {
    padding-top: 117px;
}
.hero-title {
    margin-bottom: 25px;
}
.hero-subtitle {
    margin-bottom: 41px;
    font-size: 16px;
    line-height: 1.636;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 3.08px;
    margin-bottom: 25px;
}
.hero-buttons {
    gap: 13px;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 6px 29px rgba(0,0,0,0.145);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 14px;
    line-height: 1.646;
}

.section-title {
    margin-bottom: 16px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 3.272px;
    margin-bottom: 11px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.682;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 27px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }
}

.site-footer {
    padding-top: 79px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 24px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-social {
    gap: 10px;
}
.footer-social a {
    width: 41px;
    height: 41px;
}
.footer-bottom {
    padding: 21px 0;
    margin-top: 56px;
}

.form-control {
    border-radius: 5px;
    padding: 15px 14px;
    font-size: 15px;
}

.testimonial-card {
    padding: 32px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.653;
    margin-bottom: 22px;
}
.author-image {
    width: 45px;
    height: 45px;
}
.author-name {
    font-size: 16px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 40px;
}
.plan-name {
    font-size: 21px;
    margin-bottom: 6px;
}
.plan-price {
    font-size: 43px;
    margin-bottom: 20px;
}
.plan-features li {
    padding: 9px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 45px;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.7px;
}

.team-image img {
    border-radius: 9px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 3px;
}
.team-role {
    font-size: 14px;
}

.step-number {
    font-size: 36px;
    margin-bottom: 12px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 10px;
}

.wow {
    animation-duration: 0.544s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.339s;
}

.row {
    --bs-gutter-y: 26px;
}

.cta-section {
    padding: 82px 0;
}
.cta-title {
    font-size: 39px;
    margin-bottom: 13px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 23px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 9px;
    gap: 13px;
}

.site-header {
    padding: 16px 0;
}
.site-header.scrolled {
    padding: 11px 0;
}
.site-logo {
    font-size: 25px;
}
.header-cta {
    margin-left: 12px;
}

/* --- internal markers --- */
:root {
    --_ver: 4.31;
    --_build: 7.65;
    --_tag: 'a38b21b';
    --_key: 82617;
}
.layout-anchor { vertical-align: baseline }
.theme-marker { display: inherit }
.a11y-skip { box-sizing: border-box; pointer-events: auto; --_stamp: 954 }
.init-marker { content: '' }


/* ═══════════════════════════════════════════════════════ */
/* CONTRAST GUARD — auto-generated, do NOT edit           */
/* Ensures readable text on ALL dark/gradient sections     */
/* ═══════════════════════════════════════════════════════ */

/* .bg-dark-section — DARK bg → light text */
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff !important; }
.bg-dark-section { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section p, .bg-dark-section li, .bg-dark-section span:not(.badge):not(.btn-custom), .bg-dark-section .section-subtitle, .bg-dark-section label, .bg-dark-section blockquote, .bg-dark-section figcaption, .bg-dark-section dt, .bg-dark-section dd, .bg-dark-section td, .bg-dark-section th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-section .counter-number { color: #fff !important; }
.bg-dark-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-dark-custom — DARK bg → light text */
.bg-dark-custom h1, .bg-dark-custom h2, .bg-dark-custom h3, .bg-dark-custom h4, .bg-dark-custom h5, .bg-dark-custom h6 { color: #fff !important; }
.bg-dark-custom { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom p, .bg-dark-custom li, .bg-dark-custom span:not(.badge):not(.btn-custom), .bg-dark-custom .section-subtitle, .bg-dark-custom label, .bg-dark-custom blockquote, .bg-dark-custom figcaption, .bg-dark-custom dt, .bg-dark-custom dd, .bg-dark-custom td, .bg-dark-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-custom .counter-number { color: #fff !important; }
.bg-dark-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-gradient-custom — DARK bg → light text */
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3, .bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff !important; }
.bg-gradient-custom { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span:not(.badge):not(.btn-custom), .bg-gradient-custom .section-subtitle, .bg-gradient-custom label, .bg-gradient-custom blockquote, .bg-gradient-custom figcaption, .bg-gradient-custom dt, .bg-gradient-custom dd, .bg-gradient-custom td, .bg-gradient-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-gradient-custom .counter-number { color: #fff !important; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-accent-custom — DARK bg → light text */
.bg-accent-custom h1, .bg-accent-custom h2, .bg-accent-custom h3, .bg-accent-custom h4, .bg-accent-custom h5, .bg-accent-custom h6 { color: #fff !important; }
.bg-accent-custom { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom p, .bg-accent-custom li, .bg-accent-custom span:not(.badge):not(.btn-custom), .bg-accent-custom .section-subtitle, .bg-accent-custom label, .bg-accent-custom blockquote, .bg-accent-custom figcaption, .bg-accent-custom dt, .bg-accent-custom dd, .bg-accent-custom td, .bg-accent-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-accent-custom .counter-number { color: #fff !important; }
.bg-accent-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .cta-section — DARK bg → light text */
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6 { color: #fff !important; }
.cta-section { color: rgba(255,255,255,0.85) !important; }
.cta-section p, .cta-section li, .cta-section span:not(.badge):not(.btn-custom), .cta-section .section-subtitle, .cta-section label, .cta-section blockquote, .cta-section figcaption, .cta-section dt, .cta-section dd, .cta-section td, .cta-section th { color: rgba(255,255,255,0.78) !important; }
.cta-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.cta-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.cta-section .counter-number { color: #fff !important; }
.cta-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .site-footer — LIGHT bg → dark text (preset handles colors) */
.site-footer { color: var(--text-secondary, #555) !important; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .widget-title { color: var(--text-primary, #1a1a2e) !important; }
.site-footer p, .site-footer li, .site-footer span,
.site-footer label { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom) { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom):hover { color: var(--accent-1) !important; }
.site-footer .footer-bottom p { color: var(--text-muted, #888) !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; }
