/* =============================================
   GUGA MEDIA — styles.css
   Version: 2.0 (February 2026)
   ============================================= */

:root {
    /* Основные */
    --blue: #0056D2;
    --blue-dark: #003A8C;
    --blue-light: #E8F0FE;
    --accent: #00B4FF;
    --accent-hover: #0090CC;
    --white: #FFFFFF;

    /* Нейтральные */
    --gray-50: #FAFBFC;
    --gray-100: #F4F5F7;
    --gray-200: #E1E4E8;
    --gray-400: #8B95A5;
    --gray-600: #666666;
    --gray-icon: #B0B8C4;
    --text: #1A1A2E;
    --text-secondary: #4A5568;

    /* Состояния */
    --success: #00C48C;
    --error: #FF4757;

    /* Радиусы */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;

    /* Тени — смягчены */
    --shadow-xs: 0 1px 3px rgba(0, 40, 100, 0.08);
    --shadow-soft: 0 4px 16px rgba(0, 40, 100, 0.1);
    --shadow-deep: 0 12px 40px rgba(0, 40, 100, 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.08);

    /* Анимация */
    --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Контейнеры */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Типографика (внутренние страницы) */
    --font-primary: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-zh: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

html[lang="zh"] {
  --font-primary: var(--font-zh);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0;
    white-space: nowrap; clip-path: inset(100%); clip: rect(0 0 0 0); overflow: hidden;
}

h1, h2, h3, h4 { font-weight: 800; text-transform: uppercase; letter-spacing: -1px; }
p { font-weight: 400; line-height: 1.6; }

/* --- Buttons --- */
.btn, .nav-btn {
    display: inline-block; text-transform: uppercase; text-decoration: none;
    font-weight: 700; border-radius: 50px; cursor: pointer; position: relative; z-index: 20;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-soft); font-family: var(--font-primary);
}
.btn:hover, .nav-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.btn { padding: 20px 50px; font-size: 16px; margin-top: 40px; }
.nav-btn { padding: 12px 25px; font-size: 14px; }

/* --- Floating Telegram Button --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 6px 25px rgba(0, 180, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: floatingPulse 3s ease-in-out infinite;
}
.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 180, 255, 0.5);
    background: var(--accent-hover);
}
.floating-btn svg { flex-shrink: 0; width: 24px; height: 24px; fill: currentColor; }
@keyframes floatingPulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(0, 180, 255, 0.4); }
    50% { box-shadow: 0 6px 35px rgba(0, 180, 255, 0.6); }
}

/* --- Navigation --- */
.nav {
    position: absolute; top: 0; left: 0; width: 100%; padding: 20px 60px;
    display: flex; justify-content: space-between; align-items: center; z-index: 20;
}
.logo { font-size: 24px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.logo a { color: inherit; text-decoration: none; }

.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; text-transform: uppercase; transition: opacity var(--transition); opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

.burger {
    display: none; cursor: pointer; background: none; border: none;
    width: 30px; height: 24px; position: relative; z-index: 25;
}
.burger span {
    display: block; width: 100%; height: 3px; border-radius: 2px;
    position: absolute; left: 0; transition: var(--transition);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
.burger.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--blue); z-index: 22; flex-direction: column;
    justify-content: center; align-items: center; gap: 30px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--white); font-size: 24px; font-weight: 700; text-transform: uppercase; text-decoration: none; }

/* --- Hero --- */
.hero-wrapper { position: relative; height: 100vh; width: 100%; overflow: hidden; z-index: 15; }
.hero-content {
    position: absolute; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px;
}
.hero-title {
    font-size: clamp(48px, 10vw, 140px);
    line-height: 0.9;
    margin-bottom: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
}
.hero-desc { font-size: clamp(16px, 2.5vw, 24px); max-width: 600px; }

.layer-bottom { background-color: var(--white); color: var(--blue); z-index: 1; width: 100vw; height: 100vh; position: relative; }
.layer-bottom .btn, .layer-bottom .nav-btn {
    background-color: var(--accent);
    color: var(--white);
    border: none;
}
.layer-bottom .btn:hover, .layer-bottom .nav-btn:hover {
    background-color: var(--accent-hover);
}
.layer-bottom .nav-links a { color: var(--blue); }
.layer-bottom .burger span { background: var(--blue); }

