/* ═══════════════════════════════════════════════════════════════
   VALOR PERKS — css/contact.css
   FULLY SELF-CONTAINED
   Theme: dark purple bg · glass cards · interest pills · orange CTA
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Dark purple palette (Figma) */
  --bg:         #100828;
  --bg-mid:     #180f38;
  --surface-1:  rgba(255,255,255,0.05);
  --surface-2:  rgba(255,255,255,0.08);
  --surface-3:  rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.10);
  --glass-border-bright: rgba(255,255,255,0.18);

  /* Accents */
  --orange:      #f97316;
  --orange-hover:#ea6c12;
  --orange-light:rgba(249,115,22,0.12);
  --purple-400:  #a78bfa;
  --purple-600:  #7c3aed;
  --blue:        #3b82f6;
  --blue-light:  rgba(59,130,246,0.12);
  --emerald:     #10b981;
  --emerald-light:rgba(16,185,129,0.10);
  --red:         #ef4444;

  /* Text */
  --t-primary:   rgba(255,255,255,0.92);
  --t-secondary: rgba(255,255,255,0.60);
  --t-muted:     rgba(255,255,255,0.35);
  --t-faint:     rgba(255,255,255,0.18);

  /* Radii */
  --r-sm:6px; --r-md:12px; --r-lg:18px; --r-xl:24px;
  --r-2xl:32px; --r-pill:999px;

  /* Spacing */
  --s-4:4px; --s-6:6px; --s-8:8px; --s-10:10px; --s-12:12px;
  --s-14:14px; --s-16:16px; --s-18:18px; --s-20:20px; --s-24:24px;
  --s-28:28px; --s-32:32px; --s-40:40px; --s-48:48px; --s-56:56px;
  --s-64:64px; --s-80:80px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(124,58,237,0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(249,115,22,0.08) 0%, transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--t-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16,8,40,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-24);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img { height: 26px; width: auto; }

.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--t-primary);
  letter-spacing: -0.02em;
}

.nav-logo-wordmark span { color: var(--purple-400); }

/* Utility buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-primary { background: var(--orange); color: #fff; padding: 10px 22px; border-color: transparent; }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 4px 20px rgba(249,115,22,0.30); }

.btn-ghost {
  background: var(--surface-1);
  color: var(--t-secondary);
  border-color: var(--glass-border);
  padding: 10px 18px;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--t-primary); }

.btn-sm  { font-size: 13px; padding: 7px 14px; }
.btn-lg  { font-size: 15px; padding: 13px 26px; }
.btn-full{ width: 100%; }

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-400);
  background: rgba(167,139,250,0.10);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(167,139,250,0.20);
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-24); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.contact-hero {
  padding: var(--s-64) var(--s-24) var(--s-56);
  text-align: center;
  position: relative;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--t-primary);
  margin-bottom: var(--s-12);
  line-height: 1.05;
}

.contact-hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.contact-hero p {
  font-size: 16px;
  color: var(--t-secondary);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE LAYOUT
   ══════════════════════════════════════════════════════════════ */
.contact-page {
  min-height: 100svh;
  padding-bottom: var(--s-80);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--s-24);
  align-items: start;
  padding: 0 var(--s-24) var(--s-40);
  max-width: 1200px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   MAIN FORM CARD (Figma left panel)
   ══════════════════════════════════════════════════════════════ */
.contact-form-card {
  background: var(--surface-1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  padding: var(--s-40);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-600), var(--orange));
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--t-primary);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-8);
}

.contact-form-sub {
  font-size: 13px;
  color: var(--t-muted);
  margin-bottom: var(--s-32);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--t-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-label .required {
  color: var(--orange);
  margin-left: 3px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-md);
  color: var(--t-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--t-muted); }

.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: rgba(255,255,255,0.08);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

select.form-input { cursor: pointer; }
select.form-input option { background: #1a0f3e; color: #fff; }

/* ── Interest pills (Figma "I'm interested in..." section) ── */
.interest-section {
  margin-top: var(--s-4);
}

.interest-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--t-secondary);
  margin-bottom: var(--s-12);
}

.interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
}

