/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=soft, тени=strong, отступы=normal, кнопки=asymmetric */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #D10D00;
    --accent-2: #1E7BB3;
    --accent-3: #46B718;
    --accent-gradient: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 72px;
    --fs-h2: 48px;
    --fs-h3: 32px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 900;
    
    /* Углы скругления */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 40px;
    
    /* Тени */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.14);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.18);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.22);
    
    /* Отступы секций */
    --section-padding: 80px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 20px 4px 20px 4px;
    padding: 14px 32px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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: image-tilt — наклон картинки */
.hero-image img, .about-image img {
    transform: rotate(2deg) scale(1.02);
    transition: transform 0.5s ease;
}
.hero-image:hover img, .about-image:hover img {
    transform: rotate(0deg) scale(1);
}

/* Trick: gradient-section-bg — градиентный фон секции */
.bg-secondary-custom {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Trick: card-double-border — рамка слева + снизу */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border-left: 4px solid var(--accent-1);
    border-bottom: 4px solid var(--accent-2, var(--accent-1));
    border-radius: 0;
}

/* Trick: tilt-cards — наклон карточек */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    transform: rotate(-1.5deg);
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.icon-box:hover, .service-card:hover, .blog-card:hover, .pricing-card:hover, .testimonial-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

/* Trick: diagonal-section — визуальный сдвиг через transform */
.bg-secondary-custom {
    position: relative;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    margin: 40px 0;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: minimal elegant — минимализм с тонкими линиями */
.hero-section {
    background: var(--bg-primary);
    min-height: 100vh;
    min-height: 100svh;
    border-bottom: 1px solid var(--border-color);
}
.hero-section .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-image img {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid var(--border-color);
}
.hero-tagline {
    background: none;
    padding: 0;
    letter-spacing: 5px;
    font-size: 11px;
    color: var(--text-secondary) !important;
    text-transform: uppercase;
}
.hero-title { font-weight: 400; letter-spacing: -0.5px; }
.hero-subtitle { font-size: 16px; letter-spacing: 0.3px; }
.hero-buttons .btn-primary-custom { background: var(--text-primary); border-color: var(--text-primary); }
.hero-buttons .btn-outline-custom { border-width: 1px; }

/* Header: accent full — акцентный фон */
.site-header {
    background: var(--accent-1);
    padding: 14px 0;
}
.site-header .site-logo { color: #fff; }
.site-header .nav-link { color: rgba(255,255,255,0.85) !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff !important; }
.site-header .nav-link::after { background: #fff; }
.site-header .header-cta { background: #fff !important; color: var(--accent-1) !important; border-color: #fff !important; }
.site-header .mobile-toggle .burger-line { background: #fff; }
.site-header.scrolled { background: var(--accent-1); box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-1) 40%, transparent); padding: 10px 0; }

/* Footer: magazine — журнальный стиль */
.site-footer {
    background: #f8f6f3;
    color: var(--text-secondary);
    padding-top: 80px;
    border-top: 4px double 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 h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: var(--text-primary); }
.footer-widget .widget-title {
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 12px;
}
.footer-widget .widget-title::after { display: none; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-social a { border-radius: 0; background: var(--text-primary); color: #f8f6f3; border: none; }
.footer-social a:hover { background: var(--accent-1); }
.footer-bottom { border-top: 1px solid var(--text-primary); }
.footer-bottom p { color: var(--text-secondary); font-style: italic; }

/* 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: pill bg — фон-капсула */
.site-logo { font-size: 16px; font-weight: 700; background: var(--accent-1); color: #fff !important; padding: 8px 20px; border-radius: var(--radius-pill); letter-spacing: 1px; }
.site-logo:hover { color: #fff; opacity: 0.9; }

/* 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; }

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: ghost — полупрозрачный стеклянный фон */
.mobile-toggle { width: 42px; height: 42px; gap: 5px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); border-radius: var(--radius-md, 8px); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mobile-toggle .burger-line { width: 20px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle:hover { background: rgba(255,255,255,0.16); }
.mobile-toggle.active { border-color: var(--accent-1); background: rgba(var(--accent-1-rgb, 99,102,241), 0.15); }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Effect: divider-double-line */
main > section + section::before{content:'';display:block;width:100px;height:6px;border-top:2px solid var(--accent-1);border-bottom:2px solid var(--accent-1);margin:15px auto;opacity:0.3;}

/* Effect: cursor-highlight-row */
.cursor-highlight-row{position:fixed;left:0;width:100%;height:40px;pointer-events:none;z-index:99998;background:linear-gradient(180deg,transparent,var(--accent-1),transparent);opacity:0.015;transition:top 0.08s;}

/* Effect: scrollbar-numbers */
.scroll-nums{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:9990;display:flex;flex-direction:column;gap:16px;font-size:11px;font-weight:700;opacity:0.3;font-family:var(--font-body);}.scroll-nums span{cursor:pointer;transition:all 0.3s;}.scroll-nums span.active{color:var(--accent-1);opacity:1;transform:scale(1.5);}@media(max-width:768px){.scroll-nums{display:none;}}

/* 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: scroll-flip-vertical — Flip Vertical — секции переворачиваются вокруг горизонтальной оси */
/* Scroll: flip-vertical — секции откидываются как страницы книги */
main {
    perspective: 1500px;
}
main > section {
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.8s ease;
    transform-origin: center top;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}
main > section.flip-away {
    transform: rotateX(-60deg);
    opacity: 0;
}
main > section.flip-pending {
    transform: rotateX(60deg);
    opacity: 0;
}
main > section.in-view {
    transform: rotateX(0);
    opacity: 1;
}
.hero-section { transform: none !important; opacity: 1 !important; backface-visibility: visible !important; }
@media (max-width: 768px) {
    main { perspective: none; }
    main > section { backface-visibility: visible; }
    main > section.flip-away,
    main > section.flip-pending { transform: translateY(30px); }
}

/* 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: pulse-scroll-hint — Анимированная стрелка «скролль вниз» в hero */
.scroll-hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;opacity:0.5;animation:scrollHintBounce 2s ease-in-out infinite;z-index:10;}.scroll-hint span{display:block;width:24px;height:24px;border-right:2px solid var(--text-primary);border-bottom:2px solid var(--text-primary);transform:rotate(45deg);}@keyframes scrollHintBounce{0%,100%{transform:translateX(-50%) translateY(0);opacity:0.5;}50%{transform:translateX(-50%) translateY(12px);opacity:1;}}

/* Effect: spin-counter-numbers — Счётчики крутятся как слот при появлении */
.counter-spin{animation:counterSlot 0.8s cubic-bezier(0.16,1,0.3,1) forwards;}@keyframes counterSlot{0%{transform:translateY(100%);filter:blur(4px);}100%{transform:translateY(0);filter:blur(0);}}

/* Effect: marquee-accent-bg — Бегущая строка с акцентным фоном */
.js-marquee{overflow:hidden;padding:14px 0;background:var(--accent-1);}.js-marquee-inner{display:flex;gap:40px;white-space:nowrap;animation:jsMarquee 20s linear infinite;}.js-marquee-inner span{font-size:16px;font-weight:600;text-transform:uppercase;letter-spacing:3px;color:var(--bg-primary);flex-shrink:0;opacity:0.9;}.js-marquee-inner span.sep{opacity:0.5;}@keyframes jsMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* 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;
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.626;
    letter-spacing: 0.011em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 31px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 23px 24px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 34px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 33px;
    border-radius: calc(var(--radius-md) + 1px);
}

.btn-custom {
    padding: 16px 26px;
    font-size: 14px;
    letter-spacing: 0.445px;
    border-radius: calc(var(--radius-md) + 3px);
}
.btn-outline-custom {
    padding: 15px 25px;
    border-width: 1px;
}

main > section {
    padding-top: 99px;
    padding-bottom: 101px;
}
main > section:first-child {
    padding-top: 107px;
}
main > section:nth-child(5) {
    padding-top: 93px;
    padding-bottom: 106px;
}

.section-header {
    margin-bottom: 48px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 2px 13px rgba(0,0,0,0.062);
}

.hero-section {
    padding-top: 114px;
}
.hero-title {
    margin-bottom: 23px;
}
.hero-subtitle {
    margin-bottom: 33px;
    font-size: 17px;
    line-height: 1.611;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.776px;
    margin-bottom: 25px;
}
.hero-buttons {
    gap: 16px;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 9px 27px rgba(0,0,0,0.086);
}

.icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 21px;
    border-radius: 13px;
    margin-bottom: 19px;
}

.icon-title, .card-title {
    font-size: 20px;
    margin-bottom: 11px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.627;
}

.section-title {
    margin-bottom: 17px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 2.332px;
    margin-bottom: 14px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.673;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 32px;
    }
    .main-nav .nav-link {
        font-size: 14px;
        padding: 9px 0;
    }
}

.site-footer {
    padding-top: 73px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 22px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-social {
    gap: 12px;
}
.footer-social a {
    width: 37px;
    height: 37px;
}
.footer-bottom {
    padding: 25px 0;
    margin-top: 58px;
}

.form-control {
    border-radius: 5px;
    padding: 14px 16px;
    font-size: 14px;
}

.testimonial-card {
    padding: 28px;
}
.quote-text {
    font-size: 16px;
    line-height: 1.699;
    margin-bottom: 16px;
}
.author-image {
    width: 48px;
    height: 48px;
}
.author-name {
    font-size: 16px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 34px;
}
.plan-name {
    font-size: 18px;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 44px;
    margin-bottom: 19px;
}
.plan-features li {
    padding: 8px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 42px;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.423px;
}

.team-image img {
    border-radius: 14px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 2px;
}
.team-role {
    font-size: 14px;
}

.step-number {
    font-size: 33px;
    margin-bottom: 9px;
}
.step-title {
    font-size: 18px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.7s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.291s;
}

.row {
    --bs-gutter-y: 30px;
}

.cta-section {
    padding: 90px 0;
}
.cta-title {
    font-size: 34px;
    margin-bottom: 20px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 24px;
}

.blog-card .card-image img {
    border-radius: 8px 8px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 8px;
    gap: 14px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 18px 0;
}
.site-logo {
    font-size: 22px;
}
.header-cta {
    margin-left: 19px;
}

/* --- internal markers --- */
:root {
    --_gen: 'e831c8';
    --_seed: 'df48e79a';
    --_build: 2.59;
    --_stamp: 'e803fd';
    --_tag: 13568;
}
.init-marker { outline: 0 solid transparent }
.ctx-mark { visibility: inherit; font-variant: normal; vertical-align: baseline }
.a11y-skip { display: inherit; font-style: 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; }

/* .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; }

/* ═══ MOBILE HORIZONTAL OVERFLOW FIX ═══ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 992px) {
    /* Rotated cards can protrude outside viewport on small screens */
    .icon-box,
    .service-card,
    .blog-card,
    .pricing-card,
    .testimonial-card {
        transform: none !important;
    }

    /* Keep heavy sections from creating accidental horizontal scroll */
    main,
    main > section,
    .container,
    .container-fluid {
        overflow-x: clip;
    }

    /* Contact timeline markers: reduce left offset on mobile */
    #process .col-lg-8 > div[style*="padding-left:50px"] {
        padding-left: 36px !important;
    }
    #process .wow > div:first-child[style*="left:-42px"] {
        left: -28px !important;
    }
}
