/* ─── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1B2A4A;
  --blue:   #2E6FD8;
  --blue-light: #EBF2FF;
  --bg:     #ffffff;
  --gray:   #F8F9FA;
  --gray-2: #F1F3F5;
  --gray-3: #E9ECEF;
  --text:   #1A1A2E;
  --muted:  #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.04);
  --transition: 180ms ease;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout helpers ───────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ─── Typography ───────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); }
h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
p  { color: var(--muted); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading h2 { margin-bottom: 12px; }
.section-heading p  { font-size: 1.0625rem; max-width: 540px; margin: 0 auto; }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: #14213a;
  border-color: #14213a;
  box-shadow: 0 4px 14px rgba(27,42,74,.30);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: #2460bf;
  border-color: #2460bf;
  box-shadow: 0 4px 14px rgba(46,111,216,.35);
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ─── Mobile nav ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 1rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar { position: sticky; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  background: linear-gradient(160deg, #ffffff 0%, #F4F7FF 55%, #EBF2FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(46,111,216,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(27,42,74,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero h1 { margin-bottom: 20px; }
.hero .subline {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ─── Steps section ────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.9375rem; }

/* connector line between steps */
.steps-grid .step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -13px;
  width: 26px;
  height: 2px;
  background: var(--gray-3);
  z-index: 1;
}

/* ─── Values / columns ─────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px 24px;
  background: var(--gray);
  border-radius: var(--radius);
  border: 1px solid var(--gray-3);
}

.value-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 10px;
  color: var(--blue);
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 0.9375rem; }

/* ─── Cities section ───────────────────────────────────────────────────────── */
.cities-section { background: var(--gray); }

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.city-pill::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.form-section { background: var(--gray); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}

.form-card h2 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 32px; font-size: 0.9375rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,111,216,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-msg.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.form-msg.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.required-note { font-size: 0.8125rem; color: var(--muted); margin-bottom: 24px; }

/* ─── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  padding: 72px 0 64px;
  background: linear-gradient(160deg, #ffffff 0%, #F4F7FF 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { max-width: 720px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .subline {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Contact page ─────────────────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 12px; }
.contact-info p { font-size: 0.9375rem; margin-bottom: 24px; }
.contact-info a { color: var(--blue); font-weight: 500; }

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
}

/* ─── Legal pages ──────────────────────────────────────────────────────────── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-content h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal-content h3 { font-size: 1.0625rem; margin: 28px 0 8px; }
.legal-content p  { color: var(--text); margin-bottom: 16px; font-size: 0.9375rem; line-height: 1.75; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content li { color: var(--text); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 6px; }
.legal-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 32px;
}

.footer-brand .nav-logo { color: #fff; font-size: 1.125rem; }
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
  margin-top: 8px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.footer-nav a {
  color: rgba(255,255,255,0.60);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

.footer-legal {
  text-align: right;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: #fff; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin: 28px 0 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Highlight band ───────────────────────────────────────────────────────── */
.highlight-band {
  background: linear-gradient(135deg, var(--navy) 0%, #243b6e 100%);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.highlight-band h2 { color: #fff; margin-bottom: 12px; }
.highlight-band p { color: rgba(255,255,255,0.70); max-width: 480px; margin: 0 auto 32px; }

/* ─── 404 ──────────────────────────────────────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 24px;
}
.not-found .code { font-size: 6rem; font-weight: 800; color: var(--gray-3); line-height: 1; }
.not-found h1 { font-size: 1.75rem; margin: 16px 0 8px; }
.not-found p { margin-bottom: 28px; }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .steps-grid,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid .step-card:not(:last-child)::after { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { text-align: left; }
  .footer-legal-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 72px 0 64px; }
  .steps-grid,
  .values-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .footer-legal-links { justify-content: flex-start; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
