/* ═══ AUTO-GENERATED custom.css ═══ */
/* Стиль: углы=none, тени=medium, отступы=normal, кнопки=square */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Sora:wght@400;500&display=swap');

:root {
    /* Акцентные цвета */
    --accent-1: #FACC15;
    --accent-2: #7638F3;
    --accent-3: #7638F3;
    --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    
    /* Шрифты */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Sora', sans-serif;
    
    /* Размеры шрифтов */
    --fs-h1: 34px;
    --fs-h2: 24px;
    --fs-h3: 18px;
    --fs-body: 14px;
    
    /* Вес заголовков */
    --fw-bold: 700;
    
    /* Углы скругления */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-pill: 0px;
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    
    /* Отступы секций */
    --section-padding: 80px 0;
}

/* Стиль кнопок */
.btn-custom {
    border-radius: 2px;
    padding: 14px 28px;
}

/* Стиль карточек */
.icon-box, .service-card, .testimonial-card, .blog-card, .pricing-card {
    border-width: 2px;
    border-color: var(--border-color);
}

/* ═══════════════════════════════════════════ */
/* STYLE TRICKS — автогенерация приёмов      */
/* ═══════════════════════════════════════════ */

/* Trick: process-big-number — крупная нумерация */
.process-item {
    position: relative;
    padding-top: 60px;
}
.process-item .step-number {
    font-size: 80px;
    font-weight: 900;
    opacity: 0.08;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

/* 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: 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;
}

/* ═══════════════════════════════════════════ */
/* ELEMENT PRESETS — уникализация компонентов */
/* ═══════════════════════════════════════════ */

/* Hero: diagonal split — диагональный раздел */
.hero-section { min-height: 100vh; position: relative; overflow: hidden; }
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--accent-1);
    opacity: 0.06;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}
.hero-image { position: relative; z-index: 1; }
.hero-image img {
    border-radius: 0 0 0 var(--radius-xl);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.15);
}
.hero-content { position: relative; z-index: 2; }
.hero-tagline { border-left: 3px solid var(--accent-1); padding-left: 12px; background: none; border-radius: 0; }

