/* ========================================
   Beyond Advisory — Website Styles
   ======================================== */

:root {
  --navy: #0A1628;
  --navy-light: #0f2038;
  --navy-card: #111f35;
  --teal: #3A8E8C;
  --white: #FAFAFA;
  --gray-bg: #f5f5f7;
  --text-muted: #94a3b8;
  --text-body: #cbd5e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-tree {
  height: 80px;
  width: auto;
}

.footer-tree {
  height: 60px;
  width: auto;
}

.nav-contact {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.nav-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-contact a:hover {
  color: var(--teal);
}

.nav-sep {
  margin: 0 8px;
}

/* ---- Section Labels ---- */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label-light {
  color: var(--teal);
}

.section-label-center {
  text-align: center;
}

.label-dash {
  margin-right: 8px;
  color: var(--teal);
}

.section-heading {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
}

.section-heading-light {
  color: #fff;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: #3dbdb5;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.teal {
  color: var(--teal);
}

.teal-bold {
  color: var(--teal);
  font-weight: 600;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-headline {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  font-weight: 500;
}

/* ========================================
   PROBLEM
   ======================================== */
.problem {
  padding: 120px 0 0;
  background: #fff;
}

.stat-callout {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
}

.stat-number {
  font-size: 6rem;
  font-weight: 900;
  font-style: italic;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
}

.stat-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
}

.stat-muted {
  color: var(--text-muted);
}

.stat-source {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 12px;
}

.problem .section-heading {
  margin-bottom: 48px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pain-funnel {
  display: flex;
  flex-direction: column;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.pain-step {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.pain-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: #fff;
}

.pain-step-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}

.pain-step-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #64748b;
}

.pain-img {
  flex: 0 0 40%;
  object-fit: cover;
  object-position: top;
  max-width: 40%;
}

.pain-caption {
  font-size: 0.85rem !important;
  font-style: italic;
  color: #94a3b8 !important;
  margin-top: 12px;
}

.pain-connector {
  display: none;
}

.pain-left {
  flex-direction: row;
}

.pain-right {
  flex-direction: row;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pain-left.scroll-reveal {
  transform: translateX(-40px) translateY(20px);
}

.pain-left.scroll-reveal.visible {
  transform: translateX(0) translateY(0);
}

.pain-right.scroll-reveal {
  transform: translateX(40px) translateY(20px);
}

.pain-right.scroll-reveal.visible {
  transform: translateX(0) translateY(0);
}

/* ========================================
   APPROACH
   ======================================== */
.approach {
  padding: 120px 0;
  background: var(--gray-bg);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.approach-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #475569;
  font-weight: 500;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
}

.approach-points li:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.approach-points .bullet {
  margin-top: 8px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: flex-start;
}

.step:first-child {
  border-top: none;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  padding-top: 2px;
}

.step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

.why-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
}

.why-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.why-card ul {
  list-style: none;
}

.why-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.why-card li:first-child {
  border-top: none;
}

.bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 120px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--teal);
  border-radius: 12px;
  padding: 36px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(78, 205, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--teal);
}

/* ========================================
   RESULTS
   ======================================== */
.results {
  padding: 120px 0;
  background: var(--navy);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
}

.metric-card {
  background: var(--navy-card);
  padding: 40px 32px;
}

.metric-card:first-child {
  border-radius: 16px 0 0 16px;
}

.metric-card:last-child {
  border-radius: 0 16px 16px 0;
}

.metric-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}

.metric-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.results-callout {
  background: rgba(78, 205, 196, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 24px 32px;
}

.results-callout p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 120px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.headshot-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #aaa;
  font-size: 0.85rem;
  font-family: monospace;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.03) 10px,
    rgba(0,0,0,0.03) 11px
  );
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 16px;
}

.about-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 24px;
  margin-top: 32px;
}

.about-content blockquote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-content blockquote cite {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ========================================
   TERRITORY
   ======================================== */
.territory {
  padding: 120px 0;
  background: var(--gray-bg);
}

.territory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.territory-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 16px;
}

.territory-tagline {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  color: var(--teal) !important;
  margin-top: 24px !important;
  margin-bottom: 16px !important;
}

.location-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.territory-map {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/4.5;
  min-height: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.map-tooltip {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
  padding: 120px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.calendly-inline-widget {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-email {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta-email a {
  color: var(--teal);
  text-decoration: none;
}

.cta-email a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #060d18;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 1.1rem;
  color: #fff;
}

.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}

.footer-info a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-info a:hover {
  color: var(--teal);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
  .hero-headline {
    font-size: 3rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .cta-heading {
    font-size: 2.8rem;
  }

  .pain-funnel {
    max-width: 100%;
  }

  .pain-step {
    flex-direction: column !important;
    min-height: auto;
  }

  .pain-step.pain-right {
    flex-direction: column-reverse !important;
  }

  .pain-img {
    width: 100%;
    max-width: 100%;
    flex: none;
    max-height: 250px;
    object-position: center top;
  }

  .pain-step-content {
    padding: 32px 24px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card:first-child {
    border-radius: 16px 0 0 0;
  }

  .metric-card:nth-child(2) {
    border-radius: 0 16px 0 0;
  }

  .metric-card:nth-child(3) {
    border-radius: 0 0 0 16px;
  }

  .metric-card:last-child {
    border-radius: 0 0 16px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 300px;
  }

  .territory-grid {
    grid-template-columns: 1fr;
  }

  .stat-callout {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }

  .stat-number {
    font-size: 4.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding-bottom: 60px;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

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

  .btn {
    text-align: center;
  }

  .nav-contact {
    display: none;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .cta-heading {
    font-size: 2.2rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .metric-card:first-child,
  .metric-card:nth-child(2),
  .metric-card:nth-child(3),
  .metric-card:last-child {
    border-radius: 0;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }
}
