:root {
  color-scheme: light;
  --ink: #14202e;
  --muted: #536171;
  --subtle: #728094;
  --line: #d9e2ec;
  --line-strong: #bac8d7;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-blue: #eef6fb;
  --brand: #0c1824;
  --brand-2: #153650;
  --accent: #1b74a6;
  --accent-2: #2b8f6a;
  --warning: #b25c11;
  --shadow: 0 18px 45px rgb(15 36 54 / 10%);
  --radius: 8px;
  --container: 1180px;
  font-family: Inter, "Source Sans Pro", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-2);
}

:focus-visible {
  outline: 3px solid rgb(27 116 166 / 40%);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 206px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 3px;
}

.brand-text {
  display: none;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  background: var(--ink);
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  background: var(--ink);
  transform: translateY(-2px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  color: #243447;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.2;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-blue);
  color: var(--brand-2);
}

.nav-cta {
  margin-left: 4px;
  background: var(--brand-2) !important;
  color: #fff !important;
}

.hero {
  --hero-height: min(62vh, 640px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-soft);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) right center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(255 255 255 / 76%) 64%, transparent 86%);
  content: "";
}

.hero .container {
  min-height: var(--hero-height);
  display: grid;
  padding-block: 32px clamp(96px, 13vh, 144px);
}

.hero-content {
  width: min(650px, 62%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-content .hero-lede {
  margin-top: auto;
}

.el-ui .home-main .hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
}

.hero .eyebrow {
  color: var(--brand-2);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  font-weight: 850;
}

.hero-lede {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: #334256;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.home-main .hero-content .hero-lede {
  width: 75%;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--brand-2);
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--brand-2);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--brand);
}

.button.subtle {
  border-color: rgb(255 255 255 / 26%);
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.button.subtle:hover {
  border-color: rgb(255 255 255 / 42%);
  background: rgb(255 255 255 / 16%);
  color: #fff;
}

.button.small {
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding: 54px 0;
}

.home-main > .section {
  padding-block: 62px;
}

.home-main > .section.compact {
  padding-block: 44px;
}

.section.soft {
  background: var(--surface-soft);
}

.section.blue {
  background: var(--surface-blue);
}

.section.dark {
  background: var(--brand);
  color: #e8eef5;
}

.section.dark h2,
.section.dark h3,
.section.dark .section-kicker {
  color: #fff;
}

.section.dark p,
.section.dark li {
  color: #d1dbe6;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(15 36 54 / 6%);
}

.card.padded {
  padding: 24px;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card li + li {
  margin-top: 0.35rem;
}

.fit-note {
  padding: 0.75rem;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 6px 6px 0;
  background: var(--surface-soft);
}

.fit-note strong {
  color: var(--ink);
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}

.media-card .card-body {
  padding: 20px;
}

.metric-band {
  margin-top: 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  padding: 16px 18px;
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--brand-2);
  font-size: 20px;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.check-list,
.plain-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0.1rem;
  top: 0.55rem;
  width: 0.58rem;
  height: 0.32rem;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  content: "";
  transform: rotate(-45deg);
}

.check-list li + li,
.plain-list li + li {
  margin-top: 0.58rem;
}

.service-table {
  display: grid;
  gap: 14px;
}

.service-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-row h3 {
  font-size: 1.05rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.trigger-grid,
.process-grid,
.offering-grid {
  display: grid;
  gap: 18px;
}

.trigger-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid,
.offering-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offering-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trigger-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 36 54 / 5%);
}

.trigger-card {
  padding: 22px;
}

.trigger-card h3,
.process-step h3 {
  font-size: 1.12rem;
}

.trigger-card p,
.process-step p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.process-step {
  padding: 22px;
}

.services-process-flow,
.ecs-managed-process-flow {
  gap: 42px;
}

.services-process-flow .process-step,
.ecs-managed-process-flow .process-step {
  position: relative;
}

.services-process-flow .process-step:not(:last-child)::after,
.ecs-managed-process-flow .process-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -31px;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--brand-2);
  font-weight: 900;
  line-height: 1;
}

.offering-card {
  display: flex;
  flex-direction: column;
}

.offer-label {
  width: fit-content;
  margin: 0 0 0.85rem !important;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--surface-blue);
  color: var(--accent) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 36 54 / 6%);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.75fr 1.05fr 1.25fr 1.15fr;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row > div {
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.comparison-row > div:first-child {
  border-left: 0;
  color: var(--ink);
}

.comparison-head {
  background: var(--brand-2);
}

.comparison-head > div {
  color: #fff;
  font-weight: 900;
}

.page-hero {
  background: var(--surface-blue);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  padding-top: 74px;
  padding-bottom: 70px;
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.page-hero .hero-lede {
  max-width: 780px;
}

.breadcrumb {
  margin: 0 0 0.9rem;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--subtle);
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.news-date {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.85rem;
}

.news-media {
  margin: 0 0 1rem;
}

.news-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.52fr);
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

.field.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--accent-2);
}

.form-status[data-state="error"] {
  color: #a32929;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-item h3 {
  font-size: 1rem;
}

.contact-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-choice-card {
  display: flex;
  flex-direction: column;
}

.contact-choice-card p:not(.offer-label) {
  margin-bottom: 1.4rem;
}