.layer-top {
    background-color: var(--blue); color: var(--white);
    position: absolute; top: 0; left: 0; height: 100%; width: 50%;
    overflow: hidden; z-index: 2; border-right: 1px solid rgba(255,255,255,0.1); will-change: width;
}
.layer-top .btn, .layer-top .nav-btn { background-color: var(--white); color: var(--blue); border: none; }
.layer-top .nav-links a { color: var(--white); }
.layer-top .burger span { background: var(--white); }

.inner-fix { width: 100vw; height: 100%; position: absolute; left: 0; top: 0; }

/* --- Hero Orbs --- */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    will-change: transform;
}
.orb-1 {
    width: 1000px;
    height: 1000px;
    background: var(--accent);
    top: -15%;
    right: -10%;
    filter: blur(150px);
    opacity: 0.25;
    animation: orbDrift1 20s ease-in-out infinite;
}
.orb-2 {
    width: 800px;
    height: 800px;
    background: var(--blue);
    bottom: -20%;
    left: -15%;
    filter: blur(130px);
    opacity: 0.2;
    animation: orbDrift2 25s ease-in-out infinite;
}
.orb-3 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: 35%;
    left: 45%;
    filter: blur(120px);
    opacity: 0.15;
    animation: orbDrift3 18s ease-in-out infinite;
}
@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 40px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}
@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.05); }
    66% { transform: translate(-40px, 20px) scale(0.9); }
}
@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-80px, -40px); }
}

@media (max-width: 768px) {
    .orb-1 { width: 500px; height: 500px; filter: blur(100px); }
    .orb-2 { width: 400px; height: 400px; filter: blur(90px); }
    .orb-3 { display: none; }
}

/* --- Inner pages: soft hero-style orbs --- */
.page-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.page-orbs .orb-1 {
    width: 800px;
    height: 800px;
    background: var(--accent);
    top: -10%;
    right: -5%;
    filter: blur(160px);
    opacity: 0.08;
    animation: orbDrift1 20s ease-in-out infinite;
}
.page-orbs .orb-2 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    bottom: 20%;
    left: -10%;
    filter: blur(140px);
    opacity: 0.06;
    animation: orbDrift2 25s ease-in-out infinite;
}
.page-orbs .orb-3 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: 50%;
    left: 40%;
    filter: blur(130px);
    opacity: 0.05;
    animation: orbDrift3 18s ease-in-out infinite;
}
@media (max-width: 768px) {
    .page-orbs .orb-1 { width: 400px; height: 400px; filter: blur(100px); }
    .page-orbs .orb-2 { width: 300px; height: 300px; filter: blur(90px); }
    .page-orbs .orb-3 { display: none; }
}

/* --- Toggle (data-active sliding pill) --- */
.toggle-container {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 30px;
    position: relative;
    z-index: 25;
}
.layer-top .toggle-container { background: rgba(255, 255, 255, 0.2); }
.toggle-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    width: calc(50% - 5px);
    border-radius: 40px;
    z-index: 0;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}
.toggle-container[data-active="bloggers"]::before {
    transform: translateX(calc(100% + 5px));
}
.layer-bottom .toggle-container::before { background: var(--blue); }
.layer-top .toggle-container::before { background: var(--white); }
.toggle-btn {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease, opacity 0.3s ease;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    min-width: 0;
    text-align: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}
.layer-bottom .toggle-container[data-active="brands"] .toggle-btn[data-toggle="bloggers"],
.layer-bottom .toggle-container[data-active="bloggers"] .toggle-btn[data-toggle="brands"] {
    color: rgba(255, 255, 255, 0.62);
}
.layer-bottom .toggle-container[data-active="brands"] .toggle-btn[data-toggle="brands"],
.layer-bottom .toggle-container[data-active="bloggers"] .toggle-btn[data-toggle="bloggers"] {
    color: var(--white);
}
.layer-top .toggle-container[data-active="brands"] .toggle-btn[data-toggle="bloggers"],
.layer-top .toggle-container[data-active="bloggers"] .toggle-btn[data-toggle="brands"] {
    color: rgba(0, 86, 210, 0.42);
}
.layer-top .toggle-container[data-active="brands"] .toggle-btn[data-toggle="brands"],
.layer-top .toggle-container[data-active="bloggers"] .toggle-btn[data-toggle="bloggers"] {
    color: var(--blue);
}

