/* NDVPL custom overrides — loaded after main-BL-C0xJq.css */

/* ── Label pill: never stretch inside flex columns ────────── */
.label {
  align-self: flex-start;
}

/* ── Prevent any element from causing a horizontal scrollbar on mobile ── */
html, body {
  overflow-x: clip; /* clip ≠ hidden: does not create a scroll container, so position:sticky children work */
  max-width: 100%;
}

/* ── Swiper: force overflow containment so slides don't bleed outside on mobile ── */
.swiper {
  overflow: hidden !important;
}
.swiper-wrapper {
  width: 100% !important;
  box-sizing: content-box;
}

/* ── Hero scale-bloom + fade slider ────────────────────────── */

/*
 * 4 slides × 5 s each = 20 s total cycle.
 * Enter: bloom in — scale 1.08 → 1.00 + fade in   (0 → 10%)
 * Hold:  fully visible at normal scale              (10 → 22%)
 * Exit:  fade out, scale stays at 1.00             (22 → 30%)
 * Hidden for the rest of the cycle                 (30 → 100%)
 */
@keyframes hero-bloom {
  0%   { opacity: 0; transform: scale(1.08); }
  10%  { opacity: 1; transform: scale(1.00); }
  22%  { opacity: 1; transform: scale(1.00); }
  30%  { opacity: 0; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(1.00); }
}

.hero-slider {
  position: fixed;
  inset: 0;
  z-index: -20;
  overflow: hidden;
}

/* Dark gradient overlay so hero text is always legible */
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 18, 35, 0.72) 0%, rgba(10, 18, 35, 0.10) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(10, 18, 35, 0.35) 0%, rgba(10, 18, 35, 0.10) 40%, transparent 70%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  animation: hero-bloom 20s ease-in-out infinite;
  will-change: opacity, transform;
}

/* Stagger each slide by 5 s */
.hero-slide:nth-child(1) { animation-delay:  0s; }
.hero-slide:nth-child(2) { animation-delay:  5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; transform: none; }
  .hero-slide:not(:first-child) { display: none; }
}

/* ── Team page ─────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Chairman — full-width featured horizontal card */
.team-card-featured {
  width: 100%;
}

/* Mobile: stack photo above content */
.team-featured-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.team-featured-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f1f3f5;
}

.team-featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-featured-bio {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-top: -4px;
}

/* Desktop: photo left, content right — explicit grid columns */
@media (min-width: 768px) {
  .team-featured-inner {
    grid-template-columns: 320px 1fr;
  }

  .team-featured-photo {
    height: 100%;
    min-height: 340px;
  }
}

.team-card {
  position: relative;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
  box-shadow: 0 16px 48px rgba(28,53,87,0.12);
  transform: translateY(-4px);
}

/* Tier accent bar */
.team-card-tier-bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

