/*
 * SOLUENCY.com Foundation Styles
 * Bootstrap 5.3 + custom CSS only
 * Brand source: SOLUENCY Logo Style Manual, April 2022
 */

:root {
  --soluency-blue: #154C85;
  --soluency-orange: #F5801F;
  --soluency-yellow: #FEC013;
  --soluency-light-gray: #F2F2F2;
  --soluency-gray: #B8BABC;
  --soluency-black: #000000;
  --soluency-white: #FFFFFF;

  /* Supporting shades preserve accessible contrast while retaining the core palette. */
  --soluency-blue-dark: #0B2F54;
  --soluency-blue-deep: #082541;
  --soluency-blue-soft: #EAF2F9;
  --soluency-orange-soft: #FFF1E5;
  /* Accessible text-only orange. Brand orange (#F5801F) is 2.63:1 on white and
     must not be used for text. Use this for any orange-colored copy. */
  --soluency-orange-text: #A34A00;
  --soluency-text: #172433;
  --soluency-muted: #5B6774;
  --soluency-border: #D9E0E7;

  --font-primary: "Rubik", "Montserrat", "Lato", Arial, sans-serif;
  --site-max-width: 1320px;
  --section-space: clamp(4rem, 7vw, 7rem);
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 0.35rem 1.25rem rgba(8, 37, 65, 0.08);
  --shadow-md: 0 1rem 3rem rgba(8, 37, 65, 0.13);
  --transition: 180ms ease;
}

html {
  scroll-behavior: smooth;
  /* Sticky header (~78px) + availability bar. Keeps anchor targets and
     keyboard focus clear of the header (WCAG 2.2 SC 2.4.11). */
  scroll-padding-top: 8rem;
}

[id] {
  scroll-margin-top: 8rem;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--soluency-text);
  background: var(--soluency-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img,
svg {
  height: auto;
}

a {
  color: var(--soluency-blue);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--soluency-blue-dark);
}

