/* Эксперт Харёк — независимая экспертиза · harek-expert-landing */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --dark-2: #1c1c1c;
  --gray: #8a8a8a;
  --gray-light: #c4c4c4;
  --white: #fff;
  --orange: #ff6b00;
  --orange-bright: #ff8533;
  --orange-dark: #e05500;
  --orange-glow: rgba(255, 107, 0, 0.45);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Bebas Neue', Impact, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  color: var(--white);
  background: var(--black);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--accent {
  background: linear-gradient(135deg, var(--orange-bright) 0%, var(--orange) 55%, var(--orange-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 24px var(--orange-glow);
}

.btn--accent:hover {
  box-shadow: 0 8px 32px var(--orange-glow);
  transform: translateY(-1px);
}

.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px var(--orange-glow); }
  50% { box-shadow: 0 4px 36px rgba(255, 107, 0, 0.65), 0 0 0 4px rgba(255, 107, 0, 0.12); }
}

/* ── SIGNAL ICON (bad connection) ── */
.signal {
  display: inline-block;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(to top, var(--red) 35%, transparent 35%) 0 100% / 3px 40% no-repeat,
    linear-gradient(to top, var(--red) 35%, transparent 35%) 5px 100% / 3px 65% no-repeat,
    linear-gradient(to top, var(--gray) 35%, transparent 35%) 10px 100% / 3px 90% no-repeat;
  vertical-align: -2px;
  margin-right: 4px;
  opacity: 0.9;
}

.signal--lg { width: 18px; height: 18px; background-size: 4px; }

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}

.header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.header__brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.header__brand-main {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.header__brand-accent {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.header__tagline {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  display: none;
}

.header__cta { margin-left: auto; }

@media (min-width: 640px) {
  .header__tagline { display: block; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 107, 0, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 400px);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 3vw, 36px);
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  min-width: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: var(--dark);
  line-height: 0;
}

.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  align-self: center;
}

.hero__form-wrap {
  position: relative;
  z-index: 3;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 12px;
  font-weight: 600;
  color: #fca5a5;
  margin-bottom: 20px;
  max-width: 100%;
  line-height: 1.4;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero__title span { color: var(--orange); display: block; }

.hero__lead {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.hero__lead strong { color: var(--orange-bright); }

.hero__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.hero__strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
}

.hero__strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 20px 0;
}

.hero__stat {
  text-align: center;
  padding: 8px;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--orange);
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero__stat span {
  font-size: 11px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── FORM CARD ── */
.form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.form-card--hero { animation: float-in 0.7s ease-out; }

@keyframes float-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-card__pulse {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.form-card--dark {
  background: rgba(28, 28, 28, 0.95);
  color: var(--white);
  border-color: rgba(255, 107, 0, 0.25);
}

.form-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
}

.form-card__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.form-card__sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-card--dark .form-card__sub { color: var(--gray-light); }

.form-card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
}

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 5px; }

.field__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-card--dark .field__label { color: var(--gray-light); }

.form input,
.form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #e8e8e8;
  background: #fafafa;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card--dark .form input,
.form-card--dark .form select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form__note {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
  line-height: 1.4;
}

.form__note a { color: var(--orange); text-decoration: underline; }
.form__note--light { color: rgba(255, 255, 255, 0.45); }

.form__status {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.form__status.ok { color: var(--green); }
.form__status.err { color: var(--red); }

/* ── CALLBACK SECTION ── */
.callback {
  padding: 80px 0;
  background: var(--dark);
}

.callback__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.callback__visual {
  position: relative;
  margin: 0;
}

.callback__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.callback__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-eyebrow--light { color: var(--orange-bright); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title span { color: var(--orange); }

.section-title--light { color: var(--white); }

.section-text {
  font-size: 16px;
  color: var(--gray-light);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.65;
}

.section-text--light { color: rgba(255, 255, 255, 0.72); }

/* ── BENEFITS ── */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.benefit {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s, transform 0.2s;
}

.benefit:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
}

.benefit__icon { font-size: 24px; flex-shrink: 0; line-height: 1; }

.benefit h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.45;
}

/* ── CASE ── */
.case {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.03) 100%);
  border: 1px solid rgba(255, 107, 0, 0.25);
  margin-bottom: 24px;
}

.case__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 12px;
}

.case__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.case__col {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.case__col span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 4px;
}

.case__col strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
}

.case__col--bad { background: rgba(239, 68, 68, 0.12); }
.case__col--bad strong { color: #f87171; }
.case__col--good { background: rgba(34, 197, 94, 0.12); }
.case__col--good strong { color: #4ade80; }

.case__arrow { font-size: 24px; color: var(--orange); font-weight: 700; }

.case__note {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.45;
}

/* ── FINAL SECTION ── */
.final {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
    var(--black);
}

.final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.steps__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.steps p {
  font-size: 13px;
  color: var(--gray);
}

.final__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--orange);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  transition: opacity 0.2s;
}

.final__phone:hover { opacity: 0.85; }

.final__phone-hint {
  font-size: 13px;
  color: var(--gray);
}

/* ── FOOTER ── */
.footer {
  padding: 32px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: start;
}

.footer__brand p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 6px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer__contacts a {
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);
}

.footer__copy {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copy a { color: var(--gray-light); text-decoration: underline; }

/* ── STICKY CTA (mobile) ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 400;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--dark-2);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 20px;
    align-items: stretch;
  }

  .hero__aside {
    align-self: stretch;
  }

  .hero {
    min-height: auto;
  }

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

  .callback__grid,
  .final__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .footer__contacts {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero__pills li { font-size: 12px; padding: 6px 12px; }
  .form-card { padding: 22px 18px; }
  .case__row { flex-direction: column; }
  .case__arrow { transform: rotate(90deg); }
  .header__brand-main,
  .header__brand-accent { font-size: 18px; }
}

@media (min-width: 961px) {
  .sticky-cta { display: none; }
}

@media (min-width: 1400px) {
  .hero__grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 960px) {
  body { padding-bottom: 72px; }
  .footer { padding-bottom: 24px; }
}
