/* Qovraam Digital Systems — base styles. Breakpoints live in responsive.css. */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deep: #1e3a8a;
  --blue-soft: #eff6ff;
  --blue-mid: #dbeafe;
  --green: #10b981;
  --green-dark: #047857;
  --green-soft: #ecfdf5;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --white: #ffffff;
  --off: #f8fafc;
  --danger: #991b1b;
  --danger-soft: #fef2f2;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --max: 1120px;
  --header-bar: 3.5rem;
  --header-h: calc(3.5rem + 4px);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
  accent-color: var(--blue);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: #eef3f8;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, p { margin: 0; }

h1, h2 { text-wrap: balance; }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 2.7vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.02em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

::selection { background: #dbeafe; color: var(--ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.visually-hidden,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section { padding: 1.35rem 0; }
.section-follow { padding-top: 0; }
.section-soft {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
    var(--off);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.45rem; height: 1.45rem; }

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  max-width: 44rem;
  text-wrap: pretty;
}

.section-head { max-width: 42rem; margin-bottom: 1.15rem; }
.section-head p:not(.eyebrow),
.section-head .lede { margin-top: 0.45rem; color: var(--ink-soft); font-size: 1.02rem; }

.section-head > .eyebrow,
.section-head-row .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.eyebrow.tone-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.eyebrow.tone-sky {
  background: #e0f2fe;
  color: #075985;
}

.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head-row .section-head { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover { background: var(--blue-dark); color: white; }

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: #d6dee8;
}

.btn-secondary:hover { border-color: #93c5fd; color: var(--blue-deep); }

.btn-white { background: white; color: var(--blue-deep); }
.btn-white:hover { background: var(--blue-soft); color: var(--blue-deep); }

.btn:disabled { opacity: 0.72; cursor: progress; }

.spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.text-link:hover { color: var(--blue-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 3px;
  background: #ffffff;
  border-bottom: 1px solid #c9d5e3;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.site-header.is-scrolled {
  border-bottom-color: #b7c6d8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header-bar);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo img { width: 36px; height: 36px; }

.logo-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding-bottom: 1rem;
}

.nav-list a {
  display: inline-flex;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.55rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--blue); }

.nav-cta { width: 100%; }

.nav-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-h);
  background: rgba(15, 23, 42, 0.42);
  z-index: 40;
}

