/* ==========================================================================
   COMPONENTS — Buttons, nav, hero, cards, footer, etc.
   Liquid UI Theme — Samsara/Motive-level polish
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  gap: var(--space-sm);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn a {
  color: inherit;
  text-decoration: none;
}

/* btn-wrap: semantic wrapper for CTA link fields — styles flow to the inner <a> */
.btn-wrap {
  display: inline-flex;
}

.btn-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  gap: var(--space-sm);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-wrap--primary a {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-wrap--primary a:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -4px rgba(0, 96, 174, 0.4);
}

.btn-wrap--primary a:active {
  transform: translateY(0);
}

.btn-wrap--secondary a {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-wrap--secondary a:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -4px rgba(0, 96, 174, 0.3);
}

/* btn-wrap on dark backgrounds */
.section--bg-navy .btn-wrap--secondary a,
.section--bg-black .btn-wrap--secondary a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.section--bg-navy .btn-wrap--secondary a:hover,
.section--bg-black .btn-wrap--secondary a:hover {
  background-color: #fff;
  color: var(--color-navy);
  border-color: #fff;
}

.btn-wrap--lg a {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -4px rgba(0, 96, 174, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary a:hover {
  color: #fff;
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -4px rgba(0, 96, 174, 0.3);
}

.btn--secondary a:hover {
  color: inherit;
}

/* On dark backgrounds */
.section--bg-navy .btn--secondary,
.section--bg-black .btn--secondary,
.section--bg-navy .btn--free-trial,
.section--bg-black .btn--free-trial {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.section--bg-navy .btn--secondary:hover,
.section--bg-black .btn--secondary:hover,
.section--bg-navy .btn--free-trial:hover,
.section--bg-black .btn--free-trial:hover {
  background-color: #fff;
  color: var(--color-navy);
  border-color: #fff;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  transition: all var(--transition-slow);
  background-color: transparent;
}

.site-nav--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-nav);
  padding: var(--space-sm) 0;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-nav__logo {
  display: flex;
  align-items: center;
  height: 40px;
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 32px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.site-nav__logo-dark {
  display: none;
}

.site-nav--scrolled .site-nav__logo-white {
  display: none;
}

.site-nav--scrolled .site-nav__logo-dark {
  display: block;
}

/* ================ LIGHT HERO BACKGROUNDS ================== */

body:has(
  article > section:is(.section--bg-white, .section--bg-light):first-child,
  article > .node__content > section:is(.section--bg-white, .section--bg-light):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__logo-white {
  display: none !important;
}

body:has(
  article > section:is(.section--bg-white, .section--bg-light):first-child,
  article > .node__content > section:is(.section--bg-white, .section--bg-light):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__logo-dark {
  display: block !important;
}

body:has(
  article > section:is(.section--bg-white, .section--bg-light):first-child,
  article > .node__content > section:is(.section--bg-white, .section--bg-light):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__links > li > a {
  color: var(--color-navy) !important;
}

body:has(
  article > section:is(.section--bg-white, .section--bg-light):first-child,
  article > .node__content > section:is(.section--bg-white, .section--bg-light):first-child
)
.site-nav:not(.site-nav--scrolled) .hamburger__line {
  background-color: var(--color-navy) !important;
}

body:has(
  article > section:is(.section--bg-white, .section--bg-light, .is-light-bg):first-child,
  article > .node__content > section:is(.section--bg-white, .section--bg-light, .is-light-bg):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__ctas .btn--free-trial {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ================ DARK HERO BACKGROUNDS ================== */

body:has(
  article > section:is(.section--bg-black, .section--bg-navy):first-child,
  article > .node__content > section:is(.section--bg-black, .section--bg-navy):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__logo-white {
  display: block !important;
}

body:has(
  article > section:is(.section--bg-black, .section--bg-navy):first-child,
  article > .node__content > section:is(.section--bg-black, .section--bg-navy):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__logo-dark {
  display: none !important;
}

body:has(
  article > section:is(.section--bg-black, .section--bg-navy):first-child,
  article > .node__content > section:is(.section--bg-black, .section--bg-navy):first-child
)
.site-nav:not(.site-nav--scrolled) .site-nav__links > li > a {
  color: var(--color-text-light) !important;
}

body:has(
  article > section:is(.section--bg-black, .section--bg-navy):first-child,
  article > .node__content > section:is(.section--bg-black, .section--bg-navy):first-child
)
.site-nav:not(.site-nav--scrolled) .hamburger__line {
  background-color: var(--color-text-light) !important;
}

article > section:not(.hero):first-of-type > .container,
article > .node__content > section:not(.hero):first-of-type > .container {
  padding-top: var(--space-3xl);
}

/* Nav links */
.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links > li {
  position: relative;
}

.site-nav__links > li > a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: block;
}

.site-nav--scrolled .site-nav__links > li > a {
  color: var(--color-text);
}

.site-nav__links > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav--scrolled .site-nav__links > li > a:hover {
  color: var(--color-primary);
  background: var(--color-bg-light);
}

body:has(.is-dark-bg) nav.site-nav:not(.site-nav--scrolled) .site-nav__links > li > a {
  color: var(--color-text-light) !important; /* White text for navy hero */
}

body:has(.is-light-bg) nav.site-nav:not(.site-nav--scrolled) .site-nav__links > li > a {
  color: var(--color-navy) !important; /* Dark text for light hero */
}

body:has(.is-light-bg) .site-nav__ctas .btn--secondary,
body:has(.is-light-bg) .site-nav__ctas .btn--free-trial {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

body:has(.is-light-bg) .site-nav__ctas .btn--secondary:hover,
body:has(.is-light-bg) .site-nav__ctas .btn--free-trial:hover,
.mobile-menu__ctas .btn--free-trial:hover {
  background: var(--color-primary);
  color:  var(--color-text-light);
}

/* Nav CTA buttons */
.site-nav__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-nav__ctas .btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

.site-nav__ctas .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.site-nav__ctas .btn--free-trial{
  color: #fff;
  border:1px solid #fff;
}

.mobile-menu__ctas .btn--free-trial{
  color: var(--color-primary);
  border:1px solid;
  border-color: var(--color-primary);
}

.site-nav__ctas .btn--secondary:hover,
.site-nav__ctas .btn--free-trial:hover {
  background: #fff;
  color: var(--color-navy);
  border-color: #fff;
}

.site-nav--scrolled .site-nav__ctas .btn--secondary,
.site-nav--scrolled .site-nav__ctas .btn--free-trial {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.site-nav--scrolled .site-nav__ctas .btn--secondary:hover,
.site-nav--scrolled .site-nav__ctas .btn--free-trial:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ========== MEGA MENU — Motive-inspired ========== */

/* Chevron on nav links */
.nav-chevron {
  margin-left: 4px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.site-nav__links > li:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Gradient underline on hover — Motive style */
.site-nav__links > li > a {
  position: relative;
}

.site-nav__links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-gold));
  transition: width var(--transition-base), left var(--transition-base);
  border-radius: 1px;
}

.site-nav__links > li:hover > a::after {
  width: 70%;
  left: 15%;
}

.site-nav--scrolled .site-nav__links > li > a::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
}

/* Base mega-menu panel */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-dropdown);
  overflow: hidden;
}

/* Bridge element to prevent hover gap */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* Show on hover */
.site-nav__links > li:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── Panel size variants ── */
.mega-menu--2col {
  width: 680px;
  display: grid;
  grid-template-columns: 1fr auto;
}

.mega-menu--single {
  width: 480px;
}

.mega-menu--compact {
  width: 360px;
}

/* ── Grid of menu items ── */
.mega-menu__grid {
  display: grid;
  gap: 2px;
  padding: var(--space-md);
}

.mega-menu--2col .mega-menu__grid {
  grid-template-columns: 1fr 1fr;
}

.mega-menu--single .mega-menu__grid,
.mega-menu--compact .mega-menu__grid {
  grid-template-columns: 1fr;
}

/* ── Individual menu item ── */
.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.mega-menu__item:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
  transform: translateX(2px);
}

/* ── Icon ── */
.mega-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.mega-menu__item:hover .mega-menu__icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.mega-menu__icon svg {
  width: 20px;
  height: 20px;
}

/* ── Text block ── */
.mega-menu__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 2px;
}

.mega-menu__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  line-height: 1.3;
}

.mega-menu__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.mega-menu__item:hover .mega-menu__title {
  color: var(--color-primary);
}

/* ── Featured promo sidebar ── */
.mega-menu__featured {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(160deg, var(--color-bg-light) 0%, rgba(0, 96, 174, 0.06) 100%);
  border-left: 1px solid var(--color-border-light);
  min-width: 220px;
  max-width: 220px;
}

.mega-menu__featured-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.mega-menu__featured-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  line-height: 1.4;
}

.mega-menu__featured-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.mega-menu__featured-cta {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-top: auto;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.mega-menu__featured-cta:hover {
  color: var(--color-primary-dark);
}

/* ── Mega-menu positioning tweaks ── */
/* Keep Solutions/Use Cases from going off-screen left */
.site-nav__links > li:first-child > .mega-menu {
  left: 0;
  transform: translateX(0) translateY(16px);
}

.site-nav__links > li:first-child:hover > .mega-menu {
  transform: translateX(0) translateY(0);
}

.site-nav__links > li:nth-child(2) > .mega-menu {
  left: 0;
  transform: translateX(-15%) translateY(16px);
}

.site-nav__links > li:nth-child(2):hover > .mega-menu {
  transform: translateX(-15%) translateY(0);
}

/* Keep Company from going off-screen right */
.site-nav__links > li:last-child > .mega-menu {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(16px);
}

.site-nav__links > li:last-child:hover > .mega-menu {
  transform: translateX(0) translateY(0);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger__line {
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.site-nav--scrolled .hamburger__line {
  background-color: var(--color-navy);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero--home {
  min-height: 90vh;
  padding: 9rem 0 4rem;
}

/* Decorative grid dots on hero background */
.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Decorative gradient orb */
.hero--home::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 96, 174, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex-shrink: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  background: rgba(250, 168, 32, 0.12);
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 168, 32, 0.2);
}

.hero__headline {
  font-size: var(--text-5xl);
  font-weight: var(--fw-black);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.section--bg-navy .hero__headline {
  color: #fff;
}

.hero__subtext {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  opacity: 0.85;
  max-width: 520px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__trust-item {
  text-align: center;
}

.hero__trust-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-gold);
  line-height: 1;
}

.hero__trust-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 2px;
}

.hero__media {
  position: relative;
  z-index: 2;
  flex: 1 1 50%;
  min-width: 0;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

/* Hero — Video Background variant */
.hero--video {
  position: relative;
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video-bg iframe,
.hero__video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 43, 117, 0.85), rgba(0, 30, 80, 0.75));
  z-index: 1;
}

.hero--video .container {
  position: relative;
  z-index: 2;
}

/* Hero — Form Right variant */
.hero__split {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.hero--form .hero__content {
  flex: 1 1 55%;
}

.hero__form {
  flex: 1 1 45%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero__form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero__form-card iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: none;
  border-radius: var(--radius-lg);
}

.hero__form-card form input,
.hero__form-card form textarea,
.hero__form-card form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.hero__form-card form input:focus,
.hero__form-card form textarea:focus,
.hero__form-card form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 96, 174, 0.12);
}

.hero__form-card form button,
.hero__form-card form input[type="submit"] {
  display: inline-flex;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

/* ========== CARDS ========== */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-lighter);
}

