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

:root {
  --red: #D9231D;
  --red-hover: #b81c17;
  --navy: #1a2a4a;
  --navy-hover: #12203a;
  --btn-green: #13d0ed;
  --btn-green-hover: #0fb0c9;
  --amber: #e2883c;
  --teal: #3fd0c9;
  --dark: #1e1e1e;
  --dark2: #2a2a2a;
  --light: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); line-height: 1.6; }

/* ── КНОПКИ ── */
.btn-red {
  display: inline-block; background: var(--red);
  color: var(--white); font-weight: 700; font-size: 16px;
  padding: 14px 28px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s;
}
.btn-red:hover { background: var(--red-hover); }

.btn-navy {
  display: inline-block; background: var(--btn-green);
  color: var(--navy); font-weight: 700; font-size: 16px;
  padding: 14px 28px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s;
  text-align: center;
}
.btn-navy:hover { background: var(--btn-green-hover); }
.btn-navy--nav { padding: 12px 22px; font-size: 14px; white-space: nowrap; }
.btn-navy--lg { font-size: 17px; padding: 18px 36px; }
.btn-navy--block { width: 100%; padding: 14px; font-size: 15px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(15,20,35,0.576), rgba(15,20,35,0.576)),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.hero-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  flex-wrap: wrap; gap: 12px;
}
.logo { display: block; }
.logo img        { height: 76px; width: auto; display: block; }
.hero-nav-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.hero-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px;
  font-weight: 600; transition: color .2s; white-space: nowrap;
}
.hero-menu a:hover { color: var(--btn-green); }
.hero-contacts { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.hero-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: rgba(255,255,255,0.9);
}
.hero-contact-item svg { flex-shrink: 0; }

