:root {
  --navy-950: #07182c;
  --navy-900: #0c2340;
  --navy-800: #123654;
  --blue-700: #1d4f73;
  --blue-100: #e8f1f6;
  --green-700: #19765f;
  --green-600: #23896c;
  --green-500: #35a978;
  --green-100: #e5f5ee;
  --ink: #203248;
  --muted: #607083;
  --line: #dce5ec;
  --surface: #f5f8fa;
  --white: #fff;
  --shadow-sm: 0 12px 34px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 28px 70px rgba(12, 35, 64, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(53, 169, 120, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 236, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 238px;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #405269;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}

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

.site-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  color: var(--white);
  background: var(--navy-900);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--blue-700);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
}

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

.nav-toggle {
  gap: 4px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at 91% 12%, rgba(53, 169, 120, 0.13), transparent 29%),
    linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(12, 35, 64, 0.027) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 35, 64, 0.027) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--green-500);
  content: "";
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-900);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 4.6vw, 4.4rem);
  font-weight: 760;
}

h1 .accent {
  color: var(--green-700);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 750;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  font-weight: 730;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 26px rgba(12, 35, 64, 0.18);
}

.button-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 15px 32px rgba(12, 35, 64, 0.23);
}

.button-secondary {
  color: var(--navy-900);
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  border-color: #bfcdd7;
  background: var(--surface);
}

.button-green {
  color: var(--white);
  background: var(--green-700);
}

.button-green:hover {
  background: #126650;
}

.button-arrow::after {
  content: "→";
}

.architecture-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(29, 79, 115, 0.13);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 14%, rgba(53, 169, 120, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.architecture-card::before {
  position: absolute;
  right: -92px;
  bottom: -105px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(53, 169, 120, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(53, 169, 120, 0.04), 0 0 0 56px rgba(53, 169, 120, 0.025);
  content: "";
}

.architecture-head {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.architecture-head strong {
  color: var(--navy-900);
  font-size: 0.93rem;
}

.status-label {
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 0.75rem;
  font-weight: 800;
}

.status-label i,
.operation-live i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(53, 169, 120, 0.35);
  animation: live-pulse 1.8s ease-out infinite;
}

.transformation-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(135px, 0.92fr) 84px minmax(180px, 1.08fr);
  align-items: stretch;
  gap: 10px;
}

.system-panel {
  min-width: 0;
}

.system-label {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phase-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.phase-dot-risk {
  background: #d98a5b;
}

.phase-dot-live {
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(53, 169, 120, 0.12);
}

.legacy-shell,
.modern-shell {
  min-height: 195px;
  padding: 13px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #d6dee4;
  border-radius: 16px;
  background: #f1f4f6;
  text-align: center;
}

.legacy-shell {
  position: relative;
  overflow: hidden;
  animation: legacy-warning 4.5s ease-in-out infinite;
}

.legacy-window-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 26px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #d8e0e5;
  background: #e9edef;
}

.legacy-window-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aeb8c0;
}

.legacy-window-bar span:first-child {
  background: #d98a5b;
}

.legacy-stack {
  width: 76%;
  margin: 17px auto 11px;
  padding: 9px;
  display: grid;
  gap: 5px;
  border: 1px solid #cbd5dc;
  border-radius: 9px;
  background: #e4e9ec;
  box-shadow: inset 4px 0 0 #c97c52;
}

.legacy-stack span {
  height: 5px;
  border-radius: 999px;
  background: #aebbc5;
}

.legacy-stack span:nth-child(2) { width: 72%; }
.legacy-stack span:nth-child(3) { width: 88%; }
.legacy-stack span:nth-child(4) { width: 58%; }

.legacy-shell > strong,
.modern-shell > strong {
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 750;
}

.system-tags {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.system-tags span {
  padding: 2px 6px;
  border-radius: 999px;
  color: #7a5a48;
  background: #f5e8df;
  font-size: 0.7rem;
  font-weight: 750;
}

.migration-bridge {
  position: relative;
  min-height: 195px;
  display: grid;
  place-items: center;
}

.bridge-line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #bac7d0, var(--green-500));
}