button,
a,
input,
select,
textarea {
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

:focus-visible {
  outline: 3px solid var(--soluency-blue-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(254, 192, 19, 0.85);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--soluency-blue-dark);
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1,
.h1 {
  /* Preserve the existing mobile scale while keeping desktop headings proportional. */
  font-size: clamp(2.35rem, 2.8vw, 2.75rem);
}

h2,
.h2 {
  /* Preserve the existing mobile minimum while reducing oversized desktop headings. */
  font-size: clamp(1.9rem, 2.3vw, 2.15rem);
}

h3,
.h3 {
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
}

p:last-child {
  margin-bottom: 0;
}

.site-container {
  width: min(100% - 2rem, var(--site-max-width));
  max-width: var(--site-max-width);
  margin-inline: auto;
}

.section-space {
  padding-block: var(--section-space);
}

.section-space-sm {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section-light {
  background: var(--soluency-light-gray);
}

.section-blue-soft {
  background: var(--soluency-blue-soft);
}

.text-brand-blue {
  color: var(--soluency-blue) !important;
}

.text-brand-orange {
  color: var(--soluency-orange-text) !important;
}

.text-brand-yellow {
  color: var(--soluency-yellow) !important;
}

.bg-brand-blue {
  background-color: var(--soluency-blue) !important;
}

.bg-brand-orange {
  background-color: var(--soluency-orange) !important;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--soluency-orange-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--soluency-white);
  background: var(--soluency-blue-dark);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  color: var(--soluency-white);
  transform: translateY(0);
}

/* Buttons */
.btn {
  border-radius: 0.65rem;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.btn-brand-cta {
  border: 2px solid var(--soluency-orange);
  color: var(--soluency-blue-dark);
  background: var(--soluency-orange);
  box-shadow: 0 0.35rem 1rem rgba(245, 128, 31, 0.22);
}

.btn-brand-cta:hover,
.btn-brand-cta:focus-visible,
.btn-brand-cta:active {
  border-color: var(--soluency-yellow) !important;
  color: var(--soluency-blue-deep) !important;
  background: var(--soluency-yellow) !important;
  transform: translateY(-1px);
}

.btn-brand-primary {
  border: 2px solid var(--soluency-blue);
  color: var(--soluency-white);
  background: var(--soluency-blue);
}

.btn-brand-primary:hover,
.btn-brand-primary:focus-visible,
.btn-brand-primary:active {
  border-color: var(--soluency-blue-dark) !important;
  color: var(--soluency-white) !important;
  background: var(--soluency-blue-dark) !important;
}

.btn-outline-brand {
  border: 2px solid var(--soluency-blue);
  color: var(--soluency-blue);
  background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible,
.btn-outline-brand:active {
  border-color: var(--soluency-blue) !important;
  color: var(--soluency-white) !important;
  background: var(--soluency-blue) !important;
}

/* Global AI availability bar */
.ai-availability-bar {
  position: relative;
  z-index: 1031;
  color: var(--soluency-white);
  background: var(--soluency-blue-dark);
  font-size: 0.86rem;
}

.ai-availability-label {
  color: var(--soluency-yellow);
  font-weight: 700;
}

.ai-phone-link {
  color: var(--soluency-white);
  font-weight: 700;
  white-space: nowrap;
}

.ai-phone-link:hover,
.ai-phone-link:focus-visible {
  color: var(--soluency-yellow);
}

.ai-availability-note {
  color: rgba(255, 255, 255, 0.78);
}

/* Header and navigation */
.site-header {
  z-index: 1030;
  border-bottom: 1px solid rgba(21, 76, 133, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0.2rem 1rem rgba(8, 37, 65, 0.06);
  backdrop-filter: blur(12px);
}

.site-header .navbar {
  min-height: 78px;
  padding-block: 0.65rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1.75rem;
}

.navbar-brand img {
  display: block;
  width: clamp(175px, 17vw, 230px);
}

.navbar-toggler {
  border: 2px solid rgba(21, 76, 133, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(254, 192, 19, 0.42);
}

.nav-split-wrap {
  display: flex;
  align-items: center;
}

.site-header .nav-link {
  color: var(--soluency-blue-dark);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-header a.nav-link {
  padding-right: 0.2rem !important;
}

.site-header .dropdown-toggle-split {
  width: 1.7rem;
  min-width: 1.7rem;
  padding-inline: 0.25rem !important;
  border: 0;
  background: transparent;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.show,
.site-header .nav-link.active {
  color: var(--soluency-orange-text);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--soluency-blue);
  min-width: 17rem;
  padding: 0.65rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.dropdown-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--soluency-text);
  font-size: 0.91rem;
  font-weight: 500;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--soluency-blue-dark);
  background: var(--soluency-blue-soft);
}

.header-actions {
  min-width: 164px;
}

/* Reusable cards and placeholders */
.content-card {
  height: 100%;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.content-card:hover {
  border-color: rgba(21, 76, 133, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}


/* Linked cards are anchors, so make them block-level flex containers rather than
   inline boxes. This prevents fragmented borders, clipped corners, and truncated links. */
.linked-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: visible;
  border-radius: var(--radius-md);
  color: var(--soluency-text);
  text-decoration: none;
}

.linked-card .section-link {
  margin-top: auto;
}

.video-card.video-embed-card {
  min-height: 0;
  display: block;
  place-content: initial;
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.video-embed-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ghl-embed-card {
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.ghl-form-embed {
  display: block;
  width: 100%;
  border: 0;
}

.booking-embed-card iframe {
  display: block;
  width: 100%;
  min-height: 720px;
}

.ghl-placeholder,
.video-placeholder {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px dashed var(--soluency-gray);
  border-radius: var(--radius-lg);
  background: var(--soluency-light-gray);
  text-align: center;
}

.ghl-placeholder-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--soluency-orange-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ghl-placeholder-copy {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--soluency-muted);
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--soluency-blue-deep);
}

.footer-ai-cta {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--soluency-blue);
}

.footer-ai-cta h2 {
  color: var(--soluency-white);
}

.footer-ai-copy {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.4rem;
}

.footer-logo {
  width: min(230px, 100%);
}

.footer-summary {
  max-width: 32rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 1.5rem;
}

.footer-contact-label {
  color: var(--soluency-yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--soluency-white);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--soluency-white);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--soluency-yellow);
  text-decoration: underline;
}

.footer-bottom {
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

/* AI chat placeholder */
.ai-assistant-panel {
  --bs-offcanvas-width: min(430px, 100vw);
}

.ai-assistant-panel .offcanvas-header {
  border-bottom: 1px solid var(--soluency-border);
}

.ai-assistant-panel .offcanvas-body {
  display: flex;
  flex-direction: column;
}

.ai-assistant-widget-embed {
  width: 100%;
  min-height: 520px;
}

.ai-assistant-widget-embed > * {
  max-width: 100%;
}

.ai-agent-placeholder {
  padding: 2rem 1.25rem;
  border: 2px dashed var(--soluency-gray);
  border-radius: var(--radius-lg);
  background: var(--soluency-light-gray);
  text-align: center;
}

.ai-agent-placeholder-icon {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-blue-dark);
  background: var(--soluency-orange);
  font-weight: 800;
}

.ai-phone-card {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  border-left: 4px solid var(--soluency-orange);
  border-radius: var(--radius-sm);
  background: var(--soluency-blue-soft);
}

.ai-phone-card-label {
  color: var(--soluency-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-phone-card a {
  font-weight: 700;
}

.floating-ai-control {
  position: fixed;
  z-index: 1025;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.85rem 0.58rem 0.58rem;
  border: 2px solid var(--soluency-orange);
  border-radius: 999px;
  color: var(--soluency-blue-dark);
  background: var(--soluency-orange);
  box-shadow: 0 0.8rem 2rem rgba(8, 37, 65, 0.24);
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}


.floating-ai-control:hover,
.floating-ai-control:focus-visible {
  border-color: var(--soluency-yellow);
  background: var(--soluency-yellow);
  transform: translateY(-2px);
}

.floating-ai-icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-white);
  background: var(--soluency-blue-dark);
  font-size: 0.72rem;
}

/* 404 */
.error-page-main {
  display: grid;
  min-height: 58vh;
  place-items: center;
  padding-block: var(--section-space);
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 128, 31, 0.13), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(21, 76, 133, 0.13), transparent 32%),
    var(--soluency-white);
}

.error-code {
  margin-bottom: 0.5rem;
  color: var(--soluency-orange);
  font-size: clamp(4.5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.error-copy {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--soluency-muted);
  font-size: 1.1rem;
}

@media (min-width: 1200px) {
  /* Desktop navigation only: compact, single-line, and vertically centered. */
  .site-header .navbar {
    min-height: 66px;
    padding-block: 0;
  }

  .site-header .navbar > .site-container {
    min-height: 66px;
    flex-wrap: nowrap;
    align-items: center;
    overflow: visible;
  }

  .site-header .navbar-brand {
    flex: 0 0 auto;
    align-self: center;
    margin-right: 1rem;
    padding-block: 0;
    line-height: 0;
  }

  .site-header .navbar-brand img {
    width: clamp(180px, 14vw, 198px);
  }

  .site-header .navbar-collapse {
    min-width: 0;
    min-height: 66px;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    overflow: visible;
  }

  .site-header .navbar-nav {
    min-width: 0;
    min-height: 66px;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow: visible;
  }

  .site-header .nav-item,
  .site-header .nav-split-wrap {
    position: relative;
    min-height: 66px;
    flex: 0 0 auto;
    align-items: stretch;
    white-space: nowrap;
  }

  .site-header .nav-link {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 0;
    font-size: 0.875rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .site-header a.nav-link {
    padding-left: 0.48rem !important;
    padding-right: 0.08rem !important;
  }

  .site-header .dropdown-toggle-split {
    /* 1.5rem = 24px, the WCAG 2.2 SC 2.5.8 minimum target width. */
    width: 1.5rem;
    min-width: 1.5rem;
    min-height: 66px;
    padding-inline: 0.08rem !important;
  }

  .site-header .dropdown-toggle-split::after {
    margin-left: 0;
  }

  .site-header .dropdown-menu {
    width: max-content;
    min-width: 17rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 7rem);
    margin-top: 0.2rem !important;
    overflow-x: visible;
    overflow-y: auto;
    z-index: 1040;
  }

  .site-header .dropdown-item {
    white-space: nowrap;
  }

  .site-header .header-actions {
    flex: 0 0 184px;
    min-width: 184px;
    max-width: 184px;
    align-self: center;
    margin-left: 0 !important;
  }

  .site-header .header-actions .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.72rem;
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .nav-split-dropdown:hover > .nav-split-wrap > .dropdown-menu {
    display: block;
  }
}

@media (min-width: 1200px) and (max-width: 1299.98px) {
  /* Give the first desktop breakpoint extra breathing room without changing mobile. */
  .site-header .navbar-brand {
    margin-right: 0.65rem;
  }

  .site-header .navbar-brand img {
    width: 178px;
  }

  .site-header .navbar-collapse {
    gap: 0.35rem;
  }

  .site-header .nav-link {
    font-size: 0.82rem;
  }

  .site-header a.nav-link {
    padding-left: 0.34rem !important;
  }

  .site-header .dropdown-toggle-split {
    width: 1.2rem;
    min-width: 1.2rem;
  }

  .site-header .header-actions {
    flex-basis: 172px;
    min-width: 172px;
    max-width: 172px;
  }

  .site-header .header-actions .btn {
    padding-inline: 0.55rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 768px) {
  .footer-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .footer-link-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    max-height: calc(100vh - 150px);
    margin-top: 0.75rem;
    padding: 0.75rem 0 1rem;
    overflow-y: auto;
    border-top: 1px solid var(--soluency-border);
  }

  .nav-split-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-split-wrap > a.nav-link {
    flex: 1 1 auto;
    padding-block: 0.75rem;
  }

  .site-header .dropdown-toggle-split {
    width: 3rem;
    min-width: 3rem;
    min-height: 2.75rem;
  }

  .nav-split-wrap .dropdown-menu {
    position: static !important;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    margin: 0 0 0.75rem !important;
    border: 0;
    border-left: 3px solid var(--soluency-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--soluency-light-gray);
    box-shadow: none;
    transform: none !important;
  }

  .header-actions {
    margin-top: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .site-container {
    width: min(100% - 1.25rem, var(--site-max-width));
  }

  .ai-availability-bar {
    font-size: 0.8rem;
  }

  .site-header .navbar {
    min-height: 68px;
  }

  .navbar-brand img {
    width: 178px;
  }

  .ai-assistant-widget-embed {
    min-height: min(540px, calc(100vh - 190px));
  }

  .floating-ai-label {
    display: none;
  }

  .floating-ai-control {
    padding: 0.55rem;
  }

  .footer-bottom {
    padding-bottom: 5.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==============================================================
   Phase 2: Core page components
   ============================================================== */

.lead,
.hero-lead {
  color: var(--soluency-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-lead {
  max-width: 48rem;
  margin-top: 1.35rem;
}

.section-heading {
  max-width: 49rem;
  margin-bottom: 2rem;
}

.section-heading > p:not(.eyebrow) {
  color: var(--soluency-muted);
  font-size: 1.08rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
}

.section-link:hover i {
  transform: translateX(0.2rem);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(23, 36, 51, 0.45);
  --bs-breadcrumb-item-active-color: var(--soluency-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  font-weight: 600;
  text-decoration: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 128, 31, 0.18), transparent 25%),
    radial-gradient(circle at 5% 90%, rgba(21, 76, 133, 0.13), transparent 28%),
    linear-gradient(135deg, #FFFFFF 0%, #F4F8FC 100%);
}

.page-hero::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 25rem;
  height: 25rem;
  border: 3.5rem solid rgba(21, 76, 133, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-side-card,
.about-principles-card,
.contact-quick-card,
.call-readiness-card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid rgba(21, 76, 133, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.hero-side-card::before,
.about-principles-card::before,
.contact-quick-card::before,
.call-readiness-card::before {
  position: absolute;
  top: 0;
  left: 1.6rem;
  width: 4.5rem;
  height: 0.3rem;
  border-radius: 0 0 999px 999px;
  background: var(--soluency-orange);
  content: "";
}

.check-list,
.mini-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.mini-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before,
.mini-list li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  color: var(--soluency-orange);
  font-family: "bootstrap-icons";
  font-weight: 700;
  content: "\f26e";
}

.mini-list {
  margin-block: 1rem 1.4rem;
  color: var(--soluency-muted);
  font-size: 0.91rem;
}

/* Homepage hero */
.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 8% 25%, rgba(245, 128, 31, 0.14), transparent 25%),
    radial-gradient(circle at 92% 75%, rgba(21, 76, 133, 0.14), transparent 27%),
    linear-gradient(140deg, #FFFFFF 0%, #F4F8FC 100%);
}

.home-hero h1 {
  max-width: 55rem;
}

.hero-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 45rem;
  margin-top: 1.35rem;
  color: var(--soluency-muted);
  font-size: 0.91rem;
}

.hero-trust-note i {
  margin-top: 0.13rem;
  color: var(--soluency-blue);
}

.hero-solution-map {
  position: relative;
  min-height: 30rem;
  border: 1px solid rgba(21, 76, 133, 0.12);
  border-radius: 50% 50% 44% 56% / 42% 45% 55% 58%;
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 76, 133, 0.08), transparent 39%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.hero-solution-map::before,
.hero-solution-map::after {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(21, 76, 133, 0.25);
  border-radius: 50%;
  content: "";
}

.hero-solution-map::after {
  inset: 26%;
  border-color: rgba(245, 128, 31, 0.34);
}

.solution-map-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 12rem;
  min-height: 12rem;
  padding: 1.4rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-white);
  background: var(--soluency-blue);
  box-shadow: 0 1rem 2.5rem rgba(8, 37, 65, 0.25);
  text-align: center;
  transform: translate(-50%, -50%);
}

.solution-map-center img {
  width: 8rem;
}

.solution-map-center span {
  max-width: 9rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.solution-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 6.5rem;
  min-height: 6.5rem;
  padding: 0.85rem;
  place-items: center;
  border: 1px solid rgba(21, 76, 133, 0.15);
  border-radius: 50%;
  color: var(--soluency-blue-dark);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.solution-node i {
  color: var(--soluency-orange);
  font-size: 1.45rem;
}

.solution-node span {
  font-size: 0.82rem;
  font-weight: 700;
}

.node-build { top: 4%; left: 39%; }
.node-host { top: 38%; right: 2%; }
.node-automate { right: 24%; bottom: 2%; }
.node-lead { bottom: 12%; left: 4%; }

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--soluency-border);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem;
}

.trust-strip div + div {
  border-left: 1px solid var(--soluency-border);
}

.trust-strip strong {
  color: var(--soluency-blue-dark);
}

.trust-strip span {
  color: var(--soluency-muted);
  font-size: 0.84rem;
}

/* Selector cards */
.selector-section {
  background: var(--soluency-white);
}

.selector-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 20rem;
  flex-direction: column;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.selector-card:hover {
  border-color: rgba(245, 128, 31, 0.55);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.25rem);
}

.selector-card::after {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(245, 128, 31, 0.08);
  content: "";
}

.selector-number {
  color: var(--soluency-gray);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.selector-icon {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 1.4rem 0 1rem;
  color: var(--soluency-orange);
  font-size: 2rem;
}

.selector-card h3 {
  font-size: 1.16rem;
  line-height: 1.35;
}

.selector-recommendation {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--soluency-muted);
  font-size: 0.9rem;
}

.card-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 1rem;
}

.card-link-row a,
.text-link-button {
  color: var(--soluency-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link-button {
  padding: 0;
  border: 0;
  background: transparent;
}

.card-link-row a:hover,
.text-link-button:hover {
  color: var(--soluency-orange-text);
}

/* Product and service cards */
.product-feature-card,
.service-card,
.proof-card,
.belief-card {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.product-feature-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.35rem;
  background: var(--soluency-orange);
  content: "";
}

.product-feature-card.accent-blue::before { background: var(--soluency-blue); }
.product-feature-card.accent-yellow::before { background: var(--soluency-yellow); }

.feature-icon {
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--soluency-blue-dark);
  background: var(--soluency-orange-soft);
  font-size: 1.5rem;
}

.product-kicker {
  margin-bottom: 0.45rem;
  color: var(--soluency-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-feature-card p,
.service-card > p,
.proof-card p,
.belief-card p {
  color: var(--soluency-muted);
}

.product-feature-card > a,
.service-card > a,
.proof-card > a {
  font-weight: 700;
}

.sticky-heading {
  position: sticky;
  top: 9.5rem;
}

.service-list-grid {
  display: grid;
  gap: 0.8rem;
}

.service-list-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-md);
  color: var(--soluency-text);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.service-list-item > i:first-child {
  color: var(--soluency-orange);
  font-size: 1.55rem;
  text-align: center;
}

.service-list-item span {
  display: grid;
  gap: 0.18rem;
}

.service-list-item strong {
  color: var(--soluency-blue-dark);
  font-size: 1.05rem;
}

.service-list-item small {
  color: var(--soluency-muted);
  font-size: 0.88rem;
}

.service-list-item > i:last-child {
  color: var(--soluency-gray);
}

.service-list-item:hover {
  border-color: var(--soluency-orange);
  color: var(--soluency-text);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ai-delivery-section {
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 128, 31, 0.2), transparent 26%),
    linear-gradient(135deg, var(--soluency-blue-deep), var(--soluency-blue));
}

.ai-delivery-section h2,
.ai-delivery-section .lead {
  color: var(--soluency-white);
}

.ai-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ai-principles-grid > div {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.ai-principles-grid i {
  color: var(--soluency-yellow);
  font-size: 1.4rem;
}

.ai-principles-grid strong { color: var(--soluency-white); }
.ai-principles-grid span { color: rgba(255,255,255,.75); font-size: .88rem; }

.proof-stat {
  display: block;
  margin-bottom: 1rem;
  color: var(--soluency-orange-text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.proof-card h3 { font-size: 1.28rem; }

.founder-trust-panel,
.founder-profile-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--soluency-border);
  border-radius: calc(var(--radius-lg) + 0.35rem);
  background: var(--soluency-white);
  box-shadow: var(--shadow-md);
}

.founder-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soluency-light-gray);
}

.founder-photo-wrap::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--soluency-orange), var(--soluency-yellow));
  content: "";
}

