/* ==========================================================================
   DreamBizCap - Luxury Capital Fintech Stylesheet
   Palette: Crisp White + Warm Ivory-Sage + Imperial Emerald + Burnished Gold
   ========================================================================== */

:root {
  --navy-950: #071e18;
  --navy-900: #0b2c24;
  --navy-800: #124034;

  --blue-700: #0c4435;
  --blue-600: #155c49;
  --blue-50: #fbf6ea;

  --bronze-600: #8a5c1b;
  --bronze-500: #a87628;
  --bronze-400: #d8b25d;

  --green-600: #0d8a4e;
  --green-100: #eaf7f0;

  --bg: #ffffff;
  --bg-soft: #f7f9f7;
  --border: #dfe6e1;
  --border-strong: #c8d3cc;

  --text-900: #0a201a;
  --text-700: #233b34;
  --text-600: #3d524c;
  --text-500: #556b64;
  --text-400: #6c8079;

  --shadow-xs: 0 1px 3px rgba(11, 44, 36, 0.05);
  --shadow-sm: 0 6px 18px rgba(11, 44, 36, 0.06);
  --shadow-md: 0 16px 38px rgba(11, 44, 36, 0.09);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", "DM Sans", sans-serif;
  --ease: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  --slide-duration: 6000ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-900);
  background: var(--bg);
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   Buttons & Typography Helpers
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.012em;
  line-height: 1.25;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--bronze-400);
  outline-offset: 2px;
}

.btn--lg {
  padding: 13px 26px;
  font-size: 0.96rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, #115442 0%, #0b2c24 100%);
  color: #ffffff;
  border-color: rgba(7, 30, 24, 0.28);
  box-shadow: 0 6px 16px rgba(11, 44, 36, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #166852 0%, #0e3a2f 100%);
  border-color: rgba(216, 178, 93, 0.52);
  box-shadow: 0 10px 24px rgba(11, 44, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:active {
  box-shadow: 0 3px 10px rgba(11, 44, 36, 0.24);
}

.btn--gold {
  background: linear-gradient(135deg, #a36b14 0%, #82510b 100%);
  color: #ffffff;
  border-color: rgba(228, 195, 111, 0.42);
  box-shadow: 0 8px 20px rgba(130, 81, 11, 0.32), inset 0 1px 0 rgba(255, 232, 178, 0.26);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #b27618 0%, #8f5b0f 100%);
  border-color: rgba(228, 195, 111, 0.65);
  box-shadow: 0 12px 26px rgba(130, 81, 11, 0.4), inset 0 1px 0 rgba(255, 238, 196, 0.34);
}

.btn--gold:active {
  box-shadow: 0 4px 12px rgba(130, 81, 11, 0.32);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.19);
  border-color: rgba(216, 178, 93, 0.68);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--outline {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #c6d3cc;
  box-shadow: 0 2px 6px rgba(11, 44, 36, 0.05);
}

.btn--outline:hover {
  border-color: var(--navy-900);
  background: #f2f7f5;
  box-shadow: 0 6px 14px rgba(11, 44, 36, 0.09);
}

.btn-link {
  border: none;
  background: transparent;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}

.btn-link:hover {
  background: var(--blue-50);
  color: var(--navy-900);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 10px;
}

.eyebrow--bronze {
  color: var(--bronze-400);
}

.section {
  padding: 82px 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--navy {
  position: relative;
  overflow: hidden;
  background: radial-gradient(800px 420px at 88% 12%, rgba(168, 118, 40, 0.28), transparent 60%),
    radial-gradient(640px 360px at 12% 90%, rgba(209, 169, 98, 0.1), transparent 65%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 60%, #134438 100%);
  color: #fff;
}

.section-head {
  max-width: 600px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.78rem, 2.9vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--navy-900);
}

.section-head p {
  margin: 0;
  color: var(--text-600);
  font-size: 1.03rem;
  line-height: 1.65;
}

/* ==========================================================================
   Top Executive Strip & Sticky Header
   ========================================================================== */

.top-strip {
  background: var(--navy-950);
  color: #cad7d2;
  font-size: 0.77rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__left,
.top-strip__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-strip__item,
.top-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease);
}

.top-strip__link:hover {
  color: var(--bronze-400);
}

.top-strip__item svg,
.top-strip__link svg {
  width: 13px;
  height: 13px;
  color: var(--bronze-400);
}

.top-strip__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 30px rgba(11, 44, 36, 0.08);
}

.header__inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand--footer .brand__logo {
  height: 52px;
}

.brand:hover .brand__logo {
  transform: scale(1.03);
}

.brand__divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, #cad7d2, transparent);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.07em;
  color: var(--navy-900);
}

.brand__tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bronze-600);
  margin-top: 2px;
}

/* Main Navigation with Animated Underlines */
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-600);
  white-space: nowrap;
  transition: color var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--bronze-400));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.24s ease;
}

/* Services Mega Dropdown */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-wrap.is-open .nav-dropdown-trigger svg,
.nav-dropdown-wrap:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(580px, calc(100vw - 32px));
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce4de;
  border-top: 3px solid var(--bronze-500);
  box-shadow: 0 24px 54px rgba(11, 44, 36, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
  z-index: 120;
  overflow: visible;
}

.nav-mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-wrap:hover .nav-mega-menu,
.nav-dropdown-wrap.is-open .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.mega-item:hover {
  background: #faf7f0;
  border-color: rgba(168, 118, 40, 0.28);
  transform: translateY(-1px);
}

.mega-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.22s ease, color 0.22s ease;
}

.mega-item:hover .mega-item__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
}

.mega-item__icon svg {
  width: 18px;
  height: 18px;
}

.mega-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mega-item__body strong {
  font-size: 0.87rem;
  color: var(--navy-900);
  line-height: 1.25;
  white-space: nowrap;
}

.mega-item__body span {
  font-size: 0.74rem;
  color: var(--text-600);
  margin-top: 2px;
  white-space: nowrap;
}

.mega-item__arrow {
  width: 14px;
  height: 14px;
  color: var(--blue-600);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mega-item:hover .mega-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: #faf8f3;
  border-top: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  font-size: 0.81rem;
  color: var(--text-600);
}

.mega-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--blue-600);
  transition: gap 0.22s ease;
}

.mega-footer__link:hover {
  gap: 8px;
}

.mega-footer__link svg {
  width: 14px;
  height: 14px;
}

/* Header Right Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 8px;
  border-radius: 9px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color var(--ease), background var(--ease);
}

.header__phone-pill:hover {
  border-color: rgba(168, 118, 40, 0.45);
  background: #f2f7fd;
}

.phone-pill__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue-600);
  display: grid;
  place-items: center;
}

.phone-pill__icon svg {
  width: 14px;
  height: 14px;
}

.phone-pill__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.phone-pill__text small {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-600);
}

.phone-pill__text strong {
  font-size: 0.86rem;
  color: var(--navy-900);
}

/* Header Reading Progress Line */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.header-progress__bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--bronze-400));
  transition: width 0.08s linear;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 18px 36px rgba(11, 44, 36, 0.12);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__inner {
  padding: 16px 0 24px;
  display: grid;
  gap: 4px;
}

