/* ==========================================================================
   Contact Us

   Two ways in, side by side: WhatsApp for people who want an answer now, the
   form for people who want to explain first. Same tokens as the rest of the
   site; the form fields borrow the underline treatment from booking.css so
   the two pages that take input type the same way.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — same construction as ab-hero / bkv-hero, shorter: the content the
   visitor came for starts below it, so it should not take a full screen.
   -------------------------------------------------------------------------- */

.ct-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 60vh, 600px);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.ct-hero__bg { position: absolute; inset: 0; }

.ct-hero__media {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.ct-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.ct-hero__gradient {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #131313 0%, rgba(19, 19, 19, 0.4) 50%, rgba(19, 19, 19, 0) 100%),
    linear-gradient(to top, #131313 0%, rgba(19, 19, 19, 0) 40%);
}

.ct-hero__stage {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--hero-pad) var(--gutter);
}

.ct-hero__block {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ct-hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  line-height: 1.4;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--c-cream);
  animation: copy-in 450ms ease-out 60ms backwards;
}

.ct-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-off-white);
}

.ct-hero__title .hero-title__alt { color: var(--c-line-bright); }

.ct-hero__lede {
  max-width: 52ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--c-muted);
  animation: copy-in 500ms ease-out 520ms backwards;
}

/* --------------------------------------------------------------------------
   Body — WhatsApp column + form panel
   -------------------------------------------------------------------------- */

.ct-body {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-section) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---- WhatsApp column ---- */

.ct-direct {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ct-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--c-accent);
}

.ct-direct__title,
.ct-form__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-section);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-off-white);
}

.ct-direct__text {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-muted);
}

.ct-wa {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 32px);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-left: 4px solid var(--c-line-bright);
}

.ct-wa__who {
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-dim);
}

/* The number is data, so it is the one place the mono face is earned. */
.ct-wa__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--c-off-white);
}

.ct-wa__num a:hover { color: var(--c-line-bright); }

.ct-wa__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  min-height: 56px;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--c-accent-ink-2);
  background-color: var(--c-line-bright);
  border: 1px solid var(--c-line-bright);
  transition: background-color 220ms ease, color 220ms ease;
}

.ct-wa__btn:hover {
  background-color: transparent;
  color: var(--c-line-bright);
}

.ct-wa__btn svg { flex: none; }

/* ---- Form panel ---- */

.ct-form {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
  padding: clamp(28px, 4vw, 48px);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line-soft);
}

.ct-form__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ct-field--full { grid-column: 1 / -1; }

.ct-field label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-dim);
}

.ct-field label .ct-opt { color: var(--c-line); }

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 16px;   /* below 16px iOS zooms the page on focus */
  color: var(--c-off-white);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  transition: border-color 200ms ease;
}

.ct-field select {
  appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a89b80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.ct-field select option { color: var(--c-ink); }

.ct-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #6b6250; }

.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover { border-bottom-color: var(--c-dim); }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-bottom-color: var(--c-accent);
}

.ct-field input:focus-visible,
.ct-field select:focus-visible,
.ct-field textarea:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 4px;
}

.ct-form__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.ct-form__submit {
  min-height: 56px;
  padding: 0 36px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c-accent-ink);
  background-color: var(--c-accent);
  border: 1px solid var(--c-accent);
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.ct-form__submit:hover {
  background-color: transparent;
  color: var(--c-accent);
}

.ct-form__done {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-off-white);
  border-left: 4px solid var(--c-accent);
  background-color: var(--c-surface-alt);
}

.ct-form__error {
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-off-white);
  border-left: 4px solid #e5484d;
  background-color: var(--c-surface-alt);
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-footer { margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .ct-body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 599px) {
  .ct-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-wa__btn,
  .ct-form__submit { width: 100%; align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-hero__eyebrow,
  .ct-hero__lede { animation: none; }

  .ct-wa__btn,
  .ct-form__submit,
  .ct-field input,
  .ct-field select,
  .ct-field textarea { transition: none; }
}
