/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=round, тени=none, отступы=breathable, кнопки=square */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #38E42D;
    --accent-2: #197FCD;
    --accent-3: #E157EC;
    --accent-gradient: linear-gradient(160deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 40px;
    --fs-h2: 30px;
    --fs-h3: 22px;
    --fs-body: 15px;
    
    /* Вес заголовков */
    --fw-bold: 900;
    
    /* Углы скругления */
    --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: 140px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 2px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: card-asymmetric-radius — неравномерное скругление */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border-radius: 32px 6px 32px 6px;
}

/* Trick: odd-card-lift — нечётные карточки приподняты */
.row > [class*="col"]:nth-child(odd) .icon-box,
.row > [class*="col"]:nth-child(odd) .service-card {
    transform: translateY(-10px);
}
.row > [class*="col"]:nth-child(even) .icon-box,
.row > [class*="col"]:nth-child(even) .service-card {
    transform: translateY(10px);
}

/* 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;
}

/* Trick: btn-arrow-hover — стрелка появляется при hover */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
    padding-right: 28px;
    transition: padding-right 0.3s;
}
.btn-primary-custom::after {
    content: '\2192';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s;
}
.btn-primary-custom:hover {
    padding-right: 40px;
}
.btn-primary-custom:hover::after {
    right: 16px;
}

/* Trick: section-left-bar — акцентная вертикаль слева */
main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section) { border-left: 4px solid var(--accent-1); }
.hero-section { border-left: none !important; }

/* Trick: 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%);
}

/* Trick: testimonial-quotes — кавычки-акцент */
.testimonial-card {
    position: relative;
    padding-top: 50px;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 72px;
    line-height: 1;
    color: var(--accent-1);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: centered image top — картинка сверху, текст снизу */
.hero-section { text-align: center; padding-top: 100px; }
.hero-image {
    max-width: 900px;
    margin: 0 auto 40px;
}
.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}
.hero-content { max-width: 700px; margin: 0 auto; }
.hero-buttons { justify-content: center; }
.hero-tagline { margin-bottom: 16px; }

/* Header: underline nav — жирные подчёркивания */
.site-header { background: var(--bg-primary); padding: 18px 0; border-bottom: 2px solid var(--text-primary); }
.main-nav .nav-link { font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; }
.main-nav .nav-link::after { height: 3px; background: var(--accent-1); bottom: -4px; border-radius: 0; }
.site-header.scrolled { background: var(--bg-primary); box-shadow: none; border-bottom-color: var(--accent-1); }

/* Footer: minimal thin — ультраминималистичный */
.site-footer {
    background: var(--bg-primary);
    color: var(--text-muted);
    padding: 40px 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-muted); }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: var(--text-secondary); }
