body {
  margin: 0;
  background: #f4f7f6;
  color: #172522;
  font-family: Montserrat, Arial, sans-serif;
}

main {
  overflow: hidden;
}

.contact-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  padding: calc(var(--site-header-space) + 3rem) 0 6rem;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 14, 23, .97) 0%, rgba(5, 14, 23, .78) 48%, rgba(5, 14, 23, .18) 100%),
    url('/assets/img/szbe_wide-scaled.jpg') center right / cover no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 14, 23, .94) 0%, transparent 42%);
}

.contact-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: #ebc179;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-title {
  max-width: 800px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .94;
}

.contact-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.contact-section {
  position: relative;
  z-index: 2;
  margin-top: -4rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.message-form-shell {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(37, 91, 87, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 36, 34, .12);
}

.message-form .form-label {
  color: #243835;
  font-size: .86rem;
  font-weight: 900;
}

.message-form .form-control {
  border: 1px solid #d6e0de;
  border-radius: 8px;
  color: #172522;
  font-weight: 700;
}

.message-form .form-control:focus {
  border-color: #255b57;
  box-shadow: 0 0 0 .2rem rgba(37, 91, 87, .14);
}

.message-form textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.25rem;
  border: 0;
  border-radius: 8px;
  padding: .85rem 1.2rem;
  background: #255b57;
  color: #fff;
  font-weight: 900;
}

.btn-send:hover,
.btn-send:focus {
  background: #10221f;
  color: #fff;
}

.contact-alert {
  margin-bottom: 1.25rem;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-weight: 700;
}

.contact-alert-success {
  border: 1px solid rgba(37, 91, 87, .2);
  background: #e9f5f0;
  color: #17433e;
}

.contact-alert-error {
  border: 1px solid rgba(166, 52, 52, .2);
  background: #fff0f0;
  color: #7a2525;
}

.contact-alert strong {
  display: block;
  margin-bottom: .4rem;
}

.contact-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  height: auto;
  padding: 1.35rem;
  border: 1px solid rgba(37, 91, 87, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(20, 36, 34, .08);
}

.contact-card-dark {
  background: #10221f;
  color: #fff;
}

.contact-icon {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: .2rem;
  color: #255b57;
  font-size: 1.65rem;
}

.contact-card-dark .contact-icon {
  color: #ebc179;
}

.contact-card h2 {
  margin: 0 0 .45rem;
  color: #255b57;
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-card-dark h2 {
  color: #fff;
}

.contact-card p {
  margin: 0 0 .8rem;
  color: #5d6a68;
  font-size: .95rem;
  line-height: 1.7;
}

.contact-card-dark p {
  color: rgba(255, 255, 255, .76);
}

.contact-card a {
  color: #10221f;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(235, 193, 121, .9);
  text-decoration-thickness: .18rem;
  text-underline-offset: .22rem;
}

.contact-card-dark a {
  color: #ebc179;
}

.visit-section {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 8px;
  background: #10221f;
  color: #fff;
}

.visit-panel h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1.04;
}

.visit-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 991.98px) {
  .visit-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    min-height: 66vh;
    padding-top: calc(var(--site-header-space, 86px) + 2rem);
    padding-bottom: 5.5rem;
    background:
      linear-gradient(180deg, rgba(5, 14, 23, .34) 0%, rgba(5, 14, 23, .9) 56%, #07111f 100%),
      url('/assets/img/szbe_wide-scaled.jpg') 62% center / cover no-repeat;
  }

  .message-form-shell,
  .contact-card,
  .visit-panel {
    padding: 1.25rem;
  }

  .contact-card {
    flex-direction: column;
  }

  .btn-send {
    width: 100%;
  }
}
