/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=extra-round, тени=none, отступы=breathable, кнопки=asymmetric */

@import url('https://fonts.googleapis.com/css2?family=Righteous:wght@400&family=Nunito+Sans:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #72A935;
    --accent-2: #4876AC;
    --accent-3: #90225C;
    --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Righteous', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 30px;
    --fs-body: 17px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    
    /* Отступы секций */
    --section-padding: 140px 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: btn-glow — свечение при hover */
.btn-primary-custom {
    transition: box-shadow 0.3s;
}
.btn-primary-custom:hover {
    box-shadow: 0 0 20px var(--accent-1), 0 0 40px rgba(var(--accent-1), 0.3);
}

/* 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: section-accent-line — акцентная линия перед заголовком */
.section-header::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin-bottom: 18px;
}
.section-header.text-center::before {
    margin-left: auto;
    margin-right: auto;
}

/* Trick: gradient-section-bg — градиентный фон секции */
.bg-secondary-custom {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Trick: card-bottom-gradient — градиентная полоса снизу */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    position: relative;
    overflow: hidden;
}
.icon-box::after, .service-card::after, .blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: gradient blob — градиентные круги за контентом */
.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent-1);
    opacity: 0.08;
    top: -100px;
    right: -100px;
    filter: blur(80px);
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--accent-2, var(--accent-1));
    opacity: 0.06;
    bottom: -50px;
    left: -50px;
    filter: blur(60px);
    z-index: 0;
}
.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.hero-content { position: relative; z-index: 2; }
.hero-tagline { background: linear-gradient(135deg, var(--accent-1), var(--accent-2, var(--accent-1))); color: #fff !important; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; padding: 0; }

/* Header: split accent — акцентная CTA-кнопка выделена */
.site-header { background: var(--bg-primary); padding: 0; }
.site-header .header-inner { padding: 16px 0; }
.header-cta {
    background: var(--accent-1) !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.main-nav { gap: 28px; }
.main-nav .nav-link { font-size: 14px; }

/* Footer: accent top bar — акцентная полоса сверху */
.site-footer {
    background: var(--footer-dark-bg);
    color: rgba(255,255,255,0.6);
    padding-top: 80px;
    border-top: 4px solid var(--accent-1);
}
.footer-widget .widget-title { text-transform: uppercase; font-size: 13px; letter-spacing: 3px; }
.footer-widget .widget-title::after { display: none; }
.footer-links a { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.footer-social a { border-radius: 0; width: 36px; height: 36px; }

/* Contact: accent border — акцентная рамка */
.contact-section .form-custom {
    border: 2px solid var(--accent-1);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
}
.contact-section .form-custom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 0 0 4px 4px;
}
.contact-section .form-control { border-radius: var(--radius-sm); }

/* Logo: serif elegant — элегантный с засечками */
.site-logo { font-family: 'Playfair Display', 'Georgia', serif; font-size: 26px; font-weight: 400; letter-spacing: 2px; font-style: italic; }

/* 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: hero — круглая маска */
.hero-image img {
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 4px solid var(--accent-1);
}

/* Img: cards — наклон при наведении */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    transition: transform 0.4s ease;
    border-radius: var(--radius-md);
}
.service-card:hover img, .icon-box:hover img, .blog-card:hover img, .portfolio-item:hover img {
    transform: scale(1.08) rotate(-2deg);
}

/* Img: team — ромб */
.team-card .team-image img, .team-image img {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* ═══ 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-plus */
main > section + section::before{content:'+';display:block;text-align:center;color:var(--accent-1);opacity:0.2;font-size:24px;font-weight:300;padding:8px 0;}

/* Effect: cursor-glow */
.cursor-glow{position:fixed;width:200px;height:200px;background:radial-gradient(circle,var(--accent-1) 0%,transparent 70%);border-radius:50%;pointer-events:none;z-index:99998;opacity:0.07;transform:translate(-50%,-50%);transition:opacity 0.3s;}

/* Effect: scrollbar-progress-v */
.scroll-prog-v{position:fixed;right:0;top:0;width:4px;height:100vh;z-index:9990;background:var(--border-color);}.scroll-prog-v .fill{width:100%;background:var(--accent-gradient);transition:height 0.05s;}@media(max-width:768px){.scroll-prog-v{display:none;}}

/* Effect: progress-bar-top */
.progress-top{position:fixed;top:0;left:0;height:3px;background:var(--accent-gradient);z-index:99999;transition:width 0.05s;width:0;}

/* Effect: scroll-parallax-depth — Parallax depth — разная скорость скролла для контента и фона */
/* Scroll: parallax-depth — глубинный параллакс */
.hero-section { perspective: 1px; transform-style: preserve-3d; }
main > section { position: relative; }
main > section .section-header {
    transition: transform 0.05s linear;
}

/* Effect: hover-card-shine — Блик-полоса бежит по карточке при наведении */
.icon-box,.service-card,.blog-card,.pricing-card{position:relative;overflow:hidden;}.icon-box::before,.service-card::before,.blog-card::before,.pricing-card::before{content:'';position:absolute;top:-50%;left:-75%;width:50%;height:200%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.12),transparent);transform:skewX(-15deg);transition:left 0.6s ease;pointer-events:none;z-index:10;}.icon-box:hover::before,.service-card:hover::before,.blog-card:hover::before,.pricing-card:hover::before{left:125%;}

