body {
  background: var(--off);
}

site-header,
site-footer {
  display: block;
}

.contact-hero {
  position: relative;
  min-height: clamp(440px, 32vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(125px, 9vw, 165px) 0 clamp(50px, 4vw, 80px);
  background: url("../assets/Global assets/companyherobanner.png") center / 100% 100% no-repeat;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .contact-hero {
    min-height: clamp(380px, 28vw, 440px);
    padding-top: clamp(140px, 10.5vw, 175px);
    padding-bottom: clamp(55px, 4.5vw, 75px);
    background-size: 100% 100%;
    background-position: center center;
  }

  .contact-details > h2 {
    margin-bottom: clamp(20px, 2vw, 28px);
  }

  .contact-list-item {
    padding-bottom: clamp(18px, 1.8vw, 24px);
    margin-bottom: clamp(18px, 1.8vw, 24px);
  }

  .guided-form-note {
    margin-top: clamp(20px, 2vw, 28px);
    padding: clamp(18px, 1.8vw, 26px);
  }
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-hero .eyebrow {
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #d48700;
}

.contact-hero h1 {
  max-width: 1400px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  line-height: 1.03;
  text-wrap: balance;
}

.contact-hero-inner > p:last-child {
  max-width: 1120px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact-main {
  background: #fff;
}

.contact-main-grid {
  display: grid;
  gap: clamp(55px, 7vw, 125px);
  align-items: start;
}

.contact-details {
  padding-top: clamp(10px, 1.5vw, 25px);
}

.contact-details .eyebrow {
  color: #d48700;
}

.contact-details > h2 {
  margin-bottom: clamp(32px, 3.5vw, 54px);
  line-height: 1.03;
}

.contact-list {
  margin: 0;
  font-style: normal;
}

.contact-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 clamp(35px, 4vw, 55px);
  margin-bottom: clamp(35px, 4vw, 55px);
  border-bottom: 1px solid #d8d8d8;
}

.contact-list-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.contact-list-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ddb67e;
}

.contact-list-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.contact-list-item small,
.contact-email-list p span {
  display: block;
  margin-bottom: 5px;
  color: #aaa;
  font-size: clamp(1.25rem, 1.2vw, 1.25rem);
  font-weight: 300;
}

.contact-list-item p,
.contact-list-item a {
  margin: 0;
  color: #111;
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.45;
}

.contact-email-list {
  display: grid;
  gap: clamp(24px, 2.6vw, 38px);
}

.contact-email-list > small {
  margin-bottom: 0;
}

.contact-email-list p {
  display: grid;
  gap: 2px;
}

.contact-email-list a {
  overflow-wrap: anywhere;
}

.guided-form-note {
  margin: clamp(30px, 3vw, 50px) 0 0;
  padding: clamp(20px, 2.2vw, 32px);
  border-radius: 12px;
  background: #ffebca;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
}

.guided-form-note a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(6, 47, 85, 0.35);
  text-underline-offset: 3px;
}

.contact-form-panel {
  overflow: hidden;
  border-radius: clamp(28px, 3vw, 48px);
  background: #06365c;
  color: #fff;
  box-shadow: 0 28px 75px rgba(3, 35, 60, 0.13);
}

.contact-form-header {
  padding: clamp(34px, 3.8vw, 54px) clamp(28px, 4vw, 62px) clamp(28px, 3vw, 42px);
  background: #02182c;
}

.contact-form-header h2,
.contact-form-success h2 {
  margin-bottom: 8px;
  color: #d8b17c;
  font-size: clamp(2.2rem, 3.2vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
}

.contact-form-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
}

.contact-form {
  padding: clamp(35px, 4vw, 62px) clamp(28px, 4vw, 62px) clamp(42px, 4.5vw, 70px);
}

.contact-form-fields {
  display: grid;
  gap: clamp(24px, 2.4vw, 36px) clamp(20px, 2vw, 34px);
}

.contact-form-fields label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.contact-form-fields label > span:first-child:not(.contact-file-label) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
}

.contact-form-fields b {
  color: #e5b5bc;
}

.contact-form-fields input:not([type="checkbox"]):not([type="file"]),
.contact-form-fields select,
.contact-form-fields textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  outline: 0;
  background: #f5f5f5;
  color: #111;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-fields input:not([type="checkbox"]):not([type="file"]),
.contact-form-fields select {
  min-height: 58px;
  padding: 0 18px;
}

.contact-form-fields textarea {
  resize: vertical;
  min-height: 100px;
  padding: 16px 18px;
}

.contact-form-fields :is(input, select, textarea):focus {
  border-color: #dcb178;
  box-shadow: 0 0 0 4px rgba(220, 177, 120, 0.2);
}

.contact-file-field {
  position: relative;
}

.contact-file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-file-label {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px dashed #3489c6;
  border-radius: 10px;
  background: #f5f5f5;
  color: #999;
  text-align: center;
  cursor: pointer;
}

.contact-file-field:focus-within .contact-file-label {
  box-shadow: 0 0 0 4px rgba(220, 177, 120, 0.2);
}

.contact-consent {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #dcb178;
}

.contact-submit {
  display: block;
  min-width: min(100%, 290px);
  min-height: 64px;
  margin: clamp(28px, 3vw, 46px) auto 0;
  padding: 14px 34px;
  border: 0;
  border-radius: 999px;
  background: #dcb178;
  color: #052541;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
}

.contact-form-success {
  padding: clamp(80px, 8vw, 140px) clamp(30px, 6vw, 95px);
  text-align: center;
}

.contact-form-success p {
  max-width: 650px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  line-height: 1.5;
}

@media (min-width: 850px) {
  .contact-main-grid {
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  }

  .contact-form-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 849px) {
  .contact-main-grid {
    max-width: 850px;
  }

  .contact-details {
    order: 1;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 690px;
    padding-top: 145px;
    background-position: center;
  }

  .contact-hero h1 {
    line-height: 0.98;
  }

  .contact-hero h1 br {
    display: none;
  }
}

@media (max-width: 599px) {
  .contact-details > h2 {
    font-size: 3.45rem;
  }

  .contact-list-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .contact-list-icon {
    width: 46px;
    height: 46px;
  }

  .contact-list-item a {
    font-size: 1rem;
  }

  .contact-submit {
    width: 100%;
  }
}
