/* ================================================================
   KIT: AGENCY CREATIVE
   Тёмная креативная тема в стиле digital-агентства
   Вдохновлён: Xstar, Awwwards, DGFlick, Cuberto
   Особенности: крупная типографика, pill-кнопки, line-dividers,
   бегущие строки (marquee), serial-нумерация, text-stroke эффекты
   ================================================================ */

/* ----------------------------------------------------------------
   CSS VARIABLES
   AI: Замени --accent-1 и --accent-2 на цвета из color_palette
---------------------------------------------------------------- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --bg-card: #161636;
    --bg-card-hover: #1e1e48;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.35);
    --footer-dark-bg: #0a0a1a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --accent-1: #c9f31d;
    --accent-2: #00e5a0;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --accent-glow: 0 0 30px rgba(201, 243, 29, 0.2);

    --font-heading: 'Inter', 'Syne', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --fs-h1: 72px;
    --fs-h2: 48px;
    --fs-h3: 32px;
    --fs-h4: 24px;
    --fs-h5: 20px;
    --fs-body: 16px;
    --fs-small: 14px;

    --fw-bold: 800;
    --fw-semibold: 600;
    --fw-medium: 500;
    --fw-regular: 400;
    --fw-light: 300;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);

    --section-padding: 120px 0;
    --container-width: 1200px;
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--accent-1);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; padding: 0; margin: 0; }

::selection {
    background: var(--accent-1);
    color: var(--bg-primary);
}

/* ----------------------------------------------------------------
   TYPOGRAPHY — крупная жирная типографика агентского стиля
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Эффект text-stroke для вторичных заголовков */
.text-stroke {
    -webkit-text-stroke: 1px var(--text-primary);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent-1); }
.text-accent-2 { color: var(--accent-2); }
.text-dark { color: var(--text-primary); }
.text-muted-custom { color: var(--text-muted); }
.text-italic { font-style: italic; }
.text-uppercase-wide { text-transform: uppercase; letter-spacing: 0.15em; }

/* ----------------------------------------------------------------
   UTILITIES
---------------------------------------------------------------- */
.section-padding { padding: var(--section-padding); position: relative; }
.section-padding-sm { padding: 70px 0; }
.section-padding-lg { padding: 160px 0; }
.section-padding > .container { position: relative; z-index: 1; }

.bg-primary-custom { background-color: var(--bg-primary); }
.bg-secondary-custom { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }
.bg-gradient-custom { background: var(--accent-gradient); }
.bg-gradient-subtle {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.bg-gradient-custom {
    color: var(--bg-primary);
}
.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: var(--bg-primary); }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span { color: rgba(10,10,26,0.7); }
.bg-gradient-custom a:not(.btn-custom) { color: var(--bg-primary); }
.bg-gradient-custom .counter-number { color: var(--bg-primary); }
.bg-gradient-custom .counter-label { color: rgba(10,10,26,0.6); }

.bg-dark-section {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}
.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 p, .bg-dark-section li, .bg-dark-section span:not(.badge) { color: var(--text-secondary); }
.bg-dark-section a:not(.btn-custom) { color: rgba(255,255,255,0.8); }
.bg-dark-section a:not(.btn-custom):hover { color: #fff; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.pt-20 { padding-top: 20px; }
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.pb-20 { padding-bottom: 20px; }
.pb-40 { padding-bottom: 40px; }
.pb-60 { padding-bottom: 60px; }

.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

/* ----------------------------------------------------------------
   LINE DIVIDERS — декоративные разделители (стиль Xstar)
---------------------------------------------------------------- */
.line-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.line-divider-accent {
    width: 60px;
    height: 2px;
    background: var(--accent-gradient);
}

/* ----------------------------------------------------------------
   PRELOADER
---------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    gap: 8px;
}

.preloader-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: preloaderBounce 1.4s infinite ease-in-out both;
}

.preloader-dot:nth-child(1) { animation-delay: -0.32s; }
.preloader-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes preloaderBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ----------------------------------------------------------------
   HEADER — фиксированный прозрачный хедер
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-logo span {
    color: var(--accent-1);
}

.site-logo:hover { color: var(--text-primary); }

/* Navigation */
.main-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav .nav-link {
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--text-primary);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { width: 100%; }

/* Header CTA — pill button стиль */
.header-cta {
    padding: 10px 28px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.header-cta:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--bg-primary);
}

