:root {
  --bg: #f4f9fd;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-soft: rgba(25, 119, 204, 0.03);
  --line: rgba(25, 119, 204, 0.12);
  --line-strong: rgba(25, 119, 204, 0.22);
  --text: #23405d;
  --muted: #5f7b96;
  --brand: #25d366;
  --brand-soft: rgba(37, 211, 102, 0.12);
  --accent: #1977cc;
  --danger: #ff8a80;
  --shadow: 0 22px 56px rgba(35, 64, 93, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --hero-image: url("../img/hero-bg.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 211, 102, 0.12), transparent 25%),
    radial-gradient(circle at bottom right, rgba(25, 119, 204, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fcff 0%, #eef6fb 40%, #f9fcff 100%);
}

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

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

.service-page {
  position: relative;
  overflow: hidden;
}

.service-page::before,
.service-page::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.service-page::before {
  top: 120px;
  right: -120px;
  background: rgba(37, 211, 102, 0.18);
}

.service-page::after {
  bottom: 40px;
  left: -120px;
  background: rgba(25, 119, 204, 0.14);
}

.topbar,
.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.topbar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.nav-shell {
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(25, 119, 204, 0.12));
  border: 1px solid rgba(25, 119, 204, 0.08);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.96rem;
  font-weight: 600;
}

.nav-links a {
  color: #4d6882;
}

.nav-links a:hover {
  color: #1977cc;
}

.btn-main,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-main {
  color: #ffffff;
  background: linear-gradient(135deg, #2fe074, var(--brand));
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(25, 119, 204, 0.05);
}

.btn-main:hover,
.btn-secondary:hover {
  color: inherit;
  transform: translateY(-1px);
}

.hero {
  padding: 42px 0 30px;
}

.hero-card,
.panel,
.image-card,
.cta-card,
.metric-card,
.insight-card,
.process-step,
.matrix-card,
.stat-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 54%, rgba(255, 255, 255, 0.78) 100%),
    linear-gradient(180deg, rgba(244, 249, 253, 0.2), rgba(244, 249, 253, 0.3));
}

.hero-copy {
  padding: 42px;
}

.eyebrow,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  background: var(--brand-soft);
  color: #168d46;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.warn {
  background: rgba(25, 119, 204, 0.08);
  border-color: rgba(25, 119, 204, 0.14);
  color: #1977cc;
}

.hero h1,
.section-title h2,
.cta-card h2,
.footer-brand h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.hero p.lead {
  margin: 18px 0 26px;
  color: #607b97;
  line-height: 1.85;
  font-size: 1.05rem;
}

.hero-badges,
.tag-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 119, 204, 0.1);
  background: rgba(25, 119, 204, 0.05);
  color: #31506d;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(15, 44, 76, 0.36)),
    var(--hero-image) center/cover no-repeat;
  display: flex;
  align-items: end;
}

.hero-stat {
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(25, 119, 204, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-family: "Manrope", sans-serif;
  margin-bottom: 6px;
}

.hero-stat span {
  color: #587590;
  line-height: 1.6;
}

.metrics-grid,
.grid-2,
.grid-3,
.grid-4,
.process-grid {
  display: grid;
  gap: 22px;
}

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

.grid-2 {
  grid-template-columns: 1.05fr 0.95fr;
}

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

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

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

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

.section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 12ch;
}

.section-title p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.panel,
.image-card,
.cta-card,
.metric-card,
.insight-card,
.process-step,
.matrix-card,
.stat-card {
  background: var(--panel);
}

.panel,
.metric-card,
.insight-card,
.process-step,
.matrix-card,
.stat-card {
  padding: 28px;
  height: 100%;
}

.panel h3,
.metric-card h3,
.insight-card h3,
.process-step h3,
.matrix-card h3,
.stat-card h3 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.panel p,
.panel li,
.cta-card p,
.footer-brand p,
.footer-links a,
.footer-copy,
.metric-card p,
.insight-card p,
.process-step p,
.matrix-card p,
.stat-card p {
  color: var(--muted);
  line-height: 1.75;
}

.metric-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.metric-value {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: #1977cc;
}

.feature-list,
.check-list,
.footer-links,
.matrix-list,
.insight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li,
.check-list li,
.matrix-list li,
.insight-list li {
  display: flex;
  gap: 12px;
}

.feature-list i,
.check-list i,
.matrix-list i,
.insight-list i {
  color: var(--brand);
  margin-top: 4px;
}

.mini-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
}

.image-card {
  overflow: hidden;
  min-height: 100%;
}

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

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.matrix-table th,
.matrix-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.matrix-table th {
  color: #30506f;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.matrix-table td {
  color: var(--muted);
  line-height: 1.65;
}

.matrix-table td strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.process-step {
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: rgba(25, 119, 204, 0.05);
  border: 1px solid var(--line);
  color: #1977cc;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.insight-card {
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(25, 119, 204, 0.06)),
    var(--panel);
}

.cta-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(25, 119, 204, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 252, 0.98));
}

.cta-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.site-footer {
  padding: 24px 0 46px;
}

.footer-card {
  padding: 26px 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.footer-brand h3 {
  margin-bottom: 10px;
}

.footer-copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1199px) {
  .metrics-grid,
  .grid-4,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .metrics-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .hero-copy {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .panel,
  .cta-card,
  .footer-card,
  .metric-card,
  .insight-card,
  .process-step,
  .matrix-card,
  .stat-card {
    padding: 24px;
  }

  .topbar-inner {
    font-size: 0.82rem;
  }
}