.footer-widget .widget-title { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); }
.footer-widget .widget-title::after { display: none; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-social a { width: 32px; height: 32px; font-size: 13px; background: none; border: none; color: var(--text-muted); }
.footer-social a:hover { color: var(--accent-1); background: none; }
.footer-bottom { border-top: none; padding-top: 20px; margin-top: 20px; }
.footer-bottom p { color: var(--text-muted); font-size: 12px; }

/* Contact: clean card — форма на чистой карточке */
.contact-section .form-custom {
    background: var(--bg-card, #fff);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.contact-section .form-control { border-radius: var(--radius-md); padding: 14px 18px; }
.contact-section .btn-custom { width: 100%; padding: 16px; }

/* Logo: italic serif — курсивный с засечками */
.site-logo { font-family: 'DM Serif Display', 'Georgia', serif; font-size: 28px; font-weight: 400; font-style: italic; }

/* Headings: highlight bg — фон-выделение */
.icon-title, .card-title {
    display: inline;
    background: linear-gradient(transparent 55%, rgba(var(--accent-1-rgb, 37,99,235), 0.12) 55%);
    padding: 0 4px;
    font-weight: 700;
}

/* Img: cards — срезанный угол */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

/* Img: section — контур со смещением */
section:not(.hero-section) .col-lg-6 img, section:not(.hero-section) .col-lg-5 img, .about-section img, section img.rounded {
    outline: 2px solid var(--accent-1);
    outline-offset: 8px;
    border-radius: var(--radius-md);
}

/* ═══ 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-dots */
main > section + section::before{content:'\2022  \2022  \2022';display:block;text-align:center;color:var(--accent-1);opacity:0.4;font-size:18px;letter-spacing:8px;padding:20px 0;}

/* Effect: cursor-crosshair */
.cursor-cross-h,.cursor-cross-v{position:fixed;pointer-events:none;z-index:99998;background:var(--accent-1);opacity:0.06;}.cursor-cross-h{width:100%;height:1px;left:0;}.cursor-cross-v{width:1px;height:100%;top:0;}

/* 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-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: typewriter-hero */
.typewriter-cursor{display:inline-block;width:2px;height:1em;background:var(--accent-1);margin-left:4px;animation:twBlink 0.7s step-end infinite;vertical-align:text-bottom;}@keyframes twBlink{50%{opacity:0;}}

/* Effect: deco-rising-bubbles */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;bottom:-20px;border-radius:50%;background:var(--accent-1);opacity:0.02;animation:decoBubble 16s ease-in infinite;}@keyframes decoBubble{0%{transform:translateY(0) scale(1);opacity:0.02;}80%{opacity:0.015;}100%{transform:translateY(-110vh) scale(0.4);opacity:0;}}

/* Effect: scroll-alternate-slide — Alternate Slide — чётные секции уходят влево, нечётные вправо */
/* Scroll: alternate-slide — попеременное скольжение */
main > section {
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s ease;
    will-change: transform, opacity;
    opacity: 0;
}
main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section) { transform: translateY(40px); }
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { transform: translateY(40px); }
main > section.in-view {
    transform: translateY(0);
    opacity: 1;
}
.hero-section { transform: none !important; opacity: 1 !important; }
@media (max-width: 768px) {
    main > section:nth-child(odd):not(.cta-section):not(.bg-dark-section),
    main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { transform: translateY(30px); }
}

/* 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-cursor-text-follow — Текст-подсказка следует за курсором на карточках */
.hover-tooltip{position:fixed;padding:6px 14px;background:var(--text-primary);color:#fff;font-size:11px;font-weight:600;border-radius:var(--radius-sm);pointer-events:none;z-index:99999;opacity:0;transition:opacity 0.2s;font-family:var(--font-body);letter-spacing:0.5px;white-space:nowrap;}

/* Effect: hover-card-bg-accent — Фон карточки плавно становится акцентным при наведении */
.icon-box,.service-card{transition:background 0.4s ease,color 0.4s ease,border-color 0.4s ease,box-shadow 0.4s ease;}.icon-box:hover,.service-card:hover{background:var(--accent-1) !important;border-color:var(--accent-1) !important;box-shadow:0 12px 30px rgba(0,0,0,0.15) !important;}.icon-box:hover .icon-title,.icon-box:hover .icon-text,.icon-box:hover i,.service-card:hover .card-title,.service-card:hover .card-text{color:#fff !important;}.icon-box:hover .icon-wrap{background:rgba(255,255,255,0.15) !important;color:#fff !important;}

/* 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: pulse-taglines — Тэглайны секций мягко пульсируют цветом */
.section-tagline{animation:taglinePulse 3s ease-in-out infinite;}@keyframes taglinePulse{0%,100%{opacity:1;}50%{opacity:0.5;}}

/* Effect: float-cross-particles — Мелкие крестики плавают и вращаются */
.float-shapes{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.float-cross{position:absolute;width:16px;height:16px;opacity:0.035;animation:crossFloat 20s ease-in-out infinite alternate;}.float-cross::before,.float-cross::after{content:'';position:absolute;background:var(--accent-1);border-radius:1px;}.float-cross::before{width:100%;height:2px;top:50%;transform:translateY(-50%);}.float-cross::after{width:2px;height:100%;left:50%;transform:translateX(-50%);}@keyframes crossFloat{0%{transform:rotate(0deg) translate(0,0);}100%{transform:rotate(180deg) translate(30px,-50px);}}

/* Effect: shimmer-iridescent-hero — Радужный перелив на hero-фоне */
.hero-section::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,0,150,0.03),rgba(0,150,255,0.03),rgba(255,200,0,0.02),rgba(0,255,150,0.03),rgba(150,0,255,0.03));background-size:500% 500%;animation:iridescentShift 15s ease infinite;pointer-events:none;z-index:0;}.hero-section{position:relative;}@keyframes iridescentShift{0%,100%{background-position:0% 50%;}25%{background-position:50% 0%;}50%{background-position:100% 50%;}75%{background-position:50% 100%;}}

/* Effect: shimmer-loading-skeleton — Карточки мерцают как скелет-лоадер при появлении */
.shimmer-reveal{position:relative;overflow:hidden;}.shimmer-reveal::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.08) 50%,transparent 100%);transform:translateX(-100%);animation:shimmerLoad 1.5s ease forwards;}@keyframes shimmerLoad{to{transform:translateX(100%);}}