.founder-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 510 / 550;
  object-fit: cover;
}

.video-card {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(245, 128, 31, 0.14), transparent 25%),
    var(--soluency-white);
}

.video-play-icon {
  display: inline-grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-white);
  background: var(--soluency-blue);
  box-shadow: var(--shadow-sm);
  font-size: 2rem;
}

.final-cta-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 128, 31, 0.14), transparent 24%),
    radial-gradient(circle at 85% 80%, rgba(21, 76, 133, 0.14), transparent 26%),
    var(--soluency-white);
}

.final-cta-section p:not(.eyebrow) {
  max-width: 50rem;
  color: var(--soluency-muted);
  font-size: 1.08rem;
}

/* Services overview */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .feature-icon {
  background: var(--soluency-blue-soft);
}

.service-card > a {
  margin-top: auto;
}

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

.outcome-grid > div {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-md);
  background: var(--soluency-white);
}

.outcome-grid i {
  color: var(--soluency-orange);
  font-size: 1.4rem;
}

.outcome-grid span { color: var(--soluency-muted); font-size: .9rem; }

.process-step {
  height: 100%;
  padding: 1.5rem;
  border-top: 3px solid var(--soluency-orange);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--soluency-light-gray);
}

.process-step > span {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-white);
  background: var(--soluency-blue);
  font-weight: 800;
}

