/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=squircle, тени=strong, отступы=compact, кнопки=slim */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Figtree:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #5E6DE8;
    --accent-2: #818CF8;
    --accent-3: #818CF8;
    --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Figtree', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 84px;
    --fs-h2: 52px;
    --fs-h3: 36px;
    --fs-body: 18px;
    
    /* Вес заголовков */
    --fw-bold: 600;
    
    /* Углы скругления */
    --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: 60px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 4px;
    padding: 10px 24px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 2px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* 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);
}

/* Trick: card-dashed-border — пунктирная рамка */
.icon-box, .service-card, .blog-card, .pricing-card, .testimonial-card {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: none;
}
.icon-box:hover, .service-card:hover, .blog-card:hover, .pricing-card:hover, .testimonial-card:hover {
    border-color: var(--accent-1);
}

/* Trick: wave-divider — волнистый разделитель перед секциями */
.bg-secondary-custom {
    position: relative;
    margin-top: 40px;
}
.bg-secondary-custom::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: fullbleed bg — фон на весь экран с оверлеем */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}
.hero-section .hero-bg { opacity: 0.5 !important; }
.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%) !important;
}
.hero-section .hero-content { text-align: center; }
.hero-section .hero-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-section .hero-subtitle { color: #000000; }
.hero-section .hero-tagline { background: rgba(255,255,255,0.15); color: #000000 !important; backdrop-filter: blur(8px); }
.hero-section .btn-outline-custom { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-section .hero-buttons { justify-content: center; }

/* Header: transparent blur — прозрачный с блюром */
.site-header { background: transparent; padding: 20px 0; }
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-color);
    padding: 14px 0;
}

/* Footer: brutalist — грубый стиль */
.site-footer {
    background: var(--bg-primary);
    color: #000000;
    padding-top: 60px;
    border-top: 4px solid #000000;
}
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5 { color: #000000; }
.footer-widget .widget-title { text-transform: uppercase; font-weight: 900; letter-spacing: 2px; border-bottom: 2px solid #000000; padding-bottom: 10px; }
.footer-widget .widget-title::after { display: none; }
.footer-links a { color: #000000; font-weight: 600; text-transform: uppercase; font-size: 12px; }
.footer-links a:hover { color: var(--accent-1); padding-left: 10px; }
.footer-social a { border-radius: 0; background: #000000; color: var(--bg-primary); border: none; }
.footer-social a:hover { background: var(--accent-1); }
.footer-bottom { border-top: 2px solid #000000; }
.footer-bottom p { color: #000000; }

/* Contact: split bg — разделённый фон */
.contact-section { position: relative; }
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .form-custom { background: var(--bg-card, #fff); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* 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: hero — арка сверху */
.hero-image img {
    border-radius: 50% 50% var(--radius-sm) var(--radius-sm);
    object-fit: cover;
}

/* Img: cards — скругление только сверху */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Img: team — сильно-скруглённый квадрат */
.team-card .team-image img, .team-image img {
    border-radius: 30%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 3px solid var(--accent-1);
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: arrow — средняя линия сдвигается вправо */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; align-items: flex-start; padding-left: 8px; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.35s ease, width 0.35s ease, opacity 0.3s ease; }
.mobile-toggle .burger-line:nth-child(2) { width: 16px; transition: width 0.3s ease, opacity 0.3s ease; }
.mobile-toggle:hover .burger-line:nth-child(2) { width: 24px; }
.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; width: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Effect: scrollbar-numbers */
.scroll-nums{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:9990;display:flex;flex-direction:column;gap:16px;font-size:11px;font-weight:700;opacity:0.3;font-family:var(--font-body);}.scroll-nums span{cursor:pointer;transition:all 0.3s;}.scroll-nums span.active{color:var(--accent-1);opacity:1;transform:scale(1.5);}@media(max-width:768px){.scroll-nums{display:none;}}

/* Effect: deco-diagonal-lines */
.bg-deco{position:fixed;inset:0;pointer-events:none;z-index:0;background:repeating-linear-gradient(135deg,transparent,transparent 80px,var(--accent-1) 80px,var(--accent-1) 81px);opacity:0.018;}

/* Effect: hover-btn-ripple — Material Design ripple-эффект на кнопках при клике */
.btn-custom,.btn-primary-custom,.btn-outline-custom{position:relative;overflow:hidden;}.btn-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.35);transform:scale(0);animation:rippleAnim 0.6s ease-out;pointer-events:none;}@keyframes rippleAnim{to{transform:scale(4);opacity:0;}}

/* ═══════════════════════════════════════════ */
/* NOISE LAYER — микро-вариации для уникальности */
/* ═══════════════════════════════════════════ */

body {
    line-height: 1.677;
    letter-spacing: 0.009em;
}

.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: 24px 22px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 29px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 30px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + 1px);
}
.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: 30px;
    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) + 0px);
}

.btn-custom {
    padding: 16px 30px;
    font-size: 16px;
    letter-spacing: 0.163px;
    border-radius: calc(var(--radius-md) + 1px);
}
.btn-outline-custom {
    padding: 17px 28px;
    border-width: 1px;
}

main > section {
    padding-top: 94px;
    padding-bottom: 99px;
}
main > section:first-child {
    padding-top: 98px;
}
main > section:nth-child(2) {
    padding-top: 87px;
    padding-bottom: 86px;
}
main > section:nth-child(4) {
    padding-top: 88px;
    padding-bottom: 96px;
}
main > section:nth-child(6) {
    padding-top: 98px;
    padding-bottom: 97px;
}

.section-header {
    margin-bottom: 49px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 0px 3px 20px rgba(0,0,0,0.071);
}

.hero-section {
    padding-top: 98px;
}
.hero-title {
    margin-bottom: 28px;
}
.hero-subtitle {
    margin-bottom: 41px;
    font-size: 16px;
    line-height: 1.6;
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 3.462px;
    margin-bottom: 18px;
}
.hero-buttons {
    gap: 15px;
}

.hero-image img {
    border-radius: 7px;
    box-shadow: 0 15px 33px rgba(0,0,0,0.148);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 23px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.icon-title, .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.icon-text, .card-text {
    font-size: 15px;
    line-height: 1.626;
}

.section-title {
    margin-bottom: 15px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 14px;
    letter-spacing: 3.44px;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 18px;
    line-height: 1.655;
}

.main-nav {
    gap: 33px;
}
.main-nav .nav-link {
    font-size: 15px;
    padding: 6px 0;
}

.site-footer {
    padding-top: 68px;
}
.footer-widget .widget-title {
    font-size: 17px;
    margin-bottom: 24px;
}
.footer-links a {
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 9px;
}
.footer-social a {
    width: 37px;
    height: 37px;
}
.footer-bottom {
    padding: 26px 0;
    margin-top: 60px;
}

.form-control {
    border-radius: 9px;
    padding: 13px 16px;
    font-size: 15px;
}

.testimonial-card {
    padding: 31px;
}
.quote-text {
    font-size: 17px;
    line-height: 1.654;
    margin-bottom: 20px;
}
.author-image {
    width: 48px;
    height: 48px;
}
.author-name {
    font-size: 14px;
}
.author-role {
    font-size: 14px;
}

.pricing-card {
    padding: 41px;
}
.plan-name {
    font-size: 20px;
    margin-bottom: 6px;
}
.plan-price {
    font-size: 47px;
    margin-bottom: 18px;
}
.plan-features li {
    padding: 9px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 46px;
    margin-bottom: 4px;
}
.counter-label {
    font-size: 15px;
    letter-spacing: 0.792px;
}

.team-image img {
    border-radius: 17px;
}
.team-name {
    font-size: 17px;
    margin-bottom: 5px;
}
.team-role {
    font-size: 13px;
}

.step-number {
    font-size: 30px;
    margin-bottom: 11px;
}
.step-title {
    font-size: 19px;
    margin-bottom: 7px;
}

.wow {
    animation-duration: 0.634s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.296s;
}

.row {
    --bs-gutter-y: 32px;
}

.cta-section {
    padding: 69px 0;
}
.cta-title {
    font-size: 37px;
    margin-bottom: 15px;
}
.cta-text {
    font-size: 17px;
    margin-bottom: 30px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 12px;
    margin-bottom: 9px;
    gap: 13px;
}

.site-header {
    padding: 15px 0;
}
.site-header.scrolled {
    padding: 9px 0;
}
.site-logo {
    font-size: 21px;
}
.header-cta {
    margin-left: 15px;
}

/* --- internal markers --- */
:root {
    --_hash: 6.39;
    --_run: 6.4;
}
.base-ref { font-variant: normal; vertical-align: baseline; pointer-events: auto }
.vis-helper { outline: 0 solid transparent }
.dom-hook { outline: 0 solid transparent; vertical-align: baseline }
