/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=none, тени=inset, отступы=ultra-compact, кнопки=chunky */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Sans:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #16B322;
    --accent-2: #27D59D;
    --accent-3: #548A16;
    --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-h3: 26px;
    --fs-body: 16px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-pill: 0px;
    
    /* Тени */
    --shadow-sm: inset 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: inset 0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg: inset 0 4px 12px rgba(0,0,0,0.1);
    --shadow-xl: inset 0 6px 20px rgba(0,0,0,0.12);
    
    /* Отступы секций */
    --section-padding: 40px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 8px;
    padding: 18px 36px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 3px;
    border-color: #16B322;
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: mesh-gradient-bg — mesh-градиент на hero */
.hero-section {
    background:
        radial-gradient(ellipse at 20% 50%, var(--accent-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--accent-2, var(--accent-1)) 0%, transparent 50%),
        var(--bg-secondary);
    background-blend-mode: overlay;
}
.hero-section .hero-bg { opacity: 0.06; }

/* Trick: wave-divider — волнистый разделитель перед секциями */
.bg-secondary-custom {
    position: relative;
    margin-top: 40px;
}
.bg-secondary-custom::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* Trick: 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;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: overlap card — картинка с наложенным текстовым блоком */
.hero-section { min-height: 100vh; padding-bottom: 120px; }
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.hero-content {
    background: var(--bg-card, #fff);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 5;
    border: 1px solid var(--border-color);
}
.hero-tagline { background: var(--accent-1); color: #fff !important; padding: 6px 16px; border-radius: var(--radius-sm); font-size: 11px; }

/* Header: solid bordered — чёткая нижняя граница */
.site-header {
    background: var(--bg-primary);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    backdrop-filter: none;
}

/* Footer: card style — на карточке с тенью */
.site-footer {
    background: transparent;
    padding: 0 20px 40px;
}
.site-footer > .container {
    background: var(--footer-dark-bg);
    border-radius: var(--radius-xl);
    padding: 60px 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.site-footer h4,.site-footer h5 { color: #fff; }
.site-footer .footer-widget .widget-title::after { background: var(--accent-1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; }
.footer-bottom p { color: rgba(255,255,255,0.3); }

/* Contact: brutalist — грубая форма */
.contact-section .form-custom {
    border: 3px solid var(--text-primary);
    padding: 36px;
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--text-primary);
}
.contact-section .form-control {
    border: 2px solid var(--text-primary);
    border-radius: 0;
    padding: 14px 16px;
    font-weight: 600;
}
.contact-section .form-control:focus { border-color: var(--accent-1); box-shadow: 4px 4px 0 var(--accent-1); }
.contact-section .btn-custom { border-radius: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; box-shadow: 4px 4px 0 var(--text-primary); }

/* Logo: double underline — двойное подчёркивание */
.site-logo { font-size: 22px; font-weight: 700; position: relative; padding-bottom: 8px; }
.site-logo::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent-1); box-shadow: 0 4px 0 var(--accent-1); }

/* Headings: numbered counter — нумерация заголовков */
.icon-box { counter-increment: card-counter; }
.icon-title::before {
    content: counter(card-counter, decimal-leading-zero) '.';
    display: block;
    color: var(--accent-1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.6;
}
.services-section, .features-section { counter-reset: card-counter; }

/* Img: team — яркая тень */
.team-card .team-image img, .team-image img {
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(var(--accent-1-rgb, 99,102,241), 0.25);
    transition: box-shadow 0.3s ease;
}
.team-card:hover .team-image img {
    box-shadow: 0 12px 40px rgba(var(--accent-1-rgb, 99,102,241), 0.4);
}

/* Img: section — обтекание текстом (float blob) */
section:not(.hero-section) .col-lg-6 img, section:not(.hero-section) .col-lg-5 img {
    shape-outside: ellipse(48% 48%);
    border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
    float: left;
    margin: 0 24px 16px 0;
    max-width: 55%;
    object-fit: cover;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: dot accent — средняя линия-точка */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, border-radius 0.3s ease; }
.mobile-toggle .burger-line:nth-child(2) { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Effect: divider-circle */
main > section + section::before{content:'';display:block;width:12px;height:12px;border:2px solid var(--accent-1);border-radius:50%;margin:15px auto;opacity:0.35;}

/* Effect: progress-header-line */
.progress-header{position:fixed;top:0;left:0;height:2px;z-index:100000;background:var(--accent-1);width:0;opacity:0.8;}

/* Effect: stagger-rotate-in */
.icon-box,.service-card{opacity:0;animation:rotateIn 0.7s 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;}@keyframes rotateIn{from{opacity:0;transform:perspective(600px) rotateY(15deg) translateX(30px);}to{opacity:1;transform:perspective(600px) rotateY(0) translateX(0);}}

/* Effect: deco-dot-grid */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle,var(--accent-1) 0.8px,transparent 0.8px);background-size:32px 32px;opacity:0.025;}

/* Effect: scroll-slide-left-exit — Slide Left Exit — секции уходят влево при прокрутке, новые входят справа */
/* Scroll: slide-left-exit — секции улетают влево */
main > section {
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.6s ease;
    will-change: transform, opacity;
}
main > section.exit-left {
    transform: translateX(-100vw);
    opacity: 0;
}
main > section.enter-right {
    transform: translateX(100vw);
    opacity: 0;
}
main > section.in-view {
    transform: translateX(0);
    opacity: 1;
}
.hero-section { transform: none !important; opacity: 1 !important; }
@media (max-width: 768px) {
    main > section.exit-left { transform: translateX(-60vw); }
    main > section.enter-right { transform: translateX(60vw); }
}

/* Effect: hover-btn-magnetic — Кнопки магнитно притягиваются к курсору */
.btn-custom,.btn-primary-custom{transition:transform 0.25s cubic-bezier(0.23,1,0.32,1);}

/* Effect: hover-btn-ripple — Material Design ripple-эффект на кнопках при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{position:relative;overflow:hidden;}.btn-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.35);transform:scale(0);animation:rippleAnim 0.6s ease-out;pointer-events:none;}@keyframes rippleAnim{to{transform:scale(4);opacity:0;}}

/* Effect: hover-card-lift-shadow — Карточки взлетают вверх с глубокой тенью */
.icon-box,.service-card,.blog-card,.testimonial-card,.pricing-card{transition:transform 0.35s ease,box-shadow 0.35s ease;}.icon-box:hover,.service-card:hover,.blog-card:hover,.testimonial-card:hover,.pricing-card:hover{transform:translateY(-10px);box-shadow:0 20px 50px rgba(0,0,0,0.12) !important;}

/* Effect: 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-hero-cta — CTA-кнопка в hero мягко пульсирует */
@keyframes pulseGlow{0%,100%{box-shadow:0 0 0 0 rgba(var(--accent-1-rgb,99,102,241),0.45);}70%{box-shadow:0 0 0 14px rgba(var(--accent-1-rgb,99,102,241),0);}}
.hero-section .btn-primary-custom,.hero-section .btn-custom{animation:pulseGlow 2.5s ease-in-out infinite;}

/* Effect: spin-gradient-circle — Градиентный полукруг медленно вращается */
.spin-gradient{position:fixed;width:500px;height:500px;border-radius:50%;background:conic-gradient(from 0deg,var(--accent-1),transparent 120deg,transparent);opacity:0.025;animation:spinSlow 30s linear infinite;pointer-events:none;z-index:0;top:-150px;right:-150px;}@keyframes spinSlow{to{transform:rotate(360deg);}}@media(max-width:768px){.spin-gradient{width:300px;height:300px;}}

/* Effect: float-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-cta-background — Фон CTA-кнопок переливается */
.btn-primary-custom,.hero-section .btn-custom{background:linear-gradient(90deg,var(--accent-1),var(--accent-2,var(--accent-1)),var(--accent-1));background-size:200% 100%;animation:shimmerBtn 3s ease-in-out infinite;}@keyframes shimmerBtn{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}

/* 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: marquee-reverse-double — Двойная лента — вторая в обратном направлении */
.js-marquee-wrap{overflow:hidden;padding:20px 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);display:flex;flex-direction:column;gap:8px;}.js-mq-row{display:flex;gap:40px;white-space:nowrap;font-size:clamp(20px,3vw,38px);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:0.02em;opacity:0.12;}.js-mq-row span{flex-shrink:0;}.js-mq-row.fwd{animation:jsMarquee 30s linear infinite;}.js-mq-row.rev{animation:jsMarqueeRev 30s linear infinite;}@keyframes jsMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}@keyframes jsMarqueeRev{from{transform:translateX(-50%);}to{transform:translateX(0);}}

