/* ───────────────────────────────────────────────────────────────────────────
   Ann&Palm — Contact Us page (/contact-us/)
   Loads after styles.css + destination.css (hero/nav/footer reused from there).
   Page-specific layout only.
   ───────────────────────────────────────────────────────────────────────── */

/* Hero: slightly shorter than destination heroes, italic accent in title */
.dest-hero--contact {
  height: min(62vh, 620px);
  min-height: 440px;
}
.dest-hero--contact .dest-hero-title {
  font-size: clamp(42px, 5.4vw, 84px);
}
.dest-hero--contact .dest-hero-title em {
  font-style: italic;
  font-weight: 400;
}

/* ───────────────────────────────────────────────────────────────────────────
   MAIN — form (left) + contact panel (right)
   ───────────────────────────────────────────────────────────────────────── */

.contact-main {
  background: var(--ivory);
  padding: 96px 64px 110px;
}
.contact-main-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

/* ── Form column ─────────────────────────────────────────────────────────── */

.contact-form-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.contact-form-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.contact-form-sub {
  margin: 16px 0 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}

.contact-form {
  margin-top: 44px;
}
.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 36px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-field--full {
  grid-column: 1 / -1;
}
.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 19, 34, 0.55);
  margin-bottom: 8px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-field textarea {
  resize: vertical;
  min-height: 96px;
}
.contact-field input:hover,
.contact-field textarea:hover {
  border-bottom-color: rgba(14, 19, 34, 0.34);
}
.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}
.contact-field input.is-invalid,
.contact-field textarea.is-invalid {
  border-bottom-color: #a4452e;
}
/* Date inputs: keep the sober look in WebKit */
.contact-field input[type="date"] {
  min-height: 41px;
  color-scheme: light;
}
.contact-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
}

.contact-form-error {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  color: #a4452e;
}
.contact-form-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-submit {
  min-height: 46px;
  padding-left: 28px;
  padding-right: 28px;
}
.contact-form-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.contact-form-note a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 122, 79, 0.35);
  transition: border-color 0.2s ease;
}
.contact-form-note a:hover {
  border-bottom-color: var(--gold-deep);
}

/* ── Contact panel (right) — dark editorial card ─────────────────────────── */

.contact-aside {
  position: sticky;
  top: calc(var(--nav-height, 96px) + 24px);
  background: #060a26;
  color: var(--ivory);
  border-radius: 8px;
  padding: clamp(30px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-aside-eyebrow {
  position: static;
  margin-bottom: 18px;
}
.contact-aside-title {
  margin: 0 0 30px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-wrap: balance;
}
.contact-aside-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.contact-aside-item {
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 239, 229, 0.1);
}
.contact-aside-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.5);
  margin-bottom: 6px;
}
.contact-aside-item a {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-aside-item a:hover {
  color: var(--gold-soft, #e2c989);
}
.contact-aside-item p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 239, 229, 0.75);
}
.contact-aside-cta {
  margin-top: 28px;
}
.contact-aside-social {
  margin-top: 24px;
}
.contact-aside-social a {
  color: rgba(244, 239, 229, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-aside-social a:hover {
  color: var(--ivory);
  border-color: rgba(244, 239, 229, 0.6);
}

/* ───────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    position: static;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .contact-main {
    padding: 60px 24px 72px;
  }
}

@media (max-width: 600px) {
  .contact-field-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .contact-submit {
    width: 100%;
  }
}