.process-step h3 { font-size: 1.3rem; }
.process-step p { color: var(--soluency-muted); }

/* Products overview */
.product-orbit {
  position: relative;
  min-height: 27rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,76,133,.12) 0 34%, transparent 35%), repeating-radial-gradient(circle, transparent 0 42%, rgba(21,76,133,.12) 43%, transparent 44% 58%);
}

.product-orbit-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 10rem;
  height: 10rem;
  place-items: center;
  border-radius: 50%;
  background: var(--soluency-blue);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}

.product-orbit-logo img { width: 7.5rem; }

.orbit-item {
  position: absolute;
  padding: .65rem 1rem;
  border: 1px solid var(--soluency-border);
  border-radius: 999px;
  color: var(--soluency-blue-dark);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 700;
}

.orbit-one { top: 6%; left: 34%; }
.orbit-two { top: 47%; right: 0; }
.orbit-three { bottom: 7%; left: 8%; }

.product-showcase-stack {
  display: grid;
  gap: 2rem;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--soluency-border);
  border-radius: calc(var(--radius-lg) + .35rem);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.product-showcase-reverse > :first-child { order: 2; }
.product-showcase-reverse > :last-child { order: 1; }

.product-showcase-visual {
  display: grid;
  min-height: 20rem;
  padding: 2rem;
  place-content: center;
  border-radius: var(--radius-lg);
  color: var(--soluency-white);
  text-align: center;
}

