/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #FF002F;
  --red-dark: #cc0026;
  --black: #0A0A0A;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #aaa;
  --gray-600: #666;
  --border-dark: #1e1e1e;
  --border-light: #e8e8e8;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid #333;
  transition: border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: #666;
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--red);
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-white:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-white-outline:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

/* =====================
   TYPOGRAPHY HELPERS
===================== */
.label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 16px;
}
.label--light { color: rgba(255,0,47,0.8); }

.section-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--black);
}
.section-title em {
  font-style: normal;
  color: var(--red);
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
}
.section-sub--light { color: var(--gray-400); }

/* =====================
   HEADER
===================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  background: var(--black);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.3s;
}

#header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
}

.logo {
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }

#nav {
  display: flex;
  gap: 28px;
}
#nav a {
  font-size: 13.5px;
  font-weight: 400;
  color: #888;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
#nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.25s;
}
#nav a:hover { color: var(--white); }
#nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
.header-phone:hover { color: var(--gray-400); }

.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-tg:hover { background: var(--red-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.2s;
}

/* =====================
   HERO
===================== */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-lines span {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: #141414;
}
.hero-lines span:nth-child(1) { left: 33.33%; }
.hero-lines span:nth-child(2) { left: 66.66%; }
.hero-lines span:nth-child(3) { display: none; }

