/* =============================================================
   Interactive AI — Design System & Styles
   Clean / light / corporate. Navy + blue accent.
   No framework. Mobile-first. Accessible.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --navy-900: #0a1733;
  --navy-800: #0f2147;
  --navy-700: #16315f;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --accent:        #2563eb;
  --accent-dark:   #1d4ed8;
  --accent-darker: #1e40af;
  --accent-soft:   #eef4ff;
  --accent-ring:   rgba(37, 99, 235, 0.35);

  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-navy: var(--navy-900);

  /* Semantic */
  --text: #0c1a36;
  --text-muted: var(--slate-600);
  --heading: var(--navy-900);
  --border: var(--slate-200);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  /* Spacing & shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 33, 71, 0.06),
               0 1px 3px rgba(15, 33, 71, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(15, 33, 71, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 33, 71, 0.28);
  --shadow-accent: 0 16px 40px -16px rgba(37, 99, 235, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent-darker); }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 800px; }

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

.lead { font-size: 1.2rem; color: var(--text-muted); }

.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-color);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn--primary { box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--navy-800);
  border-color: var(--slate-300);
}
.btn--ghost:hover { background: var(--white); border-color: var(--slate-400); color: var(--navy-900); box-shadow: var(--shadow-sm); }

.btn--light {
  --btn-bg: #fff;
  --btn-color: var(--navy-900);
}
.btn--light:hover { background: var(--slate-100); color: var(--navy-900); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.08); color: #fff; }

.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--accent-dark);
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a:not(.nav-cta) {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-menu a:not(.nav-cta):hover { color: var(--navy-900); background: var(--slate-100); }
.nav-menu a:not(.nav-cta)[aria-current="page"] { color: var(--accent-dark); }

.nav-cta {
  margin-left: 10px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-accent);
  transition: transform 0.18s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 11vw, 132px);
  background:
    radial-gradient(60% 80% at 80% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(50% 60% at 0% 10%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--slate-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--slate-200) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 1.22rem; color: var(--text-muted); max-width: 36ch; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--slate-500);
  font-size: 0.92rem;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, var(--accent), var(--navy-700));
  display: grid; place-items: center;
  color: #fff; font-size: 0.72rem; font-weight: 700;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-darker);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }

/* Hero visual panel */
.hero-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: #e8eefc;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 90% 0%, rgba(37,99,235,0.45), transparent 60%);
  pointer-events: none;
}
.panel-bar { display: flex; gap: 7px; margin-bottom: 18px; position: relative; }
.panel-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.panel-bar i:first-child { background: #ff5f57; }
.panel-bar i:nth-child(2) { background: #febc2e; }
.panel-bar i:nth-child(3) { background: #28c840; }

.panel-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 11px;
}
.panel-row .ic {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: rgba(37,99,235,0.25);
  color: #bcd0ff;
}
.panel-row .meta { flex: 1; min-width: 0; }
.panel-row .meta strong { display: block; font-size: 0.95rem; color: #fff; font-weight: 600; }
.panel-row .meta span { font-size: 0.8rem; color: rgba(232,238,252,0.7); }
.panel-row .pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(40,200,64,0.16); color: #7ef0a0;
}
.panel-row .pill.amber { background: rgba(254,188,46,0.16); color: #ffd479; }
.panel-row .pill.blue { background: rgba(37,99,235,0.22); color: #a9c4ff; }

.panel-metric {
  position: relative;
  margin-top: 16px;
  display: flex;
  gap: 18px;
}
.panel-metric div { flex: 1; }
.panel-metric .num { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.panel-metric .lbl { font-size: 0.76rem; color: rgba(232,238,252,0.65); }

/* ---------- Logo / trust strip ---------- */
.logo-strip { padding-block: 44px; border-block: 1px solid var(--border); background: #fff; }
.logo-strip p { text-align: center; color: var(--slate-500); font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 24px; }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 64px);
}
.logo-row span {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-400);
  letter-spacing: -0.02em;
  filter: grayscale(1);
  transition: color 0.2s var(--ease);
}
.logo-row span:hover { color: var(--slate-600); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 18px; font-size: 0.98rem; }
.card .card-foot { margin-top: auto; }

.feature-list { list-style: none; display: grid; gap: 11px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--slate-700);
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1;
}
.stat .num .accent { color: var(--accent); }
.stat .lbl { color: var(--text-muted); font-size: 0.95rem; margin-top: 10px; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  counter-increment: step;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent), var(--accent-darker));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  box-shadow: var(--shadow-accent);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.split--reverse .split-media { order: -1; }

.media-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.kv { display: grid; gap: 12px; }
.kv-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.kv-row .k { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--navy-800); font-size: 0.95rem; }
.kv-row .k .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.kv-row .v { font-size: 0.85rem; color: var(--slate-500); font-weight: 600; }

