/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=squircle, тени=none, отступы=breathable, кнопки=slim */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #1FEB90;
    --accent-2: #4E40EF;
    --accent-3: #D71D6B;
    --accent-gradient: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 40px;
    --fs-h2: 30px;
    --fs-h3: 22px;
    --fs-body: 15px;
    
    /* Вес заголовков */
    --fw-bold: 800;
    
    /* Углы скругления */
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 44px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    
    /* Отступы секций */
    --section-padding: 140px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 4px;
    padding: 10px 24px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 3px;
    border-color: #1FEB90;
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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: card-asymmetric-radius — неравномерное скругление */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border-radius: 32px 6px 32px 6px;
}

/* Trick: image-duotone — дуотон-наложение */
.portfolio-item, .team-image {
    position: relative;
}
.portfolio-item::before, .team-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-1);
    mix-blend-mode: color;
    opacity: 0.35;
    z-index: 1;
    transition: opacity 0.4s;
    pointer-events: none;
}
.portfolio-item:hover::before, .team-card:hover .team-image::before {
    opacity: 0;
}

/* Trick: arch-section-top — арка сверху секции */
.bg-secondary-custom {
    position: relative;
    margin-top: 30px;
}
.bg-secondary-custom::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: inherit;
    border-radius: 50% 50% 0 0;
}

