/* Zovya Travels — Contact Us stylesheet (Phase 2, 2026-10-14).
   Depends on header-style.css tokens + .btn-gold/.btn-whatsapp (always linked
   together by views/layout/master.php). Covers contact-us blocks 01-05:
   dark hero → cream selector → white workbench → dark urgent → cream office.
   Reviews + FAQs come from footer.php (their own stylesheets). */

/* ── 01. Contact Hero — dark editorial ─────────────────────────────── */
.contact-hero {
  position: relative;
  background-color: #070A12;
  background-image: radial-gradient(ellipse 720px 340px at 50% -40px, rgba(201, 168, 76, 0.14), transparent 70%);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 84px 0 82px;
  text-align: center;
  overflow-x: clip;
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.contact-hero-head { max-width: 760px; margin: 0 auto; }
.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  font-weight: 400;
  color: var(--color-text-on-dark);
  margin: 0 0 14px;
}
.contact-hero-title em { color: var(--color-gold); font-style: italic; }
.contact-hero-sub {
  font-size: 16px;
  color: var(--color-text-on-dark-2);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 58ch;
}
.contact-hero-actions {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 30px;
}
.contact-hero-phone { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.contact-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(220, 38, 38, 0.55);
  background: rgba(220, 38, 38, 0.14);
  color: #FCA5A5;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.contact-jump:hover { background: rgba(220, 38, 38, 0.26); border-color: #DC2626; color: #FFFFFF; transform: translateY(-1px); }

/* ── 02. Visitor-Facing Selector — cream band ──────────────────────── */
.contact-topics {
  background-color: var(--color-bg-light);
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border-light);
  padding: 62px 0 66px;
  text-align: center;
}
.contact-topics-head { max-width: 720px; margin: 0 auto 30px; }
.contact-topics-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--color-navy);
  margin: 0;
}
.contact-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-chip {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 11px 22px;
  min-height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}
.contact-chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.contact-chip.is-active {
  background: linear-gradient(135deg, #D4AF37 0%, #C9A84C 50%, #B89230 100%);
  border-color: transparent;
  color: #0B0F1A;
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
}
.contact-chip-urgent { border-color: rgba(220, 38, 38, 0.45); color: #B91C1C; }
.contact-chip-urgent:hover { background: #FEF2F2; border-color: #DC2626; color: #B91C1C; box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18); }

/* Type picker inside the form card, directly under the "Send us a Message"
   heading and above the builder form — only visible while the "New Enquiry"
   chip is active (JS toggles the hidden attribute); options = active package_types. */
.contact-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 2px 0 20px;
  animation: contact-type-in 0.28s ease both;
}
.contact-type-row[hidden] { display: none; }
@keyframes contact-type-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.contact-type-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
}
.contact-type-req { color: #DC2626; margin-left: 3px; }
.contact-type-select {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 11px 18px;
  min-height: 44px;
  min-width: 220px;
  max-width: 100%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-type-select:hover { border-color: var(--color-gold); }
.contact-type-select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22);
}

/* ── 03. Contextual Inquiry Workbench — white, channels + form ─────── */
.contact-workbench {
  background-color: #FFFFFF;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border-light);
  padding: 78px 0 86px;
}
.contact-wb-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: start;
}
.contact-wb-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: var(--color-navy);
  margin: 0 0 22px;
}
.contact-channel-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFDF7;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-channel:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-hover);
}
.contact-channel-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.32);
  color: var(--color-gold-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.contact-channel-body { min-width: 0; }
.contact-channel-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  margin-bottom: 3px;
}
.contact-channel-value {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-navy);
  overflow-wrap: anywhere;
}
.contact-channel-value:hover { color: var(--color-gold-muted); }
.contact-channels .btn-whatsapp { width: 100%; }

