/* ══════════════════════════════════════
   CONTACT PAGE — page-specific styles
══════════════════════════════════════ */

/* Page hero background */
.page-hero {
  background-image:
    linear-gradient(
      to top,
      rgba(7, 7, 13, 0.95) 0%,
      rgba(7, 7, 13, 0.55) 60%,
      rgba(7, 7, 13, 0.7) 100%
    ),
    url("../htmlpictures/Dharmarajika-stupa-monastery-taxila.jpg");
}

/* ── TOUR TYPE PICKER ── */
.tour-picker {
  padding: 80px 6%;
  background: var(--stone);
}
.picker-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.picker-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-top: 12px;
  margin-bottom: 56px;
}
.picker-title em {
  font-style: italic;
  color: var(--gold);
}
.tour-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.tt-card {
  padding: 40px 28px;
  background: var(--deep);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
}
.tt-card:hover,
.tt-card.selected {
  border-bottom-color: var(--copper);
  background: var(--slate);
}
.tt-card.selected::after {
  content: "✓";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  background: var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--void);
  font-weight: 700;
}
.tt-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.tt-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
  margin-top: 6px;
}
.tt-desc {
  font-size: 12px;
  line-height: 1.8;
  color: var(--mist);
  font-weight: 300;
  margin-top: 4px;
}
.tt-price {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(191, 122, 53, 0.1);
  font-size: 11px;
  color: var(--copper);
  font-weight: 500;
}

/* ── CONTACT MAIN ── */
.contact-main {
  padding: 100px 6%;
  background: var(--void);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.ci-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 28px;
}
.ci-title em {
  font-style: italic;
  color: var(--gold);
}
.ci-body {
  font-size: 14px;
  line-height: 2;
  color: var(--mist);
  font-weight: 300;
  margin-bottom: 40px;
}
.ci-body strong {
  color: var(--parchment);
  font-weight: 500;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 44px;
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px;
  background: var(--stone);
  transition: all 0.3s;
}
.ci-item:hover {
  background: var(--deep);
}
.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(191, 122, 53, 0.1);
  border: 1px solid rgba(191, 122, 53, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-size: 16px;
  flex-shrink: 0;
}
.ci-text h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.ci-text p {
  font-size: 13px;
  color: var(--sand);
  font-weight: 300;
  line-height: 1.7;
  margin-top: 4px;
}
.ci-text a {
  color: var(--sand);
  text-decoration: none;
  transition: color 0.3s;
}
.ci-text a:hover {
  color: var(--gold);
}

/* Response card */
.response-card {
  background: linear-gradient(
    135deg,
    rgba(191, 122, 53, 0.1),
    rgba(191, 122, 53, 0.05)
  );
  border: 1px solid rgba(191, 122, 53, 0.2);
  padding: 28px 24px;
  margin-top: 4px;
}
.rc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5db88a;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}
.rc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5db88a;
}
.rc-text {
  font-size: 13px;
  color: var(--sand);
  font-weight: 300;
  line-height: 1.6;
}

/* Office hours */
.office-hours {
  margin-top: 24px;
  padding: 24px;
  background: var(--stone);
}
.oh-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.oh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(191, 122, 53, 0.07);
  font-size: 12px;
}
.oh-row:last-child {
  border-bottom: none;
}
.oh-day {
  color: var(--sand);
  font-weight: 400;
}
.oh-time {
  color: var(--mist);
  font-weight: 300;
}
.oh-closed {
  color: rgba(122, 122, 144, 0.6);
}

/* ── BOOKING FORM ── */
.booking-form-wrap {
  background: var(--stone);
  padding: 52px 48px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}
