:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #60a5fa;
  --accent: #ef4444;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --line: #e2e8f0;
  --card-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 20px 42px rgba(37, 99, 235, 0.14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
}

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

.container {
  max-width: var(--container);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.shell-nav {
  padding: 0;
}

.nav-wrap {
  padding: 14px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.brand span {
  color: var(--primary);
}

.nav-links .nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px !important;
  transition: color 180ms ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus-visible,
.nav-links .nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 200ms ease;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  border-color: #cbd5e1;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(15,23,42,0.78)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.page-hero {
  padding: 44px 0 26px;
  background:
    radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.22), transparent 36%),
    radial-gradient(circle at 15% 16%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: end;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
}

.page-title,
.section-title {
  margin: 16px 0 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  max-width: 14ch;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  max-width: 18ch;
}

.page-title em,
.section-title em {
  font-style: normal;
  color: var(--primary-dark);
}

.page-copy,
.section-copy,
.feature-copy p,
.service-panel p,
.case-copy p,
.article-card p,
.footer-brand p,
.footer-col a,
.footer-col span {
  color: var(--text-secondary);
}

.page-copy,
.section-copy {
  margin-top: 14px;
  max-width: none;
  width: 100%;
  font-size: 1rem;
}

.page-hero-aside {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 14px 16px;
}

.page-hero-aside h2 {
  margin: 0;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.page-hero-aside ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.page-hero-aside li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-hero-aside li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5%;
}

.section-rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-rule i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.page-section {
  padding: 74px 0;
}

.section-head {
  max-width: none;
  width: 100%;
  margin-bottom: 34px;
}

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

.info-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 250px;
  box-shadow: var(--card-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.info-index {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-card h3,
.feature-copy h3,
.service-panel h3,
.case-copy h3,
.article-card h3,
.footer-col h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.info-card p {
  margin-top: 12px;
  font-size: 0.95rem;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--card-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.feature-index {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.2);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.feature-copy p {
  margin-top: 8px;
  font-size: 0.95rem;
}

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

.service-panel {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 280px;
  box-shadow: var(--card-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.service-mark,
.case-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-panel p {
  margin-top: 12px;
  font-size: 0.95rem;
}

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

.case-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 360px;
  box-shadow: var(--card-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.case-copy .case-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-copy p {
  margin-top: 12px;
  font-size: 0.94rem;
}

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

.case-highlights li {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px 6px 32px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background:
    linear-gradient(90deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.03)),
    #fff;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-position 260ms ease, color 180ms ease;
  background-size: 120% 100%, 100% 100%;
  background-position: 0% 0%, 0% 0%;
}

.case-highlights li::before {
  content: "";
  position: absolute;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-dark), var(--secondary));
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-highlights li:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.52);
  background-position: 100% 0%, 0% 0%;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
}

.case-highlights li:hover::before {
  transform: scale(1.18);
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .case-highlights li,
  .case-highlights li::before {
    transition: none !important;
  }
}

.case-teaser {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.case-detail {
  position: absolute;
  inset: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 84% 10%, rgba(96, 165, 250, 0.22), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: inherit;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 2;
}

.case-card.is-expanded .case-detail {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.case-toggle {
  margin-top: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 180ms ease;
}

.case-toggle-open {
  background: #fff;
}

.case-toggle-close {
  margin-top: 16px;
}

.case-toggle:hover {
  border-color: var(--secondary);
  background: #eff6ff;
}

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

.article-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--card-shadow);
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.article-date {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.article-card h3 {
  margin-top: 12px;
}

.article-card p {
  margin-top: 10px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
  padding: 56px 12px 34px;
}

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

.footer-brand .brand img {
  height: 100%;
  width: auto;
}

.site-header .brand {
  height: clamp(44px, 4vw, 54px);
}

.site-footer .footer-brand .brand {
  height: clamp(46px, 4.3vw, 58px);
}

.footer-brand p {
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a,
.footer-col span {
  font-size: 0.92rem;
}

.footer-col a:hover,
.footer-bottom-links span:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding: 16px 12px 24px;
}

.footer-bottom p,
.footer-bottom-links span {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 60ms;
}

.reveal-delay-2 {
  transition-delay: 120ms;
}

.reveal-delay-3 {
  transition-delay: 180ms;
}

.form-error {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .page-hero-shell,
  .card-grid-3,
  .service-grid,
  .case-grid,
  .article-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .page-hero {
    padding: 28px 0 20px;
  }

  .page-section {
    padding: 62px 0;
  }
}

@media (max-width: 767px) {
  .page-title {
    max-width: 14ch;
  }

  .section-title {
    max-width: 18ch;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-panel,
  .case-card,
  .article-card,
  .info-card,
  .feature-row {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Portfolio page premium skin */
.portfolio-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(96, 165, 250, 0.24), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.2), transparent 35%),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 54%, #f9fbff 100%);
}

.portfolio-page .page-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -180px auto;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.portfolio-page .page-hero-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.portfolio-page .page-hero-main {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(191, 219, 254, 0.8);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(6px);
}

.portfolio-page .page-title {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  max-width: 13ch;
}

.portfolio-page .page-hero-aside {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  padding: 18px;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
}

.portfolio-page .page-hero-aside h2 {
  color: #64748b;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.portfolio-page .sector-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.portfolio-page .sector-chip-list li span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.6));
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-page .sector-chip-list li span:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16);
}

.portfolio-page .case-showcase {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, rgba(191, 219, 254, 0.35), rgba(148, 163, 184, 0.08)) border-box;
  border-top: 1px solid transparent;
}

.portfolio-page .case-grid {
  gap: 20px;
}

.portfolio-page .case-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  min-height: 372px;
}

.portfolio-page .case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #2563eb 58%, #93c5fd);
  opacity: 0;
  transition: opacity 220ms ease;
}

