/* ========== VARIABLES ========== */
:root {
  --blue: #0057d9;
  --blue-dark: #0a2a6b;
  --blue-deep: #003399;
  --green: #2ecc40;
  --green-bright: #00c853;
  --green-hover: #25a835;
  --text: #0f2a4a;
  --text-muted: #5a6a7a;
  --white: #ffffff;
  --border: #e8eef5;
  --font: "Poppins", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1180px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.site-header .navbar {
  padding: 0.7rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

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

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.navbar-nav {
  gap: 0.15rem;
}

.navbar-nav .nav-link {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--blue-dark) !important;
  padding: 0.55rem 0.85rem !important;
  margin: 0 0.1rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--blue) !important;
  background: rgba(0, 87, 217, 0.06);
}

.navbar-nav .nav-link.active {
  color: var(--blue) !important;
  font-weight: 600;
  background: rgba(0, 87, 217, 0.08);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  background: var(--blue);
  border-radius: 3px;
}

.btn-lang {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  padding: 0;
}

.btn-lang:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-talk {
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s;
}

.btn-talk:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  padding: 2.5rem 0 5.5rem;
  background: #ffffff;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52%, 620px);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 68%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  height: 100%;
  background: url("../images/hero-global.png") 12% center / cover no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.95) 8%,
    rgba(255, 255, 255, 0.4) 22%,
    transparent 40%
  );
  pointer-events: none;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0.5rem 1.5rem 0.5rem 0;
  max-width: 480px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-bright);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0b2a6b;
  margin-bottom: 0.9rem;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-title span {
  color: var(--green-bright);
  display: block;
  margin-top: 0.1rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5a6a7a;
  max-width: 380px;
  margin-bottom: 1.35rem;
}

.btn-primary-green {
  background: var(--green-bright);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary-green:hover {
  background: var(--green-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.btn-outline-blue {
  background: var(--white);
  color: var(--blue) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white) !important;
}

.hero-script {
  display: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

/* ========== COUNTER ========== */
.counter-section {
  position: relative;
  z-index: 5;
  margin-top: -2.25rem;
  padding-bottom: 0;
  background: transparent;
}

.counter-card {
  background: transparent;
  border-radius: 0;
  padding: 0.35rem 0 0.25rem;
  box-shadow: none;
}

.counter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  height: 100%;
  position: relative;
}

.counter-card .col-lg-3:not(:last-child) .counter-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: #e3e9f0;
}

.counter-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  flex-shrink: 0;
}

.counter-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.counter-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.counter-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  margin-top: 3px;
}

/* ========== PARTNERS ========== */
.partners-section {
  padding: 2.75rem 0 3.25rem;
  background: var(--white);
  border-top: 1px solid #f0f3f7;
}

.partners-heading {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #7a8794;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding: 0.35rem 1rem 0.75rem;
  animation: partners-scroll 28s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 140px;
  padding: 0.5rem 1rem;
  flex-shrink: 0;
}

.partner-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}


/* ========== SHARED SECTION STYLES ========== */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-bright);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.section-eyebrow.light {
  color: var(--green-bright);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 2.25rem;
}

.section-title span {
  color: var(--blue);
}

.section-title.light {
  color: var(--white);
}

.section-title.light span {
  color: var(--green-bright);
}

/* ========== SERVICES ========== */
.services-section {
  padding: 4rem 0 5rem;
  background: var(--white);
}

