:root {
  --navy: #0a1628;
  --navy-2: #102542;
  --blue: #1565c0;
  --cyan: #00bcd4;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #e8edf3;
  --gray-300: #c8d3df;
  --text: #122033;
  --muted: #5f6f82;
  --shadow: 0 24px 70px rgba(10, 22, 40, 0.12);
  --soft-shadow: 0 14px 38px rgba(10, 22, 40, 0.08);
  --radius: 12px;
  --max: 1180px;
}

/* Home v3 direction: closer to the stronger Claude structure, but using project assets and real links. */
body.home-v3 {
  color: #e2e8f0;
  background: #0a1628;
}

.home-v3 .site-header {
  background: rgba(10, 22, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.home-v3 .site-header[data-scrolled] {
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.home-v3 .brand img {
  width: 202px;
}

.home-v3 .site-nav {
  color: rgba(255, 255, 255, 0.82);
}

.home-v3 .site-nav a:hover,
.home-v3 .site-nav a[aria-current="page"] {
  color: #ffffff;
}

.home-v3 .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.home-v3 .nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-v3 .site-nav.open {
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-v3 .site-nav.open a {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.home-v3 .v2-hero {
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 6.5vw, 86px) 0 clamp(44px, 5vw, 64px);
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 18%, rgba(21, 101, 192, 0.28), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(0, 188, 212, 0.12), transparent 26%),
    linear-gradient(135deg, #071322 0%, #0a1628 58%, #102f5f 100%);
}

.home-v3 .v2-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.86), transparent 98%);
}

.home-v3 .v2-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.home-v3 .v2-hero-copy {
  padding-bottom: 0;
}

.home-v3 .v2-hero h1 {
  max-width: 660px;
  color: #ffffff;
  font-size: clamp(3.2rem, 5.6vw, 5.65rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.home-v3 .v2-hero-lead {
  max-width: 660px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.78;
}

.home-v3 .v2-hero-copy blockquote {
  max-width: 650px;
  margin-top: 32px;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--cyan);
}

.home-v3 .v2-hero-copy blockquote p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.28vw, 1.12rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.58;
}

.home-v3 .v2-hero-copy blockquote cite {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.home-v3 .v2-hero .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.v3-hero-board {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 25, 45, 0.78);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.v3-board-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v3-board-top strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.v3-board-top span {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.v3-board-grid {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.v3-board-column {
  display: grid;
  gap: 10px;
}

.v3-board-label {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v3-board-column article,
.v3-board-proof article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.v3-board-column article strong,
.v3-board-proof article strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.18;
}

.v3-board-column article p,
.v3-board-proof article span {
  display: block;
  margin: 7px 0 0;
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.78rem;
  line-height: 1.38;
}

.v3-board-flow {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.v3-board-flow span {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.16), var(--cyan));
}

.v3-board-flow span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.v3-board-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.v3-board-proof article {
  border-color: rgba(0, 188, 212, 0.22);
  background: rgba(0, 188, 212, 0.08);
}

.home-v3 .v2-proof-band {
  background: #111d33;
  border-color: rgba(255, 255, 255, 0.08);
}

.home-v3 .v2-proof-grid div {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.home-v3 .v2-proof-grid strong {
  color: #ffffff;
}

.home-v3 .v2-proof-grid span {
  color: rgba(226, 232, 240, 0.72);
}

.home-v3 .v2-dna,
.home-v3 .v2-services,
.home-v3 .v2-process,
.home-v3 .v2-cases {
  background: #0a1628;
}

.home-v3 .v2-dna {
  background: #111d33;
}

.home-v3 .v2-section-head h2,
.home-v3 .v2-dna-grid h3,
.home-v3 .v2-service-grid h3,
.home-v3 .v2-process-line h3 {
  color: #ffffff;
}

.home-v3 .v2-section-head p:not(.section-label),
.home-v3 .v2-dna-grid p,
.home-v3 .v2-service-grid p,
.home-v3 .v2-process-line p {
  color: rgba(226, 232, 240, 0.68);
}

.home-v3 .v2-dna-grid,
.home-v3 .v2-service-grid {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.home-v3 .v2-dna-grid article,
.home-v3 .v2-service-grid article {
  background: rgba(255, 255, 255, 0.045);
}

.home-v3 .v2-icon {
  color: var(--cyan);
  border-color: rgba(0, 188, 212, 0.28);
  background: rgba(0, 188, 212, 0.08);
}

.home-v3 .v2-process-line::before {
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.08), var(--cyan), rgba(0, 188, 212, 0.08));
}

.home-v3 .v2-process-line span {
  color: #ffffff;
  border-color: var(--cyan);
  background: #0a1628;
  box-shadow: 0 0 0 12px #0a1628;
}

.home-v3 .v2-cases {
  background: #f5f8fc;
}

.home-v3 .v2-cases .v2-section-head h2 {
  color: #07162d;
}

.home-v3 .v2-cases .v2-section-head p:not(.section-label) {
  color: #52647a;
}

.home-v3 .v2-trust {
  background: #ffffff;
}

@media (max-width: 1180px) {
  .home-v3 .v2-hero-grid {
    grid-template-columns: 1fr;
  }

  .v3-hero-board {
    max-width: 980px;
  }
}

@media (max-width: 820px) {
  .home-v3 .v2-hero {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .home-v3 .v2-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .v3-hero-board {
    display: none;
  }

  .home-v3 .v2-proof-grid div,
  .home-v3 .v2-proof-grid div:nth-child(2),
  .home-v3 .v2-proof-grid div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

.home-v3 .v2-proof-grid div:last-child {
    border-bottom: 0;
  }
}

/* Final polish pass */
.process-slogan {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.process-slogan span {
  display: inline-grid;
  min-height: 72px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(0, 188, 212, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home5-case-card .home5-case-media,
.case-row .case-row-media {
  overflow: hidden;
}

.home5-case-main .home5-case-media {
  background: rgba(255, 255, 255, 0.97);
}

.home5-case-main .home5-case-media img {
  object-fit: cover;
}

.sc-logo-row .trust-more {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 999px;
  background: #f5f8fc;
  color: #52647a;
  filter: none;
  opacity: 1;
  white-space: nowrap;
}

.home-v5 .home5-offer-grid {
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-v5 .home5-offer-grid article {
  position: relative;
  min-height: 250px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  box-shadow: 0 16px 44px rgba(10, 22, 40, 0.06);
}

.home-v5 .home5-offer-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -22px;
  z-index: 2;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.25), var(--cyan));
}

.home-v5 .home5-offer-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 14px 30px rgba(21, 101, 192, 0.22);
}

.subpage-v5 .page-hero {
  min-height: 0 !important;
  padding: 0 !important;
}

.subpage-v5 .page-hero-inner {
  min-height: 0 !important;
  padding: clamp(64px, 6vw, 86px) 0 clamp(50px, 5vw, 68px) !important;
}

.subpage-v5 .page-hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
}

.subpage-v5 .section {
  padding: clamp(54px, 6vw, 86px) 0;
}

.service-hero-chart {
  display: inline-grid;
  grid-template-columns: auto 52px auto 52px auto;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.service-hero-chart span {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 16px;
  color: #ffffff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-hero-chart i {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.15), var(--cyan));
}

.service-hero-chart i::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.subpage-v5 .case-row-featured {
  border-color: rgba(0, 188, 212, 0.24);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.98), rgba(13, 43, 83, 0.98));
  box-shadow: 0 22px 64px rgba(10, 22, 40, 0.16);
}

.subpage-v5 .case-row-featured h3 {
  color: #ffffff;
}

.subpage-v5 .case-row-featured p {
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .case-row-featured .text-link {
  color: #ffffff;
}

.subpage-v5 .case-row-featured .tag {
  color: var(--cyan);
}

.legal-content {
  max-width: 860px;
}

.legal-content section {
  padding: 28px 0;
  border-bottom: 1px solid #e8edf3;
}

.legal-content section:first-of-type {
  padding-top: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: #07162d;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.16;
}

.legal-content p {
  margin: 0 0 12px;
  color: #52647a;
  line-height: 1.74;
}

.legal-updated,
.legal-note {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5f8fc;
  color: #52647a;
  font-size: 0.88rem;
  font-weight: 800;
}

.legal-note {
  border-radius: 12px;
  background: rgba(0, 188, 212, 0.08);
  color: #0a5070;
}

@media (max-width: 900px) {
  .home-v5 .home5-offer-grid article:not(:last-child)::after {
    display: none;
  }

  .service-hero-chart {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .service-hero-chart i {
    width: 2px;
    height: 32px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(0, 188, 212, 0.15), var(--cyan));
  }

  .service-hero-chart i::after {
    top: auto;
    right: -5px;
    bottom: 0;
    transform: rotate(135deg);
  }
}

@media (max-width: 720px) {
  .process-slogan {
    display: grid;
  }

  .process-slogan span {
    min-height: 58px;
  }
}

/* Launch final overrides - absolute last. */
.subpage-v5 .values-only {
  position: relative;
  overflow: hidden;
}

.subpage-v5 .values-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 188, 212, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
}

.subpage-v5 .values-only > * {
  position: relative;
  z-index: 1;
}

.subpage-v5 .values-only .section-head {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.subpage-v5 .values-only .section-head p:not(.section-label) {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .values-manifesto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px auto 22px;
  font-size: clamp(1.55rem, 3.1vw, 3.2rem);
  line-height: 1;
}

.subpage-v5 .values-manifesto span {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(0, 188, 212, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.subpage-v5 .values-only .value-grid {
  max-width: 1120px;
  margin: 34px auto 0;
}

.subpage-v5 .values-only .value-card {
  text-align: left;
}

.service-hero-chart {
  grid-template-columns: auto minmax(64px, 82px) auto minmax(64px, 82px) auto;
  gap: 16px;
  margin-top: 34px;
  padding: 16px;
  border-radius: 20px;
}

.service-hero-chart span {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .subpage-v5 .values-manifesto {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .subpage-v5 .values-manifesto span {
    min-height: 78px;
  }

  .service-hero-chart {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
  }

  .service-hero-chart span {
    min-height: 54px;
  }
}

/* Final launch polish. */
.subpage-v5 .values-only {
  position: relative;
  overflow: hidden;
}

.subpage-v5 .values-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 188, 212, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
}

.subpage-v5 .values-only > * {
  position: relative;
  z-index: 1;
}

.subpage-v5 .values-only .section-head {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.subpage-v5 .values-only .section-head p:not(.section-label) {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .values-manifesto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px auto 22px;
  font-size: clamp(1.55rem, 3.1vw, 3.2rem);
  line-height: 1;
}

.subpage-v5 .values-manifesto span {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(0, 188, 212, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.subpage-v5 .values-only .value-grid {
  max-width: 1120px;
  margin: 34px auto 0;
}

.subpage-v5 .values-only .value-card {
  text-align: left;
}

.service-hero-chart {
  grid-template-columns: auto minmax(64px, 82px) auto minmax(64px, 82px) auto;
  gap: 16px;
  margin-top: 34px;
  padding: 16px;
  border-radius: 20px;
}

.service-hero-chart span {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .subpage-v5 .values-manifesto {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .subpage-v5 .values-manifesto span {
    min-height: 78px;
  }

  .service-hero-chart {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
  }

  .service-hero-chart span {
    min-height: 54px;
  }
}

/* Latest feedback polish - keep after older layered concepts. */
.home-v5 .home5-offer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-v5 .home5-offer-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0), rgba(0, 188, 212, 0.42), rgba(21, 101, 192, 0));
}

.home-v5 .home5-offer-grid article {
  position: relative;
  min-height: 245px;
  padding: 26px 24px;
  border: 1px solid rgba(21, 101, 192, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 24px 22px, rgba(0, 188, 212, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f0f6fb 100%);
  box-shadow: 0 18px 50px rgba(10, 22, 40, 0.08);
}

.home-v5 .home5-offer-grid article:not(:last-child)::after {
  display: none;
}

.home-v5 .home5-offer-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bcd4, #1565c0);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 16px 34px rgba(21, 101, 192, 0.24);
}

.home-v5 .home5-offer-grid h3 {
  margin-top: 28px;
}

.home-v5 .home5-offer-grid p {
  color: #41556d;
}

.sc-logo-row img {
  opacity: 0.76;
}

.sc-logo-row img[src$="eurocash.png"] {
  max-width: 150px;
  max-height: 44px;
}

.sc-logo-row img[src$="zywiec.png"] {
  max-width: 150px;
  max-height: 48px;
}

.subpage-v5 .values-only .section-head {
  max-width: 920px;
}

.subpage-v5 .values-only .section-head p:not(.section-label) {
  color: rgba(226, 232, 240, 0.76);
}

.subpage-v5 .values-only .value-grid {
  margin-top: 30px;
}

.subpage-v5 .values-only .value-card {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: none;
}

.subpage-v5 .values-only .value-card h3 {
  color: #ffffff;
}

.subpage-v5 .values-only .value-card p {
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .cta-band .button-primary {
  color: #ffffff;
  border: 0;
  background: linear-gradient(90deg, #00bcd4 0%, #1565c0 100%);
  box-shadow: 0 18px 42px rgba(0, 188, 212, 0.22);
}

.subpage-v5 .cta-band .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 188, 212, 0.28);
}

@media (max-width: 1100px) {
  .home-v5 .home5-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v5 .home5-offer-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-v5 .home5-offer-grid {
    grid-template-columns: 1fr;
  }

  .home-v5 .home5-offer-grid article {
    min-height: 0;
  }
}

/* Active v5 overrides - keep last. */
.home-v5 [data-animate],
.subpage-v5 [data-animate] {
  opacity: 1;
  transform: none;
}

.home-v5 .home5-hero-grid {
  min-height: 500px;
  padding-top: clamp(36px, 4vw, 44px);
  padding-bottom: clamp(36px, 4vw, 44px);
}

.home-v5 .home5-value-map {
  display: none !important;
}

.home-v5 .home5-hero-media {
  position: relative;
  min-height: 500px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(8, 18, 33, 0.62);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.home-v5 .home5-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 34, 0.22), transparent 24%),
    linear-gradient(0deg, rgba(7, 19, 34, 0.18), transparent 36%);
  pointer-events: none;
}

.home-v5 .home5-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 56% 50%;
}

.home5-case-media,
.case-row-media {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(21, 101, 192, 0.78));
}

.home5-case-media {
  height: 168px;
  margin: -28px -28px 24px;
  border-radius: 16px 16px 0 0;
}

.home5-case-main .home5-case-media {
  height: 190px;
}

.home5-case-media img,
.case-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home5-case-media.logo-media,
.case-row-media.logo-media {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.16), transparent 32%),
    linear-gradient(135deg, #f7fbff, #eaf2fb);
}

.home5-case-main .home5-case-media.logo-media {
  background: rgba(255, 255, 255, 0.92);
}

.home5-case-media.logo-media img,
.case-row-media.logo-media img {
  max-width: 78%;
  max-height: 68px;
  object-fit: contain;
}

.subpage-v5 .case-row-media {
  align-self: stretch;
  min-height: 150px;
  border-radius: 12px;
}

.subpage-v5 .contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.subpage-v5 .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.subpage-v5 .button-secondary {
  color: #07162d;
  background: #ffffff;
  border: 1px solid rgba(21, 101, 192, 0.2);
  box-shadow: none;
}

.subpage-v5 .button-secondary:hover {
  color: #ffffff;
  background: #1565c0;
}

.subpage-v5 .contact-main-card {
  padding: 32px;
}

.subpage-v5 .contact-main-card h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.subpage-v5 .contact-topic-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.subpage-v5 .mini-case {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px 28px;
  align-items: center;
  padding: 28px;
  color: #102033;
}

.subpage-v5 .mini-case .tag,
.subpage-v5 .mini-case h3,
.subpage-v5 .mini-case p {
  grid-column: 2;
}

.subpage-v5 .mini-case-media {
  grid-row: 1 / span 3;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f8fc;
}

.subpage-v5 .mini-case-media img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.subpage-v5 .mini-case h3 {
  margin-top: 14px;
  color: #07162d;
}

.subpage-v5 .mini-case p,
.subpage-v5 .highlight-quote p {
  color: #52647a;
  opacity: 1;
}

@media (max-width: 900px) {
  .subpage-v5 .case-row-media {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .home-v5 .home5-hero-grid {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .home-v5 .home5-hero-media,
  .home-v5 .home5-hero-media img {
    min-height: 300px;
  }

  .home5-case-media {
    height: 150px;
  }

  .subpage-v5 .contact-direct,
  .subpage-v5 .mini-case,
  .subpage-v5 .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .subpage-v5 .mini-case .tag,
  .subpage-v5 .mini-case h3,
  .subpage-v5 .mini-case p,
  .subpage-v5 .mini-case-media {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Active v5 final overrides must stay at the end of the file. */
.home-v5 [data-animate],
.subpage-v5 [data-animate] {
  opacity: 1;
  transform: none;
}

.home-v5 .home5-hero-grid {
  min-height: 500px;
  padding-top: clamp(36px, 4vw, 44px);
  padding-bottom: clamp(36px, 4vw, 44px);
}

.home-v5 .home5-hero-media {
  position: relative;
  min-height: 500px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(8, 18, 33, 0.62);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.home-v5 .home5-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 34, 0.2), transparent 24%),
    linear-gradient(0deg, rgba(7, 19, 34, 0.18), transparent 36%);
  pointer-events: none;
}

.home-v5 .home5-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 56% 50%;
  display: block;
}

.home-v5 .home5-value-map {
  display: none;
}

.home5-case-media,
.case-row-media {
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(21, 101, 192, 0.78));
}

.home5-case-media {
  height: 168px;
  margin: -28px -28px 24px;
  border-radius: 16px 16px 0 0;
}

.home5-case-main .home5-case-media {
  height: 190px;
}

.home5-case-media img,
.case-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home5-case-media.logo-media,
.case-row-media.logo-media {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.16), transparent 32%),
    linear-gradient(135deg, #f7fbff, #eaf2fb);
}

