/* ============================================================
   VIGIVANCE — Design Tokens
   ============================================================ */
:root {
  --navy: #0F1F3D;
  --navy-deep: #081227;
  --navy-soft: #16294D;
  --blue: #1E5FBF;
  --blue-light: #4A90D9;
  --ice: #CADCFC;
  --white: #FFFFFF;
  --offwhite: #F5F7FB;
  --signal: #E8A33D;
  --text-dark: #1A2233;
  --text-muted: #5B6472;
  --border: #E3E8F0;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px -12px rgba(15, 31, 61, 0.18);
  --shadow-sm: 0 4px 16px -4px rgba(15, 31, 61, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white);
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

:focus-visible {
  outline: 2.5px solid var(--signal);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.6em;
}
.eyebrow--light { color: var(--blue-light); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.18s ease; text-decoration: none;
}
.btn-signal { background: var(--blue); color: var(--white); }
.btn-signal:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline-navy:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 31, 61, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.4);
}
.site-header.is-scrolled .site-header__inner { padding: 10px 24px; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  transition: padding 0.3s ease;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--ice); }
.brand__mark { color: var(--ice); display: flex; flex-shrink: 0; }
.brand__text {
  font-family: 'Poppins', var(--font-body), sans-serif; font-weight: 800; font-size: 1.2rem;
  letter-spacing: 0.04em; color: var(--white); text-transform: uppercase;
}
.brand--footer { display: flex; align-items: center; gap: 12px; }
.brand__text--footer { font-size: 1.35rem; color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ice); font-size: 0.94rem; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--white); border-color: var(--signal); }
.nav-cta { padding: 9px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 30px 24px; gap: 24px; transform: translateX(100%);
    transition: transform 0.25s ease; overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .site-nav a { font-size: 1.1rem; }
  .nav-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO + SIGNAL MOTIF
   ============================================================ */
.hero {
  background: radial-gradient(ellipse at 75% 0%, var(--navy-soft), var(--navy) 55%, var(--navy-deep));
  color: var(--white);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.hero__particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__particles span {
  position: absolute; border-radius: 50%; background: var(--signal);
  opacity: 0.35; animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(-140px) translateX(20px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__particles span { animation: none; opacity: 0.2; }
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding-bottom: 60px;
}
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 18px; display: block;
  animation: fade-up 0.7s ease both;
}
.hero h1 { color: var(--white); margin-bottom: 22px; animation: fade-up 0.7s ease 0.1s both; }
.hero h1 em { font-style: italic; color: var(--ice); }
.hero p.lead { color: var(--ice); font-size: 1.15rem; max-width: 46ch; margin-bottom: 32px; animation: fade-up 0.7s ease 0.2s both; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: fade-up 0.7s ease 0.3s both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero h1, .hero p.lead, .hero__ctas { animation: none; }
}

.pulse-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 22px 22px 10px;
  animation: fade-up 0.8s ease 0.35s both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pulse-panel:hover {
  border-color: rgba(232, 163, 61, 0.4);
  box-shadow: 0 0 40px -10px rgba(232, 163, 61, 0.25);
}
.pulse-panel__label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ice);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.pulse-panel__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  display: inline-block; margin-right: 6px;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.pulse-line { width: 100%; height: auto; display: block; }
.pulse-line path {
  fill: none; stroke: var(--signal); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw-pulse 3.2s ease-in-out infinite;
}
@keyframes draw-pulse {
  0% { stroke-dashoffset: 1000; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-line path { animation: none; stroke-dashoffset: 0; }
  .pulse-panel__dot { animation: none; }
}

.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 26px 0;
}
.trust-strip__row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.trust-stat { text-align: left; }
.trust-stat__num {
  font-family: var(--font-mono); font-size: 1.7rem; color: var(--white); font-weight: 500;
  display: block;
}
.trust-stat__label { font-size: 0.82rem; color: var(--ice); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTIONS (general)
   ============================================================ */
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--offwhite { background: var(--offwhite); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--ice); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover {
  box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(30, 95, 191, 0.25);
}
.service-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}
.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-6deg); background: var(--blue);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 14px; flex-grow: 1; }
.service-card a {
  font-weight: 600; font-size: 0.92rem; position: relative;
  transition: gap 0.2s ease;
}

