/* Аварком Харек — harek-exspert.ru */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #141414;
  --dark: #1e1e1e;
  --gray: #888;
  --gray-light: #f5f5f5;
  --white: #fff;
  --orange: #ff6b00;
  --orange-hover: #e55d00;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: 'Rubik', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}
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; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--orange); color: var(--white); box-shadow: 0 4px 20px var(--orange-glow); }
.btn--accent:hover { background: var(--orange-hover); }
.btn--outline { background: transparent; border-color: var(--orange); color: var(--orange); }
.hero .btn--outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--black); font-weight: 800; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header__inner { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.header__logo img { height: 52px; width: auto; max-width: 150px; object-fit: contain; }
.header__menu {
  display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; padding: 0 8px;
}
.header__menu a {
  padding: 8px 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75);
  border-radius: 8px; white-space: nowrap;
}
.header__menu a:hover { color: var(--orange); background: rgba(255,107,0,0.12); }
.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phone { font-weight: 700; font-size: 15px; color: var(--orange); white-space: nowrap; }
.header__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer;
}
.header__burger span { display: block; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; }
.header__nav {
  display: none; flex-direction: column; padding: 12px 16px 16px;
  background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header__nav a { padding: 10px 0; font-weight: 600; color: rgba(255,255,255,0.8); }
.header__nav a:hover { color: var(--orange); }
.header__nav[hidden] { display: none; }
.header__nav.is-open { display: flex; }

/* HERO */
.hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 40%, #2a1800 100%);
  color: var(--white); padding: 48px 0 56px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: -30%; right: -15%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 65%); pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px;
  align-items: start; position: relative; z-index: 1;
}
.hero__content { padding-top: 4px; }
.hero__tag {
  display: inline-block; background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero__title { font-size: clamp(26px, 3.8vw, 42px); font-weight: 900; line-height: 1.12; margin-bottom: 16px; }
.hero__title-accent { color: var(--orange); display: inline; }
.hero__text { font-size: 16px; opacity: 0.88; margin-bottom: 24px; max-width: 520px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 600; opacity: 0.85; }
.hero__trust li::before { content: '✓ '; color: var(--orange); }

.hero__pitch {
  margin-top: 24px; padding: 20px; border-radius: var(--radius);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,107,0,0.2);
}
.hero__pitch-label { font-size: 14px; font-weight: 800; color: var(--orange); margin-bottom: 12px; }
.hero__pitch-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.hero__pitch-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.hero__pitch-list strong { color: var(--white); }
.hero__pitch-icon { flex-shrink: 0; }
.hero__pitch-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__pitch-stat { text-align: center; }
.hero__pitch-stat-num { display: block; font-size: 20px; font-weight: 900; color: var(--orange); }
.hero__pitch-stat-text { font-size: 11px; opacity: 0.75; font-weight: 600; }
.hero__pitch-urgency { font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 10px; opacity: 0.9; }