.mobile-link {
  padding: 11px 10px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy-900);
  transition: background var(--ease);
}

.mobile-link:hover {
  background: var(--bg-soft);
}

.mobile-drawer__actions {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

/* ==========================================================================
   Executive Hero Banner Slider
   ========================================================================== */

.hero-slider {
  position: relative;
  background: var(--navy-900);
  color: #fff;
}

.slider-viewport {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  position: relative;
  min-height: 500px;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 26%;
  overflow: hidden;
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.05) saturate(1.1) brightness(0.98);
  transform: scale(1.045);
  transition: transform 6.5s ease-out;
}

.hero-slide.is-active .hero-slide__media img {
  transform: scale(1);
}

.hero-slide__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(216, 178, 93, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(7, 30, 24, 0.08) 0%, rgba(7, 30, 24, 0) 48%, rgba(7, 30, 24, 0.56) 100%),
    linear-gradient(90deg,
      var(--navy-900) 0%,
      rgba(11, 44, 36, 0.92) 18%,
      rgba(11, 44, 36, 0.44) 44%,
      rgba(11, 44, 36, 0.12) 74%,
      rgba(11, 44, 36, 0.02) 100%);
}

.hero-slide__inner {
  position: relative;
  z-index: 3;
  padding: 64px 0;
}

.hero-slide__content {
  max-width: 580px;
}

.slide-kicker {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bronze-400);
  margin-bottom: 14px;
}

.hero-slide__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.85vw, 3.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  color: #fff;
}

.hero-slide__content h1 span {
  color: var(--bronze-400);
}

.hero-slide__content p {
  margin: 0 0 28px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #e2ede8;
  max-width: 530px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Slider Side Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 44, 36, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.slider-arrow:hover {
  background: rgba(168, 118, 40, 0.92);
  border-color: transparent;
}

.slider-arrow--prev {
  left: 20px;
}

.slider-arrow--next {
  right: 20px;
}

/* Bottom Slide Tabs Bar */
.slider-nav-bar {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.slider-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #9ab0a8;
  font-weight: 600;
  font-size: 0.89rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--ease), background var(--ease);
}

.slider-tab:last-child {
  border-right: none;
}

.slider-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.slider-tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.slider-tab__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--bronze-400);
  font-size: 0.85rem;
}

.slider-tab__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
  overflow: hidden;
}

.slider-tab__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--bronze-400);
}

.slider-tab.is-active .slider-tab__bar i {
  animation: slideProgress var(--slide-duration) linear forwards;
}

.hero-slider.is-paused .slider-tab.is-active .slider-tab__bar i {
  animation-play-state: paused;
}

@keyframes slideProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ==========================================================================
   Unified Quick Matcher & Trust Metrics Hub
   ========================================================================== */

.funding-hub {
  background: linear-gradient(180deg, #f1f5f2 0%, #ffffff 100%);
  padding: 36px 0 44px;
}

.matcher-card {
  background: #fff;
  border: 1px solid #dce4de;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 38px rgba(11, 44, 36, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.matcher-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 11px 22px;
  background: #f4f7f5;
  border-bottom: 1px solid var(--border);
}

.matcher-card__title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.matcher-card__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bronze-500);
}

.matcher-card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-600);
  font-weight: 500;
}

.matcher-card__trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.matcher-card__trust svg {
  width: 14px;
  height: 14px;
  color: var(--green-600);
}

.matcher-bar {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr auto;
  align-items: stretch;
  padding: 10px 14px;
  gap: 8px;
}

.matcher-col {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-right: 1px solid var(--border);
  border-radius: 8px;
  transition: background var(--ease);
}

.matcher-col:hover {
  background: var(--bg-soft);
}

.matcher-col:last-of-type {
  border-right: none;
}

.matcher-col__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.matcher-col__icon svg {
  width: 18px;
  height: 18px;
}

.matcher-col__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.matcher-col__body label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-400);
  margin-bottom: 2px;
}

.matcher-col__body select {
  width: 100%;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy-900);
  outline: none;
  cursor: pointer;
  padding: 0;
}

.matcher-submit {
  min-height: 54px;
  padding-inline: 26px;
  border-radius: 10px;
}

/* Structured Stat Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(168, 118, 40, 0.45);
}

.metric-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.metric-card:hover .metric-card__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
}

.metric-card__icon--bronze {
  background: #faf3e6;
  color: var(--bronze-600);
}

.metric-card__icon svg {
  width: 21px;
  height: 21px;
}

.metric-card__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
}

.metric-card__text strong .counter {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.metric-card__text>span {
  display: block;
  margin-top: 3px;
  font-size: 0.83rem;
  color: var(--text-600);
}

/* ==========================================================================
   Financing Solutions (Interactive Cards + Animations + Compare View)
   ========================================================================== */

.solutions-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 17px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-600);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}

.filter-btn:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(11, 44, 36, 0.16);
}

.view-switcher {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: #e8efeb;
  border: 1px solid var(--border);
  gap: 4px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-600);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.view-btn svg {
  width: 15px;
  height: 15px;
}

.view-btn.is-active {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(11, 44, 36, 0.08);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solutions-grid.is-hidden,
.compare-table-wrap.is-hidden {
  display: none;
}

.loan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.loan-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--bronze-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.loan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(11, 44, 36, 0.1);
  border-color: rgba(168, 118, 40, 0.4);
}

.loan-card:hover::after,
.loan-card--featured::after {
  transform: scaleX(1);
}

.loan-card--featured {
  border-color: rgba(168, 118, 40, 0.38);
  box-shadow: 0 12px 30px rgba(168, 118, 40, 0.12);
}

.loan-card.is-hidden {
  display: none;
}

.loan-card.is-filtering {
  animation: cardFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.loan-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.loan-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.loan-card:hover .loan-card__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
  transform: scale(1.06);
}

.loan-card__icon svg {
  width: 21px;
  height: 21px;
}

.loan-card__tag {
  padding: 5px 10px;
  border-radius: 6px;
  background: #faf7f0;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bronze-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.loan-card__tag--popular {
  background: var(--blue-50);
  border-color: rgba(168, 118, 40, 0.35);
  color: var(--bronze-600);
}

.loan-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy-900);
}

.loan-card p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-600);
  flex-grow: 1;
}

.loan-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #f4f7f4;
  border: 1px solid #e2e9e4;
  margin-bottom: 14px;
}

.loan-card__specs span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-500);
  font-weight: 600;
  margin-bottom: 2px;
}

.loan-card__specs strong {
  font-size: 0.84rem;
  color: var(--navy-900);
}

/* Inline Key Benefits Drawer */
.card-benefits {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.card-benefits__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px;
  border: none;
  background: transparent;
  color: var(--navy-900);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--ease);
}

.card-benefits__toggle:hover {
  color: var(--blue-600);
}

.card-benefits__toggle svg {
  width: 16px;
  height: 16px;
  color: var(--blue-600);
  transition: transform 0.25s ease;
}

.card-benefits.is-open .card-benefits__toggle svg {
  transform: rotate(180deg);
}

.card-benefits__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.card-benefits.is-open .card-benefits__panel {
  max-height: 140px;
}

.card-benefits__panel ul {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: grid;
  gap: 5px;
}

