@font-face {
  font-family: "Ruberoid";
  src: url("../fonts/Ruberoid-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2367a9;
  --blue-dark: #164d83;
  --blue-soft: #e9f2fb;
  --line: #dce6ef;
  --text: #1a2836;
  --muted: #607386;
  --white: #ffffff;
  --light: #f5f8fb;
  --accent: #ef7d22;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-top {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 154px;
  height: auto;
}

.top-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #293d50;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.phone:hover {
  color: var(--blue);
}

.phone {
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(233, 242, 251, 0.82) 100%),
    url("../assets/certificate.jpg") right center / auto 110% no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Ruberoid", "Raleway", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin: 14px 0 12px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #385267;
  font-size: 20px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue-dark);
  background: var(--white);
}

.hero-panel {
  align-self: stretch;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(22, 77, 131, 0.12);
}

.hero-badge {
  margin-bottom: 28px;
}

.hero-badge span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: var(--white);
  background: var(--accent);
  font-weight: 700;
}

.hero-badge strong {
  display: block;
  font-family: "Ruberoid", "Raleway", Arial, sans-serif;
  font-size: 30px;
  line-height: 1.1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-grid div {
  min-height: 116px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 700;
}

.metric-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.intro-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: #40586d;
  font-size: 19px;
}

.catalog {
  border-top: 1px solid var(--line);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.catalog-item {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.catalog-item:hover {
  background: var(--blue-soft);
}

.item-number {
  color: var(--accent);
  font-weight: 700;
}

.catalog-item p {
  margin: 0;
  color: var(--muted);
}

.supply {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--blue-dark);
  color: var(--white);
}

.supply-copy,
.steps {
  padding: 76px max(32px, calc((100vw - 1180px) / 2));
}

.supply-copy {
  padding-right: 48px;
}

.supply-copy .eyebrow {
  color: #9fd0ff;
}

.supply-copy p:last-child {
  max-width: 620px;
  color: #d6e7f6;
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.steps div {
  min-height: 120px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 20px;
  background: var(--blue-dark);
}

.steps span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--white);
  font-weight: 700;
}

.steps p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.proof-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}

.proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-copy p {
  color: var(--muted);
  font-size: 18px;
}

.proof-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.proof-copy li {
  position: relative;
  padding-left: 26px;
  color: #344d63;
}

.proof-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.contacts {
  width: 100%;
  margin: 0;
  padding: 86px max(32px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 52px;
  background: var(--light);
  border-top: 1px solid var(--line);
}

.contact-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.contact-lines {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.contact-lines a {
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 700;
}

.contact-lines span {
  color: var(--muted);
}

.request-form {
  padding: 32px;
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.request-form label,
.request-form span {
  display: grid;
  gap: 8px;
}

.request-form span {
  color: #41576b;
  font-size: 14px;
  font-weight: 700;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd8e3;
  color: var(--text);
  font: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(35, 103, 169, 0.25);
  border-color: var(--blue);
}

.request-form button {
  min-height: 54px;
  border: 0;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.request-form button:hover {
  background: var(--blue-dark);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer img {
  width: 132px;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 700;
}

.requisites {
  border-top: 1px solid var(--line);
}

.requisites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.requisite-block {
  padding: 28px;
  background: var(--light);
  border: 1px solid var(--line);
}

.requisite-block.wide {
  grid-column: 1 / -1;
}

.requisite-block dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.requisite-block div {
  display: grid;
  grid-template-columns: minmax(140px, 0.36fr) 1fr;
  gap: 18px;
}

.requisite-block dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.requisite-block dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.requisite-block a {
  color: var(--blue-dark);
}

@media (max-width: 980px) {
  .header-top {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .intro-layout,
  .supply,
  .proof,
  .contacts,
  .requisites-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-top,
  .section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 132px;
  }

  .phone {
    width: 100%;
  }

  .hero {
    background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  }

  .hero-inner,
  .section {
    padding: 52px 0;
  }

  .lead {
    font-size: 18px;
  }

  .hero-panel {
    padding: 22px;
  }

  .metric-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .supply-copy,
  .steps,
  .contacts {
    padding: 52px 24px;
  }

  .steps div {
    grid-template-columns: 44px 1fr;
  }

  .steps span {
    width: 44px;
    height: 44px;
  }

  .site-footer,
  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
  }

  .requisite-block div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
