/* Contact Page */

.contact-main {
  min-height: 100vh;
  padding-top: var(--header-height);
}

.contact-hero {
  min-height: 360px;
  padding: 88px 24px 72px;
  display: flex;
  align-items: center;
  color: var(--cream);
  background:
    linear-gradient(rgba(48, 42, 39, 0.52), rgba(48, 42, 39, 0.7));
}

.contact-hero-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.contact-hero h1,
.contact-card h2 {
  margin: 0;
  font-family: "BBH Bartle", serif;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 9vw, 7rem);
}

.contact-hero p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.contact-section {
  padding: 76px 24px 96px;
  background: var(--cream);
}

.contact-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 248, 232, 0.58);
  border: 1px solid rgba(96, 74, 54, 0.18);
  box-shadow: 0 22px 60px rgba(48, 42, 39, 0.12);
}

.contact-card-copy {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-card h2 {
  color: var(--coffee);
  font-size: clamp(2.1rem, 6vw, 4.5rem);
}

.contact-card-copy p:last-child {
  margin: 18px 0 0;
  color: var(--black);
  line-height: 1.6;
}

.contact-card .contact-kicker {
  width: 100%;
  margin: 0 auto 12px;
  color: var(--coffee);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  text-align: center;
}

.contact-card .contact-kicker::before,
.contact-card .contact-kicker::after {
  content: "";
  width: clamp(38px, 8vw, 90px);
  border-top: 1px solid currentColor;
  background: transparent;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form label em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.75;
}

.contact-form .checkbox-label {
  width: 100%;
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  padding: 12px 0;
  color: var(--coffee) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.contact-form .checkbox-label input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--coffee);
}

.contact-form .checkbox-label span {
  display: block;
  min-width: 0;
  color: var(--coffee);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(96, 74, 54, 0.28);
  border-radius: 0;
  color: var(--black);
  background: #fffaf0;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coffee);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(96, 74, 54, 0.13);
}

.contact-form button {
  justify-self: center;
  padding: 15px 24px;
  border: 0;
  color: var(--cream);
  background: var(--coffee);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  opacity: 0.86;
  transform: translateY(-1px);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.contact-fallback {
  margin: 26px 0 0;
  color: var(--black);
  text-align: center;
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 300px;
    padding: 48px 18px 52px;
  }

  .contact-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }

  .contact-hero p:last-child {
    font-size: 1rem;
    line-height: 1.55;
  }

  .contact-section {
    padding: 42px 16px 64px;
  }

  .contact-card {
    width: 100%;
    padding: 28px 18px;
  }

  .contact-card-copy {
    max-width: 100%;
  }

  .contact-card h2 {
    max-width: 100%;
    font-size: clamp(1.55rem, 8.8vw, 2.7rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }

  .contact-card-copy p:last-child {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .contact-hero h1 {
    font-size: clamp(1.75rem, 9.4vw, 2.8rem);
  }

  .contact-card h2 {
    font-size: clamp(1.45rem, 8.2vw, 2.35rem);
  }
}

@media (max-width: 380px) {
  .contact-card {
    padding: 24px 14px;
  }

  .contact-card h2 {
    font-size: clamp(1.35rem, 7.8vw, 2.1rem);
  }
}