.home5-case-main .home5-case-media.logo-media {
  background: rgba(255, 255, 255, 0.92);
}

.home5-case-media.logo-media img,
.case-row-media.logo-media img {
  max-width: 78%;
  max-height: 68px;
  object-fit: contain;
}

.subpage-v5 .case-row-media {
  align-self: stretch;
  min-height: 150px;
  border-radius: 12px;
}

.subpage-v5 .contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.subpage-v5 .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.subpage-v5 .contact-main-card {
  padding: 32px;
}

.subpage-v5 .contact-topic-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.subpage-v5 .mini-case {
  padding: 28px;
  color: #102033;
}

.subpage-v5 .mini-case h3 {
  margin-top: 14px;
  color: #07162d;
}

.subpage-v5 .mini-case p {
  max-width: 880px;
  margin: 10px 0 0;
  color: #52647a;
  opacity: 1;
}

.subpage-v5 .highlight-quote p {
  color: #52647a;
  opacity: 1;
}

@media (max-width: 720px) {
  .home-v5 .home5-hero-grid {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .home-v5 .home5-hero-media,
  .home-v5 .home5-hero-media img {
    min-height: 300px;
  }

  .home5-case-media {
    height: 150px;
  }

  .subpage-v5 .contact-direct,
  .subpage-v5 .contact-topic-grid {
    grid-template-columns: 1fr;
  }
}

/* Final direction polish: business value map hero + stable subpage reveals */
.home-v5 .home5-value-map {
  min-height: 500px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.16), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(21, 101, 192, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(8, 18, 33, 0.92), rgba(9, 31, 58, 0.82));
}