.tier-chairman .team-card-tier-bar { background: linear-gradient(90deg, #e8540a, #ff8c42); }
.tier-director .team-card-tier-bar { background: linear-gradient(90deg, #1c3557, #0c65de); }
.tier-senior   .team-card-tier-bar { background: linear-gradient(90deg, #0c65de, #38a3f5); }
.tier-associate .team-card-tier-bar { background: linear-gradient(90deg, #6b7280, #9ca3af); }

.team-card-photo {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f1f3f5;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c3557;
  line-height: 1.25;
}

.team-card-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: #e8540a;
  line-height: 1.4;
  margin-top: -6px;
}

.team-card-divider {
  height: 1px;
  background: #e4e8ef;
}

.team-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card-meta-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.team-card-meta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  width: 64px;
  flex-shrink: 0;
  padding-top: 2px;
}

.team-card-meta-value {
  font-size: 0.78rem;
  color: #374151;
  line-height: 1.5;
}

/* Experience badge */
.team-card-exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f4ff;
  color: #1c3557;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
}

/* Tier section heading */
.team-tier-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e8ef;
  margin-bottom: 0;
}

@media (max-width: 639px) {
  .team-card-chairman {
    grid-template-columns: 1fr;
  }
}

/* ── Timeline section ─────────────────────────────────────── */
.tl-section {
  background: #0d1f35;
  padding: 100px 20px;
  overflow: hidden;
}

.tl-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tl-label {
  display: inline-block;
  background: #e8540a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
}

.tl-heading {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 560px;
}

/* Central spine track */
.tl-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.tl-spine-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.tl-spine-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #e8540a 0%, #1c7ed6 100%);
  border-radius: 2px;
  transition: height 0.1s linear;
}

/* Row: one milestone */
.tl-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0 calc(50% + 36px) 64px 0;
}

.tl-right {
  justify-content: flex-start;
  padding: 0 0 64px calc(50% + 36px);
}

/* The dot on the spine — hidden until its row scrolls into view (.is-visible) */
.tl-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #0d1f35;
  box-shadow: 0 0 0 3px rgba(232,84,10,0.3);
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition: opacity 0.4s ease 0.2s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.tl-row.is-visible .tl-dot {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Card — hidden/offset until its row scrolls into view (.is-visible) */
.tl-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 340px;
  width: 100%;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  perspective: 800px;
  opacity: 0;
  transform: translateX(-60px) translateY(20px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-right .tl-card {
  transform: translateX(60px) translateY(20px);
}
.tl-row.is-visible .tl-card {
  opacity: 1;
  transform: translateX(0) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .tl-card, .tl-dot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.tl-card:hover {
  border-color: var(--accent, #e8540a);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--accent, #e8540a);
}

.tl-card-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent, #e8540a);
  border-radius: 16px 0 0 16px;
}

.tl-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.tl-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #e8540a);
  border: 1px solid var(--accent, #e8540a);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  margin-top: 8px;
}

.tl-card-year {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent, #e8540a);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.9;
}

.tl-card-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.tl-card-body {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .tl-spine-track {
    left: 20px;
    transform: none;
  }

  .tl-dot {
    left: 20px;
    transform: translateX(-50%);
  }

  .tl-row,
  .tl-right {
    justify-content: flex-start;
    padding: 0 0 48px 52px;
  }

  .tl-card {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tl-section {
    padding: 80px 40px;
  }
  .tl-card {
    max-width: 280px;
  }
}

/* ── Logo lockup: icon + text ────────────────────────────── */
.ndvpl-logo-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ndvpl-logo-icon {
  height: 60px;
  width: 60px;
  flex-shrink: 0;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.ndvpl-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ndvpl-logo-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ndvpl-logo-tagline {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Dark header (transparent over hero — no .is-white yet) */
.header:not(.is-white) .ndvpl-logo-white { display: block; }
.header:not(.is-white) .ndvpl-logo-color { display: none; }

.header:not(.is-white) .ndvpl-logo-name,
.header:not(.is-white) .ndvpl-logo-tagline {
  color: #ffffff;
}

/* Frosted-glass blur bubble behind logo — dark hero state only.
   Creates a pill-shaped soft backdrop so the logo reads clearly
   over any hero image. Removed automatically in sticky/white state. */
.header:not(.is-white) .ndvpl-logo-link {
  position: relative;
  isolation: isolate; /* keep ::before behind content, not the whole header */
}

.header:not(.is-white) .ndvpl-logo-link::before {
  content: '';
  position: absolute;
  /* expand top/bottom so pill height matches the nav pill (logo=40px, nav=48px → +4px each side) */
  inset: -4px -24px -4px -18px;
  /* match nav pill exactly: 30% white glass + same blur + same outline */
  background: rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  outline: 1px solid rgba(255, 255, 255, 0.30);
  outline-offset: -1px;
  z-index: -1;
  transition: opacity 0.4s ease;
}

/* Ensure tagline is fully white (not dimmed by opacity) */
.header:not(.is-white) .ndvpl-logo-tagline {
  opacity: 1;
  color: rgba(255, 255, 255, 0.88);
}

/* White header (always white, or after scroll) */
.header.is-white .ndvpl-logo-white { display: none; }
.header.is-white .ndvpl-logo-color { display: block; }

.header.is-white .ndvpl-logo-name {
  color: #1c1c1c;
}

.header.is-white .ndvpl-logo-tagline {
  color: #555555;
}

/* Footer logo */
footer .ndvpl-logo-icon {
  height: 90px;
  width: 90px;
}

footer .ndvpl-logo-name {
  font-size: 1.8rem;
}

footer .ndvpl-logo-tagline {
  font-size: 0.9rem;
}

footer .ndvpl-logo-link {
  gap: 14px;
}

/* Story section — overlapping two-image layout */
.story-images {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 340px; /* mobile fixed height */
}

.story-img-primary,
.story-img-secondary {
  display: block;
  position: absolute;
  overflow: hidden;
}

/* primary: top-left */
.story-img-primary {
  top: 0;
  left: 0;
  right: 22%;
  bottom: 28%;
}

/* secondary: bottom-right, overlaps primary */
.story-img-secondary {
  top: 28%;
  left: 22%;
  right: 0;
  bottom: 0;
  outline: 6px solid #fff;
}

@media (min-width: 1024px) {
  .story-row {
    align-items: stretch; /* stretch both columns to equal height */
    gap: 4rem;
  }

  .story-images {
    width: 46%;
    height: auto;        /* driven by flexbox stretch */
    min-height: 540px;
  }
}

/* mobile: ensure images fill their containers */
.story-img-primary img,
.story-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Services mega-menu ────────────────────────────────────── */

/*
 * position:static removes <li> as the containing block so the mega-menu
 * positions relative to <header> (position:absolute), giving full width.
 * overflow:visible overrides the template's overflow:hidden on nav li.
 */
.nav-services-item {
  position: static !important;
  overflow: visible !important;
}

.nav-services-item > a {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.nav-services-caret {
  font-size: 0.7em;
  transition: transform 0.22s ease;
}

.nav-services-item:hover .nav-services-caret,
.nav-services-item:focus-within .nav-services-caret {
  transform: rotate(180deg);
}

/* Full-width panel pinned to header bottom edge */
.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  /* frosted glass matching the nav pill */
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 60px rgba(28, 53, 87, 0.15), 0 4px 16px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 500;
}

/* Bridge gap so mouse moving down to panel doesn't dismiss */
.nav-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-mega-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Sticky / white-header: solid white panel + suppress orange hover on the trigger */
.header.is-white .nav-mega-dropdown {
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-top-color: #eef1f6;
}

/* Keep trigger text grey (same as other links) while mega-menu is open in sticky mode */
.header.is-white #nav-services-li:hover > a,
.header.is-white #nav-services-li:focus-within > a {
  color: var(--color-base-grey, #616161) !important;
}

/* Inner 3-column layout */
.nav-mega-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 80px;
}

.nav-mega-col {
  flex: 1;
  padding-right: 48px;
  margin-right: 48px;
  border-right: 1px solid #eef1f6;
}

.nav-mega-col-last {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

/* Section heading */
.nav-mega-heading {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f6;
}

/* Link list */
.nav-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mega-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  color: #1c3557;
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease;
  line-height: 1.3;
}

.nav-mega-list a:hover {
  background: #f4f7ff;
  color: #e8540a;
}

/* Small icon per row */
.nav-mega-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #1c3557;
  flex-shrink: 0;
  transition: background 0.16s, color 0.16s;
}

.nav-mega-list a:hover .nav-mega-icon {
  background: #e8540a;
  color: #fff;
}

/* ── What We Do mobile accordion ─────────────────────────────── */
/* Force mobile nav wrapper above the dark backdrop overlay */
.header-mobile .header-mobile-wrapper {
  position: relative;
  z-index: 1;
}

.nav-mobile-services-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding-block: calc(0.25rem * 2);
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 400;
  color: #1c3557 !important; /* !important wins over any inherited header dark-mode white */
  font-family: inherit;
  line-height: 1.5;
  letter-spacing: inherit;
  text-transform: none;
}

.nav-mobile-caret {
  transition: transform 0.22s ease;
}

/* Accordion panel — contains multiple labelled groups */
.nav-mobile-submenu {
  padding: 8px 0 8px 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Section label inside accordion */
.nav-mobile-group-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 14px 0 6px;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 4px;
}

.nav-mobile-group-label:first-child {
  padding-top: 4px;
}

.nav-mobile-group-list {
  list-style: none;
  padding: 0 0 4px 12px;
  margin: 0;
  border-left: 2px solid #e8540a;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-mobile-group-list li a {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.nav-mobile-group-list li a:hover {
  color: #1c3557;
  background: #f0f5ff;
}

/* Mobile nav logo */
.header-mobile .ndvpl-logo-icon {
  height: 40px;
  width: 40px;
}

.header-mobile .ndvpl-logo-name {
  color: #1c1c1c;
}

.header-mobile .ndvpl-logo-tagline {
  color: #555555;
}

/* ── Cursor-following image preview ─────────────────────────── */
.proj-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 230px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,18,35,0.25);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.proj-preview.visible { opacity: 1; }

.proj-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Never show on touch devices */
@media (hover: none) {
  .proj-preview { display: none; }
}

/* ── Project Detail Drawer ──────────────────────────────────── */
.ndvpl-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ndvpl-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.ndvpl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 35, 0.55);
  cursor: pointer;
}

.ndvpl-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  height: 100%;
  background: #ffffff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.ndvpl-modal.active .ndvpl-modal-panel {
  transform: translateX(0);
}

.ndvpl-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1c3557;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.ndvpl-modal-close:hover {
  background: #e8540a;
  color: #ffffff;
  border-color: #e8540a;
}

.ndvpl-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ndvpl-modal-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.ndvpl-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ndvpl-modal-content {
  padding: 36px 40px 52px;
  flex: 1;
}

/* Meta key-value grid */
.ndvpl-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #e4e8ef;
  border-left: 1px solid #e4e8ef;
}

