:root {
  --iv-navy: #0B2545;
  --iv-navy-deep: #071a33;
  --iv-slate: #13315C;
  --iv-accent: #E31E24;
  --iv-accent-hover: #b8181d;
  --iv-ink: #1a1a1a;
  --iv-muted: #5a6473;
  --iv-line: #e5e7eb;
  --iv-bg-alt: #f7f8fa;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--iv-ink);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--iv-navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.25rem; }

a { color: var(--iv-slate); text-decoration: none; }
a:hover { color: var(--iv-accent); }

/* Navbar */
.navbar-iv {
  background: var(--iv-navy);
  transition: padding 0.2s ease, background 0.2s ease;
  padding: 1rem 0;
  border-bottom: 3px solid var(--iv-accent);
}
.navbar-iv.scrolled { padding: 0.5rem 0; }
.navbar-iv .navbar-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}
.navbar-iv .navbar-brand .brand-dot { color: var(--iv-accent); }
.navbar-iv .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}
.navbar-iv .nav-link:hover,
.navbar-iv .nav-link.active { color: var(--iv-accent); }
.navbar-iv .btn-quote {
  background: var(--iv-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
}
.navbar-iv .btn-quote:hover { background: var(--iv-accent-hover); color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Utility call band above navbar */
.topbar {
  background: var(--iv-navy-deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 0.4rem 0;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--iv-accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--iv-navy) 0%, var(--iv-slate) 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--iv-accent);
}
.hero h1 { color: #fff; }
.hero .lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 40rem;
}
.hero .hero-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--iv-accent);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn-accent {
  background: var(--iv-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}
.btn-accent:hover { background: var(--iv-accent-hover); color: #fff; }
.btn-outline-light-iv {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}
.btn-outline-light-iv:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

/* Sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--iv-bg-alt); }
.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--iv-accent);
  margin-bottom: 0.5rem;
}

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: var(--iv-accent);
  transform: translateY(-2px);
}
.service-card .icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,37,69,0.06);
  color: var(--iv-navy);
  border-radius: 6px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--iv-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Feature list with checkmarks */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--iv-line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--iv-accent);
  mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M13.854 3.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 9.793l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M13.854 3.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 9.793l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") no-repeat center / contain;
}

/* CTA band */
.cta-band {
  background: var(--iv-navy);
  color: #fff;
  padding: 3.5rem 0;
  border-top: 3px solid var(--iv-accent);
}
.cta-band h2 { color: #fff; }

/* Partner strip */
.partner-strip {
  border-top: 1px solid var(--iv-line);
  border-bottom: 1px solid var(--iv-line);
  padding: 1.5rem 0;
  background: #fff;
}
.partner-strip .label {
  color: var(--iv-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.partner-strip .partners {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.partner-strip .partner {
  color: var(--iv-navy);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  opacity: 0.75;
}

/* Footer */
footer.site {
  background: var(--iv-navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.25rem;
  font-size: 0.925rem;
}
footer.site h5 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
footer.site a { color: rgba(255,255,255,0.85); }
footer.site a:hover { color: var(--iv-accent); }
footer.site .copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
}

/* Page header (non-home hero) */
.page-header {
  background: var(--iv-navy);
  color: #fff;
  padding: 3.5rem 0 2.75rem;
  border-bottom: 3px solid var(--iv-accent);
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.page-header .crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.page-header .crumbs a { color: rgba(255,255,255,0.85); }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 6px;
  padding: 2rem;
}
.form-control, .form-select {
  border-radius: 4px;
  border-color: var(--iv-line);
  padding: 0.625rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--iv-accent);
  box-shadow: 0 0 0 0.2rem rgba(240,128,60,0.15);
}
label.form-label { font-weight: 600; font-size: 0.9rem; color: var(--iv-navy); }

/* Info blocks */
.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--iv-line);
}
.info-block:last-child { border-bottom: none; }
.info-block .ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--iv-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.info-block .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--iv-muted);
  font-weight: 600;
}
.info-block .value { color: var(--iv-ink); font-weight: 500; }

/* Small helpers */
.text-muted-iv { color: var(--iv-muted) !important; }
.border-accent { border-top: 3px solid var(--iv-accent) !important; }
.lead-xl { font-size: 1.2rem; color: var(--iv-muted); }

/* Brand logo (nav + footer) — sits on a white chip so the gray+red logo reads on any background */
.navbar-iv .navbar-brand.has-logo {
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
}
.navbar-iv .navbar-brand.has-logo img {
  height: 36px;
  display: block;
}
footer.site .brand-logo-chip {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 1rem;
  line-height: 0;
}
footer.site .brand-logo-chip img {
  height: 48px;
  display: block;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3rem 0; }
  .topbar .d-none-mobile { display: none; }
  .navbar-iv .navbar-brand.has-logo img { height: 30px; }
}
