:root {
  --primary: #0A1B4D;
  --primary-deep: #071433;
  --accent: #C99A3A;
  --accent-deep: #A97A2C;
  --offwhite: #F4F1EA;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8fb;
  --surface-muted: #eef3f8;
  --text: #1f2a36;
  --muted: #6E7480;
  --border: rgba(10, 27, 77, 0.10);
  --border-strong: rgba(10, 27, 77, 0.18);
  --shadow-soft: 0 20px 48px rgba(10, 27, 77, 0.08);
  --shadow-strong: 0 30px 86px rgba(10, 27, 77, 0.16);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 58, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

main.page-services {
  padding-top: 22px;
}

.shell-wide {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

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

.shell-narrow {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
}

.section-block {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fb 100%);
}

.section-no-border {
  border-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

h1 {
  font-size: clamp(2.7rem, 4.7vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 400;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p,
li,
span,
small {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.84;
  letter-spacing: -0.002em;
}

p + p {
  margin-top: 16px;
}

.btn-primary,
.btn-secondary,
.btn-link,
.btn-strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.10) 35%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.10) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-strong:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-link:hover,
.btn-strong:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--offwhite);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 22px rgba(10, 27, 77, 0.14);
}

.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  box-shadow: 0 18px 34px rgba(10, 27, 77, 0.22);
}

.btn-secondary {
  background: rgba(244, 241, 234, 0.92);
  color: var(--primary);
  border: 1px solid rgba(10, 27, 77, 0.16);
  box-shadow: 0 8px 16px rgba(10, 27, 77, 0.06);
}

.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.btn-strong {
  background: linear-gradient(180deg, #d7aa4c 0%, #c99a3a 100%);
  color: var(--primary);
  border: 1px solid var(--accent);
  box-shadow: 0 16px 28px rgba(201, 154, 58, 0.24);
  font-weight: 700;
}

.btn-strong:hover {
  background: linear-gradient(180deg, #c99a3a 0%, #a97a2c 100%);
  border-color: var(--accent-deep);
  color: var(--offwhite);
  box-shadow: 0 20px 36px rgba(169, 122, 44, 0.30);
}

.btn-link {
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--primary);
  font-weight: 600;
}

.btn-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.btn-link:hover::after {
  transform: translateX(3px);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(247, 248, 250, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 27, 77, 0.08);
  box-shadow: 0 8px 24px rgba(10, 27, 77, 0.06);
}

.topbar-inner {
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 0 10px 62px;
}

.brand img {
  width: auto;
  height: auto;
  max-height: 88px;
  max-width: 320px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--primary);
  font-size: 0.92rem;
  line-height: 1;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(10, 27, 77, 0.22);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.50);
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  background: rgba(255, 255, 255, 0.82);
}

.hero-services {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 30px;
  padding: 46px 36px 40px;
  border-radius: 34px;
  border: 1px solid rgba(13, 44, 99, 0.08);
  box-shadow: 0 30px 80px rgba(7, 26, 61, 0.14);
  background:
    radial-gradient(circle at top left, rgba(201, 154, 58, 0.13), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.hero-services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 27, 77, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 27, 77, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
}

.hero-services > .shell-wide {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.96fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
  color: var(--text);
}

.hero-copy h1 {
  max-width: 12ch;
  color: var(--primary);
  text-shadow: none;
}

.hero-copy .lead,
.hero-copy .support {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  text-shadow: none;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: normal;
}

.hero-copy .lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: 1.03rem;
  line-height: 1.92;
}

