/* ====== VARIABLES ====== */
:root {
  --accent: #E8000D;
  --accent-dark: #1a0000;
  --accent2: #3b82f6;
  --white: #FFFFFF;
  --gray: #9CA3AF;
  --gray2: #6B7280;
  --bg: #0A0A0A;
  --bg2: #111111;
  --bg3: #161616;
  --card: #141414;
  --card-solid: #161616;
  --border: #222222;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ====== HONEYPOT ====== */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input { font-family: inherit; }

/* Staggered reveal */
.grid .card:nth-child(2) { transition-delay: 0.1s; }
.grid .card:nth-child(3) { transition-delay: 0.2s; }
.grid .card:nth-child(4) { transition-delay: 0.3s; }
.grid .card:nth-child(5) { transition-delay: 0.4s; }
.grid .card:nth-child(6) { transition-delay: 0.5s; }

/* ====== CONTAINER ====== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Elementor adds widgets to its preview iframe after the page scripts run.
   Keep all reveal-animation content visible while the page is being edited. */
.elementor-editor-active .fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ====== TAG ====== */
.tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}
.tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 14px 30px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: #cc000b;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 0, 13, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gray2);
  background: rgba(255,255,255,0.03);
}
.btn--full { width: 100%; }

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo small {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray2);
  margin-left: 4px;
}
.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 15px;
  color: var(--gray);
  transition: color 0.3s;
}
.nav__link:hover { color: var(--white); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { font-size: 14px; padding: 11px 26px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero elements are always visible (no scroll animation needed) */
.hero .fade-up,
.hero.fade-up {
  opacity: 1;
  transform: none;
}

/* ====== HERO ====== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 60%, #1a0000 100%);
}
.hero__glow {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 0, 13, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero__content { flex: 1; }
.hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}
.accent { color: var(--accent); }
.hero__subtitle {
  font-size: 18px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 15px;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero__highlight {
  background: rgba(232, 0, 13, 0.05);
  border: 1px solid rgba(232, 0, 13, 0.15);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero__highlight p {
  font-size: 14px;
  line-height: 1.6;
}
.hero__buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero__trust {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.hero__trust-label {
  display: block;
  font-size: 13px;
  color: var(--gray2);
  margin-bottom: 10px;
}
.hero__trust-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__trust-logos span {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray2);
}
.hero__trust-more {
  color: var(--gray2) !important;
  font-weight: 400 !important;
}
.hero__visual {
  width: 340px;
  flex-shrink: 0;
}

/* ====== HERO MONITOR COMPONENT ====== */
.monitor {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mon-bar {
  background: #0a0a0a;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mon-dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #e02020; }
.dot-y { background: #333; }
.dot-g { background: #333; transition: background .4s; }
.mon-label { font-size: 9px; color: #475569; letter-spacing: 2px; font-weight: 700; }
.live-badge { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #4ade80; font-weight: 700; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.chart-area { position: relative; height: 120px; padding: 10px 14px 4px; background: #0c0c0c; }
.join-line { position: absolute; top: 8px; bottom: 18px; width: 1px; background: #e02020; left: 44%; opacity: .6; }
.join-tag { position: absolute; top: 6px; font-size: 8px; color: #e02020; font-weight: 700; background: #0c0c0c; padding: 0 3px; left: calc(44% - 16px); }
.chart-labels { display: flex; justify-content: space-between; font-size: 8px; color: #334155; padding: 0 14px 6px; }
.ba-row { display: flex; background: #0a0a0a; border-top: 1px solid var(--border); }
.ba-btn { flex: 1; padding: 8px; text-align: center; font-size: 10px; font-weight: 700; cursor: pointer; color: #475569; letter-spacing: .5px; transition: all .2s; border: none; background: none; font-family: inherit; }
.ba-btn.on { color: #fff; background: #111; }
.ba-btn.on.b { color: #e02020; }
.ba-btn.on.a { color: #4ade80; }
.ba-sep { width: 1px; background: #141414; }
.met-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.met-cell { background: #0e0e0e; padding: 11px 14px; }
.met-cell-label { font-size: 9px; color: #475569; margin-bottom: 4px; font-weight: 600; letter-spacing: .5px; }
.met-cell-val { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.met-cell-val.red { color: #e02020; }
.met-cell-val.green { color: #4ade80; }
.met-cell-delta { font-size: 9px; font-weight: 700; margin-top: 2px; }
.stat-strip { display: flex; background: #0a0a0a; border-top: 1px solid var(--border); }
.stat-strip-item { flex: 1; padding: 8px 10px; text-align: center; border-right: 1px solid #1a1a1a; }
.stat-strip-item:last-child { border-right: none; }
.ssi-val { font-size: 15px; font-weight: 900; color: #e02020; }
.ssi-lbl { font-size: 8px; color: #475569; margin-top: 1px; }
@keyframes countup { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* ====== SECTIONS ====== */
.section {
  padding: 80px 0;
  background: var(--bg2);
}
.section--compact {
  padding: 48px 0;
}

/* Founder cards */
.card--founder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}
.founder__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.founder__info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.founder__role {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.founder__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.founder__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.founder__list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.founder__list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.section--dark {
  background: var(--bg3);
}
.section__title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section__subtitle {
  font-size: 14px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section__head .section__title { margin-bottom: 0; }
.link--accent {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.3s;
}
.link--accent:hover { opacity: 0.7; }

/* ====== GRID ====== */
.grid {
  display: grid;
  gap: 12px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ====== CARD ====== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #333333;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Numbers cards */
.card__number {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: inline;
}
.card__plus {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}
.card__label {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0 6px;
}
.card__desc {
  font-size: 15px;
  color: var(--gray2);
  line-height: 1.6;
}

/* Icon card */
.card__icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 0, 13, 0.1);
  border: 1px solid rgba(232, 0, 13, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ====== SERVICES ====== */
.card--service {
  display: flex;
  flex-direction: column;
}
.card--wide {
  grid-column: 1 / -1;
}
.service__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service__badge {
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 6px;
}
.service__sub {
  font-size: 14px;
  color: var(--gray2);
}
.service__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service__list li {
  font-size: 14px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ====== STEPS ====== */
.card--step { padding: 20px; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ====== CASES ====== */

/* Accent color variables per case type */
.card--case[data-accent="meta"]    { --case-color: #1877F2; --case-glow: rgba(24,119,242,0.15); }
.card--case[data-accent="seo"]     { --case-color: #34D399; --case-glow: rgba(52,211,153,0.15); }
.card--case[data-accent="perf"]    { --case-color: #A78BFA; --case-glow: rgba(167,139,250,0.15); }
.card--case[data-accent="complex"] { --case-color: #F59E0B; --case-glow: rgba(245,158,11,0.15); }

/* Gradient top border */
.card--case {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card--case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--case-color, var(--accent)), transparent);
  opacity: 0.8;
}

/* Hover glow effect */
.card--case:hover {
  border-color: var(--case-color, var(--accent));
  box-shadow: 0 8px 32px var(--case-glow, rgba(232,0,13,0.15)), 0 0 0 1px var(--case-color, var(--accent));
  transform: translateY(-6px);
}
.card--case:hover .case__val {
  color: var(--case-color, var(--accent));
}

/* Case icon */
.case__icon {
  font-size: 32px;
  margin-bottom: 12px;
  filter: grayscale(0.2);
}

/* Case cover image */
.case__cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.case__logo {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  display: block;
}
.case__logo--square {
  border-radius: var(--radius-sm);
  width: auto;
  height: 80px;
  max-width: 200px;
}
.case__client {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.case__niche {
  font-size: 14px;
  color: var(--gray2);
  margin-bottom: 20px;
}
.case__stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.case__stat {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex: 1;
  transition: background 0.3s ease;
}
.card--case:hover .case__stat {
  background: #1a1a1a;
}
.case__val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.case__label {
  font-size: 13px;
  color: var(--gray2);
}
.case__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

/* Color-coded tags */
.case__tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid;
  background: transparent;
}
.tag--meta    { color: #1877F2; border-color: rgba(24,119,242,0.4); background: rgba(24,119,242,0.08); }
.tag--seo     { color: #34D399; border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.08); }
.tag--perf    { color: #A78BFA; border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.08); }
.tag--complex { color: #F59E0B; border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); }

/* Case with photo */
.card--case-img {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.case__photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.case__body {
  flex: 1;
  min-width: 0;
}

/* Case stats grid (many metrics) */
.case__stats--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Case meta row */
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray2);
}
.case__meta span {
  background: var(--bg);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Case details */
.case__details {
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}
.case__details p {
  margin-bottom: 4px;
}
.case__geo {
  font-weight: 600;
  color: var(--white);
}
.case__kpi {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .card--case-img {
    flex-direction: column;
  }
  .case__photo {
    width: 100%;
    height: 200px;
  }
  .case__stats--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== MARQUEE ====== */
.marquee {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 32px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__track:hover {
  animation-play-state: paused;
}
.marquee__track .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.marquee__track .logo-item:hover {
  opacity: 1;
}
.marquee__track .logo-item img {
  height: 40px;
  width: auto;
  display: block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== PARTNERS ====== */
.partners__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.partner__badge {
  background: rgba(232, 0, 13, 0.05);
  border: 1px solid rgba(232, 0, 13, 0.15);
  border-radius: 10px;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.partner__badge:hover {
  border-color: rgba(232, 0, 13, 0.3);
  box-shadow: 0 4px 20px rgba(232, 0, 13, 0.1);
}


/* ====== REVIEWS ====== */
.review__stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review__text {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.review__author strong {
  display: block;
  font-size: 15px;
}
.review__author span {
  font-size: 13px;
  color: var(--gray2);
}

/* ====== CTA ====== */
.cta { background: var(--bg2); }
.cta__box {
  background: linear-gradient(135deg, #0f0000 0%, #0A0A0A 60%);
  border: 1px solid #2a0000;
  border-radius: 12px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,0,13,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.cta__text { flex: 1; }
.cta__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
.cta__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  width: 340px;
  flex-shrink: 0;
}
.cta__form-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.cta__form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--white);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}
.cta__form input:focus {
  border-color: var(--accent);
}
.cta__form input::placeholder {
  color: var(--gray2);
}
.cta__form input.error {
  border-color: var(--accent);
  animation: shake 0.4s ease;
}
.cta__form .btn {
  margin-top: 4px;
}
.cta__form-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray2);
  margin-top: 12px;
}
.form__success {
  display: none;
  text-align: center;
  font-size: 14px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-sm);
}
.form__success.show { display: block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bg);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { max-width: 280px; }
.logo--footer { font-size: 22px; }
.footer__tagline {
  font-size: 14px;
  color: var(--gray2);
  margin-top: 4px;
}
.footer__desc {
  font-size: 15px;
  color: var(--gray);
  margin-top: 12px;
  line-height: 1.6;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray2);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 15px;
  color: var(--gray);
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--white); }
.footer__col a.accent { color: var(--accent); }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p {
  font-size: 14px;
  color: var(--gray2);
}
.footer__socials {
  display: flex;
  gap: 24px;
}
.footer__socials [data-leadprice-menu-container] { display: flex; gap: 24px; }
.footer__socials a {
  font-size: 14px;
  color: var(--gray2);
  transition: color 0.3s;
}
.footer__socials a:hover { color: var(--white); }

/* ====== WHY US — Big transparent numbers ====== */
.card--why {
  position: relative;
}
.why-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

/* ====== TIMELINE (PROCESS) ====== */
.timeline-wrap {
  padding: 20px 0;
}
.timeline-row {
  position: relative;
  margin-bottom: 48px;
}
.timeline-row:last-child {
  margin-bottom: 0;
}
.timeline-row__line {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.timeline-row__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-step {
  text-align: center;
}
.timeline-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.timeline-step:hover .timeline-step__dot {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(232, 0, 13, 0.4);
}
.timeline-step__num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-step__desc {
  font-size: 14px;
  color: var(--gray2);
  line-height: 1.5;
}

/* ====== REVIEWS — Left border accent ====== */
.card--review {
  border-left: 3px solid var(--accent);
  transition: all 0.4s;
}
.card--review:hover {
  border-left-color: var(--accent2);
}

/* ====== CTA CENTERED ====== */
.cta--centered .cta__box {
  text-align: center;
  padding: 80px 56px;
}
.cta--centered .cta__inner {
  flex-direction: column;
  align-items: center;
}
.cta--centered .cta__text {
  text-align: center;
}
.cta--centered .cta__title {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -2px;
  line-height: 1.1;
}
.cta--centered .cta__desc {
  max-width: 480px;
  margin: 0 auto;
}
.cta__form-inline {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin-top: 40px;
}
.cta__form-inline input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
  font-family: var(--font);
}
.cta__form-inline input:focus {
  border-color: var(--accent);
}
.cta__form-inline input::placeholder {
  color: var(--gray2);
}
.cta__form-inline .btn {
  white-space: nowrap;
  padding: 16px 32px;
  font-size: 15px;
}
.cta__form-note--center {
  text-align: center;
  font-size: 11px;
  color: var(--gray2);
  margin-top: 16px;
}
.form__success--center {
  display: none;
  text-align: center;
  font-size: 14px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-sm);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.form__success--center.show { display: block; }
.cta__form-inline input.error {
  border-color: var(--accent);
  animation: shake 0.4s ease;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { flex-direction: column; }
  .hero__visual { width: 100%; margin-top: 32px; }
  .team__row { flex-wrap: wrap; }
  .card--team-more { flex: 1 1 100%; }
  .footer__top { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .header__actions { display: none; }
  .burger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .hero__title { font-size: 28px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .cta__box { padding: 32px 20px; }
  .cta__inner { flex-direction: column; }
  .cta__form { width: 100%; }
  .timeline-row__steps { grid-template-columns: repeat(2, 1fr); }
  .cta__form-inline { flex-direction: column; }
  .cta--centered .cta__box { padding: 40px 20px; }
  .team__row { flex-direction: column; }
  .card--team-more {
    flex: unset;
    padding: 32px;
    flex-direction: row;
    gap: 12px;
  }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .case__stats { flex-direction: column; }
  .case__stats--grid { grid-template-columns: repeat(2, 1fr); }
  .case__client { font-size: 16px; }
  .case__val { font-size: 18px; }
  .card__desc { font-size: 14px; }
  .review__text { font-size: 15px; }
  .founder__list li { font-size: 13px; }
  .card--founder { flex-direction: column; text-align: center; }
  .founder__photo { margin: 0 auto; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .partners__row { flex-direction: column; }
}

/* ====== INNER PAGE HERO ====== */
.hero--inner {
  padding: 120px 0 60px;
  text-align: left;
}
.hero--inner .hero__title {
  font-size: clamp(28px, 4.5vw, 42px);
  margin-bottom: 12px;
}
.hero--inner .hero__subtitle {
  font-size: 17px;
  margin-bottom: 16px;
}
.hero--inner .hero__desc {
  margin-bottom: 24px;
}

/* ====== BREADCRUMBS ====== */
.breadcrumbs {
  font-size: 13px;
  color: var(--gray2);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--gray2);
  transition: color 0.3s;
}
.breadcrumbs a:hover {
  color: var(--white);
}
.breadcrumbs span {
  color: var(--gray);
}

/* Legacy inner pages use a semantic ordered list for breadcrumbs. */
nav[aria-label="Breadcrumb"] ol,
nav[aria-label="breadcrumb"] ol {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--gray2);
  font-size: 14px;
  list-style: none !important;
}
nav[aria-label="Breadcrumb"] li,
nav[aria-label="breadcrumb"] li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none !important;
}
nav[aria-label="Breadcrumb"] li::marker,
nav[aria-label="breadcrumb"] li::marker {
  content: "";
}
nav[aria-label="Breadcrumb"] li:last-child,
nav[aria-label="breadcrumb"] li:last-child {
  color: var(--white);
}

@media (max-width: 768px) {
  .hero--inner { padding: 100px 0 48px; }
}

/* ====== WORDPRESS + BLOG ====== */
.admin-bar .header { top: 32px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 180px; max-height: 54px; }
.logo .logo__primary { color: inherit; }
.leadprice-wordpress main > .section:first-child { padding-top: 150px; }
.nav .menu-item { display: contents; }
.footer__col .menu-item { display: contents; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-error { color: #ff7b7b !important; }
.nav-links { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.nav-links a, .nav-links .current { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--gray); }
.nav-links .current { color: var(--white); border-color: var(--accent); }

.hero--blog { padding: 130px 0 60px; background: linear-gradient(135deg, #0a0a0a 60%, #1a0000 100%); }
.hero--blog .hero__title { margin-bottom: 16px; }
.hero--blog .hero__subtitle { margin-bottom: 0; font-style: normal; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__sep { color: var(--gray2); font-size: 12px; }
.breadcrumbs__current { color: var(--white); }
.card--blog { display: flex; flex-direction: column; padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card--blog:hover { border-color: rgba(232,0,13,.4); box-shadow: 0 12px 40px rgba(232,0,13,.08); }
.blog__category, .blog-category { display: inline-block; width: fit-content; margin-bottom: 16px; padding: 4px 12px; border: 1px solid rgba(232,0,13,.4); border-radius: 20px; color: var(--accent); background: rgba(232,0,13,.08); font-size: 12px; font-weight: 600; }
.blog__title { margin-bottom: 12px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.blog__title a { color: var(--white); }
.blog__title a:hover { color: var(--accent); }
.blog__excerpt { flex: 1; margin-bottom: 20px; color: var(--gray); font-size: 15px; line-height: 1.7; }
.blog__meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.blog__meta time { color: var(--gray2); font-size: 13px; }
.blog__read-more { color: var(--accent); font-size: 14px; font-weight: 600; }
.tag--seo { color: #34d399; border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.tag--ppc { color: #3b82f6; border-color: rgba(59,130,246,.4); background: rgba(59,130,246,.08); }
.tag--performance { color: #a78bfa; border-color: rgba(167,139,250,.4); background: rgba(167,139,250,.08); }
.tag--ai { color: #f59e0b; border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.08); }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article h2 { margin: 40px 0 16px; color: var(--white); font-size: 24px; }
.blog-article h3 { margin: 32px 0 12px; color: var(--white); font-size: 20px; }
.blog-article p { margin-bottom: 16px; color: var(--gray); font-size: 16px; line-height: 1.7; }
.blog-article ul, .blog-article ol { margin-bottom: 16px; padding-left: 24px; color: var(--gray); }
.blog-article li { margin-bottom: 8px; line-height: 1.6; }
.blog-article img { max-width: 100%; margin: 24px 0; border-radius: 12px; }
.blog-article blockquote { margin: 24px 0; padding-left: 16px; border-left: 3px solid var(--accent); color: #ccc; font-style: italic; }
.blog-meta { display: flex; gap: 16px; margin-bottom: 32px; color: var(--gray2); font-size: 14px; }

.leadprice-added-item { margin-top: 24px; }
.leadprice-added-item:first-child { margin-top: 0; }
.leadprice-content-image { display: block; width: 100%; max-height: 620px; border-radius: var(--radius); object-fit: cover; }
.leadprice-content-list { display: grid; gap: 10px; padding-left: 22px; color: var(--gray); line-height: 1.65; }

/* Text contrast selected in the visual section background editor. */
.leadprice-custom-text-light,
.leadprice-custom-text-light h1,
.leadprice-custom-text-light h2,
.leadprice-custom-text-light h3,
.leadprice-custom-text-light h4,
.leadprice-custom-text-light h5,
.leadprice-custom-text-light p,
.leadprice-custom-text-light li { color: #fff !important; }
.leadprice-custom-text-dark,
.leadprice-custom-text-dark h1,
.leadprice-custom-text-dark h2,
.leadprice-custom-text-dark h3,
.leadprice-custom-text-dark h4,
.leadprice-custom-text-dark h5,
.leadprice-custom-text-dark p,
.leadprice-custom-text-dark li { color: #111 !important; }

@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