.service-card {
  height: 100%;
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 6px 24px rgba(10, 42, 107, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 42, 107, 0.1);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.55rem;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 10px 22px rgba(10, 42, 107, 0.14);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.service-icon i {
  font-size: 2rem;
  line-height: 1;
}

.icon-blue { background: linear-gradient(145deg, #4f8dff, #0057d9); }
.icon-green { background: linear-gradient(145deg, #3dde66, #00b341); }
.icon-purple { background: linear-gradient(145deg, #4f8dff, #0057d9); }
.icon-cyan { background: linear-gradient(145deg, #3dde66, #00b341); }
.icon-lime { background: linear-gradient(145deg, #4f8dff, #0057d9); }
.icon-royal { background: linear-gradient(145deg, #3dde66, #00b341); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service-link:hover {
  gap: 0.5rem;
}

/* ========== INDUSTRIES ========== */
.industries-section {
  padding: 4.5rem 0;
  background: #0a1628;
}

.industry-card {
  position: relative;
  display: block;
  height: 200px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: inherit;
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  color: var(--white);
  transition: background 0.25s;
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.15) 0%, rgba(0, 87, 217, 0.72) 100%);
}

.industry-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 0.55rem;
  color: #ffffff;
  line-height: 0;
}

.industry-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.industry-overlay h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #ffffff;
}

/* ========== PROCESS ========== */
.process-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(165deg, #f4f8ff 0%, #eef6f1 48%, #f7fafc 100%);
  overflow: hidden;
}

.process-glow {
  display: none;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr);
  gap: 3rem 4rem;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 6.5rem;
  padding-top: 0.35rem;
}

.process-intro .section-title {
  margin-bottom: 1rem;
  max-width: 16ch;
}

.process-lead {
  max-width: 420px;
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.process-lead.text-center {
  margin-left: auto;
  margin-right: auto;
}

.process-journey {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.15rem;
  position: relative;
}

.process-journey::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0057d9 0%, #00c853 55%, #0057d9 100%);
}

.process-journey-item {
  position: relative;
  padding: 0 0 1.15rem 1.35rem;
  animation: process-rise 0.65s ease both;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

.process-journey-item:last-child {
  padding-bottom: 0;
}

.process-journey-marker {
  position: absolute;
  left: -1.15rem;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #f4f8ff;
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.18);
  z-index: 1;
}

.process-journey-item.is-green .process-journey-marker {
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
}

.process-journey-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10, 42, 107, 0.08);
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-journey-item.is-blue .process-journey-card {
  border-left: 4px solid var(--blue);
}

.process-journey-item.is-green .process-journey-card {
  border-left: 4px solid var(--green-bright);
}

.process-journey-item:hover .process-journey-card {
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(10, 42, 107, 0.09);
}

.process-journey-num {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
  padding-top: 0.15rem;
}

.process-journey-item.is-green .process-journey-num {
  color: var(--green-bright);
}

.process-journey-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 0.35rem;
}

.process-journey-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@keyframes process-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== TECH ========== */
.tech-section {
  padding: 4rem 0;
  background: var(--white);
  overflow: hidden;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  margin-top: 0.5rem;
}

.tech-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  width: max-content;
  animation: tech-scroll 35s linear infinite;
  padding: 0.5rem 0 1rem;
}

.tech-marquee:hover .tech-track {
  animation-play-state: paused;
}

@keyframes tech-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 120px;
  min-height: 120px;
  padding: 1.1rem 0.75rem;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10, 42, 107, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-item:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(0, 87, 217, 0.1);
}

.tech-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 4.5rem 0;
  background: #f0f5ff;
  overflow-x: hidden;
}

.t-slider {
  position: relative;
  padding: 0 3rem 0.5rem;
}

.t-viewport {
  overflow: hidden;
  width: 100%;
}

.t-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.t-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.testimonial-card {
  height: 100%;
  min-height: 260px;
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 6px 24px rgba(10, 42, 107, 0.06);
  display: flex;
  flex-direction: column;
}

.t-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d6e3f7;
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(10, 42, 107, 0.1);
  transition: background 0.2s, color 0.2s;
}

.t-nav:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.t-prev { left: 0; }
.t-next { right: 0; }

.t-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.t-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #b7c7de;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.t-dots button.active {
  background: var(--blue);
  width: 24px;
  border-radius: 999px;
}

.quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 0.7;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.testimonial-card > p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