.hero-copy .support {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-flags {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.hero-flag {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(10, 27, 77, 0.10);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 10px 22px rgba(10, 27, 77, 0.05);
}

.hero-flag strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-flag span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.anim-label,
.anim-title,
.anim-text,
.anim-actions,
.anim-panel {
  opacity: 1;
  will-change: transform, opacity, filter;
}

.anim-label {
  animation: revealSoft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.08s;
}

.anim-title {
  animation: revealTitle 1.12s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.24s;
}

.anim-text {
  animation: revealSoft 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.46s;
}

.anim-text-delay {
  animation-delay: 0.62s;
}

.anim-actions {
  animation: revealSoft 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.78s;
}

.anim-panel {
  animation: revealPanel 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.22s;
}

@keyframes revealSoft {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes revealTitle {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(12px);
    letter-spacing: -0.08em;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: -0.055em;
  }
}

@keyframes revealPanel {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-visual {
  position: relative;
  min-height: 690px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-strong);
  background: #d9e3ec;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.04);
  transform: scale(1.03);
  animation: subtleZoom 16s ease-in-out infinite alternate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 51, 0.10), rgba(7, 20, 51, 0.00) 42%, rgba(10, 27, 77, 0.20)),
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.10), transparent 22%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at 54% 52%, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18) 66%, transparent 82%);
  opacity: 0.55;
  animation: pulseGrid 7s ease-in-out infinite;
}

@keyframes subtleZoom {
  0% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1.08);
  }
}

@keyframes pulseGrid {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.68;
  }
}

.service-node {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(133, 205, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 32px rgba(7, 20, 51, 0.18);
  color: #f3f7fb;
  animation: nodeFloat 6.4s ease-in-out infinite;
}

.service-node strong {
  display: block;
  margin-bottom: 6px;
  color: #f6deb0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-node span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1.45;
}

.node-start {
  top: 24%;
  left: 6%;
  animation-delay: 0s;
}

.node-competicao {
  top: 10%;
  left: 34%;
  animation-delay: 1.2s;
}

.node-operacao {
  bottom: 26%;
  left: 8%;
  animation-delay: 2.1s;
}

.node-gestao {
  bottom: 8%;
  right: 7%;
  animation-delay: 0.8s;
}

.service-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(201, 154, 58, 0.32);
  box-shadow: inset 0 0 20px rgba(201, 154, 58, 0.06);
  animation: rotateRing 14s linear infinite;
}

.orbit-ring.ring-1 {
  width: 190px;
  height: 190px;
}

.orbit-ring.ring-2 {
  width: 280px;
  height: 280px;
  animation-direction: reverse;
  animation-duration: 17s;
}

.orbit-ring.ring-3 {
  width: 360px;
  height: 360px;
  animation-duration: 22s;
}

.core-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle, rgba(201, 154, 58, 0.32) 0%, rgba(201, 154, 58, 0.18) 42%, rgba(10, 27, 77, 0.22) 74%, rgba(10, 27, 77, 0.06) 100%);
  border: 1px solid rgba(201, 154, 58, 0.34);
  box-shadow: 0 0 38px rgba(201, 154, 58, 0.18);
  animation: pulseCore 4.2s ease-in-out infinite;
}

.core-badge strong {
  display: block;
  color: #f6deb0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.core-badge span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

@keyframes rotateRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulseCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(201, 154, 58, 0.18);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 0 56px rgba(201, 154, 58, 0.28);
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(201, 154, 58, 0.95), rgba(255, 255, 255, 0));
  box-shadow: 0 0 18px rgba(201, 154, 58, 0.55);
  animation: scanMove 6.8s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes scanMove {
  0% {
    top: 18%;
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  50% {
    top: 54%;
    opacity: 1;
  }

  90% {
    opacity: 0.9;
  }

  100% {
    top: 86%;
    opacity: 0;
  }
}

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

.hero-mini-card {
  padding: 18px 20px 0;
  border-top: 1px solid var(--border-strong);
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-mini-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 52px;
  align-items: start;
  margin-bottom: 38px;
}

.section-side {
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
}

.section-side p {
  font-size: 0.98rem;
  line-height: 1.84;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: start;
}

.principle-stack {
  display: grid;
  gap: 18px;
}

.principle-card {
  padding: 24px 24px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.96));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.principle-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

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

.plan-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  border: 1px solid rgba(10, 27, 77, 0.10);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(10, 27, 77, 0.12);
  border-color: rgba(201, 154, 58, 0.34);
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(201, 154, 58, 0.18));
}

.plan-card.featured {
  border-color: rgba(201, 154, 58, 0.34);
  box-shadow: 0 28px 68px rgba(169, 122, 44, 0.18);
  background:
    radial-gradient(circle at top right, rgba(201, 154, 58, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 247, 242, 0.98));
}