/* Effect: tex-marble-veins — Мраморные прожилки — тонкие извилистые линии */
/* Texture: marble-veins — мрамор */
main > section:nth-child(odd):not(:first-child) { position: relative; overflow: clip; }
main > section:nth-child(odd):not(:first-child)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.015 0.08' numOctaves='5' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: 512px 512px;
    mix-blend-mode: overlay;
}
.hero-section::before { display: none !important; }

/* Effect: tex-bokeh-lights — Боке — мягкие размытые световые круги */
/* Texture: bokeh-lights — размытые огни */
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section) { position: relative; overflow: clip; }
main > section:nth-child(even):not(.cta-section):not(.bg-dark-section)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background:
        radial-gradient(circle 60px at 15% 25%, var(--accent-1), transparent),
        radial-gradient(circle 90px at 80% 15%, var(--accent-2, var(--accent-1)), transparent),
        radial-gradient(circle 45px at 45% 70%, var(--accent-1), transparent),
        radial-gradient(circle 75px at 70% 60%, var(--accent-2, var(--accent-1)), transparent),
        radial-gradient(circle 50px at 25% 85%, var(--accent-1), transparent),
        radial-gradient(circle 110px at 90% 80%, var(--accent-2, var(--accent-1)), transparent),
        radial-gradient(circle 35px at 55% 35%, var(--accent-1), transparent);
}
.hero-section::before { display: none !important; }

/* Fallback: без JS секции видимы сразу */
html:not(.js-fx) main > section {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
}

/* ═══ DESKTOP NAV OVERFLOW SAFETY-NET ═══ */
/* Не даём nav-ссылкам переполнять хедер при большом числе вкладок */
@media (min-width: 993px) {
    .header-inner {
        flex-wrap: nowrap;
        overflow: visible;
    }
    .main-nav {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: clamp(10px, 1.8vw, 36px) !important;
    }
    .main-nav .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        padding: 8px 0;
        flex-shrink: 0;
    }
    /* Centered-logo split groups — адаптивный gap */
    .nav-group-left, .nav-group-right {
        gap: clamp(8px, 1.4vw, 32px) !important;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .nav-group-left .nav-link,
    .nav-group-right .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        flex-shrink: 0;
    }
    /* CTA-кнопка не сжимается */
    .header-cta {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .site-logo {
        flex-shrink: 0;
    }
}

/* ═══ TWO-LAYER HEADER FIX ═══ */
/* Вариант "Nav with Top Bar" — фиксируем top-bar (div) над хедером.
   Используем div.bg-secondary-custom (не section!) чтобы не зацепить секции. */
