/* ═══════════════════════════════════════
   TOKENS
═══════════════════════════════════════ */
:root {
  --bg-base:    #0B0A11;
  --bg-surface: #121019;
  --bg-raised:  #1A1724;
  --bg-card:    #1E1B2C;
  --border:     rgba(139,116,199,0.15);
  --border-h:   rgba(139,116,199,0.32);
  --purple:     #8B74C7;
  --gold:       #E6AA5A;
  --rose:       #C46F6E;
  --text-hi:    #ffffff;
  --text-md:    #8E879A;
  --text-lo:    #7a6ea8;
  --green:      #6ce89a;
  --grad:       linear-gradient(135deg,#E6AA5A 0%,#8B74C7 55%,#C46F6E 100%);
}

/* ═══════════════════════════════════════
   PAGE SHELL
═══════════════════════════════════════ */
.contact-page {
  background: var(--bg-base);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin-top: -140px;   /* tuck the page (and its hero) up behind the transparent sticky header */
}

/* Ambient background orbs */
.contact-page::before,
.contact-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact-page::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,116,199,0.13) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: orbDrift 12s ease-in-out infinite;
}
.contact-page::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,111,110,0.08) 0%, transparent 65%);
  bottom: 100px; left: -120px;
  animation: orbDrift 16s ease-in-out 4s infinite reverse;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-16px,14px) scale(1.05); }
  66%     { transform: translate(12px,-10px) scale(0.97); }
}

/* Subtle grid */
.contact-page .grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(139,116,199,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,116,199,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 100%);
}

/* ═══════════════════════════════════════
   HERO STRIP
═══════════════════════════════════════ */
.contact-hero {
  position: relative; z-index: 2;
  padding: 100px 0 80px;
}
.contact-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,116,199,0.10);
  border: 1px solid rgba(139,116,199,0.22);
  border-radius: 50px; padding: 5px 16px 5px 8px;
  margin-bottom: 20px;
  animation: riseIn 0.7s cubic-bezier(.22,.68,0,1.2) 0.1s both;
}
.contact-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 8px rgba(139,116,199,0.6);
  animation: blinkDot 2.4s ease-in-out infinite;
}
@keyframes blinkDot {
  0%,100% { opacity:1; } 50% { opacity:0.35; }
}
.contact-eyebrow span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-lo);
  font-family: 'Urbanist', sans-serif;
}
.contact-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; line-height: 1.06;
  letter-spacing: -0.035em; color: var(--text-hi);
  margin-bottom: 16px;
  font-family: 'Urbanist', sans-serif;
  animation: riseIn 0.75s cubic-bezier(.22,.68,0,1.2) 0.17s both;
}
.contact-headline .g {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradShift 5s ease infinite;
  font-size: 42px;
  display: inline-block;
  padding-bottom: 8px;
  line-height: 1.15;
}
@keyframes gradShift {
  0%,100% { background-position: 0% center; }
  50%     { background-position: 100% center; }
}
.contact-sub {
  font-size: 16px; line-height: 1.72; color: var(--text-lo);
  max-width: 440px;
  font-family: 'Urbanist', sans-serif;
  animation: riseIn 0.75s cubic-bezier(.22,.68,0,1.2) 0.24s both;
}

@keyframes riseIn {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ═══════════════════════════════════════
   MAIN SPLIT LAYOUT
═══════════════════════════════════════ */
.contact-split {
  position: relative; z-index: 2;
  padding: 0 0 120px;
}
.contact-left {
  padding-right: 40px;
  animation: riseIn 0.8s cubic-bezier(.22,.68,0,1.1) 0.3s both;
}
.contact-right {
  animation: slideInRight 0.8s cubic-bezier(.22,.68,0,1.1) 0.22s both;
}
@keyframes slideInRight {
  from { opacity:0; transform:translateX(28px); }
  to   { opacity:1; transform:translateX(0); }
}

/* ═══════════════════════════════════════
   LEFT — INFO CARDS
═══════════════════════════════════════ */
.info-section-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--purple);
  margin-bottom: 28px;
  font-family: 'Urbanist', sans-serif;
}

.info-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 22px 22px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(.22,.68,0,1.3);
  cursor: default; position: relative; overflow: hidden;
}
.info-card::before {
  content:''; position:absolute; top:0; left:15%; right:15%; height:1px;
  background: linear-gradient(90deg,transparent,rgba(139,116,199,0.35),transparent);
  opacity:0; transition: opacity 0.3s;
}
.info-card:hover { border-color:var(--border-h); box-shadow:0 16px 48px rgba(0,0,0,0.35); transform:translateY(-2px); }
.info-card:hover::before { opacity:1; }

.info-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(139,116,199,0.12); border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.5), background 0.3s, border-color 0.3s;
}
.info-icon svg { color: var(--purple); transition: color 0.3s, transform 0.35s cubic-bezier(.22,.68,0,1.5); }
.info-card:hover .info-icon { transform: scale(1.12) rotate(-6deg); background:rgba(139,116,199,0.24); border-color: rgba(139,116,199,0.32); }
.info-card:hover .info-icon svg { color: #b0b5e8; }
.info-text-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-lo); margin-bottom: 5px;
  font-family: 'Urbanist', sans-serif;
}
.info-text-value {
  font-size: 14.5px; font-weight: 600; color: var(--text-hi); line-height: 1.5;
  font-family: 'Urbanist', sans-serif;
}
.info-text-value a {
  color: var(--text-hi); text-decoration: none;
  transition: color 0.2s;
}
.info-text-value a:hover { color: var(--text-md); }

