
:root {
  --navy: #123A8C;
  --navy-2: #0B66C3;
  --ink: #172033;
  --muted: #64748b;
  --light: #f5f7fb;
  --line: #d9e2ef;
  --white: #ffffff;
  --gold: #19A7F2;
  --slate: #334155;
  --soft-navy: #e8f2ff;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(11,31,58,.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 10000;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,224,234,.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .02em;
}

.brand-logo {
  width: 230px;
  max-width: 45vw;
  height: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: transparent;
  color: transparent;
  display: block;
  box-shadow: none;
  background-image: url("guidequest-mark.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--slate);
}

.nav a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  line-height: 1.1;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 26px rgba(11,31,58,.22);
}
.btn-primary:hover { background: #07162a; }

.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}
.btn-secondary:hover { box-shadow: 0 10px 28px rgba(11,31,58,.10); }

.btn-gold {
  background: var(--gold);
  color: white;
}
.btn-gold:hover { background: #a58244; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(184,149,87,.20), transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #eef3f8 52%, #ffffff 100%);
  padding: 88px 0 72px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(11,31,58,.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 14px;
}

h1, h2, h3 {
  line-height: 1.08;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(42px, 6vw, 70px);
  max-width: 900px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  font-size: 24px;
}

.lead {
  font-size: clamp(18px, 2.1vw, 23px);
  color: var(--slate);
  margin: 24px 0 0;
  max-width: 760px;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.proof-item {
  padding: 18px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(217,224,234,.7);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11,31,58,.06);
}

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}
.proof-item span {
  font-size: 14px;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-top {
  padding: 30px;
  background: linear-gradient(135deg, var(--navy), #163960);
  color: white;
}
.hero-card-top p {
  color: rgba(255,255,255,.82);
  margin: 14px 0 0;
}

.compass {
  width: 118px;
  height: 118px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.compass img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.hero-card-list {
  padding: 24px 30px 30px;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--slate);
}
.check-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
}

.section {
  padding: 82px 0;
}

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

.section.dark {
  background: var(--navy);
  color: white;
}
.section.dark h2,
.section.dark h3 { color: white; }
.section.dark .section-intro,
.section.dark p { color: rgba(255,255,255,.78); }

.section-header {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-intro {
  font-size: 19px;
  color: var(--muted);
  margin: 18px 0 0;
}

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

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

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(11,31,58,.05);
}

.card h3 { margin-bottom: 12px; }

.card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.card-link {
  color: var(--navy);
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.card-link::after { content: "→"; color: var(--gold); }

.situation-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.situation-card .num {
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.quote {
  font-size: 24px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}
.quote-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.quote-card footer {
  margin-top: 20px;
  color: var(--muted);
  font-weight: 750;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--soft-navy);
  color: var(--navy);
  font-weight: 750;
  font-size: 14px;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), #183a63);
  color: white;
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,.78); margin: 12px 0 0; }

.page-hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(184,149,87,.18), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
  padding: 74px 0;
}
.page-hero .lead { max-width: 820px; }

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--navy); font-weight: 750; }

.service-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-child { border-top: 0; }
.service-kicker {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}
.service-detail p { color: var(--muted); margin: 12px 0 18px; }
.service-detail ul {
  margin: 0;
  padding-left: 20px;
  color: var(--slate);
}

.bio-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bio-placeholder {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(11,31,58,.96), rgba(16,43,78,.94)),
    radial-gradient(circle at 30% 30%, rgba(184,149,87,.45), transparent 28%);
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  padding: 30px;
}
.bio-placeholder strong {
  font-size: 44px;
  display: block;
  letter-spacing: -.04em;
}
.bio-placeholder span {
  color: rgba(255,255,255,.75);
}
.bio-panel-content {
  padding: 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 14px;
}
.form label {
  font-weight: 750;
  color: var(--navy);
  display: grid;
  gap: 7px;
}
.form input,
.form textarea,
.form select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }

.note {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #07162a;
  color: white;
  padding: 50px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 32px;
}
.site-footer h4 {
  margin: 0 0 12px;
  color: white;
}
.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.72);
}
.site-footer a:hover { color: white; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding-top: 20px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

@media (max-width: 920px) {
  .mobile-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .header-actions .btn { display: none; }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .proof-strip,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 58px 0; }
  .section { padding: 58px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .proof-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 30px; border-radius: 24px; }
  .brand-text small { display: none; }
}


@media (max-width: 640px) {
  .brand-logo { width: 185px; max-width: 62vw; }
}


.hero-card-top .compass {
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .compass {
    width: 96px;
    height: 96px;
  }
  .compass img {
    width: 86px;
    height: 86px;
  }
}


/* Clients & testimonials */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.logo-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 82px;
  padding: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -.015em;
  box-shadow: 0 8px 20px rgba(11,31,58,.04);
}

.testimonial-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(11,31,58,.06);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

.testimonial-card cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.proof-note {
  background: var(--soft-navy);
  border: 1px solid #cfe2fb;
  color: var(--navy);
  border-radius: 20px;
  padding: 24px;
}

@media (max-width: 920px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .logo-grid { grid-template-columns: 1fr; }
}