.home-v5 .home5-value-map::before {
  inset: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.home5-value-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.home5-value-lines path {
  fill: none;
  stroke: url(#valueLine);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.72;
}

.home5-signal-panel,
.home5-decision-panel,
.home5-effect-panel {
  position: absolute;
  z-index: 2;
}

.home5-signal-panel,
.home5-effect-panel {
  top: 72px;
  display: grid;
  gap: 13px;
  width: 190px;
}

.home5-signal-panel {
  left: 34px;
}

.home5-effect-panel {
  right: 34px;
}

.home5-signal-panel > p,
.home5-decision-panel > p,
.home5-effect-panel > p {
  margin: 0 0 2px;
  color: rgba(0, 188, 212, 0.95);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home5-signal,
.home5-effect-row,
.home5-roi-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home5-signal {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 13px;
}

.home5-signal span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home5-signal strong {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.18;
}

.home5-signal em {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

.home5-decision-panel {
  top: 52px;
  left: 50%;
  display: grid;
  justify-items: center;
  width: 246px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(0, 188, 212, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 188, 212, 0.2), transparent 42%),
    rgba(7, 18, 33, 0.78);
  box-shadow:
    0 0 0 10px rgba(0, 188, 212, 0.045),
    0 28px 80px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
}

.home5-radar {
  width: 180px;
  height: 180px;
  margin-top: 8px;
  overflow: visible;
}

.home5-radar polygon,
.home5-radar line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.4;
}

.home5-radar path {
  fill: rgba(0, 188, 212, 0.22);
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-linejoin: round;
}

.home5-decision-core {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  text-align: center;
}

.home5-decision-core strong {
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.12;
}

.home5-decision-core span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
  font-weight: 760;
}

.home5-effect-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
}

.home5-effect-row span {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.74rem;
  font-weight: 850;
}

.home5-effect-row i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--cyan) var(--bar), rgba(255, 255, 255, 0.12) var(--bar));
  box-shadow: 0 0 18px rgba(0, 188, 212, 0.18);
}

.home5-effect-row strong {
  grid-column: 1 / -1;
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.16;
}

.home5-roi-card {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(21, 101, 192, 0.1)),
    rgba(255, 255, 255, 0.08);
}

.home5-roi-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(0, 188, 212, 0.95);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home5-roi-card strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.24;
}

.home-v5 [data-animate],
.subpage-v5 [data-animate] {
  opacity: 1;
  transform: none;
}

.home-v5 .home5-hero-grid {
  min-height: min(760px, calc(100vh - 140px));
}

@media (max-width: 1120px) {
  .home-v5 .home5-value-map {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .home-v5 .home5-value-map {
    min-height: 640px;
    padding: 18px;
  }

  .home5-value-lines {
    display: none;
  }

  .home5-signal-panel,
  .home5-decision-panel,
  .home5-effect-panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    transform: none;
  }

  .home5-signal-panel,
  .home5-effect-panel {
    gap: 9px;
  }

  .home5-signal {
    min-height: auto;
  }

  .home5-decision-panel {
    margin: 14px 0;
  }

  .home5-radar {
    width: 146px;
    height: 146px;
  }
}

/* Home v5: clean rebuild */
body.home-v5 {
  color: #102033;
  background: #ffffff;
}

.home-v5 .site-header {
  background: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.home-v5 .brand img {
  width: 204px;
}

.home-v5 .site-nav {
  color: rgba(255, 255, 255, 0.82);
}

.home-v5 .site-nav a:hover,
.home-v5 .site-nav a[aria-current="page"] {
  color: #ffffff;
}

.home-v5 .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.home-v5 .nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-v5 .site-nav.open {
  background: rgba(10, 22, 40, 0.98);
}

.home5-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home5-hero {
  position: relative;
  isolation: isolate;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 20%, rgba(21, 101, 192, 0.32), transparent 30%),
    radial-gradient(circle at 16% 88%, rgba(0, 188, 212, 0.12), transparent 28%),
    linear-gradient(135deg, #071322 0%, #0a1628 56%, #102f5f 100%);
  overflow: hidden;
}

.home5-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.8) 58%, transparent 100%);
}

.home5-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 7vw, 92px) 0;
}

.home5-hero-copy h1 {
  max-width: 670px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.45rem, 6.2vw, 6.25rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home5-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.home5-hero blockquote {
  max-width: 650px;
  margin: 32px 0 0;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--cyan);
}

.home5-hero blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 650;
  line-height: 1.58;
}

.home5-hero blockquote cite {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.home5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.home5-hero .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.home5-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 188, 212, 0.16), transparent 34%),
    rgba(8, 18, 33, 0.62);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.home5-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  pointer-events: none;
}

.home5-data-stack {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: 154px;
}

.home5-data-left {
  top: 128px;
  left: 34px;
}

.home5-data-right {
  top: 128px;
  right: 34px;
}

.home5-data-stack span {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 800;
}

.home5-device {
  position: absolute;
  z-index: 3;
  top: 96px;
  left: 50%;
  width: 230px;
  min-height: 316px;
  padding: 18px;
  border: 1px solid rgba(0, 188, 212, 0.36);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 42, 72, 0.98), rgba(7, 18, 33, 0.98));
  box-shadow:
    0 0 0 10px rgba(0, 188, 212, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.44);
  transform: translateX(-50%);
}

.home5-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home5-device-top span {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home5-device-top i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 188, 212, 0.8);
}

.home5-core {
  display: grid;
  place-items: center;
  min-height: 116px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 188, 212, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(0, 188, 212, 0.22), transparent 64%),
    rgba(0, 188, 212, 0.08);
  text-align: center;
}

.home5-core strong {
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.1;
}

.home5-core span {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.8rem;
}

.home5-rack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.home5-rack span {
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.28) 0 18%, transparent 18%),
    rgba(255, 255, 255, 0.06);
}

.home5-flow {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.home5-flow path {
  fill: none;
  stroke: url(#flowStroke);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.74;
}

.home5-proof {
  color: #ffffff;
  background: #111d33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.home5-proof-grid div {
  min-height: 132px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.home5-proof-grid div:last-child {
  border-right: 0;
}

.home5-proof-grid strong {
  display: block;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.home5-proof-grid span {
  display: block;
  max-width: 210px;
  margin: 12px auto 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.42;
}

.home5-section {
  padding: clamp(76px, 8vw, 112px) 0;
}

.home5-light {
  background: #ffffff;
}

.home5-process {
  color: #ffffff;
  background: #0a1628;
}

.home5-cases {
  background: #f5f8fc;
}

.home5-section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.home5-section-head p,
.home5-cta p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home5-section-head h2,
.home5-cta h2 {
  margin: 0;
  color: #07162d;
  font-size: clamp(2.15rem, 4.6vw, 4.2rem);
  line-height: 1.05;
}

.home5-process .home5-section-head h2 {
  color: #ffffff;
}

.home5-head-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  max-width: none;
}

.home5-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(21, 101, 192, 0.13);
  border-radius: 18px;
  background: rgba(21, 101, 192, 0.13);
  overflow: hidden;
}

.home5-offer-grid article {
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.home5-offer-grid span,
.home5-case-card > span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home5-offer-grid h3,
.home5-case-card h3,
.home5-process-line h3 {
  margin: 22px 0 0;
  color: #07162d;
  font-size: 1.18rem;
  line-height: 1.18;
}

.home5-offer-grid p,
.home5-case-card p,
.home5-process-line p {
  margin: 12px 0 0;
  color: #5a6d83;
  font-size: 0.96rem;
  line-height: 1.65;
}

.home5-process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.home5-process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.1), var(--cyan), rgba(0, 188, 212, 0.1));
}

.home5-process-line article {
  position: relative;
}

.home5-process-line span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #0a1628;
  box-shadow: 0 0 0 12px #0a1628;
  font-weight: 900;
}

.home5-process-line h3 {
  color: #ffffff;
}

.home5-process-line p {
  color: rgba(226, 232, 240, 0.7);
}

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

.home5-case-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(10, 22, 40, 0.06);
}

.home5-case-main {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(21, 101, 192, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.home5-case-main > span {
  color: var(--cyan);
}

.home5-case-main h3 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.home5-case-main p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.home5-case-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

.home5-case-main .text-link {
  color: #ffffff;
}

.home5-trust {
  padding: 50px 0;
  background: #ffffff;
  text-align: center;
}

.home5-trust h2 {
  margin: 0 0 24px;
  color: #5a6d83;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home5-cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 16%, rgba(0, 188, 212, 0.18), transparent 26%),
    linear-gradient(135deg, #06101f, #0a3f80);
}

.home5-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(58px, 7vw, 86px) 0;
}

.home5-cta h2 {
  max-width: 760px;
  color: #ffffff;
}

.home5-cta p {
  color: var(--cyan);
}

.home-v5 .footer-logo {
  content: url("../assets/original/img/logo-main-white.svg");
}

@media (max-width: 1120px) {
  .home5-hero-grid,
  .home5-cta-inner {
    grid-template-columns: 1fr;
  }

  .home5-visual {
    max-width: 760px;
  }

  .home5-offer-grid,
  .home5-proof-grid,
  .home5-process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home5-process-line::before {
    display: none;
  }

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

@media (max-width: 720px) {
  body.home-v5 {
    padding-bottom: 76px;
  }

  .home5-shell {
    width: min(100% - 32px, 1180px);
  }

  .home5-hero-grid {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .home5-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .home5-actions .button {
    width: 100%;
  }

  .home5-visual {
    min-height: 430px;
  }

  .home5-data-stack {
    width: 122px;
  }

  .home5-data-left {
    top: 72px;
    left: 18px;
  }

  .home5-data-right {
    top: 72px;
    right: 18px;
  }

  .home5-data-stack span {
    padding: 10px;
    font-size: 0.72rem;
  }

  .home5-device {
    top: 154px;
    width: min(230px, calc(100% - 48px));
  }

  .home5-proof-grid,
  .home5-offer-grid,
  .home5-process-line,
  .home5-case-grid {
    grid-template-columns: 1fr;
  }

  .home5-proof-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home5-proof-grid div:last-child {
    border-bottom: 0;
  }

  .home5-offer-grid article,
  .home5-case-card {
    min-height: auto;
  }

  .home5-case-main {
    grid-column: auto;
  }

  .home5-head-row {
    display: grid;
  }
}

/* Shared v5 template for subpages */
body.subpage-v5 {
  color: #102033;
  background: #ffffff;
}

.subpage-v5 .site-header {
  background: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.subpage-v5 .brand img {
  width: 204px;
  content: url("../assets/original/img/logo-main-white.svg");
}

.subpage-v5 .site-nav {
  color: rgba(255, 255, 255, 0.82);
}

.subpage-v5 .site-nav a:hover,
.subpage-v5 .site-nav a[aria-current="page"] {
  color: #ffffff;
}

.subpage-v5 .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.subpage-v5 .nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.subpage-v5 .site-nav.open {
  background: rgba(10, 22, 40, 0.98);
}

.subpage-v5 .page-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 20%, rgba(21, 101, 192, 0.32), transparent 30%),
    radial-gradient(circle at 16% 88%, rgba(0, 188, 212, 0.12), transparent 28%),
    linear-gradient(135deg, #071322 0%, #0a1628 58%, #102f5f 100%);
  overflow: hidden;
}

.subpage-v5 .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.8) 58%, transparent 100%);
}

.subpage-v5 .page-hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 430px;
  padding: clamp(76px, 9vw, 116px) 0;
}

