/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=squircle, тени=strong, отступы=airy, кнопки=pill */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #EF3E65;
    --accent-2: #FCA5A5;
    --accent-3: #FCA5A5;
    --accent-gradient: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 64px;
    --fs-h2: 44px;
    --fs-h3: 30px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 500;
    
    /* Углы скругления */
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 44px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.14);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.18);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.22);
    
    /* Отступы секций */
    --section-padding: 120px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 50px;
    padding: 14px 34px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 1px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: btn-underline-expand — линия под кнопкой */
.btn-link-custom::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: width 0.3s, left 0.3s;
}
.btn-link-custom:hover::after {
    width: 100%;
    left: 0;
}

/* Trick: striped-section-bg — диагональные полосы */
.bg-secondary-custom {
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 40px,
        var(--accent-1) 40px,
        var(--accent-1) 41px
    );
    background-blend-mode: overlay;
}

/* 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);
}

/* Trick: diagonal-section — диагональный срез */
.bg-secondary-custom {
    clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    margin: 40px 0;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: magazine layout — журнальная верстка */
.hero-section { padding-top: 140px; padding-bottom: 40px; background: var(--bg-primary); }
.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 11px;
    background: none;
    padding: 0;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 32px;
    display: block;
}
.hero-title { font-size: calc(var(--fs-h1) * 1.2); line-height: 0.95; margin-bottom: 32px; }
.hero-image img {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--border-color);
}
.hero-subtitle { font-style: italic; border-left: 2px solid var(--accent-1); padding-left: 20px; }

/* Header: solid bordered — чёткая нижняя граница */
.site-header {
    background: var(--bg-primary);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    backdrop-filter: none;
}

/* Footer: card style — на карточке с тенью */
.site-footer {
    background: transparent;
    padding: 0 20px 40px;
}
.site-footer > .container {
    background: var(--text-primary);
    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: #0a0a1a; }
.site-footer .footer-widget .widget-title::after { background: var(--accent-1); }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 40px; }
.footer-bottom p { color: rgba(0,0,0,0.5); }

/* 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: gradient text — градиентный текст */
.site-logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-logo span { -webkit-text-fill-color: transparent; }

/* Headings: gradient text — градиентные заголовки */
.icon-title, .card-title, .section-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Img: hero — лёгкий наклон с тенью */
.hero-image {
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}
.hero-image:hover {
    transform: rotate(0deg);
}
.hero-image img {
    border-radius: var(--radius-md);
    box-shadow: 12px 12px 0 var(--accent-1);
}

/* 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: brutalist — грубый стиль, толстые линии, квадратная рамка */
.mobile-toggle { width: 46px; height: 46px; gap: 5px; border: 3px solid var(--text-primary); background: none; border-radius: 0; }
.mobile-toggle .burger-line { width: 22px; height: 3px; border-radius: 0; transition: transform 0.25s ease, opacity 0.2s ease; }
.mobile-toggle.active { background: var(--text-primary); }
.mobile-toggle.active .burger-line { background: var(--bg-primary, #fff); }
.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: 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: deco-noise-texture */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;opacity:0.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}

/* Effect: btt-square */
.btt-btn{position:fixed;bottom:24px;right:24px;width:40px;height:40px;border-radius:var(--radius-sm,4px);background:var(--bg-card,#fff);color:var(--text-primary);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:9991;opacity:0;transform:translateY(20px);transition:all 0.3s;border:1px solid var(--border-color);font-size:16px;}.btt-btn.visible{opacity:0.7;transform:translateY(0);}.btt-btn:hover{opacity:1;border-color:var(--accent-1);color:var(--accent-1);}

/* ═══ 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(0,0,0,0.65); }
.site-footer a:not(.btn-custom):hover { color: #0a0a1a; }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 { color: #0a0a1a; }

/* ═══ 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.645;
    letter-spacing: 0.006em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 32px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 26px 16px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 33px;
    border-radius: calc(var(--radius-md) + 2px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 33px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 32px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 34px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 31px;
    border-radius: calc(var(--radius-md) + 2px);
}

.btn-custom {
    padding: 14px 27px;
    font-size: 14px;
    letter-spacing: 0.455px;
    border-radius: calc(var(--radius-md) + 2px);
}
.btn-outline-custom {
    padding: 15px 26px;
    border-width: 1px;
}

main > section {
    padding-top: 90px;
    padding-bottom: 94px;
}
main > section:first-child {
    padding-top: 104px;
}
main > section:nth-child(2) {
    padding-top: 92px;
    padding-bottom: 82px;
}
main > section:nth-child(3) {
    padding-top: 89px;
    padding-bottom: 88px;
}
main > section:nth-child(6) {
    padding-top: 97px;
    padding-bottom: 98px;
}

.section-header {
    margin-bottom: 49px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 3px 17px rgba(0,0,0,0.055);
}

.hero-section {
    padding-top: 104px;
}
.hero-title {
    margin-bottom: 20px;
}
.hero-subtitle {
    margin-bottom: 42px;
    font-size: 16px;
    line-height: 1.561;
}
.hero-tagline {
    font-size: 13px;
    letter-spacing: 2.897px;
    margin-bottom: 22px;
}
.hero-buttons {
    gap: 12px;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 7px 46px rgba(0,0,0,0.09);
}

.icon-wrap {
    width: 51px;
    height: 51px;
    font-size: 22px;
    border-radius: 11px;
    margin-bottom: 17px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 11px;
}
.icon-text, .card-text {
    font-size: 14px;
    line-height: 1.586;
}

.section-title {
    margin-bottom: 15px;
    letter-spacing: 0.038px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 3.759px;
    margin-bottom: 12px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.672;
}

.main-nav {
    gap: 27px;
}
.main-nav .nav-link {
    font-size: 15px;
    padding: 6px 0;
}

.site-footer {
    padding-top: 77px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 25px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-social {
    gap: 9px;
}
.footer-social a {
    width: 40px;
    height: 40px;
}
.footer-bottom {
    padding: 23px 0;
    margin-top: 50px;
}

.form-control {
    border-radius: 9px;
    padding: 13px 18px;
    font-size: 16px;
}

.testimonial-card {
    padding: 32px;
}
.quote-text {
    font-size: 18px;
    line-height: 1.662;
    margin-bottom: 20px;
}
.author-image {
    width: 44px;
    height: 44px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 38px;
}
.plan-name {
    font-size: 20px;
    margin-bottom: 11px;
}
.plan-price {
    font-size: 46px;
    margin-bottom: 18px;
}
.plan-features li {
    padding: 12px 0;
    font-size: 14px;
}

.counter-number, .stat-number {
    font-size: 42px;
    margin-bottom: 3px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.341px;
}

.team-image img {
    border-radius: 11px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 2px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 30px;
    margin-bottom: 14px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 10px;
}

.wow {
    animation-duration: 0.585s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.326s;
}

.row {
    --bs-gutter-y: 32px;
}

.cta-section {
    padding: 74px 0;
}
.cta-title {
    font-size: 39px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 23px;
}

.blog-card .card-image img {
    border-radius: 13px 13px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 8px;
    gap: 9px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 16px 0;
}
.site-logo {
    font-size: 22px;
}
.header-cta {
    margin-left: 16px;
}

/* --- internal markers --- */
:root {
    --_idx: 16812;
    --_rev: 82880;
    --_env: 38727;
    --_build: 69515;
    --_hash: '363d4b1';
}
.event-hook { pointer-events: auto }
.scope-tag { font-style: inherit }
.style-tag { font-style: inherit; font-variant: normal }
.dom-hook { display: inherit; font-style: inherit; visibility: inherit }
