.contact-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 170px 0 90px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.72) 100%),
    url("images/contact-builders-in-bangor-north-wales.jpg") center center / cover no-repeat;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.contact-hero-kicker {
  margin: 0 0 18px;
  color: #d8d8d8;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-hero h1 {
  margin: 0 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}

.contact-hero-text {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.85;
}

.contact-main-section {
  background: #050505;
  color: #fff;
}

.contact-top-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 66px;
  align-items: start;
  margin-bottom: 54px;
}

.contact-top-title h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.contact-top-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1.08rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 68px;
  align-items: start;
}

.contact-info-col h3,
.contact-form-col h3 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  color: #fff;
}

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

.contact-info-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-info-icon {
  width: 76px;
  height: 76px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f4;
  font-size: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-copy h4 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  line-height: 1.08;
  color: #fff;
}

.contact-info-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  font-size: 1.04rem;
}

.contact-info-copy p + p {
  margin-top: 6px;
}

.contact-info-copy a {
  color: #fff;
  text-decoration: none;
}

.contact-info-copy a:hover {
  color: var(--silver-light);
}

.contact-info-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.contact-info-card-link:hover {
  transform: translateY(-2px);
}

.contact-info-card-link:hover .contact-info-copy h4,
.contact-info-card-link:hover .contact-info-copy p,
.contact-info-card-link:hover .contact-info-icon {
  color: #fff;
}

.contact-map-card-embed {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.contact-map-card-embed iframe {
  display: block;
  width: 100%;
}


.field-group-full {
  margin-top: 18px;
}

.contact-submit-btn {
  margin-top: 10px;
  min-height: 56px;
  padding: 0 32px;
  align-self: flex-start;
  width: auto;
  min-width: 220px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0f0f0 0%, #8f8f8f 100%);
  color: #111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.contact-submit-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #a5a5a5 100%);
}

@media (max-width: 760px) {
  .contact-submit-btn {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }
}

.contact-map-section {
  background: #050505;
  color: #fff;
  padding-top: 0;
}

.contact-map-head {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

.contact-map-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4.5vw, 4.3rem);
  line-height: 0.98;
  color: #fff;
}

.contact-map-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
  font-size: 1.04rem;
}

.contact-map-wrap {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.contact-seo-copy-section {
  background: #050505;
  color: #fff;
  padding-top: 28px;
}

.contact-seo-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-seo-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  color: #fff;
}

.contact-seo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
  font-size: 1.04rem;
}

.contact-seo-copy p + p {
  margin-top: 16px;
}

.contact-cta-section {
  background: #050505;
  color: #fff;
  padding-top: 0;
}

.contact-cta-panel {
  padding: 48px 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.86) 0%, rgba(10, 10, 10, 0.92) 100%),
    url("images/hero-1.jpg") center center / cover no-repeat;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.contact-cta-kicker {
  margin: 0 0 14px;
  color: var(--silver-light, #d3d3d3);
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-cta-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #fff;
}

.contact-cta-panel p {
  max-width: 840px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
  font-size: 1.04rem;
}

.contact-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

@media (max-width: 1180px) {
  .contact-top-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}


@media (max-width: 760px) {
  .contact-hero {
    min-height: auto;
    padding: 132px 0 60px;
  }

  .contact-hero h1 {
    font-size: 2.7rem;
    line-height: 1;
  }

  .contact-hero-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .contact-top-title,
  .contact-top-copy,
  .contact-map-head,
  .contact-seo-copy {
    text-align: center;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
  }

  .contact-form-col {
    order: 1;
    width: 100%;
  }

  .contact-info-col {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .contact-form-col h3 {
    text-align: center;
  }

  .contact-form {
    width: 100%;
  }

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

  .contact-form .field-group {
    width: 100%;
    text-align: left;
  }

  .contact-form label {
    display: block;
    text-align: left;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    text-align: left;
  }

  .contact-info-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-info-icon {
    width: 72px;
    height: 72px;
  }

  .contact-submit-btn {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }
}