:root {
  --blue: #3f4ea0;
  --blue-dark: #263061;
  --yellow: #fff100;
  --green: #6f8f67;
  --ink: #171923;
  --muted: #626873;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f5f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 16px 56px;
  border-bottom: 1px solid rgba(228, 231, 236, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 188px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  border-radius: 8px;
  padding: 9px 13px;
  color: #2e3340;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--soft);
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 60vh;
  max-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 14, 35, 0.76), rgba(9, 14, 35, 0.32)),
    linear-gradient(0deg, rgba(9, 14, 35, 0.15), rgba(9, 14, 35, 0.05));
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  color: #fff;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-size: 64px;
  line-height: 1.03;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.48;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  color: var(--blue);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

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

.hero .eyebrow,
.image-band .eyebrow {
  color: var(--yellow);
}

.intro-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 44px;
  align-items: center;
  padding: 56px calc((100% - 1120px) / 2);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.intro-band > *,
.contact-band > * {
  margin-left: 24px;
  margin-right: 24px;
}

.intro-band h2,
.contact-band h2,
.section-heading h2,
.detail-section h2,
.next-services h2,
.image-band h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 720;
  letter-spacing: 0;
}

.intro-band p:last-child,
.contact-band p,
.image-band p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section,
.next-services {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: 0;
}

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

.service-card a,
.link-row a {
  color: var(--blue);
  font-weight: 760;
}

.service-card a::after,
.link-row a::after {
  content: "  →";
}

.image-band {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 460px;
  padding: 70px calc((100% - 1120px) / 2);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 25, 47, 0.78), rgba(18, 25, 47, 0.22)),
    url("/oeku-assets/wheelbarrows.jpg") center / cover;
}

.image-band > div {
  max-width: 650px;
  margin: 0 24px;
}

.image-band p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-band {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: var(--blue);
  color: #fff;
}

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

.contact-band p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, auto);
  gap: 36px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
  color: var(--muted);
}

.site-footer img {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 420px;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 54px;
}

.subhero h1,
.simple-page h1 {
  margin: 0 0 18px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.subhero p:not(.eyebrow),
.simple-page > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.subhero img {
  width: 100%;
  height: 430px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 72px;
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 52px;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-list li::before {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 5px var(--blue);
  content: "";
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.simple-page {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 42px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 86px;
}

.contact-panel div,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 740;
}

.legal-page {
  width: min(980px, calc(100% - 48px));
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.legal-block {
  color: var(--muted);
}

.legal-block h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-block p {
  margin: 0 0 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-block.wide {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 14px 24px;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 520px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .intro-band,
  .contact-band,
  .subhero,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .service-grid,
  .contact-panel,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .subhero img {
    height: 320px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 160px;
  }

  .main-nav {
    gap: 4px;
    font-size: 13px;
  }

  .main-nav a {
    padding: 8px 9px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-copy {
    width: min(100% - 32px, 1120px);
    padding: 52px 0;
  }

  .hero-copy h1,
  .subhero h1,
  .simple-page h1 {
    font-size: 36px;
  }

  .intro-band h2,
  .contact-band h2,
  .section-heading h2,
  .detail-section h2,
  .next-services h2,
  .image-band h2 {
    font-size: 30px;
  }

  .section,
  .next-services,
  .subhero,
  .detail-section,
  .simple-page,
  .contact-panel,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .intro-band,
  .contact-band,
  .image-band {
    padding: 44px 0;
  }

  .section,
  .next-services {
    padding: 54px 0;
  }

  .button {
    width: 100%;
  }
}
