:root {
  --font:
    "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  --bg0: #f7f9ff;
  --bg1: #eef2ff;
  --surface: rgba(255, 255, 255, 0.85);
  --surface2: rgba(255, 255, 255, 0.72);
  --stroke: rgba(12, 19, 48, 0.1);
  --stroke2: rgba(12, 19, 48, 0.14);
  --text: #0c1330;
  --muted: rgba(12, 19, 48, 0.72);
  --muted2: rgba(12, 19, 48, 0.56);
  --brand1: #5b5cff;
  --brand2: #00b6ff;
  --brand3: #00e6b3;
  --shadow-lg: 0 26px 70px rgba(10, 25, 60, 0.12);
  --shadow-md: 0 12px 30px rgba(10, 25, 60, 0.1);
  --shadow-sm: 0 8px 18px rgba(10, 25, 60, 0.08);
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --container: 1160px;
  --navH: 64px;
  --focus: 0 0 0 4px rgba(0, 182, 255, 0.22);
  --ease: cubic-bezier(0.2, 0.85, 0.2, 1);
}
html[data-theme="dark"] {
  --bg0: #070a12;
  --bg1: #0b1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface2: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.18);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.74);
  --muted2: rgba(234, 240, 255, 0.58);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.22);
  --focus: 0 0 0 4px rgba(124, 92, 255, 0.22);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.35s var(--ease),
    color 0.25s var(--ease);
}
body::before {
  content: "";
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      900px 520px at 18% -10%,
      rgba(91, 92, 255, 0.18),
      transparent 62%
    ),
    radial-gradient(
      900px 520px at 90% 0%,
      rgba(0, 182, 255, 0.14),
      transparent 62%
    ),
    radial-gradient(
      900px 620px at 70% 110%,
      rgba(0, 230, 179, 0.1),
      transparent 62%
    );
}
body {
  letter-spacing: -0.01em;
}