/* Trick: pricing-ribbon — ленточка на featured pricing */
.pricing-card.featured {
    overflow: hidden;
}
.pricing-card.featured::before {
    content: '★';
    position: absolute;
    top: 18px;
    right: -30px;
    width: 120px;
    text-align: center;
    padding: 4px 0;
    background: var(--accent-1);
    color: #fff;
    font-size: 12px;
    transform: rotate(45deg);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: overlap card — картинка с наложенным текстовым блоком */
.hero-section { min-height: 100vh; padding-bottom: 120px; }
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.hero-content {
    background: var(--bg-card, #fff);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 5;
    border: 1px solid var(--border-color);
}
.hero-tagline { background: var(--accent-1); color: #fff !important; padding: 6px 16px; border-radius: var(--radius-sm); font-size: 11px; }

/* Header: 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: card style — на карточке с тенью */
.site-footer {
    background: transparent;
    padding: 0 20px 40px;
}
.site-footer > .container {
    background: var(--footer-dark-bg);
    border-radius: var(--radius-xl);
    padding: 60px 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.site-footer h4,.site-footer h5 { color: #fff; }
.site-footer .footer-widget .widget-title::after { background: var(--accent-1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; }
.footer-bottom p { color: rgba(255,255,255,0.3); }

/* Contact: minimal flat — плоские поля без рамок */
.contact-section .form-control {
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    font-size: 15px;
}
.contact-section .form-control:focus { background: var(--bg-primary); box-shadow: 0 0 0 2px var(--accent-1); }
.contact-section .btn-custom { border-radius: var(--radius-lg); }

/* Logo: bold clean — чистый жирный */
.site-logo { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }

/* Headings: uppercase small — маленькие заглавные */
.icon-title, .card-title, .step-title {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 700;
}
h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* Img: cards — шестиугольник */
.service-card img, .icon-box img {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* Img: section — обтекание текстом (float blob) */
section:not(.hero-section) .col-lg-6 img, section:not(.hero-section) .col-lg-5 img {
    shape-outside: ellipse(48% 48%);
    border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
    float: left;
    margin: 0 24px 16px 0;
    max-width: 55%;
    object-fit: cover;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: pill — капсульная форма кнопки */
.mobile-toggle { width: 52px; height: 36px; gap: 4px; border: none; background: var(--bg-secondary, rgba(0,0,0,0.05)); border-radius: 20px; }
.mobile-toggle .burger-line { width: 20px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle:hover { background: var(--accent-1); }
.mobile-toggle:hover .burger-line { background: #fff; }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* Effect: cursor-trail */
.trail-dot{position:fixed;width:6px;height:6px;background:var(--accent-1);border-radius:50%;pointer-events:none;z-index:99999;opacity:0;transition:opacity 0.5s;}

/* Effect: scrollbar-line */
.scroll-line{position:fixed;right:16px;top:20%;height:60%;width:3px;background:var(--border-color);border-radius:2px;z-index:9990;opacity:0.4;}.scroll-line .indicator{width:100%;background:var(--accent-1);border-radius:2px;transition:height 0.1s;}@media(max-width:768px){.scroll-line{display:none;}}

/* Effect: progress-header-line */
.progress-header{position:fixed;top:0;left:0;height:2px;z-index:100000;background:var(--accent-1);width:0;opacity:0.8;}

/* Effect: stagger-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: marquee-text */
.marquee-strip{overflow:hidden;padding:14px 0;background:var(--bg-secondary,var(--bg-card));border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);}.marquee-inner{display:flex;gap:60px;white-space:nowrap;animation:marqueeScroll 20s linear infinite;font-size:14px;text-transform:uppercase;letter-spacing:3px;opacity:0.3;font-weight:600;}@keyframes marqueeScroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* Effect: deco-gradient-blobs */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}.bg-deco span{position:absolute;border-radius:50%;filter:blur(60px);opacity:0.03;animation:decoBlob 22s ease-in-out infinite alternate;}@keyframes decoBlob{0%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,-40px) scale(1.15);}100%{transform:translate(-20px,30px) scale(0.9);}}

/* 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-btn-magnetic — Кнопки магнитно притягиваются к курсору */
.btn-custom,.btn-primary-custom{transition:transform 0.25s cubic-bezier(0.23,1,0.32,1);}

/* Effect: hover-img-zoom-rotate — Картинки в карточках зумятся и слегка вращаются */
.service-card img,.blog-card img,.portfolio-item img,.icon-box img{transition:transform 0.5s cubic-bezier(0.23,1,0.32,1);}.service-card:hover img,.blog-card:hover img,.portfolio-item:hover img,.icon-box:hover img{transform:scale(1.08) rotate(1.5deg);}

/* Effect: shimmer-glassmorphism-cards — Карточки с glass-эффектом */
.icon-box,.service-card{background:rgba(var(--bg-card-rgb,255,255,255),0.75) !important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,0.18) !important;}.icon-box:hover,.service-card:hover{border-color:rgba(var(--accent-1-rgb,99,102,241),0.4) !important;background:rgba(var(--bg-card-rgb,255,255,255),0.88) !important;}

/* Effect: marquee-vertical-side — Вертикальная бегущая строка сбоку */
.js-marquee-v{position:fixed;left:0;top:0;width:30px;height:100vh;overflow:hidden;z-index:9989;opacity:0.06;pointer-events:none;writing-mode:vertical-rl;text-orientation:mixed;}.js-marquee-v-inner{display:flex;gap:20px;white-space:nowrap;animation:jsMarqueeV 20s linear infinite;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:3px;}@keyframes jsMarqueeV{from{transform:translateY(0);}to{transform:translateY(-50%);}}@media(max-width:992px){.js-marquee-v{display:none;}}

/* Effect: tex-parallax-gradient-shift — Градиент смещается при скролле — эффект глубины */
/* Texture: parallax-gradient-shift — градиент с параллаксом */
.tex-parallax-sec { position: relative; overflow: clip; }
.tex-parallax-sec::before {
    content: '';
    position: absolute;
    inset: -30% 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background:
        radial-gradient(ellipse at 20% 50%, var(--accent-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 40%, var(--accent-2, var(--accent-1)) 0%, transparent 45%);
    will-change: transform;
}
.hero-section.tex-parallax-sec::before { display: none !important; }

/* Effect: tex-woven-mesh — Плетёная сетка — переплетение полос */
/* Texture: woven-mesh — плетёная сетка */
main > section:nth-child(3n+1):not(:first-child) { position: relative; overflow: clip; }
main > section:nth-child(3n+1):not(:first-child)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.02;
    background-image:
        linear-gradient(0deg, var(--accent-1) 2px, transparent 2px),
        linear-gradient(90deg, var(--accent-1) 2px, transparent 2px);
    background-size: 20px 20px;
    mask-image:
        linear-gradient(45deg, rgba(0,0,0,1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,1) 75%);
    -webkit-mask-image:
        linear-gradient(45deg, rgba(0,0,0,1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,1) 75%);
    mask-size: 20px 20px;
    -webkit-mask-size: 20px 20px;
}
.hero-section::before { display: none !important; }

/* Fallback: без JS секции видимы сразу */
html:not(.js-fx) main > section {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
}

/* ═══ DESKTOP NAV OVERFLOW SAFETY-NET ═══ */
/* Не даём nav-ссылкам переполнять хедер при большом числе вкладок */
@media (min-width: 993px) {
    .header-inner {
        flex-wrap: nowrap;
        overflow: visible;
    }
    .main-nav {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: clamp(10px, 1.8vw, 36px) !important;
    }
    .main-nav .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        padding: 8px 0;
        flex-shrink: 0;
    }
    /* Centered-logo split groups — адаптивный gap */
    .nav-group-left, .nav-group-right {
        gap: clamp(8px, 1.4vw, 32px) !important;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .nav-group-left .nav-link,
    .nav-group-right .nav-link {
        white-space: nowrap;
        font-size: clamp(11px, 1.1vw, 15px) !important;
        flex-shrink: 0;
    }
    /* CTA-кнопка не сжимается */
    .header-cta {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .site-logo {
        flex-shrink: 0;
    }
}

/* ═══ TWO-LAYER HEADER FIX ═══ */
/* Вариант "Nav with Top Bar" — фиксируем top-bar (div) над хедером.
   Используем div.bg-secondary-custom (не section!) чтобы не зацепить секции. */
div.bg-secondary-custom:not(.section-padding) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
div.bg-secondary-custom:not(.section-padding) + .site-header {
    top: 33px;
    transition: top 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
/* При скролле: top-bar скрывается, header прижимается к верху */
div.bg-secondary-custom.top-bar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
div.bg-secondary-custom.top-bar-hidden + .site-header,
div.bg-secondary-custom:not(.section-padding) + .site-header.scrolled {
    top: 0;
}
/* Компенсируем дополнительную высоту top-bar для hero */
div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
    padding-top: 200px;
}

/* Мобильная адаптация top-bar */
@media (max-width: 992px) {
    div.bg-secondary-custom:not(.section-padding) {
        position: relative;
        z-index: auto;
        font-size: 11px;
        padding: 4px 0;
    }
    div.bg-secondary-custom:not(.section-padding) + .site-header {
        top: 0;
    }
    div.bg-secondary-custom:not(.section-padding) ~ .hero-section {
        padding-top: 140px;
    }
}


/* ═══ MOBILE MENU SAFETY-NET ═══ */
@media (max-width: 992px) {
    /* Бургер-кнопка — ВСЕГДА видима и кликабельна */
    .mobile-toggle {
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        z-index: 10001 !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-toggle .burger-line {
        pointer-events: none;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    /* Мобильная панель навигации — правильное позиционирование */
    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }
    /* Ссылки навигации — крупные, читаемые, кликабельные */
    .main-nav .nav-link {
        font-size: 18px !important;
        padding: 14px 0 !important;
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
    }
    .main-nav .nav-link::after { display: none !important; }
    .header-cta { display: none !important; }
    /* CTA-кнопка скрыта на мобильном (меню важнее) */
    .nav-group-left, .nav-group-right { display: none !important; }
}


/* ═══ MOBILE MENU PANEL DESIGN ═══ */
/* Mobile Menu: glass-panel — матовое стекло, backdrop-filter */
@media (max-width: 992px) {
    .main-nav { right: -100% !important; left: auto !important; width: min(320px,85vw) !important; background: rgba(var(--bg-card-rgb,255,255,255),0.65) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; border-left: 1px solid rgba(255,255,255,0.2) !important; padding: 100px 32px 40px !important; box-shadow: -4px 0 30px rgba(0,0,0,0.15) !important; transition: right 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
    .main-nav.active { right: 0 !important; }
    .main-nav .nav-link { opacity: 0 !important; transform: translateX(16px) scale(0.96) !important; transition: opacity 0.35s ease, transform 0.35s ease !important; border-bottom: 1px solid rgba(255,255,255,0.15) !important; }
    .main-nav.active .nav-link { opacity: 1 !important; transform: translateX(0) scale(1) !important; }
    .main-nav.active .nav-link:nth-child(1){transition-delay:.08s !important;}
    .main-nav.active .nav-link:nth-child(2){transition-delay:.14s !important;}
    .main-nav.active .nav-link:nth-child(3){transition-delay:.20s !important;}
    .main-nav.active .nav-link:nth-child(4){transition-delay:.26s !important;}
    .main-nav.active .nav-link:nth-child(5){transition-delay:.32s !important;}
    .main-nav.active .nav-link:nth-child(6){transition-delay:.38s !important;}
    .main-nav.active .nav-link:nth-child(7){transition-delay:.44s !important;}
    .main-nav.active .nav-link:nth-child(8){transition-delay:.50s !important;}
}


/* ═══ BLUR SAFETY-NET ═══ */
/* Cards/content blocks: cap backdrop-filter blur at 8px, ensure solid-enough bg */
.icon-box,
.service-card,
.blog-card,
.pricing-card,
.feature-card,
.team-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
/* Guarantee text inside cards is never blurred by filter */
.icon-box *,
.service-card *,
.blog-card *,
.pricing-card *,
.feature-card * {
    filter: none !important;
}
/* Animation safety: blurIn cards MUST reach final state even if animation fails */
@supports (animation: none) {
    .icon-box, .service-card, .blog-card {
        animation-fill-mode: forwards !important;
    }
}
/* Spacing for blog-cards stacked vertically in the same column (density expansion) */
.blog-card + .blog-card {
    margin-top: 1.5rem;
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.62;
    letter-spacing: 0.011em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 28px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 22px 21px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 3px);
}
.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) + -1px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 27px;
    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) + 1px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 2px);
}

.btn-custom {
    padding: 14px 27px;
    font-size: 16px;
    letter-spacing: 0.118px;
    border-radius: calc(var(--radius-md) + 2px);
}
.btn-outline-custom {
    padding: 13px 27px;
    border-width: 1px;
}

main > section {
    padding-top: 75px;
    padding-bottom: 73px;
}
main > section:first-child {
    padding-top: 80px;
}
main > section:nth-child(2) {
    padding-top: 73px;
    padding-bottom: 68px;
}
main > section:nth-child(4) {
    padding-top: 75px;
    padding-bottom: 82px;
}

.section-header {
    margin-bottom: 45px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 3px 18px rgba(0,0,0,0.054);
}

.hero-section {
    padding-top: 113px;
}
.hero-title {
    margin-bottom: 20px;
}
.hero-subtitle {
    margin-bottom: 37px;
    font-size: 19px;
    line-height: 1.55;
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 3.221px;
    margin-bottom: 19px;
}
.hero-buttons {
    gap: 16px;
}

.hero-image img {
    border-radius: 7px;
    box-shadow: 0 6px 26px rgba(0,0,0,0.119);
}

.icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 20px;
    border-radius: 9px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 20px;
    margin-bottom: 7px;
}
.icon-text, .card-text {
    font-size: 14px;
    line-height: 1.581;
}

.section-title {
    margin-bottom: 18px;
    letter-spacing: 0.07px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 2.696px;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.666;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 26px;
    }
    .main-nav .nav-link {
        font-size: 13px;
        padding: 8px 0;
    }
}

.site-footer {
    padding-top: 82px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 26px;
}
.footer-links a {
    font-size: 13px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-social {
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
}
.footer-bottom {
    padding: 21px 0;
    margin-top: 56px;
}

.form-control {
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 14px;
}

.testimonial-card {
    padding: 32px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.677;
    margin-bottom: 21px;
}
.author-image {
    width: 51px;
    height: 51px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 39px;
}
.plan-name {
    font-size: 20px;
    margin-bottom: 9px;
}
.plan-price {
    font-size: 45px;
    margin-bottom: 20px;
}
.plan-features li {
    padding: 11px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 38px;
    margin-bottom: 5px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.54px;
}

.team-image img {
    border-radius: 7px;
}
.team-name {
    font-size: 19px;
    margin-bottom: 2px;
}
.team-role {
    font-size: 12px;
}

.step-number {
    font-size: 29px;
    margin-bottom: 14px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 9px;
}

.wow {
    animation-duration: 0.541s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.285s;
}

.row {
    --bs-gutter-y: 30px;
}

.cta-section {
    padding: 69px 0;
}
.cta-title {
    font-size: 34px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 26px;
}

.blog-card .card-image img {
    border-radius: 11px 11px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 11px;
    gap: 12px;
}

.site-header {
    padding: 15px 0;
}
.site-header.scrolled {
    padding: 13px 0;
}
.site-logo {
    font-size: 23px;
}
.header-cta {
    margin-left: 20px;
}

/* --- internal markers --- */
:root {
    --_idx: 4.89;
    --_ver: 4.32;
    --_env: 'c1d6';
    --_key: 98848;
}
.event-hook { font-variant: normal }
.scope-tag { visibility: inherit; 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 > div:nth-child(2) { background: #000 !important; }
.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; }

/* Interactive cards: modal + tooltip */
.ix-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 100%;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ix-modal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,255,255,.18);
}

.ix-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 20px;
}
.ix-modal-overlay.ix-open { display: flex; }
.ix-modal-box {
    width: min(680px, 100%);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    position: relative;
}
.ix-modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ix-tip-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    height: 100%;
}
.ix-tip-popup {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: calc(100% + 10px);
    background: var(--text-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 5;
}
.ix-tip-card:hover .ix-tip-popup {
    opacity: 1;
    transform: translateY(0);
}
