/* TravelBugs Contact page */

body.cinematic-page.contact-page {
  --ct-ink: #102033;
  --ct-muted: #667085;
  --ct-paper: #fff8ee;
  --ct-orange: #c9a052;
  --ct-gold: #d4af37;
  --ct-line: rgba(26, 32, 44, .11);
  --ct-shadow: 0 28px 80px rgba(40, 26, 9, .18);
  --ct-ease: cubic-bezier(.2, .8, .2, 1);
  font-family: Inter, var(--font-cin-sans), system-ui, sans-serif;
  color: var(--ct-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(199, 91, 7, .18), transparent 23rem),
    radial-gradient(circle at 88% 22%, rgba(24, 91, 112, .14), transparent 26rem),
    linear-gradient(180deg, #fffaf0 0%, #f8efe3 45%, #fff8ec 100%);
}

body.cinematic-page.contact-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(12, 17, 16, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 17, 16, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 72%);
  z-index: 0;
}

body.cinematic-page.contact-page main {
  position: relative;
  z-index: 1;
}

.ct-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: calc(var(--cin-header-h) + 72px) 6vw 72px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 14, .88) 0%, rgba(6, 12, 14, .58) 45%, rgba(6, 12, 14, .30) 100%),
    linear-gradient(180deg, rgba(6, 12, 14, .15), rgba(6, 12, 14, .70)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2400&q=85') center/cover;
  transform: scale(1.04);
  z-index: -2;
}

.ct-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, #fff7ec);
  z-index: -1;
}

.ct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  width: 100%;
}

.ct-eyebrow {
  color: #f0b459;
  letter-spacing: .25em;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ct-eyebrow::after {
  content: "";
  width: 54px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.ct-script {
  font-family: Caveat, cursive;
  color: #f1b65a;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}

.ct-hero h1 {
  font-family: Playfair Display, var(--font-cin-serif), Georgia, serif;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .9;
  margin: 0 0 24px;
  max-width: 820px;
  letter-spacing: -.055em;
  color: #fff;
}

.ct-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .80);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  margin: 0;
}

.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ct-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .25s var(--ct-ease), box-shadow .25s var(--ct-ease), background .25s var(--ct-ease);
}

.ct-btn:hover { transform: translateY(-3px); }

.ct-btn--primary { background: #fff; color: #102033; box-shadow: 0 22px 55px rgba(0, 0, 0, .22); }
.ct-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .30); background: rgba(255, 255, 255, .10); backdrop-filter: blur(12px); }
.ct-btn--orange { background: var(--ct-orange); color: #fff; box-shadow: 0 20px 42px rgba(199, 91, 7, .25); }
.ct-btn--light { background: #faeadc; color: var(--ct-orange); }
.ct-btn--outline { background: transparent; border: 1.5px solid var(--ct-orange); color: var(--ct-orange); }

.ct-quick-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  padding: 24px;
  transform: translateY(14px);
}

.ct-quick-card h3 {
  font-family: Playfair Display, var(--font-cin-serif), Georgia, serif;
  font-size: 2.15rem;
  margin: 0 0 14px;
  letter-spacing: -.04em;
}

.ct-quick-list { display: grid; gap: 12px; }

.ct-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}

.ct-quick-icon,
.ct-feature-icon,
.ct-small-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ct-orange);
  background: #f4dcc7;
  border-radius: 50%;
}

.ct-quick-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(240, 180, 89, .22);
}

.ct-quick-item b { display: block; font-size: .94rem; margin-bottom: 2px; }
.ct-quick-item span { color: rgba(255, 255, 255, .70); font-size: .86rem; }

.ct-section {
  padding: 68px 6vw;
  position: relative;
}

.ct-contact-panel {
  max-width: 1520px;
  margin: -84px auto 0;
  position: relative;
  z-index: 3;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(480px, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(255, 248, 238, .84);
  box-shadow: var(--ct-shadow);
  backdrop-filter: blur(15px);
}

.ct-contact-panel::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(46vw, 690px);
  height: 310px;
  background: linear-gradient(180deg, rgba(255, 248, 238, .18), rgba(255, 248, 238, .84) 75%), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80') center bottom/cover;
  opacity: .70;
  pointer-events: none;
}

