/* GX contacts page */

:root {
  --gx-navy: #000000;
  --gx-red: #e60000;
  --gx-red-hover: #c40000;
  --gx-text: #1a1a1a;
  --gx-muted: #6b7280;
  --gx-line: #e6ebf0;
  --gx-soft: #f3f5f8;
  --gx-radius: 10px;
}

.gx-contacts,
.gx-contacts * {
  box-sizing: border-box;
  word-break: normal !important;
}

.gx-contacts {
  font-family: 'Open Sans', 'Roboto', 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gx-text);
  background: #fff;
  padding-top: 0;
}

.gx-contacts input,
.gx-contacts button,
.gx-contacts textarea,
.gx-contacts select {
  font-family: inherit;
}

.gx-contacts h1,
.gx-contacts h2,
.gx-contacts h3 {
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif !important;
}

#c_navigation_0061635239687823 .e_navigationF-38 .p_navItem1.current .p_navCon {
  box-shadow: inset 0 -3px 0 var(--gx-red);
}

.gx-contacts-band {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  overflow: hidden;
  background: #ebebeb;
  color: var(--gx-text);
}

.gx-contacts-band__shell {
  padding-top: 28px;
  padding-bottom: 36px;
}

.gx-contacts-band__inner {
  max-width: none;
  margin: 0;
  padding: 0;
}

.gx-contacts-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: none;
}

.gx-contacts-kicker {
  margin: 0 0 clamp(8px, 6px + 0.3vw, 10px);
  font-size: clamp(10px, 0.62rem + 0.22vw, 12px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gx-navy);
}

.gx-contacts-kicker::after {
  content: '';
  display: block;
  width: clamp(32px, 24px + 1vw, 40px);
  height: 3px;
  margin-top: clamp(8px, 6px + 0.3vw, 10px);
  background: var(--gx-red);
}

.gx-contacts-band h1 {
  margin: 0 0 clamp(8px, 6px + 0.4vw, 12px);
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif !important;
  font-size: clamp(1.3rem, 0.95rem + 1.9vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gx-navy) !important;
  text-align: left;
}

.gx-contacts-band__copy > p:last-of-type {
  margin: 0;
  max-width: none;
  font-size: clamp(14px, 12px + 0.35vw, 16px);
  line-height: 1.55;
  color: #4b5563;
}

.gx-contacts-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}

.gx-contacts-quick a,
.gx-contacts-quick__card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 96px;
  padding: 20px 22px;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gx-contacts-quick a:hover,
.gx-contacts-quick__card:hover {
  border-color: rgba(230, 0, 0, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.gx-contacts-quick__icon {
  flex: 0 0 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.gx-contacts-quick__icon img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.gx-contacts-quick__content {
  min-width: 0;
  flex: 1;
}

.gx-contacts-quick__label,
.gx-contacts-quick span.gx-contacts-quick__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gx-red);
}

.gx-contacts-quick strong {
  display: block;
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.25;
  color: var(--gx-navy);
  overflow-wrap: anywhere;
}

.gx-contacts-quick em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gx-muted);
}

.gx-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}

.gx-office {
  overflow: hidden;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius);
  background: #ebebeb;
}

.gx-office__head {
  padding: 18px 22px;
  background: var(--gx-red);
  color: #fff;
}

.gx-office__head span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.gx-office__head h2 {
  margin: 0;
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif !important;
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  line-height: 1.25;
  color: #fff !important;
  overflow-wrap: anywhere;
}

.gx-office__body {
  padding: 20px 22px 8px;
}

.gx-office dl {
  margin: 0;
}

.gx-office dl > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 4px 8px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gx-line);
}

.gx-office dl > div:last-child {
  border-bottom: 0;
}

.gx-office dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gx-muted);
  text-align: left;
}

.gx-office dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gx-text);
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: none;
}

.gx-office a {
  color: var(--gx-navy);
  text-decoration: none;
  font-weight: 600;
}

.gx-office a:hover {
  color: var(--gx-red);
}

.gx-office__map {
  height: 220px;
  background: var(--gx-soft);
}

.gx-office__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gx-contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
  min-width: 0;
}

.gx-contacts-main {
  min-width: 0;
}

.gx-contacts-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 72px;
}

.gx-contacts-note h2 {
  margin: 0 0 12px;
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif !important;
  font-size: 1.25rem;
  color: var(--gx-navy);
}