/* Effect: tex-stained-glass — Витражное стекло — мозаика полупрозрачных многоугольников */
/* Texture: stained-glass — витражная мозаика */
main > section:nth-child(3n):not(.cta-section):not(.bg-dark-section) { position: relative; overflow: clip; }
main > section:nth-child(3n):not(.cta-section):not(.bg-dark-section)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background:
        conic-gradient(from 0deg at 25% 30%, var(--accent-1) 0deg, transparent 60deg, transparent 360deg),
        conic-gradient(from 120deg at 75% 25%, var(--accent-2, var(--accent-1)) 0deg, transparent 60deg, transparent 360deg),
        conic-gradient(from 240deg at 50% 75%, var(--accent-1) 0deg, transparent 60deg, transparent 360deg),
        conic-gradient(from 60deg at 20% 80%, var(--accent-2, var(--accent-1)) 0deg, transparent 50deg, transparent 360deg),
        conic-gradient(from 180deg at 80% 70%, var(--accent-1) 0deg, transparent 55deg, transparent 360deg);
}
.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: glass-panel — матовое стекло, backdrop-filter */
@media (max-width: 992px) {
    .main-nav { right: -100% !important; left: auto !important; width: min(320px,85vw) !important; background: rgba(var(--bg-card-rgb,255,255,255),0.65) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; border-left: 1px solid rgba(255,255,255,0.2) !important; padding: 100px 32px 40px !important; box-shadow: -4px 0 30px rgba(0,0,0,0.15) !important; transition: right 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
    .main-nav.active { right: 0 !important; }
    .main-nav .nav-link { opacity: 0 !important; transform: translateX(16px) scale(0.96) !important; transition: opacity 0.35s ease, transform 0.35s ease !important; border-bottom: 1px solid rgba(255,255,255,0.15) !important; }
    .main-nav.active .nav-link { opacity: 1 !important; transform: translateX(0) scale(1) !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:.08s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:.14s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:.20s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:.26s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:.32s !important;}
    .main-nav.active .nav-link:nth-child(6){transition-delay:.38s !important;}
    .main-nav.active .nav-link:nth-child(7){transition-delay:.44s !important;}
    .main-nav.active .nav-link:nth-child(8){transition-delay:.50s !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.659;
    letter-spacing: 0.0em;
}

.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: 26px 19px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 22px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 22px;
    border-radius: calc(var(--radius-md) + 2px);
}
.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: 21px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 22px;
    border-radius: calc(var(--radius-md) + -1px);
}