div.bg-secondary-custom:not(.section-padding) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
div.bg-secondary-custom:not(.section-padding) + .site-header {
    top: 33px;
    transition: top 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
/* При скролле: top-bar скрывается, header прижимается к верху */
div.bg-secondary-custom.top-bar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
div.bg-secondary-custom.top-bar-hidden + .site-header,
div.bg-secondary-custom:not(.section-padding) + .site-header.scrolled {
    top: 0;
}
/* Компенсируем дополнительную высоту top-bar для hero */
div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
    padding-top: 200px;
}

/* Мобильная адаптация top-bar */
@media (max-width: 992px) {
    div.bg-secondary-custom:not(.section-padding) {
        position: relative;
        z-index: auto;
        font-size: 11px;
        padding: 4px 0;
    }
    div.bg-secondary-custom:not(.section-padding) + .site-header {
        top: 0;
    }
    div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
        padding-top: 140px;
    }
}


/* ═══ MOBILE MENU SAFETY-NET ═══ */
@media (max-width: 992px) {
    /* Бургер-кнопка — ВСЕГДА видима и кликабельна */
    .mobile-toggle {
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        z-index: 10001 !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-toggle .burger-line {
        pointer-events: none;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    /* Мобильная панель навигации — правильное позиционирование */
    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }
    /* Ссылки навигации — крупные, читаемые, кликабельные */
    .main-nav .nav-link {
        font-size: 18px !important;
        padding: 14px 0 !important;
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
    }
    .main-nav .nav-link::after { display: none !important; }
    .header-cta { display: none !important; }
    /* CTA-кнопка скрыта на мобильном (меню важнее) */
    .nav-group-left, .nav-group-right { display: none !important; }
}


/* ═══ MOBILE MENU PANEL DESIGN ═══ */
/* Mobile Menu: slide-left-stagger — левая панель, пункты выезжают с левой стороны */
@media (max-width: 992px) {
    .main-nav { left: -100% !important; right: auto !important; width: min(300px,80vw) !important; background: var(--bg-primary) !important; padding: 100px 28px 40px !important; box-shadow: 8px 0 40px rgba(0,0,0,0.2) !important; border-right: 2px solid var(--border-color) !important; transition: left 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
    .main-nav.active { left: 0 !important; }
    .main-nav .nav-link { opacity: 0 !important; transform: translateX(-20px) !important; transition: opacity 0.3s ease, transform 0.3s ease !important; border-bottom: 1px solid var(--border-color) !important; }
    .main-nav.active .nav-link { opacity: 1 !important; transform: translateX(0) !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:.06s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:.12s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:.18s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:.24s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:.30s !important;}
    .main-nav.active .nav-link:nth-child(6){transition-delay:.36s !important;}
    .main-nav.active .nav-link:nth-child(7){transition-delay:.42s !important;}
    .main-nav.active .nav-link:nth-child(8){transition-delay:.48s !important;}
}


/* ═══ BLUR SAFETY-NET ═══ */
/* Cards/content blocks: cap backdrop-filter blur at 8px, ensure solid-enough bg */
.icon-box,
.service-card,
.blog-card,
.pricing-card,
.feature-card,
.team-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
/* Guarantee text inside cards is never blurred by filter */
.icon-box *,
.service-card *,
.blog-card *,
.pricing-card *,
.feature-card * {
    filter: none !important;
}
/* Animation safety: blurIn cards MUST reach final state even if animation fails */
@supports (animation: none) {
    .icon-box, .service-card, .blog-card {
        animation-fill-mode: forwards !important;
    }
}
/* Spacing for blog-cards stacked vertically in the same column (density expansion) */
.blog-card + .blog-card {
    margin-top: 1.5rem;
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.654;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 29px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 25px 22px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + -1px);
}

.btn-custom {
    padding: 15px 27px;
    font-size: 14px;
    letter-spacing: 0.277px;
    border-radius: calc(var(--radius-md) + 0px);
}
.btn-outline-custom {
    padding: 16px 28px;
    border-width: 1px;
}

main > section {
    padding-top: 75px;
    padding-bottom: 81px;
}
main > section:first-child {
    padding-top: 80px;
}
main > section:nth-child(3) {
    padding-top: 77px;
    padding-bottom: 68px;
}

.section-header {
    margin-bottom: 58px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 5px 12px rgba(0,0,0,0.056);
}

.hero-section {
    padding-top: 111px;
}
.hero-title {
    margin-bottom: 24px;
}
.hero-subtitle {
    margin-bottom: 32px;
    font-size: 19px;
    line-height: 1.621;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.2px;
    margin-bottom: 18px;
}
.hero-buttons {
    gap: 13px;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 14px 42px rgba(0,0,0,0.159);
}

.icon-wrap {
    width: 57px;
    height: 57px;
    font-size: 23px;
    border-radius: 10px;
    margin-bottom: 17px;
}

.icon-title, .card-title {
    font-size: 20px;
    margin-bottom: 8px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.615;
}

.section-title {
    margin-bottom: 19px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 13px;
    letter-spacing: 3.5px;
    margin-bottom: 14px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.639;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 29px;
    }
    .main-nav .nav-link {
        font-size: 15px;
        padding: 8px 0;
    }
}