.ct-contact-panel::after {
  content: "";
  position: absolute;
  left: 5.8%;
  top: 50%;
  width: 62%;
  height: 1px;
  border-top: 2px dashed rgba(16, 32, 51, .18);
  transform: rotate(-12deg);
  pointer-events: none;
}

.ct-left-copy,
.ct-right-stack { position: relative; z-index: 2; }

.ct-left-copy { padding: clamp(34px, 4vw, 54px); }

.ct-left-copy h2,
.ct-section-title h2 {
  font-family: Playfair Display, var(--font-cin-serif), Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .96;
  margin: 0 0 14px;
  letter-spacing: -.05em;
}

.ct-lead {
  color: var(--ct-muted);
  font-size: 1.07rem;
  line-height: 1.72;
  max-width: 620px;
}

.ct-feature-list { margin-top: 26px; display: grid; gap: 0; }

.ct-feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--ct-line);
}

.ct-feature-icon { width: 52px; height: 52px; }
.ct-feature b { display: block; font-size: 1.08rem; margin-bottom: 8px; }
.ct-feature p { margin: 0; color: var(--ct-muted); line-height: 1.65; }

.ct-plane-path {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  font-weight: 900;
  color: var(--ct-orange);
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}

.ct-right-stack {
  padding: clamp(28px, 3.2vw, 42px);
  display: grid;
  align-content: center;
  gap: 16px;
}

.ct-top-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 60px rgba(30, 22, 12, .12);
  border: 1px solid rgba(255, 255, 255, .70);
}

.ct-contact-tile {
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background .25s var(--ct-ease);
}

.ct-contact-tile:hover { background: rgba(199, 91, 7, .04); }

.ct-contact-tile + .ct-contact-tile { border-left: 1px solid var(--ct-line); }

.ct-contact-tile .ct-small-icon { width: 48px; height: 48px; margin-bottom: 10px; }

.ct-label {
  color: var(--ct-orange);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 900;
  margin-bottom: 9px;
}

.ct-contact-value { font-weight: 900; font-size: clamp(1rem, 1.5vw, 1.18rem); }

.ct-office-card {
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 70px rgba(30, 22, 12, .12);
  border: 1px solid rgba(255, 255, 255, .72);
}

.ct-office-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ct-address-lines { display: grid; gap: 13px; margin-bottom: 24px; color: #25344a; }

.ct-address-line {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}

.ct-tiny-icon {
  color: var(--ct-orange);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #f7e0cc;
  border-radius: 50%;
  margin-top: 1px;
}

.ct-office-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ct-line);
}

.ct-form-map-wrap {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(420px, 1fr);
  gap: 26px;
  align-items: stretch;
}

.ct-glass-card {
  border-radius: 34px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--ct-shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.ct-form-card { padding: clamp(28px, 4vw, 48px); }
.ct-section-title { margin-bottom: 24px; }
.ct-section-title .ct-script { color: var(--ct-orange); margin: 0 0 4px; }

.ct-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ct-field { position: relative; }
.ct-field--full { grid-column: 1 / -1; }

.ct-field label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--ct-orange);
  margin: 0 0 9px 3px;
}

.ct-input {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, .13);
  background: #fffaf4;
  color: var(--ct-ink);
  border-radius: 18px;
  padding: 16px 17px;
  outline: none;
  transition: border-color .25s var(--ct-ease), box-shadow .25s var(--ct-ease), transform .25s var(--ct-ease);
}

.ct-input:focus {
  border-color: rgba(199, 91, 7, .45);
  box-shadow: 0 0 0 5px rgba(199, 91, 7, .09);
  transform: translateY(-1px);
}

textarea.ct-input { min-height: 150px; resize: vertical; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

.ct-chip {
  border: 1px solid rgba(199, 91, 7, .18);
  background: #fff6ed;
  color: #8c4005;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .86rem;
  font-weight: 800;
  transition: transform .2s var(--ct-ease), background .2s var(--ct-ease);
}

.ct-chip.active,
.ct-chip:hover {
  background: var(--ct-orange);
  color: #fff;
  transform: translateY(-2px);
}

.ct-map-card { position: relative; min-height: 560px; color: #fff; }

.ct-map-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 15, 17, .10), rgba(7, 15, 17, .62)),
    url('https://images.unsplash.com/photo-1595658658481-d53d3f999875?auto=format&fit=crop&w=1400&q=85') center/cover;
}

