/* ═══════════════════════════════════════════════
   CONTACT.CSS  |  RSM — Contact Page
   Tone: Direct, conversion-focused, clean.
   ═══════════════════════════════════════════════ */

.nav-active { color: #d4a54a !important; }
.nav-active::after { width: 100% !important; }

#scrollProgress {
  position: fixed; top: 64px; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, #d4a54a, rgba(212,165,74,0.5));
  z-index: 998; pointer-events: none;
  box-shadow: 0 0 10px rgba(212,165,74,0.4);
}

/* ═══════════════════
   SHARED
═══════════════════ */
.ct-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 3.5px;
  text-transform: uppercase; color: #d4a54a;
  display: block; margin-bottom: 14px; opacity: 0.85;
}
.ct-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ct-orb1 {
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(68,24,130,0.2) 0%, transparent 70%);
  top: -20%; left: -10%; animation: ctOrb1 24s ease-in-out infinite;
}
.ct-orb2 {
  width: 45vw; height: 45vw; max-width: 580px; max-height: 580px;
  background: radial-gradient(circle, rgba(212,165,74,0.07) 0%, transparent 70%);
  bottom: -15%; right: -8%; animation: ctOrb2 28s ease-in-out infinite;
}
@keyframes ctOrb1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(4%,6%) scale(1.06);} }
@keyframes ctOrb2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-4%,-4%) scale(1.05);} }
.ct-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,165,74,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,74,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none; z-index: 1;
}

/* ═══════════════════
   HERO — compact
═══════════════════ */
.ct-hero {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden; background: #020108; text-align: center;
}
.ct-hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.ct-hero-inner {
  position: relative; z-index: 3;
  max-width: 720px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
}
.ct-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 900; color: #eef0ff;
  line-height: 1.0; letter-spacing: -3px; margin-bottom: 24px;
}
.ct-hero-title em { font-style: italic; color: #d4a54a; display: block; }
.ct-hero-sub {
  font-size: clamp(14px, 1.5vw, 16px); line-height: 1.8;
  color: rgba(238,240,255,0.55); max-width: 580px; margin: 0 auto;
}

/* ═══════════════════
   MAIN CONTACT GRID
═══════════════════ */
.ct-main {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  background: #020108;
}
.ct-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* ═══════════════════
   LEFT — FORM COLUMN
═══════════════════ */
.ct-col-header { margin-bottom: 36px; }
.ct-col-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: #eef0ff; line-height: 1.25; margin-bottom: 10px;
}
.ct-col-title em { font-style: italic; color: #d4a54a; }
.ct-col-sub { font-size: 14px; line-height: 1.75; color: rgba(238,240,255,0.48); }

/* Fields */
.ct-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.ct-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ct-field:last-of-type { margin-bottom: 0; }
.ct-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(238,240,255,0.5);
}
.ct-optional { color: rgba(238,240,255,0.25); letter-spacing: 1px; }
.ct-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 13px 16px;
  color: #eef0ff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none; -webkit-appearance: none;
}
.ct-input::placeholder { color: rgba(238,240,255,0.2); }
.ct-input:focus {
  border-color: rgba(212,165,74,0.45);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(212,165,74,0.06);
}
.ct-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }

/* Submit button */
.ct-submit {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  padding: 15px 32px;
  background: #d4a54a; color: #020108;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 4px; cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s,
    transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  width: 100%;
  justify-content: center;
}
.ct-submit:hover {
  background: #e8be6a;
  box-shadow: 0 0 36px rgba(212,165,74,0.3);
  transform: translateY(-2px);
}
.ct-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
  box-shadow: none;
}
.ct-spinner { animation: ctSpin 0.8s linear infinite; }
@keyframes ctSpin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