.progress { height: 8px; border-radius: 999px; background: var(--slate-200); overflow: hidden; margin-top: 4px; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-darker)); }

/* ---------- Case studies ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.case-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(37,99,235,0.5), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 32px 32px;
  opacity: 0.8;
}
.case-cover .sector {
  position: relative; z-index: 1;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,0.85);
  padding: 8px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
}
.case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { margin-bottom: 10px; }
.case-body p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 18px; }
.case-result {
  display: flex; gap: 22px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border);
}
.case-result div .num { font-weight: 800; font-size: 1.35rem; color: var(--accent-dark); letter-spacing: -0.02em; }
.case-result div .lbl { font-size: 0.8rem; color: var(--slate-500); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--slate-100); color: var(--slate-600);
}

/* ---------- Testimonial ---------- */
.quote-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  color: #eaf0fc;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -20px; left: 24px;
  font-size: 11rem;
  font-family: Georgia, serif;
  color: rgba(37,99,235,0.35);
  line-height: 1;
}
.quote-card blockquote {
  position: relative;
  margin: 0 0 26px;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #fff;
  font-weight: 500;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-author .ava {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  display: grid; place-items: center; font-weight: 700; color: #fff;
}
.quote-author .who strong { display: block; color: #fff; }
.quote-author .who span { color: rgba(234,240,252,0.7); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-darker), var(--accent));
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 80% at 15% 0%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(40% 80% at 90% 100%, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 540px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 104px);
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(37,99,235,0.10), transparent 60%),
    linear-gradient(180deg, #fbfcff, #ffffff);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 1.18rem; color: var(--text-muted); max-width: 60ch; }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--slate-500); margin-bottom: 18px; }
.crumbs a { color: var(--slate-500); }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs span { color: var(--slate-400); }

/* ---------- Values / about ---------- */
.value {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.value .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 16px; }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--slate-200), var(--slate-100));
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 2.4rem; font-weight: 800; color: var(--navy-700);
  border: 1px solid var(--border);
}
.team-card h3 { margin-bottom: 2px; font-size: 1.15rem; }
.team-card .role { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.contact-info .info-item {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.contact-info .info-item h3 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-info .info-item p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.contact-info .info-item a { color: var(--accent-dark); font-weight: 600; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy-800); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 15px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.field .error-msg { display: none; color: #dc2626; font-size: 0.84rem; margin-top: 6px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #dc2626; background: #fff5f5; }
.field.has-error .error-msg { display: block; }

.form-note { font-size: 0.85rem; color: var(--slate-500); margin-top: 6px; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-muted); margin: 0; }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--navy-900);
  background: none; border: 0; cursor: pointer;
}
.faq-q .chev { flex: none; transition: transform 0.25s var(--ease); color: var(--accent-dark); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(232,238,252,0.72);
  padding-block: clamp(52px, 7vw, 80px) 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand p { color: rgba(232,238,252,0.6); max-width: 34ch; font-size: 0.95rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  color: rgba(232,238,252,0.8);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(232,238,252,0.68); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-size: 0.88rem;
  color: rgba(232,238,252,0.55);
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(232,238,252,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav { position: static; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a:not(.nav-cta) { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .case-result { gap: 16px; }
}

@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; }
}