h1,
.h1,
h2,
.h2 {
  letter-spacing: -0.02em;
}
html[data-theme="dark"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 182, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at 75% 55%,
      rgba(91, 92, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(circle at 55% 85%, rgba(0, 230, 179, 0.1), transparent 60%),
    linear-gradient(
      135deg,
      transparent 0 42%,
      rgba(0, 182, 255, 0.1) 42% 43%,
      transparent 43% 100%
    ),
    linear-gradient(
      135deg,
      transparent 0 58%,
      rgba(91, 92, 255, 0.08) 58% 59%,
      transparent 59% 100%
    );
  background-size:
    54px 54px,
    54px 54px,
    auto,
    auto,
    auto,
    auto,
    auto;
  opacity: 0.5;
  mix-blend-mode: screen;
}
a {
  text-decoration: none;
  color: inherit;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg0) 65%, transparent);
  border-bottom: 1px solid var(--stroke);
  height: var(--navH);
}
.nav {
  height: var(--navH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand img {
  display: block;
  height: 38px;
  width: 100px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 999px;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
nav a:hover {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
  transform: translateY(-1px);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff;
  box-shadow: 0 18px 44px rgba(91, 92, 255, 0.2);
}
.toggle {
  width: 44px;
  height: 44px;
  padding: 0;
}
.burger {
  display: none;
}
main {
  position: relative;
  z-index: 2;
}
.section {
  padding: 40px 0px;
}
.shell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.shell::before {
  content: "";
  position: absolute;
  inset: -140px;
  background:
    radial-gradient(
      closest-side at 12% 22%,
      rgba(91, 92, 255, 0.18),
      transparent 70%
    ),
    radial-gradient(
      closest-side at 78% 15%,
      rgba(0, 182, 255, 0.14),
      transparent 65%
    ),
    radial-gradient(
      closest-side at 55% 92%,
      rgba(0, 230, 179, 0.1),
      transparent 70%
    );
  opacity: 0.9;
  pointer-events: none;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 80;
}
.drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  width: min(380px, calc(100% - 28px));
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  padding: 14px;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
  z-index: 81;
}
.drawer.open,
.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer.open {
  transform: translateY(0) scale(1);
}
.drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
}
.drawer a:hover {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.heroSection {
  position: relative;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}
.heroFullBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)),
    url("assets/img/site-bg.png");
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.05);
}
.heroSection .container {
  position: relative;
  z-index: 2;
}
#top.shell {
  position: relative;
  z-index: 3;
}
html[data-theme="light"] .heroFullBg {
  background:
    radial-gradient(
      1200px 700px at 15% 10%,
      rgba(0, 182, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      1100px 700px at 85% 15%,
      rgba(91, 92, 255, 0.1),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.75)
    ),
    url("assets/img/site-bg.png");
  background-size: cover;
  background-position: center;
  filter: brightness(1.15) contrast(1.02);
}
.heroMediaBg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      1200px 700px at 20% 20%,
      rgba(0, 182, 255, 0.2),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 80% 30%,
      rgba(91, 92, 255, 0.18),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.9)), url("");
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.05) contrast(1.05);
  transform: scale(1.04);
  opacity: 0.95;
}
html[data-theme="light"] .heroMediaBg {
  background:
    radial-gradient(
      1200px 700px at 20% 20%,
      rgba(0, 182, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 80% 30%,
      rgba(91, 92, 255, 0.14),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.9)
    ),
    url("");
  filter: blur(2px) saturate(1.03) contrast(1.03) brightness(1.12);
  opacity: 0.55;
}
.heroCoverBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Cdefs%3E%3CradialGradient id='a' cx='30%25' cy='10%25' r='90%25'%3E%3Cstop offset='0' stop-color='%2300B6FF' stop-opacity='.35'/%3E%3Cstop offset='.45' stop-color='%235B5CFF' stop-opacity='.20'/%3E%3Cstop offset='1' stop-color='%23070A12' stop-opacity='1'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='80%25' cy='40%25' r='70%25'%3E%3Cstop offset='0' stop-color='%2300E6B3' stop-opacity='.18'/%3E%3Cstop offset='1' stop-color='%23070A12' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23a)'/%3E%3Ccircle cx='1250' cy='420' r='320' fill='url(%23b)'/%3E%3Cpath d='M0 620 C320 520 520 720 820 590 C1040 495 1200 645 1600 520 L1600 900 L0 900 Z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
}
.heroCoverBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 520px at 15% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 560px at 90% 20%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
html[data-theme="light"] .heroCoverBg {
  filter: saturate(1.05) contrast(1.02) brightness(1.12);
}
html[data-theme="light"] .heroCoverBg::after {
  background:
    radial-gradient(
      1200px 520px at 15% 0%,
      rgba(255, 255, 255, 0.38),
      transparent 55%
    ),
    radial-gradient(
      900px 560px at 90% 20%,
      rgba(255, 255, 255, 0.26),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.22)
    );
}
.heroWrap,
.sliderControls {
  position: relative;
  z-index: 3;
}
.h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 820;
}
.power-tag {
  display: block;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 500;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.power-tag-inline {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.65em;
}
.grad {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  max-width: 64ch;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  color: var(--muted);
  font-size: 13px;
  width: fit-content;
}
#slides {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
  will-change: transform;
  transition: transform 0.75s var(--ease);
}
#slides > .slide {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
.slide {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.slide .right {
  align-self: stretch;
  min-width: 0;
}
.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: center;
}
.metaRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.metaPill {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  padding: 12px;
}
.metaPill strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.metaPill span {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.35;
}
.slideImage {
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  min-height: 420px;
  position: relative;
  width: 100%;
  height: 100%;
}
.slideImage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.slideImage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.04);
}
html[data-theme="light"] .slideImage {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 19, 48, 0.12);
}
html[data-theme="light"] .slideImage::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(12, 19, 48, 0.1)
  );
}
html[data-theme="light"] .slideImage img {
  filter: brightness(1.14) saturate(1.03) contrast(1.02);
}
.imgChips {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}
.chip {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  white-space: nowrap;
}
.imgChips .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .imgChips .chip {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 19, 48, 0.12);
  color: rgba(12, 19, 48, 0.82);
}
.sliderControls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 14px;
  position: absolute;
  bottom: 0px;
  width: 100%;
}
.circleBtn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    box-shadow 0.2s var(--ease);
  color: var(--text);
}
.circleBtn:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
}
.dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
}
.dot[aria-current="true"] {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  border: none;
  transform: scale(1.1);
}
.trustShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.trustTitle {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-size: 14px;
}
.trustSub {
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.5;
  max-width: 64ch;
}
.marquee {
  padding-top: 10px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marqueeTrack {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scroll 16s linear infinite;
}
.logoPill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.nextLine {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 2px;
}
/* Base logo styling to prevent stretching when content is replaced */
#logo {
  aspect-ratio: 253 / 96;
  max-width: 100%;
  object-fit: contain;
}