@media (max-width: 991.98px) {
  .t-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767.98px) {
  .t-slider {
    padding: 0 2.5rem 0.5rem;
  }

  .t-slide {
    flex-basis: 100%;
  }
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-footer strong {
  display: block;
  font-size: 0.9rem;
  color: var(--blue-dark);
}

.testimonial-footer span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  color: #f5b400;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  padding: 5.5rem 0;
  background:
    linear-gradient(rgba(10, 22, 40, 0.65), rgba(10, 22, 40, 0.7)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1600&q=80") center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

/* Compact CTA on inner pages only — home keeps full padding */
body:has(.page-hero) .cta-section,
body:has(.about-hero) .cta-section,
body:has(.work-hero) .cta-section,
body:has(.insights-hero) .cta-section,
body:has(.careers-hero) .cta-section,
body:has(.contact-hero) .cta-section,
body:has(.industries-hero) .cta-section,
body:has(.detail-hero) .cta-section {
  padding: 3rem 0;
}

body:has(.page-hero) .cta-title,
body:has(.about-hero) .cta-title,
body:has(.work-hero) .cta-title,
body:has(.insights-hero) .cta-title,
body:has(.careers-hero) .cta-title,
body:has(.contact-hero) .cta-title,
body:has(.industries-hero) .cta-title,
body:has(.detail-hero) .cta-title {
  margin-bottom: 1.15rem;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.cta-title span {
  color: var(--green-bright);
}

.btn-outline-light-cta {
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-outline-light-cta:hover {
  background: var(--white);
  color: var(--blue-dark) !important;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #070f1c;
  color: #a8b4c4;
  padding: 4rem 0 0;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2a3a50;
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: #a8b4c4 !important;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-bright) !important;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.55rem;
}

.footer-contact i {
  color: var(--green-bright);
  margin-top: 2px;
}

.footer-map-quote {
  margin-top: 1.5rem;
  font-family: var(--script);
  font-size: 1.2rem;
  color: #c5d0de;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid #1a2738;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: #a8b4c4 !important;
}

.footer-legal a:hover {
  color: var(--white) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 0.85rem 0 0.35rem;
    gap: 0.2rem;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.9rem !important;
    margin: 0;
  }

  .navbar-nav .nav-link.active::after {
    left: 0.9rem;
    margin-left: 0;
    width: 22px;
  }

  .header-actions {
    padding: 0.5rem 0 1rem;
    gap: 0.75rem !important;
  }

  .hero-section {
    padding: 1.75rem 0 0;
    text-align: center;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-section::before {
    display: none;
  }

  .hero-section > .container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding-bottom: 1.25rem;
  }

  .hero-bg {
    position: relative;
    left: auto;
    width: 100%;
    height: 200px;
    top: auto;
    right: auto;
    bottom: auto;
    order: 3;
    background-position: 65% center;
  }

  .hero-bg::before {
    background: linear-gradient(180deg, #ffffff 0%, transparent 40%);
  }

  .hero-title {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-wave {
    order: 4;
    position: relative;
  }

  .hero-wave svg {
    height: 48px;
  }

  .hero-content {
    padding: 0;
    max-width: none;
    margin: 0 auto;
  }

  .hero-title span {
    display: inline;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .counter-card .col-lg-3:not(:last-child) .counter-item::after {
    display: none;
  }

  .counter-card .col-6:nth-child(odd) .counter-item {
    border-right: 1px solid #e3e9f0;
  }

  .counter-card .col-6:nth-child(-n + 2) .counter-item {
    border-bottom: 1px solid #e3e9f0;
  }

  .counter-item {
    justify-content: flex-start;
    padding: 1.1rem 1rem;
  }

  .partners-track {
    gap: 1.75rem;
  }

  .partner-logo {
    min-width: 120px;
    height: 56px;
  }

  .partner-logo img {
    height: 36px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-intro {
    position: static;
    text-align: center;
  }

  .process-intro .section-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .process-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .process-intro .btn {
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .partners-track {
    gap: 1.25rem;
    animation-duration: 22s;
  }

  .counter-card .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .counter-card .col-6 .counter-item {
    border-right: none !important;
    border-bottom: 1px solid #e3e9f0;
  }

  .counter-card .col-6:last-child .counter-item {
    border-bottom: none;
  }

  .industry-card {
    height: 150px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== INNER PAGES ========== */
.page-hero {
  position: relative;
  padding: 2.35rem 0 1.85rem;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 249, 255, 0.94) 50%, rgba(232, 242, 255, 0.88) 100%),
    url("../images/hero-global.png") right center / cover no-repeat;
  overflow: hidden;
  border-bottom: 1px solid #e8eef5;
}

.page-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
  max-width: 640px;
  margin-bottom: 0.7rem;
}

.page-hero-title span {
  color: var(--green-bright);
}

.page-hero-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 0.85rem;
}

/* About hero — dark centered editorial (different from home) */
.about-hero {
  position: relative;
  padding: 3.25rem 0 2.75rem;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 87, 217, 0.28), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 200, 83, 0.14), transparent 40%),
    linear-gradient(160deg, #07101f 0%, #0c1c38 48%, #0a1628 100%);
  overflow: hidden;
  text-align: center;
}

.about-hero-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-hero-orbit::before,
.about-hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  inset: 55px;
}

.about-hero-orbit::after {
  inset: 120px;
  border-style: dashed;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.about-hero .hero-eyebrow {
  color: var(--green-bright);
}

.about-hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.about-hero-title span {
  color: var(--green-bright);
}

.about-hero-copy {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 1.25rem;
  max-width: 560px;
}

.about-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0;
}

.about-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.about-loc i {
  color: var(--green-bright);
  font-size: 0.85rem;
}

.about-loc-soft {
  background: rgba(0, 200, 83, 0.12);
  border-color: rgba(0, 200, 83, 0.3);
}

.about-metrics {
  position: relative;
  z-index: 5;
  margin-top: -1.35rem;
  padding-bottom: 0.5rem;
}

.about-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.08);
  overflow: hidden;
}

.about-metric {
  text-align: center;
  padding: 1.15rem 0.85rem;
  position: relative;
}

.about-metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: #e3e9f0;
}