/* Social row */
.social-row { display:flex; gap:10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-raised); border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; color: var(--text-lo); font-size: 16px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, color 0.25s;
}
.social-btn:hover { border-color:var(--border-h); background:var(--bg-card); color:var(--text-hi); transform:translateY(-2px); }

/* Quick links */
.quick-links { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.quick-link {
  display:flex; align-items:center; gap:10px;
  font-size: 13.5px; font-weight: 600; color: var(--text-lo);
  text-decoration:none; padding: 12px 16px;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
}
.quick-link:hover { border-color:var(--border-h); color:var(--text-hi); background:var(--bg-card); transform:translateX(4px); }
.quick-link svg { transition: transform 0.2s; flex-shrink:0; }
.quick-link:hover svg { transform:translateX(3px); }
.quick-link-icon { display:flex; align-items:center; justify-content:center; width:18px; height:18px; flex-shrink:0; }
.quick-link-icon svg { color: var(--text-lo); transition: color 0.25s, transform 0.3s cubic-bezier(.22,.68,0,1.5); }
.quick-link:hover .quick-link-icon svg { color: var(--purple); transform: scale(1.2) rotate(-8deg); }

/* ═══════════════════════════════════════
   RIGHT — FORM CARD
═══════════════════════════════════════ */
.contact-form-card {
  background: rgba(22,19,48,0.90);
  border: 1px solid rgba(139,116,199,0.22);
  border-radius: 28px; padding: 44px 42px;
  backdrop-filter: blur(24px);
  box-shadow:
    0 32px 90px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,255,255,0.045),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  position: relative;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.contact-form-card:hover {
  border-color: rgba(139,116,199,0.32);
  box-shadow: 0 38px 100px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
}
/* Top glow line */
.contact-form-card::before {
  content:''; position:absolute; top:0; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg,transparent,rgba(139,116,199,0.55),transparent);
  animation: glowLine 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowLine {
  0%,100% { opacity:0.4; } 50% { opacity:1; }
}

.form-card-title {
  font-size: 22px; font-weight: 500; color: var(--text-hi);
  margin-bottom: 6px; letter-spacing: -0.02em;
  font-family: 'Urbanist', sans-serif;
}
.form-card-sub {
  font-size: 14px; color: var(--text-lo); line-height: 1.6;
  margin-bottom: 32px;
  font-family: 'Urbanist', sans-serif;
}

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:18px; }

.form-label {
  display:block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-lo); margin-bottom: 8px;
  font-family: 'Urbanist', sans-serif;
}

.form-control-dark {
  width:100%; background: rgba(15,10,30,0.6);
  border: 1px solid rgba(139,116,199,0.18);
  border-radius: 12px; padding: 13px 16px;
  font-size: 14px; color: var(--text-hi);
  font-family: 'Urbanist', sans-serif;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}
.form-control-dark::placeholder { color: rgba(122,110,168,0.6); }
.form-control-dark:focus {
  border-color: var(--purple);
  background: rgba(139,116,199,0.08);
  box-shadow: 0 0 0 3px rgba(139,116,199,0.12);
}
textarea.form-control-dark { resize: vertical; min-height: 120px; }
/* ── Custom themed dropdown ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dropIn { from { opacity:0; transform:translateY(-8px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }

.csd-wrap { position: relative; }

.csd-trigger {
  width: 100%; background: rgba(15,10,30,0.6);
  border: 1px solid rgba(139,116,199,0.18);
  border-radius: 12px; padding: 13px 44px 13px 16px;
  font-size: 14px; font-family: 'Urbanist', sans-serif;
  color: rgba(122,110,168,0.7);
  cursor: pointer; user-select: none;
  display: flex; align-items: center;
  transition: border-color .25s, background .25s, box-shadow .25s;
  position: relative;
}
.csd-trigger.has-value { color: var(--text-hi); }
.csd-trigger::after {
  content: '';
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(139,116,199,0.55);
  transition: transform .25s, border-top-color .25s;
}
.csd-wrap.open .csd-trigger {
  border-color: var(--purple);
  background: rgba(139,116,199,0.08);
  box-shadow: 0 0 0 3px rgba(139,116,199,0.12);
}
.csd-wrap.open .csd-trigger::after {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: var(--purple);
}

.csd-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 999;
  background: #1A1724;
  border: 1px solid rgba(139,116,199,0.28);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  animation: dropIn .2s cubic-bezier(.22,.68,0,1.2) both;
}
.csd-wrap.open .csd-menu { display: block; }

.csd-option {
  padding: 12px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-md); font-family: 'Urbanist', sans-serif;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(139,116,199,0.07);
  transition: background .15s, color .15s, padding-left .15s;
}
.csd-option:last-child { border-bottom: none; }
.csd-option:hover { background: rgba(139,116,199,0.14); color: var(--text-hi); padding-left: 24px; }
.csd-option.active { color: var(--text-hi); background: rgba(139,116,199,0.10); }
.csd-option.active::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); flex-shrink: 0;
}
.csd-option:not(.active)::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; }

/* hidden real input carries the value */
input.csd-input { display: none; }