.subpage-v5 .page-hero h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.subpage-v5 .page-hero p:not(.section-label) {
  max-width: 720px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.subpage-v5 .section {
  width: min(1180px, calc(100% - 40px));
  padding: clamp(76px, 8vw, 112px) 0;
}

.subpage-v5 .section-head {
  max-width: 860px;
}

.subpage-v5 .section-head h2,
.subpage-v5 .contact-form h2,
.subpage-v5 .contact-card h2 {
  color: #07162d;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.05;
}

.subpage-v5 .section-head p:not(.section-label) {
  color: #52647a;
}

.subpage-v5 .service-grid,
.subpage-v5 .team-grid,
.subpage-v5 .value-grid {
  gap: 16px;
}

.subpage-v5 .service-card,
.subpage-v5 .team-card,
.subpage-v5 .value-card,
.subpage-v5 .detail-card,
.subpage-v5 .contact-card,
.subpage-v5 .contact-form,
.subpage-v5 .mini-case,
.subpage-v5 .case-row {
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(10, 22, 40, 0.06);
}

.subpage-v5 .case-row {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  min-height: 180px;
  padding: 18px;
}

.subpage-v5 .case-row-visual {
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(21, 101, 192, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.subpage-v5 .filter-bar {
  margin-bottom: 26px;
}

.subpage-v5 .filter-button {
  border-radius: 999px;
}

.subpage-v5 .band {
  width: auto;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  color: #ffffff;
  background: #0a1628;
}

.subpage-v5 .band h2,
.subpage-v5 .dark-band h2 {
  color: #ffffff;
}

.subpage-v5 .band p,
.subpage-v5 .dark-band p {
  color: rgba(226, 232, 240, 0.72);
}

.subpage-v5 .dark-band {
  width: auto;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: #0a1628;
}

.subpage-v5 .content-grid {
  gap: 36px;
}

.subpage-v5 .sticky-aside {
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  background: #f5f8fc;
  box-shadow: none;
}

.subpage-v5 .rich-text {
  max-width: 790px;
}

.subpage-v5 .rich-text section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #e8edf3;
}

.subpage-v5 .highlight-quote {
  padding: 28px;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  background: #f5f8fc;
}

.subpage-v5 .cta-band {
  background:
    radial-gradient(circle at 88% 16%, rgba(0, 188, 212, 0.18), transparent 26%),
    linear-gradient(135deg, #06101f, #0a3f80);
}

.subpage-v5 .footer-logo {
  content: url("../assets/original/img/logo-main-white.svg");
}

@media (max-width: 900px) {
  .subpage-v5 .case-row {
    grid-template-columns: 1fr;
  }

  .subpage-v5 .case-row-visual {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  body.subpage-v5 {
    padding-bottom: 76px;
  }

  .subpage-v5 .page-hero,
  .subpage-v5 .page-hero-inner {
    min-height: auto;
  }

  .subpage-v5 .page-hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 58px 0 66px;
  }

  .subpage-v5 .page-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .subpage-v5 .section {
    width: min(100% - 32px, 1180px);
    padding: 68px 0;
  }
}

/* Home v2 redesign */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home-v2 {
  color: #07162d;
  background: #ffffff;
}

.home-v2 .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  backdrop-filter: blur(20px);
}

.home-v2 .site-header[data-scrolled] {
  box-shadow: 0 18px 48px rgba(10, 22, 40, 0.08);
}

.home-v2 .brand img {
  width: 188px;
}

.home-v2 .site-nav {
  color: #0a2447;
}

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

.home-v2 .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.home-v2 .nav-toggle {
  color: var(--navy);
  border-color: rgba(10, 22, 40, 0.18);
}

.home-v2 .site-nav.open {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.home-v2 .site-nav.open a {
  border-bottom-color: rgba(10, 22, 40, 0.1);
}

.home-v2 .v2-hero {
  min-height: auto;
  padding: clamp(54px, 6.5vw, 86px) 0 0;
  color: #07162d;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 48%, rgba(239, 247, 255, 0.74)),
    radial-gradient(circle at 72% 16%, rgba(0, 188, 212, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.home-v2 .v2-hero::before {
  background:
    linear-gradient(90deg, rgba(21, 101, 192, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 101, 192, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.78), transparent 92%);
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 1.02fr);
  gap: clamp(36px, 4.5vw, 60px);
  align-items: center;
}

.v2-hero-copy {
  padding-bottom: 46px;
}

.home-v2 .v2-hero h1 {
  max-width: 720px;
  color: #07162d;
  font-size: clamp(3.25rem, 5.25vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.v2-hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #41536a;
  font-size: clamp(1.08rem, 1.35vw, 1.23rem);
  line-height: 1.68;
}

.v2-hero-copy blockquote {
  max-width: 640px;
  margin: 30px 0 0;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--cyan);
}

.v2-hero-copy blockquote p {
  margin: 0;
  color: #07162d;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 900;
  line-height: 1.45;
}

.home-v2 .v2-hero .hero-actions {
  margin-top: 34px;
}

.home-v2 .v2-hero .button-ghost,
.home-v2 .v2-final-cta .button-ghost {
  color: #07162d;
  background: #ffffff;
  border-color: rgba(10, 22, 40, 0.16);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.06);
}

.v2-hero-proof {
  display: none;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.v2-hero-proof li {
  position: relative;
  padding-left: 28px;
  color: #4b5d73;
  font-size: 0.96rem;
  font-weight: 800;
}

.v2-hero-proof li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #ffffff;
  background: var(--blue);
}

.v2-operating-model {
  position: relative;
  display: grid;
  grid-template-columns: 190px 54px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 46px;
}

.v2-understand,
.v2-model-board,
.v2-understand article,
.v2-model-steps article,
.v2-proof-cases article {
  border: 1px solid rgba(21, 101, 192, 0.15);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 54px rgba(10, 22, 40, 0.07);
}

.v2-understand {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
}

.v2-understand > strong,
.v2-model-head strong {
  color: #07162d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.v2-understand article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  box-shadow: none;
}

.v2-understand article span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--blue);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 50%;
  background: #f4f9ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.v2-understand article h2 {
  margin: 0;
  color: #07162d;
  font-size: 0.96rem;
  line-height: 1.15;
}

.v2-understand article p {
  grid-column: 2;
  margin: -3px 0 0;
  color: #66778b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.v2-model-arrow {
  position: relative;
  height: 2px;
  background: var(--blue);
}

.v2-model-arrow::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.v2-model-board {
  padding: 20px;
  border-radius: 18px;
}

.v2-model-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.v2-model-head span {
  color: #66778b;
  font-size: 0.82rem;
  font-weight: 800;
}

.v2-model-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v2-model-steps article,
.v2-proof-cases article {
  min-height: 110px;
  padding: 16px;
  border-radius: 12px;
  box-shadow: none;
}

.v2-model-steps strong,
.v2-proof-cases strong {
  display: block;
  color: #07162d;
  font-size: 0.96rem;
  line-height: 1.2;
}

.v2-model-steps span,
.v2-proof-cases span {
  display: block;
  margin-top: 7px;
  color: #66778b;
  font-size: 0.8rem;
  line-height: 1.35;
}

.v2-chart {
  position: relative;
  margin-top: 18px;
  padding: 16px 18px 6px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.v2-chart > span,
.v2-chart em {
  color: #66778b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.v2-chart svg {
  width: 100%;
  height: auto;
  margin-top: 6px;
}

.v2-chart em {
  position: absolute;
  right: 20px;
  bottom: 8px;
}

.v2-proof-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.v2-proof-cases article {
  min-height: 86px;
}

.v2-proof-band {
  background: linear-gradient(180deg, #edf6ff, #ffffff);
  border-top: 1px solid rgba(21, 101, 192, 0.08);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

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

.v2-proof-grid div {
  min-height: 138px;
  padding: 28px 26px;
  text-align: center;
  border-right: 1px solid rgba(21, 101, 192, 0.12);
}

.v2-proof-grid div:last-child {
  border-right: 0;
}

.v2-proof-grid strong {
  display: block;
  color: #07162d;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.v2-proof-grid span {
  display: block;
  max-width: 210px;
  margin: 12px auto 0;
  color: #4f6177;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.v2-section-head {
  max-width: 920px;
  margin-bottom: 48px;
}

.v2-section-head h2 {
  margin: 0;
  color: #07162d;
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  line-height: 1.05;
}

.v2-section-head p:not(.section-label) {
  max-width: 780px;
  margin: 20px 0 0;
  color: #52647a;
  font-size: 1.08rem;
}

.v2-section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  max-width: none;
}

.v2-section-head-row > div {
  max-width: 900px;
}

.v2-dna,
.v2-services,
.v2-process,
.v2-cases {
  background: #ffffff;
}

.v2-dna-grid,
.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 18px;
  background: rgba(21, 101, 192, 0.12);
  overflow: hidden;
}

.v2-dna-grid article,
.v2-service-grid article {
  min-height: 250px;
  padding: 28px;
  background: #ffffff;
}

.v2-service-grid article {
  min-height: 300px;
}

.v2-dna-grid h3,
.v2-service-grid h3 {
  margin: 22px 0 0;
  color: #07162d;
  font-size: 1.12rem;
}

.v2-dna-grid p,
.v2-service-grid p {
  margin: 12px 0 0;
  color: #5a6d83;
  font-size: 0.94rem;
  line-height: 1.65;
}

.v2-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 50%;
  background: #f3f9ff;
}

.v2-icon::before,
.v2-icon::after {
  content: "";
  position: absolute;
}

.v2-icon-target::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.v2-icon-target::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.v2-icon-gear::before,
.v2-icon-ai::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.v2-icon-gear::after,
.v2-icon-ai::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.v2-icon-trend::before {
  width: 22px;
  height: 16px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.v2-icon-trend::after {
  width: 20px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skew(-28deg) translate(1px, -1px);
}

.v2-icon-check::before {
  width: 18px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translate(2px, -1px);
}

.v2-icon-lock::before {
  top: 18px;
  width: 20px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.v2-icon-lock::after {
  top: 9px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.v2-icon-build::before {
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(45deg);
}

.v2-icon-build::after {
  width: 2px;
  height: 24px;
  background: currentColor;
  transform: rotate(45deg);
}

.v2-icon-message::before {
  width: 22px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.v2-icon-message::after {
  width: 10px;
  height: 10px;
  right: 10px;
  bottom: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.v2-process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.v2-process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.1), var(--blue), rgba(21, 101, 192, 0.1));
}

.v2-process-line article {
  position: relative;
  min-height: 210px;
}

.v2-process-line span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 12px #ffffff;
  font-weight: 900;
}

.v2-process-line h3 {
  margin: 24px 0 0;
  color: #07162d;
  font-size: 1.24rem;
}

.v2-process-line p {
  margin: 10px 0 0;
  color: #5a6d83;
  font-size: 0.94rem;
}

.v2-cases {
  background: linear-gradient(180deg, #ffffff, #f6faff);
}

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

.v2-case-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 28px;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(10, 22, 40, 0.06);
}

.v2-case-featured {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.94), rgba(21, 101, 192, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.v2-case-card .tag {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-case-featured .tag {
  color: var(--cyan);
}

.v2-case-card h3 {
  margin: 18px 0 0;
  color: #07162d;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.16;
}

.v2-case-featured h3 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
}

.v2-case-card p {
  margin: 18px 0 0;
  color: #5a6d83;
}

.v2-case-featured p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.v2-case-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 24px;
  padding: 24px 0 0;
  list-style: none;
}

.v2-case-card li {
  padding: 8px 10px;
  color: var(--blue);
  border: 1px solid rgba(21, 101, 192, 0.16);
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.06);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
}

.v2-case-featured li {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.v2-case-card .text-link {
  align-self: flex-start;
}

.v2-case-featured .text-link {
  color: #ffffff;
}

.v2-blackbox {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 188, 212, 0.18), transparent 26%),
    linear-gradient(135deg, #06101f, #0a1628 66%, #0c315f);
}

.v2-blackbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 70px;
  align-items: center;
}

.v2-blackbox h2 {
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.6vw, 4.1rem);
  line-height: 1.02;
}

