/* ===================================================================
   Polivate Technologies — Enterprise Design System
   Loaded after style.css. Re-declares Bootstrap's color custom
   properties to unify the brand around a single emerald primary
   (previously split between #215C5C and an untracked #1E8747),
   then layers new tokens + components for the enterprise rebuild.
=================================================================== */

:root,
[data-bs-theme="light"] {
  /* Brand */
  --bs-primary: #1E8747;
  --bs-primary-rgb: 30, 135, 71;
  --bs-primary-hover: #186D39;
  --bs-primary-hover-rgb: 24, 109, 57;
  --bs-secondary: #E4F3EC;
  --bs-secondary-rgb: 228, 243, 236;
  --bs-link-color: var(--bs-primary);

  /* Design tokens */
  --pv-emerald-900: #12512B;
  --pv-emerald-700: #1E8747;
  --pv-emerald-600: #26A959;
  --pv-emerald-100: #E4F3EC;
  --pv-emerald-50: #F3FAF7;

  --pv-slate-900: #0F1720;
  --pv-slate-800: #1B2532;
  --pv-slate-600: #434652;
  --pv-slate-400: #8894A3;
  --pv-slate-200: #E2E7EC;
  --pv-slate-100: #F2F4F7;
  --pv-white: #FFFFFF;

  /* Accent: restrained highlight, not a fill color — focus rings, chips, ambient glow */
  --pv-silver: #E6E666;
  --pv-silver-600: #7E7E38;
  --pv-silver-100: #FDFDF0;

  --pv-space-1: 4px;
  --pv-space-2: 8px;
  --pv-space-3: 16px;
  --pv-space-4: 24px;
  --pv-space-5: 32px;
  --pv-space-6: 48px;
  --pv-space-7: 64px;
  --pv-space-8: 96px;

  --pv-radius-sm: 8px;
  --pv-radius-md: 14px;
  --pv-radius-lg: 20px;

  --pv-shadow-sm: 0 1px 2px rgba(15, 23, 32, 0.06), 0 1px 3px rgba(15, 23, 32, 0.08);
  --pv-shadow-md: 0 8px 24px rgba(15, 23, 32, 0.08);
  --pv-shadow-lg: 0 24px 48px rgba(15, 23, 32, 0.12);

  --pv-fs-display: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);
  --pv-fs-h1: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem);
  --pv-fs-h2: clamp(1.6rem, 1.35rem + 1.1vw, 2.1rem);
  --pv-fs-h3: 1.25rem;
  --pv-max-content: 1280px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Sticky liquid-glass header (blur keeps it readable over any hero content) ----------
   The blur lives on ::before, not on .fbs__net-navbar itself: backdrop-filter on a real
   ancestor creates a new containing block for position:fixed descendants (the mobile
   offcanvas menu lives inside this header), which would confine the offcanvas panel to
   the header's own box height instead of the full viewport. */
.fbs__net-navbar {
  position: sticky !important;
  top: 0;
}
.fbs__net-navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.78) 87%, #1E8747 100%);
  backdrop-filter: blur(20px) saturate(105%);
  -webkit-backdrop-filter: blur(20px) saturate(105%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 16px -4px rgba(15, 23, 32, 0.18);
}
.fbs__net-navbar .navbar-brand,
.fbs__net-navbar .nav-link { color: var(--pv-slate-900) !important; }
.fbs__net-navbar .nav-link.active { color: var(--pv-emerald-700) !important; }
.fbs__net-navbar .logo.light { display: none !important; }
.fbs__net-navbar .logo.dark { display: block !important; }
.fbs__net-navbar .navbar-brand .logo {
  max-height: 34px;
  width: auto;
}
.fbs__net-navbar .offcanvas-header-logo .logo {
  max-height: 34px;
  width: auto;
}

/* Brand lockup: tagline stretches to match the logo's rendered width */
.fbs__net-navbar .navbar-brand,
.fbs__net-navbar .logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.fbs__net-navbar .brand-tagline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pv-slate-400) !important;
  line-height: 1;
}

