/* ═══════════════════════════════════════════════
   CONTACT.CSS — AVNORE Contact Page
   ═══════════════════════════════════════════════ */

/* ── Page base ───────────────────────────────── */
.page-contact {
  background: var(--paper, #FAF8F4);
  overflow-x: hidden;
}

/* ── Navbar ──────────────────────────────────── */
.page-contact .navbar--white {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.page-contact .navbar--white.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12) !important;
}
.page-contact .navbar--white .navbar__links a     { color: #000 !important; }
.page-contact .navbar--white .nav-dropdown__trigger { color: #000 !important; }
.page-contact .navbar--white .navbar__logo-img    { filter: none !important; }
.page-contact .hamburger--black span              { background: #000 !important; }
.page-contact .navbar--white .cart-icon           { filter: brightness(0) !important; }
.page-contact .navbar--white .cart-badge          { background: #000; color: #fff; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 64px;
  background: var(--paper, #FAF8F4);
  padding-top: 180px;
}

.contact-hero__inner {
  max-width: 768px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contact-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.contact-hero__heading {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

.contact-hero__sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #000;
  margin: 0;
}

/* ══════════════════════════════════════════════
   CONTACT FORM SECTION
══════════════════════════════════════════════ */
.contact-section {
  padding: 112px 64px;
  background: var(--paper, #FAF8F4);
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

/* ── Left info column ────────────────────────── */
.contact-info {
  width: 600px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__heading {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

.contact-info__sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #000;
  margin: 0;
}

.contact-info__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.contact-info__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.contact-info__row span,
.contact-info__row a {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.contact-info__link {
  text-decoration: underline;
}

.contact-info__link:hover {
  opacity: 0.7;
}

/* ── Right form column ───────────────────────── */
.contact-form-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Two-column row (first + last name) */
.contact-form__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.contact-form__field--full {
  flex: none;
  width: 100%;
}

.contact-form__label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.contact-form__input {
  width: 100%;
  height: 48px;
  padding: 12px;
  border: 1px solid #000;
  background: var(--paper, #FAF8F4);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #000;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form__input:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}
/* I11: Error state — applied via JS when validation fails */
.contact-form__input--error,
.contact-form__input[aria-invalid="true"] {
  border-color: #c0303b;
  box-shadow: 0 0 0 2px rgba(192,48,59,0.15);
}

/* Radio group */
.contact-form__radio-label input[type="radio"] {
  display: none;
}

/* Textarea */
.contact-form__textarea {
  width: 100%;
  min-height: 140px;
  height: auto;
  padding: 12px;
  border: 1px solid #000;
  background: var(--paper, #FAF8F4) !important;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #000;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form__textarea::placeholder {
  color: rgba(0,0,0,0.6);
}

.contact-form__textarea:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Checkbox */
.contact-form__checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 150%;
  color: #000;
  padding-bottom: 16px;
  user-select: none;
}

.contact-form__checkbox {
  display: none;
}

.contact-form__checkbox-box {
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  flex-shrink: 0;
  background: var(--paper, #FAF8F4);
  position: relative;
  transition: background 0.15s;
}

.contact-form__checkbox:checked + .contact-form__checkbox-box {
  background: #000;
}

.contact-form__checkbox:checked + .contact-form__checkbox-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Submit button */
.contact-form__submit {
  align-self: flex-start;
  padding: 12px 24px;
  min-width: 84px;
}

/* ══════════════════════════════════════════════
   TABLET  700–1099px
══════════════════════════════════════════════ */
@media (max-width: 1099px) {

  .contact-hero {
    padding: 160px 40px 80px;
  }

  .contact-hero__heading {
    font-size: 42px;
  }

  .contact-section {
    padding: 80px 40px;
  }

  .contact-container {
    flex-direction: column;
    gap: 64px;
  }

  .contact-info {
    width: 100%;
  }

}

/* ══════════════════════════════════════════════
   MOBILE  ≤699px
══════════════════════════════════════════════ */
@media (max-width: 699px) {

  .contact-hero {
    padding: 140px 20px 64px;
  }

  .contact-hero__heading {
    font-size: 32px;
  }

  .contact-hero__sub {
    font-size: 16px;
  }

  .contact-hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .contact-section {
    padding: 64px 20px;
  }

  .contact-info__heading {
    font-size: 32px;
  }

  .contact-form__row {
    flex-direction: column;
    gap: 24px;
  }

  .contact-form__submit {
    width: 100%;
  }

}