/* Effect: hover-btn-bounce-click — Кнопки пружинят при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{transition:transform 0.15s ease;}.btn-custom:active,.btn-primary-custom:active,.btn-outline-custom:active{transform:scale(0.93);}@keyframes btnBounce{0%{transform:scale(0.93);}40%{transform:scale(1.05);}70%{transform:scale(0.98);}100%{transform:scale(1);}}

/* Effect: pulse-hero-cta — CTA-кнопка в hero мягко пульсирует */
@keyframes pulseGlow{0%,100%{box-shadow:0 0 0 0 rgba(var(--accent-1-rgb,99,102,241),0.45);}70%{box-shadow:0 0 0 14px rgba(var(--accent-1-rgb,99,102,241),0);}}
.hero-section .btn-primary-custom,.hero-section .btn-custom{animation:pulseGlow 2.5s ease-in-out infinite;}

/* Effect: pulse-icon-boxes — Иконки в icon-box мягко масштабируются */
.icon-box .icon-wrap i,.icon-box .icon-wrap svg{animation:iconPulse 3s ease-in-out infinite;}.icon-box:nth-child(2) .icon-wrap i{animation-delay:-0.5s;}.icon-box:nth-child(3) .icon-wrap i{animation-delay:-1s;}.icon-box:nth-child(4) .icon-wrap i{animation-delay:-1.5s;}@keyframes iconPulse{0%,100%{transform:scale(1);}50%{transform:scale(1.15);}}

/* Effect: shimmer-gradient-border — Рамки карточек переливаются градиентом */
.icon-box,.service-card,.pricing-card{position:relative;overflow:hidden;border:none !important;}.icon-box::after,.service-card::after,.pricing-card::after{content:'';position:absolute;inset:-2px;background:conic-gradient(from var(--shimmer-angle,0deg),var(--accent-1),var(--accent-2,var(--accent-1)),transparent,var(--accent-1));border-radius:inherit;z-index:-1;animation:shimmerBorder 4s linear infinite;}.icon-box::before,.service-card::before,.pricing-card::before{content:'';position:absolute;inset:2px;background:var(--bg-card);border-radius:inherit;z-index:-1;}@keyframes shimmerBorder{to{--shimmer-angle:360deg;}}@property --shimmer-angle{syntax:'<angle>';initial-value:0deg;inherits:false;}

/* Effect: text-highlight-scroll — Слово в hero подсвечивается акцентом */
.highlight-text{display:inline;background:linear-gradient(var(--accent-1),var(--accent-1));background-size:0% 30%;background-position:0 90%;background-repeat:no-repeat;transition:background-size 1s ease;}.highlight-text.active{background-size:100% 30%;}

/* Effect: marquee-reverse-double — Двойная лента — вторая в обратном направлении */
.js-marquee-wrap{overflow:hidden;padding:20px 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);display:flex;flex-direction:column;gap:8px;}.js-mq-row{display:flex;gap:40px;white-space:nowrap;font-size:clamp(20px,3vw,38px);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:0.02em;opacity:0.12;}.js-mq-row span{flex-shrink:0;}.js-mq-row.fwd{animation:jsMarquee 30s linear infinite;}.js-mq-row.rev{animation:jsMarqueeRev 30s linear infinite;}@keyframes jsMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}@keyframes jsMarqueeRev{from{transform:translateX(-50%);}to{transform:translateX(0);}}

/* 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-right-stagger — правая панель, пункты выезжают поочерёдно */
@media (max-width: 992px) {
    .main-nav { right: -100% !important; left: auto !important; width: min(320px,85vw) !important; background: var(--bg-card) !important; padding: 100px 32px 40px !important; box-shadow: -8px 0 40px rgba(0,0,0,0.25) !important; border-left: 3px solid var(--accent-1) !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(24px) !important; transition: opacity 0.35s ease, transform 0.35s 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.619;
    letter-spacing: 0.0em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 27px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 22px 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) + 0px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 27px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 2px);
}