.about-metric strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.about-metric span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-story-band,
.about-values,
.about-why {
  padding: 3rem 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.about-story-lead .section-title {
  margin-bottom: 0;
}

.about-story-panels {
  display: grid;
  gap: 1rem;
}

.about-panel {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 4.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7faff 0%, #ffffff 55%);
  border: 1px solid #e8eef5;
  transition: transform 0.25s, box-shadow 0.25s;
}

.about-panel:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 28px rgba(10, 42, 107, 0.08);
}

.about-panel-num {
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-bright);
  letter-spacing: 0.04em;
}

.about-panel h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.about-panel p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.about-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-values {
  background: #f7faff;
}

/* Awards */
.awards-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, #0a1628 0%, #102040 100%);
}

.awards-section .section-eyebrow {
  color: var(--green-bright);
}

.awards-section .section-title,
.awards-section .process-lead {
  color: #ffffff;
}

.awards-section .process-lead {
  opacity: 0.75;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.award-card {
  position: relative;
  padding: 1.35rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.2s, background 0.2s;
}

.award-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.award-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #0057d9);
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.35);
}

.award-badge-green {
  background: linear-gradient(145deg, #34d399, #00c853);
  box-shadow: 0 10px 24px rgba(0, 200, 83, 0.3);
}

.award-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  margin-bottom: 0.45rem;
}

.award-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.award-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Founder */
.founder-section {
  padding: 3.5rem 0;
  background: #f7faff;
}

.founder-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: stretch;
}

.founder-photo-wrap {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(10, 42, 107, 0.1);
}

.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
  position: relative;
  z-index: 1;
}

.founder-photo-glow {
  position: absolute;
  left: -12%;
  bottom: -14%;
  width: 55%;
  height: 45%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 87, 217, 0.28), rgba(0, 200, 83, 0.22));
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.founder-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 1.75rem 1.85rem;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(10, 42, 107, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-quote {
  font-family: var(--script);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--blue-dark);
  margin: 0 0 1.35rem;
  border: none;
  padding: 0;
  overflow-wrap: anywhere;
}

.founder-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #e3e9f0;
}

.founder-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.founder-role {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.founder-social {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.founder-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d6e3f7;
  color: var(--blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.founder-social a:hover {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
}

.founder-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* Corporate video */
.corp-video-section {
  padding: 3rem 0 3.25rem;
  background: var(--white);
}

.corp-video-stage {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.55), rgba(0, 87, 217, 0.35)),
    url("../images/hero-visual.png") center / cover no-repeat;
  box-shadow: 0 24px 50px rgba(10, 42, 107, 0.2);
}

.corp-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  cursor: pointer;
  z-index: 2;
}

.corp-video-play-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--green-bright);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(0, 200, 83, 0.45);
  transition: transform 0.2s;
}