.form-subtitle {
  font-size: 12px;
  color: var(--mist);
  font-weight: 300;
  margin-bottom: 44px;
  line-height: 1.6;
}
.form-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
}
.fp-step {
  flex: 1;
  height: 3px;
  background: rgba(191, 122, 53, 0.12);
  border-radius: 2px;
  transition: background 0.4s;
}
.fp-step.active {
  background: var(--copper);
}
.fp-step.done {
  background: var(--gold);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  position: relative;
  margin-bottom: 28px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 16px 0 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(191, 122, 53, 0.2);
  color: var(--parchment);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("../htmlpictures/Qawali.jpg");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.field select option {
  background: var(--deep);
  color: var(--parchment);
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--copper);
}
.field label {
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 12px;
  color: var(--mist);
  font-weight: 300;
  pointer-events: none;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:valid ~ label,
.field select:focus ~ label,
.field select:valid ~ label {
  top: -2px;
  font-size: 10px;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Interests */
.interests-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  margin-top: 8px;
}
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.interest-chip {
  position: relative;
}
.interest-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.interest-chip label {
  display: block;
  padding: 9px 12px;
  border: 1px solid rgba(191, 122, 53, 0.15);
  color: var(--mist);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  border-radius: 1px;
}
.interest-chip input:checked ~ label {
  background: rgba(191, 122, 53, 0.15);
  border-color: var(--copper);
  color: var(--copper);
}
.interest-chip label:hover {
  border-color: rgba(191, 122, 53, 0.4);
}

/* Slider */
.slider-field {
  margin-bottom: 28px;
}
.slider-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.slider-field label span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.slider-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: rgba(191, 122, 53, 0.15);
  border-radius: 2px;
  outline: none;
}
.slider-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--copper);
  cursor: pointer;
  border: 2px solid var(--stone);
}

/* Submit */
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--copper);
  color: var(--void);
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s;
  border-radius: 1px;
}
.btn-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(191, 122, 53, 0.3);
}
.form-disclaimer {
  font-size: 11px;
  color: var(--mist);
  text-align: center;
  margin-top: 14px;
  font-weight: 300;
  line-height: 1.6;
}
.success-message {
  display: none;
  text-align: center;
  padding: 48px 20px;
}
.success-message.is-visible {
  display: block;
}
.success-message .sm-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}
.success-message h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}
.success-message p {
  font-size: 14px;
  color: var(--mist);
  font-weight: 300;
  line-height: 1.8;
  margin-top: 8px;
}
.contact-link-sub {
  margin-top: 16px;
  color: var(--copper);
}

/* ── FAQ ── */
.faq-section {
  padding: 100px 6%;
  background: var(--stone);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
}
.faq-intro {
  font-size: 13px;
  line-height: 1.9;
  color: var(--mist);
  font-weight: 300;
  margin-top: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid rgba(191, 122, 53, 0.1);
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--parchment);
  text-align: left;
  transition: color 0.3s;
}
.faq-btn:hover {
  color: var(--gold);
}
.faq-btn .fq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(191, 122, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-size: 14px;
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-btn {
  color: var(--gold);
}
.faq-item.open .fq-icon {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--void);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    padding 0.45s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-answer p {
  padding: 8px 0 24px;
  font-size: 13px;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.9;
}

/* ── EMERGENCY ── */
.emergency {
  background: linear-gradient(
    135deg,
    #6a1008 0%,
    var(--rust) 50%,
    #6a1008 100%
  );
  padding: 80px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.emergency::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.emergency-inner {
  position: relative;
  z-index: 1;
}
.em-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  animation: pulse-em 2s infinite;
}
@keyframes pulse-em {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.emergency h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 8px;
}
.emergency p {
  font-size: 14px;
  color: rgba(235, 217, 184, 0.8);
  font-weight: 300;
  margin-bottom: 4px;
}
.emergency .em-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  margin-top: 8px;
}
.emergency-sub {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(247, 240, 224, 0.85);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-main {
    grid-template-columns: 1fr;
  }
  .booking-form-wrap {
    position: static;
  }
  .tour-types {
    grid-template-columns: 1fr 1fr;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .interests-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-types {
    grid-template-columns: 1fr;
  }
  .booking-form-wrap {
    padding: 32px 24px;
  }
}