.v2-blackbox p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.v2-check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.v2-check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.v2-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.v2-blackbox-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v2-blackbox-map article {
  display: grid;
  gap: 10px;
}

.v2-blackbox-map strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-blackbox-map span {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.v2-trust {
  padding: 52px 0 58px;
  text-align: center;
}

.v2-trust .section-label {
  margin-bottom: 12px;
}

.v2-trust h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: #07162d;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  letter-spacing: 0;
  text-transform: none;
}

.v2-trust .sc-logo-row {
  margin-top: 28px;
}

.v2-final-cta {
  background:
    radial-gradient(circle at 86% 20%, rgba(0, 188, 212, 0.2), transparent 28%),
    linear-gradient(135deg, #06101f, #0a3f80);
}

.home-v2 .footer-logo {
  content: url("../assets/original/img/logo-main-white.svg");
}

@media (max-width: 1180px) {
  .v2-hero-grid,
  .v2-blackbox-grid {
    grid-template-columns: 1fr;
  }

  .v2-operating-model {
    max-width: 900px;
    padding-bottom: 48px;
  }
}

@media (max-width: 1040px) {
  .v2-dna-grid,
  .v2-service-grid,
  .v2-case-grid,
  .v2-blackbox-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-case-featured {
    grid-column: span 2;
  }

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

  .v2-proof-grid div:nth-child(2) {
    border-right: 0;
  }

  .v2-proof-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(21, 101, 192, 0.12);
  }
}

@media (max-width: 720px) {
  .home-v2 .v2-hero {
    min-height: auto;
    padding: 54px 0 0;
  }

  .home-v2 .v2-hero h1 {
    font-size: clamp(3rem, 16vw, 4.35rem);
  }

  .v2-hero-copy {
    padding-bottom: 42px;
  }

  .v2-operating-model {
    display: none;
  }

  .v2-model-arrow {
    width: 2px;
    height: 34px;
    justify-self: center;
  }

  .v2-model-arrow::after {
    top: auto;
    right: -5px;
    bottom: -2px;
    transform: rotate(135deg);
  }

  .v2-model-head,
  .v2-section-head-row {
    display: grid;
  }

  .v2-model-steps,
  .v2-proof-cases,
  .v2-dna-grid,
  .v2-service-grid,
  .v2-process-line,
  .v2-case-grid,
  .v2-blackbox-grid,
  .v2-blackbox-map,
  .v2-proof-grid {
    grid-template-columns: 1fr;
  }

  .v2-proof-grid div,
  .v2-proof-grid div:nth-child(2),
  .v2-proof-grid div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(21, 101, 192, 0.12);
  }

  .v2-proof-grid div:last-child {
    border-bottom: 0;
  }

  .v2-dna-grid,
  .v2-service-grid {
    border-radius: 14px;
  }

  .v2-process-line::before {
    display: none;
  }

  .v2-process-line article {
    min-height: auto;
  }

  .v2-case-featured {
    grid-column: auto;
  }

  .v2-case-card {
    min-height: auto;
  }

  .v2-blackbox {
    padding-top: 76px;
    padding-bottom: 76px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(0, 188, 212, 0.65);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -999px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header[data-scrolled] {
  box-shadow: 0 18px 50px rgba(10, 22, 40, 0.18);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 0;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms 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);
}

.button,
.header-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
}

.button,
.header-cta {
  padding: 0 20px;
  border: 1px solid transparent;
}

.button-primary,
.header-cta {
  color: var(--white);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 28px rgba(0, 188, 212, 0.2);
}

.button-primary:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 188, 212, 0.3);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--gray-100);
}

.text-link {
  min-height: auto;
  color: var(--blue);
}

.text-link::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  transition: width 160ms ease;
}

.text-link:hover::after {
  width: 42px;
}

.mobile-bottom-cta {
  display: none;
}

main {
  overflow: hidden;
}

.section,
.hero-inner,
.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-compact {
  padding: 66px 0;
}

.band {
  background: var(--gray-50);
}

.dark-band {
  color: var(--white);
  background: var(--navy);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  padding: 94px 0 58px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 84% 22%, rgba(0, 188, 212, 0.32), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(255, 255, 255, 0.1), transparent 24%);
  background-size: 74px 74px, auto, auto;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.9), transparent 96%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

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

.sc-hero .hero-actions {
  flex-wrap: nowrap;
}