.corp-video-play:hover .corp-video-play-btn {
  transform: scale(1.08);
}

.corp-video-play-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.corp-video-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
}

.corp-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.value-card {
  height: 100%;
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 16px rgba(10, 42, 107, 0.04);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3b82f6, #0057d9);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.why-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 1.15rem 1rem;
  height: 100%;
}

.why-item i {
  color: var(--blue);
  font-size: 1.35rem;
  margin-top: 2px;
}

.why-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue-dark);
  margin-bottom: 0.2rem;
}

.why-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.services-page {
  padding-top: 1.75rem;
}

.services-section.services-page {
  padding: 1.75rem 0 2.25rem;
}

.services-section.services-page .service-card {
  padding: 1.35rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(10, 42, 107, 0.04);
}

.services-section.services-page .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.process-section.services-deliver {
  padding: 2.5rem 0 2.75rem;
}

.service-card-lg {
  min-height: 100%;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
}

.service-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

@media (max-width: 991.98px) {
  .page-hero {
    text-align: center;
    background-position: center;
  }

  .page-hero-title,
  .page-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero {
    padding: 2.75rem 0 2.5rem;
  }

  .about-hero-orbit {
    width: 340px;
    height: 340px;
  }

  .about-locations {
    justify-content: center;
  }

  .about-metrics-bar {
    grid-template-columns: 1fr 1fr;
  }

  .about-metric:nth-child(2)::after {
    display: none;
  }

  .about-metric:nth-child(-n + 2) {
    border-bottom: 1px solid #e3e9f0;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .about-panel {
    text-align: left;
  }

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

  .founder-stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .founder-photo {
    min-height: 340px;
    height: 340px;
    max-width: none;
  }

  .founder-content {
    padding: 1.4rem 1.35rem;
    text-align: left;
  }

  .founder-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-social {
    justify-content: flex-start;
  }

  .corp-video-stage {
    min-height: 280px;
  }

}

/* Our Work + Insights pages */
.work-hero,
.insights-hero {
  position: relative;
  padding: 2.75rem 0 2.35rem;
  background:
    radial-gradient(ellipse at 18% 15%, rgba(0, 200, 83, 0.12), transparent 42%),
    radial-gradient(ellipse at 88% 70%, rgba(0, 87, 217, 0.22), transparent 45%),
    linear-gradient(155deg, #07101f 0%, #0f2448 55%, #0a1628 100%);
  text-align: center;
  overflow: hidden;
}

.work-hero-title,
.insights-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto 0.7rem;
}

.work-hero-title span,
.insights-hero-title span {
  color: var(--green-bright);
}

.work-hero-copy,
.insights-hero-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto;
}

.work-filters-bar {
  background: #f7faff;
  padding: 1rem 0 0;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.work-filter {
  border: 1px solid #d6e3f7;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.work-filter.active,
.work-filter:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.work-page,
.insights-page {
  padding: 1.75rem 0 3rem;
  background: #f7faff;
}

.project-card {
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  box-shadow: 0 4px 16px rgba(10, 42, 107, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.1);
}

.project-media {
  height: 168px;
  background-size: cover;
  background-position: center;
}

.project-body {
  padding: 1.05rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.project-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: #edf3ff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.project-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.45rem;
}

.project-body > p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.project-body .service-link {
  margin-top: auto;
}

.insight-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.55rem;
}

.insight-meta {
  display: flex;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: #7a8794;
  font-weight: 500;
}

/* Insights redesign */
.insights-hero-v2 {
  text-align: left;
  padding: 3rem 0 2.75rem;
}

.insights-hero-v2 .insights-hero-title,
.insights-hero-v2 .insights-hero-copy {
  margin-left: 0;
  margin-right: 0;
}

.insights-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
}

.insights-hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.insights-hero-topics span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.insights-toolbar {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  padding: 1rem 0;
  position: sticky;
  top: 72px;
  z-index: 40;
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.insights-filter {
  border: 1px solid #d6e3f7;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.insights-filter.active,
.insights-filter:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.insights-page-v2 {
  padding: 2rem 0 3.25rem;
  background: #f7faff;
}

.insight-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 340px;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}

.insight-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 42, 107, 0.1);
  color: inherit;
}