/* Theme-aware logo (paths are relative to this CSS file: assets/css/) */
html[data-theme="light"] #logo {
  content: url("../../logo-new-scc.png");
}

html[data-theme="dark"] #logo {
  content: url("../../logo-new-scc-dark.png");
}

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

/* Equipment → centered subject */
.img-equipment-finance {
  object-position: 55% center;
}

/* Technology → well-balanced center */
.img-digital-solutions {
  object-position: 0% center;
}

/* Vendor → centered subject */
.img-vendor-finance {
  object-position: center;
}

/* Digital Solutions → slightly left focus */
.img-healthcare-finance {
  object-position: 0% center;
}

/* Technology Leasing → slightly left focus */
.img-technology-leasing {
  object-position: 40% center;
}

/* SELECT FIELD */
.fieldBox select {
  appearance: none;
  background-color: #0e1726; /* dark background */
  color: #ffffff; /* readable text */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* DROPDOWN OPTIONS */
.fieldBox select option {
  background-color: #ffffff; /* dropdown list background */
  color: #0c1330; /* dark readable text */
  padding: 10px;
}

/* Hover / selected (browser dependent but helps) */
.fieldBox select option:checked {
  background-color: #2b62ab;
  color: #ffffff;
}

/* Prevent base button overriding */
.btn:hover {
  background: color-mix(in srgb, var(--surface) 85%, transparent);
}

/* Keep primary separate */
.btn-primary {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #ffffff;
}
.logoItem img {
  height: 36px;
  width: auto;

  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;

  object-fit: contain;
}

.logoItem {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

/* Base logo styling */
.logoItem img {
  max-height: 32px;
  width: auto;
  object-fit: contain;

  /* grayscale look */
  filter: grayscale(100%) brightness(0.8) opacity(0.6);

  transition: all 0.3s ease;
}

/* Hover effect */
.logoItem img:hover {
  filter: grayscale(0%) brightness(1) opacity(1);
  transform: translateY(-2px);
}

.videoSlide video {
  pointer-events: none;
}

/* Spacing */
.marqueeTrack {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Adjust special logos */
.logoItem img[alt="EXIM Bank"] {
  max-height: 40px; /* round badge needs larger */
}

.logoItem img[alt="Bank of America"] {
  max-height: 40px; /* wide logos smaller */
}
.logoItem img {
  filter: grayscale(100%) opacity(0.6);
}

.logoItem img[alt="Apple"] {
  max-height: 28px;
}

.logoItem:hover img {
  filter: none;
}
.logoItem img[alt="Microsoft"] {
  max-height: 40px;
}

.videoSlide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.videoSlide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caseModalDialog {
  width: min(980px, calc(100vw - 28px));
}

.caseModalBody {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  padding-right: 6px;
}
.caseExtra {
  display: grid;
  gap: 16px;
}

.caseModalHeading {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.caseModalDescription {
  margin: 0;
  color: #c9d7ea;
  font-size: 15px;
  line-height: 1.75;
}

.caseModalHighlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.caseModalHighlights li {
  color: #eef5ff;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.caseModalMedia {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  margin-top: 16px;
}

.caseModalVideo {
  width: 100%;
  display: block;
  min-height: 220px;
  max-height: 300px;
  object-fit: cover;
  background: #000;
}

@media (max-width: 980px) {
  .caseModalBody {
    padding: 22px 22px 16px;
  }

  .caseModalHeading {
    font-size: 22px;
  }

  .caseModalVideo {
    min-height: 220px;
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
  .burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
  }
  .slide {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .metaRow {
    grid-template-columns: 1fr;
  }
  .slideImage {
    min-height: 280px;
  }
  .marqueeTrack {
    animation-duration: 18s;
  }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--muted2);
  margin-bottom: 8px;
}
.h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 820;
}
.sub {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  max-width: 78ch;
}
.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.headActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.solutionGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.solutionCard {
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}
.solutionCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.solutionIcon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand1) 18%, transparent),
    color-mix(in srgb, var(--brand2) 14%, transparent)
  );
}
.solutionCard h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.solutionCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.solutionCta {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.noticeText {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.reasonsShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.reasonsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.reasonCard {
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.reasonIcon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(91, 92, 255, 0.18);
}
.reasonCard h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.reasonCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.reasonCard .inlineAction {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}

.fundsBand {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface) 76%, transparent),
    color-mix(in srgb, var(--surface2) 72%, transparent)
  );
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.fundsBand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18)),
    url("assets/img/secure-funds-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
}
html[data-theme="light"] .fundsBand::before {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.4)
    ),
    url("assets/img/secure-funds-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.fundsBand > * {
  position: relative;
  z-index: 2;
}
.fundsTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fundsStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fundStat {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.statBadge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand1) 22%, transparent),
    color-mix(in srgb, var(--brand2) 18%, transparent)
  );
  border: 1px solid var(--stroke);
}
.fundStat h3 {
  margin: 12px 0 6px;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.fundStat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.fundAction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #ff2f87;
}

