/* ==========================================================================
   Waypoint Operations Group — Global Stylesheet
   ========================================================================== */

:root {
  --navy: #0D1B2A;
  --navy-deep: #0A1628;
  --navy-border: #1E3A5F;
  --gray: #7F8892;
  --light-gray: #F7F7F7;
  --white: #FFFFFF;
  --steel: #8BACC8;
  --border-hair: #e8e8e8;
  --border-card: #e0e0e0;
  --body-copy: #444;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }

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

/* Section label — "WHAT WE DO", "WHY WAYPOINT", etc. */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border-hair);
  margin-bottom: 48px;
}

.sub-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hr-accent {
  border: none;
  border-top: 1px solid var(--navy-border);
  width: 60px;
  margin: 32px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

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

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

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

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 0.5px solid var(--border-hair);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(13, 27, 42, 0.08);
}

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

.nav-logo img {
  height: 68px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 24px;
  font-size: 11px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-overlay a {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.mobile-overlay .btn {
  margin-top: 16px;
}

/* ==========================================================================
   Hero (Home + Page Heroes)
   ========================================================================== */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 80px 100px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.pre-headline {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  color: var(--white);
  max-width: 920px;
  margin: 0 auto;
}

.hero .hr-accent {
  margin: 32px auto;
}

.hero-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--steel);
  max-width: 640px;
  margin: 0 auto 40px;
}

.page-hero .hero-body {
  margin-bottom: 0;
}

/* ==========================================================================
   Credibility Bar
   ========================================================================== */

.credibility-bar {
  background: var(--light-gray);
  padding: 24px 40px;
  text-align: center;
}

.credibility-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.credibility-list li {
  position: relative;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--gray);
  padding: 0 20px;
}

.credibility-list li::after {
  content: '\00b7';
  position: absolute;
  right: -2px;
  top: 0;
}

.credibility-list li:last-child::after {
  content: '';
}

/* ==========================================================================
   Services Section (Home)
   ========================================================================== */

.services-section {
  background: var(--white);
  padding: 65px 80px;
  border-top: 1px solid var(--border-hair);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-inner .section-label {
  margin-top: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: calc((200% - 24px) / 3);
  margin: 24px auto 0;
}

.card {
  border: 0.5px solid var(--border-card);
  padding: 32px;
  background: var(--white);
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card h3,
.card p {
  overflow-wrap: break-word;
}

.card:hover {
  border-color: var(--navy);
}

.card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-link {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--navy);
  align-self: flex-start;
  transition: color 0.2s ease;
}

.card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Why Waypoint Section
   ========================================================================== */

.why-section {
  background: var(--light-gray);
  padding: 65px 80px;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.why-grid > * {
  min-width: 0;
}

.why-left h2 {
  font-size: 32px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 28px;
}

.why-left p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.9;
  margin-bottom: 22px;
}

.why-left p.emphasis {
  font-style: italic;
  color: var(--gray);
}

.results-block {
  border-left: 3px solid var(--navy);
  padding-left: 24px;
  margin-bottom: 28px;
}

.results-block p {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: #333;
  line-height: 1.8;
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */

.bottom-cta {
  background: var(--navy);
  padding: 65px 80px;
  text-align: center;
}

.bottom-cta h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 24px;
}

.bottom-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--steel);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ==========================================================================
   Service Detail Sections (What We Do page)
   ========================================================================== */

.service-section {
  padding: 52px;
}

.service-section.bg-white { background: var(--white); }
.service-section.bg-light { background: var(--light-gray); }
.service-section { scroll-margin-top: 88px; }

.service-inner {
  max-width: 900px;
  margin: 0 auto;
}

.service-number {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-inner > h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 48px;
}

.service-sub {
  margin-bottom: 36px;
}

.service-sub:last-child {
  margin-bottom: 0;
}

.service-sub p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.8;
}

.service-sub ul {
  margin-top: 4px;
}

.service-sub ul li {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  color: #444;
  line-height: 2;
  padding-left: 20px;
}

.service-sub ul li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--navy);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-section {
  background: var(--white);
  padding: 65px 80px;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-inner p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-inner p:last-child {
  margin-bottom: 0;
}

.track-record-section {
  background: var(--light-gray);
  padding: 65px 80px;
}

.track-record-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.disclaimer {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--gray);
  margin-top: -32px;
  margin-bottom: 48px;
}

.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.track-grid > * {
  min-width: 0;
}

.track-block h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}

.track-block ul li {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  padding-left: 20px;
  margin-bottom: 6px;
}

.track-block ul li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--navy);
}

.education-section {
  background: var(--white);
  padding: 60px 80px;
}

.education-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.education-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
}

.education-list li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
}

.how-we-work-section {
  background: var(--light-gray);
  padding: 65px 80px;
}

.how-we-work-inner {
  max-width: 800px;
  margin: 0 auto;
}

.how-we-work-inner p {
  font-family: var(--font-body);
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 24px;
}

.how-we-work-inner p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
  background: var(--white);
  padding: 65px 80px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}

.contact-inner > * {
  min-width: 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  border: 0.5px solid #ccc;
  border-radius: 0;
  padding: 12px 16px;
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  border: none;
}

.direct-contact-label {
  margin-bottom: 24px;
}

.direct-contact a,
.direct-contact p.contact-line {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.direct-contact a:hover {
  color: var(--steel);
}

.expectation-box {
  border-left: 3px solid var(--navy);
  padding-left: 24px;
  margin-top: 40px;
}

.expectation-box p {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: #555;
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: 32px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner p,
.footer-inner a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--steel);
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero,
  .services-section,
  .why-section,
  .bottom-cta,
  .service-section,
  .about-section,
  .track-record-section,
  .education-section,
  .how-we-work-section,
  .contact-section {
    padding-left: 48px;
    padding-right: 48px;
  }

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

  .services-grid-row2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .why-grid,
  .contact-inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 14px 24px;
  }

  .nav-logo img {
    height: 38px;
  }

  .hero,
  .services-section,
  .why-section,
  .bottom-cta,
  .service-section,
  .about-section,
  .track-record-section,
  .education-section,
  .how-we-work-section,
  .contact-section {
    padding: 42px 24px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .why-left h2 {
    font-size: 26px;
  }

  .bottom-cta h2 {
    font-size: 28px;
  }

  .services-grid,
  .services-grid-row2,
  .why-grid,
  .track-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .credibility-bar p {
    line-height: 1.8;
  }

  .service-inner > h2 {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-body {
    font-size: 15px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 11px;
  }
}
