/* ==========================================================================
   ElevatteLife — contact.css
   Contact page only (contact.php), scoped under body.page-contact.
   Visual layer only; copy, fields and links are unchanged. Brand palette
   only: white, mint, deep green, small orange accent (no beige, peach,
   teal or gold). The hero is the home hero component (home.css .hm-hero).
   ========================================================================== */

/* --------------------------------------------------- Spacing system ------ */
/* Section padding: desktop 96 / tablet 72 / mobile 56. */
body.page-contact {
  --section-y: 96px;
}

@media (max-width: 1024px) {
  body.page-contact { --section-y: 72px; }
}

@media (max-width: 640px) {
  body.page-contact { --section-y: 56px; }
}

/* The floating WhatsApp button hides (at every width on this page) while the
   hero or the enquiry section is on screen: both already have their own
   WhatsApp/booking buttons, and on desktop it sat over the contact card.
   main.js toggles .is-tucked. */
.page-contact .wa-float {
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s,
    background-color var(--dur) var(--ease);
}

.page-contact .wa-float.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

/* ----------------------------------------------------------- Hero -------- */
/* Compact: only as tall as its content. The unchanged copy at the home
   hero type size (with the 560px paragraph wrapping to 4 lines) needs
   ~420px, so the hero lands near 490px with this padding. */
.page-contact .ct-hero {
  min-height: 0;
  padding-block: 32px 40px;
}

.page-contact .ct-hero__crumb {
  margin-bottom: 14px;
}

.page-contact .ct-hero__lead {
  max-width: 560px;
}

/* Decoration fills the right column; the ring overflows it and is clipped
   by the hero (overflow: clip in home.css), never by the page. */
.page-contact .ct-hero__deco {
  position: relative;
  align-self: stretch;
  min-height: 280px;
}

.page-contact .ct-hero__yantra {
  width: min(440px, 120%);
  opacity: 0.1;
  animation-duration: 120s;
}

/* ------------------------------------------------- Form + contact cards -- */
.page-contact .ct-enquiry {
  background: var(--bg-warm);   /* very light mint, so the white cards stand out */
}

/* One card system: same radius, border and padding on both columns. */
.page-contact .ct-form-card,
.page-contact .ct-card,
.page-contact .ct-note {
  padding: 32px;
  border: 1px solid var(--line-brand);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.page-contact .ct-card .card__title {
  color: var(--brand);
}

/* Right column sticks beside the long form on desktop. */
@media (min-width: 1025px) {
  .page-contact .ct-aside {
    position: sticky;
    top: 100px;
  }
}

/* "Reach us directly": icons in mint circles, roomier rows. */
.page-contact .ct-card .contact-list {
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.page-contact .ct-card .contact-list__row {
  align-items: center;
  gap: 14px;
}

.page-contact .ct-card .contact-list__row svg {
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--brand-mid);
}

.page-contact .ct-card .card__footer {
  margin-top: 24px;
}

/* Notes: white with a green left border. */
.page-contact .ct-note {
  padding: 22px 24px;
  border-left: 4px solid var(--brand-mid);
  color: var(--ink-2);
}

.page-contact .ct-note strong {
  color: var(--brand);
}

.page-contact .ct-note svg {
  color: var(--brand-mid);
}

/* Payment safety: same card, deep green border and shield, still prominent. */
.page-contact .ct-note--safety {
  border-left-color: var(--brand);
}

.page-contact .ct-note--safety svg {
  color: var(--brand);
}

/* "Chat on WhatsApp": brand deep-green outline instead of teal. */
.page-contact .btn--whatsapp {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-border: rgba(11, 61, 40, 0.35);
}

.page-contact .btn--whatsapp:hover {
  --btn-bg: rgba(11, 61, 40, 0.05);
  --btn-border: var(--brand);
}

/* Inputs: 48px, deep green border + soft mint glow on focus. */
.page-contact .ct-form-card .input,
.page-contact .ct-form-card .select {
  height: 48px;
}

.page-contact .ct-form-card .input:focus,
.page-contact .ct-form-card .select:focus,
.page-contact .ct-form-card .textarea:focus,
.page-contact .ct-form-card .input:focus-visible,
.page-contact .ct-form-card .select:focus-visible,
.page-contact .ct-form-card .textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 124, 64, 0.14);
}

.page-contact .ct-form-card .field__hint,
.page-contact .ct-form-card .caption {
  color: var(--ink-2);
}

/* --------------------------------------------------------------- FAQ ----- */
/* Same as the Reports FAQ: left heading, full width, deep green questions,
   "+" turns into "−" when open (no colour change). */
.page-contact .ct-faq {
  background: var(--surface);
}

.page-contact .ct-faq .acc-trigger,
.page-contact .ct-faq .acc-trigger:hover,
.page-contact .ct-faq .acc-trigger[aria-expanded="true"] {
  color: var(--brand);
}

.page-contact .ct-faq .acc-collapse {
  transition-duration: 350ms;
}

/* -------------------------------------------------------- Responsive ----- */
@media (max-width: 860px) {
  .page-contact .ct-hero {
    padding-block: 32px 40px;
  }

  /* Phones and tablets: no decoration (nothing to clip or overflow). */
  .page-contact .ct-hero__deco {
    display: none;
  }

  .page-contact .ct-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-contact .ct-form-card,
  .page-contact .ct-card {
    padding: 22px 18px;
  }

  .page-contact .ct-note {
    padding: 18px;
  }

  /* Full-width buttons, stacked. */
  .page-contact .ct-form-card .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact .ct-form-card .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}