.card-benefits__panel li {
  position: relative;
  padding-left: 18px;
  font-size: 0.83rem;
  color: var(--text-600);
}

.card-benefits__panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

.loan-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loan-card__foot .btn {
  flex: 1;
}

.btn-arrow svg {
  transition: transform 0.25s ease;
}

.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* Compare Table View */
.compare-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  animation: cardFadeIn 0.35s ease both;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 15px 18px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-600);
}

.compare-table td strong {
  color: var(--navy-900);
}

.compare-table tbody tr {
  transition: background var(--ease);
}

.compare-table tbody tr:hover {
  background: #faf7f0;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.btn--sm {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.btn--xs {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* ==========================================================================
   How It Works (Connected Animated Journey)
   ========================================================================== */

.process-stage {
  position: relative;
  padding-top: 16px;
}

.process-track {
  position: relative;
  height: 4px;
  width: calc(66.666% + 28px);
  margin: 0 auto 28px;
  background: #dde6e2;
  border-radius: 999px;
  overflow: hidden;
}

.process-track__fill {
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--bronze-400));
  transition: width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--bronze-400));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover,
.step-card.is-active {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(11, 44, 36, 0.09);
  border-color: rgba(168, 118, 40, 0.45);
}

.step-card:hover::after,
.step-card.is-active::after {
  transform: scaleX(1);
}

.step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-card__num {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.step-card.is-active .step-card__num {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.step-card.is-active .step-card__num::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(168, 118, 40, 0.45);
  animation: stepPulse 2s ease-out infinite;
}

@keyframes stepPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.step-card__time {
  padding: 5px 10px;
  border-radius: 999px;
  background: #faf7f0;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bronze-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.step-card:hover .step-card__icon,
.step-card.is-active .step-card__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
  transform: scale(1.06);
}

.step-card__icon svg {
  width: 22px;
  height: 22px;
}

.step-card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.13rem;
  color: var(--navy-900);
}

.step-card p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-600);
  flex-grow: 1;
}

.step-card__foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

.step-card__foot svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
}

/* Process Bottom Action Strip */
.process-cta-bar {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: #f4f7f4;
  border: 1px solid #dce4de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.process-live-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bronze-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.process-cta-bar__info p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}

.process-cta-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Advisory Section (Architectural Frame + Interactive Pillars)
   ========================================================================== */

.advisory-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.advisory-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 52px;
  align-items: center;
}

.advisory-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #07221c;
  box-shadow: 0 26px 56px rgba(5, 22, 17, 0.42);
}

.advisory-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze-400), var(--blue-600));
  z-index: 3;
}

.advisory-photo-wrap {
  overflow: hidden;
}

.advisory-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.advisory-frame:hover .advisory-photo {
  transform: scale(1.035);
}

.advisory-location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(7, 30, 24, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
  animation: liveBlink 2.2s ease-in-out infinite;
}

@keyframes liveBlink {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.04);
  }
}

.location-addr {
  font-size: 0.79rem;
  color: var(--bronze-400);
  font-weight: 600;
}

.advisory-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.9vw, 2.3rem);
  line-height: 1.16;
  margin: 0 0 12px;
}

.advisory-lead {
  margin: 0 0 24px;
  color: #cad7d2;
  font-size: 0.98rem;
}

/* 2x2 Pillar Cards */
.advisory-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.advisory-pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, border-color 0.28s ease;
}

.advisory-pillar:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(209, 169, 98, 0.45);
}

.advisory-pillar__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(209, 169, 98, 0.16);
  color: var(--bronze-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.advisory-pillar:hover .advisory-pillar__icon {
  background: var(--bronze-400);
  color: var(--navy-950);
  transform: scale(1.06);
}

.advisory-pillar__icon svg {
  width: 18px;
  height: 18px;
}

.advisory-pillar h3 {
  margin: 0 0 2px;
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
}

.advisory-pillar span {
  display: block;
  font-size: 0.79rem;
  color: #9ab0a8;
  line-height: 1.35;
}

.advisory-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--bronze-400);
}

.advisory-kicker {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ab0a8;
  margin-bottom: 3px;
}

.advisory-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--bronze-400);
  transition: color var(--ease);
}

.advisory-phone:hover {
  color: #edd092;
}

.advisory-alt {
  display: block;
  font-size: 0.82rem;
  color: #cad7d2;
  margin-top: 2px;
}

.advisory-alt a:hover {
  color: #fff;
  text-decoration: underline;
}

.advisory-contact-box__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sheen {
  position: relative;
  overflow: hidden;
}

.btn-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-sheen:hover::after {
  left: 140%;
}

/* ==========================================================================
   Industries (Interactive Cards + Live Sector Spotlight)
   ========================================================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.industry-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-600), var(--bronze-400));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-tile:hover,
.industry-tile.is-active {
  transform: translateY(-4px);
  border-color: rgba(168, 118, 40, 0.45);
  box-shadow: 0 14px 28px rgba(11, 44, 36, 0.08);
  background: #fffefb;
}

.industry-tile:hover::before,
.industry-tile.is-active::before {
  transform: scaleY(1);
}

.industry-tile__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.industry-tile:hover .industry-tile__icon,
.industry-tile.is-active .industry-tile__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
  transform: scale(1.06);
}

.industry-tile__icon svg {
  width: 20px;
  height: 20px;
}

.industry-tile__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.industry-tile__body strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.industry-tile__body span {
  font-size: 0.76rem;
  color: var(--text-400);
  font-weight: 500;
  margin-top: 2px;
}

.industry-tile__arrow {
  width: 15px;
  height: 15px;
  color: var(--blue-600);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.industry-tile:hover .industry-tile__arrow,
.industry-tile.is-active .industry-tile__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Live Sector Spotlight Bar */
.industry-spotlight {
  margin-top: 26px;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f4f7f4 0%, #ffffff 100%);
  border: 1px solid #dce4de;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.industry-spotlight__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--blue-50);
  border: 1px solid rgba(168, 118, 40, 0.25);
  color: var(--bronze-600);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.industry-spotlight__info h3 {
  font-family: var(--font-display);
  margin: 0 0 3px;
  font-size: 1.16rem;
  color: var(--navy-900);
}

.industry-spotlight__info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-600);
}

