.contact-page { min-width: 0; background: var(--midnight-green); }
.contact-page .container { max-width: 1150px; }
.contact-page nav { gap: 80px; }
.contact-page nav > img { width: 160px; }
.contact-page .nav-links { gap: 40px; }
.contact-page .nav-links .nav-contact { width: 153px; height: 48px; padding: 8px 0; text-align: center; }
.header-contact { background: var(--midnight-green); padding-top: 73px; height: auto; }
#contact {
  position: relative;
  overflow: hidden;
  background: var(--midnight-green);
  color: var(--white);
  padding: 120px 0;
  min-height: 668px;
}
#contact::before, #contact::after {
  content: '';
  position: absolute;
  width: 100px;
  pointer-events: none;
}
#contact::before {
  top: 124px;
  left: 0;
  height: 200px;
  background: url('../assets/images/background/contact-left.svg') no-repeat center;
}
#contact::after {
  right: 0;
  bottom: 0;
  height: 225px;
  background: url('../assets/images/background/contact-right.svg') no-repeat center;
}
#contact > .container { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.contact-intro, .contact-form { flex: 1; min-width: 0; max-width: 540px; }
.contact-intro h1 { margin: 0 0 16px; line-height: 100px; }
.contact-intro h2 { font-size: 32px; line-height: 48px; color: var(--light-coral); margin: 0 0 32px; }
.contact-topics { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-topics li { display: flex; align-items: center; gap: 23px; font: 18px/28px 'Livvic Bold', sans-serif; }
.contact-topics img { width: 72px; height: 72px; flex-shrink: 0; }
.contact-form { font-family: 'Livvic SemiBold', sans-serif; }
.contact-form__field { position: relative; margin-bottom: 24px; }
.contact-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; padding: 0 14px 16px;
  background: transparent; border: 0; border-bottom: 1px solid var(--white);
  border-radius: 0; color: var(--white); font-family: inherit;
  font-size: 15px; line-height: 25px; outline: none; transition: border-color 0.2s;
}
.contact-form input { height: 42px; }
.contact-form textarea { height: 84px; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.6); opacity: 1; }
.contact-form input:hover, .contact-form input:focus, .contact-form textarea:hover, .contact-form textarea:focus { border-bottom-color: var(--light-coral); }
.contact-form .contact-form__field--error input, .contact-form .contact-form__field--error textarea { border-bottom-color: var(--light-coral); }
.contact-form__field--error input::placeholder, .contact-form__field--error textarea::placeholder { color: var(--light-coral); }
.contact-form__error { display: block; color: var(--light-coral); font-size: 10px; font-style: italic; padding: 4px 14px 0; }
.contact-form__error:empty, .contact-form__success:empty { display: none; }
.contact-form__submit { width: 123px; height: 48px; padding: 0; background: var(--white); color: var(--midnight-green); border: none; border-radius: 24px; font: 18px/28px 'Livvic SemiBold', sans-serif; cursor: pointer; transition: background-color 0.2s; }
.contact-form__submit:hover, .contact-form__submit:active, .contact-form__submit:focus-visible { background: var(--rapture-blue); }
.contact-form__submit:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.contact-form__success { color: var(--rapture-blue); font-size: 15px; }
@media (max-width: 1250px) {
  .contact-page .container { max-width: 100%; padding-inline: 100px; }
}
@media (max-width: 800px) {
  .contact-page .container { padding-inline: 24px; }
  .header-contact { padding-top: 40px; }
  .contact-page nav, .contact-page .nav-links { gap: 20px; flex-wrap: wrap; }
  .contact-page .nav-links .nav-contact { margin-left: auto; }
  #contact { padding: 80px 0; min-height: 0; }
  #contact > .container { flex-direction: column; align-items: center; gap: 48px; }
  #contact::before, #contact::after { display: none; }
  .contact-intro, .contact-form { width: 100%; }
  .contact-intro h1, .contact-intro h2 { text-align: center; }
}

@media (max-width: 767px) {
  .contact-page .container { padding-inline: 24px; }
  .contact-intro h1,
  .contact-intro h2 { text-align: center; }
  .contact-intro h1 { font-size: 40px; line-height: 40px; margin-bottom: 16px; }
  .contact-intro h2 { margin-bottom: 40px; }
  .contact-topics { gap: 24px; }
  .contact-topics li { min-width: 0; }
  .contact-topics li span {
    min-width: 0;
    text-wrap: wrap;
  }

  #contact {
    min-height: 1044px;
    padding: 80px 0 88px;
  }

  #contact::after {
    display: block;
    bottom: -112px;
  }

  #contact > .container {
    width: 100%;
    max-width: none;
    gap: 56px;
  }

  .contact-intro,
  .contact-form {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .contact-form__field {
    margin-bottom: 24px;
  }

  .contact-form input {
    height: 42px;
  }

  .contact-form textarea {
    height: 84px;
  }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
  }

  .contact-form input:hover,
  .contact-form input:focus,
  .contact-form input:active,
  .contact-form textarea:hover,
  .contact-form textarea:focus,
  .contact-form textarea:active {
    border-bottom-color: var(--rapture-blue);
  }

  .contact-form .contact-form__field--error input,
  .contact-form .contact-form__field--error textarea {
    border-bottom-color: var(--light-coral);
  }

  .contact-form__field--error input::placeholder,
  .contact-form__field--error textarea::placeholder {
    color: var(--light-coral);
  }

  .contact-form__submit {
    min-height: 48px;
  }

  .contact-form__success {
    min-height: 25px;
  }
}
.contact-page .site-footer > .container { max-width: 1150px; padding-inline: 20px; }

@media (max-width: 768px) {
  .contact-page .site-footer > .container { padding-inline: 0; }
}

/* Contact - Tab */
@media (min-width: 768px) and (max-width: 1024px) {
  .contact-page .site-nav .nav-links {
    flex: 1;
  }

  .contact-page .site-nav .nav-contact {
    margin-left: auto;
  }

  #contact {
    min-height: 0;
    padding: 112px 0;
  }

  #contact > .container {
    padding-inline: 40px;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .contact-intro,
  .contact-form {
    flex: none;
    width: 100%;
    max-width: 540px;
  }

  .contact-intro h1 {
    line-height: 56px;
    text-align: center;
  }

  .contact-intro h2 {
    text-align: center;
    margin-bottom: 24px;
  }

  .contact-form {
    margin-top: 64px;
  }

  .contact-form input:hover,
  .contact-form input:focus,
  .contact-form input:active,
  .contact-form textarea:hover,
  .contact-form textarea:focus,
  .contact-form textarea:active {
    border-bottom-color: var(--rapture-blue);
  }

  .contact-form .contact-form__field--error input,
  .contact-form .contact-form__field--error textarea {
    border-bottom-color: var(--light-coral);
  }

  #contact::before {
    display: block;
    top: 112px;
  }

  #contact::after {
    display: block;
  }
}
