:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #667085;
  --line: #d9e0e8;
  --paper: #f5f6f4;
  --white: #ffffff;
  --green: #2f6f56;
  --coral: #b65a3c;
  --gold: #d0a13f;
  --concrete: #d8dbd5;
  --asphalt: #3d4348;
  --pavers: #c8a36b;
  --rubber: #b64b35;
}

* {
  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;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 42px 24px 84px;
  text-align: center;
}

.hero__content {
  max-width: 980px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 980px;
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.hero__badges span {
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #354052;
  font-size: 14px;
  font-weight: 700;
}

.hero-photo {
  width: min(100%, 980px);
  margin: 46px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.12);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.button--ghost {
  background: transparent;
}

.hero__visual {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(61, 67, 72, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(182, 90, 60, 0.16), transparent 42%),
    var(--white);
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-plan {
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: var(--concrete);
  overflow: hidden;
}

.site-plan__building {
  position: absolute;
  top: 28px;
  left: 30px;
  width: 150px;
  height: 118px;
  border: 8px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(255, 255, 255, 0.28) 28% 34%, transparent 34% 62%, rgba(255, 255, 255, 0.28) 62% 68%, transparent 68%),
    #89929a;
}

.site-plan__asphalt {
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: 36px;
  height: 94px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 0 18px,
      transparent 18px 36px
    ),
    var(--asphalt);
}

.site-plan__pavers {
  position: absolute;
  left: 176px;
  top: 52px;
  width: 86px;
  height: 190px;
  border: 6px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.22) 0 2px,
      transparent 2px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.22) 0 2px,
      transparent 2px 24px
    ),
    var(--pavers);
}

.site-plan__rubber {
  position: absolute;
  right: 34px;
  top: 44px;
  width: 126px;
  height: 112px;
  border: 8px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.3) 0 8px, transparent 9px),
    radial-gradient(circle at 68% 66%, rgba(255, 255, 255, 0.26) 0 10px, transparent 11px),
    var(--rubber);
}

.site-plan__curbs {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 132px;
  height: 14px;
  border-radius: 999px;
  background: #f1f1e8;
  box-shadow: 0 28px 0 #f1f1e8;
}

.panel {
  position: absolute;
  width: min(72%, 330px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.12);
}

.panel span {
  display: block;
  width: 56px;
  height: 8px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: var(--coral);
}

.panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel--main {
  top: 70px;
  left: 44px;
}

.panel--side {
  right: 32px;
  bottom: 48px;
}

.panel--side span {
  background: var(--gold);
}

.section,
.features,
.objects,
.contacts,
.details,
.contact {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

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

.section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 760px;
}

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

.features article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  overflow: hidden;
}

.features article img {
  display: block;
  width: calc(100% + 48px);
  height: 180px;
  margin: -24px -24px 22px;
  object-fit: cover;
}

.features article:hover {
  border-color: rgba(61, 67, 72, 0.24);
  box-shadow: 0 18px 46px rgba(24, 33, 47, 0.08);
  transform: translateY(-3px);
}

.number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 800;
}

.features p,
.contact p {
  color: var(--muted);
}

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

.objects h2 {
  max-width: 820px;
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.object-grid article {
  min-height: 178px;
  border-radius: 8px;
  padding: 20px;
  color: var(--white);
  background: var(--asphalt);
}

.object-grid article:nth-child(2) {
  background: var(--rubber);
}

.object-grid article:nth-child(3) {
  background: #6f674f;
}

.object-grid article:nth-child(4) {
  background: #2f6f56;
}

.object-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: 20px;
}

.object-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contacts p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.contact-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-list strong {
  font-size: 22px;
}

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

.details .section-heading p {
  color: var(--muted);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.details-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.details-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.details-grid strong {
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.request-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.request-actions .button {
  width: 100%;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

@media (max-width: 820px) {
  .topbar,
  .hero,
  .contact {
    align-items: start;
  }

  .topbar,
  .hero,
  .features,
  .object-grid,
  .contacts,
  .details-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .hero__visual {
    min-height: 340px;
  }

  .site-plan {
    inset: 26px;
  }

  .panel--main {
    top: 40px;
    left: 22px;
  }

  .panel--side {
    right: 18px;
    bottom: 28px;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  nav {
    gap: 12px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .features article {
    min-height: auto;
  }

  .features article img {
    height: 170px;
  }

  .request-actions {
    grid-template-columns: 1fr;
  }

  .panel {
    width: min(78%, 280px);
    padding: 18px;
  }
}
