/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=squircle, тени=colored, отступы=ultra-compact, кнопки=rounded */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Manrope:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #F59E0B;
    --accent-2: #1E3A5F;
    --accent-3: #1E3A5F;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-h3: 26px;
    --fs-body: 16px;
    
    /* Вес заголовков */
    --fw-bold: 800;
    
    /* Углы скругления */
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 44px;
    --radius-pill: 50px;
    
    /* Тени */
    --shadow-sm: 0 2px 8px #F59E0B18;
    --shadow-md: 0 4px 16px #F59E0B22;
    --shadow-lg: 0 8px 32px #F59E0B30;
    --shadow-xl: 0 16px 48px #F59E0B40;
    
    /* Отступы секций */
    --section-padding: 40px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 10px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 2px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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: 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); }

/* Trick: btn-lift-border — сдвиг вверх + смена рамки */
.btn-custom {
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn-outline-custom:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: side image bleed — картинка выходит за границы */
.hero-section { overflow: visible; padding-bottom: 80px; }
.hero-image {
    margin-right: -60px;
    position: relative;
}
.hero-image img {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: -10px 10px 40px rgba(0,0,0,0.12);
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}
.hero-title span, .hero-title strong { color: var(--accent-1); }
.hero-tagline { background: none; padding: 0; font-weight: 700; letter-spacing: 5px; }

/* 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: centered minimal — центрированный минимализм */
.site-footer { background: var(--bg-primary); 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: var(--text-primary); }
.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: var(--text-secondary); }
.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: var(--text-muted); }

/* Contact: floating labels — крупные поля с акцентом */
.contact-section .form-control {
    padding: 18px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}
.contact-section .form-control:focus { border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(var(--accent-1), 0.08); transform: translateY(-2px); }
.contact-section .btn-custom { font-size: 16px; padding: 18px 36px; }

