/* ==========================================================================
   Bluestone Partners — shared stylesheet
   ========================================================================== */

:root {
  --navy: #172a4d;
  --navy-dark: #0f1d38;
  --navy-mid: #24447c;
  --blue: #2f6fb0;
  --orange: #e8792f;
  --orange-dark: #d1671f;
  --ink: #1c2333;
  --gray-700: #4a5468;
  --gray-500: #6b7385;
  --gray-200: #e6e8ee;
  --gray-100: #f3f5f9;
  --white: #ffffff;

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-dark);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

/* Header ----------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-dark);
  white-space: nowrap;
}

.logo .mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--navy) 0deg, var(--blue) 160deg, var(--navy) 360deg);
  flex-shrink: 0;
}

.logo .sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gray-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
}

.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
}

/* Hero --------------------------------------------------------------------*/

.hero {
  background: linear-gradient(100deg, var(--navy-dark) 0%, var(--navy) 46%, var(--navy-mid) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: 480px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 12ch;
}

.hero p.lede {
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  font-size: 1.02rem;
}

.hero-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #223a63, #2f5590);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
}

.page-hero {
  background: linear-gradient(100deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 72px 0 56px;
}
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; font-size: 1.05rem; }

/* Trusted-by strip ----------------------------------------------------- */

.trusted {
  padding: 40px 0 8px;
}
.trusted .container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}
.trusted .label {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 0.9rem;
  white-space: nowrap;
}
.trusted .logos {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--gray-700);
  font-weight: 700;
  font-size: 1.05rem;
  opacity: 0.75;
}

/* Services grid ---------------------------------------------------------*/

.services {
  padding: 48px 0 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card p { font-size: 0.95rem; }
.service-card .highlight {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.service-card .learn-more {
  font-weight: 700;
  color: var(--orange);
  font-size: 0.92rem;
}

/* Generic content sections ---------------------------------------------- */

.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 28px;
}
.card h3 { font-size: 1.1rem; }
.card p { font-size: 0.94rem; margin-bottom: 0; }

.placeholder-block {
  border: 1px dashed var(--gray-200);
  border-radius: 10px;
  background: var(--gray-100);
  padding: 48px 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.results {
  padding: 64px 0 80px;
}
.results .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.results h2 { font-size: 1.8rem; }

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.stat-list .stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-list .stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* CTA band ----------------------------------------------------------------*/

.cta-band {
  background: var(--navy-dark);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* Footer ------------------------------------------------------------------*/

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* Responsive --------------------------------------------------------------*/

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
  .services-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .results .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-200);
  }
  .header-cta { display: none; }
  .services-grid, .card-grid { grid-template-columns: 1fr; }
  .trusted .container { grid-template-columns: 1fr; }
  .stat-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