/* Interest tags */
.interest-tags { display:flex; flex-wrap:wrap; gap:8px; }
.interest-tag {
  display:flex; align-items:center; gap:6px;
  font-size: 12px; font-weight: 600; color: var(--text-lo);
  background: rgba(139,116,199,0.08); border: 1px solid var(--border);
  border-radius: 50px; padding: 7px 14px;
  cursor: pointer; user-select:none;
  transition: all 0.2s;
  font-family: 'Urbanist', sans-serif;
}
.interest-tag:hover,
.interest-tag.selected {
  background: rgba(139,116,199,0.22);
  border-color: var(--purple);
  color: var(--text-hi);
}
.interest-tag input { display:none; }

/* Submit button */
.btn-submit {
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  background: linear-gradient(135deg,#8B74C7,#4a4e8a);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 16px 28px; border-radius: 14px;
  border: none; cursor:pointer;
  box-shadow: 0 4px 28px rgba(139,116,199,0.40);
  font-family: 'Urbanist', sans-serif;
  transition: transform 0.25s cubic-bezier(.22,.68,0,1.2), box-shadow 0.25s;
  position: relative; overflow: hidden; margin-top: 8px;
}
.btn-submit::after {
  content:''; position:absolute; top:0; left:-75%; width:50%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.10),transparent);
  transform:skewX(-18deg); transition: left 0.5s;
}
.btn-submit:hover::after { left:130%; }
.btn-submit:hover { transform:translateY(-2px) scale(1.01); box-shadow:0 10px 36px rgba(139,116,199,0.55); }
.btn-submit svg { transition: transform 0.2s; }
.btn-submit:hover svg { transform:translateX(3px); }
.btn-submit:disabled { opacity:0.6; cursor:not-allowed; transform:none; }

.form-disclaimer {
  font-size: 11.5px; color: var(--text-lo); text-align:center;
  margin-top: 14px; line-height: 1.6;
  font-family: 'Urbanist', sans-serif;
}
.form-disclaimer a { color: var(--purple); text-decoration:none; }
.form-disclaimer a:hover { text-decoration:underline; }

/* Success state */
.form-success {
  display:none; text-align:center; padding: 32px 16px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(108,232,154,0.12); border: 1px solid rgba(108,232,154,0.25);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 20px;
  animation: successPop 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
.success-icon svg { color: var(--green); }
@keyframes successPop {
  from { transform:scale(0); opacity:0; }
  to   { transform:scale(1); opacity:1; }
}
.success-title { font-size:22px; font-weight:800; color:var(--text-hi); margin-bottom:10px; font-family:'Urbanist',sans-serif; }
.success-sub   { font-size:14px; color:var(--text-lo); line-height:1.65; font-family:'Urbanist',sans-serif; }

/* ═══════════════════════════════════════
   BOTTOM STRIP — MAP / ADDRESS DETAIL
═══════════════════════════════════════ */
.contact-bottom {
  position:relative; z-index:2;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.bottom-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:1px; background:var(--border); border-radius:20px; overflow:hidden; }
.bottom-cell { background:var(--bg-raised); padding:32px 28px; }
.bottom-cell-label { font-size:10px; font-weight:700; letter-spacing:0.10em; text-transform:uppercase; color:var(--text-lo); margin-bottom:12px; font-family:'Urbanist',sans-serif; display:flex; align-items:center; gap:7px; }
.bc-icon { width:14px; height:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.bc-icon svg { color: var(--purple); }
@keyframes bcPinBounce { 0%,100%{transform:translateY(0);} 40%{transform:translateY(-4px);} 70%{transform:translateY(-2px);} }
@keyframes bcGlobeSpin  { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
@keyframes bcBoltFlash  { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.bc-pin svg  { animation: bcPinBounce 3s ease-in-out infinite; }
.bc-globe svg { animation: bcGlobeSpin 8s linear infinite; }
.bc-bolt svg  { animation: bcBoltFlash 2s ease-in-out infinite; }
.bottom-cell-value { font-size:14.5px; font-weight:600; color:var(--text-hi); line-height:1.6; font-family:'Urbanist',sans-serif; }
.bottom-cell-value a { color:var(--text-hi); text-decoration:none; }
.bottom-cell-value a:hover { color:var(--text-md); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width:991px) {
  .contact-hero { padding:80px 0 50px; }
  .contact-left { padding-right:0; margin-bottom:36px; }
  .contact-form-card { padding:32px 26px; }
  .form-row { grid-template-columns:1fr; }
  .bottom-grid { grid-template-columns:1fr; }
}
@media (max-width:575px) {
  .contact-headline { font-size:34px; }
  .contact-form-card { padding:28px 20px; }
}