/* ==========================================================================
   FAQs (Balanced Two-Column Layout + Animated Accordion)
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 48px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 102px;
}

.faq-sidebar h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.9vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--navy-900);
}

.faq-sidebar__lead {
  margin: 0 0 24px;
  color: var(--text-600);
  font-size: 0.97rem;
}

.faq-help-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: #fff;
  border-top: 3px solid var(--bronze-400);
  box-shadow: var(--shadow-md);
}

.faq-help-card__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bronze-400);
  margin-bottom: 6px;
}

.faq-help-card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.faq-help-card p {
  margin: 0 0 18px;
  font-size: 0.89rem;
  color: #cad7d2;
}

.faq-help-card__meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-help-card__meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #eef5f2;
  transition: color var(--ease);
}

.faq-help-card__meta a:hover {
  color: var(--bronze-400);
}

.faq-help-card__meta svg {
  width: 15px;
  height: 15px;
  color: var(--bronze-400);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(168, 118, 40, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
  border-color: rgba(168, 118, 40, 0.4);
  border-left-color: var(--blue-600);
  box-shadow: 0 12px 28px rgba(11, 44, 36, 0.07);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-q__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-num {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--bronze-600);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-item.is-open .faq-num {
  background: var(--blue-50);
  border-color: rgba(168, 118, 40, 0.35);
  color: var(--bronze-600);
}

.faq-plus-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.faq-item.is-open .faq-plus-wrap {
  background: var(--navy-900);
}

.faq-plus {
  position: relative;
  width: 12px;
  height: 12px;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--bronze-600);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.25s ease;
}

.faq-item.is-open .faq-plus::before,
.faq-item.is-open .faq-plus::after {
  background: var(--bronze-400);
}

.faq-plus::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.faq-plus::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-plus::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-a {
  max-height: 200px;
}

.faq-a p {
  margin: 0;
  padding: 0 20px 20px 60px;
  font-size: 0.92rem;
  color: var(--text-600);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease 0.05s, transform 0.28s ease 0.05s;
}

.faq-item.is-open .faq-a p {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Clean Executive Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, #0a2821 0%, #061813 100%);
  color: #cad7d2;
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.85fr 1.15fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand--footer .brand__name {
  color: #fff;
}

.brand--footer .brand__tagline {
  color: var(--bronze-400);
}

.brand--footer .brand__divider {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.footer-brand__desc {
  margin: 14px 0 0;
  font-size: 0.89rem;
  color: #9ab0a8;
  max-width: 260px;
  line-height: 1.55;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col ul a {
  display: inline-block;
  font-size: 0.87rem;
  color: #9ab0a8;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-col ul a:hover {
  color: var(--bronze-400);
  transform: translateX(3px);
}

.footer-contact-list {
  display: grid;
  gap: 9px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: #cad7d2;
  transition: color 0.22s ease;
}

a.footer-contact-item:hover {
  color: var(--bronze-400);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--bronze-400);
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 20px;
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.81rem;
  color: #9ab0a8;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  transition: color var(--ease);
}

.footer-legal-links a:hover {
  color: var(--bronze-400);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #dde6e2;
}

.back-to-top svg {
  width: 14px;
  height: 14px;
  transition: transform 0.22s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   Modals
   ========================================================================== */

[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 24, 0.7);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(510px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.modal__dialog--sm {
  width: min(460px, 100%);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-600);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal__head h2 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  color: var(--navy-900);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.wizard-step {
  padding: 8px;
  border-radius: 7px;
  background: var(--bg-soft);
  color: var(--text-600);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.wizard-step.is-active {
  background: var(--blue-50);
  color: var(--blue-600);
}

.wizard-step.is-complete {
  background: var(--green-100);
  color: var(--green-600);
}

.wizard-pane {
  display: none;
}

.wizard-pane.is-active {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--navy-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  font: inherit;
  color: var(--text-900);
  outline: none;
  transition: border-color var(--ease), background var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-600);
  background: #fff;
}

.wizard-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.form-error {
  color: #dc2626;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 18px;
  margin: 0 0 10px;
}

.wizard-success {
  text-align: center;
}

.wizard-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.wizard-success__btns {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.modal-desc {
  color: var(--text-600);
  margin: 8px 0 16px;
  font-size: 0.94rem;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.modal-specs span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-600);
}

.modal-specs strong {
  font-size: 0.84rem;
}

.modal-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--text-600);
}

.modal-benefits li::before {
  content: "\2713  ";
  color: var(--green-600);
  font-weight: 700;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints (Desktop -> Tablet -> Mobile)
   ========================================================================== */

@media (max-width: 1180px) {
  .slider-arrow {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header__inner {
    gap: 12px;
  }

  .brand__logo {
    height: 54px;
  }

  .main-nav {
    gap: 4px;
  }

  .nav-link {
    padding: 10px 10px;
    font-size: 0.89rem;
  }
}

@media (max-width: 1024px) {
  .matcher-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .matcher-col {
    border-right: none;
    border: 1px solid var(--border);
  }

  .matcher-submit {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advisory-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-sidebar {
    position: static;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 78px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .top-strip__hide-sm {
    display: none;
  }

  .top-strip__inner {
    justify-content: center;
    min-height: 34px;
    padding: 4px 0;
  }

  .top-strip__right {
    justify-content: center;
    gap: 10px;
  }

  .header__inner {
    height: 68px;
  }

  .brand__logo {
    height: 50px;
  }

  .hero-slide.is-active,
  .slider-viewport {
    min-height: auto;
  }

  .hero-slide {
    flex-direction: column;
  }

  .hero-slide__media {
    position: relative;
    left: 0;
    width: 100%;
    height: 245px;
  }

  .hero-slide__media img {
    object-position: center 20%;
  }

  .hero-slide__scrim {
    background:
      radial-gradient(circle at 75% 22%, rgba(216, 178, 93, 0.12), transparent 55%),
      linear-gradient(180deg, rgba(11, 44, 36, 0.05) 30%, rgba(11, 44, 36, 0.72) 82%, var(--navy-900) 100%);
  }

  .hero-slide__inner {
    padding: 24px 0 34px;
  }

  .slider-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .slider-tab {
    padding: 11px 8px;
    font-size: 0.78rem;
  }

  .process-track {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive Compare Table -> Stacked Mobile Cards */
@media (max-width: 820px) {
  .compare-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody {
    display: grid;
    gap: 14px;
  }

  .compare-table tr {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--bronze-500);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-xs);
  }

  .compare-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-align: right;
    font-size: 0.87rem;
  }

  .compare-table td::before {
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-400);
    text-align: left;
  }

  .compare-table td:first-child {
    font-size: 1rem;
    padding-top: 2px;
  }

  .compare-table td.compare-table__cta {
    border-bottom: none;
    padding: 12px 0 2px;
  }

  .compare-table td.compare-table__cta::before {
    display: none;
  }

  .compare-table td.compare-table__cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .header__actions .btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .hero-slide__media {
    height: 195px;
  }

  .hero-slide__content h1 {
    font-size: clamp(1.68rem, 6.2vw, 2.1rem);
  }

  .hero-slide__content p {
    font-size: 0.94rem;
    margin-bottom: 20px;
  }

  .slide-actions {
    flex-direction: column;
  }

  .slide-actions .btn {
    width: 100%;
  }

  .slider-tab {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    padding: 10px 6px;
  }

  .slider-tab__label {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .funding-hub {
    padding: 24px 0 34px;
  }

  .matcher-card__head {
    padding: 12px 16px;
    gap: 8px;
  }

  .matcher-card__trust {
    gap: 10px 14px;
    font-size: 0.75rem;
  }

  .matcher-bar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .matcher-col__body select,
  .form-field input,
  .form-field select {
    font-size: 16px;
  }

  .metrics-grid {
    gap: 10px;
  }

  .metric-card {
    padding: 14px;
    gap: 11px;
  }

  .metric-card__icon {
    width: 38px;
    height: 38px;
  }

  .metric-card__text strong {
    font-size: 1.2rem;
  }

  .metric-card__text>span {
    font-size: 0.76rem;
  }

  .solutions-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .filter-btn {
    padding: 9px 10px;
    font-size: 0.82rem;
    text-align: center;
  }

  .view-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .view-btn {
    justify-content: center;
  }

  .solutions-grid,
  .advisory-pillars,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .loan-card,
  .step-card {
    padding: 20px;
  }

  .process-cta-bar,
  .industry-spotlight,
  .advisory-contact-box {
    padding: 18px;
  }

  .process-cta-bar__actions,
  .advisory-contact-box__btns,
  .industry-spotlight__actions {
    width: 100%;
    flex-direction: column;
  }

  .process-cta-bar__actions .btn,
  .advisory-contact-box__btns .btn,
  .industry-spotlight__actions .btn {
    width: 100%;
  }

  .advisory-location-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
  }

  .industries-grid {
    gap: 10px;
  }

  .industry-tile {
    padding: 12px;
    gap: 10px;
  }

  .industry-tile__icon {
    width: 36px;
    height: 36px;
  }

  .industry-tile__body strong {
    font-size: 0.82rem;
  }

  .industry-tile__body span,
  .industry-tile__arrow {
    display: none;
  }

  .faq-q {
    padding: 15px 16px;
    font-size: 0.92rem;
  }

  .faq-a p {
    padding: 0 16px 16px;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal {
    padding: 12px;
  }

  .modal__dialog {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .wizard-steps {
    gap: 6px;
  }

  .wizard-step {
    font-size: 0.72rem;
    padding: 7px 4px;
  }

  .modal-specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand__tagline {
    display: none;
  }

  .site-header .brand__divider {
    height: 22px;
  }

  .site-header .brand__name {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn {
    padding: 8px 12px;
    font-size: 0.81rem;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  .top-strip__right {
    font-size: 0.72rem;
    gap: 8px;
  }

  .brand__logo {
    height: 44px;
  }

  .metrics-grid,
  .industries-grid,
  .modal-specs,
  .loan-card__specs {
    grid-template-columns: 1fr;
  }

  .loan-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-link {
    text-align: center;
  }
}

/* ==========================================================================
   About Us Page & Active Mobile Drawer Link
   ========================================================================== */

.mobile-link.is-active {
  background: var(--blue-50);
  color: var(--navy-900);
  border: 1px solid rgba(168, 118, 40, 0.25);
}

/* Editorial About Hero */
.page-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.page-hero__media {
  left: 28%;
}

@keyframes pageHeroSettle {
  from {
    transform: scale(1.045);
  }

  to {
    transform: scale(1);
  }
}

.page-hero__media img {
  animation: pageHeroSettle 6.5s ease-out forwards;
}

.media-focus-center img {
  object-position: center 48%;
}

.page-hero__inner {
  position: relative;
  z-index: 3;
  padding: 58px 0 82px;
}

.page-hero__content {
  max-width: 590px;
}

.page-hero .slide-kicker {
  display: block;
}

/* Floating Proof Bar Under Hero */
.about-proof-hub {
  position: relative;
  z-index: 6;
  margin-top: -36px;
  padding-bottom: 12px;
}

.about-proof-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-proof-item {
  padding: 20px 22px;
  text-align: center;
  position: relative;
}

.about-proof-item+.about-proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border);
}

.about-proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.about-proof-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-500);
}

/* Mission & Purpose Split */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.about-story-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.65vw, 2.3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0 0 16px;
}

.about-story-lead {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-900);
  line-height: 1.62;
  margin: 0 0 12px;
}