.gx-contacts-form h2 {
  margin: 0 0 10px;
  font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif !important;
  font-size: 1.05rem;
  color: #6b7280;
}

.gx-contacts-note p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gx-muted);
}

.gx-contacts-note ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gx-text);
  font-size: 15px;
  line-height: 1.65;
}

.gx-contacts-note li {
  margin: 0 0 8px;
}

.gx-contacts-note a {
  color: var(--gx-navy);
  font-weight: 600;
  text-decoration: none;
}

.gx-contacts-note a:hover {
  color: var(--gx-red);
}

.gx-contacts-form {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 16px 14px 14px;
  background: #ebebeb !important;
  border-radius: var(--gx-radius);
}

.gx-contacts-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.gx-contacts-form label {
  display: block;
  margin: 0 0 8px;
}

.gx-contacts-form span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gx-navy);
}

.gx-contacts-form input,
.gx-contacts-form textarea,
.gx-contacts-form select {
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--gx-line);
  border-radius: 5px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--gx-navy);
  outline: none;
}

.gx-contacts-form textarea {
  height: auto;
  min-height: 72px;
  padding: 8px 10px;
  resize: vertical;
}

.gx-contacts-form input:focus,
.gx-contacts-form textarea:focus,
.gx-contacts-form select:focus {
  border-color: var(--gx-navy);
}

.gx-contacts-form button {
  width: 100%;
  margin-top: 2px;
  padding: 9px 14px;
  border: 0;
  border-radius: 5px;
  background: var(--gx-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.gx-contacts-form button:hover {
  background: var(--gx-red-hover);
}

.gx-contacts-form__ok {
  display: none;
  margin: 0;
  padding: 8px 10px;
  background: #e8f5ec;
  color: #1c6b3a;
  font-size: 13px;
  border-radius: 5px;
}

.gx-contacts-form__ok.is-visible {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 1180px) {
  .gx-contacts-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 48px;
  }

  .gx-contacts-form {
    position: static;
    max-height: none;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .gx-contacts-quick {
    gap: 16px;
    margin: 0 0 24px;
  }

  .gx-contacts-quick a,
  .gx-contacts-quick__card {
    padding: 18px 16px;
    gap: 16px;
  }

  .gx-contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 20px;
  }
}

@media (max-width: 900px) {
  .gx-contacts-quick {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 20px;
  }

  .gx-contacts-quick a,
  .gx-contacts-quick__card {
    min-height: 0;
    padding: 16px 18px;
  }

  .gx-contacts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gx-contacts-form {
    max-width: none;
    margin: 0;
  }

  .gx-contacts-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .gx-contacts {
    font-size: 14px;
  }

  .gx-contacts-band {
    margin: 0 0 16px;
  }

  .gx-contacts-band__shell {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .gx-contacts-band h1 {
    font-size: 1.4rem;
  }

  .gx-contacts-band__copy > p:last-of-type {
    font-size: 13px;
    line-height: 1.4;
  }

  .gx-contacts-band__copy > p:last-of-type br {
    display: none;
  }

  .gx-contacts-layout {
    gap: 16px;
    padding-bottom: 32px;
  }

  .gx-contacts-quick {
    margin: 0 0 16px;
  }

  .gx-contacts-quick a,
  .gx-contacts-quick__card {
    padding: 12px 14px;
  }

  .gx-contacts-quick em {
    font-size: 12px;
  }

  .gx-contacts-grid {
    margin: 0 0 16px;
  }

  .gx-office__head {
    padding: 12px 14px;
  }

  .gx-office__body {
    padding: 12px 14px 6px;
  }

  .gx-office dl > div {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 4px 6px;
    padding: 8px 0;
  }

  .gx-office dd {
    font-size: 13px;
  }

  .gx-office__map {
    height: 160px;
  }

  .gx-contacts-note h2 {
    font-size: 1.1rem;
  }

  .gx-contacts-note p {
    font-size: 13px;
    line-height: 1.45;
  }

  .gx-contacts-form {
    padding: 12px;
  }

  .gx-contacts-form h2 {
    font-size: 1rem;
  }

  .gx-contacts-form input,
  .gx-contacts-form textarea,
  .gx-contacts-form select {
    height: 34px;
    font-size: 13px;
  }

  .gx-contacts-form textarea {
    min-height: 64px;
  }
}

@media (max-width: 480px) {
  .gx-contacts-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gx-office dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .gx-office__map {
    height: 140px;
  }
}
