/* АвтоПравда — dark theme (inspired by ProMotors) */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --surface: #161616;
  --surface-hover: #1e1e1e;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --primary: #0a0a0a;
  --accent: #f5a623;
  --accent-hover: #e09015;
  --accent-light: rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.25);
  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.1);
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.1);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1120px;
  --section-y: clamp(3.5rem, 6vw, 5rem);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Oswald", "Manrope", sans-serif;
  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

h1, h2, h3 {
  color: var(--text);
}

/* H1 — длинный русский текст: без uppercase, Manrope */
h1 {
  font-family: var(--font);
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

/* H2 — короткие секции: Oswald uppercase */
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

h3 {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: var(--leading-tight);
  margin-bottom: 0.375rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  max-width: 540px;
  margin-bottom: 2rem;
}

.section-note,
.note {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn--sm {
  padding: 0.5625rem 1.125rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
}

/* Icon box */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius);
  color: var(--accent);
  flex-shrink: 0;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
}

.card__note {
  display: block;
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.card__price {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--accent);
  margin: 0.625rem 0 0.875rem;
  letter-spacing: 0.01em;
}

/* Grid */
.grid {
  display: grid;
  gap: 1rem;
}

.grid--2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__mark svg {
  width: 18px;
  height: 18px;
  color: #0a0a0a;
}

.header__nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.header__nav a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.header__nav a:hover {
  color: var(--accent);
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}

.header__phone {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0;
  color: var(--accent);
  text-decoration: none;
}

.header__phone:hover {
  color: var(--accent-hover);
}

.header__hours {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

.header .btn--primary {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.header__nav .header__nav-phone {
  display: none;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(480px, 75vh, 620px);
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.97) 0%,
    rgba(10, 10, 10, 0.92) 38%,
    rgba(10, 10, 10, 0.55) 58%,
    rgba(10, 10, 10, 0.15) 100%
  );
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  max-width: 580px;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: rgba(22, 22, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.hero__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius);
  color: var(--accent);
}

.hero__trust-icon svg {
  width: 22px;
  height: 22px;
}

.hero__trust-text {
  font-size: var(--text-xs);
  line-height: 1.35;
  color: var(--text-muted);
}

.hero__trust-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

/* Brands strip */
.brands {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.brands__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.brands__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brands__list li {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.375rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}

.brands__list li:hover {
  border-color: rgba(245, 166, 35, 0.35);
  color: var(--accent);
}

.brands__list li:last-child {
  color: var(--accent);
  border-color: rgba(245, 166, 35, 0.25);
}

/* Sections */
.pains,
.process,
.services,
.examples,
.usp,
.reviews,
.pricing,
.about,
.faq,
.cta {
  padding: var(--section-y) 0;
}

.pains { background: var(--bg-alt); }
.process { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services { background: var(--bg-alt); }
.examples { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usp { background: var(--bg-alt); }
.reviews { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing { background: var(--bg-alt); }
.about { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq { background: var(--bg-alt); }
.cta { background: var(--bg); border-top: 1px solid var(--border); }

/* Steps */
.steps {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.step:hover {
  background: var(--surface-hover);
}

.step:last-child {
  border-bottom: none;
}

.step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: 50%;
}

.step__body p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

/* Service cards */
.card--service {
  display: flex;
  flex-direction: column;
}

.card--service:hover {
  border-color: rgba(245, 166, 35, 0.3);
  background: var(--surface-hover);
}

.card--service p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  flex: 1;
}

.card--service .icon-box {
  margin-bottom: 1rem;
}

/* Examples */
.examples__grid {
  align-items: stretch;
}

.card--example {
  display: flex;
  flex-direction: column;
}

.card--example:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.example__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.example__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.example__body h3 {
  font-size: var(--text-base);
  margin-bottom: 0.75rem;
  line-height: var(--leading-tight);
}

.example__meta {
  list-style: none;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.example__meta strong {
  color: var(--text);
  font-weight: 600;
}

.example__body > p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 0.875rem;
}

.example__works-title {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: auto;
  margin-bottom: 0.5rem;
}

.example__works {
  list-style: none;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.example__works li {
  position: relative;
  padding-left: 1rem;
}

.example__works li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* USP */
.card--usp .icon-box {
  margin-bottom: 1rem;
}

.card--usp p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.card--usp:hover {
  border-color: rgba(245, 166, 35, 0.25);
}

/* Reviews */
.reviews__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
}

.rating__score {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.rating__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
}

.rating__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.rating__meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.rating__meta a:hover {
  text-decoration: underline;
}

.review__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-hover);
  flex-shrink: 0;
}

.review__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.review__meta {
  font-size: 0.875rem;
}

.review__meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card--review p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.card--review p::before {
  content: "\201C";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

.card--case {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  color: #fff;
  border-color: rgba(245, 166, 35, 0.2);
}

.case__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.case__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  font-size: 0.9375rem;
}

.case__grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 0.8125rem 1.125rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.price-table th {
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr {
  transition: background 0.15s;
}

.price-table tbody tr:hover {
  background: var(--surface-hover);
}

.price-table td:last-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--accent);
}

.card--highlight {
  background: var(--accent-light);
  border-color: rgba(245, 166, 35, 0.25);
  margin-top: 1.5rem;
}

.card--highlight h3 {
  color: var(--accent);
}

/* About */
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about__text > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 5.5rem;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.team__member {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  transition: border-color 0.2s;
}

.team__member:hover {
  border-color: rgba(245, 166, 35, 0.25);
}

.team__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 2px solid rgba(245, 166, 35, 0.3);
}

.team__member span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.team__member p {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ */
.faq__list {
  max-width: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-normal);
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.faq__question:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

.faq__question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq__item--open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 1.125rem 1rem;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.faq__item--open .faq__answer {
  display: block;
}

/* Form */
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 1rem;
}

.form__group label > span {
  display: block;
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form__group label > span .required {
  color: var(--accent);
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form__group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form__group input:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form__group--error input,
.form__group--error select {
  border-color: var(--error);
  background: var(--error-bg);
}

.form__error {
  display: block;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form__privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  background: var(--success-bg);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin: 0 auto 1rem;
}

.form-success h3 {
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.cta__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card--contact h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-row svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover {
  text-decoration: underline;
}

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  filter: grayscale(0.8) invert(0.92) contrast(0.9);
}

.map iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.availability__dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

/* Footer */
.footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer .logo {
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer__nav a {
  font-size: 0.875rem;
}

.footer__legal {
  font-size: 0.8125rem;
}

.footer__legal p {
  margin-bottom: 0.25rem;
}

.footer__legal .btn {
  margin-top: 1.25rem;
}

.footer__copy {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 2.5rem;
  }

  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.85) 55%,
      rgba(10, 10, 10, 0.5) 100%
    );
  }

  .hero__bg img {
    object-position: center;
  }

  .hero__content {
    max-width: none;
  }

  .hero__trust li {
    flex: 1 1 calc(50% - 0.375rem);
  }

  .about__inner,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .about__media {
    position: static;
  }

  .team {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero__trust {
    flex-direction: column;
  }

  .hero__trust li {
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    gap: 0;
  }

  .header__nav--open {
    display: flex;
  }

  .header__nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .header__contacts {
    display: none;
  }

  .header .btn--primary {
    display: none;
  }

  .header__nav .header__nav-phone {
    display: block;
    font-weight: 700;
    color: var(--accent);
    padding-top: 1rem;
    border-bottom: none;
  }

  .header {
    position: relative;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

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