/* ---------- Design tokens ---------- */
:root {
  --navy-950: #0a1a2f;
  --navy-900: #0e2340;
  --navy-800: #163356;
  --navy-700: #1f4370;
  --navy-100: #e6ecf3;
  --navy-50: #f3f6fa;

  --charcoal-900: #1c1e22;
  --charcoal-700: #363a41;
  --charcoal-500: #5b6068;
  --charcoal-300: #9298a1;

  --maple-700: #a11d2c;
  --maple-600: #b8202f;
  --maple-500: #c8283a;
  --maple-100: #f7e3e2;
  --maple-50: #fbf0ef;

  --cream-50: #faf9f6;
  --cream-100: #f4f2ec;
  --border-soft: #e6e2d8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--charcoal-900);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-heading {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout helpers ---------- */
.container-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container-page { padding: 0 32px; } }
@media (min-width: 1024px) { .container-page { padding: 0 48px; } }

.section-pad { padding: 72px 0; }
@media (min-width: 1024px) { .section-pad { padding: 100px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--maple-600); color: #fff; }
.btn-primary:hover { background: var(--maple-700); }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); }
.btn-block { width: 100%; }

/* ---------- Typography accents ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maple-600);
}

.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: var(--maple-600);
  transition: width 0.25s ease;
}
.link-underline:hover::after { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,246,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-soft);
}
.top-bar {
  background: var(--navy-950);
  color: #cfd9e6;
  font-size: 12.5px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal-700);
  padding: 8px 2px;
}
.nav-link:hover, .nav-link.active { color: var(--maple-600); }

.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ---------- Cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(14,35,64,0.28);
  border-color: #d8d3c5;
}
.service-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy-100);
}
.service-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img-wrap img { transform: scale(1.06); }
.service-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,26,47,0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 2px;
}
.service-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-950);
  margin: 0 0 8px;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 14px;
  color: var(--charcoal-500);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.service-card-cta {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maple-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card-link { display: block; height: 100%; }
.service-card-link:focus-visible .service-card {
  outline: 2px solid var(--maple-600);
  outline-offset: 2px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 28px 24px;
}

.tag-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--charcoal-700);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tag-chip:hover { border-color: var(--navy-700); }
.tag-chip.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out both; }
.fade-up-d1 { animation-delay: .05s; }
.fade-up-d2 { animation-delay: .1s; }
.fade-up-d3 { animation-delay: .15s; }
.fade-up-d4 { animation-delay: .2s; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.hero-overlay {
  background: linear-gradient(100deg, rgba(8,18,32,0.88) 0%, rgba(8,18,32,0.68) 45%, rgba(8,18,32,0.42) 100%);
}
.hero-bg-img {
  filter: brightness(0.85) saturate(1);
}
.divider-maple { width: 56px; height: 3px; background: var(--maple-600); }

.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.chev { transition: transform 0.2s ease; }

.skeleton-card { background: linear-gradient(90deg,#eee,#f5f5f5,#eee); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.breadcrumb a:hover { color: var(--maple-600); }

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-point svg { color: var(--maple-600); flex-shrink: 0; }

::selection { background: var(--maple-100); }