/* --- Sections --- */
section { padding: 120px 20px; position: relative; z-index: 10; }
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 13; }
.section-title { font-size: clamp(32px, 5vw, 60px); margin-bottom: 60px; }

/* === Хлебные крошки === */
.breadcrumbs {
  font-size: 14px;
  color: var(--gray-600);
  padding: 20px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { color: var(--gray-400); font-size: 12px; }

/* === Типографика внутренних страниц === */
.page-h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
  text-transform: none;
  letter-spacing: -0.5px;
}
.page-h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin: 60px 0 24px;
  color: var(--text);
}
.page-h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin: 40px 0 16px;
  color: var(--text);
}
.page-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 720px;
}
.page-body p + p { margin-top: 20px; }

/* === Контейнеры === */
.page-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 20px 100px;
}
.page-container--narrow {
  max-width: var(--container-narrow);
}

/* === Блок счётчиков (главная: .stats) === */
.stats {
    background: var(--gray-100);
    padding: 80px 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stats .stat-item > div:first-of-type {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}
.stat-number {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -2px;
    line-height: 1;
    display: inline;
}
.stat-suffix {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    color: var(--accent);
    display: inline;
}
.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* Внутренние страницы: прежняя сетка без анимации счётчиков */
.stats-section {
  background: var(--gray-100);
  padding: 60px 20px;
}
.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}
.stats-section .stat-item {
  display: block;
}
.stats-section .stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--blue);
  letter-spacing: -2px;
  display: block;
}
.stats-section .stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 400;
}

/* === Блок процесса (для страниц услуг) === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}
.process-step {
  padding: 30px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  text-align: center;
}
.process-step-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

/* === Цитата клиента === */
.client-quote {
  border-left: 4px solid var(--blue);
  padding-left: 24px;
  font-size: 20px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 40px 0;
  max-width: 720px;
}

/* === Карточка автора (для блога) === */
.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 60px;
}
.author-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* === Переключатель языков === */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.lang-switch a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--transition);
  font-weight: 400;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { opacity: 1; font-weight: 700; }
.lang-switch .divider { opacity: 0.3; user-select: none; }

/* === FAQ на внутренних страницах === */
.page-faq { margin: 60px 0; }
.page-faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.page-faq summary {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}
.page-faq summary::after { content: '+'; float: right; }
.page-faq details[open] summary::after { content: '−'; }
.page-faq p { margin-top: 12px; font-size: 16px; line-height: 1.6; }

/* --- Partners --- */
.partners {
    background: var(--white);
    padding: 60px 20px;
}
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity var(--transition), filter var(--transition);
    filter: grayscale(100%);
    color: var(--gray-600);
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.partner-logo svg {
    height: 24px;
    width: auto;
}
.partner-logo--youtube:hover { color: #FF0000; }
.partner-logo--telegram:hover { color: #26A5E4; }
.partner-logo--instagram:hover { color: #E4405F; }
.partner-logo--vk:hover { color: #0077FF; }
.partner-logo--twitch:hover { color: #9146FF; }
.partner-logo--tiktok:hover { color: #00F2EA; }

@media (max-width: 768px) {
    .partners-grid {
        gap: 32px;
    }
    .partner-logo svg {
        height: 20px;
    }
}

/* --- Services --- */
.services { background: var(--blue); color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: none;
    position: relative;
    z-index: 14;
    border-top: 3px solid var(--accent);
}
.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--white);
}
.service-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}
.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}
.service-card p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}
.service-list {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 15px;
    opacity: 0.75;
    line-height: 2;
}
.service-list li::before {
    content: '→ ';
    color: var(--accent);
    font-weight: 700;
}

/* --- Cases --- */
.cases { background: var(--white); color: var(--blue); overflow: hidden; }
.cases-wrapper { padding: 0 60px; }
.cases-controls { display: flex; justify-content: flex-end; gap: 12px; margin: -20px 0 20px; }
.cases-track-container { overflow: hidden; width: 100%; padding: 20px 0; }
.cases-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); gap: 40px; }
.case-item {
    min-width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 14;
}
.case-img {
    height: 360px;
    width: 100%;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    overflow: hidden;
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-soft);
}
.case-item:hover .case-img {
    transform: scale(1.02);
}
.case-info h3 { font-size: 32px; margin-bottom: 10px; }
.case-stat { font-size: 50px; font-weight: 300; margin: 10px 0; display: block; letter-spacing: -2px; }
.case-tag { font-size: 12px; text-transform: uppercase; border: 1px solid var(--blue); padding: 5px 15px; border-radius: 50px; display: inline-block; margin-bottom: 15px; }
.case-link {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.case-link:hover {
    border-bottom-color: var(--accent);
}

.cases-cta-wrap {
    text-align: center;
    margin-top: 40px;
}
.btn--cases-all {
    background: var(--blue);
    color: var(--white);
}

.slider-btn {
    width: 50px; height: 50px; background: var(--blue); color: var(--white);
    border-radius: 50%; border: none; cursor: pointer; z-index: 20;
    font-size: 24px; font-weight: bold; display: flex; justify-content: center; align-items: center;
    transition: var(--transition); box-shadow: var(--shadow-soft);
}
.slider-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-deep); }