.contact-choice-card .button {
  margin-top: auto;
}

.placeholder-panel {
  max-width: 880px;
}

.placeholder-panel p {
  color: var(--muted);
}

.placeholder-layout {
  display: grid;
}

.placeholder-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 36 54 / 6%);
}

.form-launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.form-context {
  display: grid;
  gap: 18px;
}

.form-context .card {
  padding: 22px;
}

.form-context h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.form-context p,
.form-context li {
  color: var(--muted);
}

.form-context ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
}

.custom-form-hero .hero-lede {
  max-width: 760px;
}

.custom-form-shell {
  width: min(920px, 100%);
}

.custom-form-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.custom-form-card .form-status {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-left: 4px solid #a32929;
  border-radius: 0 6px 6px 0;
  background: #fff5f5;
  color: #8a1f1f;
}

.custom-form-card .form-status ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.altcha-gate-card {
  max-width: 720px;
}

.altcha-gate-card altcha-widget {
  display: block;
  max-width: 100%;
  margin: 0.25rem 0 1rem;
}

.altcha-gate-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.wizard-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.wizard-progress {
  overflow: hidden;
  height: 8px;
  margin: 12px 0 26px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.wizard-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  transition: width 180ms ease;
}

.custom-form-step h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.custom-form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.custom-form-field label,
.custom-form-field legend {
  color: var(--ink);
  font-weight: 850;
}

.custom-form-field input[type="text"],
.custom-form-field input[type="email"],
.custom-form-field input[type="tel"],
.custom-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.76rem 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.custom-form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.custom-form-field.choice-group {
  min-width: 0;
  padding: 0;
  border: 0;
}

.choice-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 760;
}

.choice-option input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.consent-field .choice-option {
  background: #fff;
}

.required-mark {
  color: #a32929;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.custom-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.custom-form-actions .button[hidden],
.custom-form-step[hidden],
.conditional-hidden {
  display: none;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-panel {
  max-width: 900px;
}

.privacy-panel h2 {
  margin-top: 2rem;
}

.privacy-panel h2:first-child {
  margin-top: 0;
}

.privacy-panel ul {
  padding-left: 1.2rem;
}

.cookie-control {
  margin-top: 2rem;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.cookie-control p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  background: var(--brand);
  color: #e8eef5;
  box-shadow: var(--shadow);
}

.cookie-banner h2 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.cookie-banner p {
  margin: 0.3rem 0 0;
  max-width: 720px;
  color: #c4d3e3;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cta-band {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--brand-2);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: #dce8f2;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--brand);
  color: #dce8f2;
}

.footer-inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 32px;
}

.footer-inner > :only-child {
  grid-column: 1 / -1;
}

.footer-logo {
  width: 174px;
  height: auto;
  background: #0e1a25;
  border-radius: 3px;
}

.footer-text {
  margin: 1rem 0 0;
  max-width: 620px;
  color: #b8c7d8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a,
.footer-contact a {
  color: #f1f7fb;
}

.footer-contact {
  color: #b8c7d8;
}

.footer-contact p {
  margin: 0 0 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.footer-bottom .container {
  padding: 18px 0;
  color: #a9b8c9;
  font-size: 0.92rem;
}

.footer-bottom a {
  color: #f1f7fb;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--warning);
  border-radius: 0 6px 6px 0;
  background: #fff7ed;
  color: #6c3d0c;
}

.notice p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .hero .container {
    padding-bottom: clamp(112px, 17vh, 160px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    min-height: 48px;
    padding-inline: 0.8rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .section-head,
  .split,
  .contact-layout,
  .form-launch-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-stack {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trigger-grid,
  .process-grid,
  .offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-process-flow,
  .ecs-managed-process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
  }

  .services-process-flow .process-step:not(:last-child)::after,
  .ecs-managed-process-flow .process-step:not(:last-child)::after {
    right: -25px;
  }

  .comparison-row,
  .comparison-head {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    padding: 4px 0;
  }

  .comparison-row > div {
    border-left: 0;
    padding: 12px 18px;
  }

  .comparison-row > div::before {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--accent);
    content: attr(data-label);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .comparison-head {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .services-process-flow,
  .ecs-managed-process-flow {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .services-process-flow .process-step:not(:last-child)::after,
  .ecs-managed-process-flow .process-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 680px) {
  .header-inner,
  .container,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand-mark {
    width: 162px;
    height: auto;
  }

  .hero {
    --hero-height: auto;
  }

  .hero .container {
    padding-block: 24px 132px;
  }

  .hero-content {
    width: 100%;
    gap: 18px;
  }

  .home-main .hero-content .hero-lede {
    width: 100%;
  }

  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(255 255 255 / 90%) calc(100% - 124px), transparent calc(100% - 18px));
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }

  .section {
    padding: 58px 0;
  }

  .home-main > .section {
    padding-block: 46px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .trigger-grid,
  .process-grid,
  .offering-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 26px;
  }

  .placeholder-panel {
    padding: 26px;
  }

  .form-context .card {
    padding: 20px;
  }

  .custom-form-card {
    padding: 22px;
  }

  .custom-form-actions {
    display: grid;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: calc(100% - 28px);
    padding: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