@media (max-width: 1100px) {
  .solutionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reasonsGrid {
    grid-template-columns: 1fr;
  }
  .fundsStats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .solutionGrid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--muted2);
  margin-bottom: 8px;
}
.h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 820;
}
.sub {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  max-width: 78ch;
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.headActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.card {
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: grid;
  grid-template-columns: 50px 1fr 240px;
  gap: 12px;
  align-items: center;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.cardIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.cardBody h3 {
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.cardBody p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.cardLink {
  display: inline-block;
  margin-top: 10px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 13px;
  font-weight: 650;
}
.cardArt {
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
}
.cardArt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}
.steps {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.step {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.stepNo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}
.step h4 {
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.illustration {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow-md);
  padding: 14px;
  overflow: hidden;
}

.benefitsShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-md);
  padding: 18px;
}
.benefitsHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.statRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.stat {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 12px 14px;
  min-width: 120px;
}
.stat strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

.benefitGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.benefit {
  display: flex;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 14px;
}
.bIcon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  flex: 0 0 auto;
}
.benefit h4 {
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .cardGrid {
    grid-template-columns: 1fr;
  }
  .card {
    grid-template-columns: 50px 1fr;
  }
  .cardArt {
    grid-column: 1 / -1;
    height: 140px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .benefitGrid {
    grid-template-columns: 1fr;
  }
}

.loanShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  overflow: hidden;
}
.loanGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
.loanIntro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.loanCallout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #ff2f87 28%, var(--stroke));
  background: color-mix(in srgb, #ff2f87 10%, var(--surface));
  color: #ff2f87;
  font-size: 13px;
  font-weight: 800;
  width: fit-content;
}
.loanLead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.loanFeatureGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.loanFeature {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  padding: 14px;
  min-height: 100%;
}
.loanFeature strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.loanFeature span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.calcCard {
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 78%, transparent),
    color-mix(in srgb, var(--surface2) 74%, transparent)
  );
  box-shadow: var(--shadow-md);
  padding: 18px;
}
.calcTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.calcTitle {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.calcSub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 54ch;
}
.calcPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.calcFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fieldBox {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fieldBox label {
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.fieldBox input,
.fieldBox select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.fieldBox input:focus,
.fieldBox select:focus {
  border-color: color-mix(in srgb, var(--brand2) 55%, var(--stroke2));
  box-shadow: var(--focus);
}
.rangeWrap {
  display: grid;
  gap: 8px;
}
.rangeLine {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.rangeValue {
  font-weight: 850;
  color: var(--text);
}
.rangeWrap input[type="range"] {
  width: 100%;
  accent-color: #ff2f87;
}
.calcResults {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.resultBox {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  padding: 14px;
}
.resultBox span {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 6px;
}
.resultBox strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.calcActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}
.miniNote {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.6;
  margin-top: 10px;
}
.scheduleWrap {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}
.scheduleHead {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 1fr 1fr;
  background: color-mix(in srgb, var(--surface2) 82%, transparent);
  border-bottom: 1px solid var(--stroke);
}
.scheduleHead div,
.scheduleRow div {
  padding: 12px 10px;
  font-size: 12px;
}
.scheduleHead div {
  font-weight: 800;
  color: var(--muted);
}
.scheduleBody {
  max-height: 260px;
  overflow: auto;
}
.scheduleRow {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid color-mix(in srgb, var(--stroke) 70%, transparent);
}
.scheduleRow:last-child {
  border-bottom: none;
}
.scheduleRow div {
  font-size: 12px;
  color: var(--text);
}

.servicesShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.servicesSplit {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: start;
}
.servicesPanel {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  padding: 18px;
  min-height: 100%;
}
.serviceList {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.serviceItem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}
.serviceBullet {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.serviceItem strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.serviceItem span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.programList {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.programPill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}
.programPill strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}
.programPill span {
  font-size: 12px;
  color: var(--muted2);
}
.serviceFooter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .loanGrid,
  .servicesSplit {
    grid-template-columns: 1fr;
  }
  .calcResults {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .loanFeatureGrid,
  .calcFields {
    grid-template-columns: 1fr;
  }
  .scheduleHead,
  .scheduleRow {
    grid-template-columns: 78px 1fr 1fr 1fr 1fr;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  #loanPrintArea,
  #loanPrintArea * {
    visibility: visible;
  }
  #loanPrintArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    color: #000;
    padding: 20px;
  }
  .calcActions {
    display: none !important;
  }
}

.txShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.txGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.txCard {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.txMedia {
  position: relative;
  min-height: 220px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand1) 16%, transparent),
    color-mix(in srgb, var(--brand2) 18%, transparent)
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
}
.txMedia::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.3)),
    var(--tx-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
html[data-theme="light"] .txMedia::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(12, 19, 48, 0.16)),
    var(--tx-image, none);
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.txBadge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
html[data-theme="light"] .txBadge {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 19, 48, 0.12);
  color: var(--text);
}
.txBody {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.txBody h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.txBody p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}
.txAmount {
  margin-top: auto;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #ff2f87;
}
.txFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 18px 18px;
}
.txFoot span {
  font-size: 12px;
  color: var(--muted2);
}

.pressShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 76%, transparent),
    color-mix(in srgb, var(--surface2) 72%, transparent)
  );
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.featureArticle {
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}
.featureMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.featureMeta .chip {
  font-size: 12px;
}
.featureTitle {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.featureLead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.featureBlocks {
  display: grid;
  gap: 12px;
}
.miniArticle {
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  padding: 18px;
}
.miniArticle h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.miniArticle p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.miniArticle ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.miniArticle ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.articleFactGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.factCard {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  padding: 14px;
}
.factCard strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.factCard span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.disclaimer {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, #2570bb 24%, var(--stroke));
  background: color-mix(in srgb, #2570bb 8%, var(--surface));
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.contactBand {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.contactBand strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.contactBand span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .txGrid {
    grid-template-columns: 1fr;
  }
  .featureArticle {
    grid-template-columns: 1fr;
  }
  .articleFactGrid {
    grid-template-columns: 1fr;
  }
}

.testiShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 76%, transparent),
    color-mix(in srgb, var(--surface2) 72%, transparent)
  );
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.testiGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.95fr);
  gap: 0;
}
.testiMapPane {
  position: relative;
  min-height: 720px;
  border-right: 1px solid var(--stroke);
  background:
    radial-gradient(
      circle at 18% 34%,
      rgba(43, 98, 171, 0.18),
      transparent 18%
    ),
    radial-gradient(
      circle at 78% 62%,
      rgba(63, 180, 255, 0.12),
      transparent 20%
    ),
    linear-gradient(180deg, #061320, #04101b);
}
html[data-theme="light"] .testiMapPane {
  background:
    radial-gradient(circle at 18% 34%, rgba(43, 98, 171, 0.1), transparent 18%),
    radial-gradient(
      circle at 78% 62%,
      rgba(63, 180, 255, 0.1),
      transparent 20%
    ),
    linear-gradient(180deg, #f8fbff, #eef5ff);
}
.testiMapHeader,
.testiListHeader {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--stroke);
}
.testiTitle {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.testiSub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.mapStage {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.worldLayer {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.28, 1);
}
.worldLayer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.18)) contrast(1.02)
    saturate(0.94);
}
.edgeShade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 52%,
    rgba(0, 0, 0, 0.06) 72%,
    rgba(0, 0, 0, 0.16) 100%
  );
}
html[data-theme="light"] .edgeShade {
  background: radial-gradient(
    ellipse at center,
    transparent 52%,
    rgba(12, 19, 48, 0.02) 72%,
    rgba(12, 19, 48, 0.08) 100%
  );
}
.glowLayer,
.pinLayer {
  position: absolute;
  inset: 0;
}
.regionGlow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition:
    opacity 0.35s ease,
    transform 0.45s ease;
  background: radial-gradient(
    circle,
    rgba(63, 180, 255, 0.4) 0,
    rgba(63, 180, 255, 0.18) 36%,
    rgba(63, 180, 255, 0) 72%
  );
}
.regionGlow.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.pinCore {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #d8efff);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.pinCore::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
}
.pinPulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(63, 180, 255, 0.36);
  transform: translate(-50%, -50%);
  animation: pinPulse 2.2s infinite;
  z-index: -1;
}
.pinLabel {
  position: absolute;
  left: 50%;
  top: calc(100% + 15px);
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(17, 25, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    top 0.22s ease;
  pointer-events: none;
}
html[data-theme="light"] .pinLabel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 19, 48, 0.1);
  color: var(--text);
}
.pin:hover .pinLabel,
.pin.active .pinLabel {
  opacity: 1;
  top: calc(100% + 18px);
}
.pin:hover .pinCore,
.pin.active .pinCore {
  transform: scale(1.12);
  box-shadow:
    0 0 0 8px rgba(63, 180, 255, 0.11),
    0 12px 28px rgba(0, 0, 0, 0.28);
}
.mapToolbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.legend,
.floatingChip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(9, 18, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8d8ee;
  font-size: 13px;
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .legend,
html[data-theme="light"] .floatingChip {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 19, 48, 0.08);
  color: var(--muted);
}
.legendDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  box-shadow: 0 0 0 6px rgba(63, 180, 255, 0.08);
}

