/* ==========================================================
   Future Strategies Group — styles
   Palette: dark blue + white
   ========================================================== */

:root {
  --navy-950: #050f1f;
  --navy-900: #0a1a33;
  --navy-800: #0f2547;
  --navy-700: #16335e;
  --navy-500: #2d5590;
  --blue-200: #c9d8ee;
  --blue-100: #e6eef9;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --ink: #0a1a33;
  --muted: #4b5d78;
  --line: #dbe3ef;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 30px 60px -20px rgba(5, 15, 31, 0.45);
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, summary { text-wrap: balance; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--navy-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 22px; font-size: 0.875rem; }
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); }
.btn--outline { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy-900); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  background: rgba(10, 26, 51, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 6px 24px rgba(5, 15, 31, 0.25);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}
.brand__name { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--white); transition: width 0.25s;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 100px;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 15, 31, 0.94) 0%, rgba(10, 26, 51, 0.86) 45%, rgba(15, 37, 71, 0.6) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=80") center / cover no-repeat;
  transform: scale(1.04);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero h1 { font-size: clamp(2.34rem, 5.04vw, 4.05rem); line-height: 1.08; margin-bottom: 24px; }
.hero .eyebrow { font-size: 0.675rem; }
.hero__line { display: block; white-space: nowrap; }
.hero__accent { font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.92); max-width: 520px; margin-bottom: 30px; }

.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero__points li { display: flex; align-items: center; gap: 14px; font-size: 0.98rem; color: rgba(255, 255, 255, 0.92); }
.hero__points li::before {
  content: ""; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero__card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cal-box {
  position: relative;
  width: 100%;
}
.cal-box:has(.cal-box__loading) { min-height: 560px; }  /* placeholder until Cal.com sizes its frame */
.cal-box__loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted); font-size: 0.95rem;
}
.cal-box__fallback {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 32px;
  color: var(--muted);
}

/* ---------- Track record banner ---------- */
.stat-banner { background: var(--navy-950); color: var(--white); padding: 34px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.stat-banner__inner { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.stat-banner__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat-banner__text { font-size: 1.1rem; color: rgba(255, 255, 255, 0.78); padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.25); text-align: left; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section__title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); color: var(--navy-900); }
.section__head { max-width: 680px; margin-bottom: 60px; }
.section__head--light .section__title { color: var(--white); }
.section__head--wide { max-width: none; }
@media (min-width: 1081px) { .section__head--wide .section__title { white-space: nowrap; font-size: 2.85rem; } }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro__body p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.intro__body .section__title { margin-bottom: 28px; }
.intro__media { position: relative; margin-bottom: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__media::after {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; pointer-events: none;
}
.intro__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); background: var(--navy-800); }
.intro__body .intro__lead { font-size: 1.2rem; line-height: 1.6; color: var(--navy-900); font-weight: 500; }

/* Value calculator */
.calc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10, 26, 51, 0.35);
  padding: 36px;
}
.calc__head h3 { color: var(--navy-900); font-size: 1.45rem; margin-bottom: 6px; }
.calc__head p { color: var(--muted); font-size: 0.95rem; margin: 0 0 26px; }
.calc__form { display: grid; gap: 20px; }
.calc__field { display: grid; gap: 8px; }
.calc__field > span:first-child { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.calc__field small { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.calc select,
.calc__money {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc select {
  appearance: none; -webkit-appearance: none;
  padding: 14px 44px 14px 16px; cursor: pointer;
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.calc__money { display: flex; align-items: center; padding: 0 16px; gap: 6px; }
.calc__money > span { color: var(--muted); font-weight: 600; }
.calc__money input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); padding: 14px 0; outline: none; }
.calc select:focus, .calc__money:focus-within { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(45, 85, 144, 0.15); }
.calc__result {
  margin: 28px 0 22px;
  padding: 24px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--white);
  display: grid; gap: 4px;
}
.calc__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-200); }
.calc__range { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.calc__multiple { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }
.calc__cta { width: 100%; }
.calc__note { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin: 16px 0 0; }

/* Services */
.services { background: var(--off-white); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--navy-900); transition: width 0.35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10, 26, 51, 0.3); border-color: transparent; }
.card:hover::before { width: 100%; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-900);
  display: grid; place-items: center; margin-bottom: 24px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { color: var(--navy-900); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Process */
.process { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.process::after {
  content: ""; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.02), 0 0 0 160px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }
.step { padding: 0 32px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 32px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--white);
}
.step__num { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; color: var(--blue-200); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; margin-bottom: 12px; }
.step p { color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; margin: 0; }

/* Why */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(10, 26, 51, 0) 50%, rgba(10, 26, 51, 0.45) 100%),
    url("https://images.unsplash.com/photo-1773505152933-abce5bf2b6a0?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat,
    var(--navy-800);
  box-shadow: var(--shadow);
  position: relative;
}
.why__image::after {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; pointer-events: none;
}
.checklist { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; gap: 22px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
.checklist li::before {
  content: ""; grid-row: span 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist strong { font-weight: 600; color: var(--navy-900); }
.checklist span { color: var(--muted); font-size: 0.97rem; }

/* FAQ */
.faq { background: var(--off-white); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0;
  font-family: var(--sans); font-size: 1.1rem; font-weight: 600; color: var(--navy-900);
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--navy-900), var(--navy-900)) center / 1.5px 14px no-repeat;
  transition: transform 0.25s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { color: var(--muted); padding: 0 48px 26px 0; margin: 0; }

/* CTA */
.cta {
  background:
    linear-gradient(rgba(10, 26, 51, 0.92), rgba(10, 26, 51, 0.92)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat,
    var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: 110px 0;
}
.cta h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); max-width: 760px; margin: 0 auto 34px; }
.cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 34px; font-size: 1.08rem; }

/* Footer */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 72px 0 32px; font-size: 0.93rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__brand p { margin: 18px 0 0; max-width: 320px; }
.footer__cols { display: flex; gap: 80px; }
.footer__cols h4 { color: var(--white); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.footer__cols a { display: block; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer__cols a:hover { color: var(--white); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.footer__legal p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 680px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 96px 24px 36px;
    background: var(--navy-900);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links a:not(.btn) { font-size: 1.1rem; }
}

@media (max-width: 860px) {

  .section { padding: 84px 0; }
  .intro__grid, .why__grid, .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .calc { padding: 26px 22px; }
  .why__image { aspect-ratio: 16 / 11; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 0.98rem; white-space: nowrap; }
  .brand__mark { width: 38px; height: 38px; font-size: 0.75rem; flex: none; }
  .eyebrow { letter-spacing: 0.14em; gap: 10px; }
  .eyebrow::before { width: 20px; flex: none; }
  .hero h1 { font-size: 10.35vw; }
  .hero__lead { font-size: 1.02rem; }
  .hero__points li { font-size: 0.9rem; gap: 12px; }
    .section__title { font-size: 1.8rem; }
  .section__head { margin-bottom: 40px; }
  .intro__body .intro__lead { font-size: 1.05rem; }
  .calc__head h3 { font-size: 1.25rem; }
  .accordion summary { font-size: 1rem; padding: 20px 40px 20px 0; }
  .accordion details p { padding-right: 0; }
  .cta { padding: 84px 0; }
  .cta h2 { font-size: 1.8rem; }
  .stat-banner { padding: 30px 0; }
  .stat-banner__inner { flex-direction: column; gap: 8px; }
  .stat-banner__text { font-size: 1rem; padding-left: 0; border-left: 0; text-align: center; text-wrap: balance; max-width: 300px; }
  .hero { padding: 120px 0 64px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer__cols { gap: 48px; }
}
