/* =========================================================
   CommInnSense — Stylesheet
   Refined SaaS aesthetic. Navy + coral on light surfaces.
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette */
  --cis-navy:        #112849;
  --cis-navy-deep:   #0a1a33;
  --cis-navy-soft:   #1e3863;
  --cis-coral:       #FF6B47;
  --cis-coral-dark:  #e8553a;
  --cis-coral-soft:  #fff0ec;
  --cis-slate:       #8896A8;
  --cis-slate-dim:   #B7C2D0;
  --cis-surface:     #F5F7FA;
  --cis-surface-2:   #EDF1F6;
  --cis-border:      #E5E9F0;
  --cis-ink:         #112849;
  --cis-ink-soft:    #4a5a73;
  --cis-white:       #ffffff;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(17, 40, 73, 0.04), 0 1px 3px rgba(17, 40, 73, 0.06);
  --shadow-md: 0 4px 12px rgba(17, 40, 73, 0.06), 0 2px 4px rgba(17, 40, 73, 0.04);
  --shadow-lg: 0 12px 32px rgba(17, 40, 73, 0.08), 0 4px 8px rgba(17, 40, 73, 0.05);
  --shadow-xl: 0 24px 56px rgba(17, 40, 73, 0.12), 0 8px 16px rgba(17, 40, 73, 0.06);

  /* Layout */
  --max-w: 1200px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cis-ink);
  background: var(--cis-white);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--cis-coral-dark); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--cis-coral); }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.2; color: var(--cis-ink); letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--cis-navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-md);
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cis-coral-dark);
  margin-bottom: var(--space-4);
}

.muted { color: var(--cis-slate); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .22s var(--ease-out);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cis-coral);
  color: var(--cis-white);
}
.btn-primary:hover {
  background: var(--cis-coral-dark);
  color: var(--cis-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 71, 0.32);
}
.btn-secondary {
  background: var(--cis-white);
  color: var(--cis-navy);
  border-color: var(--cis-border);
}
.btn-secondary:hover {
  border-color: var(--cis-navy);
  color: var(--cis-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--cis-navy);
  padding: 10px 16px;
}
.btn-ghost:hover { background: var(--cis-surface); color: var(--cis-navy); }
.btn-on-dark {
  background: var(--cis-white);
  color: var(--cis-navy);
}
.btn-on-dark:hover { background: var(--cis-surface); color: var(--cis-navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cis-coral-dark);
  font-weight: 600;
  font-size: 15px;
}
.btn-link svg { transition: transform .22s var(--ease-out); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--cis-border);
  background: rgba(255, 255, 255, 0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--space-8);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cis-navy);
  font-weight: 600;
}
.brand:hover { color: var(--cis-navy); }
.brand-mark { display: inline-flex; }
.brand-wordmark {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cis-navy);
}
.brand-wordmark--light { color: var(--cis-white); }
.brand-inn { color: var(--cis-coral); }

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  color: var(--cis-ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  background: none;
  border: none;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--cis-navy); background: var(--cis-surface); }
.nav-link .chev { transition: transform .2s; }

/* Customer portal links — subtle separator + smaller text + external-link arrow */
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--cis-border);
  margin: 0 var(--space-2);
  align-self: center;
}
.nav-link--portal {
  font-size: 13.5px;
  color: var(--cis-slate);
  padding: 8px 10px;
}
.nav-link--portal:hover {
  color: var(--cis-navy);
  background: var(--cis-surface);
}
.nav-link--portal .ext-arrow {
  opacity: .55;
  transition: opacity .2s, transform .2s;
}
.nav-link--portal:hover .ext-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--cis-white);
  border: 1px solid var(--cis-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .chev,
.has-dropdown.is-open .chev { transform: rotate(180deg); }

.dropdown-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--cis-navy);
  transition: background .15s;
}
.dropdown-item:hover { background: var(--cis-surface); color: var(--cis-navy); }
.dd-name { display: block; font-weight: 600; font-size: 15px; }
.dd-desc { display: block; font-size: 13px; color: var(--cis-slate); margin-top: 2px; }

.nav-cta { margin-left: var(--space-2); }

/* Mobile */
.mobile-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cis-navy);
  transition: transform .2s, opacity .2s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--cis-white);
  border-bottom: 1px solid var(--cis-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6) 24px var(--space-8);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--cis-navy);
  font-weight: 500;
  font-size: 16px;
}
.mobile-nav a:hover { background: var(--cis-surface); }
.mobile-nav .mob-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cis-slate);
  padding: 8px 14px 4px;
}
.mobile-nav .mob-divider {
  height: 1px;
  background: var(--cis-border);
  margin: 8px 14px;
}