/* Centered logo variant: split nav groups */
.nav-group-left, .nav-group-right { display: flex; align-items: center; gap: 32px; }
.nav-group-left .nav-link, .nav-group-right .nav-link {
    color: var(--text-secondary); font-size: 14px;
    font-weight: var(--fw-medium); padding: 8px 0;
}
.nav-group-left .nav-link:hover, .nav-group-right .nav-link:hover { color: var(--accent-1); }
.nav-group-left ~ .main-nav { display: none; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.mobile-toggle .burger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    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); }

/* ----------------------------------------------------------------
   BUTTONS — pill-кнопки в стиле агентства
---------------------------------------------------------------- */
.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-primary-custom {
    padding: 14px 36px;
    background: var(--accent-1);
    color: var(--bg-primary);
    border-radius: var(--radius-pill);
}

.btn-primary-custom:hover {
    background: var(--accent-2);
    color: var(--bg-primary);
    box-shadow: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline-custom {
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
}

.btn-outline-custom:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-link-custom {
    color: var(--accent-1);
    font-weight: var(--fw-semibold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link-custom:hover {
    color: var(--accent-2);
    gap: 12px;
}

.btn-link-custom i {
    transition: var(--transition);
    transform: rotate(45deg);
}

.btn-link-custom:hover i {
    transform: rotate(45deg) translateX(4px);
}

/* Play button — стиль Xstar */
.btn-play-custom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-1);
    color: var(--bg-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    border: none;
}

.btn-play-custom:hover {
    transform: scale(1.1);
    box-shadow: var(--accent-glow);
    color: var(--bg-primary);
}

/* Serial Badge — нумерованный бейдж стиль Xstar */
.serial-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.serial-badge .arrow-icon {
    color: var(--accent-1);
    transform: rotate(45deg);
}

/* ----------------------------------------------------------------
   SECTION HEADER — tagline с pill кнопкой
---------------------------------------------------------------- */
.section-header { margin-bottom: 60px; }

.section-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    padding: 6px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
}

.section-title {
    font-size: var(--fs-h2);
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-title span {
    font-weight: var(--fw-regular);
    color: var(--accent-1);
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   HERO — полноэкранный agency hero с крупной типографикой
---------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-content { position: relative; z-index: 2; }

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    padding: 6px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
}

.hero-title {
    font-size: var(--fs-h1);
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .text-italic {
    font-style: italic;
    font-weight: var(--fw-light);
}

.hero-title .text-stroke {
    -webkit-text-stroke: 2px var(--text-primary);
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* Hero Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}

.hero-shape-1 {
    width: 500px; height: 500px;
    background: var(--accent-1);
    opacity: 0.04;
    top: -100px; right: -150px;
}

.hero-shape-2 {
    width: 400px; height: 400px;
    background: var(--accent-2);
    opacity: 0.03;
    bottom: -100px; left: -100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-primary) 30%, transparent 100%);
    z-index: 1;
}

/* ----------------------------------------------------------------
   ICON BOXES — карточки с иконками
---------------------------------------------------------------- */
.icon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    height: 100%;
}

.icon-box:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(201, 243, 29, 0.06);
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(201, 243, 29, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-1);
    margin-bottom: 20px;
    transition: var(--transition);
}

.icon-box:hover .icon-wrap {
    background: var(--accent-1);
    color: var(--bg-primary);
}

.icon-title {
    font-size: 20px;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.icon-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.icon-box-horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
}

.icon-box-horizontal:hover {
    border-color: var(--accent-1);
}