.stat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: left;
}
.stat-card__num { font-family: var(--font-mono); font-size: 2rem; color: var(--navy); font-weight: 500; display: block; }
.stat-card__label { font-size: 0.9rem; color: var(--text-muted); }

.value-card {
  padding: 0; border-left: 2px solid var(--border); padding-left: 22px;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ============================================================
   TIMELINE / PROCESS-STYLE LIST (used sparingly, real sequences only)
   ============================================================ */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white); border-radius: 20px; padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--ice); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--ice); padding: 64px 0 0; margin-top: 40px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px;
}
.site-footer__brand p { color: rgba(202,220,252,0.7); max-width: 32ch; margin-top: 14px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(202,220,252,0.85); font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(202,220,252,0.55);
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy); color: var(--white); padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: var(--ice); max-width: 60ch; font-size: 1.05rem; }
.breadcrumb-eyebrow { color: var(--signal); }

/* ============================================================
   SERVICE DETAIL SECTIONS
   ============================================================ */
.service-detail { padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .service-detail__grid { grid-template-columns: 1fr; } }
.service-detail__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.service-detail__list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--text-dark);
}
.service-detail__list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  margin-top: 8px; flex-shrink: 0;
}
.model-pill {
  display: inline-block; background: var(--ice); color: var(--navy); font-weight: 600;
  padding: 10px 18px; border-radius: 10px; font-size: 0.9rem; margin-right: 10px; margin-bottom: 10px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: var(--navy-soft); border-radius: var(--radius); padding: 28px 24px; color: var(--white);
}
.team-card h3 { color: var(--white); margin-bottom: 2px; }
.team-card__role { color: var(--signal); font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 14px; }
.team-card p { color: var(--ice); margin: 0; font-size: 0.92rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue); outline: none;
}
.contact-info-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card a { color: var(--ice); }
.contact-info-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-info-row__icon {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--signal); flex-shrink: 0;
}
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 4px; }
.form-status--success { background: #E7F5EC; color: #1E6B3A; }
.form-status--error { background: #FBEAEA; color: #A8323D; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.region-list { columns: 2; gap: 32px; }
@media (max-width: 700px) { .region-list { columns: 1; } }
.region-list dt { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 18px; }
.region-list dd { margin: 4px 0 0; color: var(--text-muted); font-size: 0.92rem; break-inside: avoid; }

.tool-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.tool-chip {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; font-size: 0.9rem; color: var(--navy); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.tool-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* ============================================================
   SCROLL-REVEAL (JS toggles .is-visible via IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BUTTON RIPPLE + MICRO-INTERACTIONS
   ============================================================ */
.btn { position: relative; overflow: hidden; }
.btn__ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5);
  transform: scale(0); animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(3); opacity: 0; }
}
.btn-outline-navy .btn__ripple { background: rgba(30, 95, 191, 0.18); }

/* ============================================================
   STAT NUMBERS — count-up target + settle pulse
   ============================================================ */
.trust-stat__num, .stat-card__num { transition: color 0.3s ease; }
.stat-card.is-counted .stat-card__num,
.trust-stat.is-counted .trust-stat__num {
  animation: settle-pulse 0.5s ease;
}
@keyframes settle-pulse {
  0% { color: var(--signal); }
  100% { color: inherit; }
}

/* ============================================================
   SECTION DIVIDER — subtle animated signal wave
   ============================================================ */
.signal-divider {
  height: 46px; overflow: hidden; position: relative; background: var(--white);
}
.signal-divider svg {
  position: absolute; top: 50%; left: 0; width: 200%; height: 24px;
  transform: translateY(-50%);
  animation: wave-scroll 14s linear infinite;
}
@keyframes wave-scroll {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .signal-divider svg { animation: none; }
}

/* ============================================================
   FLOATING-LABEL FORM FIELDS
   ============================================================ */
.form-field--float { position: relative; }
.form-field--float input,
.form-field--float select,
.form-field--float textarea {
  width: 100%; padding: 22px 16px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.98rem; color: var(--text-dark); background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field--float textarea { padding-top: 26px; }
.form-field--float label {
  position: absolute; left: 16px; top: 17px;
  font-size: 0.98rem; color: var(--text-muted); pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease;
  background: var(--white); padding: 0 4px; margin-left: -4px;
}
.form-field--float input:focus + label,
.form-field--float input:not(:placeholder-shown) + label,
.form-field--float textarea:focus + label,
.form-field--float textarea:not(:placeholder-shown) + label,
.form-field--float select:focus + label,
.form-field--float select.has-value + label {
  top: -8px; font-size: 0.74rem; color: var(--blue); font-weight: 600;
}
.form-field--float input:focus,
.form-field--float select:focus,
.form-field--float textarea:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(30, 95, 191, 0.12);
}
.form-field--float .field-check {
  position: absolute; right: 14px; top: 16px; width: 18px; height: 18px;
  opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.2s ease;
  color: #2E9E5B; pointer-events: none;
}
.form-field--float.is-valid .field-check { opacity: 1; transform: scale(1); }
.form-field--float.is-invalid input,
.form-field--float.is-invalid textarea { border-color: #C94A4A; animation: field-shake 0.35s ease; }
.form-field--float .field-error {
  font-size: 0.78rem; color: #C94A4A; margin-top: 5px; display: none;
}
.form-field--float.is-invalid .field-error { display: block; }
@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.contact-form button[type="submit"] {
  min-width: 172px; justify-content: center;
}
.contact-form button[type="submit"] .btn-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white);
  animation: spin 0.7s linear infinite; display: none;
}
.contact-form button.is-loading .btn-spinner { display: inline-block; }
.contact-form button.is-loading .btn-label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: flex; align-items: center; gap: 10px;
  transform-origin: top; animation: status-in 0.35s ease;
}
@keyframes status-in {
  from { opacity: 0; transform: scaleY(0.8) translateY(-6px); }
  to { opacity: 1; transform: scaleY(1) translateY(0); }
}
.form-status svg { flex-shrink: 0; }
.form-status--success svg circle { stroke-dasharray: 66; stroke-dashoffset: 66; animation: draw-circle 0.5s ease forwards; }
.form-status--success svg path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw-check 0.3s ease 0.4s forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* ============================================================
   ICSR WORKFLOW ANIMATION — real 5-stage case pipeline
   ============================================================ */