.hero__photo {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 3px solid rgba(255,107,0,0.35); line-height: 0;
}
.hero__photo img { width: 100%; height: auto; object-fit: contain; }
.hero__visual { display: flex; flex-direction: column; gap: 14px; }
.hero__card {
  background: var(--white); color: var(--black); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.hero__card-badge {
  display: inline-block; background: #fff3e0; color: var(--orange);
  font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; margin-bottom: 10px;
}
.hero__card-title { font-weight: 800; font-size: 17px; margin-bottom: 16px; line-height: 1.35; }

/* FORM */
.form { display: flex; flex-direction: column; gap: 12px; }
.form input, .form select {
  padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 15px;
  outline: none; background: var(--white); color: var(--black);
}
.form input:focus, .form select:focus { border-color: var(--orange); }
.form__note { font-size: 12px; color: var(--gray); text-align: center; }
.form__note a { color: var(--orange); text-decoration: underline; }
.form__note--light { color: rgba(255,255,255,0.65); }
.form__note--light a { color: #ffb74d; }
.form__status { text-align: center; font-weight: 600; font-size: 14px; min-height: 20px; }
.form__status.ok { color: #2e7d32; }
.form__status.err { color: #c62828; }

/* HAREK SECTION */
.harek { padding: 64px 0; background: var(--gray-light); }
.harek__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.harek__visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.harek__visual img { width: 100%; object-fit: contain; }
.section-tag { font-size: 13px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; text-align: center; margin-bottom: 8px; }
.section-title--left { text-align: left; }
.section-title--light { color: var(--white); text-align: left; }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 36px; font-size: 16px; }
.harek__text { color: #444; font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.harek__list { list-style: none; margin-bottom: 16px; font-weight: 600; line-height: 2; }
.harek__motto { font-weight: 800; color: var(--orange); margin-bottom: 20px; letter-spacing: 1px; }

/* BENEFITS */
.benefits { padding: 64px 0; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit {
  padding: 24px; border-radius: var(--radius); background: var(--white);
  border: 2px solid #eee; transition: border-color 0.2s, transform 0.2s;
}
.benefit:hover { border-color: var(--orange); transform: translateY(-3px); }
.benefit__emoji { font-size: 28px; margin-bottom: 12px; }
.benefit h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* CTA */
.cta-band { background: var(--orange); padding: 32px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band__label { font-size: 22px; font-weight: 900; color: var(--white); }
.cta-band__text { font-size: 15px; color: rgba(255,255,255,0.9); margin-top: 4px; }

/* SERVICES */
.services { padding: 64px 0; background: var(--gray-light); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { padding: 24px; border-radius: var(--radius); background: var(--white); border: 2px solid #eee; }
.service:hover { border-color: var(--orange); }
.service__num { font-size: 13px; font-weight: 900; color: var(--orange); }
.service h3 { font-size: 17px; font-weight: 800; margin: 8px 0; }
.service p { font-size: 14px; color: var(--gray); }

/* CASES */
.cases { padding: 64px 0; background: var(--white); }
.case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 2px solid #f0f0f0;
}
.case:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.case--reverse .case__visual { order: 2; }
.case--reverse .case__body { order: 1; }
.case__visual {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 3px solid rgba(255,107,0,0.25);
}
.case__visual img { width: 100%; height: auto; object-fit: contain; display: block; }
.case__tag {
  display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,107,0,0.12); color: var(--orange); margin-bottom: 12px;
}
.case__tag--win { background: #e8f5e9; color: #2e7d32; }
.case__title { font-size: clamp(22px, 2.5vw, 28px); font-weight: 900; line-height: 1.2; margin-bottom: 14px; }
.case__text { color: #555; font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.case__text strong { color: var(--black); }
.case__list {
  list-style: none; margin-bottom: 20px; font-weight: 600; line-height: 1.9; color: #333;
}
.case__list li::before { content: '✓ '; color: var(--orange); font-weight: 800; }
.case__compare {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 16px; border-radius: 12px; background: var(--gray-light);
}
.case__compare-item { flex: 1; min-width: 120px; text-align: center; padding: 12px; border-radius: 10px; }
.case__compare-item--bad { background: #ffebee; }
.case__compare-item--good { background: #e8f5e9; }
.case__compare-label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 4px; }
.case__compare-num { display: block; font-size: 22px; font-weight: 900; }
.case__compare-item--bad .case__compare-num { color: #c62828; }
.case__compare-item--good .case__compare-num { color: #2e7d32; }
.case__compare-arrow { font-size: 24px; font-weight: 900; color: var(--orange); flex-shrink: 0; }

/* STEPS */
.steps { padding: 64px 0; }
.steps__row { display: flex; align-items: flex-start; gap: 10px; margin-top: 32px; }
.step { flex: 1; text-align: center; padding: 0 10px; }
.step__circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--white);
  font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.55; }
.step__arrow { font-size: 26px; color: var(--orange); padding-top: 12px; flex-shrink: 0; }

/* STATS */
.stats { padding: 48px 0; background: var(--black); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat__num { display: block; font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--orange); }
.stat__label { font-size: 13px; opacity: 0.8; font-weight: 600; }

/* FORM SECTION */
.form-section { padding: 64px 0; background: linear-gradient(135deg, #0a0a0a, #1a1000); color: var(--white); }
.form-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.form-section__text { opacity: 0.9; margin: 12px 0 20px; line-height: 1.7; }
.form-section__phone { display: block; font-size: 28px; font-weight: 900; color: var(--orange); margin-bottom: 8px; }
.form-section__hint { font-size: 14px; opacity: 0.65; }
.form--main { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq { padding: 64px 0 80px; }
.faq__list { max-width: 720px; margin: 28px auto 0; }
.faq__item { border-bottom: 1px solid #eee; }
.faq__item summary {
  padding: 18px 0; font-weight: 800; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::after { content: '+'; font-size: 22px; color: var(--orange); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--gray); line-height: 1.7; }

/* FOOTER */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 56px; width: auto; border-radius: 8px; background: var(--white); padding: 4px 8px; }
.footer__contacts { display: flex; flex-direction: column; gap: 4px; margin-left: auto; font-size: 14px; }
.footer__contacts a { color: var(--white); font-weight: 600; }
.footer__copy { font-size: 13px; width: 100%; margin-top: 8px; }

/* MOBILE BAR */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 10px 12px; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.1); gap: 10px;
}
.mobile-bar__call, .mobile-bar__order {
  flex: 1; padding: 14px; border-radius: 12px; text-align: center; font-weight: 800; font-size: 15px;
}
.mobile-bar__call { background: rgba(255,107,0,0.15); color: var(--orange); }
.mobile-bar__order { background: var(--orange); color: var(--white); }

.toast {
  position: fixed; top: 80px; right: 16px; z-index: 200; padding: 14px 20px;
  border-radius: 12px; background: var(--black); color: var(--white); font-weight: 600;
  display: none; max-width: 320px; box-shadow: var(--shadow);
}
.toast.show { display: block; }

@media (max-width: 1100px) {
  .header__menu { display: none; }
  .header__burger { display: flex; }
}
@media (max-width: 900px) {
  .hero__grid, .harek__grid, .form-section__grid, .case { grid-template-columns: 1fr; }
  .case--reverse .case__visual, .case--reverse .case__body { order: unset; }
  .case__compare { flex-direction: column; }
  .case__compare-arrow { transform: rotate(90deg); }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__row { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .header__phone, .header__cta { display: none; }
  .benefits__grid, .services__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__pitch-stats { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .footer__contacts { margin-left: 0; }
}