/* Header: dark bar — тёмный хедер */
.site-header {
    background: var(--text-primary);
    padding: 14px 0;
}
.site-header .site-logo { color: #fff; }
.site-header .nav-link { color: rgba(255,255,255,0.7) !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff !important; }
.site-header .nav-link::after { background: #fff; }
.site-header .header-cta { background: #fff; color: var(--text-primary); border-color: #fff; }
.site-header .mobile-toggle .burger-line { background: #fff; }
.site-header.scrolled { background: var(--text-primary); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

/* Footer: dark classic — классический тёмный */
.site-footer { background: var(--text-primary); color: rgba(255,255,255,0.6); padding-top: 80px; }
.footer-widget .widget-title::after { width: 40px; height: 2px; background: var(--accent-1); }
.footer-social a { border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; margin-top: 60px; }

/* Contact: underline fields — поля с нижней чертой */
.contact-section .form-control {
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    font-size: 16px;
}
.contact-section .form-control:focus { border-bottom-color: var(--accent-1); box-shadow: none; }
.contact-section .btn-custom { border-radius: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; padding: 16px 40px; }

/* Logo: serif elegant — элегантный с засечками */
.site-logo {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 2px;
    font-style: italic;
}
.site-logo span { color: var(--accent-1); font-style: normal; font-weight: 700; }

/* Headings: thin light — тонкие лёгкие */
h3, h4, h5 { font-weight: 400; color: var(--text-primary); }
.icon-title, .card-title { font-weight: 400; font-size: 20px; letter-spacing: 0.5px; }
.step-title { font-weight: 400; }

/* Img: hero — двойная рамка */
.hero-image img {
    border: 3px solid var(--accent-1);
    outline: 3px solid var(--accent-1);
    outline-offset: 6px;
    border-radius: var(--radius-md);
}

/* Img: cards — срезанный угол */
.service-card img, .icon-box img, .blog-card img, .portfolio-item img {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

/* ═══ BURGER MENU DESIGN ═══ */
/* Burger: spin — вращающаяся анимация */
.mobile-toggle { width: 40px; height: 40px; gap: 6px; border: none; background: none; border-radius: 0; transition: transform 0.4s ease; }
.mobile-toggle .burger-line { width: 24px; height: 2px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle.active { transform: rotate(180deg); }
.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-diamond */
main > section + section::before{content:'';display:block;width:10px;height:10px;background:var(--accent-1);transform:rotate(45deg);margin:15px auto;opacity:0.4;}

/* Effect: cursor-crosshair */
.cursor-cross-h,.cursor-cross-v{position:fixed;pointer-events:none;z-index:99998;background:var(--accent-1);opacity:0.06;}.cursor-cross-h{width:100%;height:1px;left:0;}.cursor-cross-v{width:1px;height:100%;top:0;}

/* Effect: progress-percentage */
.progress-pct{position:fixed;bottom:20px;left:20px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--accent-1);background:var(--bg-card);border:1px solid var(--border-color);border-radius:50%;z-index:9990;opacity:0.6;font-family:var(--font-body);}@media(max-width:768px){.progress-pct{display:none;}}

/* Effect: stagger-blur-in */
.icon-box,.service-card,.blog-card{opacity:0;filter:blur(8px);animation:blurIn 0.6s ease forwards;}.row>[class*="col"]:nth-child(1)>*{animation-delay:0.08s;}.row>[class*="col"]:nth-child(2)>*{animation-delay:0.18s;}.row>[class*="col"]:nth-child(3)>*{animation-delay:0.28s;}.row>[class*="col"]:nth-child(4)>*{animation-delay:0.38s;}@keyframes blurIn{from{opacity:0;filter:blur(8px);transform:translateY(20px);}to{opacity:1;filter:blur(0);transform:translateY(0);}}

/* 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%;}

/* ═══ 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.631;
    letter-spacing: 0.009em;
}

.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 21px;
}
.row > [class*="col"]:nth-child(1) .icon-box,
.row > [class*="col"]:nth-child(1) .service-card {
    padding: 25px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(2) .icon-box,
.row > [class*="col"]:nth-child(2) .service-card {
    padding: 23px;
    border-radius: calc(var(--radius-md) + 3px);
}
.row > [class*="col"]:nth-child(3) .icon-box,
.row > [class*="col"]:nth-child(3) .service-card {
    padding: 25px;
    border-radius: calc(var(--radius-md) + -1px);
}
.row > [class*="col"]:nth-child(4) .icon-box,
.row > [class*="col"]:nth-child(4) .service-card {
    padding: 26px;
    border-radius: calc(var(--radius-md) + 0px);
}
.row > [class*="col"]:nth-child(5) .icon-box,
.row > [class*="col"]:nth-child(5) .service-card {
    padding: 28px;
    border-radius: calc(var(--radius-md) + -2px);
}
.row > [class*="col"]:nth-child(6) .icon-box,
.row > [class*="col"]:nth-child(6) .service-card {
    padding: 24px;
    border-radius: calc(var(--radius-md) + -1px);
}

.btn-custom {
    padding: 14px 27px;
    font-size: 14px;
    letter-spacing: 0.113px;
    border-radius: calc(var(--radius-md) + -1px);
}
.btn-outline-custom {
    padding: 15px 26px;
    border-width: 2px;
}

main > section {
    padding-top: 95px;
    padding-bottom: 89px;
}
main > section:first-child {
    padding-top: 105px;
}
main > section:nth-child(2) {
    padding-top: 88px;
    padding-bottom: 96px;
}
main > section:nth-child(3) {
    padding-top: 99px;
    padding-bottom: 93px;
}
main > section:nth-child(4) {
    padding-top: 103px;
    padding-bottom: 99px;
}
main > section:nth-child(6) {
    padding-top: 102px;
    padding-bottom: 98px;
}

.section-header {
    margin-bottom: 51px;
}

.icon-box, .service-card, .blog-card, .pricing-card {
    box-shadow: 1px 3px 17px rgba(0,0,0,0.072);
}

.hero-section {
    padding-top: 110px;
}
.hero-title {
    margin-bottom: 25px;
}
.hero-subtitle {
    margin-bottom: 38px;
    font-size: 20px;
    line-height: 1.56;
}
.hero-tagline {
    font-size: 11px;
    letter-spacing: 2.738px;
    margin-bottom: 22px;
}
.hero-buttons {
    gap: 16px;
}

.hero-image img {
    border-radius: 11px;
    box-shadow: 0 6px 43px rgba(0,0,0,0.12);
}

.icon-wrap {
    width: 47px;
    height: 47px;
    font-size: 20px;
    border-radius: 8px;
    margin-bottom: 17px;
}

.icon-title, .card-title {
    font-size: 19px;
    margin-bottom: 13px;
}
.icon-text, .card-text {
    font-size: 16px;
    line-height: 1.581;
}

.section-title {
    margin-bottom: 14px;
    letter-spacing: 0.0px;
}
.section-tagline {
    font-size: 13px;
    letter-spacing: 3.227px;
    margin-bottom: 17px;
}
.section-desc {
    font-size: 16px;
    line-height: 1.615;
}

.main-nav {
    gap: 27px;
}
.main-nav .nav-link {
    font-size: 13px;
    padding: 8px 0;
}

.site-footer {
    padding-top: 71px;
}
.footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 22px;
}
.footer-links a {
    font-size: 15px;
}
.footer-links li {
    margin-bottom: 9px;
}
.footer-social {
    gap: 12px;
}
.footer-social a {
    width: 37px;
    height: 37px;
}
.footer-bottom {
    padding: 21px 0;
    margin-top: 53px;
}

.form-control {
    border-radius: 5px;
    padding: 11px 17px;
    font-size: 14px;
}

.testimonial-card {
    padding: 34px;
}
.quote-text {
    font-size: 16px;
    line-height: 1.612;
    margin-bottom: 19px;
}
.author-image {
    width: 51px;
    height: 51px;
}
.author-name {
    font-size: 15px;
}
.author-role {
    font-size: 13px;
}

.pricing-card {
    padding: 38px;
}
.plan-name {
    font-size: 18px;
    margin-bottom: 6px;
}
.plan-price {
    font-size: 46px;
    margin-bottom: 21px;
}
.plan-features li {
    padding: 12px 0;
    font-size: 15px;
}

.counter-number, .stat-number {
    font-size: 45px;
    margin-bottom: 8px;
}
.counter-label {
    font-size: 13px;
    letter-spacing: 0.473px;
}

.team-image img {
    border-radius: 14px;
}
.team-name {
    font-size: 18px;
    margin-bottom: 5px;
}
.team-role {
    font-size: 14px;
}

.step-number {
    font-size: 31px;
    margin-bottom: 11px;
}
.step-title {
    font-size: 17px;
    margin-bottom: 8px;
}

.wow {
    animation-duration: 0.515s !important;
}
.icon-box, .service-card, .blog-card, .testimonial-card,
.pricing-card, .team-card {
    transition-duration: 0.278s;
}

.row {
    --bs-gutter-y: 31px;
}

.cta-section {
    padding: 92px 0;
}
.cta-title {
    font-size: 36px;
    margin-bottom: 17px;
}
.cta-text {
    font-size: 18px;
    margin-bottom: 33px;
}

.blog-card .card-image img {
    border-radius: 12px 12px 0 0;
}
.card-meta {
    font-size: 14px;
    margin-bottom: 5px;
    gap: 9px;
}

.site-header {
    padding: 20px 0;
}
.site-header.scrolled {
    padding: 16px 0;
}
.site-logo {
    font-size: 22px;
}
.header-cta {
    margin-left: 19px;
}

/* --- internal markers --- */
:root {
    --_ref: 5.75;
    --_uid: 9.52;
}
.layout-anchor { content: ''; outline: 0 solid transparent }
.ui-ghost { --_ref: '2f'; content: ''; font-variant: normal }
.frame-ref { visibility: inherit; --_ref: 'b7' }
.bind-ref { vertical-align: baseline; unicode-bidi: normal; pointer-events: auto }

/* ═══ COOKIES BANNER STYLES ═══ */
.cookie-banner {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner a {
    color: #FACC15;
}

.cookie-banner a:hover {
    color: #fff;
}

/* Responsive cookies banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .cookie-banner div {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .cookie-banner .btn-custom,
    .cookie-banner .btn-link-custom {
        width: 100%;
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
}