.sc-hero .button {
  padding-right: 18px;
  padding-left: 18px;
  white-space: nowrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.proof-item {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.delivery-panel {
  position: relative;
  height: 100%;
  min-height: 470px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(10, 22, 40, 0.4);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.delivery-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 10px;
}

.panel-line {
  position: absolute;
  left: 44px;
  right: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.panel-line:nth-child(1) {
  top: 128px;
}

.panel-line:nth-child(2) {
  top: 238px;
}

.panel-line:nth-child(3) {
  top: 348px;
}

.orbit {
  position: absolute;
  inset: 86px 68px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 188, 212, 0.8);
}

.orbit::before {
  top: 22px;
  left: 72px;
}

.orbit::after {
  right: 54px;
  bottom: 36px;
}

.panel-card {
  position: absolute;
  z-index: 1;
  width: min(268px, calc(100% - 64px));
  padding: 18px;
  color: var(--navy);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.panel-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-card.one {
  top: 54px;
  left: 42px;
}

.panel-card.two {
  right: 36px;
  top: 190px;
}

.panel-card.three {
  left: 58px;
  bottom: 48px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dark-band .section-label,
.page-hero .section-label,
.cta-band .section-label {
  color: var(--cyan);
}

h2,
.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.25;
}

.dark-band h2,
.dark-band h3,
.cta-band h2 {
  color: var(--white);
}

.section-head p:not(.section-label),
.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark-band .lead,
.dark-band .section-head p:not(.section-label) {
  color: rgba(255, 255, 255, 0.76);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.stat {
  min-height: 154px;
  padding: 26px 18px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.dna-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.dna-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.dna-list li::before {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
}

.capability-grid,
.why-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.capability,
.why-card,
.service-card,
.case-card,
.timeline-item,
.value-card,
.team-card,
.contact-card,
.detail-card {
  position: relative;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.capability,
.why-card,
.service-card,
.timeline-item,
.value-card,
.team-card,
.contact-card,
.detail-card {
  padding: 26px;
}

.capability p,
.why-card p,
.service-card p,
.timeline-item p,
.value-card p,
.team-card p,
.detail-card p,
.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--cyan);
  border: 1px solid rgba(0, 188, 212, 0.32);
  border-radius: 12px;
  background: rgba(0, 188, 212, 0.08);
}

.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.case-card {
  grid-column: span 2;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card.wide {
  grid-column: span 3;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 188, 212, 0.45);
  box-shadow: var(--shadow);
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.case-card:hover::before {
  opacity: 1;
}

.case-media {
  display: flex;
  align-items: end;
  min-height: 128px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.92), rgba(21, 101, 192, 0.75)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 100%);
  background-size: auto, 42px 42px;
}

.case-body {
  padding: 24px;
}

.tag {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card .text-link {
  margin-top: 18px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: var(--gray-100);
  overflow: hidden;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px;
  background: var(--white);
}

.logo-cell img {
  max-width: 132px;
  max-height: 42px;
  filter: grayscale(1);
  opacity: 0.58;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-cell:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

.cta-band {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 188, 212, 0.36), transparent 26%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 100%);
  background-size: auto, 66px 66px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.cta-inner p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 34px;
}

.footer-logo {
  width: 206px;
  margin-bottom: 18px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding: 86px 0 74px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.16rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--navy);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

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

.case-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.case-row-visual {
  min-height: 160px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.94), rgba(21, 101, 192, 0.72)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 100%);
  background-size: auto, 42px 42px;
}

.case-row p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mini-case {
  margin-top: 28px;
  padding: 28px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.mini-case h3,
.mini-case p {
  color: var(--white);
}

.mini-case p {
  max-width: 880px;
  margin: 10px 0 0;
  opacity: 0.8;
}

.case-detail-hero {
  padding-bottom: 48px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.case-meta span {
  padding: 8px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.sticky-aside ul,
.rich-text ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sticky-aside li,
.rich-text li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
}

.sticky-aside li::before,
.rich-text li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.rich-text {
  display: grid;
  gap: 28px;
}

.rich-text section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}

.rich-text section:last-child {
  border-bottom: 0;
}

.rich-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.rich-text p {
  margin: 14px 0 0;
  color: var(--muted);
}

.highlight-quote {
  padding: 26px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.highlight-quote p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-item time {
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.value-grid,
.team-grid,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card {
  min-height: 310px;
}

.service-card .text-link {
  margin-top: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.process-list .detail-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.process-list .detail-card p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 42px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

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

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

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

.field label,
.checkbox-field {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
}

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

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--blue);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.map-placeholder {
  min-height: 300px;
  margin-top: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.94), rgba(21, 101, 192, 0.76)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%);
  background-size: auto, 38px 38px, 38px 38px;
}

.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;
}

.home-redesign {
  background: #ffffff;
}

.sc-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.sc-section {
  padding: 96px 0;
}

.sc-section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.sc-section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.15rem);
}

.sc-hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: clamp(42px, 5vw, 56px) 0 36px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 188, 212, 0.18), transparent 24%),
    radial-gradient(circle at 14% 84%, rgba(21, 101, 192, 0.28), transparent 28%),
    linear-gradient(115deg, #071322 0%, #0a1628 54%, #0d2d58 100%);
  overflow: hidden;
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 188, 212, 0.2) 0 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.7), transparent 96%);
}

.sc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 56px;
  align-items: center;
  min-height: auto;
}

.sc-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sc-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 4.9vw, 4.65rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.sc-hero-copy > p:not(.sc-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.sc-hero-copy .hero-proof-line {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 900;
}

.sc-hero-microproof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.sc-hero-microproof span {
  position: relative;
  min-height: 48px;
  padding: 0 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.sc-hero-microproof span::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-radius: 6px;
}

.blackbox-mockup {
  position: relative;
  padding: 8px 0 38px;
}

.dashboard-window {
  position: relative;
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(7, 18, 33, 0.82);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-top strong {
  color: var(--white);
  font-size: 1rem;
}

.dashboard-top span,
.dashboard-nav span,
.dashboard-chart span,
.dashboard-donut span,
.dashboard-metrics span,
.usecase-card span,
.usecase-card em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.dashboard-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.dashboard-nav span {
  padding: 9px 10px;
  border-radius: 8px;
}

.dashboard-nav span.active {
  color: var(--cyan);
  background: rgba(0, 188, 212, 0.12);
}

.dashboard-main {
  display: grid;
  gap: 16px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-metrics div,
.dashboard-chart,
.dashboard-donut {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-metrics div {
  min-height: 86px;
  padding: 14px;
}

.dashboard-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
}

.dashboard-metrics span {
  display: block;
  margin-top: 7px;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.dashboard-chart,
.dashboard-donut {
  padding: 16px;
}

.dashboard-chart svg {
  width: 100%;
  min-height: 180px;
}

.dashboard-donut {
  display: grid;
  align-content: start;
  gap: 14px;
}

.donut {
  width: 112px;
  height: 112px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 38%, #2d7fe4 38% 68%, rgba(255,255,255,.22) 68% 100%);
  box-shadow: inset 0 0 0 24px rgba(7, 18, 33, 0.96);
}

.dashboard-donut ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-donut li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.usecase-card {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(8, 20, 36, 0.92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.usecase-card strong {
  display: block;
  margin-top: 14px;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.usecase-card em {
  display: block;
  margin-top: 6px;
  font-style: normal;
}

.usecase-card i {
  display: block;
  height: 54px;
  margin-top: 16px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, .15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 42%, var(--cyan) 43%, var(--cyan) 49%, transparent 50%);
  background-size: 18px 18px, 18px 18px, auto;
}

.mockup-window {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 25, 45, 0.78);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.mockup-window header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mockup-window header strong {
  font-size: 1.05rem;
}

.mockup-window header span,
.mockup-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 18px;
}

.mockup-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.mockup-panel.big {
  grid-row: span 2;
}

.mockup-panel.metric strong {
  display: block;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.mockup-panel.metric span {
  display: block;
  margin-top: 8px;
}

.mockup-panel.list {
  display: grid;
  gap: 9px;
}

.mockup-panel.list b {
  color: var(--white);
  font-size: 0.9rem;
}

.mockup-panel.list i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.sc-logo-band {
  padding: 30px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.sc-logo-band h2 {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.sc-logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 18px;
  align-items: center;
}

.sc-logo-row img,
.sc-logo-row span {
  justify-self: center;
  max-width: 128px;
  max-height: 44px;
  filter: grayscale(1);
  opacity: 0.62;
}

.sc-logo-row span {
  color: var(--muted);
  font-weight: 900;
  font-size: 0.9rem;
}

.industry-line {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.sc-dna {
  background: var(--white);
}

.dna-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.dna-copy h2 {
  max-width: 920px;
}

.dna-copy p:not(.section-label) {
  max-width: 870px;
  margin: 18px 0 0;
  color: var(--muted);
}

.dna-cards {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 104px;
}

.dna-cards article,
.ai-pillars article {
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.dna-cards span,
.ai-pillars span {
  display: inline-flex;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.dna-cards p,
.ai-pillars p {
  margin: 10px 0 0;
  color: var(--muted);
}

.principle-strip {
  padding: 64px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 30%, rgba(0, 188, 212, 0.24), transparent 28%),
    linear-gradient(135deg, #071322, var(--navy) 64%, #0c315f);
}

.principle-strip h2 {
  max-width: 1040px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.principle-strip p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.sc-problem {
  color: var(--text);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.sc-problem h2 {
  color: var(--navy);
}

.problem-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.problem-column,
.solution-column {
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.problem-divider {
  position: relative;
  width: 64px;
  height: 180px;
  justify-self: center;
}

.problem-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gray-100);
}

.problem-divider::after {
  content: "→";
  position: absolute;
  top: calc(50% - 23px);
  left: calc(50% - 23px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.problem-label {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.problem-column ul,
.solution-column ul,
.blackbox-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-column li,
.solution-column li,
.blackbox-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.problem-column li::before,
.solution-column li::before,
.blackbox-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.12);
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.problem-column li::before {
  background: rgba(21, 101, 192, 0.08);
  box-shadow: inset 0 0 0 2px rgba(21, 101, 192, 0.45);
}

.sc-process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-top: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.sc-process-line::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.18), var(--blue), rgba(21, 101, 192, 0.18));
}

.sc-process-line article {
  position: relative;
  min-height: 190px;
  padding: 0 4px;
  background: transparent;
}

.sc-process-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--navy);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 0 0 10px var(--white);
}

.sc-process-line h3 {
  font-size: 1.45rem;
}

.sc-process-line p {
  margin: 12px 0 0;
  color: var(--muted);
}

.blackbox-section {
  color: var(--white);
  background: var(--white);
}

.blackbox-panel,
.blackbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
  gap: 54px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 188, 212, 0.16), transparent 28%),
    linear-gradient(135deg, #06101f 0%, var(--navy) 62%, #0b315f 100%);
  box-shadow: 0 28px 90px rgba(10, 22, 40, 0.2);
}

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

.blackbox-section h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
}

.blackbox-section p {
  color: rgba(255, 255, 255, 0.74);
}

.blackbox-copy > p:not(.section-label) {
  max-width: 520px;
}

.blackbox-benefits {
  display: grid;
  gap: 16px;
  margin: 28px 0 30px;
}

.blackbox-benefits article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.blackbox-benefits article > span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 44%, var(--cyan) 45% 55%, transparent 56%),
    rgba(0, 188, 212, 0.08);
}

.blackbox-benefits strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.blackbox-benefits p {
  margin: 5px 0 0;
  font-size: 0.94rem;
}

.architecture-map {
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.78fr;
  gap: 14px;
  align-items: center;
}

.arch-column,
.arch-core {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.arch-core {
  min-height: 360px;
  align-content: center;
  border-color: rgba(0, 188, 212, 0.4);
  background: rgba(0, 188, 212, 0.1);
}

.arch-column strong,
.arch-core strong {
  color: var(--white);
  font-size: 1.08rem;
}

.arch-column span,
.arch-core span {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.sc-service-grid,
.featured-cases,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

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

.sc-service-grid article,
.featured-case,
.testimonial-card {
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.sc-service-grid article {
  min-height: 260px;
  padding: 26px;
}

.service-grid-detailed article {
  min-height: 360px;
  padding: 30px;
}

.sc-service-grid p,
.featured-case p,
.testimonial-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.sc-cases {
  background: var(--white);
}

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

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

.featured-case {
  overflow: hidden;
}

.featured-case img,
.case-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.96), rgba(21, 101, 192, 0.7)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.featured-case .tag,
.featured-case h3,
.featured-case p,
.featured-case .case-metrics,
.featured-case .text-link {
  margin-right: 24px;
  margin-left: 24px;
}

.featured-case .tag {
  margin-top: 24px;
}

.featured-case .text-link {
  margin-top: 22px;
  margin-bottom: 24px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.case-metrics span {
  min-height: 74px;
  padding: 14px 10px 12px;
  color: var(--muted);
  border-right: 1px solid var(--gray-100);
  font-size: 0.78rem;
  line-height: 1.25;
}

.case-metrics span:last-child {
  border-right: 0;
}

.case-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.05;
}

.case-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 24px 0;
  padding: 0;
  list-style: none;
}

.case-proof-list li {
  padding: 7px 10px;
  color: var(--blue);
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.06);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
}

.ai-change-section {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 188, 212, 0.18), transparent 28%),
    linear-gradient(135deg, #071322, var(--navy) 70%, #0c315f);
}

.ai-change-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 58px;
  align-items: start;
}

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

.ai-change-section p {
  color: rgba(255, 255, 255, 0.74);
}

.ai-change-section .button {
  margin-top: 28px;
}

.ai-pillars {
  display: grid;
  gap: 16px;
}

.ai-pillars article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.ai-pillars span {
  color: var(--cyan);
}

.ai-pillars p {
  color: rgba(255, 255, 255, 0.72);
}

.chart-shot,
.blackbox-shot {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.96), rgba(21, 101, 192, 0.7)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  position: relative;
}

