.contact-page {
  background: #f3f7ff;
  padding: 18px 0 40px;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5d6d8a;
  margin-bottom: 18px;
}

.page-breadcrumb a {
  color: #1c3f7d;
  text-decoration: none;
  font-weight: 600;
}

.contact-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  background: #edf7ff;
  border: 1px solid #dfeaf9;
  border-radius: 20px;
  padding: 28px 28px 0;
  overflow: hidden;
}

.contact-copy {
  padding: 10px 0 0;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d63f2;
}

.contact-copy h1 {
  margin: 0;
  font-size: clamp(40px, 3vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #112657;
}

.contact-copy h1 span {
  color: #1d63f2;
}

.intro-copy {
  margin-top: 14px;
  max-width: 510px;
  color: #4e5f84;
  font-size: 18px;
  line-height: 1.7;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 16px;
  margin-top: 22px;
  max-width: 530px;
}

.response-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: #173d7c;
}

.response-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border: 2px solid rgba(30, 89, 204, 0.8);
  color: #1f5bd7;
  font-size: 20px;
}

.response-label {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #1b3d77;
}

.city-strip {
  margin-top: 26px;
  height: 110px;
  background:
    linear-gradient(180deg, rgba(237, 247, 255, 0) 20%, #edf7ff 100%),
    url('images/citylandscape-banner.jpg') center / cover no-repeat;
}

.contact-panel {
  background: rgba(255,255,255,0.82);
  border: 1px solid #dfeaf8;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 12px 20px rgba(9, 21, 47, 0.04);
  padding: 18px 20px 20px;
  margin-top: 10px;
}

.contact-panel h2 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: #10275e;
}

.contact-panel p {
  margin: 0 0 18px;
  color: #536487;
  font-size: 15px;
}

.enquiry-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  gap: 12px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  color: #203a6b;
}

label em {
  color: #d53333;
  font-style: normal;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6dfef;
  border-radius: 8px;
  background: #fff;
  color: #2a3d5f;
  padding: 12px 12px;
  font: inherit;
  box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
  color: #94a4c0;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: #d74b4b;
  box-shadow: 0 0 0 1px rgba(215, 75, 75, 0.12);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.recaptcha-wrap {
  margin: 2px 0 4px;
  min-height: 78px;
  overflow: hidden;
}

.form-message {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(215, 75, 75, 0.08);
  color: #b32727;
  border: 1px solid rgba(215, 75, 75, 0.15);
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(30, 163, 92, 0.08);
  color: #0d7a46;
  border-color: rgba(30, 163, 92, 0.15);
}

.phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d6dfef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.country-code {
  padding: 12px 10px;
  border-right: 1px solid #d6dfef;
  background: #f6f9ff;
  color: #203a6b;
  font-weight: 600;
}

.phone-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #596d8f;
  font-size: 12px;
  font-weight: 500;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: #1d63f2;
}

.checkbox-row a {
  color: #1d63f2;
  text-decoration: none;
}

.submit-btn {
  justify-self: end;
  margin-top: 4px;
  min-width: 180px;
}

.connect-section,
.office-section {
  margin-top: 52px;
}

.contact-copy .connect-section {
  margin-top: 28px;
  max-width: 530px;
}

.connect-section h2,
.office-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 2.8vw, 38px);
  color: #10275e;
  letter-spacing: -0.04em;
}

.contact-copy .connect-section h2 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-copy .connect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.connect-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 14px;
  border: 1px solid #e3ebf8;
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
}

.contact-copy .connect-item {
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
}

.connect-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 99, 242, 0.08);
  border: 1px solid rgba(29, 99, 242, 0.15);
  color: #1d63f2;
  flex-shrink: 0;
}

.contact-copy .connect-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 14px;
}

.connect-copy h3 {
  margin: 0 0 8px;
  color: #10275e;
  font-size: 18px;
}

.contact-copy .connect-copy h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.connect-copy p,
.connect-copy a {
  margin: 0;
  color: #526885;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}

.contact-copy .connect-copy p,
.contact-copy .connect-copy a {
  font-size: 11px;
  line-height: 1.45;
}

.connect-copy a {
  color: #1d63f2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.contact-copy .connect-copy a {
  gap: 5px;
  margin-top: 4px;
}

.contact-address {
  margin-top: 14px;
}

.office-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.office-list {
  display: grid;
  gap: 16px;
}

.office-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.56);
  border: 1px solid #e1ebf9;
  border-radius: 14px;
}

.office-card--compact {
  min-height: auto;
}

.office-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 99, 242, 0.08);
  border: 1px solid rgba(29, 99, 242, 0.15);
  color: #1d63f2;
  flex-shrink: 0;
}

.office-copy h3 {
  margin: 0 0 8px;
  color: #10275e;
  font-size: 17px;
}

.office-copy p {
  margin: 0;
  color: #536487;
  font-size: 13px;
  line-height: 1.6;
}

.map-panel {
  position: relative;
  min-height: 370px;
  background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
  border: 1px solid #dfeaf8;
  border-radius: 18px;
  overflow: hidden;
}

.map-globe {
  position: absolute;
  inset: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.0) 0 56%, rgba(76,147,242,0.12) 56.5%, rgba(76,147,242,0.1) 57%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #f7fbff, #edf5ff);
  border-radius: 50%;
  clip-path: circle(42% at 50% 50%);
  border: 1px solid rgba(24, 88, 196, 0.12);
}

.map-globe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 35%, transparent 0 42%, rgba(31,93,215,0.12) 42.5%, rgba(31,93,215,0.12) 43%, transparent 43.5%),
    radial-gradient(circle at 68% 50%, transparent 0 38%, rgba(31,93,215,0.12) 38.5%, rgba(31,93,215,0.12) 39%, transparent 39.5%),
    radial-gradient(circle at 50% 78%, transparent 0 36%, rgba(31,93,215,0.12) 36.5%, rgba(31,93,215,0.12) 37%, transparent 37.5%);
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #1d63f2;
  border: 3px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(29, 99, 242, 0.12);
}

.pin-1 { left: 46%; top: 33%; }
.pin-2 { right: 20%; bottom: 34%; }

.newsletter-box {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #edf5ff;
  border: 1px solid #dfeaf9;
  border-radius: 14px;
  padding: 18px 20px;
}

.newsletter-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.newsletter-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 99, 242, 0.08);
  color: #1d63f2;
  border: 1px solid rgba(29, 99, 242, 0.15);
}

.newsletter-copy h3 {
  margin: 0 0 4px;
  color: #10275e;
  font-size: 20px;
}

.newsletter-copy p {
  margin: 0;
  color: #536487;
  font-size: 13px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
}

.newsletter-form input {
  flex: 1;
}

@media (max-width: 1100px) {
  .contact-hero,
  .office-layout {
    grid-template-columns: 1fr;
  }

  .connect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .two-col,
  .response-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form {
    width: 100%;
  }

  .submit-btn {
    justify-self: stretch;
  }
}
