.contact-page {
  --contact-navy: #082744;
  --contact-navy-deep: #061f37;
  --contact-copy: #52677b;
  --contact-lime: #8cc63f;
  --contact-lime-dark: #557b25;
  --contact-cyan: #087f86;
  --contact-field: #f3f7ed;
  --contact-line: #d8e2e5;
  overflow: hidden;
  background: #ffffff;
  color: var(--contact-copy);
  font-family: "Nunito", sans-serif;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.contact-shell,
.contact-form-section__inner,
.contact-partners__inner,
.contact-newsletter__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
  color: var(--contact-navy);
  font-family: "Raleway", sans-serif;
  letter-spacing: 0;
}

.contact-kicker {
  margin: 0 0 18px;
  color: var(--contact-lime-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-page-hero {
  padding: calc(var(--esihlentu-header-offset, 100px) + 56px) 40px 96px;
  background: var(--contact-field);
}

.contact-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 88px;
}

.contact-page-hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
}

.contact-page-hero h1 strong {
  display: block;
  color: #70a02f;
  font-weight: inherit;
}

.contact-page-hero__lead {
  max-width: 54ch;
  margin: 28px 0 0;
  color: #304c65;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 2px solid var(--contact-navy);
  border-radius: 4px;
  background: var(--contact-navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-button:hover {
  border-color: var(--contact-navy-deep);
  background: var(--contact-navy-deep);
  color: #ffffff;
}

.contact-button--quiet {
  background: transparent;
  color: var(--contact-navy);
}

.contact-button--quiet:hover {
  background: var(--contact-navy);
  color: #ffffff;
}

.contact-page-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 6px;
  background: #e3e9e6;
}

.contact-page-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}

.contact-page-hero__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 16px;
  border-radius: 3px;
  background: rgba(8, 39, 68, 0.94);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-routes {
  padding: 0 40px;
  background: #ffffff;
}

.contact-routes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--contact-line);
}

.contact-routes article {
  min-width: 0;
  padding: 64px 38px 64px 0;
  border-right: 1px solid var(--contact-line);
}

.contact-routes article + article {
  padding-left: 38px;
}

.contact-routes article:last-child {
  padding-right: 0;
  border-right: 0;
}

.contact-routes span {
  display: block;
  margin-bottom: 16px;
  color: var(--contact-cyan);
  font-size: 13px;
  font-weight: 800;
}

.contact-routes h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-routes p {
  max-width: 34ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.contact-routes a,
.contact-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  color: var(--contact-cyan);
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-location {
  padding: 96px 40px;
  background: #ffffff;
}

.contact-location__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(520px, 1.24fr);
  align-items: center;
  gap: 72px;
}

.contact-location h2 {
  max-width: 470px;
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
}