/* --- Calculator --- */
.calculator-section { padding: 100px 20px; background: #F0F4FF; }
.calc-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.calc-label { display: block; margin-bottom: 10px; font-weight: 600; color: var(--text); }
.range-slider { width: 100%; margin: 20px 0; cursor: pointer; accent-color: var(--accent); }
.budget-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue);
    margin-top: 8px;
}
.platform-group {
    margin-top: 32px;
}
.calc-result-box { background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-deep); }
.calc-val { font-size: 36px; font-weight: 800; margin: 10px 0; }
.calc-disclaimer { font-size: 12px; opacity: 0.7; margin-top: 10px; line-height: 1.4; }
.calc-cta {
    background: var(--white);
    color: var(--accent);
    margin-top: 20px;
    width: 100%;
    border: none;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}
.calc-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.platform-select { width: 100%; padding: 15px; border-radius: var(--radius-sm); border: 1px solid #ddd; font-family: 'Manrope', sans-serif; font-size: 16px; background: var(--white); color: var(--text); }

/* --- Team --- */
.team { padding: 100px 20px; background: var(--white); }

.team-lead {
    margin-bottom: 48px;
}
.team-member--lead {
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.team-member--lead:hover {
    transform: translateY(-4px);
}
.member-photo--lead {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}
.team-member-info h4 {
    font-size: 24px;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}
.team-member-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.team-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 700px;
}
.team-members .team-member {
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.team-members .team-member:hover { transform: translateY(-6px); }
.team-members .member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    box-shadow: var(--shadow-xs);
    display: block;
    background: var(--gray-200);
}
.team-members .team-member h4 { font-size: 15px; margin-bottom: 2px; text-transform: none; letter-spacing: 0; }
.team-members .team-member p { font-size: 13px; color: var(--text-secondary); }

@media (max-width: 768px) {
    .team-member--lead {
        flex-direction: column;
        text-align: center;
    }
    .team-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--accent);
        padding-top: 12px;
        max-width: 100%;
    }
    .member-photo--lead {
        width: 160px;
        height: 160px;
    }
    .team-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .team-members .member-photo { width: 80px; height: 80px; }
}

/* --- FAQ --- */
.faq { background: #f9f9f9; color: var(--text); padding: 80px 20px; }
.faq .section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid #ddd; padding: 20px 0; }
.faq-item summary {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    list-style: none;
    cursor: pointer;
}
.faq-item summary:hover {
    color: var(--blue);
}
.faq-item summary::after { content: '+'; float: right; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 10px; font-size: 16px; line-height: 1.6; }

/* --- Contact --- */
.contact-section {
    background: var(--blue);
    color: var(--white);
    padding: 100px 20px;
}
.contact-section .section-title {
    color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info {
    position: sticky;
    top: 100px;
}
.contact-desc {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 400px;
    opacity: 0.9;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-detail-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    font-weight: 600;
}
.contact-detail a,
.contact-detail address {
    font-size: 18px;
    font-style: normal;
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition);
}
.contact-detail a:hover {
    opacity: 0.7;
}

.contact-form {
    max-width: 100%;
    position: relative;
    z-index: 20;
}
.input-group { margin-bottom: 30px; position: relative; }
.input-field {
    width: 100%; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); padding: 20px; font-size: 18px; color: var(--white);
    outline: none; font-family: 'Manrope', sans-serif; transition: var(--transition); box-shadow: var(--shadow-inset);
}
.input-field::placeholder { color: rgba(255,255,255,0.5); }
.input-field:focus { border-color: var(--white); background: rgba(0,0,0,0.3); }
.input-field.error { border-color: #ff6b6b; }
.field-error { color: #ff6b6b; font-size: 13px; margin-top: 6px; display: none; }
.input-field.error + .field-error { display: block; }

.submit-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 25px 60px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
    font-family: 'Manrope', sans-serif;
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
    background: var(--accent-hover);
}
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.consent-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--white); width: 18px; height: 18px; flex-shrink: 0; }
.consent-row label { font-size: 12px; line-height: 1.5; opacity: 0.8; }
.consent-row a { color: var(--white); text-decoration: underline; }

