.home-hero {
  padding-block: 64px 58px;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.home-hero__copy {
  padding-block: 12px;
}

.home-hero h1 {
  max-width: 720px;
  margin-top: 24px;
}

.home-hero .lead {
  max-width: 585px;
  margin: 23px 0 0;
}

.home-hero .button-row {
  margin-top: 32px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 0;
  padding-inline: 23px;
  border-left: 1px solid var(--line);
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong {
  display: block;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-facts span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-hero__visual {
  position: relative;
  width: min(100%, 535px);
  justify-self: end;
}

.home-hero__visual picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-badge {
  position: absolute;
  bottom: 34px;
  left: -30px;
  max-width: min(390px, 86%);
  padding: 15px 19px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: rgba(35, 28, 20, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.equipment-badge span {
  display: block;
  color: var(--muted);
  font-family: "PT Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.equipment-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
}

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

.services-note {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.works-intro {
  max-width: 650px;
  margin: 12px 0 30px;
  color: var(--muted);
}

.works-feature,
.works-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
}

.works-feature img,
.works-grid img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 350ms ease, filter 350ms ease;
}

.works-feature:hover img,
.works-grid a:hover img {
  transform: scale(1.015);
  filter: brightness(1.06);
}

.works-feature span,
.works-grid span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(240, 230, 214, 0.14);
  border-radius: 10px;
  background: rgba(17, 14, 11, 0.82);
  color: var(--cream-soft);
  font-size: 13px;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

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

.works-more {
  margin-top: 14px;
}

.works-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.works-toggle {
  min-height: 48px;
  padding: 11px 23px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: transparent;
  color: var(--cream);
  font-weight: 650;
  line-height: 1.15;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.works-toggle:hover {
  border-color: var(--accent);
  background: rgba(224, 118, 60, 0.08);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  min-height: 205px;
  padding: 4px 12px 4px 21px;
  border-left: 2px solid rgba(224, 118, 60, 0.44);
}

.process-grid li:first-child {
  border-left-color: var(--accent);
}

.process-grid span {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.process-grid h3 {
  margin-top: 9px;
}

.process-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 50px;
  align-items: stretch;
}

.contact-copy h2 {
  margin-bottom: 25px;
}

.contact-address {
  margin-bottom: 5px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.45;
}

.contact-landmark {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.contact-list {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  gap: 9px 19px;
  margin: 0;
  font-size: 15px;
}

.contact-list dt {
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  color: var(--cream);
  font-weight: 600;
}

.contact-list a {
  color: var(--accent-bright);
}

.contact-copy .button-row {
  margin-top: 31px;
}

.copy-address {
  margin-top: 17px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed var(--accent-line);
  background: transparent;
  color: var(--accent-bright);
  font-size: 13px;
  cursor: pointer;
}

.copy-status {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.map-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.map-viewport {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #1b1c1d;
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map-status {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 10px 14px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: rgba(23, 19, 15, 0.92);
  color: var(--muted-light);
  font-family: "PT Mono", monospace;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.map-status.is-error {
  color: var(--cream-soft);
  white-space: normal;
}

.map-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.map-marker__label {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: var(--accent-deep);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.36);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.map-marker__tip {
  width: 0;
  height: 0;
  border-top: 8px solid var(--accent-deep);
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
}

.map-links {
  display: flex;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.map-links a {
  display: inline-flex;
  min-height: 42px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--cream-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  transition: border-color 160ms ease, color 160ms ease;
}

.map-links a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.faq-section .section-heading {
  align-items: start;
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
}

@media (max-width: 1080px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 40px;
  }

  .hero-facts li {
    padding-inline: 16px;
  }

  .equipment-badge {
    left: -18px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .process-grid li {
    min-height: 155px;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .home-hero {
    padding-block: 48px 52px;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    max-width: 700px;
  }

  .home-hero__visual {
    width: min(100%, 570px);
    justify-self: center;
  }

  .equipment-badge {
    left: -14px;
  }

  .home-section {
    padding-block: 52px;
  }

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

  .map-viewport {
    min-height: 420px;
  }

  .faq-section__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding-block: 39px 46px;
  }

  .home-hero h1 {
    margin-top: 20px;
  }

  .home-hero .lead {
    margin-top: 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .hero-facts li,
  .hero-facts li:first-child {
    padding: 0 0 0 15px;
    border-left: 1px solid var(--line);
  }

  .home-hero__visual {
    width: calc(100% - 10px);
  }

  .equipment-badge {
    right: -5px;
    bottom: 18px;
    left: -5px;
    max-width: none;
  }

  .services-note {
    text-align: left;
  }

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

  .works-feature span,
  .works-grid span {
    position: static;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    backdrop-filter: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process-grid li {
    min-height: 0;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-list dd {
    margin-bottom: 12px;
  }

  .map-viewport {
    min-height: 360px;
  }

  .map-links {
    display: grid;
    grid-template-columns: 1fr;
  }
}