.section--bg-navy .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.section--bg-navy .card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-lighter);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.card:hover .card__icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.card__icon img,
.card__icon svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.card__body {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.card__link {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.card__link a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
  font-size: 1.1em;
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* Card grid */
.card-grid__items {
  display: grid;
  gap: var(--space-xl);
}

.card-grid__items--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid__items--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid__items--6 { grid-template-columns: repeat(3, 1fr); }

/* Card with image variant */
.card--has-image {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card--has-image:hover .card__image img {
  transform: scale(1.05);
}

.card--has-image .card__content {
  padding: var(--space-xl);
}

/* ========== STATS BAND ========== */
.stats-band {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.stats-band__items {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl) var(--space-3xl);
  position: relative;
}

/* Divider between stats */
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.section--bg-white .stat-item + .stat-item::before,
.section--bg-light .stat-item + .stat-item::before {
  background: var(--color-border);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-black);
  line-height: 1;
  margin-bottom: var(--space-xs);
  color: var(--color-gold);
  letter-spacing: -0.02em;
}

.section--bg-white .stat-item__number,
.section--bg-light .stat-item__number {
  color: var(--color-primary);
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.stat-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
}

/* ========== TWO-COLUMN CONTENT ========== */
.two-column__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.two-column__grid--image-right .two-column__image {
  order: 1;
}

.two-column__grid--text-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.two-column__grid--text-only .two-column__heading {
  font-size: var(--text-5xl);
}

.two-column__image {
  position: relative;
}

.two-column__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

/* Decorative accent behind image */
.two-column__image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 16px;
  background: var(--color-primary-lighter);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.two-column__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.two-column__heading {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.two-column__body {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  font-size: var(--text-base);
}

.two-column__body p:last-child {
  margin-bottom: 0;
}

.two-column__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.two-column__grid--text-only .two-column__ctas {
  justify-content: center;
}

/* ========== TESTIMONIAL ========== */
.testimonial {
  position: relative;
}

.testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial__quote-mark {
  font-size: 5rem;
  line-height: 0.8;
  color: var(--color-primary);
  opacity: 0.15;
  margin-bottom: var(--space-md);
  font-family: Georgia, serif;
}

.section--bg-navy .testimonial__quote-mark {
  color: var(--color-gold);
  opacity: 0.3;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  line-height: 1.6;
  margin: 0 0 var(--space-2xl);
  border: none;
  padding: 0;
  color: var(--color-navy);
  text-align: center;
}

/* Strip Drupal field wrappers inside the blockquote */
.testimonial__text .field,
.testimonial__text .field__item,
.testimonial__text p {
  margin: 0;
  padding: 0;
  text-align: center;
}

.section--bg-navy .testimonial__text {
  color: #fff;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial__photo-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

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

.testimonial__meta {
  text-align: left;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
}

.testimonial__title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.section--bg-navy .testimonial__title {
  color: rgba(255, 255, 255, 0.6);
}

/* ========== STEPS / TIMELINE ========== */
.steps__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

/* Connector line between steps */
.steps__items::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  opacity: 0.3;
  z-index: 0;
}

.section--bg-navy .steps__items::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--color-gold), rgba(255, 255, 255, 0.2));
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 15px rgba(0, 96, 174, 0.3);
}