.insight-feature-media {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.insight-feature-body {
  padding: 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insight-feature-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.insight-meta-inline {
  font-size: 0.8rem;
  color: #7a8794;
  font-weight: 500;
}

.insight-feature-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.insight-feature-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.insight-card-v2 {
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(10, 42, 107, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.insight-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 42, 107, 0.1);
}

.insight-card-v2 .insight-card-media {
  height: 170px;
  background-size: cover;
  background-position: center;
}

.insight-card-v2 .insight-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-card-v2 h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.insight-card-v2 p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  flex: 1;
}

.insights-subscribe {
  margin-top: 2.5rem;
  padding: 1.75rem 1.85rem;
  border-radius: 16px;
  background: linear-gradient(120deg, #0a2540 0%, #12305f 55%, #0d3d2a 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.insights-subscribe .eyebrow-soft {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.insights-subscribe h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.insights-subscribe p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.insights-subscribe-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.insights-subscribe-form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.insights-subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.insights-subscribe-form input:focus {
  outline: 0;
  border-color: var(--green-bright);
  background: rgba(255, 255, 255, 0.14);
}

.insights-cta-band {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, #0a1628, #12305f);
  text-align: center;
  color: #fff;
}

.insights-cta-band h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.insights-cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
}

@media (max-width: 991.98px) {
  .insights-hero-grid,
  .insight-feature,
  .insights-subscribe {
    grid-template-columns: 1fr;
  }

  .insights-hero-topics {
    justify-content: flex-start;
  }

  .insights-toolbar {
    top: 64px;
  }

  .insight-feature-body {
    padding: 1.35rem 1.25rem 1.5rem;
  }
}

/* Careers page */
.careers-hero,
.contact-hero {
  position: relative;
  padding: 2.75rem 0 2.35rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(0, 87, 217, 0.26), transparent 42%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 200, 83, 0.12), transparent 40%),
    linear-gradient(155deg, #07101f 0%, #0f2448 55%, #0a1628 100%);
  text-align: center;
  overflow: hidden;
}

.careers-hero-title,
.contact-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto 0.7rem;
}

.careers-hero-title span,
.contact-hero-title span {
  color: var(--green-bright);
}

.careers-hero-copy,
.contact-hero-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 1rem;
}

.careers-perks {
  padding: 2.75rem 0;
  background: #f7faff;
}

.perk-card {
  height: 100%;
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 4px 16px rgba(10, 42, 107, 0.04);
}

.perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3b82f6, #0057d9);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.perk-green {
  background: linear-gradient(145deg, #34d399, #00c853);
}

.perk-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.45rem;
}

.perk-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.careers-roles {
  padding: 2.75rem 0 3rem;
  background: var(--white);
}

.roles-list {
  display: grid;
  gap: 0.9rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid #e8eef5;
  background: #fafcff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 42, 107, 0.08);
}

.role-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 0.45rem;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.role-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: #edf3ff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.careers-open-note p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Contact page */
.contact-section {
  padding: 2.75rem 0 2.5rem;
  background: #f7faff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #edf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.contact-info-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 0.55rem;
}

.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d6e3f7;
  color: var(--blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-social a:hover {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e8eef5;
  box-shadow: 0 8px 24px rgba(10, 42, 107, 0.06);
  padding: 1.4rem 1.25rem;
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.15rem;
}

.contact-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  border-color: #d6e3f7;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}

.contact-map-strip {
  padding: 0 0 2.75rem;
  background: #f7faff;
}

.office-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e8eef5;
  padding: 1.25rem 1.15rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.office-card-usa {
  background: linear-gradient(145deg, #f0f7ff, #ffffff);
}

.office-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.office-card-usa .office-flag {
  background: var(--green-bright);
}

.office-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.45rem;
}

.office-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.office-card a {
  color: var(--blue) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .role-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Industries page */
.industries-hero {
  position: relative;
  padding: 2.75rem 0 2.35rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(0, 200, 83, 0.12), transparent 42%),
    radial-gradient(ellipse at 90% 80%, rgba(0, 87, 217, 0.22), transparent 45%),
    linear-gradient(155deg, #07101f 0%, #0f2448 55%, #0a1628 100%);
  text-align: center;
  overflow: hidden;
}

.industries-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 0.7rem;
}

.industries-hero-title span {
  color: var(--green-bright);
}

.industries-hero-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto;
}

