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

:root {
  --blue: #0d3b7a;
  --blue-dark: #082a57;
  --blue-light: #e8f0fa;
  --accent: #f57c00;
  --accent-hover: #e65100;
  --dark: #1a1a2e;
  --gray: #5a6270;
  --gray-light: #f4f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(21, 101, 192, 0.12);
  --font: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 109, 0, 0.35);
}
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn--outline:hover { background: var(--blue-light); }
.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 800;
}
.btn--white:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header__logo img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}
.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  padding: 0 12px;
}
.header__menu a {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.header__menu a:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  white-space: nowrap;
}
.header__cta { flex-shrink: 0; }
.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(--dark);
  border-radius: 2px;
}
.header__nav {
  display: none;
  flex-direction: column;
  padding: 12px 16px 16px;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header__nav a {
  padding: 10px 0;
  font-weight: 600;
  color: var(--gray);
}
.header__nav a:hover { color: var(--blue); }
.header__nav[hidden] { display: none; }
.header__nav.is-open { display: flex; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #1976d2 100%);
  color: var(--white);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,109,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  position: relative;
}
.hero__content {
  padding-top: 4px;
}
.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero__title span {
  color: #ffcc80;
}
.hero__text {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}
.hero__trust li::before {
  content: '✓ ';
  color: #ffcc80;
}

.hero__pitch {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.hero__pitch-label {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffcc80;
}
.hero__pitch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.hero__pitch-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
}
.hero__pitch-list strong {
  font-weight: 700;
  color: var(--white);
}
.hero__pitch-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 14px;
}
.hero__pitch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__pitch-stat {
  text-align: center;
}
.hero__pitch-stat-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ffcc80;
  line-height: 1.2;
}
.hero__pitch-stat-text {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 2px;
}
.hero__pitch-cta {
  padding-top: 4px;
}
.hero__pitch-urgency {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  opacity: 0.9;
}
.hero__pitch-cta .btn {
  font-size: 15px;
  padding: 14px 20px;
}

.hero__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  line-height: 0;
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__card {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero__card-badge {
  display: inline-block;
  background: #fff3e0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ===== FORM ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form input,
.form select {
  padding: 14px 16px;
  border: 2px solid #e0e4ea;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
  color: var(--dark);
}
.form input:focus,
.form select:focus {
  border-color: var(--blue);
}
.form__note {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  line-height: 1.5;
}
.form__note a { color: var(--blue); text-decoration: underline; }
.form__note--light { color: rgba(255,255,255,0.7); }
.form__note--light a { color: #ffcc80; }
.form__status {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  min-height: 20px;
}
.form__status.ok { color: #2e7d32; }
.form__status.err { color: #c62828; }

/* ===== SECTIONS ===== */
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.section-title--light { color: var(--white); text-align: left; }
.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 40px;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: 64px 0;
  background: var(--gray-light);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.benefit__icon {
  color: var(--blue);
  margin-bottom: 16px;
}
.benefit h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== EXPERTISE ===== */
.expertise {
  padding: 64px 0;
  background: var(--white);
}
.expertise__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.expertise__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-light);
}
.expertise__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.expertise__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.expertise__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.expertise__text {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.expertise__list {
  margin: 0 0 28px;
  padding-left: 20px;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.9;
}
.expertise__list li::marker {
  color: var(--accent);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--accent);
  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: 800;
  color: var(--white);
}
.cta-band__text {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services {
  padding: 64px 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service {
  padding: 28px;
  border-radius: var(--radius);
  border: 2px solid #e8ecf1;
  transition: border-color 0.2s;
}
.service:hover { border-color: var(--blue); }
.service__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.service h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
  padding: 64px 0;
  background: var(--gray-light);
}
.steps__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.step__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.step__arrow {
  font-size: 28px;
  color: var(--blue);
  padding-top: 14px;
  flex-shrink: 0;
}

/* ===== STATS ===== */
.stats {
  padding: 48px 0;
  background: var(--blue-dark);
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffcc80;
  line-height: 1.1;
}
.stat__label {
  display: block;
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
  font-weight: 600;
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.form-section__text {
  font-size: 16px;
  opacity: 0.9;
  margin: 12px 0 24px;
  line-height: 1.7;
}
.form-section__phone {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #ffcc80;
  margin-bottom: 8px;
}
.form-section__phone:hover { text-decoration: underline; }
.form-section__hint {
  font-size: 14px;
  opacity: 0.7;
}
.form--main {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer__logo {
  height: 64px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
}
.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(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  gap: 10px;
}
.mobile-bar__call,
.mobile-bar__order {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
}
.mobile-bar__call {
  background: var(--blue-light);
  color: var(--blue);
}
.mobile-bar__order {
  background: var(--accent);
  color: var(--white);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 200;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: none;
  max-width: 320px;
}
.toast.show { display: block; animation: slideIn 0.3s ease; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .header__menu { display: none; }
  .header__burger { display: flex; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .expertise__grid { grid-template-columns: 1fr; }
  .expertise__visual { max-width: 420px; margin: 0 auto; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .form-section__grid { grid-template-columns: 1fr; }
  .steps__row { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 640px) {
  .header__logo img { height: 48px; max-width: 120px; }
  .header__phone { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }
  .hero__pitch-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero__pitch-stat { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 12px; }
  .hero__pitch-stat-num { font-size: 18px; }
  .hero__pitch-stat-text { margin-top: 0; font-size: 12px; }
  .footer__logo { height: 52px; max-width: 110px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .hero { padding: 32px 0 40px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contacts { margin-left: 0; }
}
