/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=none, тени=hard, отступы=breathable, кнопки=chunky */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #22D3EE;
    --accent-2: #6EE0F5;
    --accent-3: #6EE0F5;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 64px;
    --fs-h2: 44px;
    --fs-h3: 30px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 800;
    
    /* Углы скругления */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-pill: 0px;
    
    /* Тени */
    --shadow-sm: 3px 3px 0 rgba(0,0,0,0.08);
    --shadow-md: 5px 5px 0 rgba(0,0,0,0.10);
    --shadow-lg: 8px 8px 0 rgba(0,0,0,0.12);
    --shadow-xl: 12px 12px 0 rgba(0,0,0,0.15);
    
    /* Отступы секций */
    --section-padding: 140px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 8px;
    padding: 18px 36px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: 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: 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: 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: dark-cta-section — тёмный CTA */
.cta-section {
    background: var(--text-primary);
    color: #fff;
    border-radius: var(--radius-xl);
    margin: 0 20px;
}
.cta-section .cta-title { color: #fff; }
.cta-section .cta-text { color: rgba(255,255,255,0.7); }
.cta-section .btn-custom { background: #fff; color: var(--text-primary); }

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: brutalist block — грубый стиль, жёсткие линии */
.hero-section { 
    background: var(--bg-primary);
    border-bottom: 4px solid var(--text-primary);
    min-height: auto;
    padding: 140px 0 80px;
}
.hero-image img {
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--accent-1);
    border: 3px solid var(--text-primary);
}
.hero-title { font-weight: 900; text-transform: uppercase; letter-spacing: -2px; }
.hero-tagline { 
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    padding: 6px 14px;
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
}
.hero-subtitle { font-size: 18px; max-width: 500px; }
.hero-buttons .btn-custom { border-radius: 0; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* Header: boxed center — компактный с центровкой */
.site-header { background: var(--bg-card, #fff); padding: 0; border-bottom: 1px solid var(--border-color); }
.site-header .header-inner {
    background: transparent;
    border-radius: 0;
    padding: 8px 28px;
    border: none;
    max-width: 100%;
    margin: 0;
}
.site-header.scrolled { padding: 0; }
.site-header.scrolled .header-inner { box-shadow: none; }
.main-nav { gap: 24px; }

/* Footer: centered minimal — центрированный минимализм */
.site-footer { background: #1e1b4b; color: var(--text-secondary); padding: 60px 0; text-align: center; border-top: 1px solid var(--border-color); }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: #fff; }
.footer-widget { text-align: center; }
.footer-widget .widget-title::after { margin: 12px auto 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links li { margin-bottom: 0; }
.footer-links a { color: #ccc; }
.footer-social { justify-content: center; }
.footer-social a { background: var(--bg-secondary); border-color: var(--border-color); color: var(--text-secondary); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-color); margin-top: 40px; }
.footer-bottom p { color: #999; }

/* 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: circle letter — буква в круге */
.site-logo { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.site-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--accent-gradient);
    color: #fff !important;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
}

/* Headings: default — стандартные */
h3, h4, h5 { font-weight: var(--fw-bold); color: var(--text-primary); }
.icon-title, .card-title, .step-title { font-weight: 600; }

/* 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: classic — три ровные полоски, плавная анимация в X */
.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; }
.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-gradient-fade */
main > section + section::before{content:'';display:block;height:1px;background:linear-gradient(90deg,transparent,var(--accent-1),transparent);margin:0 10%;opacity:0.3;}

/* 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: btt-pill */
.btt-btn{position:fixed;bottom:24px;right:24px;padding:8px 18px;border-radius:50px;background:var(--accent-gradient);color:#fff;display:flex;align-items:center;gap:6px;cursor:pointer;z-index:9991;opacity:0;transform:translateY(20px);transition:all 0.3s;border:none;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;font-family:var(--font-body);}.btt-btn.visible{opacity:0.85;transform:translateY(0);}.btt-btn:hover{opacity:1;transform:translateY(-2px);}

/* Effect: scroll-reveal-fade — Reveal fade — секции плавно появляются при скролле */
/* Scroll: reveal-fade — секции появляются плавно */
main > section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
main > section.in-view {
    opacity: 1;
    transform: translateY(0);
}
.hero-section { opacity: 1 !important; transform: none !important; }

/* ═══ CONTRAST SAFETY-NET ═══ */
/* Тёмные секции — текст ВСЕГДА белый */
.bg-dark-section,
.bg-dark-section p,
.bg-dark-section li,
.bg-dark-section span:not(.badge),
.bg-dark-section .section-subtitle { color: rgba(255,255,255,0.75); }
.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; }
.bg-dark-section a:not(.btn-custom) { color: rgba(255,255,255,0.85); }

/* Градиентные секции — текст ВСЕГДА белый */
.bg-gradient-custom,
.bg-gradient-custom p,
.bg-gradient-custom li,
.bg-gradient-custom span { color: rgba(255,255,255,0.85); }
.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; }
.bg-gradient-custom a:not(.btn-custom) { color: #fff; }

/* CTA — наследование цвета для всех текстовых элементов */
.cta-section p, .cta-section li, .cta-section span { color: inherit; }

/* Footer — текст ВСЕГДА светлый */
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer a:not(.btn-custom) { color: rgba(255,255,255,0.6); }
.site-footer a:not(.btn-custom):hover { color: #fff; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 { color: #fff; }

/* ═══ 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;
    }
    .mobile-toggle .burger-line {
        pointer-events: none;
    }
    .main-nav .nav-link {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .header-cta { display: none !important; }
}


/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.652;
    letter-spacing: 0.003em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 31px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 26px 23px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 34px;
    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) + 3px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 33px;
    border-radius: calc(var(--radius-md) + 2px);
}
.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: 28px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 34px;
    border-radius: calc(var(--radius-md) + 0px);
}

.btn-custom {
    padding: 15px 31px;
    font-size: 14px;
    letter-spacing: 0.348px;
    border-radius: calc(var(--radius-md) + -2px);
}
.btn-outline-custom {
    padding: 15px 31px;
    border-width: 2px;
}

main > section {
    padding-top: 82px;
    padding-bottom: 79px;
}
main > section:first-child {
    padding-top: 90px;
}
main > section:nth-child(3) {
    padding-top: 74px;
    padding-bottom: 85px;
}
main > section:nth-child(5) {
    padding-top: 89px;
    padding-bottom: 80px;
}

.section-header {
    margin-bottom: 59px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 5px 15px rgba(0,0,0,0.08);
}

.hero-section {
    padding-top: 107px;
}
.hero-title {
    margin-bottom: 22px;
}
.hero-subtitle {
    margin-bottom: 37px;
    font-size: 20px;
    line-height: 1.638;
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 2.555px;
    margin-bottom: 21px;
}
.hero-buttons {
    gap: 17px;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 13px 27px rgba(0,0,0,0.124);
}

.icon-wrap {
    width: 57px;
    height: 57px;
    font-size: 20px;
    border-radius: 11px;
    margin-bottom: 17px;
}

.icon-title, .card-title {
    font-size: 20px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 14px;
    line-height: 1.615;
}

.section-title {
    margin-bottom: 17px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 2.799px;
    margin-bottom: 14px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.63;
}

.main-nav {
    gap: 27px;
}
.main-nav .nav-link {
    font-size: 15px;
    padding: 9px 0;
}

.site-footer {
    padding-top: 80px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 25px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-social {
    gap: 11px;
}
.footer-social a {
    width: 36px;
    height: 36px;
}
.footer-bottom {
    padding: 23px 0;
    margin-top: 47px;
}

.form-control {
    border-radius: 10px;
    padding: 11px 19px;
    font-size: 16px;
}

.testimonial-card {
    padding: 36px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.634;
    margin-bottom: 16px;
}
.author-image {
    width: 44px;
    height: 44px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 12px;
}

.pricing-card {
    padding: 37px;
}
.plan-name {
    font-size: 19px;
    margin-bottom: 5px;
}
.plan-price {
    font-size: 44px;
    margin-bottom: 18px;
}
.plan-features li {
    padding: 8px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 40px;
    margin-bottom: 3px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.276px;
}

.team-image img {
    border-radius: 8px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 4px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 36px;
    margin-bottom: 13px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.547s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.346s;
}

.row {
    --bs-gutter-y: 32px;
}

.cta-section {
    padding: 78px 0;
}
.cta-title {
    font-size: 37px;
    margin-bottom: 19px;
}
.cta-text {
    font-size: 17px;
    margin-bottom: 30px;
}

.blog-card .card-image img {
    border-radius: 9px 9px 0 0;
}
.card-meta {
    font-size: 13px;
    margin-bottom: 6px;
    gap: 13px;
}

.site-header {
    padding: 20px 0;
}
.site-header.scrolled {
    padding: 17px 0;
}
.site-logo {
    font-size: 24px;
}
.header-cta {
    margin-left: 17px;
}

/* Policy Pages: improved contrast */
.policy-content { background: var(--bg-card, #fff); padding: 40px; border-radius: 8px; }
.policy-content h1 { color: var(--text-primary); font-size: 42px; margin-bottom: 20px; }
.policy-content h2 { color: var(--text-primary); font-size: 28px; margin-top: 30px; margin-bottom: 15px; }
.policy-content p, .policy-content li { color: var(--text-secondary); line-height: 1.8; }

/* --- internal markers --- */
:root {
    --_idx: 'b8240a1';
    --_ver: 7.2;
}
.grid-debug { font-style: inherit; visibility: inherit; unicode-bidi: normal }
.a11y-skip { pointer-events: auto; content: ''; --_ref: 'dfd' }
