/* ─────────────────────────────────────────────────────────────
   Contact page — details + enquiry form.
   Sits on top of panchakarma.css (palette, nav, hero, footer).
   ───────────────────────────────────────────────────────────── */

.contact-wrap {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 48px 40px;
  align-items: start;
}

/* ── details column ── */
.contact-details { min-width: 0; }

.cd-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.cd-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.cd-block h2 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 18px;
}

.cd-list { margin: 0; }
.cd-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 8px 0;
  align-items: baseline;
}
.cd-row dt {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 31, 36, 0.5);
}
.cd-row dd {
  margin: 0;
  font-family: 'Fraunces', 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}
.cd-row dd a {
  color: var(--moss);
  text-decoration: none;
  -webkit-transition: color 0.25s ease; transition: color 0.25s ease;
}
.cd-row dd a:hover { color: var(--ochre-ink); }

.cd-social a {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--moss);
  text-decoration: none;
  padding: 5px 0;
  -webkit-transition: color 0.25s ease; transition: color 0.25s ease;
}
.cd-social a:hover { color: var(--ochre-ink); }

.cd-getting-here p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26, 31, 36, 0.72);
  margin: 0 0 14px;
}
.cd-map-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 90, 85, 0.35);
  padding-bottom: 3px;
  -webkit-transition: color 0.25s ease, border-color 0.25s ease;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.cd-map-link:hover { color: var(--ochre-ink); border-color: var(--ochre-ink); }

/* ── form column ── */
.contact-form-col { min-width: 0; }

.cf-head { margin-bottom: 28px; }
.cf-head .roman {
  font-family: 'Fraunces', 'Cormorant Garamond', serif; font-style: italic;
  font-size: 13px; color: var(--saffron);
  letter-spacing: 0.25em; text-transform: uppercase;
  display: block; margin-bottom: 12px;
}
.cf-head h2 {
  font-family: 'Fraunces', 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 14px;
}
.cf-head p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(26, 31, 36, 0.75);
  max-width: 60ch;
  margin: 0;
}
.cf-head a { color: var(--moss); }

/* form fields */
.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ef-field { display: flex; flex-direction: column; }
.ef-full { grid-column: 1 / -1; }

.ef-field label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 31, 36, 0.62);
  margin-bottom: 8px;
}
.ef-field label .opt { text-transform: none; letter-spacing: 0; color: rgba(26, 31, 36, 0.4); }

.ef-field input,
.ef-field select,
.ef-field textarea {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
  -webkit-appearance: none; appearance: none;
  -webkit-transition: border-color 0.25s ease, background 0.25s ease;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.ef-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.ef-field select {
  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 fill='%237a3520' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ef-field input:focus,
.ef-field select:focus,
.ef-field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: rgba(255, 255, 255, 0.65);
}

.btn-submit {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--forest);
  border: 1px solid var(--forest);
  padding: 15px 34px;
  cursor: pointer;
  -webkit-transition: background 0.25s ease, color 0.25s ease;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-submit:hover { background: var(--moss); border-color: var(--moss); }

.form-note {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(26, 31, 36, 0.55);
  margin: 14px 0 0;
}

/* ── coda ── */
.contact-coda {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 48px 80px;
}
.contact-coda .sanskrit-line {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 22px;
  color: var(--saffron);
  display: block;
  margin-bottom: 12px;
}
.contact-coda .coda-quote {
  font-family: 'Fraunces', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(26, 31, 36, 0.7);
  margin: 0;
}

/* ── responsive ── */
@media (max-width: 1040px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 32px 32px;
  }
  .contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
  .cd-block { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .cd-getting-here { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .contact-wrap { padding: 40px 20px 24px; gap: 40px; }
  .contact-details { grid-template-columns: 1fr; gap: 28px; }
  .cd-block { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
  .cd-block:last-child { border-bottom: 0; }
  .enquiry-form { grid-template-columns: 1fr; gap: 18px; }
  .contact-coda { padding: 16px 20px 64px; }
}

/* date input: keep the native calendar picker (appearance:none can hide it) */
.ef-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;            /* match text inputs so the row aligns */
}
.ef-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}