.ct-map-card::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
  pointer-events: none;
}

.ct-map-pin {
  position: absolute;
  top: 44%;
  left: 51%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ct-orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 12px rgba(199, 91, 7, .18), 0 20px 50px rgba(0, 0, 0, .35);
  animation: ct-pulse 2.2s infinite;
}

.ct-map-pin svg { transform: rotate(45deg); }

@keyframes ct-pulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(199, 91, 7, .18), 0 20px 50px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 0 22px rgba(199, 91, 7, .04), 0 20px 50px rgba(0, 0, 0, .35); }
}

.ct-map-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  border-radius: 28px;
  padding: 26px;
  background: rgba(5, 13, 16, .66);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
}

.ct-map-content h3 {
  font-family: Playfair Display, var(--font-cin-serif), Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -.05em;
  margin: 0 0 8px;
}

.ct-map-content p {
  color: rgba(255, 255, 255, .76);
  line-height: 1.65;
  margin: 0 0 18px;
}

.ct-mini-journey {
  max-width: 1520px;
  margin: 0 auto;
  border-radius: 34px;
  padding: 30px;
  background: rgba(13, 23, 25, .92);
  color: #fff;
  box-shadow: 0 26px 80px rgba(6, 12, 14, .24);
  overflow: hidden;
  position: relative;
}

.ct-mini-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(240, 180, 89, .14), transparent 30rem), radial-gradient(circle at 90% 0%, rgba(24, 91, 112, .26), transparent 28rem);
  pointer-events: none;
}

.ct-mini-journey-inner {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px;
  align-items: center;
}

.ct-mini-journey h2 {
  font-family: Playfair Display, var(--font-cin-serif), Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .96;
  margin: 0 0 12px;
  letter-spacing: -.05em;
}

.ct-mini-journey p { color: rgba(255, 255, 255, .72); line-height: 1.7; margin: 0; }

.ct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.ct-step {
  min-height: 185px;
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .10);
  transition: transform .3s var(--ct-ease), background .3s var(--ct-ease);
}

.ct-step:hover { transform: translateY(-7px); background: rgba(255, 255, 255, .13); }

.ct-step-num { color: #f0b459; font-weight: 900; letter-spacing: .18em; margin-bottom: 24px; }
.ct-step b { display: block; font-size: 1.08rem; margin-bottom: 10px; }
.ct-step span { color: rgba(255, 255, 255, .66); line-height: 1.58; font-size: .94rem; }

.ct-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120px);
  background: rgba(10, 17, 19, .92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: 13px 18px;
  z-index: 220;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .28);
  transition: transform .35s var(--ct-ease);
  font-weight: 800;
}

.ct-toast.show { transform: translate(-50%, 0); }

.ct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ct-ease), transform .75s var(--ct-ease);
}

.ct-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .ct-hero-grid,
  .ct-contact-panel,
  .ct-form-map-wrap,
  .ct-mini-journey-inner { grid-template-columns: 1fr; }

  .ct-contact-panel::before { width: 100%; }
  .ct-contact-panel::after { width: 88%; top: 45%; }
  .ct-quick-card { transform: none; }
}

@media (max-width: 720px) {
  .ct-hero { padding: calc(var(--cin-header-h) + 48px) 22px 64px; min-height: 78vh; }
  .ct-section { padding: 42px 18px; }
  .ct-contact-panel { margin-top: -54px; border-radius: 24px; }
  .ct-left-copy,
  .ct-right-stack,
  .ct-form-card { padding: 24px; }
  .ct-top-contact-grid,
  .ct-form-grid,
  .ct-steps { grid-template-columns: 1fr; }
  .ct-contact-tile + .ct-contact-tile { border-left: 0; border-top: 1px solid var(--ct-line); }
  .ct-office-actions .ct-btn { width: 100%; }
  .ct-map-card { min-height: 480px; }
  .ct-map-content { left: 18px; right: 18px; bottom: 18px; }
}