.product-showcase-visual i { font-size: 4.5rem; }
.product-showcase-visual span { margin-top: 1rem; font-size: 1.05rem; font-weight: 700; }
.visual-siteshift { background: linear-gradient(135deg, var(--soluency-blue-dark), var(--soluency-blue)); }
.visual-vital { background: linear-gradient(135deg, #0C6572, var(--soluency-blue)); }
.visual-smartcards { background: linear-gradient(135deg, var(--soluency-orange), #D85D00); }

.product-fit-table-wrap {
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.product-fit-table { margin-bottom: 0; }
.product-fit-table th { padding: 1.1rem; color: var(--soluency-white); background: var(--soluency-blue); }
.product-fit-table td { padding: 1.1rem; }
.product-fit-table tbody tr:last-child td { border-bottom: 0; }

.connection-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}

.connection-flow > div {
  display: grid;
  width: 9rem;
  min-height: 9rem;
  padding: 1rem;
  place-items: center;
  border: 1px solid var(--soluency-border);
  border-radius: 50%;
  background: var(--soluency-blue-soft);
  text-align: center;
}

.connection-flow > div i { color: var(--soluency-orange); font-size: 1.7rem; }
.connection-flow > div span { color: var(--soluency-blue-dark); font-size: .85rem; font-weight: 700; }
.connection-flow > i { color: var(--soluency-gray); font-size: 1.4rem; }

/* About */
.about-year {
  display: block;
  margin-bottom: .75rem;
  color: var(--soluency-orange-text);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.07em;
}

.company-timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-left: 2rem;
}

.company-timeline::before {
  position: absolute;
  top: .5rem;
  bottom: .5rem;
  left: .5rem;
  width: 2px;
  background: linear-gradient(var(--soluency-orange), var(--soluency-blue));
  content: "";
}

.company-timeline > div {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-md);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.company-timeline > div::before {
  position: absolute;
  top: 1.65rem;
  left: -2.04rem;
  width: .75rem;
  height: .75rem;
  border: 3px solid var(--soluency-white);
  border-radius: 50%;
  background: var(--soluency-orange);
  box-shadow: 0 0 0 1px var(--soluency-orange);
  content: "";
}

.company-timeline span {
  color: var(--soluency-orange-text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.company-timeline h3 { margin-top: .35rem; font-size: 1.25rem; }
.company-timeline p { color: var(--soluency-muted); }

.belief-card i {
  display: block;
  margin-bottom: 1rem;
  color: var(--soluency-orange);
  font-size: 2rem;
}

.belief-card h3 { font-size: 1.25rem; }

.ownership-section { overflow: hidden; }

.ownership-visual {
  position: relative;
  min-height: 29rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--soluency-blue-soft) 0 35%, transparent 36%), repeating-radial-gradient(circle, transparent 0 47%, rgba(21,76,133,.13) 48%, transparent 49% 61%);
}

.ownership-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 10.5rem;
  height: 10.5rem;
  padding: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-white);
  background: var(--soluency-blue);
  text-align: center;
  transform: translate(-50%,-50%);
}

.ownership-core i { color: var(--soluency-yellow); font-size: 2rem; }

.ownership-visual > span {
  position: absolute;
  padding: .55rem .85rem;
  border: 1px solid var(--soluency-border);
  border-radius: 999px;
  color: var(--soluency-blue-dark);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 700;
}

.ownership-visual > span:nth-of-type(1) { top: 5%; left: 39%; }
.ownership-visual > span:nth-of-type(2) { top: 42%; right: 0; }
.ownership-visual > span:nth-of-type(3) { bottom: 7%; left: 35%; }
.ownership-visual > span:nth-of-type(4) { top: 46%; left: 0; }

/* Contact */
.contact-detail {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .85rem;
  align-items: start;
  padding-block: 1rem;
  border-bottom: 1px solid var(--soluency-border);
}

.contact-detail:last-child { border-bottom: 0; }
.contact-detail > i { color: var(--soluency-orange); font-size: 1.25rem; text-align: center; }
.contact-detail > div { display: grid; gap: .15rem; }
.contact-detail span { color: var(--soluency-muted); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.contact-detail a { font-weight: 700; }
.contact-detail address { margin: 0; color: var(--soluency-text); font-style: normal; }

.contact-form-placeholder { margin-top: 2rem; text-align: left; }
.contact-form-placeholder .ghl-placeholder-copy { margin-left: 0; }
.placeholder-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1.5rem; }
.placeholder-fields span { height: 3rem; border: 1px solid var(--soluency-border); border-radius: .45rem; background: var(--soluency-white); }
.placeholder-fields .field-large { grid-column: 1 / -1; height: 7rem; }
.placeholder-fields .placeholder-button { width: 10rem; border-color: var(--soluency-orange); background: rgba(245,128,31,.2); }

.contact-expectations {
  position: sticky;
  top: 9.5rem;
  padding: 1.75rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-blue-soft);
}