.ndvpl-modal-meta-row {
  padding: 14px 16px;
  border-right: 1px solid #e4e8ef;
  border-bottom: 1px solid #e4e8ef;
}

.ndvpl-modal-meta-row dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 4px;
}

.ndvpl-modal-meta-row dd {
  font-size: 0.88rem;
  color: #1c3557;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* Scope spans full width */
.ndvpl-modal-meta-row:last-child {
  grid-column: 1 / -1;
}

/* Mobile: full-width panel */
@media (max-width: 640px) {
  .ndvpl-modal-panel {
    max-width: 100%;
  }

  .ndvpl-modal-content {
    padding: 24px 20px 40px;
  }

  .ndvpl-modal-meta {
    grid-template-columns: 1fr;
  }

  .ndvpl-modal-meta-row:last-child {
    grid-column: 1;
  }
}

/* ── Why NDVPL (Values) section ────────────────────────────────────── */

/*
 * The compiled template's .wrapper class has overflow:hidden, which creates a
 * scroll container and breaks position:sticky on descendants.
 * overflow:clip clips visually without becoming a scroll container.
 */
#values-section > .wrapper {
  overflow: clip;
}

/* Two-column layout: left scrolls, right sticks */
.values-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .values-layout {
    flex-direction: row;
    gap: 5rem;
    align-items: stretch; /* right column must match left column height for sticky to travel */
  }
}

