:root {
  --ink: #161a1d;
  --muted: #5d666f;
  --line: #d8dde2;
  --paper: #f7f8f9;
  --white: #ffffff;
  --brand-yellow: #eef20f;
  --brand-yellow-dark: #c9ce00;
  --brand-black: #070808;
  --steel: #65717a;
  --cool-green: #2f7d59;
  --link: #485200;
  --shadow: 0 18px 55px rgba(22, 26, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(22, 26, 29, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: min(300px, 52vw);
  height: auto;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.header-phone:hover,
.site-footer a:hover {
  color: var(--link);
}

.header-phone {
  padding: 10px 14px;
  color: var(--brand-black);
  background: var(--brand-yellow);
  border: 1px solid var(--brand-black);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    url("https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1800&q=82")
    center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.92) 0%, rgba(22, 26, 29, 0.76) 45%, rgba(22, 26, 29, 0.18) 100%),
    linear-gradient(0deg, rgba(22, 26, 29, 0.72) 0%, rgba(22, 26, 29, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 36px));
  margin: 0 0 9vh clamp(18px, 8vw, 108px);
  padding-top: 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--link);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand-yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: 76px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 22px;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: var(--brand-black);
  background: var(--brand-yellow);
  border: 1px solid var(--brand-yellow);
}

.button-primary:hover {
  background: var(--brand-yellow-dark);
  border-color: var(--brand-yellow-dark);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.button-secondary:hover {
  border-color: var(--brand-yellow);
}

.quick-contact {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 36px));
  margin: -44px auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.quick-contact a {
  min-width: 0;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.quick-contact a:last-child {
  border-right: 0;
}

.quick-contact span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.quick-contact strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.section,
.services,
.why,
.contact,
.text-section,
.price,
.documents {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 58px;
  align-items: start;
}

.section-intro > p,
.supply-content > p,
.why-list p,
.contact p,
.article-flow p,
.document-grid p,
.price-panel p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--steel);
  border-radius: 8px;
  font-weight: 800;
}

.service-card:nth-child(2) span {
  color: var(--brand-black);
  background: var(--brand-yellow);
}

.service-card:nth-child(3) span {
  color: var(--white);
  background: var(--brand-black);
}

.service-card:nth-child(4) span {
  background: var(--cool-green);
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.media-strip figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.media-strip img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.86;
}

.media-strip figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(22, 26, 29, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.supply {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 86px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.supply-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.supply-content > p {
  color: rgba(255, 255, 255, 0.78);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 0;
}

.stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.stats dt {
  font-size: 21px;
  font-weight: 800;
}

.stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.why-list div {
  padding-top: 30px;
}

.text-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}

.text-section-alt {
  padding: 78px clamp(18px, 5vw, 72px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-flow {
  display: grid;
  gap: 20px;
}

.article-flow p {
  margin: 0;
}

.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.price {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 46px;
  align-items: start;
}

.price-panel,
.document-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-panel p:first-child,
.document-grid p:first-of-type {
  margin-top: 0;
}

.price-panel p:last-child,
.document-grid p:last-child {
  margin-bottom: 0;
}

.price-panel a,
.document-grid a {
  color: var(--link);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.document-grid article:nth-child(3),
.document-grid article:nth-child(4) {
  background: #eef3f1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: start;
  padding: 70px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.96), rgba(72, 82, 0, 0.86)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1400&q=80")
    center / cover;
}

.contact .eyebrow {
  color: var(--brand-yellow);
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel {
  display: grid;
  gap: 13px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.contact-panel a {
  color: var(--link);
  font-size: 20px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section-intro,
  .supply,
  .contact,
  .text-section,
  .price {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .why-list,
  .media-strip,
  .two-column {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .supply-image img {
    aspect-ratio: 16 / 9;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 38px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-phone {
    width: max-content;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto 8vh;
    padding-top: 170px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 18px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .quick-contact,
  .service-grid,
  .why-list,
  .media-strip,
  .two-column,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-contact a:last-child {
    border-bottom: 0;
  }

  .section,
  .services,
  .why,
  .contact,
  .text-section,
  .price,
  .documents {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-card {
    min-height: 240px;
  }

  .site-footer {
    flex-direction: column;
  }
}