.about-story-text {
  font-size: 0.99rem;
  color: var(--text-700);
  line-height: 1.68;
  margin: 0 0 24px;
}

.about-uses-label {
  font-family: var(--font-display);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 12px;
}

.about-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-use-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.about-use-item:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 118, 40, 0.35);
  background: #fff;
}

.about-use-item__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-50);
  border: 1px solid rgba(168, 118, 40, 0.24);
  color: var(--bronze-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.about-use-item:hover .about-use-item__icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--bronze-400);
}

.about-use-item__icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.about-use-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.about-use-item>div>span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--text-600);
}

/* Why Choose DreamBizCap 6 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 118, 40, 0.38);
}

.about-pillar-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.about-pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  transition: background var(--ease), color var(--ease);
}

.about-pillar-card:hover .about-pillar-card__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
}

.about-pillar-card__icon svg {
  width: 20px;
  height: 20px;
}

.about-pillar-card__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bronze-500);
  opacity: 0.8;
}

.about-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.about-pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-500);
}

/* Solutions & Desk CTA Band */
.about-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.about-cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  margin: 0 0 14px;
}

.about-cta-copy p {
  font-size: 0.98rem;
  color: #c8dad3;
  margin: 0 0 22px;
  max-width: 520px;
}

.about-program-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.about-program-pill {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #eef5f2;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.about-program-pill:hover {
  background: rgba(216, 178, 93, 0.16);
  border-color: var(--bronze-400);
  color: #fff;
  transform: translateY(-1px);
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-desk-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 30, 24, 0.85);
  box-shadow: 0 24px 52px rgba(5, 22, 17, 0.38);
}

.about-desk-photo {
  height: 190px;
  overflow: hidden;
}

.about-desk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.about-desk-box {
  margin-top: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Responsive Breakpoints for About Us */
@media (max-width: 1024px) {

  .about-story-grid,
  .about-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero__media {
    position: relative;
    left: 0;
    width: 100%;
    height: 235px;
  }

  .page-hero__inner,
  .page-hero__legal-inner {
    padding: 24px 0 42px;
  }

  .about-proof-hub {
    margin-top: -22px;
  }

  .about-proof-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-proof-item:nth-child(3)::before {
    display: none;
  }

  .about-proof-item:nth-child(1),
  .about-proof-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .page-hero__media {
    height: 210px;
  }

  .about-use-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar-card {
    padding: 20px;
  }

  .about-cta-actions .btn {
    width: 100%;
  }

  .about-desk-photo {
    height: 165px;
  }
}

@media (max-width: 420px) {
  .about-proof-card {
    grid-template-columns: 1fr;
  }

  .about-proof-item+.about-proof-item::before {
    display: none;
  }

  .about-proof-item+.about-proof-item {
    border-top: 1px solid var(--border);
  }

  .about-proof-item:nth-child(1),
  .about-proof-item:nth-child(2) {
    border-bottom: none;
  }
}

/* ==========================================================================
   Contact Us Page Layout & Responsive Styling
   ========================================================================== */

.contact-channels-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  position: relative;
  min-width: 0;
  transition: background var(--ease);
}

.contact-channel-item:hover {
  background: var(--bg-soft);
}

.contact-channel-item+.contact-channel-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}

.contact-channel-item__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--bronze-600);
  display: grid;
  place-items: center;
  transition: background var(--ease), color var(--ease);
}

.contact-channel-item:hover .contact-channel-item__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
}

.contact-channel-item__icon svg {
  width: 19px;
  height: 19px;
}

.contact-channel-item__body {
  min-width: 0;
}

.contact-channel-item__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-500);
  margin-bottom: 2px;
}

.contact-channel-item__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.contact-channel-item__body strong a:hover {
  color: var(--bronze-600);
}

.contact-channel-item__sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-500);
  margin-top: 2px;
}

.contact-channel-item__sub a:hover {
  color: var(--navy-900);
}