.site-footer {
    padding-top: 66px;
}
.footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 19px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 11px;
}
.footer-social a {
    width: 40px;
    height: 40px;
}
.footer-bottom {
    padding: 19px 0;
    margin-top: 47px;
}

.form-control {
    border-radius: 11px;
    padding: 12px 19px;
    font-size: 14px;
}

.testimonial-card {
    padding: 31px;
}
.quote-text {
    font-size: 16px;
    line-height: 1.667;
    margin-bottom: 20px;
}
.author-image {
    width: 51px;
    height: 51px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 32px;
}
.plan-name {
    font-size: 22px;
    margin-bottom: 5px;
}
.plan-price {
    font-size: 44px;
    margin-bottom: 24px;
}
.plan-features li {
    padding: 10px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 38px;
    margin-bottom: 7px;
}
.counter-label {
    font-size: 13px;
    letter-spacing: 0.531px;
}

.team-image img {
    border-radius: 16px;
}
.team-name {
    font-size: 19px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 28px;
    margin-bottom: 14px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.708s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.253s;
}

.row {
    --bs-gutter-y: 27px;
}

.cta-section {
    padding: 78px 0;
}
.cta-title {
    font-size: 38px;
    margin-bottom: 12px;
}
.cta-text {
    font-size: 17px;
    margin-bottom: 32px;
}

.blog-card .card-image img {
    border-radius: 13px 13px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 9px;
    gap: 11px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 19px 0;
}
.site-logo {
    font-size: 21px;
}
.header-cta {
    margin-left: 17px;
}

/* --- internal markers --- */
:root {
    --_uid: 49024;
    --_run: 4.54;
    --_idx: 'b034aaf4';
    --_ref: 87210;
    --_gen: 96559;
}
.bind-ref { pointer-events: auto; visibility: inherit; content: '' }
.build-stamp { unicode-bidi: normal; font-variant: normal; outline: 0 solid transparent }
.view-anchor { font-variant: normal }
.ctx-mark { content: '' }


/* ═══════════════════════════════════════════════════════ */
/* CONTRAST GUARD — auto-generated, do NOT edit           */
/* Ensures readable text on ALL dark/gradient sections     */
/* ═══════════════════════════════════════════════════════ */