.portfolio-page .case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.15);
}

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

.portfolio-page .case-mark {
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
}

.portfolio-page .case-copy h3 {
  font-size: 1.78rem;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.portfolio-page .case-category {
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.24);
}

.portfolio-page .case-highlights li {
  border-color: rgba(96, 165, 250, 0.48);
  background:
    linear-gradient(90deg, rgba(219, 234, 254, 0.92), rgba(239, 246, 255, 0.65)),
    #fff;
}

.portfolio-page .case-teaser {
  font-size: 0.96rem;
}

.portfolio-page .case-detail {
  border-width: 0;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.24);
  border-radius: 18px;
  padding: 24px;
}

.portfolio-page .case-toggle {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .portfolio-page .page-hero-main {
    padding: 20px;
  }

  .portfolio-page .case-copy h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 767px) {
  .portfolio-page .page-hero {
    padding: 28px 0 20px;
  }

  .portfolio-page .page-hero-main,
  .portfolio-page .page-hero-aside,
  .portfolio-page .case-card,
  .portfolio-page .case-detail {
    border-radius: 14px;
  }
}

/* Services page premium skin */
.services-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.2), transparent 34%),
    radial-gradient(circle at 90% 14%, rgba(59, 130, 246, 0.18), transparent 36%),
    linear-gradient(155deg, #f8fbff 0%, #eef4ff 52%, #f8fbff 100%);
}

.services-page .page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -110px;
  width: 360px;
  height: 360px;
  border-radius: 38%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
  transform: rotate(14deg);
}

.services-page .page-hero-shell {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
}

.services-page .page-hero-main {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.75);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(6px);
}

.services-page .page-title {
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  max-width: 12ch;
}

.services-page .page-hero-aside {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

.services-page .page-hero-aside h2 {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 0.8rem;
}

.services-page .service-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.services-page .service-chip-list li span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px 0 28px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.65));
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
}

