/**
 * Kottakkal Theme - Contact Us Stylesheet
 * Page: templates/page-contact.php
 */

@import url('booking-wizard.css');

.phead {
  padding-block: calc(160px + env(safe-area-inset-top, 0px)) clamp(48px, 7vw, 96px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font: 500 0.78rem/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 30px;
}

.crumbs a {
  color: var(--fg-2);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
}

.phead h1 {
  font-size: var(--fs-hero);
  margin-top: 22px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.phead .lede {
  margin-top: 28px;
  max-width: 60ch;
}

/* Contact Grid & Rows */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: stretch;
}

.ct-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
  align-content: start;
}

.ct-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.ct-row dt {
  font: 600 0.78rem/1.9 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.ct-row dd {
  margin: 0;
  min-width: 0;
}

.ct-row .big {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--heading);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ct-row dd .muted {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fg-2);
  display: inline-block;
  margin-top: 4px;
}

.ct-row .big:hover {
  color: var(--accent);
}

.copy {
  border: 1px solid var(--line-2);
  background: none;
  border-radius: 99px;
  padding: 8px 13px;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.copy:hover {
  border-color: var(--heading);
  color: var(--heading);
}

/* Interactive Metro / Map Card */
.map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface-2);
}

.map svg.streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--line-2);
}

.map .route {
  color: var(--gold);
}

.map .pin {
  position: absolute;
  left: 58%;
  top: 38%;
  width: 16px;
  height: 16px;
  margin: -8px;
  border-radius: 50%;
  background: var(--accent);
}

.map .pin::before, .map .pin::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2.8s var(--ease) infinite;
}

.map .pin::after {
  animation-delay: 1.4s;
}

@keyframes pulse {
  from { transform: scale(0.4); opacity: 1; }
  to { transform: scale(2.2); opacity: 0; }
}

.map .lab {
  position: absolute;
  font: 600 0.78rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
}

.map .card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 380px;
  background: var(--surface);
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map .card b {
  font: 400 1.4rem/1.2 var(--display);
  color: var(--heading);
}

.map .card p {
  font-size: 0.86rem;
  color: var(--fg-2);
}

/* Booking Section */
.booking {
  position: relative;
  overflow: hidden;
}

.booking .bg-leaf {
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(56vw, 720px);
  color: rgba(216, 190, 136, 0.08);
  pointer-events: none;
}

.bk-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.bk-copy h2 {
  font-size: var(--fs-1);
  margin-top: 24px;
}

.bk-copy .lede {
  color: var(--on-dark-2);
  margin-top: 26px;
}

.bk-facts {
  margin: 44px 0 0;
  display: grid;
  border-top: 1px solid var(--on-dark-line);
}

.bk-facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--on-dark-line);
  font-size: 0.94rem;
}

.bk-facts dt {
  font: 500 0.78rem/1.9 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.bk-facts dd {
  margin: 0;
}

.bk-facts a {
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold-hi);
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}

.bk-facts a:hover {
  color: var(--gold-hi);
  text-decoration-color: var(--on-dark);
}

.panel {
  background: var(--surface);
  color: var(--fg);
  border-radius: 2px;
  padding: clamp(22px, 3.6vw, 48px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
  min-width: 0;
}

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

@media (max-width: 768px) {
  .ct-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    padding: 18px 0;
    align-items: center;
  }
  .ct-row dt {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }
  .ct-row dd {
    grid-column: 1;
    min-width: 0;
  }
  .ct-row .copy {
    grid-column: 2;
    align-self: center;
  }
  .bk-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
