.contact-hero {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.contact-hero__media,
.contact-hero__overlay {
  position: absolute;
  inset: 0;
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 28, 47, 0.98) 0%, rgba(7, 28, 47, 0.84) 50%, rgba(7, 28, 47, 0.48) 100%),
    linear-gradient(0deg, rgba(7, 28, 47, 0.72), transparent 65%);
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-block: 82px 72px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.contact-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.contact-hero__content > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
}

.contact-main {
  padding-block: clamp(80px, 10vw, 130px);
  background: var(--surface-soft);
}

.contact-main__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: start;
}

.contact-details > h2 {
  margin-bottom: 18px;
}

.contact-details > p:not(.eyebrow) {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-method {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-method__label {
  display: block;
  margin-bottom: 18px;
  color: var(--orange-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-method h3 a {
  color: inherit;
  text-decoration: none;
}

.contact-method p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-socials {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-socials p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-socials div {
  display: flex;
  gap: 20px;
}

.contact-socials a {
  font-weight: 700;
}

.enquiry-card {
  padding: clamp(30px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.enquiry-card__heading {
  margin-bottom: 27px;
}

.enquiry-card__heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.enquiry-card__heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field--full,
.contact-form > .button,
.contact-form > input[type="hidden"] {
  grid-column: 1 / -1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading--centered {
  margin-inline: auto;
  text-align: center;
}

.before-contacting {
  padding-block: clamp(76px, 9vw, 118px);
}

.information-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.information-grid article {
  padding: 30px 26px;
  border-top: 4px solid var(--orange-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.information-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--orange-600);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.information-grid h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.information-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.appointment-note {
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 41, 66, 0.98), rgba(18, 59, 93, 0.9)),
    url("images/roofing.jpg") center / cover;
}

.appointment-note__inner {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-block: 70px;
}

.appointment-note h2 {
  margin-bottom: 14px;
  color: #fff;
}

.appointment-note p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.appointment-note .button {
  flex: 0 0 auto;
}

@media (max-width: 1000px) {
  .contact-main__layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    max-width: 760px;
  }

  .enquiry-card {
    max-width: 800px;
  }

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

@media (max-width: 700px) {
  .contact-hero {
    min-height: 450px;
  }

  .contact-hero__overlay {
    background: rgba(7, 28, 47, 0.85);
  }

  .contact-hero__content {
    padding-block: 70px 60px;
  }

  .contact-main {
    padding-block: 72px;
  }

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

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

  .form-field--full,
  .contact-form > .button,
  .contact-form > input[type="hidden"] {
    grid-column: auto;
  }

  .appointment-note__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 430px) {
  .contact-hero {
    min-height: 420px;
  }

  .breadcrumbs ol {
    margin-bottom: 27px;
  }

  .enquiry-card {
    margin-inline: -5px;
    border-radius: var(--radius-md);
  }

  .appointment-note .button {
    width: 100%;
  }
}