.bridge-line::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--green-500);
  border-right: 2px solid var(--green-500);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.bridge-badge {
  position: relative;
  z-index: 3;
  width: 47px;
  height: 47px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(53, 169, 120, 0.4);
  border-radius: 15px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.2), 0 0 0 5px rgba(53, 169, 120, 0.1);
  text-align: center;
  transform: rotate(45deg);
  animation: ai-float 3s ease-in-out infinite;
}

.bridge-badge b,
.bridge-badge small {
  display: block;
  line-height: 1;
  transform: rotate(-45deg);
}

.bridge-badge b {
  color: #7fe0b4;
  font-size: 0.86rem;
}

.bridge-badge small {
  margin-top: 3px;
  color: #c5d4df;
  font-size: 0.48rem;
  font-weight: 700;
}

.data-particle {
  position: absolute;
  z-index: 2;
  top: calc(50% - 3px);
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77ddb1;
  box-shadow: 0 0 11px 3px rgba(53, 169, 120, 0.52);
  opacity: 0;
  animation: data-travel 3s linear infinite;
}

.particle-two { animation-delay: 1s; }
.particle-three { animation-delay: 2s; }

.modern-shell {
  border-color: #c7e3d7;
  background: linear-gradient(145deg, #f9fdfb, #eaf7f1);
}

.modern-map {
  position: relative;
  width: 100%;
  height: 132px;
  margin: 0 auto 4px;
}

.module-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.module-links path {
  fill: none;
  stroke: rgba(35, 137, 108, 0.56);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  animation: link-flow 2.2s linear infinite;
}

.core-node,
.module-node {
  position: absolute;
  display: grid;
  place-content: center;
  border-radius: 11px;
  text-align: center;
  font-weight: 800;
}

.core-node {
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 9px 22px rgba(12, 35, 64, 0.2), 0 0 0 5px rgba(53, 169, 120, 0.12);
  transform: translate(-50%, -50%);
  animation: core-pulse 2.4s ease-in-out infinite;
}

.core-node b { color: #7fe0b4; font-size: 0.82rem; line-height: 1; }
.core-node small { margin-top: 4px; color: #c5d4df; font-size: 0.48rem; line-height: 1; }

.module-node {
  min-width: 54px;
  min-height: 30px;
  padding: 5px 7px;
  border: 1px solid #badfce;
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 6px 15px rgba(12, 35, 64, 0.08);
  font-size: 0.7rem;
  animation: module-activate 7.2s ease-in-out infinite;
}

.module-sales { top: 3px; left: 2px; animation-delay: 0.5s; }
.module-data { top: 3px; right: 2px; animation-delay: 1.2s; }
.module-ai { bottom: 3px; left: 2px; animation-delay: 1.9s; }
.module-web { right: 2px; bottom: 3px; animation-delay: 2.6s; }

.system-tags-modern span {
  color: var(--green-700);
  background: #dff3e9;
}

.migration-steps {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  list-style: none;
}

.migration-step {
  min-width: 0;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.9);
  animation: step-focus 7.2s ease-in-out infinite;
}

.migration-step > b {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  border-radius: 8px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 0.58rem;
}

.migration-step span,
.migration-step strong,
.migration-step small {
  min-width: 0;
  display: block;
  line-height: 1.15;
}

.migration-step strong { font-size: 0.75rem; }
.migration-step small { margin-top: 3px; color: var(--muted); font-size: 0.7rem; }
.step-two { animation-delay: 2.4s; }
.step-three { animation-delay: 4.8s; }

.migration-progress {
  position: relative;
  z-index: 1;
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e9ed;
}

.migration-progress span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-700), #6bdbad);
  box-shadow: 0 0 12px rgba(53, 169, 120, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  animation: migration-progress 7.2s ease-in-out infinite;
}

.architecture-foot {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.operation-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--green-700);
  font-weight: 800;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 7px rgba(53, 169, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 169, 120, 0); }
}

