@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo: #635BFF;
  --indigo-dark: #4F46E5;
  --indigo-light: #EEF2FF;
  --teal: #00D4AA;
  --teal-light: #E6FBF6;
  --navy: #0A2540;
  --navy-mid: #1A3A5C;
  --text: #425466;
  --text-light: #697386;
  --border: #E3E8EE;
  --bg: #FFFFFF;
  --bg-off: #F6F9FC;
  --bg-subtle: #FAFBFC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--indigo); }
.nav-link--active { color: var(--indigo); }
.nav-cta {
  background: var(--indigo);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--indigo-dark); transform: translateY(-1px); }

/* ── Hero ── */
.contact-hero {
  padding: 72px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(99,91,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 16px;
}
.contact-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Form section ── */
.contact-section {
  padding: 40px 24px 96px;
  background: var(--bg);
}
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(10,37,64,0.06);
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.form-field input,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: var(--bg);
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--indigo); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #B0BAC8; }
.form-field textarea {
  min-height: 120px;
  line-height: 1.6;
}

/* honeypot — visually hidden, never shown to humans */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(99,91,255,0.35);
  width: 100%;
  margin-top: 4px;
}
.btn-send:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,91,255,0.45);
}
.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Success message ── */
.contact-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--teal-light);
  border: 1.5px solid rgba(0,212,170,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 4px;
}
.contact-success.is-visible { display: flex; }
.contact-success svg { flex-shrink: 0; }
.contact-success span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── Prefer email line ── */
.contact-email-fallback {
  text-align: center;
  margin-top: 20px;
  font-size: 0.825rem;
  color: var(--text-light);
}
.contact-email-fallback a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
}
.contact-email-fallback a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  background: var(--bg-subtle);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.825rem;
  color: var(--text-light);
}
.footer-link {
  font-size: 0.825rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--indigo); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .contact-hero { padding: 52px 20px 36px; }
  .contact-section { padding: 28px 20px 72px; }
  .contact-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