.hero {
  position: relative;
  overflow: visible;
  padding: 1.15rem 0 0.35rem;
  background: transparent;
  border-bottom: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1.7rem 1.15rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 52% 80% at 92% 0%, rgba(37, 99, 235, 0.42), transparent 58%),
    radial-gradient(ellipse 40% 70% at 0% 100%, rgba(16, 185, 129, 0.32), transparent 56%),
    linear-gradient(155deg, #d4e4ff 0%, #e7f1ff 46%, #e4f6ef 100%);
  box-shadow:
    0 24px 50px rgba(30, 64, 175, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 85% at 70% 40%, #000 15%, transparent 74%);
  pointer-events: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.hero h1 {
  font-size: clamp(2.15rem, 3.3vw, 2.9rem);
  max-width: 14ch;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p { margin-top: 0.85rem; font-size: 1.08rem; max-width: 38rem; color: var(--ink-soft); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.hero-points {
  display: grid;
  gap: 0.28rem;
  margin: 0.85rem 0 0;
}
.hero-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--green);
}
.check-list { margin-top: 0.7rem; }

.leave-layout { display: grid; gap: 0.15rem 3rem; align-items: start; }
.leave-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.leave-kicker::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--blue);
}
.leave-head-side { margin-top: 1.75rem; }
.leave-head h2,
.leave-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.leave-list,
.leave-steps { margin: 0.85rem 0 0; }
.leave-list div,
.leave-steps li {
  display: grid;
  align-items: center;
  min-height: 3rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d5e0eb;
}
.leave-list div:first-child,
.leave-steps li:first-child { border-top: 1px solid #d5e0eb; }
.leave-list div { grid-template-columns: 6.75rem 1fr; gap: 0.75rem; }
.leave-list dt { font-weight: 600; color: var(--ink); }
.leave-list dd { margin: 0; color: var(--ink-soft); }
.leave-steps li { grid-template-columns: 1.25rem 1fr; gap: 0.7rem; }
.leave-steps p { margin: 0; }
.leave-steps span {
  color: var(--blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.leave-link { margin: 0.9rem 0 0; }
.step-list strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  width: min(100%, 560px);
  margin: 1.6rem auto 0;
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.4rem 0 0.2rem;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 6% 4% 8%;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.34), rgba(16, 185, 129, 0.08) 46%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

.mockup {
  position: relative;
  z-index: 1;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.chrome-dots { display: flex; gap: 0.32rem; }
.chrome-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #dbe3ee; }
.chrome-dots i:first-child { background: #fda4af; }
.chrome-dots i:nth-child(2) { background: #fcd34d; }
.chrome-dots i:nth-child(3) { background: #6ee7b7; }
.chrome-title { font-size: 0.75rem; color: var(--muted); }

.mockup-body {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  min-height: 270px;
  background: #f8fafc;
}

.mock-side {
  padding: 0.75rem 0.5rem;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  background: white;
  border-right: 1px solid var(--line);
}

.mock-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  margin-bottom: 0.35rem;
}

.mock-nav { height: 0.42rem; border-radius: 999px; background: #e2e8f0; }
.mock-nav.is-on { background: #bfdbfe; }
.mock-nav.short { width: 70%; }

.mock-main { padding: 0.75rem; display: grid; gap: 0.65rem; align-content: start; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }

.mock-stats div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0.45rem;
}

.mock-stats em { display: block; font-style: normal; font-size: 0.65rem; color: var(--muted); }
.mock-stats strong { display: block; color: var(--ink); font-size: 0.82rem; }
.mock-stats .is-green strong { color: var(--green-dark); }

.mock-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }

.mock-columns div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
  min-height: 112px;
}

.task { display: block; height: 1.45rem; border-radius: 7px; background: var(--blue-soft); }
.task.alt { background: var(--green-soft); }
.task.short { width: 72%; height: 1rem; }

.float-card {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  background: white;
  border: 1px solid #d7e3f0;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.intro-grid, .mission-grid, .contact-layout { display: grid; gap: 1.5rem; }

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.intro-panel {
  padding: 1.35rem 1.3rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.16), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid #d5e4f5;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.intro-panel h3 { margin-bottom: 0.35rem; }

.step-list { display: grid; gap: 0.9rem; margin-top: 1rem; }
.step-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.step-list span,
.step-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--blue-mid);
}

.tech-board, .service-grid, .why-grid, .project-grid, .quote-grid, .value-grid, .expertise-grid, .service-stack {
  display: grid;
  gap: 1rem;
}

.tech-board { gap: 0; padding: 0.15rem 1.05rem 0.25rem; }
.tech-group {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0;
  border-top: 1px solid #e5edf5;
}
.tech-group:first-child { border-top: 0; }
.tech-group h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.92rem;
}
.tech-group h3::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.tech-group:nth-child(2) h3::before { background: #3b82f6; }
.tech-group:nth-child(3) h3::before { background: var(--green); }
.tech-group:nth-child(4) h3::before { background: #0ea5e9; }
.tech-group:nth-child(5) h3::before { background: var(--blue-deep); }
.tech-group .chips { gap: 0.4rem; }
.tech-group .chip {
  background: #f3f6fa;
  border-color: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.84rem;
  padding: 0.28rem 0.64rem;
}

.chips, .tags, .filters, .anchor-nav, .socials { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chip, .tags li, .anchor-nav a, .filter {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.tags li {
  background: var(--off);
  border-color: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.22rem 0.55rem;
}

.page-hero .anchor-nav { margin-top: 1.25rem; }
.anchor-nav a { text-decoration: none; }
.anchor-nav a:hover { border-color: #93c5fd; color: var(--blue-deep); }

.service-card, .why-card, .value-card, .quote-card {
  position: relative;
  background: white;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 32px rgba(15, 23, 42, 0.05);
}

.why-card::before,
.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.05rem 1.05rem 1.1rem;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.service-card p, .why-card p, .value-card p, .quote-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-card .text-link { margin-top: auto; }

.icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-wrap .icon { width: 1.35rem; height: 1.35rem; }
.icon-wrap.green { background: var(--green-soft); color: var(--green-dark); }

a.service-card, a.project-card { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
a.service-card:hover, a.project-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.why-card, .value-card { padding: 1.05rem 1.05rem 1.1rem 1.15rem; }
.why-card h3, .value-card h3 { margin: 0 0 0.3rem; }

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
}

.project-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
  border-bottom: 1px solid var(--line);
}

.project-visual img { width: 100%; height: 100%; object-fit: cover; }

.sample-flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.project-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.industry { color: var(--blue); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.project-body h3 { font-size: 1.12rem; }
.cap-title {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
[data-portfolio] .project-grid { margin-top: 1.25rem; }
.project-body p { font-size: 0.95rem; }

.cap-list, .check-list { display: grid; gap: 0.4rem; }
.cap-list li, .check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cap-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

.process-list { display: grid; gap: 0.85rem; }
.process-step {
  background: white;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  padding: 1rem 0.95rem 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.process-step h3 { margin: 0.7rem 0 0.3rem; }
.process-step p { font-size: 0.95rem; }
.step-index { width: 2.4rem; height: 2.4rem; background: var(--blue-soft); color: var(--blue-deep); border-color: transparent; }

.sample-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  border-radius: 14px;
}

.sample-note p { font-size: 0.95rem; }
.sample-note strong { color: #78350f; }

.quote-card { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 100%; }
.quote-card p { color: var(--ink); font-size: 1.02rem; }
blockquote { margin: 0; }
.quote-card > .icon { color: var(--blue); }
.quote-card figcaption { margin-top: auto; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.sample-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  background: #fffbeb;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.cta-band {
  border-radius: 28px;
  padding: 2.4rem 1.4rem;
  color: white;
  background:
    radial-gradient(circle at 0 0, rgba(16, 185, 129, 0.35), transparent 42%),
    linear-gradient(135deg, #1e40af 0%, #2563eb 52%, #3b82f6 100%);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.18);
}

.cta-band h2, .cta-band p { color: white; }
.cta-band p { margin-top: 0.75rem; max-width: 38rem; color: rgba(255, 255, 255, 0.92); }
.cta-band .hero-actions { margin-top: 1.4rem; }
.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #c9d5e3;
  box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.04);
  padding: 2.2rem 0 1.1rem;
  color: var(--ink-soft);
}

.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand p { margin-top: 0.8rem; max-width: 28rem; }
.footer-title {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.footer-grid ul { display: grid; gap: 0.42rem; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--blue); }
.socials { margin-top: 0.9rem; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: white;
  color: var(--ink);
}
.social-link:hover { color: var(--blue); border-color: #bfdbfe; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom a { color: var(--ink-soft); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.3rem 0 1.5rem;
  background:
    radial-gradient(ellipse 42% 90% at 100% 0%, rgba(37, 99, 235, 0.2), transparent 60%),
    radial-gradient(ellipse 30% 70% at 0% 100%, rgba(16, 185, 129, 0.14), transparent 58%),
    linear-gradient(165deg, #d7e6f8 0%, #eef4fb 100%);
  border-bottom: 1px solid #d5e1ee;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { max-width: 16em; }

.mission-card, .service-detail, .form-card { padding: 1.35rem; }
.mission-card h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 0.55rem; }

.timeline { display: grid; }
.timeline li {
  position: relative;
  padding: 0 0 1.4rem 1.35rem;
  border-left: 2px solid var(--blue-mid);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline h3 { margin-bottom: 0.3rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.detail-aside {
  background: var(--blue-soft);
  border-radius: 16px;
  padding: 1rem 1.05rem;
}
.detail-aside h3 { font-size: 0.95rem; margin-bottom: 0.55rem; }
.service-kicker { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; }
.service-detail h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.filter {
  font: inherit;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter.is-active { background: var(--blue); border-color: var(--blue); color: white; }
.filter-status { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.92rem; }

.contact-points { display: grid; gap: 0.75rem; margin: 1.4rem 0; }
.contact-points div { padding: 0.85rem 1rem; }
.contact-points dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-points dd { margin: 0.15rem 0 0; font-weight: 600; color: var(--ink); }
.contact-points a { color: var(--blue-deep); text-decoration: none; }
.contact-points a:hover { text-decoration: underline; }

.form-card h2 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.form-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.form-grid, .form-row { display: grid; gap: 0.9rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.req { color: var(--blue); }
.optional { color: var(--muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid #bfdbfe;
  border-color: var(--blue);
}

.has-error input,
.has-error select,
.has-error textarea { border-color: #fca5a5; }

.field-error { min-height: 1.15em; margin: 0.3rem 0 0; color: var(--danger); font-size: 0.82rem; }

.field-check {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  column-gap: 0.7rem;
  align-items: start;
}
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; }
.field-check label { font-weight: 500; margin: 0; }
.field-check label a { color: var(--blue-deep); }
.field-check .field-error { grid-column: 2; }

.form-actions { margin-top: 0.4rem; }
.form-actions .btn { width: 100%; }
.form-footnote { margin-top: 0.8rem; color: var(--muted); font-size: 0.85rem; }
.form-footnote a { color: var(--blue-deep); }

.form-status {
  display: none;
  margin-bottom: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: var(--danger-soft); color: var(--danger); border: 1px solid #fecaca; }
.form-status.is-info { background: var(--blue-soft); color: var(--blue-deep); border: 1px solid var(--blue-mid); }

.form-success h2 { font-size: 1.6rem; margin: 0.75rem 0 0.45rem; }
.success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
}

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 0.55rem; }
.prose p, .prose li { margin-bottom: 0.75rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; }
.prose a { color: var(--blue-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