.services-page .service-chip-list li span::before {
  content: "";
  position: absolute;
  left: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #60a5fa);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.services-page .service-showcase {
  border-top: 1px solid rgba(191, 219, 254, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.services-page .service-stream {
  display: grid;
  gap: 14px;
}

.services-page .service-track {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(120deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.services-page .service-track:nth-child(2),
.services-page .service-track:nth-child(4) {
  margin-left: 32px;
}

.services-page .service-track:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 18px 28px rgba(37, 99, 235, 0.12);
}

.services-page .track-index {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3);
}

.services-page .track-main {
  position: relative;
  z-index: 2;
}

.services-page .track-main h3 {
  margin: 0;
  font-size: 1.13rem;
  letter-spacing: -0.01em;
}

.services-page .track-main p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.services-page .track-rail {
  position: absolute;
  left: 84px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.2);
}

.services-page .track-rail span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  transition: transform 320ms ease;
}

.services-page .service-track:hover .track-rail span {
  transform: translateX(240%);
}

.services-page .delivery-showcase {
  background:
    radial-gradient(circle at 88% 20%, rgba(96, 165, 250, 0.14), transparent 40%),
    #fff;
}

.services-page .implementation-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.services-page .impl-stage {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background:
    radial-gradient(circle at 92% 8%, rgba(96, 165, 250, 0.18), transparent 36%),
    linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  padding: 22px 20px;
  min-height: 235px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.services-page .impl-stage:nth-child(2) {
  margin-top: 34px;
}

.services-page .impl-stage:nth-child(3) {
  margin-top: 10px;
}

.services-page .impl-stage::after {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(100% - 10px);
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.55), rgba(96, 165, 250, 0.15));
}

.services-page .impl-stage:last-child::after {
  display: none;
}

.services-page .impl-stage:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.54);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.14);
}

.services-page .impl-orb {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3);
}

.services-page .impl-stage h3 {
  margin: 14px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.services-page .impl-stage p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .services-page .page-hero-main {
    padding: 20px;
  }

  .services-page .implementation-flow {
    grid-template-columns: 1fr;
  }

  .services-page .impl-stage:nth-child(2),
  .services-page .impl-stage:nth-child(3) {
    margin-top: 0;
  }

  .services-page .impl-stage::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .services-page .page-hero {
    padding: 28px 0 20px;
  }

  .services-page .page-hero-main,
  .services-page .page-hero-aside,
  .services-page .service-track,
  .services-page .impl-stage {
    border-radius: 14px;
  }

  .services-page .service-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-page .service-track:nth-child(2),
  .services-page .service-track:nth-child(4) {
    margin-left: 0;
  }

  .services-page .track-rail {
    left: 16px;
  }
}

/* About page premium skin */
.about-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 14% 12%, rgba(96, 165, 250, 0.2), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.16), transparent 35%),
    linear-gradient(155deg, #f9fbff 0%, #eef4ff 50%, #f8fbff 100%);
}

.about-page .page-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0));
}

.about-page .page-hero-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.about-page .page-hero-main {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.78);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(6px);
}

.about-page .page-title {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.about-page .page-hero-aside {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

.about-page .page-hero-aside h2 {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 0.8rem;
}

.about-page .about-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.about-page .about-chip-list li span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px 0 28px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.66));
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
}

.about-page .about-chip-list li span::before {
  content: "";
  position: absolute;
  left: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #60a5fa);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.about-page .about-position {
  border-top: 1px solid rgba(191, 219, 254, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.about-page .about-position .section-title,
.about-page .about-position .section-copy {
  max-width: none;
  white-space: nowrap;
}

.about-page .about-position .section-copy {
  font-size: 0.98rem;
}

.about-page .about-pillars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.about-page .pillar-item {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  padding: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-page .pillar-item:nth-child(1) {
  grid-column: span 5;
}

.about-page .pillar-item:nth-child(2) {
  grid-column: span 7;
}

.about-page .pillar-item:nth-child(3) {
  grid-column: span 12;
}

.about-page .pillar-item:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.52);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.14);
}