/* ----------------------------------------------------------------
   SERVICE CARDS — карточки услуг
---------------------------------------------------------------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(201, 243, 29, 0.06);
}

.service-card .card-image {
    overflow: hidden;
    position: relative;
}

.service-card .card-image img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    background: var(--accent-1);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-card .card-body {
    padding: 28px;
}

.service-card .card-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-card:hover .card-title { color: var(--accent-1); }

.service-card .card-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
}

.card-price {
    font-size: 22px;
    font-weight: var(--fw-bold);
    color: var(--accent-1);
}

/* ----------------------------------------------------------------
   ABOUT SECTION
---------------------------------------------------------------- */
.about-section { overflow: hidden; }

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--accent-1);
    color: var(--bg-primary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.badge-number {
    font-size: 36px;
    font-weight: var(--fw-bold);
    line-height: 1;
    display: block;
}

.badge-text {
    font-size: 13px;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-list li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.about-list li:last-child { border-bottom: none; }

.about-list li i {
    color: var(--accent-1);
}

/* ----------------------------------------------------------------
   COUNTER / STATS — нумерация в стиле агентства
---------------------------------------------------------------- */
.counter-section { overflow: hidden; }

.counter-item {
    text-align: center;
    padding: 30px 16px;
}

.counter-number {
    font-size: 52px;
    font-weight: var(--fw-bold);
    color: var(--accent-1);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.counter-suffix {
    font-size: 0.6em;
    color: var(--accent-1);
    font-weight: var(--fw-semibold);
}

.counter-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ----------------------------------------------------------------
   TEAM CARDS — стиль со смещением
---------------------------------------------------------------- */
.team-card {
    background: transparent;
    border: none;
    text-align: center;
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: grayscale(20%);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.team-card:hover .team-social { bottom: 0; }

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--accent-1);
    color: var(--bg-primary);
}

.team-name {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* ----------------------------------------------------------------
   TESTIMONIALS — большая цитата агентского стиля
---------------------------------------------------------------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent-1);
}

.quote-icon {
    font-size: 36px;
    color: var(--accent-1);
    opacity: 0.3;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars i {
    color: var(--accent-1);
    font-size: 14px;
}

.author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-1);
}

.author-name {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ----------------------------------------------------------------
   PORTFOLIO — overlay с эффектом
---------------------------------------------------------------- */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(10, 10, 26, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-cat {
    font-size: 12px;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: var(--fw-semibold);
}

.portfolio-title {
    font-size: 22px;
    color: #fff;
    margin: 0;
}

/* ----------------------------------------------------------------
   PRICING CARDS — тёмные с неоновым акцентом
---------------------------------------------------------------- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border-color);
    transition: var(--transition);
}

.pricing-card.featured::before,
.pricing-card:hover::before {
    background: var(--accent-gradient);
}

.pricing-card.featured {
    border-color: var(--accent-1);
    background: linear-gradient(180deg, rgba(201, 243, 29, 0.03), var(--bg-card));
}

.plan-name {
    font-size: 18px;
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-price {
    font-size: 52px;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.plan-price .currency {
    font-size: 24px;
    vertical-align: super;
    color: var(--accent-1);
    margin-right: 4px;
}

.plan-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li i {
    color: var(--accent-1);
    font-size: 14px;
}

.plan-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-features li.disabled i {
    color: var(--text-muted);
}

/* ----------------------------------------------------------------
   FAQ / ACCORDION
---------------------------------------------------------------- */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
    font-size: 16px;
    padding: 20px 28px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-card);
    color: var(--accent-1);
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0.6) sepia(1) saturate(5) hue-rotate(35deg);
}

.accordion-body {
    color: var(--text-secondary);
    padding: 0 28px 24px;
    font-size: 15px;
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   BLOG CARDS
---------------------------------------------------------------- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
}

.blog-card .card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 28px;
}

.card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-meta i {
    color: var(--accent-1);
    margin-right: 4px;
}

.blog-card .card-title {
    font-size: 20px;
    margin-bottom: 0;
}

.blog-card .card-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.blog-card .card-title a:hover { color: var(--accent-1); }

/* ----------------------------------------------------------------
   CTA SECTION — призыв к действию
---------------------------------------------------------------- */
.cta-section {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-shape-1 {
    width: 300px; height: 300px;
    background: rgba(255, 255, 255, 0.05);
    top: -80px; right: -80px;
}

.cta-shape-2 {
    width: 200px; height: 200px;
    background: rgba(255, 255, 255, 0.03);
    bottom: -60px; left: -60px;
}

.cta-section > .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--fs-h2);
    color: var(--bg-primary);
    margin-bottom: 16px;
}

.cta-text {
    color: rgba(10, 10, 26, 0.7);
    max-width: 560px;
    font-size: 17px;
    margin-bottom: 28px;
}

.cta-section p, .cta-section li { color: rgba(10,10,26,0.7); }

.cta-section .btn-custom {
    background: var(--bg-primary);
    color: var(--accent-1);
    padding: 14px 36px;
    border-radius: var(--radius-pill);
}

