/* ============================================================
   2030 Consulting — stylesheet
   Design tokens live in :root. New sections should reuse the
   existing .section / .section-inner / .section-header pattern
   so visual rhythm stays consistent without a redesign.
   ============================================================ */

:root {
  /* Brand palette (from logo) */
  --color-navy: #1f3b5c;
  --color-navy-dark: #16293f;
  --color-blue: #4fa9dc;
  --color-blue-light: #aed8f2;
  --color-orange: #f2994a;

  --color-bg: #ffffff;
  --color-bg-alt: #eef1f5;
  --color-text: #23303e;
  --color-text-muted: #5b6b7a;
  --color-border: #e4e9ee;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
  --section-padding: 96px;
  --section-padding-mobile: 56px;
  --radius: 10px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* offsets fixed header when jumping to an anchor */
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-navy-dark);
}

p {
  margin: 0 0 16px;
}

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

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-orange);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 153, 74, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: saturate(180%) blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy-dark);
  letter-spacing: 0.01em;
}

/* Nav links: a flat <ul> today. To add a dropdown later, wrap the
   relevant <li> with class "has-dropdown" and nest a <ul class="dropdown">
   inside it — the CSS below already knows how to reveal it on hover/focus. */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > li {
  position: relative;
}

.nav-links a.nav-link {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a.nav-link:hover,
.nav-links a.nav-link:focus-visible {
  color: var(--color-blue);
  background: var(--color-bg-alt);
}

.nav-links .has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20, 40, 60, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.nav-links .dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-blue);
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta .btn {
  padding: 10px 22px;
  background: var(--color-navy);
  color: #fff;
}

.nav-cta .btn:hover {
  background: var(--color-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

.hero {
  padding: 190px 0 110px;
  background: linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, var(--color-blue) 130%);
  color: #ffffff;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 880px;
  margin: 0 auto 24px;
  line-height: 1.15;
}

.hero p.hero-sub {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-capabilities span:not(:last-child)::after {
  content: "\00A0\00B7\00A0";
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Generic section ---------- */

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* On phones, the second line flows inline and wraps naturally with the
   first. From tablet width up, it breaks onto its own smaller line for a
   deliberate two-line heading. */
.h2-line-2 {
  display: inline;
}

@media (min-width: 641px) {
  .h2-line-2 {
    display: block;
    font-size: 0.75em;
    margin-top: 6px;
  }
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ---------- Who We Are ---------- */

#who-we-are .section-header {
  max-width: 900px;
}

#who-we-are .section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 64px;
}

.lane-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: left;
}

.lane-card.lane-highlight {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
}

.lane-card.lane-highlight h4,
.lane-card.lane-highlight p {
  color: #ffffff;
}

.lane-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-blue-light);
  color: var(--color-navy-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lane-highlight .lane-number {
  background: var(--color-orange);
  color: #ffffff;
}

.lane-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.lane-card p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.who-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 48px;
}

.who-copy p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
}

.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.credential-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* ---------- Who We Serve ---------- */

#who-we-serve .section-header {
  max-width: 900px;
}

#who-we-serve .section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.audience-card {
  flex: 0 1 calc(25% - 18px);
  min-height: 224px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 3px solid var(--color-blue);
}

.audience-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ---------- What We Do ---------- */

#what-we-do .section-header {
  max-width: 820px;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 20px rgba(20, 40, 60, 0.06);
  border-color: var(--color-blue-light);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-navy);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- Certifications ---------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
}

.cert-program {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.cert-designations {
  margin-bottom: 14px;
}

.cert-designations p {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.cert-designations p:last-child {
  margin-bottom: 0;
}

.cert-card p.cert-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.cert-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.cert-note a {
  color: var(--color-navy);
  font-weight: 600;
  border-bottom: 1px solid var(--color-blue-light);
}

.cert-note a:hover {
  color: var(--color-blue);
}

/* ---------- Contact ---------- */

.contact-section {
  background: linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: #ffffff;
  text-align: center;
}

.contact-section .section-header h2,
.contact-section .section-tag {
  color: #ffffff;
}

.contact-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-method {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px 32px;
  width: 380px;
}

.contact-method .contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-method a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-method a:hover {
  color: var(--color-blue-light);
}

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

.site-footer {
  padding: 32px 0;
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

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

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

@media (max-width: 960px) {
  .lanes,
  .services-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-copy {
    grid-template-columns: 1fr;
  }

  .audience-card {
    flex-basis: calc(50% - 12px);
    min-height: 178px;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav-cta {
    top: auto;
    border-bottom: none;
    padding-top: 0;
  }

  body.nav-open .nav-links,
  body.nav-open .nav-cta {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    box-shadow: 0 12px 20px rgba(20, 40, 60, 0.08);
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links a.nav-link {
    display: block;
    padding: 12px 8px;
  }

  .nav-links .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 12px;
  }

  .nav-links .has-dropdown.dropdown-open .dropdown {
    display: block;
  }

  .nav-cta {
    display: flex;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .hero {
    padding: 150px 0 72px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

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

  .audience-card {
    flex-basis: 100%;
    min-height: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-method {
    width: 100%;
  }
}