.about-page .pillar-index {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3);
}

.about-page .pillar-item h3 {
  margin: 14px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.about-page .pillar-item p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.about-page .about-workflow {
  background:
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.14), transparent 40%),
    #fff;
}

.about-page .work-lanes {
  display: grid;
  gap: 14px;
}

.about-page .work-lane {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.23);
  background: linear-gradient(120deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-page .lane-node {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.about-page .work-lane h3,
.about-page .work-lane p {
  grid-column: 2;
}

.about-page .work-lane:nth-child(2) {
  margin-left: 28px;
}

.about-page .work-lane:nth-child(3) {
  margin-left: 56px;
}

.about-page .work-lane:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.54);
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.13);
}

.about-page .lane-node {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3);
}

.about-page .work-lane h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.about-page .work-lane p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .about-page .page-hero-main {
    padding: 20px;
  }

  .about-page .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-page .pillar-item:nth-child(1),
  .about-page .pillar-item:nth-child(2),
  .about-page .pillar-item:nth-child(3) {
    grid-column: auto;
  }

  .about-page .work-lane:nth-child(2),
  .about-page .work-lane:nth-child(3) {
    margin-left: 0;
  }

  .about-page .about-position .section-title,
  .about-page .about-position .section-copy {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .about-page .page-hero {
    padding: 28px 0 20px;
  }

  .about-page .page-hero-main,
  .about-page .page-hero-aside,
  .about-page .pillar-item,
  .about-page .work-lane {
    border-radius: 14px;
  }

  .about-page .work-lane {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-page .lane-node,
  .about-page .work-lane h3,
  .about-page .work-lane p {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Theme sync overrides: match index dark palette for intro sections */
.about-page,
.services-page,
.portfolio-page {
  background: #020617;
  color: #e5e7eb;
}

.about-page main,
.services-page main,
.portfolio-page main {
  background: #0f172a;
}

.about-page .page-hero,
.services-page .page-hero,
.portfolio-page .page-hero {
  background:
    radial-gradient(circle at 14% 12%, rgba(96, 165, 250, 0.2), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.16), transparent 35%),
    linear-gradient(180deg, #0b1f3a 0%, #020617 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.about-page .page-hero-main,
.services-page .page-hero-main,
.portfolio-page .page-hero-main {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.56));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.5);
}

.about-page .page-hero-aside,
.services-page .page-hero-aside,
.portfolio-page .page-hero-aside {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.56));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.5);
}

.about-page .page-title,
.services-page .page-title,
.portfolio-page .page-title,
.about-page .section-title,
.services-page .section-title,
.portfolio-page .section-title {
  color: #e5e7eb;
}

.about-page .page-title em,
.services-page .page-title em,
.portfolio-page .page-title em,
.about-page .section-title em,
.services-page .section-title em,
.portfolio-page .section-title em {
  color: #60a5fa;
}

.about-page .page-copy,
.services-page .page-copy,
.portfolio-page .page-copy,
.about-page .section-copy,
.services-page .section-copy,
.portfolio-page .section-copy,
.about-page .page-hero-aside h2,
.services-page .page-hero-aside h2,
.portfolio-page .page-hero-aside h2 {
  color: #cbd5f5;
}

.about-page .about-chip-list li span,
.services-page .service-chip-list li span,
.portfolio-page .sector-chip-list li span {
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.about-page .about-chip-list li span::before,
.services-page .service-chip-list li span::before {
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
}

.about-page .about-position,
.about-page .about-workflow,
.services-page .service-showcase,
.services-page .delivery-showcase,
.portfolio-page .case-showcase,
.about-page .page-section,
.services-page .page-section,
.portfolio-page .page-section {
  background: #0f172a;
  border-top-color: rgba(148, 163, 184, 0.2);
}

.about-page .section-head .section-kicker,
.services-page .section-head .section-kicker,
.portfolio-page .section-head .section-kicker {
  color: #60a5fa;
}

.about-page .pillar-item,
.about-page .work-lane,
.services-page .service-track,
.services-page .impl-stage,
.portfolio-page .case-card,
.portfolio-page .case-detail {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.56));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.5);
}