@media (max-width: 880px) {
  .primary-nav, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 107, 71, 0.06), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(17, 40, 73, 0.04), transparent 50%),
    var(--cis-white);
  overflow: hidden;
}
.hero::before {
  /* Subtle grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 40, 73, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 40, 73, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-20);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.hero h1 .accent { color: var(--cis-coral); }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--cis-ink-soft);
  margin-bottom: var(--space-8);
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: var(--space-10);
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 13px;
  color: var(--cis-slate);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-item svg { color: var(--cis-coral); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  justify-self: center;
}
.hero-visual-card {
  position: absolute;
  background: var(--cis-white);
  border: 1px solid var(--cis-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--cis-coral-soft);
  color: var(--cis-coral-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-card-text { line-height: 1.3; }
.hero-card-text strong { display: block; font-size: 15px; color: var(--cis-navy); }
.hero-card-text span { font-size: 13px; color: var(--cis-slate); }

.hero-card-1 { top: 8%;  left: 0;   animation: float1 8s ease-in-out infinite; }
.hero-card-2 { top: 42%; right: 0;  animation: float2 9s ease-in-out infinite; }
.hero-card-3 { bottom: 8%; left: 12%; animation: float3 10s ease-in-out infinite; }
.hero-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: -1;
  opacity: 0.85;
}
.hero-mark svg { width: 78%; height: 78%; filter: drop-shadow(0 24px 56px rgba(17,40,73,.18)); }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero { padding: var(--space-16) 0 var(--space-12); }
  .hero-visual { max-width: 380px; aspect-ratio: 1; }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--space-24) 0;
}
.section--tight { padding: var(--space-16) 0; }
.section--surface { background: var(--cis-surface); }
.section--navy {
  background: var(--cis-navy);
  color: var(--cis-white);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cis-white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-16);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.section-head p {
  font-size: 18px;
  color: var(--cis-ink-soft);
  line-height: 1.6;
}
.section--navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- LOGO STRIP / TRUST BAR ---------- */
.trust-bar {
  border-top: 1px solid var(--cis-border);
  border-bottom: 1px solid var(--cis-border);
  padding: var(--space-8) 0;
  background: var(--cis-white);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cis-slate);
}
.trust-items {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-item {
  font-size: 14px;
  color: var(--cis-ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cis-coral); }

/* ---------- PRODUCTS GRID ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cis-white);
  border: 1px solid var(--cis-border);
  border-radius: var(--r-xl);
  padding: var(--space-10);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
  overflow: hidden;
}
.product-card::before {
  /* Coral accent line on hover */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cis-coral), var(--cis-coral-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--cis-coral-soft), #fff7f3);
  color: var(--cis-coral-dark);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-6);
}
.product-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.product-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--cis-coral-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.005em;
}
.product-card p {
  font-size: 15.5px;
  color: var(--cis-ink-soft);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.product-card .btn-link { margin-top: auto; }

@media (max-width: 760px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: var(--space-8); }
}

/* ---------- FEATURES GRID (3-col) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255, 107, 71, 0.1);
  color: var(--cis-coral);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
}
.section--navy .feature-icon { background: rgba(255, 107, 71, 0.18); }
.feature h3 { font-size: 18px; }
.feature p { font-size: 15px; color: var(--cis-ink-soft); line-height: 1.6; }
.section--navy .feature p { color: rgba(255,255,255,0.72); }

@media (max-width: 800px) {
  .features-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  background: var(--cis-navy);
  color: var(--cis-white);
  border-radius: var(--r-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 107, 71, 0.18), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 107, 71, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-block > * { position: relative; }
.cta-block h2 {
  color: var(--cis-white);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--space-4);
}
.cta-block p {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- PRODUCT PAGE HEADER ---------- */
.product-hero {
  padding: var(--space-20) 0 var(--space-16);
  background:
    radial-gradient(ellipse at 70% 0%, rgba(255, 107, 71, 0.06), transparent 50%),
    var(--cis-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cis-border);
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.product-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: var(--space-5);
}
.product-hero-lead {
  font-size: 18px;
  color: var(--cis-ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 560px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cis-coral-soft);
  color: var(--cis-coral-dark);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.product-illust {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}
.product-illust svg { width: 100%; max-width: 420px; }

@media (max-width: 880px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .product-illust { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- TWO-COL CONTENT ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.two-col h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}
.two-col p {
  font-size: 17px;
  color: var(--cis-ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ---------- CHECK LIST ---------- */
.check-list {
  display: grid;
  gap: var(--space-3);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--cis-ink);
  padding: 4px 0;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cis-coral-soft);
  color: var(--cis-coral-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e8553a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.section--navy .check-list li { color: rgba(255,255,255,0.92); }

/* ---------- ABOUT / STATS ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--cis-border);
  border-bottom: 1px solid var(--cis-border);
}
.stat-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cis-navy);
  line-height: 1.1;
}
.stat-label {
  font-size: 14px;
  color: var(--cis-slate);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
.contact-info h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.contact-info p { font-size: 17px; color: var(--cis-ink-soft); line-height: 1.65; margin-bottom: var(--space-8); }
.contact-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--cis-border);
}
.contact-bullets li:last-child { border-bottom: 1px solid var(--cis-border); }
.contact-bullets strong { display: block; color: var(--cis-navy); font-weight: 600; }
.contact-bullets span { color: var(--cis-slate); font-size: 14px; }

.form-card {
  background: var(--cis-white);
  border: 1px solid var(--cis-border);
  border-radius: var(--r-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cis-ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cis-border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--cis-ink);
  background: var(--cis-white);
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--cis-coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 71, 0.15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 13px;
  color: var(--cis-slate);
  margin-top: var(--space-3);
}
.form-success {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  font-size: 14px;
  margin-bottom: var(--space-6);
}
.form-error {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #8b1a13;
  font-size: 14px;
  margin-bottom: var(--space-6);
}

/* ---------- BREADCRUMB ---------- */
.crumb {
  font-size: 13px;
  color: var(--cis-slate);
  margin-bottom: var(--space-4);
}
.crumb a { color: var(--cis-slate); }
.crumb a:hover { color: var(--cis-navy); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--cis-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand .brand-wordmark { color: var(--cis-white); }
.footer-tagline {
  margin-top: var(--space-3);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--cis-coral); }
.footer-col .muted { color: rgba(255,255,255,0.5); font-size: 13px; }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy, .footer-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