/* Tighter nav to fit 7 items + CTA on one row (was designed for ~5 items) */
@media (min-width: 992px) {
  .fbs__net-navbar .navbar-nav > li > .nav-link {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.875rem;
  }
  .fbs__net-navbar .header-social .btn {
    padding: 10px 16px !important;
    font-size: 0.875rem;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .fbs__net-navbar .navbar-nav > li > .nav-link {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 0.8125rem;
  }
}

/* ---------- Base rhythm ---------- */
.pv-section { padding: var(--pv-space-8) 0; }
@media (max-width: 767.98px) { .pv-section { padding: var(--pv-space-6) 0; } }

/* Soft brand-color glow behind alternating light sections, so glass cards have
   something to refract against. Single restrained glow, kept subtle on purpose. */
.pv-section.bg-light { position: relative; overflow: hidden; }
.pv-section.bg-light::before,
.pv-section.bg-light::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.pv-section.bg-light::before {
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(38, 169, 89, 0.14) 0%, rgba(38, 169, 89, 0) 70%);
}
.pv-section.bg-light::after {
  bottom: -160px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(230, 230, 102, 0.1) 0%, rgba(230, 230, 102, 0) 70%);
}
.pv-section.bg-light > .container { position: relative; z-index: 1; }

.pv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pv-emerald-700);
  margin-bottom: var(--pv-space-3);
}
.pv-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--pv-emerald-700);
  display: inline-block;
}

.pv-section-head { max-width: 720px; }
.pv-section-head.mx-auto { text-align: center; }

