.contact-main {
  background: #f5f7fa;
  color: var(--navy);
}

.contact-hero {
  padding-bottom: 64px;
  border-bottom: 4px solid var(--yellow);
  background: #0b2349;
  color: #fff;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 64px;
  align-items: center;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.03;
}

.contact-hero p {
  max-width: 720px;
  margin-top: 24px;
  color: #d5dfec;
  font-size: 18px;
  line-height: 1.7;
}

.contact-hero-visual {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border: 1px solid #496685;
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  background: #102c57;
}

.contact-hero-visual > i:first-child {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--orange);
  font-size: 23px;
}

.contact-hero-visual > i:last-child { color: var(--yellow); }
.contact-hero-visual b,
.contact-hero-visual small { display: block; }
.contact-hero-visual b { color: #fff; font-size: 16px; }
.contact-hero-visual small { margin-top: 5px; color: #c4d1e0; font-size: 13px; }

.contact-content { padding: var(--section-space) 0; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  gap: 64px;
  align-items: start;
}

.contact-copy { position: sticky; top: 145px; }
.contact-copy h2 { max-width: 520px; }
.contact-copy > p { max-width: 530px; margin-top: 18px; font-size: 16px; line-height: 1.75; }

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-methods > * {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce3eb;
  border-radius: 9px;
  background: #fff;
}

.contact-methods > a:hover { border-color: var(--orange); }
.contact-methods i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #fff0eb; color: var(--orange); }
.contact-methods small,
.contact-methods b { display: block; overflow-wrap: anywhere; }
.contact-methods small { color: #65758a; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.contact-methods b { margin-top: 3px; font-size: 14px; line-height: 1.45; }

.contact-form-panel {
  padding: 36px;
  border: 1px solid #dce3eb;
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  background: #fff;
}

.contact-success {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid #b9dfd2;
  border-radius: 9px;
  background: #f0faf6;
}

.contact-success > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #14876b; font-size: 19px; }
.contact-success h2 { font-size: 22px; }
.contact-success p { margin-top: 5px; font-size: 14px; line-height: 1.55; }

.contact-form-error {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  padding: 15px 17px;
  border-left: 4px solid #c83f28;
  border-radius: 7px;
  background: #fff1ee;
  color: #842817;
  font-size: 14px;
  font-weight: 700;
}

.contact-form { display: grid; gap: 21px; }
.contact-field { display: grid; gap: 8px; }
.contact-field label { color: #102542; font-size: 14px; font-weight: 800; }
.contact-field label span { color: var(--orange); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #bcc9d7;
  border-radius: 8px;
  background: #fff;
  color: #102542;
  font: inherit;
  font-size: 16px;
}
.contact-field input,
.contact-field select { min-height: 50px; padding: 0 14px; }
.contact-field textarea { min-height: 170px; padding: 13px 14px; resize: vertical; line-height: 1.6; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: #0a6687; outline: 3px solid rgba(10, 102, 135, .16); }
.contact-field > small { color: #68778a; font-size: 12.5px; }
.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea { border-color: #c83f28; }
.contact-field.has-error > small,
.contact-field .field-error { color: #a83220; font-weight: 700; }

.contact-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.contact-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #075d7b; }
.contact-consent label { color: #4c5c70; font-size: 13.5px; line-height: 1.6; }
.contact-consent a { color: #075d7b; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.contact-consent small { grid-column: 2; color: #a83220; font-size: 12.5px; font-weight: 700; }

.contact-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}
.contact-submit:hover { background: var(--gyg-orange-dark); }
.contact-form-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #68778a; font-size: 12.5px; text-align: center; }
.contact-form-note i { color: #14876b; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .contact-hero-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-copy { position: static; }
}

@media (max-width: 560px) {
  .contact-hero { padding-bottom: 46px; }
  .contact-hero h1 { font-size: 39px; }
  .contact-hero p { font-size: 16px; }
  .contact-hero-visual { grid-template-columns: 50px minmax(0, 1fr); padding: 22px; }
  .contact-hero-visual > i:first-child { width: 50px; height: 50px; }
  .contact-hero-visual > i:last-child { display: none; }
  .contact-content { padding: 58px 0 78px; }
  .contact-form-panel { padding: 25px 20px; }
}