.form-message { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 600; display: none; }
.form-message.success { display: block; background: rgba(39,174,96,0.2); color: #2ecc71; border: 1px solid rgba(39,174,96,0.3); }
.form-message.error { display: block; background: rgba(231,76,60,0.2); color: #ff6b6b; border: 1px solid rgba(231,76,60,0.3); }

/* --- Footer --- */
.footer-logo {
    margin-bottom: 20px;
}
.footer-address {
    font-style: normal;
    max-width: 300px;
}
footer { background: var(--blue-dark); color: rgba(255,255,255,0.6); padding: 60px 20px; position: relative; z-index: 20; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08); }
footer .logo a { color: #fff; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-legal { font-size: 13px; line-height: 1.8; margin-top: 12px; opacity: 0.9; }
.copyright { margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav { padding: 15px 20px; }
    .nav-links { display: none; }
    .lang-switch { display: none; }
    .burger { display: block; }
    .logo { font-size: 20px; }

    .layer-bottom { height: 100vh; width: 100%; position: relative; }
    .layer-top { width: 100% !important; height: 50vh; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .inner-fix { width: 100%; height: 200%; position: absolute; top: 0; left: 0; }
    .hero-content { justify-content: center; padding-top: 60px; }

    /* FIX: layer-top перекрывает бургер — отключаем клики */
    .layer-top .nav { pointer-events: none; }
    .layer-top .burger { display: none !important; }

    .section-title { font-size: 32px; margin-bottom: 40px; }
    section { padding: 80px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .calc-wrapper { grid-template-columns: 1fr; }

    .cases-wrapper { padding: 0; }
    .case-item { min-width: 100%; }
    .case-img { height: 250px; }
    .case-stat { font-size: 36px; }
    .slider-btn { display: none; }

    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .member-photo { width: 100px; height: 100px; }

    .footer-content { flex-direction: column; gap: 30px; }
    .copyright { flex-direction: column; gap: 15px; text-align: center; }

    .input-field { font-size: 16px; padding: 16px; }
    .submit-btn { padding: 20px 40px; font-size: 16px; width: 100%; }

    /* Floating button: icon only on mobile */
    .floating-btn span { display: none; }
    .floating-btn { padding: 16px; border-radius: 50%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info {
        position: static;
    }
    .process-grid { grid-template-columns: 1fr; }
    .page-h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr 1fr; }
    .toggle-btn { padding: 8px 20px; font-size: 12px; min-width: auto; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* === Каталог кейсов (/kejsy/) === */
.kejsy-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    align-items: center;
}
.kejsy-filter-bar span.label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 8px;
    width: 100%;
}
@media (min-width: 600px) {
    .kejsy-filter-bar span.label { width: auto; }
}
.kejsy-filter-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
    color: var(--text);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.kejsy-filter-tag:hover { border-color: var(--blue); color: var(--blue); }
.kejsy-filter-tag.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.kejsy-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.kejsy-catalog-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.kejsy-catalog-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}
.kejsy-catalog-card.hidden { display: none !important; }
.kejsy-card-plate {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.02em;
}
.kejsy-card-body { padding: 20px; }
.kejsy-card-body .niche {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 8px;
}
.kejsy-card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.3px;
}
.kejsy-card-body .result {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.kejsy-related {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}
.kejsy-related h2 { margin-bottom: 20px; }
.kejsy-related ul { list-style: none; padding: 0; }
.kejsy-related li { margin-bottom: 12px; }
.kejsy-related a { color: var(--blue); font-weight: 600; }

/* === О компании: команда === */
.about-team-section { margin: 60px 0; }
.about-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
}
@media (min-width: 640px) {
    .about-team-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-team-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}
.about-team-card--ceo {
    grid-column: 1 / -1;
    max-width: 640px;
}
.about-team-card img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}
.about-team-card--ceo img {
    width: 200px;
    height: 200px;
}
.about-team-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: -0.3px;
}
.about-team-card .role {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
}
.about-team-card p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.about-team-card a { color: var(--blue); font-weight: 600; }

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 32px 0 48px;
}
.about-approach-item {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}
.about-approach-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue);
    text-transform: none;
}