@keyframes legacy-warning {
  0%, 100% { border-color: #d6dee4; box-shadow: 0 0 0 rgba(201, 124, 82, 0); }
  50% { border-color: #e1c1ae; box-shadow: inset 0 0 22px rgba(201, 124, 82, 0.08); }
}

@keyframes ai-float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-5px) rotate(45deg); }
}

@keyframes data-travel {
  0% { opacity: 0; transform: translateX(-41px) scale(0.7); }
  18%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(41px) scale(1.15); }
}

@keyframes data-travel-mobile {
  0% { opacity: 0; transform: translateY(-31px) scale(0.7); }
  18%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateY(31px) scale(1.15); }
}

@keyframes link-flow {
  to { stroke-dashoffset: -32; }
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 9px 22px rgba(12, 35, 64, 0.2), 0 0 0 5px rgba(53, 169, 120, 0.1); }
  50% { box-shadow: 0 12px 26px rgba(12, 35, 64, 0.25), 0 0 0 9px rgba(53, 169, 120, 0.04); }
}

@keyframes module-activate {
  0%, 18%, 100% { border-color: #badfce; background: var(--white); transform: translateY(0); }
  7%, 12% { border-color: var(--green-500); background: #e5f8ef; transform: translateY(-2px); }
}

@keyframes step-focus {
  0%, 28%, 100% { border-color: var(--line); background: rgba(255, 255, 255, 0.9); transform: translateY(0); }
  7%, 20% { border-color: #9fd4bd; background: #f0faf5; transform: translateY(-2px); }
}

@keyframes migration-progress {
  0% { opacity: 0.45; transform: scaleX(0); }
  12% { opacity: 1; }
  86% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

.proof-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.proof-item {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 1px solid var(--line);
}

.proof-item strong {
  color: var(--navy-900);
  font-size: 1.12rem;
}

.proof-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 92px 0;
}

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

.section-navy {
  color: #d9e4ec;
  background: var(--navy-950);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .section-copy,
.section-navy .card-copy {
  color: #aebdcc;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-copy {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card {
  position: relative;
  min-height: 295px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bdd2c9;
  box-shadow: var(--shadow-sm);
}

.card-number {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 0.78rem;
  font-weight: 850;
}

.card-copy {
  margin: 0 0 24px;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--navy-900);
  font-size: 0.91rem;
  font-weight: 800;
}

.card-link::after {
  margin-left: 7px;
  color: var(--green-600);
  content: "→";
}

.sofia-panel {
  position: relative;
  overflow: hidden;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.sofia-panel::after {
  position: absolute;
  right: -150px;
  top: -190px;
  width: 390px;
  height: 390px;
  border: 70px solid rgba(53, 169, 120, 0.16);
  border-radius: 50%;
  content: "";
}

.sofia-panel h2 {
  color: var(--white);
}

.sofia-panel p {
  margin-bottom: 0;
  color: #c7d5df;
  font-size: 1.06rem;
}

.sofia-kicker {
  margin-bottom: 16px;
  display: block;
  color: #7fe0b4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sofia-action {
  position: relative;
  z-index: 1;
  justify-self: end;
}

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

.process-step {
  position: relative;
  padding: 10px 26px 10px 0;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: 8px;
  width: 38px;
  height: 1px;
  background: #a8d8c4;
  content: "";
}

.step-index {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #a8d8c4;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.impact-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.impact-card strong {
  display: block;
  color: #7fe0b4;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.impact-card span {
  margin-top: 14px;
  display: block;
  color: var(--white);
  font-weight: 700;
}

.impact-card small {
  margin-top: 8px;
  display: block;
  color: #9fb0c1;
  font-size: 0.8rem;
}

.impact-note {
  margin: 22px 0 0;
  color: #91a6b9;
  font-size: 0.82rem;
}

.about-grid,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 64px;
}

.about-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

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

.fact-list li {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child {
  padding-bottom: 0;
  border: 0;
}

.fact-list strong {
  display: block;
  color: var(--navy-900);
}

.fact-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.contact-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

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

.field-full {
  grid-column: 1 / -1;
}

.field label,
.consent {
  color: #34485e;
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd7df;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-600);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(35, 137, 108, 0.12);
}

.consent {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green-700);
}

.consent a,
.contact-copy a,
.legal-copy a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.form-status {
  min-height: 24px;
  margin: 15px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green-700);
}

.form-status.is-error {
  color: #b42318;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

.contact-copy {
  padding-top: 12px;
}

.contact-points {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.contact-point {
  padding: 16px 18px;
  border-left: 3px solid var(--green-500);
  background: var(--white);
}

.contact-point strong {
  display: block;
  color: var(--navy-900);
}

.contact-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 50px 0 28px;
  color: #b1c0ce;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 48px;
}

.footer-brand img {
  width: 230px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 410px;
  color: #93a7b8;
  font-size: 0.9rem;
}

.footer-column strong {
  margin-bottom: 12px;
  display: block;
  color: var(--white);
  font-size: 0.88rem;
}

.footer-column a {
  margin: 7px 0;
  display: block;
  color: #aebdcc;
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: #7fe0b4;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8197aa;
  font-size: 0.8rem;
}

.page-hero {
  padding: 82px 0 68px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(53, 169, 120, 0.14), transparent 30%),
    var(--surface);
}

.page-hero .container {
  max-width: 920px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.breadcrumb {
  margin-bottom: 20px;
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

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

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-100);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.detail-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-card + .detail-card {
  margin-top: 18px;
}

.detail-card p:last-child {
  margin-bottom: 0;
}

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

.deliverable {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.deliverable span {
  margin-bottom: 14px;
  display: block;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

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

.cta-band {
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius-lg);
  color: #c9d7e2;
  background: var(--navy-900);
}

.cta-band h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.cta-band p {
  max-width: 650px;
  margin: 0;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 46px;
  font-size: 1.65rem;
}

.legal-copy h3 {
  margin-top: 30px;
  font-size: 1.18rem;
}

.legal-copy p,
.legal-copy li {
  color: #46596e;
}

.legal-copy ul {
  padding-left: 22px;
}

.last-updated {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 1020px) {
  .hero-grid {
    gap: 36px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 16px;
  }

  .process-step:nth-child(2)::after,
  .process-step:last-child::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100vh - 78px);
    padding: 18px 20px 26px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 50px rgba(12, 35, 64, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .detail-grid,
  .sofia-panel {
    grid-template-columns: 1fr;
  }

  .architecture-card {
    max-width: 620px;
  }

  .sofia-action {
    justify-self: start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .brand img {
    width: 205px;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 56px 0 58px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .proof-grid,
  .services-grid,
  .impact-grid,
  .deliverables,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 96px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 0;
  }

  .sofia-panel,
  .cta-band {
    padding: 36px 26px;
  }

  .transformation-board {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .legacy-shell,
  .modern-shell {
    min-height: 185px;
  }

  .migration-bridge {
    min-height: 78px;
  }

  .bridge-line {
    top: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #bac7d0, var(--green-500));
  }

  .bridge-line::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .data-particle {
    top: calc(50% - 3px);
    animation-name: data-travel-mobile;
  }

  .modern-map {
    width: min(100%, 270px);
  }

  .architecture-foot {
    align-items: flex-start;
  }

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

  .process-step::after {
    display: none;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .architecture-card {
    padding: 19px;
    border-radius: 24px;
  }

  .architecture-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .migration-steps {
    grid-template-columns: 1fr;
  }

  .migration-step {
    min-height: 50px;
  }

  .migration-step strong {
    font-size: 0.75rem;
  }

  .migration-step small {
    font-size: 0.7rem;
  }

  .architecture-foot {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
