/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=round, тени=none, отступы=ultra-compact, кнопки=chunky */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #3597E1;
    --accent-2: #DC67B5;
    --accent-3: #8ACF24;
    --accent-gradient: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 30px;
    --fs-body: 17px;
    
    /* Вес заголовков */
    --fw-bold: 600;
    
    /* Углы скругления */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    
    /* Отступы секций */
    --section-padding: 40px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 8px;
    padding: 18px 36px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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: 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: 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;
}

/* Trick: card-stack-shadow — тень-стопка ::after */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    position: relative;
}
.icon-box::after, .service-card::after {
    content: '';
    position: absolute;
    inset: 8px 8px -8px -8px;
    background: var(--accent-1);
    opacity: 0.12;
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.3s;
}
.icon-box:hover::after, .service-card:hover::after {
    opacity: 0.22;
}

/* Trick: card-top-accent-bar — акцентная полоса сверху */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border-top: 4px solid var(--accent-1);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Trick: btn-fill-up — заливка снизу */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255,255,255,0.15);
    transition: height 0.35s ease;
    z-index: -1;
}
.btn-primary-custom:hover::before {
    height: 100%;
}

/* Trick: grayscale-hover — ч/б по умолчанию, цвет при hover */
.hero-image img, .about-image img, .portfolio-item img, .team-image img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.hero-image:hover img, .about-image:hover img,
.portfolio-item:hover img, .team-card:hover .team-image img {
    filter: grayscale(0%);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: gradient blob — градиентные круги за контентом */
.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent-1);
    opacity: 0.08;
    top: -100px;
    right: -100px;
    filter: blur(80px);
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--accent-2, var(--accent-1));
    opacity: 0.06;
    bottom: -50px;
    left: -50px;
    filter: blur(60px);
    z-index: 0;
}
.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.hero-content { position: relative; z-index: 2; }
.hero-tagline { background: linear-gradient(135deg, var(--accent-1), var(--accent-2, var(--accent-1))); color: #fff !important; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; padding: 0; }

/* Header: mono flat — плоский монохромный */
.site-header {
    background: var(--bg-primary);
    padding: 20px 0;
    border-bottom: none;
}
.site-header.scrolled {
    background: var(--bg-primary);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.site-logo { font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; }
.main-nav .nav-link { color: var(--text-muted) !important; font-size: 13px; letter-spacing: 0.5px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--text-primary) !important; }
.main-nav .nav-link::after { display: none; }
.header-cta { background: transparent !important; color: var(--text-primary) !important; border: 1px solid var(--text-primary) !important; border-radius: 0 !important; font-size: 12px !important; letter-spacing: 1px; text-transform: uppercase; }

/* Footer: bordered grid — сетка с рамками */
.site-footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding-top: 0;
    border-top: 1px solid var(--border-color);
}
.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 h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: var(--text-primary); }
.site-footer .row > [class*="col-"] { padding: 40px 24px; border-right: 1px solid var(--border-color); }
.site-footer .row > [class*="col-"]:last-child { border-right: none; }
.footer-widget .widget-title { color: var(--text-primary); text-transform: uppercase; font-size: 12px; letter-spacing: 2px; }
.footer-widget .widget-title::after { display: none; }
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--accent-1); }
.footer-social a { background: var(--bg-secondary); border-color: var(--border-color); color: var(--text-secondary); border-radius: 0; }
.footer-social a:hover { background: var(--accent-1); color: #fff; border-color: var(--accent-1); }
.footer-bottom { border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); }

