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

:root {
  --blue: #2563EB;
  --blue-dark: #1d4ed8;
  --ink: #0D0D0D;
  --ink-mid: #3A3A3A;
  --muted: #6B7280;
  --border: #E3E3DF;
  --bg: #ffffff;
  --bg-soft: #F6F5F2;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

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

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ── TYPOGRAPHY ── */
.syne {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; max-width: 1080px; margin: 0 auto; padding: 0 28px;
}

.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 800;
  color: var(--ink); text-decoration: none; letter-spacing: -0.025em;
}
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-mid);
  text-decoration: none; padding: 7px 12px; border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta {
  background: transparent !important;
  color: var(--blue) !important;
  border: 1.5px solid var(--blue) !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--blue) !important;
  color: white !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 600;
  padding: 13px 28px; border-radius: 9px; transition: opacity 0.15s, border-color 0.15s;
}
.btn-solid { background: var(--ink); color: white; }
.btn-solid:hover { opacity: 0.8; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 52px 28px; text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 800;
  color: white; letter-spacing: -0.025em; margin-bottom: 16px;
  display: block; text-decoration: none;
}
.footer-logo span { color: var(--blue); }
.footer-links {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-links a {
  font-size: 0.8125rem; color: #555; text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 0.75rem; color: #3A3A3A; }

/* ── CONTACT FORM (shared) ── */
.contact-form {
  max-width: 520px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-mid); }
.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 13px; outline: none;
  transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }
.form-group textarea { min-height: 116px; }
.form-submit { width: 100%; padding: 13px; margin-top: 4px; }
.form-success {
  display: none; background: #f0fdf4; color: #16a34a; border-radius: 9px;
  padding: 15px; font-size: 0.9375rem; font-weight: 600; text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