.testiListPane {
  display: flex;
  flex-direction: column;
  min-height: 720px;
}
.testiTools {
  padding: 18px;
  border-bottom: 1px solid var(--stroke);
  display: grid;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--surface) 78%, transparent);
}
.searchWrap {
  position: relative;
}
.searchWrap input {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 0 16px 0 44px;
  font-size: 15px;
  outline: none;
}
.searchWrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.7;
}
.filterRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filterChip {
  border: none;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  border: 1px solid var(--stroke);
}
.filterChip.active {
  color: #0a1422;
  background: linear-gradient(135deg, #7edaff, #5ef0d0);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(94, 240, 208, 0.18);
}
.cardsWrap {
  padding: 18px;
  max-height: calc(720px - 175px);
  overflow: auto;
  display: grid;
  gap: 14px;
  scroll-behavior: smooth;
}
.tCard {
  display: grid;
  gap: 14px;

  border-radius: 22px;
  padding: 20px;

  border: 1px solid var(--stroke);

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.04)
    ),
    var(--surface);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.tCard.active {
  background:
    linear-gradient(120deg, rgba(47, 117, 255, 0.16), rgba(63, 180, 255, 0.11)),
    var(--surface);

  border-color: rgba(63, 180, 255, 0.34);

  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);

  transform: translateY(-2px); /* 🔥 better than padding change */
}

