.contact-section {
  padding-bottom: 48px;
}

.contact-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  gap: 22px;
  margin-top: 28px;
  margin-bottom: 28px;
}

.contact-hero-panel_main,
.contact-hero-panel_side {
  min-width: 0;
}

.contact-page_copy,
.contact-action-card {
  height: 100%;
  padding: 24px 26px;
  border-radius: 22px;
  background: #fffdf8;
  border: 1px solid rgba(109, 92, 58, 0.08);
  box-shadow: 0 16px 32px rgba(17, 40, 33, 0.05);
}

.contact-page_copy p:last-child {
  margin-bottom: 0;
}

.contact-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #12372e 0, #1d5447 100%);
  color: #eef3eb;
}

.contact-action-card_label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f0ddb0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-action-card h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.contact-action-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.contact-action-card_links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-action-card_links .cbt-cta-button {
  min-width: 148px;
  text-align: center;
}

.contact-action-card_links .cbt-cta-button--secondary {
  background: #fffdf8;
  color: #12372e !important;
}

.contact-action-card_links .cbt-cta-button:not(.cbt-cta-button--secondary) {
  background: linear-gradient(135deg, #e4c98d 0, #d3af61 100%);
  color: #14304a !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(109, 92, 58, 0.08);
  box-shadow: 0 0 10px 0 #ccc;
  transition: all .3s;
  text-align: left;
  min-height: 108px;
}

.contact-card:first-child {
  position: relative;
  background: linear-gradient(135deg, #fffdf8 0, #f6eedc 100%);
  border-color: rgba(197, 166, 106, 0.18) !important;
}

.contact-card:last-child {
  grid-column: 1 / -1;
  align-items: flex-start;
  min-height: 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fffdf8 0, #f7f0e1 100%);
}

.contact-card:hover {
  color: #056ede;
  transform: translateY(-4px);
}

.contact-card_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3e3bd 0, #e4c98d 100%);
  color: #14304a;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(109, 92, 58, 0.12);
}

.contact-card:first-child .contact-card_icon {
  background: linear-gradient(135deg, #1f6a57 0, #184b3e 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 40, 33, 0.18);
}

.contact-card:last-child::before {
  content: "";
  display: block;
  align-self: stretch;
  flex: 0 0 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9b872 0, #1f6a57 100%);
  box-shadow: 0 8px 18px rgba(109, 92, 58, 0.16);
}

.contact-card:last-child .contact-card_icon {
  flex-basis: 60px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 24px;
}

.contact-card_body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-card:last-child .contact-card_body {
  gap: 8px;
}

.contact-card h2 {
  margin: 0;
  font-size: 17px;
  color: #14304a;
}

.contact-card:first-child h2 {
  color: #14304a !important;
}

.contact-card:last-child h2 {
  font-size: 19px;
  letter-spacing: .01em;
}

.contact-card_body p,
.contact-card p,
.contact-card_body a,
.contact-card p a {
  margin: 0;
  color: #555;
  word-break: break-word;
}

.contact-card p {
  line-height: 1.65;
}

.contact-card:first-child p {
  color: #4e5f5a;
}

.contact-card:last-child p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 80ch;
}

.contact-card p a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .22s ease, border-color .22s ease, opacity .22s ease;
}

.contact-card p a:hover {
  color: var(--theme-green) !important;
  border-color: rgba(197, 166, 106, 0.55);
  opacity: .92;
}

.contact-form-note-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-form-note-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.contact-form-note-list li + li {
  margin-top: 8px;
}

.contact-form-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d9b872;
}

@media (max-width: 991px) {
  .contact-hero-panel {
    grid-template-columns: 1fr;
  }

  .contact-page_copy,
  .contact-action-card {
    padding: 20px;
    border-radius: 20px;
  }

  .contact-action-card h2 {
    font-size: 22px;
  }

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

  .contact-card {
    gap: 14px;
    padding: 16px;
    min-height: 0;
  }

  .contact-card:last-child {
    grid-column: auto;
    padding: 18px;
  }

  .contact-card:last-child::before {
    flex-basis: 3px;
    width: 3px;
  }

  .contact-card_icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .contact-card:last-child .contact-card_icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .contact-card h2 {
    font-size: 16px;
  }

  .contact-card:last-child h2 {
    font-size: 17px;
  }

  .contact-card:last-child p {
    font-size: 14px;
    line-height: 1.7;
    max-width: none;
  }
}

@media (max-width: 575px) {
  .contact-page_copy,
  .contact-action-card {
    padding: 18px;
    border-radius: 18px;
  }

  .contact-action-card_links {
    flex-direction: column;
  }

  .contact-action-card_links .cbt-cta-button {
    width: 100%;
  }

  .contact-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .contact-section {
    padding-bottom: 24px;
  }

  .contact-hero-panel {
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .contact-page_copy,
  .contact-action-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .contact-page_copy p,
  .contact-action-card p {
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-action-card_label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .contact-action-card h2 {
    font-size: 20px;
    line-height: 1.28;
  }

  .contact-action-card_links {
    flex-direction: column;
  }

  .contact-action-card_links .cbt-cta-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .contact-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .contact-card,
  .contact-card:last-child {
    padding: 16px;
    border-radius: 16px;
  }

  .contact-card {
    align-items: flex-start;
    gap: 12px;
  }

  .contact-card_icon,
  .contact-card:last-child .contact-card_icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
  }

  .contact-card h2,
  .contact-card:last-child h2 {
    font-size: 15px;
    line-height: 1.35;
  }

  .contact-card p,
  .contact-card:last-child p,
  .contact-card_body a {
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-form-note-list {
    margin-top: 14px;
  }

  .contact-form-note-list li {
    padding-left: 16px;
    font-size: 13px;
    line-height: 1.75;
  }
}