/* ---------- Buttons (liquid glass) ---------- */
.btn.btn-primary,
.btn.btn-light,
.btn.btn-outline-light,
.btn.btn-outline-dark {
  position: relative;
  overflow: hidden;
  border-radius: var(--pv-radius-sm);
  font-weight: 600;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
/* Glass sheen: soft highlight across the top half, like light hitting a convex surface */
.btn.btn-primary::before,
.btn.btn-light::before,
.btn.btn-outline-light::before,
.btn.btn-outline-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
/* Gloss sweep: a diagonal light streak that travels across on hover */
.btn.btn-primary::after,
.btn.btn-light::after,
.btn.btn-outline-light::after,
.btn.btn-outline-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn.btn-primary:hover::after,
.btn.btn-light:hover::after,
.btn.btn-outline-light:hover::after,
.btn.btn-outline-dark:hover::after { left: 130%; }

.btn.btn-primary {
  background: linear-gradient(180deg, var(--pv-emerald-600) 0%, var(--bs-primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 6px rgba(0, 0, 0, 0.14);
}
.btn.btn-primary:hover {
  background: linear-gradient(180deg, var(--pv-emerald-600) 0%, var(--bs-primary-hover) 100%);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}
.btn.btn-primary:active { transform: translateY(0); }

.btn.btn-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--pv-emerald-700);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn.btn-light:hover {
  background: rgba(255, 255, 255, 0.98);
  color: var(--pv-emerald-900);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}
.btn.btn-light:active { transform: translateY(0); }

.btn.btn-outline-dark {
  background: rgba(15, 23, 32, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--pv-slate-200);
  color: var(--pv-slate-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.btn-outline-dark:hover {
  background: var(--pv-slate-900);
  border-color: var(--pv-slate-900);
  color: #fff;
  box-shadow: var(--pv-shadow-md);
  transform: translateY(-2px);
}
.btn.btn-outline-dark:active { transform: translateY(0); }

.btn.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  box-shadow: var(--pv-shadow-md);
  transform: translateY(-2px);
}
.btn.btn-outline-light:active { transform: translateY(0); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pv-emerald-50) 0%, #ffffff 100%);
  padding: var(--pv-space-5) 0 var(--pv-space-6);
  border-bottom: 1px solid var(--pv-slate-200);
}
.page-hero h1 { font-size: var(--pv-fs-h1); font-weight: 700; letter-spacing: -0.01em; }
.page-hero p.lead { color: var(--pv-slate-600); font-size: 1.125rem; max-width: 760px; }

/* Skewed, dimmed brand watermark in the top-right corner of every page's top section */
.page-hero::before,
.hero-enterprise::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 320px;
  max-width: 40vw;
  aspect-ratio: 1 / 1;
  background-image: url("../images/logo/Logo-new.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  opacity: 0.08;
  transform: skewY(-8deg) skewX(-14deg) scale(1.5);
  transform-origin: top right;
  -webkit-mask-image: radial-gradient(circle at top right, #000 0%, #000 40%, transparent 75%);
  mask-image: radial-gradient(circle at top right, #000 0%, #000 40%, transparent 75%);
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .page-hero::before,
  .hero-enterprise::before { width: 200px; }
}
.page-hero .breadcrumb { --bs-breadcrumb-divider: '/'; margin-bottom: var(--pv-space-3); }

/* ---------- Homepage hero ---------- */
.hero-enterprise { position: relative; z-index: 0; padding: var(--pv-space-6) 0 var(--pv-space-7); overflow: hidden; }
.hero-enterprise h1 {
  font-size: var(--pv-fs-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero-enterprise .lead { font-size: 1.15rem; color: var(--pv-slate-600); max-width: 560px; }

.hero-visual {
  position: relative;
  border-radius: var(--pv-radius-lg);
  background: linear-gradient(160deg, var(--pv-slate-900) 0%, var(--pv-emerald-900) 100%);
  padding: var(--pv-space-5);
  color: #fff;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--pv-shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(38, 169, 89, 0.55) 0%, rgba(38, 169, 89, 0) 70%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% auto;
  width: 62%;
  aspect-ratio: 1;
  z-index: 0;
  background-image: url("../images/logo/Logo-new.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-visual .visual-panel { position: relative; z-index: 1; }
.hero-visual .visual-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 70%);
}
.hero-visual .visual-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--pv-radius-md);
  padding: var(--pv-space-4);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero-visual .visual-metric { font-size: 1.75rem; font-weight: 700; }
.hero-visual .visual-node {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.85);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-visual .visual-node:last-child { border-bottom: none; }
.hero-visual .visual-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pv-emerald-600); flex: none; }

/* ---------- Capability / trust strip ---------- */
.capability-strip { border-top: 1px solid var(--pv-slate-200); border-bottom: 1px solid var(--pv-slate-200); padding: var(--pv-space-4) 0; }
.capability-strip .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pv-slate-400); }
.capability-strip .tags { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.capability-strip .tags span { font-weight: 600; color: var(--pv-slate-800); font-size: 0.95rem; white-space: nowrap; }

/* ---------- Value cards (liquid glass) ---------- */
.value-card {
  height: 100%;
  padding: var(--pv-space-4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pv-radius-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.value-card[role="button"] { cursor: pointer; }
.value-card[role="button"]:focus-visible { outline: 2px solid var(--pv-silver-600); outline-offset: 2px; }
.value-card .icon {
  width: 48px; height: 48px; border-radius: var(--pv-radius-sm);
  background: var(--pv-emerald-100); color: var(--pv-emerald-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
  margin-bottom: var(--pv-space-3);
}
.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--pv-slate-600); margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Engineering discipline cards (Services page, liquid glass) ---------- */
.discipline-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pv-radius-lg);
  padding: var(--pv-space-5);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: var(--pv-space-3);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.discipline-card:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.discipline-card h3 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.discipline-card .desc { color: var(--pv-slate-600); margin: 0; }
.discipline-card .cap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.discipline-card .cap-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--pv-slate-800); }
.discipline-card .cap-list li i { color: var(--pv-emerald-700); margin-top: 3px; }
.discipline-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--pv-space-2); }
.discipline-card .chip {
  font-size: 0.78rem; font-weight: 600; color: var(--pv-emerald-700);
  background: var(--pv-emerald-100); border-radius: 999px; padding: 5px 12px;
}
.discipline-card .card-cta { font-weight: 600; color: var(--pv-emerald-700); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.discipline-card .card-cta:hover { color: var(--pv-emerald-900); }

/* ---------- Technology groups (liquid glass) ---------- */
.tech-group {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pv-radius-md);
  padding: var(--pv-space-4);
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.tech-group:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.tech-group h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pv-slate-600); margin-bottom: var(--pv-space-3); }
.tech-group .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-group .chip {
  font-size: 0.85rem; font-weight: 600; color: var(--pv-silver-600);
  background: var(--pv-silver-100); border: 1px solid rgba(230, 230, 102, 0.5);
  border-radius: var(--pv-radius-sm); padding: 6px 12px;
}