/* Contact Workspace Grid */
.contact-workspace {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: start;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.contact-form-card__sub {
  margin: 0 0 24px;
  font-size: 0.94rem;
  color: var(--text-500);
}

.contact-form-success {
  text-align: center;
  padding: 18px 8px 6px;
}

.contact-form-success[hidden],
.contact-form[hidden] {
  display: none;
}

.contact-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.contact-form-success p {
  margin: 0 0 20px;
  color: var(--text-500);
  font-size: 0.94rem;
}

.contact-form-success__actions {
  display: grid;
  gap: 10px;
}

/* Architectural Emerald Info Panel */
.contact-info-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 52px rgba(5, 22, 17, 0.24);
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze-400), var(--blue-600));
  z-index: 3;
}

.contact-info-panel__inner {
  position: relative;
  z-index: 2;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  color: #eef5f2;
  margin-bottom: 18px;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}

.contact-info-panel__lead {
  font-size: 0.92rem;
  color: #c8dad3;
  line-height: 1.6;
  margin: 0 0 22px;
}

.contact-detail-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

a.contact-detail-row:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--bronze-400);
  transform: translateY(-1px);
}

.contact-detail-row__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(216, 178, 93, 0.16);
  color: var(--bronze-400);
  display: grid;
  place-items: center;
}

.contact-detail-row__icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-row span small {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  color: #a9bfb7;
}

.contact-detail-row span strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-info-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact Headquarters Map Section */
.contact-map-section {
  padding: 64px 0;
}

.contact-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-map-head__copy .eyebrow {
  margin-bottom: 8px;
}

.contact-map-head__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.contact-map-head__copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-600);
}

.contact-map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.contact-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  height: 410px;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-bar {
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #e4eeea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-map-bar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: #c5d7d0;
}

.contact-map-bar__addr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-map-bar__left strong {
  color: #fff;
  font-weight: 700;
}

.contact-map-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bronze-400);
  transition: color var(--ease), transform var(--ease);
}

.contact-map-bar__link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.contact-map-bar__link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive Breakpoints for Contact Us */
@media (max-width: 1024px) {
  .contact-workspace {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .contact-channels-card {
    grid-template-columns: 1fr;
  }

  .contact-channel-item+.contact-channel-item::before {
    display: none;
  }

  .contact-channel-item+.contact-channel-item {
    border-top: 1px solid var(--border);
  }

  .contact-map-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-map-frame {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .form-field textarea {
    font-size: 16px;
  }

  .contact-channel-item {
    padding: 16px 18px;
  }

  .contact-form-card,
  .contact-info-panel {
    padding: 22px 18px;
  }

  .contact-info-panel__actions {
    flex-direction: column;
  }

  .contact-info-panel__actions .btn {
    width: 100%;
  }

  .contact-map-section {
    padding: 48px 0;
  }

  .contact-map-card {
    padding: 8px;
  }

  .contact-map-frame {
    height: 280px;
  }

  .contact-map-bar {
    padding: 12px 14px;
  }

  .contact-map-bar__sep {
    display: none;
  }
}

/* ==========================================================================
   Privacy Policy & Terms Legal Document Pages
   ========================================================================== */

.page-hero--legal {
  min-height: 360px;
  background: var(--navy-900);
}

.page-hero--legal .advisory-bg-grid {
  opacity: 0.35;
  z-index: 2;
}

.page-hero__legal-inner {
  position: relative;
  z-index: 3;
  padding: 54px 0 60px;
}

.page-hero__legal-content {
  max-width: 600px;
}

.page-hero__legal-content p {
  margin-bottom: 18px;
}

.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #b7cbc4;
}

.legal-hero-meta a {
  color: var(--bronze-400);
  transition: color var(--ease);
}

.legal-hero-meta a:hover {
  color: #fff;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.legal-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-toc__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 12px;
}

.legal-toc__list {
  display: grid;
  gap: 4px;
}

.legal-toc__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-700);
  transition: background var(--ease), color var(--ease);
}

.legal-toc__list a span {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--bronze-500);
  min-width: 20px;
}

.legal-toc__list a:hover {
  background: var(--blue-50);
  color: var(--navy-900);
}

.legal-support-card {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.legal-support-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
}

.legal-support-card p {
  font-size: 0.86rem;
  color: #c8dad3;
  margin: 0 0 16px;
}

.legal-doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.legal-intro {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-900);
  padding-bottom: 22px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
  padding-bottom: 14px;
}

.legal-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.legal-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--bronze-600);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.legal-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.85vw, 1.44rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
}

.legal-section p {
  margin: 0 0 12px;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--text-700);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-split-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.legal-subbox {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.legal-subbox h3 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.legal-list:last-child {
  margin-bottom: 0;
}

.legal-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-700);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze-500);
}

.legal-callout {
  background: var(--blue-50);
  border-left: 4px solid var(--bronze-500);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
  margin: 12px 0 14px;
}

.legal-inline-link {
  color: var(--bronze-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-inline-link:hover {
  color: var(--navy-900);
}

.legal-doc-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Responsive Breakpoints for Legal Pages */
@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-toc__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

@media (max-width: 820px) {
  .legal-doc-card {
    padding: 28px 24px;
  }

  .legal-split-lists {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero__legal-inner {
    padding: 36px 0 40px;
  }

  .legal-toc__list {
    grid-template-columns: 1fr;
  }

  .legal-doc-card {
    padding: 22px 18px;
  }

  .legal-doc-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-doc-footer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Dedicated Service Pages Layout & Active Mega-Item State
   ========================================================================== */

.nav-dropdown-trigger.is-active {
  color: var(--navy-900);
}

.mega-item.is-current {
  background: var(--blue-50);
  border-color: rgba(168, 118, 40, 0.38);
}

.mega-item.is-current .mega-item__icon {
  background: var(--navy-900);
  color: var(--bronze-400);
}

#overview.section {
  padding: 68px 0 76px;
}

.service-overview-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.service-overview-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fbf6ea;
  border: 1px solid rgba(168, 118, 40, 0.28);
  color: var(--bronze-600);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.service-overview-copy .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze-500);
}

.service-overview-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.55vw, 2.32rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0 0 14px;
}

.service-overview-copy p {
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--text-600);
  max-width: 560px;
  margin: 0 0 24px;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.service-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #ffffff;
  border: 1px solid #dde6e1;
  border-left: 3px solid var(--bronze-500);
  border-radius: 12px;
  padding: 15px 16px;
  box-shadow: 0 4px 14px rgba(11, 44, 36, 0.045);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.service-benefit-card:hover {
  transform: translateY(-2px);
  background: #fcfefd;
  border-color: rgba(168, 118, 40, 0.45);
  border-left-color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(11, 44, 36, 0.08);
}

.service-benefit-card__check {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #115442 0%, #0b2c24 100%);
  border: 1px solid rgba(216, 178, 93, 0.35);
  color: #e4c36f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: 0 4px 10px rgba(11, 44, 36, 0.14);
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.service-benefit-card:hover .service-benefit-card__check {
  background: linear-gradient(135deg, #a36b14 0%, #82510b 100%);
  border-color: rgba(228, 195, 111, 0.55);
  color: #ffffff;
  transform: scale(1.05);
}

.service-benefit-card__check svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 2.3;
}

.service-benefit-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.service-benefit-card>div>span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-600);
}