.tTop {
  display: flex;
  justify-content: space-between;
}

.tLoc {
  font-size: clamp(22px, 2vw, 28px);
}

.tProg {
  color: var(--muted);
}

/* ✅ Theme-safe */
.countryBadge {
  background: rgba(63, 180, 255, 0.1);
  border: 1px solid rgba(63, 180, 255, 0.22);

  color: var(--text); /* 🔥 fix contrast issue */
}

html[data-theme="light"] .countryBadge {
  color: #0f5f7c;
}
.metaRow2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.regionTag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}
.snippet {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tCard.active .snippet {
  -webkit-line-clamp: unset;
  display: block;
}
.cardActions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.textLink {
  border: none;
  background: transparent;
  padding: 0;
  color: #99d4ff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.textLink:hover {
  color: #c9ebff;
}
.miniBtn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.contactGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}
.contactCard,
.asideCard,
.newsletterBand,
.footerShell {
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-md);
}
.contactCard,
.asideCard {
  padding: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--brand2) 55%, var(--stroke2));
  box-shadow: var(--focus);
}
.hint {
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.3;
}
.formRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.formActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
.formStatus {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.fineprint {
  margin: 12px 0 0;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.55;
}
.asideTop {
  display: flex;
  gap: 12px;
  align-items: center;
}
.asideIcon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff;
  font-weight: 900;
}
.asideTitle {
  font-weight: 850;
  letter-spacing: -0.01em;
}
.asideSub {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 2px;
}
.asideDivider {
  height: 1px;
  background: color-mix(in srgb, var(--stroke) 80%, transparent);
  margin: 12px 0;
}
.asideItem {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
}
.asideItem .k {
  color: var(--muted2);
}
.asideItem .v {
  color: var(--text);
  font-weight: 650;
}
.asideNote {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.asideBtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletterBand {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface) 84%, transparent),
    color-mix(in srgb, var(--surface2) 76%, transparent)
  );
}
.newsletterForm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.newsletterForm input {
  min-width: 280px;
  max-width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.footer {
  padding: 20px 0 44px;
}
.footerShell {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 14px;
}
.fBrand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.fBrand img {
  display: block;
  height: 38px;
  width: 100px;
}
.fSub {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 4px;
}
.fTitle {
  font-weight: 850;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.fLinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fLinks a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    background 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.fLinks a:hover {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  transform: translateY(-1px);
}
.footerBar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted2);
  font-size: 13px;
  padding: 8px 2px;
}
.footerNote {
  opacity: 0.9;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  overflow: hidden;
}
.modal.open {
  display: block;
}
.modalBack {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 16, 0.78);
  backdrop-filter: blur(8px);
}
.modalDialog {
  position: relative;
  width: min(900px, calc(100vw - 28px));
  margin: 26px auto;
  max-height: calc(100vh - 52px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 14%,
      rgba(63, 180, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(126, 123, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(15, 24, 40, 0.98), rgba(9, 15, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.44);
}
.modalClose {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}
.modalTop {
  padding: 34px 38px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.modalLoc {
  margin: 0 0 10px;
  color: #9bcfff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.modalTitle {
  margin: 0;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}
.modalMeta {
  margin: 12px 0 0;
  color: #bfd0e5;
  font-size: 16px;
  line-height: 1.6;
}
.modalBody {
  padding: 30px 38px 18px;
  overflow: auto;
  max-height: calc(100vh - 245px);
}
.quote {
  margin: 0;
  font-size: 22px;
  line-height: 1.95;
  color: #eef5ff;
  white-space: pre-wrap;
}
.modalFooter {
  padding: 22px 38px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}
body.modal-lock {
  overflow: hidden;
}

.modalClose {
  position: absolute;
  top: 16px; /* ✅ give space */
  right: 16px;
  z-index: 2;
}
.modal.open {
  display: block;
}
body.modal-lock {
  overflow: hidden;
}
.modal {
  overflow: hidden; /* ❌ prevent outer scroll */
  z-index: 99999;
}
.caseModalBody {
  overflow-y: auto;
  max-height: calc(100vh - 180px); /* ✅ keeps header + footer visible */
}

.caseModalVideo {
  max-height: 320px;
  object-fit: cover;
}

.caseModalMedia {
  flex-shrink: 0;
}

header,
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000; /* too high */
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modalBack {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* ✅ CLEAN MODAL */

.modalDialog {
  width: min(900px, 90%);
  max-height: 90vh;

  border-radius: 24px;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--stroke);
}
html[data-theme="dark"] .modalDialog {
  background:
    radial-gradient(
      circle at 18% 14%,
      rgba(63, 180, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(126, 123, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #0a1425, #050d1a);

  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);

  color: #eef5ff;
}

html[data-theme="light"] .modalDialog {
  background:
    radial-gradient(
      circle at 18% 14%,
      rgba(0, 182, 255, 0.12),
      transparent 40%
    ),
    radial-gradient(circle at 82% 18%, rgba(91, 92, 255, 0.1), transparent 38%),
    linear-gradient(180deg, #ffffff, #f3f6ff);

  box-shadow: 0 20px 60px rgba(10, 25, 60, 0.18);

  color: var(--text);
}

/* HEADER */
.modalTop {
  padding: 20px;
  border-bottom: 1px solid var(--stroke);
}

/* BODY */
.caseModalBody {
  padding: 20px;
  overflow-y: auto;
}

/* FOOTER */
.modalFooter {
  padding: 16px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.caseModalMedia {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

/* Video */
.caseModalVideo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Play button */
.videoPlayBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 70px;
  height: 70px;
  border-radius: 50%;

  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 28px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.videoPlayBtn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Hide button when playing */
.videoPlaying .videoPlayBtn {
  display: none;
}

@keyframes pinPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.58;
  }
  80% {
    transform: translate(-50%, -50%) scale(2.9);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 1280px) {
  .testiGrid {
    grid-template-columns: 1fr;
  }
  .testiMapPane {
    border-right: none;
    border-bottom: 1px solid var(--stroke);
  }
  .cardsWrap {
    max-height: none;
  }
  .testiListPane {
    min-height: auto;
  }
}
@media (max-width: 980px) {
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .formRow {
    grid-template-columns: 1fr;
  }
  .footerShell {
    grid-template-columns: 1fr;
  }
  .mapStage {
    height: 520px;
  }
  .pinLabel {
    display: none;
  }
  .modalTop {
    padding: 28px 22px 18px;
  }
  .modalBody {
    padding: 22px 22px 14px;
  }
  .modalFooter {
    padding: 18px 22px 24px;
  }
  .modalTitle {
    font-size: 32px;
  }
  .quote {
    font-size: 19px;
    line-height: 1.78;
  }
}

/* Card Expansion Details & Animations */
.card {
  align-items: start !important;
  cursor: pointer;
}

.cardDescription {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease,
    margin-top 0.4s ease;
}

/* Expanded & Collapsing state card styling */
.card.expanded,
.card.collapsing {
  grid-column: 1 / -1;
}

.card.expanded {
  background: color-mix(in srgb, var(--surface) 95%, transparent) !important;
  border-color: rgba(91, 92, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

.card.expanded .cardDescription {
  max-height: 2000px;
  opacity: 1;
  margin-top: 16px;
}

.cardDescription h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cardDescription p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px !important;
}

.cardDescription h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cardDescription ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
}

.cardDescription li {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.cardDescription li strong {
  color: var(--text);
}