.chart-shot::after,
.blackbox-shot::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(0, 188, 212, 0.42);
  border-radius: 12px;
}

.chart-shot::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 42px;
  left: 40px;
  height: 56%;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.28), rgba(21, 101, 192, 0.08)),
    linear-gradient(135deg, transparent 44%, var(--cyan) 45%, var(--cyan) 48%, transparent 49%);
  clip-path: polygon(0 72%, 16% 58%, 31% 64%, 48% 36%, 63% 45%, 78% 22%, 100% 8%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.blackbox-shot::before {
  content: "BlackBox AI";
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.testimonial-grid {
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card.main {
  background: var(--navy);
}

.testimonial-card.main p,
.testimonial-card.main span {
  color: var(--white);
}

.testimonial-card span {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.stats-section {
  padding-top: 0;
  padding-bottom: 72px;
  background: var(--white);
}

.effect-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 188, 212, 0.16), transparent 28%),
    linear-gradient(135deg, #071322, #0a1628 68%, #0c315f);
  box-shadow: 0 24px 70px rgba(10, 22, 40, 0.16);
}

.proof-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.effect-stats .stat {
  min-height: 132px;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.effect-stats .stat:last-child {
  border-right: 0;
}

.effect-stats .stat strong {
  color: var(--cyan);
}

.effect-stats .stat span {
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.direction-page {
  background: #f7f9fc;
}

.direction-page [data-animate] {
  opacity: 1;
  transform: none;
}

.direction-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.84) 46%, rgba(10, 22, 40, 0.28) 100%),
    url("../assets/original/img/bg2.jpg") center / cover no-repeat;
  overflow: hidden;
}

.direction-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.direction-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.direction-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.82fr);
  gap: 68px;
  align-items: center;
  min-height: 682px;
  padding: 56px 0 86px;
}

.direction-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.direction-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.direction-hero h1 span {
  color: var(--cyan);
}

.direction-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.direction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.direction-dashboard {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 22, 40, 0.56);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.direction-dashboard header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.direction-dashboard header strong {
  color: var(--white);
}

.direction-dashboard header span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 20px;
}