/* Logo: pill bg — фон-капсула */
.site-logo {
    font-size: 16px;
    font-weight: 700;
    background: var(--accent-1);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
}
.site-logo span { color: #fff !important; }
.site-logo:hover { color: #fff; opacity: 0.9; }

/* Headings: numbered counter — нумерация заголовков */
.icon-box { counter-increment: card-counter; }
.icon-title::before {
    content: counter(card-counter, decimal-leading-zero) '.';
    display: block;
    color: var(--accent-1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.6;
}
.services-section, .features-section { counter-reset: card-counter; }

/* 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: 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-image {
    padding: 3px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: inline-block;
}
.team-card .team-image img, .team-image img {
    border-radius: 50%;
    display: block;
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: gradient bg — градиентный фон */
.mobile-toggle { width: 42px; height: 42px; gap: 5px; border: none; background: var(--accent-gradient, var(--accent-1)); border-radius: var(--radius-sm, 6px); }
.mobile-toggle .burger-line { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.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-line */
main > section + section::before{content:'';display:block;width:80px;height:2px;background:var(--accent-gradient);margin:0 auto;opacity:0.5;}

/* Effect: typewriter-hero */
.typewriter-cursor{display:inline-block;width:2px;height:1em;background:var(--accent-1);margin-left:4px;animation:twBlink 0.7s step-end infinite;vertical-align:text-bottom;}@keyframes twBlink{50%{opacity:0;}}

/* Effect: stagger-cards */
.icon-box,.service-card,.blog-card,.pricing-card,.team-card{opacity:0;animation:staggerIn 0.6s ease forwards;}.row>[class*="col"]:nth-child(1) .icon-box,.row>[class*="col"]:nth-child(1) .service-card,.row>[class*="col"]:nth-child(1) .blog-card{animation-delay:0.1s;}.row>[class*="col"]:nth-child(2) .icon-box,.row>[class*="col"]:nth-child(2) .service-card,.row>[class*="col"]:nth-child(2) .blog-card{animation-delay:0.2s;}.row>[class*="col"]:nth-child(3) .icon-box,.row>[class*="col"]:nth-child(3) .service-card,.row>[class*="col"]:nth-child(3) .blog-card{animation-delay:0.3s;}.row>[class*="col"]:nth-child(4) .icon-box,.row>[class*="col"]:nth-child(4) .service-card{animation-delay:0.4s;}.row>[class*="col"]:nth-child(5) .icon-box{animation-delay:0.5s;}.row>[class*="col"]:nth-child(6) .icon-box{animation-delay:0.6s;}@keyframes staggerIn{from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:translateY(0);}}

/* ═══ 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.653;
    letter-spacing: 0.01em;
}

.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card {
    padding: 26px;
}
.icon-box, .service-card, .blog-card, .testimonial-card, .pricing-card .card-body {
    padding: 23px 18px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 25px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 1px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + -1px);
}

.btn-custom {
    padding: 12px 32px;
    font-size: 15px;
    letter-spacing: 0.344px;
    border-radius: calc(var(--radius-md) + 3px);
}
.btn-outline-custom {
    padding: 13px 34px;
    border-width: 2px;
}

main > section {
    padding-top: 85px;
    padding-bottom: 81px;
}
main > section:first-child {
    padding-top: 91px;
}
main > section:nth-child(4) {
    padding-top: 91px;
    padding-bottom: 91px;
}

.section-header {
    margin-bottom: 49px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 2px 5px 20px rgba(0,0,0,0.08);
}

.hero-section {
    padding-top: 113px;
}
.hero-title {
    margin-bottom: 24px;
}
.hero-subtitle {
    margin-bottom: 41px;
    font-size: 18px;
    line-height: 1.571;
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 2.338px;
    margin-bottom: 19px;
}
.hero-buttons {
    gap: 12px;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 16px 27px rgba(0,0,0,0.145);
}

.icon-wrap {
    width: 49px;
    height: 49px;
    font-size: 21px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.65;
}

.section-title {
    margin-bottom: 17px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 12px;
    letter-spacing: 2.597px;
    margin-bottom: 15px;
}
.section-desc {
    font-size: 17px;
    line-height: 1.691;
}

.main-nav {
    gap: 32px;
}
.main-nav .nav-link {
    font-size: 15px;
    padding: 10px 0;
}

.site-footer {
    padding-top: 79px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 23px;
}
.footer-links a {
    font-size: 13px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 10px;
}
.footer-social a {
    width: 35px;
    height: 35px;
}
.footer-bottom {
    padding: 24px 0;
    margin-top: 48px;
}

.form-control {
    border-radius: 9px;
    padding: 13px 13px;
    font-size: 14px;
}

.testimonial-card {
    padding: 27px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.647;
    margin-bottom: 18px;
}
.author-image {
    width: 46px;
    height: 46px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 32px;
}
.plan-name {
    font-size: 18px;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 47px;
    margin-bottom: 23px;
}
.plan-features li {
    padding: 12px 0;
    font-size: 13px;
}

.counter-number, .stat-number {
    font-size: 45px;
    margin-bottom: 4px;
}
.counter-label {
    font-size: 14px;
    letter-spacing: 0.224px;
}

.team-image img {
    border-radius: 16px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 6px;
}
.team-role {
    font-size: 12px;
}

.step-number {
    font-size: 33px;
    margin-bottom: 13px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 6px;
}

.wow {
    animation-duration: 0.537s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.245s;
}

.row {
    --bs-gutter-y: 32px;
}

.cta-section {
    padding: 83px 0;
}
.cta-title {
    font-size: 35px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 16px;
    margin-bottom: 27px;
}

.blog-card .card-image img {
    border-radius: 7px 7px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 11px;
    gap: 10px;
}

.site-header {
    padding: 21px 0;
}
.site-header.scrolled {
    padding: 17px 0;
}
.site-logo {
    font-size: 24px;
}
.header-cta {
    margin-left: 14px;
}

/* --- internal markers --- */
:root {
    --_hash: 'e3e6c01';
    --_ver: 7.83;
    --_idx: '0189c37';
}
.scope-tag { visibility: inherit }
.state-flag { --_stamp: 544; pointer-events: auto; font-style: inherit }
