.contact-page {
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: min(48rem, 86vh);
  overflow: hidden;
  background: #10213b;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
}

.contact-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 25, 45, 0.78) 0%, rgba(12, 25, 45, 0.46) 35%, rgba(12, 25, 45, 0.04) 74%),
    linear-gradient(180deg, rgba(12, 25, 45, 0.16), rgba(12, 25, 45, 0.22));
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(48rem, 86vh);
  max-width: 42rem;
  flex-direction: column;
  justify-content: center;
  padding: 9rem clamp(1.5rem, 6vw, 6rem) 5rem;
  color: #fff;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0 0 1.35rem;
  color: rgba(35, 69, 133, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.contact-label::after {
  width: 4.3rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.7;
}

.contact-hero .contact-label {
  color: rgba(255, 255, 255, 0.78);
}

.contact-hero h1 {
  margin: 0 0 1.6rem;
  color: #fff;
  font-size: clamp(4rem, 7.3vw, 7.2rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
}

.contact-hero p:last-child {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.12rem, 1.45vw, 1.45rem);
  line-height: 1.45;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.contact-info h2,
.contact-form-panel h2,
.location-copy h2 {
  margin: 0 0 2rem;
  color: var(--igm-blue);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.contact-list {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-list a {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.2rem;
  align-items: start;
  color: #677389;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.45;
}

.contact-list span {
  color: var(--igm-blue);
  font-size: 1.6rem;
  line-height: 1;
}

.contact-list strong {
  font-weight: 600;
}

.opening-hours {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(35, 69, 133, 0.25);
}

.opening-hours p:last-child {
  margin: 0;
  color: #68758a;
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: #68758a;
  font-size: 0.98rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.7rem;
  padding: 0 1rem;
  border: 1px solid rgba(35, 69, 133, 0.16);
  border-radius: 0.32rem;
  background: #fff;
  color: var(--charcoal);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 8.5rem;
  padding-top: 1rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--igm-blue);
  box-shadow: 0 0 0 4px rgba(35, 69, 133, 0.08);
}

.contact-form button {
  width: min(100%, 15rem);
  min-height: 4rem;
  border: 0;
  border-radius: 0.34rem;
  background: var(--igm-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  box-shadow: 0 1rem 2.4rem rgba(35, 69, 133, 0.18);
  transform: translateY(-0.15rem);
}

.contact-form small {
  align-self: center;
  justify-self: end;
  color: #8b96a8;
  font-weight: 700;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(24rem, 1.15fr);
  min-height: 33rem;
  background: #f7f9fc;
}

.location-copy {
  display: grid;
  align-content: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.location-copy p:not(.contact-label) {
  max-width: 28rem;
  margin: 0 0 1.8rem;
  color: #68758a;
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.location-copy a {
  color: var(--igm-blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.location-map {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  background: #e9eef5;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 33rem;
  border: 0;
  filter: saturate(0.35) contrast(0.95) brightness(1.06);
}

.map-card {
  position: absolute;
  left: 1.4rem;
  top: 1.4rem;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  color: #24364f;
  box-shadow: 0 1rem 2.8rem rgba(31, 41, 51, 0.12);
}

.map-card::before {
  content: none;
}

.map-card strong {
  color: var(--igm-blue);
}

@media (max-width: 850px) {
  .contact-details,
  .location-section {
    grid-template-columns: 1fr;
  }

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

  .contact-form small {
    justify-self: start;
  }

  .location-map,
  .location-map iframe {
    min-height: 24rem;
  }

  .map-card {
    left: 1rem;
    top: 1rem;
  }
}