.plan-top {
  display: grid;
  gap: 10px;
}

.plan-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-name {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(201, 154, 58, 0.14);
  color: var(--accent-deep);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-sub {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  max-width: 34ch;
}

.plan-audience {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 27, 77, 0.04);
  border: 1px solid rgba(10, 27, 77, 0.08);
}

.plan-audience strong,
.plan-list-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-audience p,
.plan-list-block li {
  font-size: 0.94rem;
  line-height: 1.72;
}

.plan-list-block ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

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

.plan-list-block {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.plan-cta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.plan-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.compare-shell {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(10, 27, 77, 0.08);
  background:
    radial-gradient(circle at top right, rgba(201, 154, 58, 0.14), transparent 24%),
    linear-gradient(135deg, #f9fbfe 0%, #eef3f8 100%);
  box-shadow: var(--shadow-soft);
}

.compare-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 27, 77, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 27, 77, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.10));
}

.compare-shell > * {
  position: relative;
  z-index: 1;
}

.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(10, 27, 77, 0.10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 27, 77, 0.08);
}

.compare-table thead th {
  background: rgba(10, 27, 77, 0.06);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(10, 27, 77, 0.10);
  white-space: nowrap;
}

.compare-table tbody td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(10, 27, 77, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  vertical-align: middle;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody td:first-child {
  color: var(--primary);
  font-weight: 700;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.56);
}

.cmp-yes,
.cmp-no,
.cmp-partial,
.cmp-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cmp-yes {
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
}

.cmp-no {
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
}

.cmp-partial {
  background: rgba(201, 154, 58, 0.16);
  color: #8a6717;
}

.cmp-featured {
  background: rgba(10, 27, 77, 0.10);
  color: var(--primary);
}

.diagnostic-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid var(--border-strong);
  margin-top: 34px;
}

.diagnostic-callout h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
}

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

.criteria-card {
  padding: 22px 20px 20px;
  border-top: 1px solid var(--border-strong);
}

.criteria-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.criteria-card p {
  font-size: 0.94rem;
  line-height: 1.76;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 38px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(201, 154, 58, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(10, 27, 77, 0.98), rgba(7, 20, 51, 0.98));
  box-shadow: var(--shadow-strong);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.65;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-copy h2,
.cta-copy p,
.cta-panel .eyebrow {
  color: #ffffff;
}

.cta-panel .eyebrow::before {
  background: #d8b568;
}

.cta-copy h2 {
  max-width: 13ch;
}

.cta-copy p {
  margin-top: 14px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: #6d7781;
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-head,
  .service-intro-grid,
  .cta-grid,
  .diagnostic-callout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

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

@media (max-width: 980px) {
  .hero-bottom-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    width: calc(100% - 40px);
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    padding-left: 4px;
  }

  .brand img {
    max-height: 74px;
    max-width: 270px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .hero-flags {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell-wide,
  .shell-mid,
  .shell-narrow {
    width: calc(100% - 28px);
  }

  .section-block {
    padding: 78px 0;
  }

  .hero-services {
    width: calc(100% - 24px);
    padding: 32px 20px 28px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .service-node {
    min-width: 120px;
    padding: 10px 10px 9px;
  }

  .service-node strong {
    font-size: 0.68rem;
  }

  .service-node span {
    font-size: 0.72rem;
  }

  .orbit-ring.ring-1 {
    width: 130px;
    height: 130px;
  }

  .orbit-ring.ring-2 {
    width: 210px;
    height: 210px;
  }

  .orbit-ring.ring-3 {
    width: 280px;
    height: 280px;
  }

  .core-badge {
    width: 112px;
    height: 112px;
    padding: 14px;
  }

  .core-badge strong {
    font-size: 0.64rem;
  }

  .core-badge span {
    font-size: 0.75rem;
  }

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

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .diagnostic-callout .btn-primary,
  .cta-grid .btn-strong {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-label,
  .anim-title,
  .anim-text,
  .anim-actions,
  .anim-panel,
  .hero-visual img,
  .hero-visual::after,
  .scan-line,
  .orbit-ring,
  .core-badge,
  .service-node {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
