:root {
  color-scheme: dark;
  --bg: #101722;
  --panel: #151c26;
  --panel-soft: #1a2430;
  --text: #eef4f8;
  --muted: #9fb0c0;
  --line: rgba(255, 255, 255, .1);
  --accent: #58c8ff;
  --accent-strong: #ffb84d;
  --shadow: 0 14px 34px rgba(0, 0, 0, .24);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, #101722 0%, #121b26 42%, #0f1620 100%);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(15, 22, 32, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand img { width: 190px; height: auto; }
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-right: auto;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-strong); }
.site-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 700; font-size: 14px; }
.site-nav a:hover { color: var(--text); }
.nav-call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #11161d;
  font-weight: 900;
}
.site-nav .nav-call:hover { color: #11161d; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 3px; }

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 118px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 29, .88) 0%, rgba(14, 20, 29, .62) 39%, rgba(14, 20, 29, .16) 72%, rgba(14, 20, 29, .48) 100%),
    linear-gradient(180deg, rgba(14, 20, 29, 0), rgba(16, 23, 34, .82)),
    url("assets/images/hero-diagnostika.jpg") center / cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
p { color: var(--muted); margin: 0; }

.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(17px, 2vw, 21px);
  color: #d8e3ec;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  max-width: 620px;
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 900;
}
.btn.primary { background: var(--accent-strong); color: #11161d; border-color: transparent; }
.btn.secondary { background: rgba(255, 255, 255, .08); color: var(--text); }
.btn:hover { transform: translateY(-1px); }

.trust-strip {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: -66px auto 0;
  padding: 0 clamp(18px, 5vw, 36px) 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  padding: 0;
  max-width: 1040px;
}
.hero-stats div {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 124px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(16, 21, 29, .96);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-stats div::before {
  content: "";
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: var(--accent-strong);
}
.hero-stats dt { font-size: clamp(19px, 2vw, 24px); line-height: 1.12; font-weight: 900; color: var(--text); }
.hero-stats dd { margin: 7px 0 0; color: #c8d5df; font-size: 14px; font-weight: 700; }

.section {
  padding: 88px clamp(18px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
}
.section + .section,
.trust-strip + .section {
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) 1fr;
  gap: clamp(20px, 5vw, 70px);
  align-items: start;
  margin-bottom: 36px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  padding-top: 74px;
}
.intro .section-head { display: block; margin: 0; }
.intro p:last-child { font-size: 20px; color: #d4dee7; }

.why-us {
  max-width: none;
  background: #111923;
  border-block: 1px solid rgba(255, 255, 255, .075);
}
.why-us .section-head,
.why-layout {
  max-width: 1280px;
  margin-inline: auto;
}
.why-layout {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}
.why-copy {
  display: grid;
  gap: 24px;
}
.why-copy p {
  color: #d4dee7;
  font-size: 18px;
}
blockquote {
  margin: 0;
  padding: 24px 26px;
  border-left: 3px solid var(--accent-strong);
  background: rgba(16, 21, 29, .74);
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  border-radius: 0 8px 8px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.why-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(16, 21, 29, .88);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
}
.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(88, 200, 255, .12);
  color: var(--accent);
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 300px;
  background: rgba(16, 21, 29, .9);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}
.service-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.service-card div { padding: clamp(20px, 3vw, 34px); align-self: end; }

.process {
  max-width: none;
  background: #111a25;
  border-block: 1px solid rgba(255, 255, 255, .075);
}
.process .section-head, .process .steps {
  max-width: 1280px;
  margin-inline: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.steps article {
  min-height: 250px;
  padding: 24px;
  background: rgba(21, 29, 40, .76);
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 8px;
}
.steps span { display: block; margin-bottom: 34px; color: var(--accent-strong); font-weight: 900; font-size: 14px; }

.coverage {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(24px, 6vw, 84px);
  align-items: center;
}
.coverage p { margin-top: 18px; font-size: 18px; }
.coverage-panel {
  padding: 32px;
  border-left: 3px solid var(--accent);
  background: rgba(16, 21, 29, .78);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0 8px 8px 0;
}
.coverage-panel strong { display: block; font-size: 26px; margin-bottom: 10px; }

.pricing {
  max-width: none;
  background: #111923;
  border-block: 1px solid rgba(255, 255, 255, .075);
}
.pricing .section-head,
.pricing-grid,
.pricing-extra {
  max-width: 1280px;
  margin-inline: auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: rgba(16, 21, 29, .92);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
}
.price-card.is-featured {
  background: rgba(21, 29, 40, .98);
  border-color: rgba(255, 184, 77, .44);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 77, .16);
  color: #ffd392;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.price-top {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.price-top h3 {
  min-height: 50px;
  margin: 0;
  color: var(--text);
}
.price-top strong {
  color: var(--accent-strong);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
}
.price-card p {
  min-height: 78px;
  color: #cbd7e0;
}
.price-card ul,
.pricing-extra ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.price-card ul { margin-bottom: 22px; }
.price-card li,
.pricing-extra li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.price-card li::before,
.pricing-extra li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.price-order {
  width: 100%;
  margin-top: auto;
  padding-inline: 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}
.price-card.is-featured .price-order {
  background: var(--accent-strong);
  color: #11161d;
  border-color: transparent;
}
.pricing-extra {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 18px;
  margin-top: 18px;
}
.pricing-extra > div,
.pricing-extra aside {
  padding: 28px;
  background: rgba(16, 21, 29, .76);
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 8px;
}
.pricing-extra h3 {
  margin-bottom: 4px;
}
.pricing-extra aside {
  display: grid;
  align-content: center;
  border-left: 3px solid var(--accent-strong);
}
.pricing-extra strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 24px;
}

.reviews {
  max-width: none;
  background: #101722;
}
.reviews .section-head,
.review-grid {
  max-width: 1280px;
  margin-inline: auto;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.review-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 310px;
  padding: 24px;
  background: rgba(16, 21, 29, .9);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
}
.review-grid span {
  color: var(--accent-strong);
  font-size: 15px;
  letter-spacing: .08em;
}
.review-grid p {
  color: #d2dce5;
  font-size: 15px;
}
.review-grid strong {
  align-self: end;
  color: var(--text);
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(24px, 6vw, 82px);
  align-items: start;
}
.contact-info p { margin-top: 18px; font-size: 18px; }
.contact-links { display: grid; gap: 10px; margin-top: 28px; font-weight: 900; }
.contact-links a, .contact-links span {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-form {
  display: grid;
  gap: 14px;
  scroll-margin-top: 112px;
  padding: clamp(20px, 4vw, 36px);
  background: rgba(16, 21, 29, .92);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
label { display: grid; gap: 8px; color: #dce6ef; font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #101722;
  color: var(--text);
  border-radius: 8px;
  padding: 14px 15px;
  font: inherit;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(88, 200, 255, .28); border-color: rgba(88, 200, 255, .7); }
textarea { resize: vertical; }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}
.form-status.is-success {
  color: #daf8e6;
  background: rgba(65, 185, 117, .16);
  border: 1px solid rgba(65, 185, 117, .34);
}
.form-status.is-error {
  color: #ffe1dd;
  background: rgba(255, 96, 74, .14);
  border: 1px solid rgba(255, 96, 74, .32);
}

.faq {
  max-width: none;
  background: #111923;
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.faq .section-head,
.faq-grid {
  max-width: 1280px;
  margin-inline: auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
details {
  background: rgba(16, 21, 29, .9);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  overflow: hidden;
}
summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 56px 20px 22px;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}
details[open] summary::after { content: "-"; }
details p {
  padding: 0 22px 22px;
  color: #cbd7e0;
}

.site-footer {
  padding: 38px clamp(18px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
  background: #0d131b;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.site-footer img { width: 190px; }
.site-footer p {
  max-width: 620px;
  color: rgba(159, 176, 192, .92);
  font-size: 14px;
}
.site-footer a { color: var(--text); font-weight: 900; white-space: nowrap; }
.footer-copy {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(159, 176, 192, .82);
  font-size: 12px;
  text-align: center;
}
.footer-copy a {
  color: rgba(238, 244, 248, .9);
  font-weight: 800;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; gap: 12px; }
  .nav-call { width: 100%; }
  .hero { min-height: auto; padding-top: 118px; padding-bottom: 96px; }
  .hero-stats, .intro, .section-head, .why-layout, .why-grid, .service-grid, .steps, .coverage, .pricing-grid, .pricing-extra, .review-grid, .contact, .faq-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip { margin-top: -50px; padding-bottom: 50px; }
  .price-card p { min-height: 0; }
  .service-card { grid-template-columns: 1fr; }
  .service-card img { height: 260px; min-height: 260px; }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 10px;
    padding-inline: 14px;
  }
  .brand img { width: 138px; }
  .header-phone {
    display: inline-flex;
    justify-self: center;
    min-height: auto;
    margin: 0;
    font-size: clamp(12px, 3.45vw, 14px);
    text-align: center;
  }
  .nav-toggle { justify-self: end; }
  .hero { padding-inline: 18px; padding-top: 118px; padding-bottom: 46px; }
  h1 { font-size: clamp(38px, 13vw, 58px); }
  .section { padding-block: 64px; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { margin-top: 0; padding-top: 18px; }
  .hero-stats div, .steps article { min-height: auto; }
  .why-grid article, .review-grid article { min-height: auto; }
  .footer-inner {
    justify-items: center;
    gap: 14px;
  }
  .footer-copy { text-align: center; }
}