.industries-page {
  padding: 2.25rem 0 3rem;
  background: #f7faff;
}

.industry-detail {
  height: 100%;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  box-shadow: 0 4px 16px rgba(10, 42, 107, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.industry-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.1);
}

.industry-detail-media {
  position: relative;
  height: 168px;
  background-size: cover;
  background-position: center;
}

.industry-detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 22, 40, 0.55) 100%);
}

.industry-detail-icon {
  position: absolute;
  left: 1.15rem;
  bottom: 1.1rem;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  backdrop-filter: blur(6px);
}

.industry-detail-icon svg {
  width: 22px;
  height: 22px;
}

.industry-detail-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-detail-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.55rem;
}

.industry-detail-body > p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.industry-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
}

.industry-detail-body li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.industry-detail-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.industry-detail-body .service-link {
  margin-top: auto;
}

@media (max-width: 575.98px) {
  .about-metrics-bar {
    grid-template-columns: 1fr;
  }

  .about-metric:not(:last-child)::after {
    display: none;
  }

  .about-metric:nth-child(-n + 2) {
    border-bottom: 1px solid #e3e9f0;
  }

  .about-metric:nth-child(3) {
    border-bottom: 1px solid #e3e9f0;
  }

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

  .founder-quote {
    font-size: 1.3rem;
  }
}

/* ========== CHATBOT ========== */
#ntChatRoot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  font-family: var(--font);
}

.nt-chat-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(145deg, #00c853, #0057d9);
  color: #fff;
  font-size: 1.45rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 87, 217, 0.35);
  cursor: pointer;
  position: relative;
}

.nt-chat-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 83, 0.45);
  animation: nt-pulse 2s ease-out infinite;
}

.nt-chat-fab.is-open {
  background: var(--blue-dark);
}

@keyframes nt-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.nt-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 28px));
  height: 480px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(10, 42, 107, 0.22);
  border: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nt-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #0a1628, #12305f);
  color: #fff;
}

.nt-chat-head-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nt-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.2);
  color: #7dffa8;
  display: grid;
  place-items: center;
}

.nt-chat-head strong {
  display: block;
  font-size: 0.92rem;
}

.nt-chat-head small {
  font-size: 0.72rem;
  opacity: 0.75;
}

.nt-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
}

.nt-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  background: #f7faff;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nt-msg {
  max-width: 88%;
}

.nt-msg p {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.nt-msg a {
  color: var(--blue) !important;
  font-weight: 600;
}

.nt-msg-bot p {
  background: #fff;
  color: var(--text);
  border: 1px solid #e8eef5;
  border-bottom-left-radius: 4px;
}

.nt-msg-user {
  align-self: flex-end;
}

.nt-msg-user p {
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.nt-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem 0.15rem;
  background: #fff;
}

.nt-chip {
  border: 1px solid #d6e3f7;
  background: #edf3ff;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.nt-chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.85rem;
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.nt-chat-form input {
  flex: 1;
  border: 1px solid #d6e3f7;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  outline: none;
}

.nt-chat-form input:focus {
  border-color: var(--blue);
}

.nt-chat-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--green-bright);
  color: #fff;
  display: grid;
  place-items: center;
}

@media (max-width: 575.98px) {
  #ntChatRoot {
    right: 14px;
    bottom: 14px;
  }

  .nt-chat-panel {
    height: min(70vh, 520px);
  }
}

/* ========== DETAIL PAGES ========== */
.detail-hero {
  padding: 2.5rem 0 2.75rem;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 249, 255, 0.94) 50%, rgba(232, 242, 255, 0.88) 100%),
    url("../images/hero-global.png") right center / cover no-repeat;
  border-bottom: 1px solid #e8eef5;
}

.detail-hero-industry {
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 42, 107, 0.85) 100%),
    url("../images/hero-visual.png") center / cover no-repeat;
}

.detail-hero-industry .hero-eyebrow,
.detail-hero-industry .detail-back,
.detail-hero-industry .detail-hero-title,
.detail-hero-industry .detail-hero-lead {
  color: #fff;
}