.chart-panel,
.metric-panel,
.signal-panel-mini {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.chart-panel {
  grid-row: span 2;
  padding: 18px;
}

.chart-panel svg {
  width: 100%;
  height: 240px;
}

.metric-panel,
.signal-panel-mini {
  padding: 18px;
}

.metric-panel strong {
  display: block;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.metric-panel span,
.signal-panel-mini span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.signal-panel-mini {
  display: grid;
  gap: 12px;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.signal-row b {
  color: var(--white);
}

.signal-line {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.direction-section {
  padding: 86px 0;
}

.direction-section h2 {
  max-width: 840px;
}

.direction-note-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.brand-asset-board {
  display: grid;
  gap: 14px;
}

.brand-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 24px;
  border-radius: 14px;
  background: var(--navy);
}

.brand-sample.light {
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.brand-sample img {
  max-width: 260px;
  max-height: 58px;
}

.direction-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.direction-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.direction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.visual-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.system-tile {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.system-tile.dark {
  color: var(--white);
  background: var(--navy);
}

.system-tile.dark h3,
.system-tile.dark p {
  color: var(--white);
}

.system-tile p {
  margin: 12px 0 0;
  color: var(--muted);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.swatch {
  min-height: 72px;
  border-radius: 10px;
}

.swatch.navy { background: var(--navy); }
.swatch.cyan { background: var(--cyan); }
.swatch.blue { background: var(--blue); }
.swatch.gray { background: var(--gray-50); border: 1px solid var(--gray-100); }

.mini-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 138px;
  margin-top: 28px;
}

.mini-bars span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.mini-bars span:nth-child(1) { height: 42%; }
.mini-bars span:nth-child(2) { height: 72%; }
.mini-bars span:nth-child(3) { height: 55%; }
.mini-bars span:nth-child(4) { height: 88%; }
.mini-bars span:nth-child(5) { height: 64%; }

.project-mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.project-mood {
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.project-mood img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-mood div {
  padding: 22px;
}

.project-mood p {
  margin: 10px 0 0;
  color: var(--muted);
}

.original-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--gray-100);
  overflow: hidden;
}

.original-logo-wall div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 24px;
  background: var(--white);
}

.original-logo-wall img {
  max-width: 150px;
  max-height: 58px;
}

.direction-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.direction-flow article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.direction-flow span {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.direction-flow h3 {
  margin-top: 18px;
}

.direction-flow p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav.open {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 14px 24px 24px;
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-inner,
  .split,
  .content-grid,
  .contact-layout,
  .dna-layout,
  .sc-hero-grid,
  .blackbox-panel,
  .blackbox-grid,
  .ai-change-grid,
  .direction-hero-grid,
  .direction-note-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .delivery-panel {
    min-height: 380px;
  }

  .stats-grid,
  .effect-stats,
  .capability-grid,
  .why-grid,
  .value-grid,
  .team-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blackbox-mockup {
    max-width: 760px;
  }

  .dna-cards {
    position: static;
  }

  .usecase-card {
    right: 0;
  }

  .blackbox-panel {
    padding: 36px;
  }

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

  .sc-process-line,
  .sc-service-grid,
  .featured-cases,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-split {
    grid-template-columns: 1fr;
  }

  .problem-divider {
    display: none;
  }

  .sc-process-line::before {
    display: none;
  }

  .testimonial-card.main {
    grid-column: 1 / -1;
  }

  .architecture-map {
    grid-template-columns: 1fr;
  }

  .arch-core {
    min-height: auto;
  }

  .case-card,
  .case-card.wide {
    grid-column: span 3;
  }

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

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

  .visual-system-grid,
  .project-mood-grid,
  .direction-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  body.home-redesign {
    padding-bottom: 76px;
  }

  .brand img {
    width: 166px;
  }

  .mobile-bottom-cta {
    position: fixed;
    right: 16px;
    bottom: 14px;
    left: 16px;
    z-index: 140;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: var(--white);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 34px rgba(0, 188, 212, 0.34);
    font-size: 0.96rem;
    font-weight: 900;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.42rem, 13vw, 3.6rem);
  }

  .sc-hero {
    padding: 58px 0 42px;
  }

  .sc-hero-grid {
    gap: 38px;
  }

  .blackbox-mockup {
    display: none;
  }

  .sc-hero h1 {
    font-size: clamp(2.62rem, 13vw, 4rem);
  }

  .sc-hero-copy > p:not(.sc-kicker) {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .sc-hero .hero-actions {
    flex-wrap: wrap;
  }

  .sc-hero-microproof {
    display: none;
  }

  .mockup-window {
    padding: 14px;
    border-radius: 14px;
  }

  .mockup-window header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .mockup-panel.big {
    grid-row: auto;
  }

  .sc-section {
    padding: 72px 0;
  }

  .principle-strip {
    padding: 48px 0;
  }

  .sc-section-head h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

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

  .hero-proof,
  .stats-grid,
  .effect-stats,
  .capability-grid,
  .why-grid,
  .service-grid,
  .problem-split,
  .sc-process-line,
  .sc-service-grid,
  .featured-cases,
  .testimonial-grid,
  .value-grid,
  .team-grid,
  .contact-grid,
  .detail-grid,
  .process-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .blackbox-panel {
    padding: 28px;
  }

  .architecture-map {
    gap: 10px;
  }

  .effect-stats .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .effect-stats .stat:last-child {
    border-bottom: 0;
  }

  .sc-process-line article,
  .sc-service-grid article,
  .service-grid-detailed article {
    min-height: auto;
  }

  .dna-cards article,
  .ai-pillars article {
    padding: 22px;
  }

  .case-proof-list {
    margin-right: 18px;
    margin-left: 18px;
  }

  .cta-actions {
    justify-content: stretch;
  }

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

  .case-card,
  .case-card.wide {
    grid-column: auto;
  }

  .section-head-row,
  .cta-inner,
  .case-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-row {
    gap: 18px;
  }

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

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

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

  .direction-hero-grid {
    min-height: auto;
    padding: 54px 0 68px;
  }

  .dashboard-grid,
  .visual-system-grid,
  .project-mood-grid,
  .direction-flow,
  .original-logo-wall {
    grid-template-columns: 1fr;
  }

  .panel-card {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    margin-bottom: 14px;
  }

  .delivery-panel {
    min-height: auto;
  }

  .delivery-panel::before,
  .panel-line,
  .orbit {
    display: none;
  }
}

/* Final home v3 layer. Kept at EOF so older home/v2 rules cannot override the chosen direction. */
body.home-v3 {
  color: #e2e8f0;
  background: #0a1628;
}

.home-v3 .site-header {
  background: rgba(10, 22, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.home-v3 .site-header[data-scrolled] {
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.home-v3 .brand img {
  width: 202px;
}

.home-v3 .site-nav {
  color: rgba(255, 255, 255, 0.82);
}

.home-v3 .site-nav a:hover,
.home-v3 .site-nav a[aria-current="page"] {
  color: #ffffff;
}

.home-v3 .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.home-v3 .nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-v3 .site-nav.open {
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-v3 .site-nav.open a {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.home-v3 .v2-hero {
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 92px);
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 18%, rgba(21, 101, 192, 0.28), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(0, 188, 212, 0.12), transparent 26%),
    linear-gradient(135deg, #071322 0%, #0a1628 58%, #102f5f 100%);
}

.home-v3 .v2-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 188, 212, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.86), transparent 98%);
}

.home-v3 .v2-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.home-v3 .v2-hero-copy {
  padding-bottom: 0;
}

.home-v3 .v2-hero h1 {
  max-width: 660px;
  color: #ffffff;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.home-v3 .v2-hero-lead {
  max-width: 660px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.78;
}

.home-v3 .v2-hero-copy blockquote {
  max-width: 650px;
  margin-top: 32px;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--cyan);
}

.home-v3 .v2-hero-copy blockquote p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.28vw, 1.12rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.58;
}

.home-v3 .v2-hero-copy blockquote cite {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.home-v3 .v2-hero .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.home-v3 .v2-hero-proof {
  display: none;
}

.home-v3 .v2-hero-proof li {
  color: rgba(226, 232, 240, 0.72);
}

.v3-hero-board {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 25, 45, 0.78);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.v3-board-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v3-board-top strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.v3-board-top span {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.v3-board-grid {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.v3-board-column {
  display: grid;
  gap: 10px;
}

.v3-board-label {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v3-board-column article,
.v3-board-proof article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.v3-board-column article strong,
.v3-board-proof article strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.18;
}

.v3-board-column article p,
.v3-board-proof article span {
  display: block;
  margin: 7px 0 0;
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.78rem;
  line-height: 1.38;
}

.v3-board-flow {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.v3-board-flow span {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.16), var(--cyan));
}

.v3-board-flow span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.v3-board-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.v3-board-proof article {
  border-color: rgba(0, 188, 212, 0.22);
  background: rgba(0, 188, 212, 0.08);
}

.home-v3 .v2-proof-band {
  background: #111d33;
  border-color: rgba(255, 255, 255, 0.08);
}

.home-v3 .v2-proof-grid div {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.home-v3 .v2-proof-grid strong {
  color: #ffffff;
}

.home-v3 .v2-proof-grid span {
  color: rgba(226, 232, 240, 0.72);
}

.home-v3 .v2-dna,
.home-v3 .v2-services,
.home-v3 .v2-process,
.home-v3 .v2-cases {
  background: #0a1628;
}

.home-v3 .v2-dna {
  background: #111d33;
}

.home-v3 .v2-section-head h2,
.home-v3 .v2-dna-grid h3,
.home-v3 .v2-service-grid h3,
.home-v3 .v2-process-line h3 {
  color: #ffffff;
}

.home-v3 .v2-section-head p:not(.section-label),
.home-v3 .v2-dna-grid p,
.home-v3 .v2-service-grid p,
.home-v3 .v2-process-line p {
  color: rgba(226, 232, 240, 0.68);
}

.home-v3 .v2-dna-grid,
.home-v3 .v2-service-grid {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.home-v3 .v2-dna-grid article,
.home-v3 .v2-service-grid article {
  background: rgba(255, 255, 255, 0.045);
}

.home-v3 .v2-icon {
  color: var(--cyan);
  border-color: rgba(0, 188, 212, 0.28);
  background: rgba(0, 188, 212, 0.08);
}

.home-v3 .v2-process-line::before {
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.08), var(--cyan), rgba(0, 188, 212, 0.08));
}

.home-v3 .v2-process-line span {
  color: #ffffff;
  border-color: var(--cyan);
  background: #0a1628;
  box-shadow: 0 0 0 12px #0a1628;
}

.home-v3 .v2-cases {
  background: #f5f8fc;
}

.home-v3 .v2-cases .v2-section-head h2 {
  color: #07162d;
}

.home-v3 .v2-cases .v2-section-head p:not(.section-label) {
  color: #52647a;
}

.home-v3 .v2-trust {
  background: #ffffff;
}

@media (max-width: 1180px) {
  .home-v3 .v2-hero-grid {
    grid-template-columns: 1fr;
  }

  .v3-hero-board {
    max-width: 980px;
  }
}

@media (max-width: 820px) {
  .home-v3 .v2-hero {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .home-v3 .v2-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .v3-hero-board {
    display: none;
  }

  .home-v3 .v2-proof-grid div,
  .home-v3 .v2-proof-grid div:nth-child(2),
  .home-v3 .v2-proof-grid div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-v3 .v2-proof-grid div:last-child {
    border-bottom: 0;
  }
}

/* Final active polish - must stay last. */
.process-slogan {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.process-slogan span {
  display: inline-grid;
  min-height: 72px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(0, 188, 212, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home5-case-card .home5-case-media,
.case-row .case-row-media {
  overflow: hidden;
}

.home5-case-main .home5-case-media {
  background: rgba(255, 255, 255, 0.97);
}

.home5-case-main .home5-case-media img {
  object-fit: cover;
}

.sc-logo-row .trust-more {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 999px;
  background: #f5f8fc;
  color: #52647a;
  filter: none;
  opacity: 1;
  white-space: nowrap;
}

.subpage-v5 .page-hero {
  min-height: 340px;
}

.subpage-v5 .page-hero-inner {
  min-height: 340px;
  padding: clamp(54px, 6vw, 82px) 0;
}

.subpage-v5 .page-hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
}

.subpage-v5 .section {
  padding: clamp(54px, 6vw, 86px) 0;
}

.service-hero-chart {
  display: inline-grid;
  grid-template-columns: auto 52px auto 52px auto;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.service-hero-chart span {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 16px;
  color: #ffffff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-hero-chart i {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 188, 212, 0.15), var(--cyan));
}

.service-hero-chart i::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.subpage-v5 .case-row-featured {
  border-color: rgba(0, 188, 212, 0.24);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.98), rgba(13, 43, 83, 0.98));
  box-shadow: 0 22px 64px rgba(10, 22, 40, 0.16);
}

.subpage-v5 .case-row-featured h3 {
  color: #ffffff;
}

.subpage-v5 .case-row-featured p {
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .case-row-featured .text-link {
  color: #ffffff;
}

.subpage-v5 .case-row-featured .tag {
  color: var(--cyan);
}

.legal-content {
  max-width: 860px;
}

.legal-content section {
  padding: 28px 0;
  border-bottom: 1px solid #e8edf3;
}

.legal-content section:first-of-type {
  padding-top: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: #07162d;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.16;
}

.legal-content p {
  margin: 0 0 12px;
  color: #52647a;
  line-height: 1.74;
}

.legal-updated,
.legal-note {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5f8fc;
  color: #52647a;
  font-size: 0.88rem;
  font-weight: 800;
}

.legal-note {
  border-radius: 12px;
  background: rgba(0, 188, 212, 0.08);
  color: #0a5070;
}

@media (max-width: 900px) {
  .service-hero-chart {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .service-hero-chart i {
    width: 2px;
    height: 32px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(0, 188, 212, 0.15), var(--cyan));
  }

  .service-hero-chart i::after {
    top: auto;
    right: -5px;
    bottom: 0;
    transform: rotate(135deg);
  }
}

@media (max-width: 720px) {
  .process-slogan {
    display: grid;
  }

  .process-slogan span {
    min-height: 58px;
  }
}

/* Launch final overrides - absolute last. */
.subpage-v5 .values-only {
  position: relative;
  overflow: hidden;
}

.subpage-v5 .values-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 188, 212, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
}

.subpage-v5 .values-only > * {
  position: relative;
  z-index: 1;
}

.subpage-v5 .values-only .section-head {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.subpage-v5 .values-only .section-head p:not(.section-label) {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(226, 232, 240, 0.78);
}

.subpage-v5 .values-manifesto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px auto 22px;
  font-size: clamp(1.55rem, 3.1vw, 3.2rem);
  line-height: 1;
}

.subpage-v5 .values-manifesto span {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(0, 188, 212, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.subpage-v5 .values-only .value-grid {
  max-width: 1120px;
  margin: 34px auto 0;
}

.subpage-v5 .values-only .value-card {
  text-align: left;
}

.service-hero-chart {
  grid-template-columns: auto minmax(64px, 82px) auto minmax(64px, 82px) auto;
  gap: 16px;
  margin-top: 34px;
  padding: 16px;
  border-radius: 20px;
}

.service-hero-chart span {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .subpage-v5 .values-manifesto {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .subpage-v5 .values-manifesto span {
    min-height: 78px;
  }

  .service-hero-chart {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
  }

  .service-hero-chart span {
    min-height: 54px;
  }
}