.numbered-list { display: grid; gap: 1.25rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.numbered-list li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .8rem; }
.numbered-list li > span { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; color: var(--soluency-white); background: var(--soluency-blue); font-weight: 800; }
.numbered-list strong { color: var(--soluency-blue-dark); }
.numbered-list p { margin-top: .2rem; color: var(--soluency-muted); font-size: .9rem; }

.interest-card {
  display: grid;
  height: 100%;
  min-height: 10rem;
  padding: 1.2rem;
  align-content: start;
  gap: .35rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-md);
  color: var(--soluency-text);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.interest-card i { margin-bottom: .4rem; color: var(--soluency-orange); font-size: 1.55rem; }
.interest-card strong { color: var(--soluency-blue-dark); }
.interest-card span { color: var(--soluency-muted); font-size: .84rem; }
.interest-card:hover { border-color: var(--soluency-orange); color: var(--soluency-text); transform: translateY(-2px); }

.strategy-call-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.83);
  background: linear-gradient(135deg,var(--soluency-blue-deep),var(--soluency-blue));
}
.strategy-call-band h2 { color: var(--soluency-white); }
.strategy-call-band p:not(.eyebrow) { max-width: 45rem; }

/* Strategy Call */
.call-readiness-card > i {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--soluency-blue-dark);
  background: var(--soluency-orange);
  font-size: 1.5rem;
}