.hero-content {
  max-width: 1360px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-size: clamp(80px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-desc {
  font-size: 17px;
  color: #888;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 4px;
}

.hero-stats {
  background: #111;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-stat {
  padding: 16px 0;
}
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-child { padding-bottom: 0; }

.hero-stat-div {
  height: 1px;
  background: var(--border-dark);
}

.stat-num {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num em {
  font-style: normal;
  color: var(--red);
}

.stat-label {
  font-size: 13px;
  color: #666;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-dot {
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* =====================
   MARQUEE
===================== */
.marquee-wrap {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid #222;
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-move 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-set {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.m-item {
  padding: 0 6px;
}

.m-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 30px;
}
.m-tag--outline {
  background: transparent;
  color: #555;
  border: 1px solid #2a2a2a;
}

.m-sep {
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 300;
  padding: 0 12px;
}

@keyframes marquee-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   EXPERTISE
===================== */
.expertise-section {
  padding: 100px 0;
  background: var(--white);
}

.expertise-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.expertise-header-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}

.exp-card {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
  cursor: default;
}
.exp-card:hover { background: #fafafa; }
.exp-card:hover .exp-icon { background: #fff0f2; color: var(--red); }

.exp-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 20px;
}

.exp-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  margin-bottom: 18px;
  transition: background 0.25s, color 0.25s;
}

.exp-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}

.exp-desc {
  font-size: 13.5px;
  color: #888;
  line-height: 1.65;
}

/* =====================
   MECHANICS SECTION
===================== */
.mechanics-section {
  background: var(--black);
  padding: 100px 0;
}

.mechanics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.mech-stat {
  background: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px;
}

.mech-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.mech-num em {
  font-style: normal;
  color: var(--red);
}

.mech-label {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

.mech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mech-card {
  background: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.mech-card:hover { border-color: #333; }
.mech-card--accent { background: var(--red); border-color: var(--red); }
.mech-card--accent-dark { background: #111; border-color: #1e1e1e; }

.mech-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.mech-card-icon--dark {
  background: rgba(255,255,255,0.06);
}

.mech-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mech-card-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.mech-card--accent .mech-card-text { color: rgba(255,255,255,0.75); }

@media (max-width: 1100px) {
  .mechanics-inner { grid-template-columns: 1fr; }
  .mech-cards { grid-template-columns: repeat(2, 1fr); }
  .mech-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .mech-cards { grid-template-columns: 1fr; }
  .mech-stats { grid-template-columns: repeat(2, 1fr); }
}

/* MAX metrics */
.mvc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mvc-metric {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.mvc-metric-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.mvc-metric-label {
  font-size: 11px;
  color: #555;
  line-height: 1.3;
}

.mvc-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvc-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #888;
  padding: 8px 12px;
  background: #141414;
  border-radius: 8px;
}

.mvc-action-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mvc-action-dot--green { background: #4ade80; }
.mvc-action-dot--blue { background: #60a5fa; }
.mvc-action-dot--red { background: var(--red); }

.mvc-action-time {
  margin-left: auto;
  font-size: 11px;
  color: #444;
}

.mvc-footer-label {
  font-size: 11px;
  color: #444;
  letter-spacing: 0.5px;
}

/* =====================
   MAX SECTION
===================== */
.max-section {
  background: var(--black);
  padding: 100px 0;
}

.max-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.max-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.max-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.max-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.max-feat:hover { border-color: #333; }

.max-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.max-feat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.max-feat-text {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* MAX visual card */
.max-right {
  position: relative;
}

.max-visual-card {
  background: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.mvc-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,0,47,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mvc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.mvc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.mvc-title span { color: var(--red); }

.mvc-dots {
  display: flex;
  gap: 6px;
}
.mvc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2a2a;
}
.mvc-dots span:nth-child(1) { background: #ff5f57; }
.mvc-dots span:nth-child(2) { background: #febc2e; }
.mvc-dots span:nth-child(3) { background: #28c840; }

.mvc-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mvc-project {
  background: #141414;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 18px 20px;
}

.mvc-project-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mvc-pname {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.mvc-pstatus {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(74,222,128,0.1);
  color: #4ade80;
}

.mvc-progress-bar {
  height: 4px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mvc-progress-bar div {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
}

.mvc-progress-text {
  font-size: 11px;
  color: #666;
}

.mvc-tasks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvc-task {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #888;
}
.mvc-task--done { color: var(--white); }
.mvc-task--active { color: var(--white); }

.mvc-task-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}
.mvc-task-dot--pending {
  background: #222;
  border: 1px solid #333;
  animation: none;
}

.mvc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 18px;
}

.mvc-avatars {
  display: flex;
  gap: -4px;
}
.mvc-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f0f0f;
  margin-left: -6px;
}
.mvc-av:first-child { margin-left: 0; }

.mvc-deadline {
  font-size: 12px;
  color: #666;
}

.max-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mbf-icon {
  font-size: 22px;
  line-height: 1;
}
.mbf-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mbf-text {
  font-size: 12px;
  color: #888;
}

/* =====================
   TELEGRAM SECTION
===================== */
.tg-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.tg-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tg-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  margin-bottom: 36px;
}

.tg-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 28px;
}
.tg-step:last-child { padding-bottom: 0; }
.tg-step:last-child::before { display: none; }
.tg-step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border-light);
}

.tg-step-num {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.tg-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  margin-top: 8px;
}

.tg-step-text {
  font-size: 13.5px;
  color: #888;
  line-height: 1.5;
}

/* Phone / Chat mockup */
.tg-phone-wrap {
  position: relative;
}

.tg-chat {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
}

.tg-chat-header {
  background: #2b5c8a;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tg-chat-av {
  width: 42px;
  height: 42px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-chat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.tg-chat-status {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.tg-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f0f2f5;
}

.tg-msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  position: relative;
}
.tg-msg p { margin-bottom: 0; }

.tg-in {
  background: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.tg-out {
  background: #effdde;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.tg-time {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  text-align: right;
}

.tg-typing {
  background: var(--white);
  align-self: flex-start;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 18px;
}
.tg-typing span {
  display: block;
  width: 6px;
  height: 6px;
  background: #aaa;
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.tg-typing span:nth-child(2) { animation-delay: 0.2s; }
.tg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

.tg-response-badge {
  position: absolute;
  top: -18px;
  right: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* =====================
   ADVANTAGES
===================== */
.adv-section {
  padding: 100px 0;
  background: var(--white);
}

.adv-header {
  margin-bottom: 60px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.adv-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,0,47,0.07);
}

.adv-icon {
  width: 52px;
  height: 52px;
  background: #fff0f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.adv-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.adv-text {
  font-size: 14px;
  color: #888;
  line-height: 1.65;
}

/* =====================
   PROCESS
===================== */
.process-section {
  background: var(--black);
  padding: 100px 0;
}

.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.process-step {
  background: var(--black);
  padding: 32px 24px;
  transition: background 0.2s;
}
.process-step:hover { background: #0f0f0f; }

.ps-num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.process-step:hover .ps-num { color: var(--red); }

.ps-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.ps-text {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}

/* =====================
   FAQ
===================== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-right {
  padding-top: 4px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--red); }

.faq-q::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--gray-100);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.2s, transform 0.3s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-item.open .faq-q { color: var(--red); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  font-size: 14.5px;
  color: #666;
  line-height: 1.75;
  padding-bottom: 20px;
}

/* =====================
   CTA
===================== */
.cta-section {
  background: var(--red);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* =====================
   FOOTER
===================== */
footer {
  background: var(--black);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-tagline {
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-nav, .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-contacts a {
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-contacts a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 0;
}

.footer-copy {
  font-size: 13px;
  color: #444;
}

.footer-policy {
  font-size: 13px;
  color: #444;
  transition: color 0.2s;
}
.footer-policy:hover { color: #888; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { flex-direction: row; gap: 20px; }
  .hero-stats { flex-direction: row; padding: 20px; }
  .hero-stat-div { width: 1px; height: auto; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .max-inner { grid-template-columns: 1fr; gap: 60px; }
  .tg-inner { grid-template-columns: 1fr; gap: 60px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  #header { padding: 0 20px; }
  #nav { display: none; }
  .header-phone { display: none; }
  .burger { display: flex; }

  .hero-content { padding: 40px 20px 60px; }
  .hero-title { letter-spacing: -3px; }
  .hero-right { flex-direction: column; }
  .hero-stats { flex-direction: column; }
  .hero-stat-div { width: auto; height: 1px; }

  .expertise-header { grid-template-columns: 1fr; gap: 32px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }

  .process-head { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; justify-content: center; }
}

/* =====================
   MOBILE NAV OPEN STATE
===================== */
#nav.nav-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding: 24px 20px;
  gap: 20px;
  z-index: 199;
}
#nav.nav-open a {
  font-size: 16px;
}

/* =====================
   SCROLL ANIMATIONS
===================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