.service-overview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Light-Surface Architectural Showcase Card */
.service-showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 22px 48px rgba(7, 30, 24, 0.11);
}

.service-showcase-photo-wrap {
  overflow: hidden;
  background: var(--bg-soft);
}

.service-showcase-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.03) saturate(1.06);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-showcase-photo--center {
  object-position: center 48%;
}

.service-showcase-card:hover .service-showcase-photo {
  transform: scale(1.035);
}

.service-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-top: 2px solid var(--bronze-500);
}

/* Service Dark Qualification & Process Band */
.service-qual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 44px;
  align-items: center;
}

.service-qual-copy .eyebrow--bronze {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(216, 178, 93, 0.14);
  border: 1px solid rgba(216, 178, 93, 0.34);
  color: #f2d281;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.service-qual-copy .eyebrow--bronze::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze-400);
}

.service-qual-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.32rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 12px;
}

.service-qual-copy>p {
  font-size: 1rem;
  line-height: 1.64;
  color: #d5e4de;
  max-width: 520px;
  margin: 0 0 24px;
}

.service-steps {
  display: grid;
  gap: 12px;
}

.service-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.service-step-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 195, 111, 0.45);
}

.service-step-item__num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e4c36f 0%, #b5791b 100%);
  color: #071e18;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(181, 121, 27, 0.32);
}

.service-step-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.service-step-item>div>span {
  display: block;
  font-size: 0.87rem;
  line-height: 1.52;
  color: #cde0d9;
}

.service-checklist-box {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 4px solid var(--bronze-500);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: 0 28px 60px rgba(4, 18, 14, 0.36);
}

.service-checklist-box h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.service-checklist-box>p {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-600);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.service-req-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.service-req-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f5f8f6;
  border: 1px solid #e1e9e4;
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--navy-900);
}

.service-req-list li svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--green-600);
  stroke-width: 2.35;
}

.service-checklist-actions {
  display: grid;
  gap: 10px;
}

.service-checklist-box .btn--glass {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #c6d3cc;
  box-shadow: 0 2px 6px rgba(11, 44, 36, 0.05);
  backdrop-filter: none;
}

.service-checklist-box .btn--glass:hover {
  background: #f2f7f5;
  border-color: var(--navy-900);
  box-shadow: 0 6px 14px rgba(11, 44, 36, 0.09);
}

/* Other Programs Switcher Grid */
.service-switcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.service-switch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 118, 40, 0.4);
  box-shadow: var(--shadow-md);
}

.service-switch-card.is-current {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: rgba(216, 178, 93, 0.45);
  color: #fff;
}

.service-switch-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.service-switch-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-500);
}

.service-switch-card.is-current strong {
  color: #fff;
}

.service-switch-card.is-current span {
  color: #c2d6cf;
}

.service-switch-card__arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--bronze-600);
}

.service-switch-card.is-current .service-switch-card__arrow {
  color: var(--bronze-400);
}

/* Service Page Ideal Use Cases Grid (#ideal-for) */
#ideal-for.section {
  padding: 72px 0;
}

#ideal-for .section-head {
  max-width: 680px;
  margin-bottom: 38px;
}

#ideal-for .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(168, 118, 40, 0.28);
  color: var(--bronze-600);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

#ideal-for .section-head .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze-500);
}

#ideal-for .about-use-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: ideal-use;
}

#ideal-for .about-use-item {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #dde6e1;
  border-top: 3px solid var(--bronze-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: ideal-use;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

#ideal-for .about-use-item::after {
  content: "0" counter(ideal-use);
  position: absolute;
  top: 22px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bronze-600);
  background: #fbf6ea;
  border: 1px solid rgba(168, 118, 40, 0.24);
  padding: 3px 9px;
  border-radius: 999px;
}

#ideal-for .about-use-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 118, 40, 0.45);
  border-top-color: var(--navy-900);
}

#ideal-for .about-use-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #115442 0%, #0b2c24 100%);
  border: 1px solid rgba(216, 178, 93, 0.35);
  color: #e4c36f;
  box-shadow: 0 6px 14px rgba(11, 44, 36, 0.16);
  margin-bottom: 18px;
}

#ideal-for .about-use-item:hover .about-use-item__icon {
  background: linear-gradient(135deg, #a36b14 0%, #82510b 100%);
  border-color: rgba(228, 195, 111, 0.55);
  color: #ffffff;
}

#ideal-for .about-use-item__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

#ideal-for .about-use-item strong {
  font-size: 1.03rem;
  line-height: 1.28;
  margin-bottom: 7px;
  padding-right: 36px;
}

#ideal-for .about-use-item>div>span {
  font-size: 0.89rem;
  line-height: 1.56;
  color: var(--text-600);
}

/* Responsive Breakpoints for Dedicated Service Pages */
@media (max-width: 1024px) {

  .service-overview-grid,
  .service-qual-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #ideal-for .about-use-grid,
  .service-switcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {

  #overview.section,
  #ideal-for.section {
    padding: 46px 0 54px;
  }

  .service-benefits-grid,
  #ideal-for .about-use-grid,
  .service-switcher-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-benefit-card {
    padding: 14px 15px;
  }

  #ideal-for .about-use-item {
    padding: 20px 18px;
  }

  .service-overview-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-overview-actions .btn {
    width: 100%;
  }

  .service-showcase-bar {
    padding: 12px 15px;
  }

  .service-checklist-box {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   5-Step Business Funding Application Portal Modal (Lendtek-Aligned)
   ========================================================================== */

.modal__dialog--portal {
  width: min(980px, 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100dvh - 24px);
}

.portal-header {
  position: relative;
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 65%, var(--navy-800) 100%);
  color: #fff;
  padding: 10px 22px 8px;
  border-bottom: 1px solid rgba(216, 178, 93, 0.28);
  flex: 0 0 auto;
}

.portal-header .modal__close {
  top: 10px;
  right: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.portal-header .modal__close:hover {
  background: rgba(216, 178, 93, 0.25);
  border-color: var(--bronze-400);
}

.portal-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-right: 42px;
  margin-bottom: 6px;
}

.portal-header__top h2 {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.85vw, 1.38rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.portal-top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.portal-top-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cfe0d9;
}