.audience-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.audience-list > div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem; border: 1px solid var(--soluency-border); border-radius: var(--radius-md); background: var(--soluency-white); }
.audience-list i { color: var(--soluency-orange); font-size: 1.5rem; text-align: center; }
.audience-list span { display: grid; gap: .2rem; }
.audience-list small { color: var(--soluency-muted); font-size: .88rem; }

.topic-chip-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.topic-chip-grid span { padding: .55rem .8rem; border: 1px solid var(--soluency-border); border-radius: 999px; color: var(--soluency-blue-dark); background: var(--soluency-light-gray); font-size: .84rem; font-weight: 600; }

.booking-note { display: grid; grid-template-columns: auto 1fr; gap: .7rem; margin-top: 1.5rem; padding: 1rem; border-left: 4px solid var(--soluency-orange); border-radius: var(--radius-sm); background: var(--soluency-white); }
.booking-note i { color: var(--soluency-orange); }
.booking-note p { color: var(--soluency-muted); font-size: .88rem; }

.booking-placeholder { min-height: 32rem; text-align: left; }
.booking-placeholder .ghl-placeholder-copy { margin-left: 0; }
.calendar-skeleton { display: grid; gap: 1rem; margin-top: 1.5rem; }
.calendar-header { display: flex; justify-content: space-between; }
.calendar-header span { width: 8rem; height: 1.2rem; border-radius: 999px; background: var(--soluency-border); }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .4rem; }
.calendar-grid span { aspect-ratio: 1; border-radius: .35rem; background: var(--soluency-white); border: 1px solid var(--soluency-border); }
.calendar-grid span:nth-child(11), .calendar-grid span:nth-child(18), .calendar-grid span:nth-child(25) { border-color: var(--soluency-orange); background: rgba(245,128,31,.15); }
.time-skeleton { display: flex; flex-wrap: wrap; gap: .6rem; }
.time-skeleton span { width: 7rem; height: 2.5rem; border: 1px solid var(--soluency-blue); border-radius: .4rem; background: var(--soluency-blue-soft); }

@media (max-width: 991.98px) {
  .hero-solution-map { max-width: 34rem; min-height: 27rem; margin-inline: auto; }
  .trust-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--soluency-border); }
  .trust-strip div:nth-child(4) { border-top: 1px solid var(--soluency-border); }
  .sticky-heading, .contact-expectations { position: static; }
  .founder-trust-panel, .founder-profile-card { grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); }
  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase-reverse > :first-child, .product-showcase-reverse > :last-child { order: initial; }
  .strategy-call-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div + div { border-top: 1px solid var(--soluency-border); border-left: 0; }
  .selector-card { min-height: 18rem; }
  .ai-principles-grid, .outcome-grid { grid-template-columns: 1fr; }
  .founder-trust-panel, .founder-profile-card { grid-template-columns: 1fr; }
  .founder-photo-wrap { max-width: 25rem; }
  .connection-flow { flex-direction: column; }
  .connection-flow > i { transform: rotate(90deg); }
  .ownership-visual, .product-orbit { min-height: 24rem; }
  .placeholder-fields { grid-template-columns: 1fr; }
  .placeholder-fields .field-large { grid-column: auto; }
}

@media (max-width: 575.98px) {
  .home-hero { padding-top: 2.75rem; }
  .hero-solution-map { min-height: 23rem; }
  .solution-map-center { width: 9.5rem; min-height: 9.5rem; }
  .solution-map-center img { width: 6.5rem; }
  .solution-node { width: 5rem; min-height: 5rem; padding: .55rem; }
  .solution-node i { font-size: 1.1rem; }
  .solution-node span { font-size: .72rem; }
  .node-build { left: 35%; }
  .node-host { right: 0; }
  .node-automate { right: 16%; }
  .product-orbit { min-height: 21rem; }
  .product-orbit-logo { width: 8rem; height: 8rem; }
  .product-orbit-logo img { width: 6rem; }
  .orbit-one { left: 28%; }
  .orbit-two { top: 45%; }
  .orbit-three { bottom: 4%; left: 1%; }
  .product-showcase-visual { min-height: 15rem; }
  .ownership-visual { min-height: 21rem; }
  .ownership-core { width: 8rem; height: 8rem; }
  .ownership-visual > span:nth-of-type(1) { left: 32%; }
  .calendar-grid { gap: .25rem; }
}