.btn-custom {
    padding: 12px 31px;
    font-size: 14px;
    letter-spacing: 0.227px;
    border-radius: calc(var(--radius-md) + 1px);
}
.btn-outline-custom {
    padding: 12px 29px;
    border-width: 1px;
}

main > section {
    padding-top: 89px;
    padding-bottom: 93px;
}
main > section:first-child {
    padding-top: 98px;
}
main > section:nth-child(5) {
    padding-top: 84px;
    padding-bottom: 88px;
}

.section-header {
    margin-bottom: 56px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 5px 18px rgba(0,0,0,0.052);
}

.hero-section {
    padding-top: 108px;
}
.hero-title {
    margin-bottom: 20px;
}
.hero-subtitle {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.626;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.261px;
    margin-bottom: 19px;
}
.hero-buttons {
    gap: 13px;
}

.hero-image img {
    border-radius: 13px;
    box-shadow: 0 15px 32px rgba(0,0,0,0.142);
}

.icon-wrap {
    width: 53px;
    height: 53px;
    font-size: 21px;
    border-radius: 11px;
    margin-bottom: 15px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 9px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.606;
}

.section-title {
    margin-bottom: 14px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 2.969px;
    margin-bottom: 17px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.666;
}

@media (min-width: 993px) {
    .main-nav {
        gap: 29px;
    }
    .main-nav .nav-link {
        font-size: 15px;
        padding: 7px 0;
    }
}

.site-footer {
    padding-top: 76px;
}
.footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-social {
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
}
.footer-bottom {
    padding: 18px 0;
    margin-top: 53px;
}

.form-control {
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 15px;
}

.testimonial-card {
    padding: 29px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.623;
    margin-bottom: 22px;
}
.author-image {
    width: 49px;
    height: 49px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 12px;
}

.pricing-card {
    padding: 39px;
}
.plan-name {
    font-size: 18px;
    margin-bottom: 7px;
}
.plan-price {
    font-size: 40px;
    margin-bottom: 22px;
}
.plan-features li {
    padding: 11px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 42px;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.584px;
}

.team-image img {
    border-radius: 7px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 3px;
}
.team-role {
    font-size: 14px;
}

.step-number {
    font-size: 30px;
    margin-bottom: 12px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 10px;
}

.wow {
    animation-duration: 0.545s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.32s;
}

.row {
    --bs-gutter-y: 27px;
}

.cta-section {
    padding: 79px 0;
}
.cta-title {
    font-size: 35px;
    margin-bottom: 13px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 29px;
}

.blog-card .card-image img {
    border-radius: 6px 6px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 7px;
    gap: 15px;
}

.site-header {
    padding: 20px 0;
}
.site-header.scrolled {
    padding: 15px 0;
}
.site-logo {
    font-size: 22px;
}
.header-cta {
    margin-left: 19px;
}

/* --- internal markers --- */
:root {
    --_seed: 3.64;
    --_gen: 3.52;
    --_hash: 7.78;
    --_uid: '8691b06';
    --_idx: 32898;
}
.grid-debug { unicode-bidi: normal; display: inherit; vertical-align: baseline }
.build-stamp { unicode-bidi: normal; box-sizing: border-box; font-style: inherit }
.view-anchor { display: inherit; outline: 0 solid transparent }
.ui-ghost { --_ref: 'f3d' }
.page-ref { --_ref: '94f'; content: ''; --_stamp: 130 }


/* ═══════════════════════════════════════════════════════ */
/* CONTRAST GUARD — auto-generated, do NOT edit           */
/* Ensures readable text on ALL dark/gradient sections     */
/* ═══════════════════════════════════════════════════════ */