/* Success / error */
.ct-success, .ct-error {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  border-radius: 6px; font-size: 13.5px; line-height: 1.6;
}
.ct-success {
  background: rgba(6,214,160,0.06);
  border: 1px solid rgba(6,214,160,0.2);
  color: rgba(238,240,255,0.75);
}
.ct-success svg { flex-shrink: 0; margin-top: 1px; }
.ct-error {
  background: rgba(236,72,153,0.06);
  border: 1px solid rgba(236,72,153,0.2);
  color: rgba(238,240,255,0.75);
}
.ct-error svg { flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════
   RIGHT — INFO COLUMN
═══════════════════ */
.ct-info-col {
  display: flex; flex-direction: column;
  position: sticky; top: 88px;
}
.ct-info-block { padding: 28px 0; }
.ct-info-block:first-child { padding-top: 0; }
.ct-info-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(212,165,74,0.5); margin-bottom: 12px; display: block;
}
.ct-info-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700; color: #eef0ff; line-height: 1.3; margin-bottom: 10px;
}
.ct-info-body {
  font-size: 13.5px; line-height: 1.75; color: rgba(238,240,255,0.5); margin-bottom: 20px;
}

/* Calendly CTA */
.ct-info-primary {
  padding: 28px;
  background: rgba(212,165,74,0.05);
  border: 1px solid rgba(212,165,74,0.14);
  border-radius: 10px;
  margin-bottom: 0;
}
.ct-calendly-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: #d4a54a; color: #020108;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 4px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ct-calendly-btn:hover {
  background: #e8be6a;
  box-shadow: 0 0 28px rgba(212,165,74,0.25);
  transform: translateY(-2px);
}

/* Divider */
.ct-info-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(212,165,74,0.1), transparent);
}