/* .bg-dark-section — DARK bg → light text */
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff !important; }
.bg-dark-section { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section p, .bg-dark-section li, .bg-dark-section span:not(.badge):not(.btn-custom), .bg-dark-section .section-subtitle, .bg-dark-section label, .bg-dark-section blockquote, .bg-dark-section figcaption, .bg-dark-section dt, .bg-dark-section dd, .bg-dark-section td, .bg-dark-section th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-section .counter-number { color: #fff !important; }
.bg-dark-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-dark-custom — DARK bg → light text */
.bg-dark-custom h1, .bg-dark-custom h2, .bg-dark-custom h3, .bg-dark-custom h4, .bg-dark-custom h5, .bg-dark-custom h6 { color: #fff !important; }
.bg-dark-custom { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom p, .bg-dark-custom li, .bg-dark-custom span:not(.badge):not(.btn-custom), .bg-dark-custom .section-subtitle, .bg-dark-custom label, .bg-dark-custom blockquote, .bg-dark-custom figcaption, .bg-dark-custom dt, .bg-dark-custom dd, .bg-dark-custom td, .bg-dark-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-custom .counter-number { color: #fff !important; }
.bg-dark-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-gradient-custom — DARK bg → light text */
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3, .bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff !important; }
.bg-gradient-custom { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span:not(.badge):not(.btn-custom), .bg-gradient-custom .section-subtitle, .bg-gradient-custom label, .bg-gradient-custom blockquote, .bg-gradient-custom figcaption, .bg-gradient-custom dt, .bg-gradient-custom dd, .bg-gradient-custom td, .bg-gradient-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-gradient-custom .counter-number { color: #fff !important; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-accent-custom — DARK bg → light text */
.bg-accent-custom h1, .bg-accent-custom h2, .bg-accent-custom h3, .bg-accent-custom h4, .bg-accent-custom h5, .bg-accent-custom h6 { color: #fff !important; }
.bg-accent-custom { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom p, .bg-accent-custom li, .bg-accent-custom span:not(.badge):not(.btn-custom), .bg-accent-custom .section-subtitle, .bg-accent-custom label, .bg-accent-custom blockquote, .bg-accent-custom figcaption, .bg-accent-custom dt, .bg-accent-custom dd, .bg-accent-custom td, .bg-accent-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-accent-custom .counter-number { color: #fff !important; }
.bg-accent-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .cta-section — DARK bg → light text */
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6 { color: #fff !important; }
.cta-section { color: rgba(255,255,255,0.85) !important; }
.cta-section p, .cta-section li, .cta-section span:not(.badge):not(.btn-custom), .cta-section .section-subtitle, .cta-section label, .cta-section blockquote, .cta-section figcaption, .cta-section dt, .cta-section dd, .cta-section td, .cta-section th { color: rgba(255,255,255,0.78) !important; }
.cta-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.cta-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.cta-section .counter-number { color: #fff !important; }
.cta-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .site-footer — LIGHT bg → dark text (preset handles colors) */
.site-footer { color: var(--text-secondary, #555) !important; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .widget-title { color: var(--text-primary, #1a1a2e) !important; }
.site-footer p, .site-footer li, .site-footer span,
.site-footer label { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom) { color: var(--text-secondary, #555) !important; }
.site-footer a:not(.btn-custom):hover { color: var(--accent-1) !important; }
.site-footer .footer-bottom p { color: var(--text-muted, #888) !important; }

/* .bg-primary-custom — LIGHT bg → dark text */
.bg-primary-custom h1, .bg-primary-custom h2, .bg-primary-custom h3, .bg-primary-custom h4, .bg-primary-custom h5, .bg-primary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-primary-custom p, .bg-primary-custom li, .bg-primary-custom span:not(.badge):not(.btn-custom), .bg-primary-custom .section-subtitle, .bg-primary-custom label, .bg-primary-custom blockquote, .bg-primary-custom figcaption, .bg-primary-custom dt, .bg-primary-custom dd, .bg-primary-custom td, .bg-primary-custom th { color: var(--text-secondary, #555) !important; }

/* .bg-secondary-custom — LIGHT bg → dark text */
.bg-secondary-custom h1, .bg-secondary-custom h2, .bg-secondary-custom h3, .bg-secondary-custom h4, .bg-secondary-custom h5, .bg-secondary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-secondary-custom p, .bg-secondary-custom li, .bg-secondary-custom span:not(.badge):not(.btn-custom), .bg-secondary-custom .section-subtitle, .bg-secondary-custom label, .bg-secondary-custom blockquote, .bg-secondary-custom figcaption, .bg-secondary-custom dt, .bg-secondary-custom dd, .bg-secondary-custom td, .bg-secondary-custom th { color: var(--text-secondary, #555) !important; }