.portal-top-badges span svg {
  width: 13px;
  height: 13px;
  color: var(--bronze-400);
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.portal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #a9bfb7;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.portal-tab__num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #dcebe5;
  font-size: 0.66rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.portal-tab.is-active {
  background: rgba(216, 178, 93, 0.18);
  border-color: var(--bronze-400);
  color: #fff;
}

.portal-tab.is-active .portal-tab__num {
  background: var(--bronze-400);
  color: var(--navy-950);
}

.portal-tab.is-complete {
  background: rgba(21, 92, 73, 0.65);
  border-color: rgba(110, 231, 183, 0.45);
  color: #e7f6f0;
}

.portal-tab.is-complete .portal-tab__num {
  background: #22c55e;
  color: #052e16;
}

.portal-body {
  padding: 12px 22px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.portal-body .form-field {
  margin-bottom: 7px;
}

.portal-body .form-field label {
  font-size: 0.76rem;
  margin-bottom: 3px;
}

.portal-body .form-field input,
.portal-body .form-field select {
  padding: 7px 10px;
  font-size: 0.87rem;
  background: #f7faf9;
  border: 1px solid #d5dfdb;
  border-radius: 8px;
}

.portal-body .form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%230b2c24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.portal-body .form-field input:focus,
.portal-body .form-field select:focus {
  border-color: var(--bronze-500);
  box-shadow: 0 0 0 3px rgba(168, 118, 40, 0.14);
  background: #fff;
}

.portal-body .form-field input.is-invalid,
.portal-body .form-field select.is-invalid {
  border-color: #dc2626;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error-msg {
  display: block;
  margin-top: 3px;
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.25;
  color: #dc2626;
}

.portal-pane {
  display: none;
}

.portal-pane.is-active {
  display: block;
}

.portal-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}

.portal-section-title h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.portal-req-note {
  font-size: 0.74rem;
  color: var(--text-500);
  font-weight: 600;
}

.portal-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-grid-4 {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.15fr 1fr;
  gap: 12px;
}

.portal-grid-owner-1 {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr;
  gap: 12px;
}

.portal-grid-owner-2 {
  display: grid;
  grid-template-columns: 0.72fr 1.15fr 1.1fr 0.82fr;
  gap: 12px;
}

.portal-amount-wrap {
  position: relative;
}

.portal-amount-wrap__prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--navy-900);
  pointer-events: none;
}

.portal-body .portal-amount-wrap input {
  padding-left: 24px;
}

.portal-check-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin: 2px 0 8px;
}

.portal-check-row.is-invalid {
  border-color: #dc2626;
  background: #fff8f8;
}

.portal-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--navy-900);
  flex: 0 0 auto;
  cursor: pointer;
}

.portal-check-row label {
  flex: 1 1 calc(100% - 26px);
  min-width: 0;
  font-size: 0.76rem;
  line-height: 1.38;
  color: var(--text-700);
  cursor: pointer;
  margin: 0;
}

.portal-check-row .field-error-msg {
  flex: 0 0 100%;
  margin-top: 0;
  padding-left: 24px;
}

.portal-check-row a {
  color: var(--bronze-600);
  font-weight: 700;
  text-decoration: underline;
}

.portal-inline-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bronze-600);
  cursor: pointer;
}

.portal-inline-copy input {
  width: 15px;
  height: 15px;
  accent-color: var(--navy-900);
}

.portal-section-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.portal-partner-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px 6px;
  margin-bottom: 12px;
}

.portal-partner-box[hidden] {
  display: none;
}

.portal-partner-box h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 10px;
}

/* Electronic Signature Card */
.portal-sign-card {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px 13px;
  margin-bottom: 6px;
}

.portal-sign-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.portal-sign-head h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.portal-sign-mode {
  display: inline-flex;
  background: var(--bg-soft);
  padding: 2px;
  border-radius: 7px;
  border: 1px solid var(--border);
  gap: 3px;
}

.portal-sign-mode button {
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-600);
  cursor: pointer;
}

.portal-sign-mode button.is-active {
  background: var(--navy-900);
  color: #fff;
}

.portal-sign-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.portal-sign-box {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  text-align: center;
}

.portal-sign-box small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-500);
  margin-bottom: 2px;
}

.portal-sign-cursive {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  min-height: 28px;
  word-break: break-word;
}

.portal-canvas-wrap {
  display: none;
}

.portal-canvas-wrap.is-active {
  display: block;
}

.portal-canvas {
  width: 100%;
  height: 54px;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--bg-soft);
  touch-action: none;
  cursor: crosshair;
  display: block;
}

.portal-canvas.is-invalid {
  border-color: #dc2626;
  background: #fff8f8;
}

.portal-canvas-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-500);
}

/* Step 4 Upload Documents */
.portal-dropzone {
  position: relative;
  border: 2px dashed rgba(168, 118, 40, 0.45);
  border-radius: var(--radius-md);
  background: var(--blue-50);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  margin-bottom: 12px;
}

.portal-dropzone:hover,
.portal-dropzone.is-dragover {
  background: #f8efd7;
  border-color: var(--bronze-500);
}

.portal-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.portal-dropzone__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--navy-900);
  color: var(--bronze-400);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}

.portal-dropzone__icon svg {
  width: 20px;
  height: 20px;
}

.portal-dropzone strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.portal-dropzone span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-500);
}

.portal-doc-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.portal-doc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.portal-doc-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.portal-doc-name svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex: 0 0 auto;
}

.portal-doc-name strong {
  display: block;
  font-size: 0.84rem;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-doc-name small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-500);
}

.portal-doc-card select {
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 0.78rem;
}

.portal-doc-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #dc2626;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Step 5 Approvals Receipt */
.portal-receipt {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 12px 0 14px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.portal-receipt div small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-500);
}

.portal-receipt div strong {
  display: block;
  font-size: 0.86rem;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.portal-approval-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.portal-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.portal-footer-bar {
  padding: 7px 22px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-600);
  flex: 0 0 auto;
}

.portal-footer-bar a {
  color: var(--navy-900);
  font-weight: 700;
}

/* Responsive Breakpoints for Portal Modal */
@media (max-width: 900px) {

  .portal-grid-3,
  .portal-grid-4,
  .portal-grid-owner-1,
  .portal-grid-owner-2,
  .portal-receipt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portal-tabs {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .portal-doc-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .modal {
    padding: 8px;
  }

  .modal__dialog--portal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  .portal-header {
    padding: 10px 12px 8px;
  }

  .portal-header .modal__close {
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .portal-header__top {
    min-height: 32px;
    padding-right: 38px;
    margin-bottom: 7px;
  }

  .portal-header__top h2 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .portal-top-badges {
    display: none;
  }

  .portal-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    padding-bottom: 0;
  }

  .portal-tab {
    min-width: 0;
    min-height: 36px;
    padding: 5px;
  }

  .portal-tab > span:not(.portal-tab__num) {
    display: none;
  }

  .portal-tab__num {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .portal-body {
    min-height: 0;
    padding: 12px 14px 18px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .portal-body .form-field input,
  .portal-body .form-field select,
  .portal-doc-card select {
    font-size: 16px;
    width: 100%;
  }

  .portal-grid-3,
  .portal-grid-4,
  .portal-grid-owner-1,
  .portal-grid-owner-2,
  .portal-receipt,
  .portal-approval-secondary {
    grid-template-columns: 1fr;
  }

  .portal-section-title {
    align-items: flex-start;
    gap: 3px 8px;
    margin-bottom: 10px;
    padding-bottom: 7px;
  }

  .portal-section-title h3 {
    flex: 1 1 100%;
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .portal-req-note {
    font-size: 0.68rem;
  }

  .portal-body .form-field {
    margin-bottom: 10px;
  }

  .portal-footer-bar {
    display: block;
    padding: 7px 12px;
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: center;
  }

  .portal-footer-bar span:last-child {
    display: none;
  }

  .portal-canvas {
    height: 74px;
  }

  .portal-actions-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .portal-actions-row .btn {
    width: 100%;
  }
}