.detail-hero-industry .detail-back {
  opacity: 0.85;
}

.detail-hero-industry .detail-back:hover {
  opacity: 1;
  color: var(--green-bright);
}

.detail-hero-industry .btn-outline-blue {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.detail-hero-industry .btn-outline-blue:hover {
  background: #fff;
  color: var(--blue-dark) !important;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue) !important;
  margin-bottom: 0.75rem;
}

.detail-back:hover {
  color: var(--blue-dark) !important;
}

.detail-hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 0.65rem;
  max-width: 680px;
}

.detail-hero-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.1rem;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.detail-hero-tags {
  margin-bottom: 0.65rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.75rem;
  margin-top: 1.15rem;
}

.detail-meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8794;
  margin-bottom: 0.25rem;
}

.detail-meta strong {
  font-size: 0.95rem;
  color: var(--blue-dark);
  font-weight: 700;
}

.detail-media-band {
  position: relative;
  z-index: 3;
  padding: 0 clamp(0.85rem, 3.5vw, 2rem);
  margin-top: -1.75rem;
  margin-bottom: 0.25rem;
}

.detail-media-band .container {
  max-width: 1180px;
  padding-left: 0;
  padding-right: 0;
}

.detail-media {
  position: relative;
  height: clamp(220px, 32vw, 380px);
  border-radius: 14px;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  box-shadow:
    0 12px 32px rgba(10, 42, 107, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  overflow: hidden;
  isolation: isolate;
}

.detail-media-tall {
  height: clamp(250px, 36vw, 420px);
  background-position: center 22%;
}

.detail-media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.08) 0%, transparent 38%, rgba(6, 20, 40, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 87, 217, 0.18) 0%, transparent 42%);
  z-index: 1;
}

.detail-hero-industry + .detail-media-band .detail-media-overlay {
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.2) 0%, transparent 40%, rgba(6, 20, 40, 0.6) 100%),
    linear-gradient(90deg, rgba(0, 200, 83, 0.12) 0%, transparent 45%);
}

.detail-media-icon {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(10, 42, 107, 0.2);
  backdrop-filter: blur(6px);
}

.detail-body-section {
  padding: 2rem 0 3rem;
}

.detail-body-section .row.g-5 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.detail-body-section .detail-h2.mt-5 {
  margin-top: 1.75rem !important;
}

.detail-h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.detail-copy {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.detail-feature {
  height: 100%;
  padding: 1.15rem 1.1rem;
  border-top: 2px solid var(--blue);
  background: #f7faff;
}

.detail-feature h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.detail-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.detail-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  background: #fff;
}

.detail-step-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-bright);
}

.detail-step p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.detail-aside {
  background: #f5f8fc;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 1.25rem 1.15rem;
}

.detail-aside h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.85rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
}

.detail-list-lg li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d6e3f7;
  color: var(--blue-dark) !important;
  font-size: 0.8rem;
  font-weight: 600;
}

a.detail-chip:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

@media (max-width: 991.98px) {
  .detail-hero {
    padding: 2.15rem 0 2.35rem;
  }

  .detail-media-band {
    margin-top: -1.35rem;
    padding: 0 1rem;
  }

  .detail-media,
  .detail-media-tall {
    height: clamp(200px, 42vw, 280px);
    border-radius: 12px;
  }

  .detail-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .detail-hero {
    padding: 1.85rem 0 2.1rem;
  }

  .detail-media-band {
    margin-top: -1.1rem;
    padding: 0 0.75rem;
  }

  .detail-media-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    left: 1rem;
    bottom: 1rem;
  }

  .detail-meta {
    gap: 1rem 1.25rem;
  }
}

/* CMS rich text from admin editor */
.cms-rich h2,
.cms-rich h3 { margin: 1rem 0 0.5rem; }
.cms-rich p { margin: 0 0 0.85rem; }
.cms-rich ul,
.cms-rich ol { margin: 0 0 0.85rem; padding-left: 1.25rem; }
.cms-rich a { color: #0057d9; text-decoration: underline; }
.cms-rich p:last-child,
.cms-rich ul:last-child,
.cms-rich ol:last-child { margin-bottom: 0; }
.hero-subtitle.cms-rich p { margin: 0; }