.btn-custom {
    padding: 14px 28px;
    font-size: 14px;
    letter-spacing: 0.439px;
    border-radius: calc(var(--radius-md) + 1px);
}
.btn-outline-custom {
    padding: 14px 27px;
    border-width: 1px;
}

main > section {
    padding-top: 97px;
    padding-bottom: 96px;
}
main > section:first-child {
    padding-top: 110px;
}
main > section:nth-child(2) {
    padding-top: 99px;
    padding-bottom: 91px;
}
main > section:nth-child(5) {
    padding-top: 94px;
    padding-bottom: 90px;
}
main > section:nth-child(6) {
    padding-top: 105px;
    padding-bottom: 89px;
}

.section-header {
    margin-bottom: 47px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 6px 13px rgba(0,0,0,0.051);
}

.hero-section {
    padding-top: 105px;
}
.hero-title {
    margin-bottom: 21px;
}
.hero-subtitle {
    margin-bottom: 31px;
    font-size: 17px;
    line-height: 1.561;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.926px;
    margin-bottom: 19px;
}
.hero-buttons {
    gap: 17px;
}

.hero-image img {
    border-radius: 13px;
    box-shadow: 0 11px 43px rgba(0,0,0,0.095);
}

.icon-wrap {
    width: 55px;
    height: 55px;
    font-size: 21px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 12px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.569;
}

.section-title {
    margin-bottom: 18px;
    letter-spacing: 0.052px;
}
.section-tagline {
    font-size: 13px;
    letter-spacing: 2.259px;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.694;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 32px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 7px 0;
    }
}

.site-footer {
    padding-top: 77px;
}
.footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 25px;
}
.footer-links a {
    font-size: 13px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-social {
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
}
.footer-bottom {
    padding: 25px 0;
    margin-top: 51px;
}

.form-control {
    border-radius: 6px;
    padding: 15px 18px;
    font-size: 16px;
}

.testimonial-card {
    padding: 31px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.63;
    margin-bottom: 18px;
}
.author-image {
    width: 46px;
    height: 46px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 12px;
}

.pricing-card {
    padding: 36px;
}
.plan-name {
    font-size: 22px;
    margin-bottom: 9px;
}
.plan-price {
    font-size: 40px;
    margin-bottom: 24px;
}
.plan-features li {
    padding: 8px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 40px;
    margin-bottom: 7px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.445px;
}

.team-image img {
    border-radius: 8px;
}
.team-name {
    font-size: 19px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 33px;
    margin-bottom: 11px;
    position: static !important;
    top: auto !important;
    right: auto !important;
}
.step-title {
    font-size: 18px;
    margin-bottom: 9px;
}

.wow {
    animation-duration: 0.718s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.335s;
}

.row {
    --bs-gutter-y: 25px;
}

.cta-section {
    padding: 76px 0;
}
.cta-title {
    font-size: 38px;
    margin-bottom: 18px;
}
.cta-text {
    font-size: 17px;
    margin-bottom: 31px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 9px;
    gap: 14px;
}

.site-header {
    padding: 19px 0;
}
.site-header.scrolled {
    padding: 13px 0;
}
.site-logo {
    font-size: 23px;
}
.header-cta {
    margin-left: 19px;
}

/* --- internal markers --- */
:root {
    --_ref: '519e';
    --_flag: '737f6';
}
.base-ref { outline: 0 solid transparent; unicode-bidi: normal; --_ref: 'b80e' }
.style-tag { unicode-bidi: 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; }
