:root {
  --navy-950: #061320;
  --navy-900: #081a2b;
  --navy-850: #0b2135;
  --navy-800: #0e2941;
  --navy-700: #123b5e;
  --blue-700: #145e9d;
  --blue-600: #1974bc;
  --blue-500: #2589da;
  --cyan-300: #8ed7ff;
  --green-400: #35e18a;
  --text: #0f172a;
  --muted: #53657a;
  --line: #dbe5ef;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-mid: #eaf1f7;
  --shadow: 0 22px 60px rgba(7, 24, 39, 0.12);
  --shadow-soft: 0 12px 32px rgba(7, 24, 39, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --lighttext: #a8b6d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

p {
  margin: 0 0 1.2rem;
}

ul, ol {
  padding-left: 1.25rem;
}

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

.section {
  padding: 88px 0;
}

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

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

.section.dark {
  color: #eaf4fd;
  background:
    radial-gradient(circle at top right, rgba(57, 192, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #071626 0%, #0b2948 55%, #113b5d 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.dark .eyebrow,
.hero-copy .eyebrow,
.page-hero-copy .eyebrow {
  color: var(--cyan-300);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.08;
  color: var(--lighttext);
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.hero-copy h1,
.page-hero-copy h1 {
  color: #fff;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 5rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  color: var(--muted);
  max-width: 780px;
}

.dark .lead,
.hero-copy .lead,
.page-hero-copy .lead {
  color: rgba(234, 244, 253, 0.86);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), #0f95df);
  box-shadow: 0 16px 32px rgba(25, 116, 188, 0.28);
}

.btn.primary:hover {
  box-shadow: 0 20px 40px rgba(25, 116, 188, 0.34);
}

.btn.secondary {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
}

.btn.secondary:hover {
  background: rgba(255,255,255,.14);
}

.btn.ghost {
  color: var(--navy-900);
  border-color: var(--line);
  background: #fff;
}

.btn.ghost:hover {
  border-color: #b4c9dd;
  box-shadow: var(--shadow-soft);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: rgba(6, 19, 32, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}

.brand strong {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.12em;
}

.brand span {
  color: var(--cyan-300);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  color: rgba(255,255,255,.94);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item:focus-within .nav-trigger {
  background: rgba(255,255,255,.08);
}

.nav-trigger::after {
  content: "⌄";
  transform: translateY(-1px);
  color: var(--cyan-300);
  font-size: 0.9rem;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(7, 24, 39, 0.98);
  box-shadow: 0 26px 70px rgba(0,0,0,.35);
}

.dropdown.wide {
  width: 690px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-group {
  padding: 8px;
}

.dropdown-group h4 {
  margin: 4px 0 10px;
  color: #9dd7ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 650;
}

.dropdown a:hover {
  background: rgba(255,255,255,.08);
}

.header-cta {
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255,255,255,.08);
  transition: .18s ease;
}

.header-cta:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 20px 24px;
  background: rgba(6, 19, 32, 0.98);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a,
.mobile-menu summary {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  font-weight: 700;
}

.mobile-menu details details {
  padding-left: 14px;
}

.mobile-menu details a {
  padding-left: 14px;
  color: rgba(255,255,255,.86);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(57, 192, 255, 0.19), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(53, 225, 138, 0.11), transparent 28%),
    linear-gradient(135deg, #071626 0%, #0b2948 52%, #113b5d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 54px;
  min-height: 760px;
  padding: 72px 0;
}

.hero-copy h1 {
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-copy .lead {
  max-width: 700px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 38px;
  box-shadow: 0 40px 100px rgba(0,0,0,.38);
}

.floating-badge {
  position: absolute;
  right: -18px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  padding: 18px 20px;
  color: #eff8ff;
  background: rgba(7, 24, 39, 0.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-badge strong {
  display: block;
  color: #fff;
  font-size: 1.3rem;
}

.floating-badge span {
  color: rgba(234,244,253,.8);
  font-size: .92rem;
}

.badge-dot {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7ef7b7, #1db969);
  box-shadow: 0 0 0 10px rgba(53,225,138,.12);
}

/* Mini proof */
.proof-strip {
  position: relative;
  z-index: 5;
  margin-top: -48px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.proof-item {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

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

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 1.55rem;
  letter-spacing: -.03em;
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: .97rem;
}

/* Cards & grids */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-weight: 850;
}

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

.cards-5,
.cards-4,
.cards-3,
.cards-2 {
  display: grid;
  gap: 22px;
}

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

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

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

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

.card {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card.dark-card {
  color: #eaf4fd;
  background: linear-gradient(135deg, #081827, #0f3555);
  border-color: rgba(255,255,255,.08);
}

.card h3 {
  margin-bottom: 12px;
}

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

.card.dark-card p,
.card.dark-card .meta {
  color: rgba(234,244,253,.78);
}

.icon-tile {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue-600);
  font-size: 1.8rem;
  border-radius: 18px;
  background: #ebf5fc;
}

.dark-card .icon-tile {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.service-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: #b9d5ea;
  box-shadow: 0 26px 58px rgba(7,24,39,.14);
}

.project-card {
  padding: 0;
}

.project-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-mid);
}

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

.project-card .body {
  padding: 24px;
}

.project-card .meta {
  margin-bottom: 9px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card p {
  margin-bottom: 16px;
}

.project-card .link-arrow {
  font-size: .96rem;
}

.stats-band {
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(57,192,255,.2), transparent 28%),
    linear-gradient(135deg, #071626, #0c2b49 58%, #123e63);
  box-shadow: var(--shadow);
}

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

.stat {
  padding: 34px 30px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -.045em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(234,244,253,.78);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  min-height: 420px;
  background: var(--surface-mid);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: fill;
}

.check-list,
.feature-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding-left: 0;
  margin: 26px 0 0;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before,
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  border-radius: 50%;
  background: var(--blue-600);
}

.dark .check-list li,
.dark .feature-list li {
  color: rgba(234,244,253,.82);
}

.numbers {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.number-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 16px;
}

.number-row strong {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-600), #0f95df);
  font-size: 1.2rem;
}

.number-row p {
  margin-bottom: 0;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 54px;
  color: #fff;
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 10%, rgba(57,192,255,.22), transparent 32%),
    linear-gradient(135deg, #071626 0%, #0b2948 56%, #154c7d);
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 780px;
}

.cta .lead {
  max-width: 720px;
}

/* Page heroes */
.page-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(57,192,255,.18), transparent 32%),
    linear-gradient(135deg, #071626, #0b2948 56%, #123e63);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  gap: 48px;
  align-items: center;
  min-height: 590px;
  padding: 72px 0;
}

.page-hero-copy h1 {
  max-width: 860px;
  margin-bottom: 22px;
}

.page-hero-copy .lead {
  max-width: 760px;
}

.page-hero-media img {
  width: 160%;
  border-radius: 34px;
  box-shadow: 0 36px 84px rgba(0,0,0,.34);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(234,244,253,.74);
  font-size: .92rem;
  font-weight: 750;
}

.breadcrumbs span::after {
  content: "/";
  margin-left: 10px;
  opacity: .55;
}

.breadcrumbs span:last-child::after {
  content: "";
  margin: 0;
}

/* Text pages */
.content-wrap {
  max-width: 900px;
}

.prose {
  color: var(--muted);
  font-size: 1.06rem;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin-top: 2rem;
}

.prose strong {
  color: var(--text);
}

.quote-panel {
  padding: 28px;
  color: var(--navy-900);
  background: #f0f7fd;
  border-left: 5px solid var(--blue-600);
  border-radius: 20px;
  font-weight: 700;
}

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

.info-box {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.info-box .label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
}

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 34px;
  align-items: start;
}

.case-panel,
.sidebar-panel {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.sidebar-panel {
  position: sticky;
  top: 118px;
}

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

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

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

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

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--blue-700);
  background: #eaf4fc;
  border: 1px solid #cbe0f2;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
}

.case-columns {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.case-block {
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.case-block h3 {
  margin-bottom: 10px;
}

/* Solutions landing */
.filter-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-pill {
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy-900);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-weight: 800;
}

/* Contact */
.contact-shell {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.contact-aside {
  padding: 42px;
  color: #eaf4fd;
  background:
    radial-gradient(circle at top right, rgba(57,192,255,.2), transparent 36%),
    linear-gradient(135deg, #071626, #0c2b49 70%);
}

.contact-aside h2 {
  color: #fff;
}

.contact-aside p,
.contact-aside li {
  color: rgba(234,244,253,.84);
}

.contact-list {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-form {
  padding: 42px;
}

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

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

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

label {
  color: var(--navy-900);
  font-size: .92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #c7d7e5;
  border-radius: 16px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 164px;
  padding-top: 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37,137,218,.18);
  border-color: var(--blue-600);
}

/* Footer */
.site-footer {
  color: rgba(234,244,253,.84);
  background: #061320;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr 1fr;
  gap: 34px;
  padding: 70px 0 46px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  letter-spacing: .1em;
}

.footer-brand span {
  color: var(--cyan-300);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .24em;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: rgba(234,244,253,.84);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(234,244,253,.62);
  font-size: .94rem;
}

/* Tables */
.table-shell {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--navy-900);
  background: #eef5fb;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

/* Sitemap */
.site-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.site-map-grid .card ul {
  margin-bottom: 0;
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mt-36 { margin-top: 36px !important; }
.mt-48 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.max-860 { max-width: 860px; }

@media (max-width: 1180px) {
  .cards-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-inner,
  .page-hero-inner,
  .split,
  .case-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  .page-hero-inner {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .sidebar-panel {
    position: static;
  }

  .floating-badge {
    right: 18px;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255,255,255,.08);
  transition: .18s ease;
}

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .stats-grid,
  .cards-4,
  .cards-3,
  .info-grid,
  .site-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .proof-item:nth-child(2n),
  .stat:nth-child(2n) {
    border-right: 0;
  }

  .proof-item,
  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stats-grid .stat {
    border-bottom-color: rgba(255,255,255,.12);
  }

  .proof-item:nth-last-child(-n+2),
  .stat:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

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

  .section {
    padding: 64px 0;
  }

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

  .hero-inner,
  .page-hero-inner {
    gap: 34px;
    padding: 50px 0 68px;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    align-items: stretch;
  }

  .proof-strip {
    margin-top: -24px;
  }

  .proof-grid,
  .stats-grid,
  .cards-5,
  .cards-4,
  .cards-3,
  .cards-2,
  .info-grid,
  .site-map-grid,
  .footer-top,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .stat {
    border-right: 0;
  }

  .proof-item:not(:last-child),
  .stat:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .stats-grid .stat:not(:last-child) {
    border-bottom-color: rgba(255,255,255,.12);
  }

  .cta,
  .contact-aside,
  .contact-form,
  .case-panel,
  .sidebar-panel {
    padding: 28px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .floating-badge {
    position: static;
    margin-top: 18px;
  }

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

  .mobile-menu {
    padding-inline: 16px;
  }
}