.hero-body {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  padding: 40px 60px 20px; max-width: 1300px;
  min-height: 60vh;
}
.hero h1 {
  font-size: clamp(14px,2.05vw,38px); font-weight: 800;
  line-height: 1.15; margin-bottom: 28px;
  white-space: nowrap; letter-spacing: -0.2px;
}
.hero-sublist { list-style: none; margin-bottom: 28px; }
.hero-sublist li {
  font-size: clamp(20px,2.4vw,30px); font-weight: 500;
  color: rgba(255,255,255,0.92);
  max-width: 880px; margin-bottom: 14px; line-height: 1.3;
}
.nowrap { white-space: nowrap; }
.hero-utp { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero-utp li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 400; color: var(--white); }
.utp-check {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-cta-note { font-size: 13px; color: rgba(255,255,255,0.65); max-width: 420px; line-height: 1.5; }

.hero-banner {
  position: absolute; right: 40px; bottom: 40px; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-decoration: none;
  background: var(--btn-green);
  color: var(--navy);
  padding: 32px 56px; border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transform: rotate(-2deg);
  transition: transform .2s, background .2s;
}
.hero-banner:hover { transform: rotate(-2deg) scale(1.04); background: var(--btn-green-hover); }
.hero-banner-label {
  font-family: var(--font); font-weight: 800; font-size: 28px;
  letter-spacing: 2px; text-transform: uppercase; opacity: .85;
}
.hero-banner-price {
  font-family: var(--font); font-weight: 800; font-size: 52px; line-height: 1.1;
  white-space: nowrap;
}

/* ── ABOUT ── */
.about { background: var(--white); padding: 80px 60px; text-align: center; }
.about h2 {
  font-size: clamp(14px,3.4vw,36px); font-weight: 800; margin-bottom: 16px;
  max-width: 100%; margin-left: auto; margin-right: auto;
}
.about-line { display: inline-block; white-space: nowrap; }
.about > p { font-size: 16px; color: #555; max-width: 680px; margin: 0 auto 48px; line-height: 1.7; }
.stats-wrapper { position: relative; }
.stats-track { overflow: hidden; }
.stats-cards { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.stat-card {
  background: #f0f0f0; border-radius: 8px;
  padding: 28px 22px; min-width: 180px; flex: 0 0 180px; text-align: left;
}
.stat-card .stat-num { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 8px; line-height: 1.1; }
.stat-card .stat-desc { font-size: 13px; color: #666; line-height: 1.4; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; max-width: 1100px; margin: 56px auto 0; text-align: left;
}
.benefit-card {
  background: #eef1f5; border: 1px solid var(--border);
  border-radius: 10px; padding: 24px 20px;
}
.benefit-check {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 15px; font-weight: 800; margin-bottom: 14px;
}
.benefit-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 13px; color: #666; line-height: 1.5; }

/* ── SOLUTION ── */
/* ── СЕКЦИЯ 4: ЗАЯВКА НА ПОДБОР ── */
.apply-eyebrow {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: rgba(255,255,255,0.55); margin-bottom: 20px;
}
.apply-lead { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 700px; margin-bottom: 32px; }
.apply-subhead { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.apply-list { list-style: none; display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.apply-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: rgba(255,255,255,0.92); line-height: 1.5; }
.apply-arrow { color: var(--amber); flex-shrink: 0; font-size: 18px; margin-top: 1px; }

/* ── СЕКЦИЯ: СОСТАВ КОМПЛЕКТНОГО ПРЕДЛОЖЕНИЯ ── */
.composition { background: #0e1830; padding: 80px 60px; color: var(--white); }
.composition h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; margin-bottom: 36px; max-width: 100%; }
.composition .comp-cards { grid-template-columns: repeat(4,1fr); max-width: 100%; margin-bottom: 36px; }
.composition .comp-tagline { max-width: 100%; text-align: center; }
.comp-brands-link { display: block; text-decoration: none; }
.comp-brands-link .comp-brands li { transition: color .2s; }
.comp-brands-link:hover .comp-brands li { color: var(--btn-green); }

/* ── СЕКЦИЯ: РЕАЛИЗАЦИЯ НА ПРАКТИКЕ ── */
.practice { background: var(--white); padding: 80px 60px; }
.practice-inner { display: flex; gap: 56px; max-width: 1200px; margin: 0 auto; align-items: center; }
.practice-gallery {
  flex: 0 0 46%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.practice-gallery img {
  width: 100%; height: 100%; min-height: 380px; object-fit: cover;
  border-radius: 10px; display: block; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.practice-content { flex: 1; min-width: 0; }
.practice-content h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.practice-content p { font-size: 16px; color: #444; line-height: 1.7; margin-bottom: 16px; }
.practice-benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.practice-cta { margin-top: 32px; }
.practice-benefits li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--dark); }
.practice-check {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--btn-green); color: var(--navy);
  font-size: 13px; font-weight: 800;
}

/* ── СЕКЦИЯ 5: ТИПОВЫЕ КОМПЛЕКТЫ ── */
.kit-types { background: #eef2f8; padding: 80px 60px; }
.kit-types-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #2f6fd1; margin-bottom: 14px; text-align: center; }
.kit-types h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; text-align: center; }
.kit-types .subtitle { font-size: 15px; color: #5a6270; margin-bottom: 44px; text-align: center; }
.kit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.kit-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); display: flex; flex-direction: column; height: 100%; }
.kit-card-head { background: var(--navy); padding: 24px 24px 20px; }
.kit-card-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--amber); margin-bottom: 10px; }
.kit-card-head h3 { font-size: 20px; font-weight: 700; color: var(--white); }
.kit-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.kit-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--border);
  font-size: 13px; color: #777;
}
.kit-row b { color: var(--dark); font-weight: 700; text-align: right; }
.kit-pill {
  display: block; text-align: center; margin-top: auto;
  background: var(--white); color: #111; text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 11px 16px; border-radius: 24px;
  border: 1.5px solid #7fd4ea; transition: border-color .2s, background .2s;
}
.kit-row:last-of-type { margin-bottom: 20px; }
.kit-pill:hover { background: #eafaff; border-color: #4fc3e0; }

/* ── СЕКЦИЯ 6: КАК ПРОХОДИТ РАБОТА ── */
.workflow { background: #f4f6fa; padding: 80px 60px; }
.workflow-inner { display: flex; gap: 48px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.workflow-photo {
  flex: 0 0 38%;
  min-height: 640px;
  border-radius: 12px;
  background: url('../images/montaz.jpg') center/cover no-repeat;
}
.workflow-content { flex: 1; min-width: 0; }
.workflow h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 36px; }
.workflow-list { }
.workflow-step { display: flex; gap: 24px; position: relative; padding-bottom: 28px; }
.workflow-step::before {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--navy);
}
.workflow-step:nth-child(n+3)::before { background: var(--amber); }
.workflow-step--last::before { display: none; }
.workflow-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; z-index: 1;
}
.workflow-num--outline { background: var(--white); border: 2px solid var(--navy); color: var(--navy); }
.workflow-num--filled { background: var(--navy); color: var(--white); }
.workflow-card {
  background: var(--white); border-radius: 8px; padding: 18px 22px;
  flex: 1; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.workflow-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.workflow-card p { font-size: 13px; color: #777; }

/* ── PRICING / FORM ── */
.pricing { background: #0e1830; padding: 80px 60px; color: var(--white); }
.pricing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pricing-left { min-width: 0; }
.pricing h2 { font-size: clamp(24px,3vw,38px); font-weight: 900; margin-bottom: 32px; line-height: 1.15; }
.comp-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-bottom: 32px; }
.comp-card { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 31px; }
.comp-card h4 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.comp-card p { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.55; margin-bottom: 12px; }
.comp-brands { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.comp-brands li { font-size: 17px; font-weight: 700; letter-spacing: .5px; color: var(--white); }
.comp-tagline { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.5; text-transform: uppercase; letter-spacing: .5px; }
.form-box {
  background: var(--white); color: var(--dark);
  padding: 40px; min-width: 0; border-radius: 4px;
}
.form-box--lg { padding: 44px; }
.form-box--lg .form-group textarea { min-height: 90px; }
.form-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.yandex-form-box { padding: 32px 24px; }
.yandex-form-wrap { width: 100%; overflow: hidden; }
.yandex-form-wrap iframe { width: 100% !important; max-width: 100%; border: none; min-height: 620px; display: block; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #444; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); font-size: 14px;
  font-family: var(--font); outline: none;
  transition: border-color .2s; border-radius: 2px; resize: none;
}
.form-group input[type="file"] { padding: 8px; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: #888; margin-bottom: 20px; line-height: 1.4;
}
.form-consent a { color: var(--navy); }

/* ── CONTACTS ── */
.contacts { background: var(--dark2); padding: 72px 60px 0; color: var(--white); }
.contacts h2 { font-size: clamp(24px,3vw,40px); font-weight: 800; margin-bottom: 40px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-bottom: 40px; }
.contact-block label { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.contact-block a,
.contact-block span { font-size: 17px; font-weight: 600; color: var(--white); text-decoration: none; }
.contact-block a:hover { color: var(--red); }
.map-embed { width: 100%; height: 260px; border: none; display: block; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 8px; margin-top: 40px;
}

/* ── ПЛАНШЕТ (≤900px) ── */
@media (max-width: 900px) {
  .hero-nav        { padding: 20px 24px; }
  .hero-menu       { display: none; }
  .hero-body       { padding: 32px 24px 16px; max-width: 100%; }
  .hero h1         { white-space: normal; font-size: clamp(26px,4.5vw,40px); }
  .hero-banner     {
    position: static; align-self: center;
    margin: 28px 0 8px; padding: 22px 36px;
    transform: rotate(-2deg);
  }
  .hero-banner-label { font-size: 18px; }
  .hero-banner-price { font-size: 36px; }

  .about           { padding: 56px 24px; }
  .benefits-grid   { grid-template-columns: repeat(2,1fr); }

  .composition     { padding: 56px 24px; }
  .composition .comp-cards { grid-template-columns: repeat(2,1fr); }
  .practice        { padding: 56px 24px; }
  .practice-inner  { flex-direction: column; gap: 32px; }
  .practice-gallery{ flex-basis: auto; width: 100%; }
  .practice-gallery img { min-height: 260px; }
  .kit-types       { padding: 56px 24px; }
  .kit-grid        { grid-template-columns: 1fr; }
  .workflow        { padding: 56px 24px; }
  .workflow-inner  { flex-direction: column; }
  .workflow-photo  { flex-basis: auto; min-height: 280px; width: 100%; }

  .pricing         { padding: 56px 24px; }
  .pricing-inner   { grid-template-columns: 1fr; gap: 32px; }
  .comp-cards      { grid-template-columns: 1fr; }

  .contacts        { padding: 56px 24px 0; }
  .contacts-grid   { grid-template-columns: 1fr; gap: 20px; }
  .map-embed       { height: 240px; }
}

/* ── SCROLL TO TOP ── */
#scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--btn-green); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
#scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { background: var(--btn-green-hover); }
@media (max-width: 600px) {
  #scroll-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }
  .hero-nav-right  { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .btn-navy--nav   { width: 100%; text-align: center; }
  .logo img        { height: 52px; }
  .hero-contacts   { flex-direction: column; gap: 8px; }
  .hero-body       { padding: 24px 20px 12px; }
  .hero h1         { font-size: 26px; white-space: normal; }
  .hero-sublist li { font-size: 15px; }
  .hero-cta        { width: 100%; }
  .btn-navy--lg    { width: 100%; font-size: 15px; padding: 15px 22px; }
  .hero-banner     {
    position: static; align-self: center; width: auto; max-width: 90%;
    margin: 20px 0 4px; padding: 16px 24px; transform: rotate(0deg);
  }
  .hero-banner:hover { transform: scale(1.04); }
  .hero-banner-label { font-size: 13px; }
  .hero-banner-price { font-size: 26px; }

  .about           { padding: 40px 20px; }
  .about h2        { font-size: 20px; }
  .about > p       { font-size: 14px; }
  .stat-card       { min-width: 150px; flex: 0 0 150px; padding: 20px 16px; }
  .stat-card .stat-num { font-size: 20px; }
  .benefits-grid   { grid-template-columns: 1fr; }

  .composition     { padding: 40px 20px; }
  .composition h2  { font-size: 22px; }
  .composition .comp-cards { grid-template-columns: 1fr; }
  .practice        { padding: 40px 20px; }
  .practice-inner  { flex-direction: column; gap: 24px; }
  .practice-gallery{ grid-template-columns: 1fr; gap: 10px; }
  .practice-gallery img { min-height: 220px; }
  .practice-content h2 { font-size: 22px; }
  .kit-types       { padding: 40px 20px; }
  .kit-types h2    { font-size: 22px; }
  .workflow        { padding: 40px 20px; }
  .workflow h2     { font-size: 22px; }
  .workflow-step   { gap: 14px; }

  .pricing         { padding: 40px 20px; }
  .pricing h2      { font-size: 22px; margin-bottom: 20px; }
  .form-box        { padding: 24px 20px; }
  .form-box--lg    { padding: 24px 20px; }

  .contacts        { padding: 40px 20px 0; }
  .contacts h2     { font-size: 26px; margin-bottom: 24px; }
  .contact-block a,
  .contact-block span { font-size: 15px; }
  .map-embed       { height: 200px; }
  .footer-bottom   { flex-direction: column; text-align: center; gap: 4px; padding: 16px 0; }
}