.section--bg-navy .step-item__number {
  background-color: var(--color-gold);
  color: var(--color-navy);
  box-shadow: 0 4px 15px rgba(250, 168, 32, 0.3);
}

.section--bg-light .step-item__number {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.step-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
}

.step-item__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.step-item__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

.section--bg-navy .step-item__body {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== BEFORE / AFTER ========== */
.before-after__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.before-after__panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.before-after__panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.before-after__label {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.before-after__label--before {
  background-color: var(--color-text-muted);
  color: #fff;
}

.before-after__label--after {
  background-color: var(--color-primary);
  color: #fff;
}

.before-after__image img {
  width: 100%;
  display: block;
}

.before-after__callouts {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: var(--text-lg);
}

/* ========== WORKFLOW STORYBOARD ========== */
.workflow-storyboard__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.storyboard-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.storyboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.storyboard-card__time {
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
}

.storyboard-card__image img {
  width: 100%;
  display: block;
}

.storyboard-card__title {
  padding: var(--space-lg) var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
}

.storyboard-card__description {
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.storyboard-card--linked {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.storyboard-card--linked:hover {
  color: inherit;
}

/* ========== CTA STRIP ========== */
.cta-strip {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative glow */
.cta-strip::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(250, 168, 32, 0.15) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-strip__headline {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-strip__subtext {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

.cta-strip__ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
}

/* ========== CASE STUDY TEASER ========== */
.case-study-teaser__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.case-study-teaser__card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.case-study-teaser__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.case-study-teaser__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-teaser__content {
  padding: var(--space-lg);
}

.case-study-teaser__company {
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.case-study-teaser__excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

/* ========== FORM & SCHEDULER EMBED ========== */
.form-embed__subtext {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

.form-embed__form {
  max-width: 640px;
  margin: 0 auto;
}

.scheduler-embed__widget {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive embed wrapper — handles iframes, scripts, and inline forms */
.embed-responsive {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-md);
}

.embed-responsive iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: var(--radius-lg);
}

.embed-responsive form {
  padding: var(--space-xl);
}

.embed-responsive form input,
.embed-responsive form textarea,
.embed-responsive form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  transition: border-color 0.2s ease;
}

.embed-responsive form input:focus,
.embed-responsive form textarea:focus,
.embed-responsive form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 96, 174, 0.12);
}

.embed-responsive form button,
.embed-responsive form input[type="submit"] {
  display: inline-flex;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.embed-responsive form button:hover,
.embed-responsive form input[type="submit"]:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
}

/* Scheduler-specific — taller default for calendar widgets */
.scheduler-embed__widget .embed-responsive iframe {
  min-height: 660px;
}

/* Dark background variants */
.section--bg-navy .embed-responsive,
.section--bg-black .embed-responsive {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.section--bg-navy .form-embed__subtext,
.section--bg-black .form-embed__subtext {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--color-bg-black);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-5xl) 0 var(--space-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.site-footer__brand {
  max-width: 280px;
}

.site-footer__logo {
  height: 28px;
  margin-bottom: var(--space-lg);
}

.site-footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.site-footer__social img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.site-footer__social a:hover img {
  opacity: 1;
}

.site-footer__col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
}

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

.site-footer ul li {
  margin-bottom: var(--space-sm);
}

.site-footer ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.site-footer ul a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__copyright span {
    display: block;
}

.site-footer__legal {
  display: flex;
  gap: var(--space-xl);
}

.site-footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__badges {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-footer__badges img {
  height: 36px;
  opacity: 0.7;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
  color: #fff;
  text-align: center;
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  position: relative;
  z-index: var(--z-announcement);
}

.announcement-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: var(--fw-bold);
}

.announcement-bar__close {
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-lg);
  color: #fff;
  opacity: 0.6;
}

.announcement-bar__close:hover {
  opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .card-grid__items--4,
  .card-grid__items--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-teaser__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    flex-direction: column;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__media {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero__split {
    flex-direction: column;
  }

  .hero--form .hero__content,
  .hero__form {
    flex: 1 1 100%;
  }

  .hero__form-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 768px) {
  /* Nav goes mobile */
  .site-nav__links,
  .site-nav__ctas {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 2.5rem;
    min-height: auto;
  }

  .hero--home {
    min-height: auto;
    padding: 7rem 0 2.5rem;
  }

  .hero__headline {
    font-size: var(--text-3xl);
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  /* Cards */
  .card-grid__items--3,
  .card-grid__items--4,
  .card-grid__items--6 {
    grid-template-columns: 1fr;
  }

  /* Two column */
  .two-column__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .two-column__grid--image-right .two-column__image {
    order: 0;
  }

  .two-column__image::after {
    display: none;
  }

  /* Stats */
  .stats-band__items {
    flex-direction: column;
    gap: 0;
  }

  .stat-item + .stat-item::before {
    width: 60%;
    height: 1px;
    top: 0;
    left: 20%;
  }

  /* Steps */
  .steps__items {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .steps__items::before {
    display: none;
  }

  /* Before after */
  .before-after__grid {
    grid-template-columns: 1fr;
  }

  /* Case studies */
  .case-study-teaser__items {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-strip__headline {
    font-size: var(--text-3xl);
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__legal {
    justify-content: center;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-mobile-menu) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.mobile-menu__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  max-width: 88vw;
  height: 100vh;
  background: #fff;
  z-index: var(--z-mobile-menu);
  padding: var(--space-2xl);
  transition: right var(--transition-slow);
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  cursor: pointer;
  color: var(--color-navy);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.mobile-menu__close:hover {
  background: var(--color-bg-light);
}

.mobile-menu__nav {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) 0;
}

.mobile-menu__group {
  border-bottom: 1px solid var(--color-border-light);
}

/* Accordion toggle button */
.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  text-align: left;
}

.mobile-menu__chevron {
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.mobile-menu__toggle[aria-expanded="true"] {
  color: var(--color-primary);
}

/* Sub-menu items */
.mobile-menu__sub {
  list-style: none;
  padding: 0 0 var(--space-md) var(--space-md);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-base);
  opacity: 0;
}

.mobile-menu__sub--open {
  opacity: 1;
}

.mobile-menu__sub li {
  border-bottom: none;
}

.mobile-menu__sub a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu__sub a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.mobile-menu__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__ctas .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   USER PAGES — Login, Register, Password Reset
   Clean centered card on light background
   ========================================================================== */

.site-nav--solid {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  position: relative;
}

.user-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  background: var(--color-bg-light, #F3F6FB);
  padding: 3rem 1rem;
}

.user-page__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
}

.user-page__header {
  text-align: center;
  margin-bottom: 2rem;
}

.user-page__logo {
  height: 40px;
  width: auto;
}

.user-page__card h1,
.user-page__card .page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy, #162B75);
  text-align: center;
  margin: 0 0 1.5rem;
}

.user-page__card .form-item {
  margin-bottom: 1.25rem;
}

.user-page__card label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-navy, #162B75);
  margin-bottom: .4rem;
}

.user-page__card input[type="text"],
.user-page__card input[type="password"],
.user-page__card input[type="email"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--color-border, #CACAC8);
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.user-page__card input[type="text"]:focus,
.user-page__card input[type="password"]:focus,
.user-page__card input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary, #0060AE);
  box-shadow: 0 0 0 3px rgba(0,96,174,.15);
}

.user-page__card input[type="submit"],
.user-page__card .button {
  display: block;
  width: 100%;
  padding: .875rem 1.5rem;
  background: var(--color-primary, #0060AE);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: .5rem;
}

.user-page__card input[type="submit"]:hover,
.user-page__card .button:hover {
  background: var(--color-navy, #162B75);
}

.user-page__card .description,
.user-page__card .form-item__description {
  font-size: .8rem;
  color: var(--color-text-muted, #5A6B7C);
  margin-top: .3rem;
}

.user-page__card a {
  color: var(--color-primary, #0060AE);
  text-decoration: none;
}

.user-page__card a:hover {
  text-decoration: underline;
}

.user-page__card .messages {
  padding: .75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .875rem;
}

.user-page__card .messages--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.user-page__card .messages--status {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.site-footer--minimal {
  background: #fff;
  border-top: 1px solid var(--color-border, #CACAC8);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer--minimal .site-footer__copyright {
  color: var(--color-text-muted, #5A6B7C);
  font-size: .8rem;
  margin: 0;
}

/* ACT-ON FORM CSS */
.ao-form-label {
  color: #000000;
  font-weight: 700;
}
