/* =========================================
   DABBIES CONTACTS
========================================= */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background: #ffffff;

  color: #111111;

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}


/* =========================================
   HEADER
========================================= */

.contacts-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding:
    24px 5vw;

  border-bottom:
    1px solid #eeeeee;
}


.contacts-brand {
  color: #111111;

  text-decoration: none;

  font-size: 20px;

  font-weight: 700;

  letter-spacing: -0.04em;
}


.contacts-nav {
  display: flex;

  align-items: center;

  gap: 28px;
}


.contacts-nav a {
  color: #666666;

  text-decoration: none;

  font-size: 13px;

  transition:
    color 0.2s ease;
}


.contacts-nav a:hover,
.contacts-nav a.active {
  color: #111111;
}


/* =========================================
   MAIN
========================================= */

.contacts-main {
  max-width: 1180px;

  margin: 0 auto;

  padding:
    110px 5vw
    130px;
}


/* =========================================
   HERO
========================================= */

.contacts-hero {
  max-width: 760px;

  margin-bottom: 80px;
}


.contacts-eyebrow {
  display: block;

  margin-bottom: 22px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.14em;

  color: #777777;
}


.contacts-hero h1 {
  margin: 0;

  font-size: clamp(
    56px,
    9vw,
    110px
  );

  line-height: 0.92;

  letter-spacing: -0.07em;
}


.contacts-hero p {
  max-width: 620px;

  margin-top: 32px;

  font-size: 18px;

  line-height: 1.7;

  color: #666666;
}


/* =========================================
   CONTACT LAYOUT
========================================= */

.contacts-layout {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 90px;

  align-items: start;
}


/* =========================================
   INFORMATION
========================================= */

.contacts-info h2 {
  margin: 0 0 18px;

  font-size: 28px;

  letter-spacing: -0.04em;
}


.contacts-info p {
  max-width: 390px;

  margin: 0;

  font-size: 15px;

  line-height: 1.7;

  color: #666666;
}


.contact-note {
  margin-top: 45px;

  padding-top: 25px;

  border-top:
    1px solid #eeeeee;

  font-size: 13px;

  line-height: 1.6;

  color: #777777;
}


/* =========================================
   FORM
========================================= */

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 24px;
}


.form-field {
  display: flex;

  flex-direction: column;

  gap: 9px;
}


.form-field label {
  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.05em;

  color: #333333;
}


.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  border:
    1px solid #dddddd;

  background: #ffffff;

  color: #111111;

  padding:
    15px 16px;

  border-radius: 0;

  outline: none;

  font: inherit;

  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #111111;

  box-shadow:
    0 0 0 1px #111111;
}


.form-field textarea {
  min-height: 190px;

  resize: vertical;

  line-height: 1.6;
}


/* =========================================
   ERROR
========================================= */

.form-error {
  min-height: 16px;

  margin: 0;

  font-size: 12px;

  color: #b00020;
}


/* =========================================
   SUBMIT
========================================= */

.contact-submit {
  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  padding:
    17px 20px;

  border:
    1px solid #111111;

  background: #111111;

  color: #ffffff;

  cursor: pointer;

  font: inherit;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.03em;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}


.contact-submit:hover {
  background: #ffffff;

  color: #111111;
}


.contact-submit:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}


/* =========================================
   SUCCESS
========================================= */

.contact-success {
  display: none;

  padding: 40px;

  border:
    1px solid #eeeeee;
}


.contact-success.visible {
  display: block;
}


.contact-success h2 {
  margin: 0 0 12px;

  font-size: 30px;

  letter-spacing: -0.04em;
}


.contact-success p {
  margin: 0;

  color: #666666;

  line-height: 1.7;
}


/* =========================================
   FOOTER
========================================= */

.contacts-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    30px 5vw;

  border-top:
    1px solid #eeeeee;

  color: #777777;

  font-size: 12px;
}


.contacts-footer div {
  display: flex;

  gap: 20px;
}


.contacts-footer a {
  color: #777777;

  text-decoration: none;
}


.contacts-footer a:hover {
  color: #111111;
}


/* =========================================
   MOBILE
========================================= */

@media (
  max-width: 760px
) {

  .contacts-header {
    padding:
      20px 5vw;
  }


  .contacts-nav {
    gap: 15px;
  }


  .contacts-nav a {
    font-size: 11px;
  }


  .contacts-main {
    padding:
      75px 5vw
      90px;
  }


  .contacts-hero {
    margin-bottom: 60px;
  }


  .contacts-hero h1 {
    font-size: 58px;
  }


  .contacts-hero p {
    font-size: 16px;
  }


  .contacts-layout {
    grid-template-columns: 1fr;

    gap: 55px;
  }


  .contacts-footer {
    align-items: flex-start;

    flex-direction: column;
  }

}