.contact-form-card {
  background: #FFFDF7;
  border: 1px solid var(--color-border-light);
  border-top: 4px solid var(--color-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 18px 44px rgba(27, 42, 94, 0.1);
  min-width: 0;
}
/* 03b. Embedded [form:contact-form] (formBuilder) inside the card.
   Global .fb-form/.rendered-form styles come from FormShortcode::fbStyle(); these
   rules are card-scoped and higher-specificity so the builder form inherits the
   page design (16px inputs = no iOS zoom, gold focus ring, full-width submit). */
.contact-form-card .fb-form .rendered-form { gap: 16px 18px; }
/* Field titles removed per user directive 2026-10-19 (contact form card only) —
   placeholders identify the inputs; labels stay in the DOM for a11y `for` binding. */
.contact-form-card .fb-form .rendered-form label { display: none; }
.contact-form-card .fb-form .rendered-form.formbuilder-embedded-bootstrap .form-group { margin-bottom: 0; }
.contact-form-card .fb-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]) { padding: 5px 8px; }
.contact-form-card .fb-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),
.contact-form-card .fb-form select,
.contact-form-card .fb-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-navy);
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card .fb-form textarea { min-height: 118px; resize: vertical; }
.contact-form-card .fb-form input:hover,
.contact-form-card .fb-form select:hover,
.contact-form-card .fb-form textarea:hover { border-color: #CBD5E8; }
.contact-form-card .fb-form input:focus,
.contact-form-card .fb-form select:focus,
.contact-form-card .fb-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22);
}
.contact-form-card .fb-form input[readonly] {
  background: var(--color-bg-neutral);
  color: var(--color-navy-muted);
  font-weight: 600;
  cursor: default;
}
.contact-form-card .fb-form .formbuilder-required { color: #DC2626; }
.contact-form-card .fb-form .fb-submit {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 6px;
}
.contact-form-card .fb-form .formbuilder-error { border-color: #DC2626 !important; }

/* ── 04. Urgent Support — dark red emergency band ──────────────────── */
.contact-urgent {
  position: relative;
  background: linear-gradient(180deg, #2A080C 0%, #4E1218 100%);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 72px 0;
  color: var(--color-text-on-dark);
  overflow-x: clip;
}
.contact-urgent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.contact-urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #FCA5A5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.contact-urgent-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--color-text-on-dark);
  margin: 0 0 12px;
}
.contact-urgent-intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-on-dark-2);
  margin: 0 0 14px;
  max-width: 62ch;
}
.contact-urgent-hours { font-size: 14.5px; color: var(--color-text-on-dark-2); margin: 0; }
.contact-urgent-hours strong { color: var(--color-text-on-dark); font-weight: 700; }
.contact-urgent-actions {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.contact-urgent-phone-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin: 0;
}
.contact-urgent-phone {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-on-dark);
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.contact-urgent-phone:hover { color: var(--color-gold); }
.contact-urgent-actions .btn-whatsapp { width: 100%; margin-top: 8px; }

/* ── 05. UK Office — cream band ────────────────────────────────────── */
.contact-office {
  background-color: var(--color-bg-light);
  color: var(--color-navy);
  padding: 78px 0 86px;
}
.contact-office-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.contact-office-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
  color: var(--color-navy);
  margin: 0;
}
.contact-office-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.contact-office-grid.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
.contact-office-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.contact-office-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-office-card:hover { transform: translateY(-3px); border-color: var(--color-gold); box-shadow: var(--shadow-hover); }
.contact-office-card-wide { grid-column: 1 / -1; }
.contact-office-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin: 0 0 7px;
}
.contact-office-label i { color: var(--color-gold); font-size: 14px; }
.contact-office-value { font-size: 15.5px; line-height: 1.7; color: var(--color-navy); margin: 0; overflow-wrap: anywhere; }
.contact-office-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
  min-height: 300px;
}
.contact-office-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* ── Reveal motion (shared across 01-05) ───────────────────────────── */
.js .contact-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.32, 0.72, 0, 1), transform 0.85s cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.js .contact-hero.is-in .contact-reveal,
.js .contact-topics.is-in .contact-reveal,
.js .contact-workbench.is-in .contact-reveal,
.js .contact-urgent.is-in .contact-reveal,
.js .contact-office.is-in .contact-reveal { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .contact-office-grid.has-map { grid-template-columns: minmax(0, 1fr); }
  .contact-office-map { min-height: 280px; }
}
@media (max-width: 900px) {
  .contact-wb-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .contact-urgent-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-hero { padding: 68px 0 66px; }
}
@media (max-width: 768px) {
  .contact-topics { padding: 52px 0 56px; }
  .contact-workbench { padding: 58px 0 64px; }
  .contact-urgent { padding: 58px 0; }
  .contact-office { padding: 58px 0 64px; }
  .contact-form-card { padding: 26px 22px 28px; }
}
@media (max-width: 640px) {
  .contact-office-info { grid-template-columns: minmax(0, 1fr); }
  .contact-hero-actions { flex-direction: column; align-items: stretch; }
  .contact-hero-phone { width: 100%; }
  .contact-hero-phone .btn-gold, .contact-jump { width: 100%; }
  .contact-chip { flex: 1 1 auto; }
  .contact-type-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .contact-type-select { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-chip, .contact-channel, .contact-office-card, .contact-jump, .js .contact-reveal { transition: none; }
  .js .contact-reveal { opacity: 1; transform: none; }
  .contact-chip:hover, .contact-channel:hover, .contact-office-card:hover, .contact-jump:hover { transform: none; }
  .contact-type-row { animation: none; }
  .contact-type-select { transition: none; }
}