/* === Блог: каталог и статья === */
.blog-meta {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 12px 0 32px;
}
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0 48px;
}
.blog-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}
.blog-card-plate {
    height: 120px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    padding: 16px;
    line-height: 1.35;
}
.blog-card-body { padding: 22px; }
.blog-card-body h2 {
    font-size: 18px;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.3px;
}
.blog-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.blog-related h2 { margin-bottom: 16px; }
.blog-related ul { list-style: none; padding: 0; margin: 0; color: var(--text-secondary); }
.blog-related a { color: var(--blue); font-weight: 600; text-decoration: none; }
.blog-related a:hover { text-decoration: underline; }
.blog-related p { margin-bottom: 12px; }
.blog-related li { margin-bottom: 10px; }

.article-body { max-width: 720px; }
.article-body h2 {
    font-size: 26px;
    margin: 48px 0 20px;
    text-transform: none;
    letter-spacing: -0.5px;
}
.article-body p { margin-bottom: 18px; font-size: 18px; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 1.4em; font-size: 18px; line-height: 1.7; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue); font-weight: 600; }

.author-card--large img {
    width: 80px;
    height: 80px;
}

.blog-card--soon {
    cursor: default;
    border-style: dashed;
    border-color: rgba(0, 86, 210, 0.35);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}
.blog-card--soon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.blog-card-date {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin: 0 0 10px;
}
.blog-card-badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 210, 0.08);
}

/* --- Influencers: advantages (was inline) --- */
.advantages {
    background: var(--white);
    color: var(--blue);
    padding: 100px 20px;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.advantage-card {
    padding: 30px;
    border-radius: var(--radius);
    border: 2px solid color-mix(in srgb, var(--blue) 15%, transparent);
    transition: border-color 0.3s, transform 0.35s ease-out, box-shadow 0.3s;
}
.advantage-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}
.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}
.advantage-card h3 { font-size: 20px; margin-bottom: 10px; }
.advantage-card p { font-size: 15px; opacity: 0.8; line-height: 1.5; }

.contact-section .section-lead {
    font-size: 20px;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.55;
    color: inherit;
    opacity: 0.95;
}

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-6px) rotate(4deg); }
}
body.influencers-page .advantage-icon {
    animation: emojiFloat 3.2s ease-in-out infinite;
}
body.influencers-page .advantage-card:nth-child(2) .advantage-icon { animation-delay: 0.4s; }
body.influencers-page .advantage-card:nth-child(3) .advantage-icon { animation-delay: 0.8s; }
body.influencers-page .advantage-card:nth-child(4) .advantage-icon { animation-delay: 1.2s; }

/* --- Cursor follower (desktop) --- */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .cursor-follower {
        position: fixed;
        width: 320px;
        height: 320px;
        margin: -160px 0 0 -160px;
        border-radius: 50%;
        pointer-events: none;
        z-index: 4;
        background: radial-gradient(circle, rgba(0, 180, 255, 0.14) 0%, transparent 68%);
        opacity: 0;
        transition: opacity 0.45s ease;
        will-change: transform;
    }
    body.is-cursor-ready .cursor-follower { opacity: 1; }
}

.magnetic-card {
    transition: transform 0.35s ease-out, box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

@media print {
    .nav, .layer-top, .mobile-menu, .floating-btn, .hero-orbs, .cursor-follower { display: none !important; }
    section { padding: 40px 0; }
    .hero-wrapper { height: auto; }
}