.about-page .pillar-item h3,
.about-page .work-lane h3,
.services-page .track-main h3,
.services-page .impl-stage h3,
.portfolio-page .case-copy h3 {
  color: #e5e7eb;
}

.about-page .pillar-item p,
.about-page .work-lane p,
.services-page .track-main p,
.services-page .impl-stage p,
.portfolio-page .case-copy p,
.portfolio-page .case-description,
.portfolio-page .case-teaser {
  color: #cbd5f5;
}

.about-page .pillar-index,
.about-page .lane-node,
.services-page .track-index,
.services-page .impl-orb,
.portfolio-page .case-mark {
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35);
}

.portfolio-page .case-category {
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.portfolio-page .case-highlights li {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #cbd5f5;
}

.portfolio-page .case-toggle {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #bfdbfe;
}

.portfolio-page .case-toggle:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(147, 197, 253, 0.78);
}

.about-page .section-rule,
.services-page .section-rule,
.portfolio-page .section-rule {
  background: #0f172a;
}

.about-page .section-rule span,
.services-page .section-rule span,
.portfolio-page .section-rule span {
  background: rgba(148, 163, 184, 0.28);
}

.about-page .section-rule i,
.services-page .section-rule i,
.portfolio-page .section-rule i {
  background: rgba(96, 165, 250, 0.72);
}

.about-page .site-footer,
.services-page .site-footer,
.portfolio-page .site-footer,
.about-page .footer-bottom,
.services-page .footer-bottom,
.portfolio-page .footer-bottom {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.about-page .footer-brand p,
.services-page .footer-brand p,
.portfolio-page .footer-brand p,
.about-page .footer-col a,
.services-page .footer-col a,
.portfolio-page .footer-col a,
.about-page .footer-col span,
.services-page .footer-col span,
.portfolio-page .footer-col span,
.about-page .footer-bottom p,
.services-page .footer-bottom p,
.portfolio-page .footer-bottom p,
.about-page .footer-bottom-links span,
.services-page .footer-bottom-links span,
.portfolio-page .footer-bottom-links span {
  color: #cbd5f5;
}

.about-page .site-header,
.services-page .site-header,
.portfolio-page .site-header {
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(16px);
}

.about-page .nav-links .nav-link,
.services-page .nav-links .nav-link,
.portfolio-page .nav-links .nav-link {
  color: #cbd5f5;
}

.about-page .nav-links .nav-link:hover,
.services-page .nav-links .nav-link:hover,
.portfolio-page .nav-links .nav-link:hover,
.about-page .nav-links .nav-link.active,
.services-page .nav-links .nav-link.active,
.portfolio-page .nav-links .nav-link.active {
  color: #60a5fa;
}

.about-page .nav-cta,
.services-page .nav-cta,
.portfolio-page .nav-cta {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(96, 165, 250, 0.68);
  box-shadow: 0 14px 28px rgba(30, 64, 175, 0.36);
  color: #eff6ff;
}

.about-page .nav-toggle,
.services-page .nav-toggle,
.portfolio-page .nav-toggle {
  border-color: rgba(148, 163, 184, 0.36);
}

.about-page .navbar-toggler-icon,
.services-page .navbar-toggler-icon,
.portfolio-page .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(229,231,235,0.84)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991px) {
  .about-page .navbar-collapse,
  .services-page .navbar-collapse,
  .portfolio-page .navbar-collapse {
    background: rgba(2, 6, 23, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.28);
  }
}