.icsr-flow-wrap { padding: 10px 0 40px; }
.icsr-flow {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; margin: 28px 0 14px; flex-wrap: wrap; gap: 24px 12px;
}
.icsr-flow::before {
  content: ''; position: absolute; top: 13px; left: 4%; right: 4%; height: 2px;
  background: var(--border); z-index: 0;
}
.icsr-flow__step {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  gap: 12px; flex: 1; min-width: 118px; text-align: center;
}
.icsr-flow__dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--white);
  border: 2.5px solid var(--border); display: block;
  animation: icsr-pulse 7s ease-in-out infinite;
  animation-delay: calc(-1.2s * var(--i));
}
.icsr-flow__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; line-height: 1.3; }
.icsr-flow__note { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

@keyframes icsr-pulse {
  0%   { background: var(--white); border-color: var(--border); transform: scale(1); box-shadow: none; }
  5%   { background: var(--signal); border-color: var(--signal); transform: scale(1.35); box-shadow: 0 0 0 7px rgba(232,163,61,0.16); }
  16%  { background: var(--blue); border-color: var(--blue); transform: scale(1); box-shadow: none; }
  90%  { background: var(--blue); border-color: var(--blue); }
  100% { background: var(--white); border-color: var(--border); }
}
@media (prefers-reduced-motion: reduce) {
  .icsr-flow__dot { animation: none; background: var(--blue); border-color: var(--blue); }
}
@media (max-width: 700px) {
  .icsr-flow::before { display: none; }
  .icsr-flow { justify-content: flex-start; gap: 22px; }
  .icsr-flow__step { flex: 0 0 40%; min-width: 0; }
}

/* ============================================================
   HONEYPOT — visually hidden from real users, present for bots
   ============================================================ */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* ============================================================
   PROFESSIONAL POLISH PASS
   ============================================================ */

/* Consistent premium easing curve everywhere */
:root { --ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* Scroll progress bar — a thin "signal strength" indicator */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--signal));
  z-index: 200; transition: width 0.1s linear;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* Page entrance — main content fades/rises in on load */