.values-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Outer column — stretches to full height of the left column */
.values-right {
  display: none;
  width: 360px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .values-right { display: block; }
}

/* Inner panel — sticky; JS drives `top` from 60px → near viewport bottom */
.values-right-inner {
  position: sticky;
  top: 60px; /* overridden by JS scroll handler */
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  will-change: top;
}

/* Stats 2×2 bordered grid */
.values-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #e2e8f0;
  gap: 1px;
  background-color: #e2e8f0;
}
.values-stat {
  background: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.values-stat-num {
  color: var(--color-primary-orange, #fb4d17);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.values-stat-num sup {
  font-size: 1.4rem;
}
.values-stat-label {
  color: #1c3557;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Numbered items 2-col grid */
.values-items {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0;
}
@media (min-width: 600px) {
  .values-items {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}
.values-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.values-item-num {
  color: var(--color-primary-orange, #fb4d17);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.values-item-title {
  color: #1c3557;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.values-item-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile image strip */
.values-mobile-imgs {
  display: flex;
  gap: 0.75rem;
  height: 180px;
}
@media (min-width: 1024px) {
  .values-mobile-imgs { display: none; }
}
.values-mobile-img-main {
  flex: 1;
  overflow: hidden;
}
.values-mobile-img-main img,
.values-mobile-img-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.values-mobile-img-stack {
  width: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.values-mobile-img-stack > div {
  flex: 1;
  overflow: hidden;
}

/* Items 07–12: hidden on mobile, shown on desktop */
.values-item--extra {
  display: none;
}
@media (min-width: 1024px) {
  .values-item--extra { display: flex; }
}

/* Mobile CTA button — centered below the 6 visible items */
.values-mobile-cta {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
@media (min-width: 1024px) {
  .values-mobile-cta { display: none; }
}

/* About page: 3-column grid at desktop (no sidebar stealing width) */
@media (min-width: 1024px) {
  .values-items--about {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop right-panel image hover zoom */
.values-img-wrap {
  overflow: hidden;
}
.values-img-wrap img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.values-img-wrap:hover img {
  transform: scale(1.05);
}

/* ── Careers page ───────────────────────────────────────────── */

.careers-tinted-section {
  background: #f8f9fb;
}

/* Open Positions — 3-col card grid */
.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 768px) {
  .careers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .careers-grid { grid-template-columns: repeat(3, 1fr); }
}

.careers-card {
  border: 1px solid #e4e8ef;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.careers-card:hover {
  box-shadow: 0 16px 48px rgba(28, 53, 87, 0.10);
  border-color: #c5cde0;
}
.careers-card--highlight {
  border-color: var(--color-primary-orange, #fb4d17);
  background: #fff9f7;
}
.careers-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #1c3557;
  flex-shrink: 0;
}
.careers-card--highlight .careers-card-icon {
  background: #fff0eb;
  color: var(--color-primary-orange, #fb4d17);
}
.careers-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.careers-card-dept {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-primary-orange, #fb4d17);
}
.careers-card-title {
  color: #1c3557;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
.careers-card-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.careers-card-reqs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.careers-card-reqs li {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.careers-card-reqs li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1c3557;
  font-size: 0.75rem;
  top: 1px;
}
.careers-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1c3557;
  text-decoration: none;
  padding-top: 1rem;
  border-top: 1px solid #e4e8ef;
  margin-top: auto;
  transition: color 0.2s ease, gap 0.2s ease;
}
.careers-card-cta:hover {
  color: var(--color-primary-orange, #fb4d17);
  gap: 14px;
}

/* Two-column split (Internships / Training) */
.careers-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .careers-split {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
  .careers-split--reverse {
    flex-direction: row-reverse;
  }
}
.careers-split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* .careers-split-content > .label — now handled by global .label rule above */
.careers-split-img {
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 1024px) {
  .careers-split-img { width: 440px; }
}
.careers-split-img img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Feature list (icon + label + text) */
.careers-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.careers-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e4e8ef;
}
.careers-feature-list li:first-child {
  border-top: 1px solid #e4e8ef;
}
.careers-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #1c3557;
  flex-shrink: 0;
}
.careers-feature-list strong {
  display: block;
  color: #1c3557;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.careers-feature-list p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Training stats row */
.careers-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}
.careers-stat {
  background: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.careers-stat-num {
  color: var(--color-primary-orange, #fb4d17);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.careers-stat-label {
  color: #1c3557;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Checklist with orange ticks */
.careers-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.careers-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.6;
}
.careers-checklist li::before {
  content: '✓';
  color: var(--color-primary-orange, #fb4d17);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Workshops grid (dark bg) */
.workshops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .workshops-grid { grid-template-columns: repeat(3, 1fr); }
}
.workshop-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.workshop-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}
.workshop-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(251, 77, 23, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary-orange, #fb4d17);
  flex-shrink: 0;
}
.workshop-card-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.workshop-card-desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.workshop-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.workshop-card-list li {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.workshop-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-primary-orange, #fb4d17);
  font-size: 0.7rem;
}

/* Workshop contact CTA bar */
.careers-workshop-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 768px) {
  .careers-workshop-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Workshop section on white/tinted background ─────────── */
#workshops .workshop-card {
  background: #fff;
  border-color: #e4e8ef;
}
#workshops .workshop-card:hover {
  background: #f5f7fa;
  border-color: #c9d2e0;
}
#workshops .workshop-card-title { color: #1c3557; }
#workshops .workshop-card-desc  { color: #616161; }
#workshops .workshop-card-list li { color: #8a93a2; }
#workshops .workshop-card-list { border-top-color: #e4e8ef; }
#workshops .careers-workshop-cta {
  border-color: #e4e8ef;
  background: #fff;
}

/* ── Training section: single image fills content height ─── */
@media (min-width: 1024px) {
  .careers-split-img--fill {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .careers-split-img--fill picture {
    flex: 1;
    display: flex;
  }
  .careers-split-img--fill picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ── Careers dropdown (desktop) ──────────────────────────── */
.nav-careers-item,
.nav-about-item {
  position: relative !important;
  overflow: visible !important;
}
.nav-careers-item > a,
.nav-about-item > a {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}
.nav-careers-dropdown,
.nav-about-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(28, 53, 87, 0.14), 0 4px 12px rgba(0,0,0,0.06);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 500;
}
.nav-careers-dropdown::before,
.nav-about-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-careers-dropdown.open,
.nav-about-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Link rows — same colours as .nav-mega-list a; !important wins over dark-header white */
.nav-careers-dropdown a,
.nav-about-dropdown a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  color: #1c3557 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  transition: background 0.16s ease, color 0.16s ease !important;
  background: transparent !important;
}
.nav-careers-dropdown a:hover,
.nav-about-dropdown a:hover {
  background: #f4f7ff !important;
  color: #e8540a !important;
}
/* Icon inside these rows reuses .nav-mega-icon — just wire up the hover state */
.nav-careers-dropdown a:hover .nav-mega-icon,
.nav-about-dropdown a:hover .nav-mega-icon {
  background: #e8540a;
  color: #fff;
}

/* ── button reset for careers-card-cta ──────────────────── */
button.careers-card-cta {
  background: transparent;
  border: none;
  border-top: 1px solid #e4e8ef;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

/* ── Careers modal overlay ───────────────────────────────── */
.careers-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 18, 35, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.careers-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ── Modal panel ─────────────────────────────────────────── */
.careers-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(10, 18, 35, 0.24);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.careers-modal-overlay.open .careers-modal {
  transform: translateY(0);
}

/* Custom scrollbar inside modal */
.careers-modal::-webkit-scrollbar { width: 5px; }
.careers-modal::-webkit-scrollbar-track { background: transparent; }
.careers-modal::-webkit-scrollbar-thumb { background: #d1d9e6; border-radius: 99px; }

/* ── Modal header ─────────────────────────────────────────── */
.careers-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding: 24px 24px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #eef1f6;
}
.careers-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c3557;
  line-height: 1.3;
  margin: 0;
}
.careers-modal-subtitle {
  font-size: 0.82rem;
  color: #8a93a2;
  margin-top: 4px;
  line-height: 1.5;
}
.careers-modal-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e4e8ef;
  background: #f8f9fb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #616161;
  transition: background 0.15s, color 0.15s;
}
.careers-modal-close:hover {
  background: #1c3557;
  color: #fff;
  border-color: #1c3557;
}

/* ── Modal form body ─────────────────────────────────────── */
.careers-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Form fields ─────────────────────────────────────────── */
.careers-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .careers-form-row { grid-template-columns: 1fr; }
}
.careers-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.careers-form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1c3557;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.careers-form-field input,
.careers-form-field select,
.careers-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e4e8ef;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #1c3557;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.careers-form-field input::placeholder,
.careers-form-field textarea::placeholder {
  color: #b0b8c4;
}
.careers-form-field input:focus,
.careers-form-field select:focus,
.careers-form-field textarea:focus {
  border-color: #1c3557;
  box-shadow: 0 0 0 3px rgba(28, 53, 87, 0.08);
}
.careers-form-field textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.6;
}
.careers-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath fill='%231c3557' d='m213.66 101.66-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 53.66 90.34L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}
.careers-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}
.careers-form-note {
  font-size: 0.75rem;
  color: #b0b8c4;
  text-align: center;
  line-height: 1.5;
}
.careers-form-error {
  font-size: 0.82rem;
  color: #d92d20;
  background: #fdeceb;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
}
.careers-form-error[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL PAGE — OVERVIEW SECTION
   ═══════════════════════════════════════════════════════════ */
.svc-detail-ov {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .svc-detail-ov {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .svc-detail-ov--reverse .svc-detail-ov-visual {
    order: -1;
  }
}
.svc-detail-ov-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.svc-detail-ov-heading {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 600;
  color: #1c3557;
  line-height: 1.2;
  margin: 0;
}
.svc-detail-ov-lead {
  font-size: 1.05rem;
  color: #3a4a5c;
  line-height: 1.75;
  margin: 0;
}
.svc-detail-ov-body {
  font-size: 0.93rem;
  color: #616161;
  line-height: 1.75;
  margin: 0;
}
.svc-detail-ov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.25rem;
}
.svc-detail-ov-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  background: #eef3fb;
  border: 1px solid #d6e0f0;
  border-radius: 100px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #1c3557;
  white-space: nowrap;
}
.svc-detail-ov-chip i {
  font-size: 0.88rem;
  color: #fb4d17;
}
.svc-detail-ov-visual {
  position: relative;
}
.svc-detail-ov-img {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 64px rgba(28,53,87,0.13);
}
.svc-detail-ov-img picture,
.svc-detail-ov-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-detail-ov-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  box-shadow: 0 8px 28px rgba(28,53,87,0.18);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.svc-detail-ov-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(251,77,23,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fb4d17;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.svc-detail-ov-badge-label {
  font-size: 0.64rem;
  color: #8a93a2;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
}
.svc-detail-ov-badge-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c3557;
  display: block;
  white-space: nowrap;
}
@media (max-width: 1023px) {
  .svc-detail-ov-img { aspect-ratio: 16 / 9; }
  .svc-detail-ov-badge { bottom: 0.75rem; left: 0.75rem; padding: 0.5rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGES
   ═══════════════════════════════════════════════════════════ */

/* Services overview — 2-col card grid */
.svc-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .svc-overview-grid { grid-template-columns: repeat(2, 1fr); }
}

.svc-card {
  background: #fff;
  border: 1.5px solid #e4e8ef;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.svc-card:hover {
  border-color: #c0cad8;
  box-shadow: 0 12px 40px rgba(28,53,87,0.08);
}
.svc-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(28,53,87,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #1c3557;
  flex-shrink: 0;
}
.svc-card-body { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.svc-card-title { font-size: 1.2rem; font-weight: 700; color: #1c3557; line-height: 1.3; margin: 0; }
.svc-card-desc { font-size: 0.9rem; color: #616161; line-height: 1.7; margin: 0; flex: 1; }

.svc-card-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc-card-chips li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1c3557;
  background: rgba(28,53,87,0.07);
  border-radius: 999px;
  padding: 3px 10px;
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1c3557;
  text-decoration: none;
  padding-top: 1rem;
  border-top: 1px solid #e4e8ef;
  margin-top: auto;
  transition: color 0.18s, gap 0.18s;
}
.svc-card-link:hover { color: var(--color-primary-orange, #fb4d17); gap: 10px; }

/* Breadcrumb */
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #8a93a2;
}
.svc-breadcrumb a { color: #8a93a2; text-decoration: none; transition: color 0.15s; }
.svc-breadcrumb a:hover { color: #1c3557; }
.svc-breadcrumb i { font-size: 0.7rem; }
.svc-breadcrumb span { color: #1c3557; font-weight: 500; }

/* Service detail — features grid */
.svc-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .svc-features-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-feature-item {
  background: #f8f9fb;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-feature-item:hover {
  border-color: #d0d8e8;
  box-shadow: 0 8px 24px rgba(28,53,87,0.07);
}
.svc-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(251,77,23,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary-orange, #fb4d17);
  flex-shrink: 0;
}
.svc-feature-title { font-size: 0.95rem; font-weight: 700; color: #1c3557; margin: 0; line-height: 1.3; }
.svc-feature-desc  { font-size: 0.85rem; color: #616161; line-height: 1.7; margin: 0; }

/* Service detail — process steps (horizontal flow) */
.svc-hprocess {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-hprocess-line {
  position: absolute;
  top: 68px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #fb4d17 0%, #1c3557 100%);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
  z-index: 0;
}
.svc-hprocess.in-view .svc-hprocess-line {
  transform: scaleX(1);
}
.svc-hprocess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}
.svc-hprocess-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fb4d17;
  height: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.svc-hprocess-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #1c3557;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(28,53,87,0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 2;
}
.svc-hprocess-step:hover .svc-hprocess-box {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28,53,87,0.3);
  background: #fb4d17;
}
.svc-hprocess-info {
  text-align: center;
  margin-top: 1.25rem;
}
.svc-hprocess-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1c3557;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}
.svc-hprocess-desc {
  font-size: 0.78rem;
  color: #616161;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 767px) {
  .svc-hprocess {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .svc-hprocess-line { display: none; }
  .svc-hprocess-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
  }
  .svc-hprocess-num { display: none; }
  .svc-hprocess-box {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    flex-shrink: 0;
    border-radius: 12px;
  }
  .svc-hprocess-info { text-align: left; margin-top: 0; padding-top: 4px; }
}

/* ═══════════════════════════════════════════════════════════
   PROJECT TYPE PAGES
   ═══════════════════════════════════════════════════════════ */

/* Project type card grid */
.ptype-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .ptype-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ptype-grid { grid-template-columns: repeat(3, 1fr); }
}

.ptype-card {
  background: #fff;
  border: 1.5px solid #e4e8ef;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.ptype-card:hover {
  border-color: #c0cad8;
  box-shadow: 0 12px 40px rgba(28,53,87,0.09);
}
.ptype-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f3f7;
}
.ptype-card-img picture, .ptype-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ptype-card:hover .ptype-card-img img { transform: scale(1.04); }

.ptype-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.ptype-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-orange, #fb4d17);
}
.ptype-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1c3557;
  line-height: 1.3;
  margin: 0;
}
.ptype-card-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}
.ptype-card-desc {
  font-size: 0.82rem;
  color: #616161;
  line-height: 1.65;
  margin: 0;
  margin-top: 0.25rem;
}

/* Stat chips (for project type side panel) */
.svc-stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1c3557;
}
.svc-stat-chip i { color: var(--color-primary-orange, #fb4d17); font-size: 1rem; flex-shrink: 0; }

/* Empty state for project type pages */
.ptype-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 1rem;
}
.ptype-empty-icon {
  font-size: 3rem;
  color: #d1d9e6;
  margin-bottom: 1rem;
}

/* ── Projects page — horizontal marquee gallery (2 rows, opposite direction) ── */
.proj-marquee-section {
  background: #0a0a0a;
  overflow: hidden;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.proj-marquee-row {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.proj-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  will-change: transform;
  animation: proj-marquee-left 38s linear infinite;
}
.proj-marquee-row--reverse .proj-marquee-track {
  animation-name: proj-marquee-right;
  animation-duration: 44s;
}
.proj-marquee-section:hover .proj-marquee-track {
  animation-play-state: paused;
}
.proj-marquee-card {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.proj-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1024px) {
  .proj-marquee-card { width: 360px; }
}
@keyframes proj-marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes proj-marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .proj-marquee-track { animation: none; }
}
.proj-marquee-section--empty {
  padding: 3rem 1.25rem;
  text-align: center;
  color: #98989d;
}

/* ── Project gallery — click-to-expand lightbox ──────────────────────── */
.proj-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.proj-lightbox-overlay[hidden] { display: none; }
.proj-lightbox-figure {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.proj-lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}
.proj-lightbox-figure figcaption {
  color: #f2f2f2;
  font-size: 1rem;
  text-align: center;
}
.proj-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.proj-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ── News / Achievements / Blog hub ──────────────────────────────────── */

.news-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #1c3557;
}
.news-cat-news        { background: #1c3557; }
.news-cat-achievement { background: #e8540a; }
.news-cat-blog        { background: #2f9e6e; }

.news-meta-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* Filter bar */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid #e4e8ef;
  background: #fff;
  color: #616161;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.news-filter-btn i { font-size: 1.05rem; }
.news-filter-btn:hover { border-color: #1c3557; color: #1c3557; transform: translateY(-1px); }
.news-filter-btn.is-active {
  background: #1c3557;
  border-color: #1c3557;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28,53,87,0.25);
}
.news-filter-btn.is-active:hover { transform: none; }

/* Featured card */
.news-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #e4e8ef;
}
@media (min-width: 1024px) {
  .news-featured-card { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
}
.news-featured-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f3f7;
}
.news-featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.news-featured-card:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-img .news-cat-chip {
  position: absolute;
  top: 18px;
  left: 18px;
}
.news-featured-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 2rem;
  justify-content: center;
}
@media (min-width: 1024px) { .news-featured-body { padding: 3rem 3.25rem; } }
.news-featured-title {
  color: #1c3557;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.18s;
}
.news-featured-card:hover .news-featured-title { color: #e8540a; }
@media (min-width: 1024px) { .news-featured-title { font-size: 2.1rem; } }
.news-featured-excerpt {
  color: #616161;
  font-size: 1rem;
  line-height: 1.6;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 0.85rem;
}
.news-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8540a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
  transition: gap 0.18s;
}
.news-featured-card:hover .news-featured-cta { gap: 12px; }

/* Grid + cards */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e4e8ef;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.news-card:hover {
  border-color: #c0cad8;
  box-shadow: 0 16px 44px rgba(28,53,87,0.10);
  transform: translateY(-3px);
}
.news-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #f0f3f7;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-img .news-cat-chip {
  position: absolute;
  top: 14px;
  left: 14px;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.5rem 1.4rem;
  flex: 1;
}
.news-card-date { color: #9ca3af; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.news-card-title-link { text-decoration: none; }
.news-card-title {
  color: #1c3557;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s;
}
.news-card-title-link:hover .news-card-title { color: #e8540a; }
.news-card-excerpt {
  color: #616161;
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #f0f3f7;
}
.news-card-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f7ff;
  color: #1c3557;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.news-card:hover .news-card-read {
  background: #e8540a;
  color: #fff;
  transform: rotate(45deg);
}

/* ── Detail page ─────────────────────────────────────────────────── */
.news-detail-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 1024px) { .news-detail-hero { min-height: 640px; } }
.news-detail-hero-img {
  position: absolute;
  inset: 0;
  display: block;
}
.news-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-detail-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,25,0.05) 0%, rgba(10,15,25,0.45) 55%, rgba(10,15,25,0.88) 100%);
}
.news-detail-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .news-detail-hero-content { padding: 0 80px 72px; max-width: 920px; }
}
.news-detail-breadcrumb { font-size: 0.82rem; }
.news-detail-breadcrumb a,
.news-detail-breadcrumb span { color: rgba(255,255,255,0.78); }
.news-detail-breadcrumb a:hover { color: #fff; }
.news-detail-breadcrumb i { color: rgba(255,255,255,0.5); }
.news-detail-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.18;
}
@media (min-width: 1024px) { .news-detail-title { font-size: 3.25rem; } }
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.news-detail-meta .news-meta-dot { background: rgba(255,255,255,0.85); }

.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .news-detail-layout { grid-template-columns: 1fr 340px; gap: 4rem; }
}
.news-detail-lead {
  color: #1c3557;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.news-detail-para {
  color: #616161;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}
.news-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef1f6;
}
.news-detail-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f4f7ff;
  color: #1c3557;
  font-size: 0.82rem;
  font-weight: 500;
}
.news-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .news-detail-aside { position: sticky; top: 140px; align-self: start; }
}
.news-feature-box {
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 18px;
  padding: 1.75rem;
}
.news-feature-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef1f6;
}
.news-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1c3557;
  font-size: 0.92rem;
  line-height: 1.5;
}
.news-feature-item i {
  color: #e8540a;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Floating chatbot widget ──────────────────────────────── */
.chatbot-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.chatbot-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--color-primary-orange, #fb4d17);
  color: #fff;
  box-shadow: 0 8px 24px rgba(251, 77, 23, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(251, 77, 23, 0.45);
}
.chatbot-toggle-icon-open,
.chatbot-toggle-icon-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chatbot-toggle-icon-close {
  opacity: 0;
  transform: scale(0.5) rotate(-45deg);
}
.chatbot-toggle.is-open .chatbot-toggle-icon-open {
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
}
.chatbot-toggle.is-open .chatbot-toggle-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 360px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: var(--color-base-white, #fff);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(34, 46, 60, 0.25);
  overflow: hidden;
  animation: chatbot-pop 0.22s ease;
}
@keyframes chatbot-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-secondary-navy, #222e3c);
  color: #fff;
  flex-shrink: 0;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-header-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary-orange, #fb4d17);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.chatbot-header-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
.chatbot-header-subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-base-grey-stroke, #c8c8c8);
}
.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-base-white, #fff);
}