/* Keep wide Bootstrap gutter utilities inside the reduced mobile site container. */
@media (max-width: 575.98px) {
  .site-container > .row,
  .site-container > form > .row {
    --bs-gutter-x: 1.25rem;
  }
}


/* Correction pass: content visibility and case-study media */
/* Product hero diagrams use absolutely positioned orbit elements. Establish a
   local containing block so those elements cannot escape over hero copy. */
.page-hero .product-showcase-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .product-showcase-visual .product-orbit-logo,
.page-hero .product-showcase-visual .orbit-item {
  z-index: 1;
}

/* The homepage solution nodes are absolute by design, but the LaunchPad
   connection flow reuses those classes as normal flex items. */
.connection-flow > .solution-node {
  position: static;
  inset: auto;
  flex: 0 0 9rem;
  width: 9rem;
  min-height: 9rem;
}

.case-study-narrative {
  max-width: 58rem;
  color: var(--soluency-muted);
}

.case-study-narrative p + p {
  margin-top: 1rem;
}

.case-study-screenshot {
  overflow: hidden;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-white);
  box-shadow: var(--shadow-sm);
}

.case-study-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.case-study-screenshot figcaption {
  padding: 0.85rem 1rem;
  color: var(--soluency-muted);
  background: var(--soluency-light-gray);
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .page-hero .product-showcase-visual {
    padding: 1.25rem;
  }

  .page-hero .product-showcase-visual .orbit-item {
    max-width: 8.25rem;
    padding: 0.5rem 0.7rem;
    white-space: normal;
  }

  .connection-flow > .solution-node {
    flex-basis: 8.25rem;
    width: 8.25rem;
    min-height: 8.25rem;
  }
}


/* ==============================================================
   Phase 7: Insights, FAQ, legal pages, and CTO profile
   ============================================================== */
.article-meta {
  margin-top: 1.25rem;
  color: var(--soluency-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.article-content {
  max-width: 52rem;
  color: var(--soluency-text);
}

.article-content > * + * {
  margin-top: 1.35rem;
}

.article-content h2 {
  margin-top: 2.8rem;
  scroll-margin-top: 8rem;
}

.article-content h3 {
  margin-top: 2rem;
}

.article-content p,
.article-content li,
.policy-content p,
.policy-content li {
  font-size: 1.04rem;
}

.article-content ul,
.article-content ol,
.policy-content ul,
.policy-content ol {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.35rem;
}

.article-callout {
  margin-block: 2.25rem;
  padding: 1.5rem 1.65rem;
  border-left: 5px solid var(--soluency-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--soluency-orange-soft);
}

.article-aside {
  top: 8.5rem;
  padding: 1.6rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  background: var(--soluency-blue-deep);
  box-shadow: var(--shadow-sm);
}

.article-aside h2,
.article-aside .eyebrow {
  color: var(--soluency-white);
}

.article-aside .eyebrow {
  color: var(--soluency-yellow);
}

.article-link-list a {
  color: rgba(255,255,255,.86);
}

.systems-soil-card {
  border-top: 4px solid var(--soluency-orange);
}

.faq-accordion {
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-item {
  border-color: var(--soluency-border);
}

.faq-accordion .accordion-button {
  padding: 1.15rem 1.35rem;
  color: var(--soluency-blue-dark);
  background: var(--soluency-white);
  font-weight: 700;
  line-height: 1.35;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--soluency-blue-dark);
  background: var(--soluency-blue-soft);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus-visible {
  border-color: transparent;
  box-shadow: inset 0 0 0 3px var(--soluency-blue-dark);
}

.faq-accordion .accordion-body {
  padding: 1.15rem 1.35rem 1.4rem;
  color: var(--soluency-muted);
}

.policy-content {
  max-width: 58rem;
  margin-inline: auto;
}

.policy-content h2 {
  margin-top: 2.75rem;
  padding-top: .25rem;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.policy-content h3 {
  margin-top: 1.75rem;
  font-size: 1.22rem;
}

.policy-content address {
  padding: 1.25rem;
  border-left: 4px solid var(--soluency-orange);
  background: var(--soluency-light-gray);
  font-style: normal;
}

.team-focus-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .85rem;
  margin-top: 1.25rem;
}

.team-focus-grid > div {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--soluency-border);
  border-radius: var(--radius-sm);
  background: var(--soluency-light-gray);
  color: var(--soluency-blue-dark);
  font-size: .88rem;
  font-weight: 700;
}

.team-focus-grid i {
  flex: 0 0 auto;
  color: var(--soluency-orange);
  font-size: 1.15rem;
}

@media (max-width: 575.98px) {
  .article-content p,
  .article-content li,
  .policy-content p,
  .policy-content li {
    font-size: 1rem;
  }
  .team-focus-grid {
    grid-template-columns: 1fr;
  }
}