/* Contact: dark panel — тёмная панель формы */
.contact-section .form-custom {
    background: var(--footer-dark-bg);
    padding: 48px;
    border-radius: var(--radius-lg);
}
.contact-section .form-custom .form-control {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: var(--radius-sm);
}
.contact-section .form-custom .form-control::placeholder { color: rgba(255,255,255,0.4); }
.contact-section .form-custom .form-control:focus { border-color: var(--accent-1); background: rgba(255,255,255,0.12); }
.contact-section .form-custom .btn-custom { background: #fff; color: var(--footer-dark-bg); border-color: #fff; }
.contact-section .form-custom label { color: rgba(255,255,255,0.7); }

/* Logo: badge — значок/бейдж */
.site-logo { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border: 2px solid var(--text-primary); padding: 6px 16px; border-radius: 0; }

/* Headings: large bold — крупные жирные */
.icon-title, .card-title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.step-title { font-size: 20px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 700; }
h5 { font-size: 16px; font-weight: 600; }

/* Img: hero — диагональный срез */
.hero-image img {
    clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

/* Img: cards — скругление только сверху */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: modern square — современная квадратная кнопка */
.mobile-toggle { 
    width: 48px; 
    height: 48px; 
    gap: 6px; 
    border: none;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(255, 81, 1, 0.25);
    transition: all 0.35s ease;
}
.mobile-toggle .burger-line { 
    width: 22px; 
    height: 2.5px; 
    background: #fff;
    border-radius: 2px; 
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease; 
}
.mobile-toggle:hover { 
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(255, 81, 1, 0.35);
}
.mobile-toggle.active { box-shadow: 0 4px 16px rgba(255, 81, 1, 0.2); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Effect: divider-plus */
main > section + section::before{content:'+';display:block;text-align:center;color:var(--accent-1);opacity:0.2;font-size:24px;font-weight:300;padding:8px 0;}

/* Effect: cursor-ring */
.cursor-ring{position:fixed;width:36px;height:36px;border:2px solid var(--accent-1);border-radius:50%;pointer-events:none;z-index:99999;transition:width 0.3s,height 0.3s,border-color 0.3s,transform 0.08s;transform:translate(-50%,-50%);opacity:0.6;}.cursor-ring.hover{width:50px;height:50px;border-color:var(--accent-2,var(--accent-1));opacity:1;}

/* 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-slide-left */
.icon-box,.service-card{opacity:0;animation:slideLeft 0.6s ease forwards;}.row>[class*="col"]:nth-child(odd) .icon-box,.row>[class*="col"]:nth-child(odd) .service-card{animation-name:slideLeft;}.row>[class*="col"]:nth-child(even) .icon-box,.row>[class*="col"]:nth-child(even) .service-card{animation-name:slideRight;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.1s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.2s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.3s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.4s;}@keyframes slideLeft{from{opacity:0;transform:translateX(-40px);}to{opacity:1;transform:translateX(0);}}@keyframes slideRight{from{opacity:0;transform:translateX(40px);}to{opacity:1;transform:translateX(0);}}

/* Effect: 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-tilt-3d — Карточки слегка поворачиваются в 3D при наведении */
.icon-box,.service-card,.blog-card,.testimonial-card,.pricing-card{transition:transform 0.4s ease,box-shadow 0.4s ease;transform-style:preserve-3d;will-change:transform;}

/* Effect: pulse-dot-indicator — Пульсирующая точка рядом с заголовком hero */
.pulse-dot{display:inline-block;width:10px;height:10px;background:var(--accent-1);border-radius:50%;margin-left:10px;vertical-align:middle;animation:pulseDot 2s ease-in-out infinite;}@keyframes pulseDot{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(1.8);opacity:0.3;}}

/* Effect: tex-halftone-dots — Полутоновая растровая сетка — газетный стиль */
/* Texture: halftone-dots — растровый полутон */
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-image: radial-gradient(var(--accent-1) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    background-position: 0 0;
    mask-image: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
}
.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 .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: side-panel — выезжающее боковое меню слева */
@media (max-width: 992px) {
    .main-nav { 
        display: flex !important; 
        flex-direction: column !important; 
        position: fixed !important; 
        top: 0 !important; 
        bottom: 0 !important;
        left: -100% !important; 
        width: 280px !important; 
        height: 100vh !important;
        background: var(--bg-secondary) !important; 
        padding: 100px 24px 40px !important; 
        box-shadow: 4px 0 24px rgba(0,0,0,0.3) !important; 
        transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important; 
        z-index: 10000 !important; 
        overflow-y: auto !important;
        border-radius: 0 !important;
    }
    .main-nav::before { display: none !important; }
    .main-nav.active { left: 0 !important; }
    .main-nav .nav-link { 
        font-size: 16px !important;
        padding: 16px 12px !important; 
        opacity: 0.7 !important; 
        transition: opacity 0.2s ease, color 0.2s ease !important; 
        border-bottom: none !important; 
        text-align: left !important;
    }
    .main-nav .nav-link:hover { opacity: 1 !important; color: var(--accent-1) !important; }
    .main-nav.active .nav-link { opacity: 1 !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:0s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:0s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:0s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:0s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:0s !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.627;
    letter-spacing: 0.004em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 25px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 27px 17px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 26px;
    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: 25px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + -1px);
}

.btn-custom {
    padding: 16px 27px;
    font-size: 14px;
    letter-spacing: 0.395px;
    border-radius: calc(var(--radius-md) + 1px);
}
.btn-outline-custom {
    padding: 15px 29px;
    border-width: 2px;
}

main > section {
    padding-top: 92px;
    padding-bottom: 91px;
}
main > section:first-child {
    padding-top: 102px;
}
main > section:nth-child(2) {
    padding-top: 98px;
    padding-bottom: 98px;
}
main > section:nth-child(6) {
    padding-top: 92px;
    padding-bottom: 90px;
}

.section-header {
    margin-bottom: 51px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 5px 13px rgba(0,0,0,0.069);
}

.hero-section {
    padding-top: 122px;
}
.hero-title {
    margin-bottom: 28px;
}
.hero-subtitle {
    margin-bottom: 42px;
    font-size: 18px;
    line-height: 1.581;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.664px;
    margin-bottom: 22px;
}
.hero-buttons {
    gap: 11px;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 12px 45px rgba(0,0,0,0.137);
}

.icon-wrap {
    width: 51px;
    height: 51px;
    font-size: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.icon-title, .card-title {
    font-size: 19px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.551;
}

.section-title {
    margin-bottom: 19px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 2.798px;
    margin-bottom: 12px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.684;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 27px;
    }
    .main-nav .nav-link {
        font-size: 15px;
        padding: 6px 0;
    }
}

.site-footer {
    padding-top: 68px;
}
.footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 22px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
}
.footer-bottom {
    padding: 18px 0;
    margin-top: 45px;
}

.form-control {
    border-radius: 7px;
    padding: 13px 17px;
    font-size: 14px;
}

.testimonial-card {
    padding: 31px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.608;
    margin-bottom: 19px;
}
.author-image {
    width: 45px;
    height: 45px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 40px;
}
.plan-name {
    font-size: 21px;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 41px;
    margin-bottom: 22px;
}
.plan-features li {
    padding: 9px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 38px;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.331px;
}

.team-image img {
    border-radius: 7px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 2px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 27px;
    margin-bottom: 9px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 8px;
}

.wow {
    animation-duration: 0.709s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.315s;
}

.row {
    --bs-gutter-y: 32px;
}

.cta-section {
    padding: 88px 0;
}
.cta-title {
    font-size: 35px;
    margin-bottom: 14px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.blog-card .card-image img {
    border-radius: 10px 10px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 6px;
    gap: 15px;
}

.site-header {
    padding: 19px 0;
}
.site-header.scrolled {
    padding: 14px 0;
}
.site-logo {
    font-size: 24px;
}
.header-cta {
    margin-left: 20px;
}

/* --- internal markers --- */
:root {
    --_stamp: 3.51;
    --_run: '4c8fa0';
    --_tag: 58243;
}
.page-ref { pointer-events: auto }
.bind-ref { font-variant: normal }
.env-flag { --_stamp: 516; box-sizing: border-box; unicode-bidi: normal }
.node-stub { pointer-events: auto; unicode-bidi: normal; display: inherit }


/* ═══════════════════════════════════════════════════════ */
/* 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; }

/* .bg-primary-custom — DARK bg → light 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: #fff !important; }
.bg-primary-custom { color: rgba(255,255,255,0.85) !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: rgba(255,255,255,0.78) !important; }
.bg-primary-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-primary-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-primary-custom .counter-number { color: #fff !important; }
.bg-primary-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-secondary-custom — DARK bg → light 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: #fff !important; }
.bg-secondary-custom { color: rgba(255,255,255,0.85) !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: rgba(255,255,255,0.78) !important; }
.bg-secondary-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-secondary-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-secondary-custom .counter-number { color: #fff !important; }
.bg-secondary-custom .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; }

/* ═══ MOBILE OVERLAY STYLES ═══ */
@media (max-width: 992px) {
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}