/* .bg-dark-section — DARK bg → light text */
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff !important; }
.bg-dark-section { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section p, .bg-dark-section li, .bg-dark-section span:not(.badge):not(.btn-custom), .bg-dark-section .section-subtitle, .bg-dark-section label, .bg-dark-section blockquote, .bg-dark-section figcaption, .bg-dark-section dt, .bg-dark-section dd, .bg-dark-section td, .bg-dark-section th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-section .counter-number { color: #fff !important; }
.bg-dark-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-dark-custom — DARK bg → light text */
.bg-dark-custom h1, .bg-dark-custom h2, .bg-dark-custom h3, .bg-dark-custom h4, .bg-dark-custom h5, .bg-dark-custom h6 { color: #fff !important; }
.bg-dark-custom { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom p, .bg-dark-custom li, .bg-dark-custom span:not(.badge):not(.btn-custom), .bg-dark-custom .section-subtitle, .bg-dark-custom label, .bg-dark-custom blockquote, .bg-dark-custom figcaption, .bg-dark-custom dt, .bg-dark-custom dd, .bg-dark-custom td, .bg-dark-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-dark-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-dark-custom .counter-number { color: #fff !important; }
.bg-dark-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-gradient-custom — DARK bg → light text */
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3, .bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff !important; }
.bg-gradient-custom { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span:not(.badge):not(.btn-custom), .bg-gradient-custom .section-subtitle, .bg-gradient-custom label, .bg-gradient-custom blockquote, .bg-gradient-custom figcaption, .bg-gradient-custom dt, .bg-gradient-custom dd, .bg-gradient-custom td, .bg-gradient-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-gradient-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-gradient-custom .counter-number { color: #fff !important; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .bg-accent-custom — DARK bg → light text */
.bg-accent-custom h1, .bg-accent-custom h2, .bg-accent-custom h3, .bg-accent-custom h4, .bg-accent-custom h5, .bg-accent-custom h6 { color: #fff !important; }
.bg-accent-custom { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom p, .bg-accent-custom li, .bg-accent-custom span:not(.badge):not(.btn-custom), .bg-accent-custom .section-subtitle, .bg-accent-custom label, .bg-accent-custom blockquote, .bg-accent-custom figcaption, .bg-accent-custom dt, .bg-accent-custom dd, .bg-accent-custom td, .bg-accent-custom th { color: rgba(255,255,255,0.78) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.bg-accent-custom a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.bg-accent-custom .counter-number { color: #fff !important; }
.bg-accent-custom .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .cta-section — DARK bg → light text */
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6 { color: #fff !important; }
.cta-section { color: rgba(255,255,255,0.85) !important; }
.cta-section p, .cta-section li, .cta-section span:not(.badge):not(.btn-custom), .cta-section .section-subtitle, .cta-section label, .cta-section blockquote, .cta-section figcaption, .cta-section dt, .cta-section dd, .cta-section td, .cta-section th { color: rgba(255,255,255,0.78) !important; }
.cta-section a:not(.btn-custom):not(.nav-link) { color: rgba(255,255,255,0.85) !important; }
.cta-section a:not(.btn-custom):not(.nav-link):hover { color: #fff !important; }
.cta-section .counter-number { color: #fff !important; }
.cta-section .counter-label { color: rgba(255,255,255,0.7) !important; }

/* .site-footer — DARK bg → light text */
.site-footer { color: rgba(255,255,255,0.65) !important; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .widget-title { color: #fff !important; }
.site-footer p, .site-footer li, .site-footer span,
.site-footer label { color: rgba(255,255,255,0.6) !important; }
.site-footer a:not(.btn-custom) { color: rgba(255,255,255,0.65) !important; }
.site-footer a:not(.btn-custom):hover { color: #fff !important; }

/* .bg-primary-custom — LIGHT bg → dark text */
.bg-primary-custom h1, .bg-primary-custom h2, .bg-primary-custom h3, .bg-primary-custom h4, .bg-primary-custom h5, .bg-primary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-primary-custom p, .bg-primary-custom li, .bg-primary-custom span:not(.badge):not(.btn-custom), .bg-primary-custom .section-subtitle, .bg-primary-custom label, .bg-primary-custom blockquote, .bg-primary-custom figcaption, .bg-primary-custom dt, .bg-primary-custom dd, .bg-primary-custom td, .bg-primary-custom th { color: var(--text-secondary, #555) !important; }

/* .bg-secondary-custom — LIGHT bg → dark text */
.bg-secondary-custom h1, .bg-secondary-custom h2, .bg-secondary-custom h3, .bg-secondary-custom h4, .bg-secondary-custom h5, .bg-secondary-custom h6 { color: var(--text-primary, #1a1a2e) !important; }
.bg-secondary-custom p, .bg-secondary-custom li, .bg-secondary-custom span:not(.badge):not(.btn-custom), .bg-secondary-custom .section-subtitle, .bg-secondary-custom label, .bg-secondary-custom blockquote, .bg-secondary-custom figcaption, .bg-secondary-custom dt, .bg-secondary-custom dd, .bg-secondary-custom td, .bg-secondary-custom th { color: var(--text-secondary, #555) !important; }