/* ---------- Process timeline ---------- */
.process-timeline { display: flex; gap: var(--pv-space-4); overflow-x: auto; padding-bottom: 8px; }
.process-step {
  flex: 1 1 0;
  min-width: 190px;
  border-radius: var(--pv-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: var(--pv-space-4);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.process-step:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.process-step .step-num { font-size: 1.75rem; font-weight: 800; color: var(--pv-emerald-100); -webkit-text-stroke: 1.5px var(--pv-emerald-700); margin-bottom: var(--pv-space-2); }
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: var(--pv-slate-600); margin: 0; }
@media (max-width: 991.98px) {
  .process-timeline { flex-direction: column; overflow-x: visible; }
  .process-step { min-width: 0; }
}

/* ---------- Architecture / security ---------- */
.principle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--pv-space-3); }
.principle-list li { display: flex; gap: 14px; align-items: flex-start; }
.principle-list .icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--pv-emerald-100); color: var(--pv-emerald-700);
  display: flex; align-items: center; justify-content: center;
}
.principle-list strong { display: block; font-size: 0.98rem; }
.principle-list span { color: var(--pv-slate-600); font-size: 0.9rem; }

.architecture-panel {
  background: linear-gradient(160deg, rgba(27, 37, 50, 0.9) 0%, rgba(8, 64, 47, 0.9) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pv-radius-lg);
  padding: var(--pv-space-5);
  color: #fff;
  height: 100%;
  box-shadow: var(--pv-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.architecture-panel .flow-diagram { display: block; width: 100%; height: auto; }

/* ---------- Case study cards (liquid glass) ---------- */
.case-study-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pv-radius-lg);
  padding: var(--pv-space-5);
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--pv-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex; flex-direction: column; gap: var(--pv-space-3);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.case-study-card:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--pv-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.case-study-card .icon {
  width: 48px; height: 48px; border-radius: var(--pv-radius-sm);
  background: var(--pv-emerald-100); color: var(--pv-emerald-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.case-study-card .tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-emerald-700); }
.case-study-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.case-study-card .block-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pv-slate-400); margin-bottom: 4px; }
.case-study-card .block-body { color: var(--pv-slate-600); font-size: 0.92rem; margin-bottom: var(--pv-space-2); }
.case-study-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.case-study-card .chip { font-size: 0.75rem; font-weight: 600; background: var(--pv-slate-100); border-radius: 999px; padding: 4px 10px; }

/* ---------- CTA band (liquid glass) ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(8, 64, 47, 0.9) 0%, rgba(15, 23, 32, 0.9) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pv-radius-lg);
  padding: var(--pv-space-7) var(--pv-space-5);
  color: #fff;
  text-align: center;
  box-shadow: var(--pv-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cta-band h2 { font-size: var(--pv-fs-h2); font-weight: 700; margin-bottom: var(--pv-space-2); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto var(--pv-space-4); }

/* ---------- Modals (liquid glass) ---------- */
.modal-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--pv-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.modal-header, .modal-footer { border-color: rgba(226, 231, 236, 0.6); }

/* ---------- FAQ (Bootstrap accordion) ---------- */
.accordion-button:not(.collapsed) { color: var(--pv-emerald-900); background-color: var(--pv-emerald-100); }
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(14, 107, 79, 0.2); }
.accordion-item { border-color: var(--pv-slate-200); }

/* ---------- Domain nav pills (Solutions page) ---------- */
.domain-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.domain-pills a {
  font-size: 0.85rem; font-weight: 600; color: var(--pv-slate-800);
  background: #fff; border: 1px solid var(--pv-slate-200); border-radius: 999px;
  padding: 8px 16px; text-decoration: none;
}
.domain-pills a:hover { border-color: var(--pv-emerald-700); color: var(--pv-emerald-700); }

/* ---------- Footer watermark (bottom-left corner, every page) ---------- */
.footer {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 320px;
  max-width: 40vw;
  aspect-ratio: 1 / 1;
  background-image: url("../images/logo/Logo-new.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 0.08;
  transform: skewY(8deg) skewX(14deg) scale(1.5);
  transform-origin: bottom left;
  -webkit-mask-image: radial-gradient(circle at bottom left, #000 0%, #000 40%, transparent 75%);
  mask-image: radial-gradient(circle at bottom left, #000 0%, #000 40%, transparent 75%);
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .footer::before { width: 200px; }
}

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: var(--pv-space-5); }
.legal-content p, .legal-content li { color: var(--pv-slate-600); }