.chatbot-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chatbot-bubble-bot {
  align-self: flex-start;
  background: var(--color-base-white-background, #eee);
  color: var(--color-secondary-navy, #222e3c);
  border-bottom-left-radius: 4px;
}
.chatbot-bubble-user {
  align-self: flex-end;
  background: var(--color-primary-orange, #fb4d17);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}
.chatbot-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-base-grey, #616161);
  opacity: 0.5;
  animation: chatbot-bounce 1.1s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  max-width: 100%;
}
.chatbot-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-secondary-navy, #222e3c);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.15s ease;
}
.chatbot-link-btn:hover {
  background: var(--color-primary-orange, #fb4d17);
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  max-width: 100%;
}
.chatbot-chip {
  border: 1px solid var(--color-primary-orange, #fb4d17);
  background: var(--color-base-white, #fff);
  color: var(--color-primary-orange, #fb4d17);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.chatbot-chip:hover {
  background: var(--color-primary-orange, #fb4d17);
  color: #fff;
}

.chatbot-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--color-base-grey-stroke, #c8c8c8);
  flex-shrink: 0;
  background: var(--color-base-white, #fff);
}
.chatbot-input {
  flex: 1;
  border: 1px solid var(--color-base-grey-stroke, #c8c8c8);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  outline: none;
}
.chatbot-input:focus {
  border-color: var(--color-primary-orange, #fb4d17);
}
.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  background: var(--color-primary-orange, #fb4d17);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

/* Mobile: chatbot panel takes the full viewport so it stays usable on small screens */
@media (max-width: 640px) {
  .chatbot-root {
    right: 14px;
    bottom: 14px;
  }
  .chatbot-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
  }
}