main#main { animation: page-in 0.5s var(--ease) both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  main#main { animation: none; }
}

/* Animated sliding underline on nav links */
.site-nav a {
  color: var(--ice); font-size: 0.94rem; font-weight: 500;
  padding: 6px 2px; position: relative; border-bottom: none;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--signal); transition: width 0.25s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a:hover, .site-nav a.is-active { color: var(--white); }

/* Inner page hero entrance */
.page-hero .eyebrow { animation: fade-up 0.6s var(--ease) both; }
.page-hero h1 { animation: fade-up 0.6s var(--ease) 0.08s both; }
.page-hero p { animation: fade-up 0.6s var(--ease) 0.16s both; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow, .page-hero h1, .page-hero p { animation: none; }
}

/* Back-to-top control */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }
.back-to-top svg { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.15s linear; }
}

/* Slightly more premium card elevation transition, applied consistently */
.service-card, .stat-card, .value-card, .team-card {
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* ============================================================
   PREMIUM RE-THEME — richer depth, texture, and gradient treatment
   ============================================================ */

/* Richer hero: layered gradient mesh instead of a flat radial */
.hero {
  background:
    radial-gradient(ellipse 900px 650px at 82% -8%, rgba(30,95,191,0.38), transparent 62%),
    radial-gradient(ellipse 650px 500px at 6% 108%, rgba(232,163,61,0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
}

/* Glass-panel treatment for the pulse panel */
.pulse-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

/* Richer, tinted shadow system + larger radius for a premium feel */
:root { --radius: 16px; --shadow: 0 16px 48px -14px rgba(15,31,61,0.28); --shadow-sm: 0 6px 20px -6px rgba(15,31,61,0.16); }

.service-card, .stat-card, .team-card {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.service-card:hover { box-shadow: 0 20px 48px -14px rgba(30,95,191,0.28); }

/* Subtle dot-grid texture on off-white sections (echoes the brand deck pattern) */
.section--offwhite {
  background-color: var(--offwhite);
  background-image: radial-gradient(rgba(15,31,61,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Navy sections get a faint version of the same texture for continuity */
.section--navy {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Premium button lift */
.btn-signal {
  background: linear-gradient(135deg, var(--blue), #2a6fd4);
  box-shadow: 0 10px 24px -8px rgba(30,95,191,0.55);
}
.btn-signal:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  box-shadow: 0 12px 28px -8px rgba(15,31,61,0.5);
}

/* Richer nav glass */
.site-header {
  background: rgba(8, 18, 39, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* CTA band gets the same premium gradient language */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, #1a3766 100%);
  box-shadow: var(--shadow);
}

/* Stat numbers get a touch more presence */
.stat-card__num, .trust-stat__num {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.trust-stat__num {
  background: linear-gradient(135deg, #ffffff, var(--ice));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