.cta-section .btn-custom:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   PROCESS / STEPS — нумерованные шаги
---------------------------------------------------------------- */
.process-item {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.process-item:hover { border-color: var(--accent-1); }

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: var(--fw-bold);
    color: var(--accent-1);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-item:hover .step-number {
    background: var(--accent-1);
    color: var(--bg-primary);
}

.step-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* ----------------------------------------------------------------
   NEWSLETTER / SUBSCRIBE FORM
---------------------------------------------------------------- */
.newsletter-form {
    display: flex;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    padding: 6px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    border-radius: var(--radius-pill);
}

/* ----------------------------------------------------------------
   CONTACT FORM
---------------------------------------------------------------- */
.form-custom .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-custom .form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(201, 243, 29, 0.1);
    outline: none;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-custom .form-control::placeholder {
    color: var(--text-muted);
}

.form-custom textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ----------------------------------------------------------------
   MARQUEE / TEXT SLIDER — бегущая строка в стиле Xstar
---------------------------------------------------------------- */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    gap: 60px;
}

.marquee-track .marquee-item {
    font-size: 64px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    color: var(--text-primary);
}

.marquee-track .marquee-item.stroke {
    -webkit-text-stroke: 1px var(--text-primary);
    -webkit-text-fill-color: transparent;
}

.marquee-track .marquee-item.italic {
    font-style: italic;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   FOOTER — тёмный мультиколоночный футер
---------------------------------------------------------------- */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-widget { margin-bottom: 20px; }

.widget-title {
    font-size: 18px;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--accent-gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-1);
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-contact li i {
    color: var(--accent-1);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--bg-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-policy {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.footer-policy a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-policy a:hover { color: var(--accent-1); }

/* ----------------------------------------------------------------
   SCROLL TOP — кнопка наверх
---------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-1);
    color: var(--bg-primary);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--accent-glow);
}

.scroll-top.visible { display: flex; }

.scroll-top:hover {
    transform: translateY(-4px);
    background: var(--accent-2);
}

/* ----------------------------------------------------------------
   BOOTSTRAP NAV PILLS OVERRIDE
---------------------------------------------------------------- */
.nav-pills .nav-link {
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition);
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--bg-primary);
}

/* ----------------------------------------------------------------
   SWIPER OVERRIDES
---------------------------------------------------------------- */
.swiper-button-next,
.swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 16px; }

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--bg-primary);
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent-1);
    width: 24px;
    border-radius: 8px;
}

/* ----------------------------------------------------------------
   WOW.JS / ANIMATION HELPERS
---------------------------------------------------------------- */
.wow { visibility: hidden; }
.animated { visibility: visible; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float-anim { animation: floatUpDown 3s ease-in-out infinite; }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) {
    :root { --fs-h1: 56px; --fs-h2: 40px; }
}

/* ----------------------------------------------------------------
   MOBILE MENU — slide-in panel
---------------------------------------------------------------- */
@media (max-width: 992px) {
    :root {
        --fs-h1: 44px; --fs-h2: 34px; --fs-h3: 26px;
        --section-padding: 90px 0;
    }

    .main-nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--bg-secondary);
        padding: 90px 32px 40px;
        gap: 0;
        z-index: 10000;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .main-nav.active { right: 0; }

    .main-nav .nav-link {
        display: block !important;
        font-size: 18px !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-transform: none;
        letter-spacing: 0;
        color: var(--text-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        color: var(--accent-1) !important;
    }

    .main-nav .nav-link::after { display: none; }

    .header-cta { display: none !important; }

    .mobile-toggle {
        display: flex !important;
        z-index: 10001;
        position: relative;
        pointer-events: auto !important;
        opacity: 1 !important;
        background: none !important;
        border: none !important;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title { font-size: var(--fs-h1); }
    .process-item:not(:last-child)::after { display: none; }
    .counter-number { font-size: 40px; }
    .marquee-track .marquee-item { font-size: 40px; }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 36px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 20px;
        --section-padding: 70px 0;
    }

    .section-header { margin-bottom: 40px; }
    .hero-section { min-height: auto; padding: 140px 0 80px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
    .newsletter-form button { border-radius: var(--radius-md); width: 100%; }
    .pricing-card .plan-price { font-size: 40px; }
    .footer-bottom { text-align: center; flex-direction: column; }
    .marquee-track .marquee-item { font-size: 28px; }
}

@media (max-width: 576px) {
    :root {
        --fs-h1: 30px; --fs-h2: 24px; --fs-h3: 20px;
        --section-padding: 56px 0;
    }

    .testimonial-card { padding: 28px; }
    .pricing-card { padding: 28px; }
    .icon-box { padding: 28px 20px; }
    .section-tagline, .hero-tagline { font-size: 11px; padding: 5px 14px; }
}