.contact-location__copy > p:not(.contact-kicker) {
  max-width: 46ch;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.contact-location address {
  margin-top: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  color: var(--contact-navy);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.contact-location__map {
  min-height: 500px;
  overflow: hidden;
  border-radius: 6px;
  background: #dce5e1;
}

.contact-location__map iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
}

.contact-form-section {
  padding: 96px 40px;
  background: var(--contact-navy);
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(560px, 1.24fr);
  align-items: start;
  gap: 72px;
}

.contact-form-section__header {
  padding-top: 28px;
}

.contact-form-section .contact-kicker {
  color: #cce5aa;
}

.contact-form-section h2 {
  max-width: 430px;
  margin: 0;
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
}

.contact-form-section__header > p:last-child {
  max-width: 44ch;
  margin: 24px 0 0;
  color: #d5e0e7;
  font-size: 17px;
  line-height: 1.7;
}

.contact-form-card {
  padding: 38px;
  border-radius: 6px;
  background: #ffffff;
}

.contact-form-card .elementor-section,
.contact-form-card .elementor-container,
.contact-form-card .elementor-column,
.contact-form-card .elementor-widget-wrap,
.contact-form-card .elementor-widget-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.contact-clean-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.contact-clean-form__field {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  gap: 8px;
  color: var(--contact-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.contact-clean-form__field > span {
  color: var(--contact-cyan);
}

.contact-clean-form__field--wide,
.contact-clean-form__submit {
  grid-column: 1 / -1;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100% !important;
  border: 1px solid #b8c8d1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: var(--contact-navy) !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

.contact-form-card input {
  min-height: 52px !important;
  padding: 0 16px !important;
}

.contact-form-card textarea {
  min-height: 150px !important;
  padding: 14px 16px !important;
  resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder,
.contact-newsletter input::placeholder {
  color: #77899a;
  opacity: 1;
}

.contact-form-card button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 4px 0 0 !important;
  padding: 0 24px !important;
  border: 2px solid var(--contact-lime) !important;
  border-radius: 4px !important;
  background: var(--contact-lime) !important;
  color: var(--contact-navy-deep) !important;
  font-family: "Nunito", sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  cursor: pointer;
}

.contact-form-card button[type="submit"]:hover {
  border-color: #a3d365 !important;
  background: #a3d365 !important;
}

.contact-form-card button[type="submit"]:disabled,
.contact-newsletter button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-form-card .esihlentu-form-status {
  margin-top: 20px;
}

.contact-partners {
  padding: 84px 40px;
  background: #ffffff;
}

.contact-partners h2,
.contact-newsletter h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.contact-partners__logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 30px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--contact-line);
}

.contact-partners__logos img {
  width: 100%;
  max-width: 126px;
  max-height: 48px;
  margin-inline: auto;
  object-fit: contain;
}

.contact-newsletter {
  padding: 60px 40px;
  background: var(--contact-field);
}

.contact-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 0.9fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: 42px;
}

.contact-newsletter .contact-kicker {
  margin-bottom: 10px;
}

.contact-newsletter__inner > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.contact-newsletter .esihlentu-subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.contact-newsletter .esihlentu-subscribe-form input {
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #afc1ca;
  border-radius: 4px;
  background: #ffffff;
  color: var(--contact-navy);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
}

.contact-newsletter .esihlentu-subscribe-form button {
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--contact-navy);
  border-radius: 4px;
  background: var(--contact-navy);
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-page input:focus-visible,
.contact-page textarea:focus-visible,
.contact-page iframe:focus-visible {
  outline: 3px solid var(--contact-lime) !important;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .contact-page-hero__grid,
  .contact-location__grid,
  .contact-form-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-page-hero h1 {
    font-size: 54px;
  }

  .contact-page-hero__media {
    width: min(100%, 760px);
  }

  .contact-location__map,
  .contact-location__map iframe {
    min-height: 430px;
  }

  .contact-form-section__header {
    padding-top: 0;
  }

  .contact-newsletter__inner {
    grid-template-columns: minmax(240px, 0.8fr) minmax(380px, 1.2fr);
  }

  .contact-newsletter__inner > p {
    display: none;
  }
}

@media (max-width: 760px) {
  .contact-page-hero,
  .contact-location,
  .contact-form-section,
  .contact-partners,
  .contact-newsletter {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-page-hero {
    padding-top: calc(var(--esihlentu-header-offset, 88px) + 32px);
    padding-bottom: 64px;
  }

  .contact-page-hero h1 {
    font-size: 42px;
  }

  .contact-page-hero__lead {
    font-size: 17px;
  }

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

  .contact-button {
    width: 100%;
  }

  .contact-routes {
    padding: 0 20px;
  }

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

  .contact-routes article,
  .contact-routes article + article,
  .contact-routes article:last-child {
    padding: 44px 0;
    border-right: 0;
    border-bottom: 1px solid var(--contact-line);
  }

  .contact-routes article:last-child {
    border-bottom: 0;
  }

  .contact-location,
  .contact-form-section,
  .contact-partners {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-location h2,
  .contact-form-section h2 {
    font-size: 38px;
  }

  .contact-location__map,
  .contact-location__map iframe {
    min-height: 350px;
  }

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

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

  .contact-clean-form__field,
  .contact-clean-form__field--wide,
  .contact-clean-form__submit {
    grid-column: 1;
  }

  .contact-partners__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .contact-newsletter {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-newsletter .esihlentu-subscribe-form {
    grid-template-columns: 1fr;
  }

  .contact-newsletter .esihlentu-subscribe-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    transition: none !important;
  }
}