.interest-pill {
  padding: 8px 16px;
  background: var(--surface-1);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--t-secondary);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.interest-pill:hover {
  border-color: var(--purple-400);
  color: var(--t-primary);
  background: rgba(167,139,250,0.08);
}

.interest-pill.active {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,58,237,0.30);
}

/* Budget pills */
.budget-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
}

.budget-pill {
  padding: 8px 16px;
  background: var(--surface-1);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--t-muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.budget-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}

.budget-pill.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── Submit button — orange CTA ── */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  border: none;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-10);
}

.btn-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(249,115,22,0.35);
}

.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Form error/success */
.form-error {
  font-size: 13px;
  color: #f87171;
  line-height: 1.5;
  display: none;
}
.form-error.visible { display: block; }

/* Success state */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-48) var(--s-40);
  gap: var(--s-16);
}

.contact-success-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--emerald-light);
  border: 2px solid rgba(16,185,129,0.30);
  display: grid;
  place-items: center;
  color: var(--emerald);
}

.contact-success h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--t-primary);
}

.contact-success p {
  font-size: 14px;
  color: var(--t-secondary);
  line-height: 1.7;
  max-width: 360px;
}

/* ══════════════════════════════════════════════════════════════
   RIGHT SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  position: sticky;
  top: var(--s-24);
}

/* Contact info card */
.contact-info-card {
  background: var(--surface-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-xl);
  padding: var(--s-24);
}

.contact-info-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-muted);
  margin-bottom: var(--s-16);
}

.contact-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--t-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-20);
}

.contact-brand-name span { color: var(--orange); }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--s-12);
  padding: var(--s-10) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-method:last-of-type { border-bottom: none; }

.contact-method-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface-1);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--t-muted);
  flex-shrink: 0;
}

.contact-method-icon svg { width: 14px; height: 14px; }

.contact-method-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 3px;
}

.contact-method-val {
  font-size: 13px;
  color: var(--t-secondary);
  font-weight: 500;
}

.contact-method-sub {
  font-size: 11px;
  color: var(--t-muted);
  margin-top: 2px;
}

.contact-tagline {
  font-size: 12px;
  color: var(--t-muted);
  line-height: 1.6;
  margin-top: var(--s-16);
  padding-top: var(--s-16);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* City photo card */
.contact-photo-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 200px;
}

.contact-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-photo-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-600), #1a56db);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* Quick links */
.contact-quick-links {
  background: var(--surface-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--s-20);
}

.contact-quick-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-muted);
  margin-bottom: var(--s-14);
}

.contact-quick-link {
  display: flex;
  align-items: center;
  gap: var(--s-10);
  padding: 9px var(--s-10);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--t-secondary);
  transition: all 0.12s;
  margin-bottom: var(--s-4);
}

.contact-quick-link:hover {
  background: var(--surface-2);
  color: var(--t-primary);
}

/* ══════════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--s-24);
  right: var(--s-20);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  background: rgba(26,8,60,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-lg);
  padding: var(--s-12) var(--s-16);
  font-size: 13px;
  color: var(--t-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  pointer-events: auto;
  cursor: pointer;
  animation: toast-in 0.25s ease forwards;
}

.toast--success { border-left: 3px solid var(--emerald); }
.toast--error   { border-left: 3px solid var(--red); }
.toast--info    { border-left: 3px solid var(--purple-400); }
.toast.hiding   { animation: toast-out 0.25s ease forwards; }

@keyframes toast-in  { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes toast-out { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(8px); } }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  margin-top: var(--s-40);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--s-24) 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-8);
  text-align: center;
}

.footer-bottom p { font-size: 12px; color: var(--t-faint); }

.footer-agency {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  font-size: 12px;
  color: var(--t-faint);
  text-decoration: none;
  transition: color 0.12s;
}

.footer-agency:hover { color: var(--purple-400); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; padding: 0 var(--s-16) var(--s-40); }
  .contact-right { position: static; }
  .contact-photo-card { height: 160px; }
}

@media (max-width: 640px) {
  .contact-hero { padding: var(--s-40) var(--s-16) var(--s-32); }
  .contact-form-card { padding: var(--s-24) var(--s-20); border-radius: var(--r-xl); }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card { padding: var(--s-20); }
}