/* Email row */
.ct-email-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.ct-email-link {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(11px, 1.2vw, 13px); letter-spacing: 0.5px;
  color: rgba(238,240,255,0.75); text-decoration: none;
  transition: color 0.25s;
}
.ct-email-link:hover { color: #d4a54a; }
.ct-copy-btn {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(238,240,255,0.4);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.ct-copy-btn:hover {
  border-color: rgba(212,165,74,0.35); color: #d4a54a;
  background: rgba(212,165,74,0.05);
}
.ct-email-note { font-size: 12px; color: rgba(238,240,255,0.28); }

/* Social links */
.ct-socials { display: flex; flex-direction: column; gap: 12px; }
.ct-social-link {
  display: flex; align-items: center; gap: 12px;
  color: rgba(238,240,255,0.55); text-decoration: none;
  font-size: 13.5px;
  transition: color 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ct-social-link:hover { color: #d4a54a; transform: translateX(4px); }
.ct-social-link svg { flex-shrink: 0; opacity: 0.7; transition: opacity 0.25s; }
.ct-social-link:hover svg { opacity: 1; }

/* Location */
.ct-location {
  display: flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 1.5px;
  color: rgba(238,240,255,0.22); text-transform: uppercase;
}
.ct-location svg { flex-shrink: 0; opacity: 0.5; }

/* ═══════════════════
   LARGE SCREENS
═══════════════════ */
@media (min-width: 1440px) {
  .ct-col-sub   { font-size: 15px; }
  .ct-info-body { font-size: 14.5px; }
  .ct-inner     { max-width: 1400px; }
  .ct-grid      { grid-template-columns: 1fr 480px; gap: 80px; }
  .ct-hero-title { font-size: clamp(72px, 9vw, 130px); }
  .ct-input     { font-size: 15px; padding: 15px 18px; }
  .ct-label     { font-size: 11px; }
}
@media (min-width: 1920px) {
  .ct-grid      { grid-template-columns: 1fr 520px; gap: 100px; }
  .ct-col-title { font-size: 40px; }
  .ct-hero-title { font-size: clamp(80px, 8vw, 140px); }
}

/* ═══════════════════
   TABLET LANDSCAPE: 1024px
═══════════════════ */
@media (max-width: 1024px) {
  /* Stack form + info vertically */
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 680px;
    margin: 0 auto;
  }
  .ct-info-col  { position: relative; top: auto; }
  .ct-info-primary { padding: 24px; }

  /* Info blocks go horizontal on tablet — 2 per row */
  .ct-info-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: start;
  }
  /* Primary booking block spans full width */
  .ct-info-primary {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  /* First divider after primary — spans full width */
  .ct-info-col > .ct-info-divider:nth-of-type(1) {
    grid-column: 1 / -1;
  }
  /* Location tag spans full width */
  .ct-location { grid-column: 1 / -1; margin-top: 12px; }
}

/* ═══════════════════
   TABLET PORTRAIT: 768px
═══════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .ct-hero { padding: clamp(100px, 14vw, 140px) 0 clamp(48px, 7vw, 72px); }
  .ct-hero-title {
    font-size: clamp(44px, 11vw, 76px);
    letter-spacing: -2px; margin-bottom: 18px;
  }
  .ct-hero-sub { font-size: 14px; }

  /* Grid resets to fully single-col */
  .ct-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 40px;
  }
  .ct-info-col {
    display: flex;
    flex-direction: column;
  }

  /* Form */
  .ct-field-row { grid-template-columns: 1fr; gap: 0; }
  .ct-col-header { margin-bottom: 28px; }
  .ct-col-title  { font-size: clamp(20px, 5vw, 30px); }
  .ct-col-sub    { font-size: 13.5px; }
  .ct-input      { font-size: 15px; padding: 14px 15px; }
  .ct-submit     { padding: 15px 20px; font-size: 11px; }

  /* Info */
  .ct-info-primary { padding: 22px; }
  .ct-calendly-btn { width: 100%; justify-content: center; }
  .ct-info-title   { font-size: 18px; }
  .ct-info-body    { font-size: 13px; }
  .ct-email-link   { font-size: 12px; word-break: break-all; }
}


/* ═══════════════════
   PHONES: 560px
═══════════════════ */
@media (max-width: 560px) {
  .ct-inner { padding: 0 18px; }

  /* Hero */
  .ct-hero-title  { font-size: clamp(38px, 10vw, 58px); letter-spacing: -1.5px; }
  .ct-hero-inner  { padding: 0 20px; }

  /* Form */
  .ct-col-header  { margin-bottom: 24px; }
  .ct-col-title   { font-size: clamp(18px, 5vw, 26px); }
  .ct-field       { margin-bottom: 14px; }
  .ct-label       { font-size: 9.5px; letter-spacing: 1.5px; }
  .ct-input       { padding: 13px 14px; font-size: 14px; }
  .ct-textarea    { min-height: 120px; }
  .ct-submit      { margin-top: 18px; padding: 14px 16px; letter-spacing: 1.5px; }

  /* Info */
  .ct-info-block     { padding: 22px 0; }
  .ct-info-primary   { padding: 18px; }
  .ct-info-title     { font-size: 17px; }
  .ct-info-label     { font-size: 9px; letter-spacing: 2.5px; }
  .ct-email-link     { font-size: 11px; }
  .ct-email-note     { font-size: 11px; }
  .ct-social-link    { font-size: 13px; gap: 10px; }
  .ct-location       { font-size: 9px; letter-spacing: 1px; }
  .ct-copy-btn       { width: 26px; height: 26px; }

  /* Success / error messages */
  .ct-success, .ct-error { font-size: 12.5px; padding: 12px 14px; }
}

/* ═══════════════════
   SMALL PHONES: 375px
═══════════════════ */
@media (max-width: 375px) {
  .ct-inner       { padding: 0 14px; }
  .ct-hero-title  { font-size: 34px; letter-spacing: -1px; }
  .ct-hero-sub    { font-size: 13px; }

  .ct-col-title   { font-size: 18px; }
  .ct-input       { padding: 12px 12px; font-size: 13.5px; }
  .ct-textarea    { min-height: 110px; }
  .ct-submit      { font-size: 10px; letter-spacing: 1px; padding: 13px 14px; }

  .ct-info-primary  { padding: 16px; }
  .ct-calendly-btn  { font-size: 10px; padding: 12px 14px; }
  .ct-info-title    { font-size: 15px; }
  .ct-email-link    { font-size: 10.5px; }
  .ct-social-link   { font-size: 12.5px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  .nav-mobile-cta { display: none; }
}