/* ==========================================================================
   FINVEST CONSULTING — Homepage
   Design language inspired by akadian.com: warm cream canvas, deep navy
   display type, orange accent, pill buttons, soft rounded cards.
   ========================================================================== */

:root {
  --navy: #282D4D;
  --navy-deep: #1E2240;
  --orange: #F57A47;
  --orange-dark: #E2632F;
  --cream: #FFFEFA;
  --warm-gray: #F5F3F0;
  --warm-gray-2: #EDEAE4;
  --ink-soft: #5B5F79;
  --yellow: #F4F262;
  --white: #FFFFFF;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -18px rgba(40, 45, 77, .18);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 90%;
  margin-inline: auto;
  padding-inline: 15px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; }

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
}

.section__title em {
  font-style: normal;
  color: var(--orange);
}

.section__title--light { color: var(--cream); }

.section__sub {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.06rem;
}

.section { padding: 96px 0; }

.section__head { margin-bottom: 56px; }

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.section__sub--right { max-width: 380px; padding-bottom: 8px; }

/* ---------- Pills & buttons ---------- */

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

.pill--accent { background: rgba(245, 122, 71, .12); color: var(--orange-dark); }
.pill--outline { border: 1.5px solid var(--warm-gray-2); color: var(--ink-soft); background: var(--white); }
.pill--light { background: rgba(255, 255, 255, .12); color: var(--cream); }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

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

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(245, 122, 71, .65);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }

.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--navy-deep); }

.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--orange-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--warm-gray-2);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* Transparent state: white text over the hero photo */
.header .nav__link { color: var(--white); }
.header .nav__link:hover { background: rgba(255, 255, 255, .14); }
.header .nav__link.is-active { background: rgba(255, 255, 255, .18); color: var(--white); }
.header .logo { color: var(--white); }
.header .logo__text small { color: var(--orange); }
.header .nav-toggle span { background: var(--white); }

.header.is-scrolled {
  background: var(--white);
  border-bottom-color: var(--warm-gray-2);
  box-shadow: 0 8px 30px -20px rgba(40, 45, 77, .25);
}

/* Scrolled state: back to navy text on white */
.header.is-scrolled .nav__link { color: var(--navy); }
.header.is-scrolled .nav__link:hover { background: var(--warm-gray); }
.header.is-scrolled .nav__link.is-active { background: var(--navy); color: var(--cream); }
.header.is-scrolled .logo { color: var(--navy); }
.header.is-scrolled .logo__text small { color: var(--orange-dark); }
.header.is-scrolled .nav-toggle span { background: var(--navy); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

/* Image logos: light for dark backgrounds, dark for the white scrolled header */
.logo__img { height: 30px; width: auto; display: block; }
.logo__img--dark { display: none; }

/* transparent header (top of page) shows the light logo; scrolled/white header shows the dark one */
.header.is-scrolled .logo__img--light { display: none; }
.header.is-scrolled .logo__img--dark { display: block; }

/* footer always sits on dark navy → keep the light logo */
.footer .logo__img { height: 32px; }

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.logo__text small {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .34em;
  color: var(--orange-dark);
  margin-top: 3px;
}

.logo--light { color: var(--cream); }
.logo--light .logo__mark { background: var(--orange); color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--navy);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.nav__link:hover { background: var(--warm-gray); }
.nav__link.is-active { background: var(--navy); color: var(--cream); }

/* ---------- Nav dropdowns ---------- */

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__caret {
  font-size: .65em;
  line-height: 1;
  opacity: .7;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--warm-gray-2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 120;
}

/* Bridge the hover gap between link and panel */
.nav__item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__dropdown a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.nav__dropdown a:hover { background: var(--warm-gray); color: var(--orange-dark); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (full-bleed photo slider) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  /* pull the hero up behind the transparent sticky header */
  margin-top: -91px;
}

.hero__slider { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-deep);
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 23, 45, .78) 0%, rgba(20, 23, 45, .48) 55%, rgba(20, 23, 45, .18) 100%);
}

.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 120px 160px;
}

.pill--glass {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 26px 0 36px;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__sub {
  color: rgba(255, 255, 255, .78);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__explore {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  text-decoration: none;
}

.hero__explore-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .25s ease;
}

.hero__explore:hover .hero__explore-icon {
  background: var(--orange-dark);
  transform: translateX(6px);
}

.hero__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 42px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero__dot.is-active { width: 30px; background: var(--orange); }

.hero__card {
  position: absolute;
  right: 5%;
  bottom: 0;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 30px 34px 26px;
  max-width: 340px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}

.hero__card:hover { transform: translateY(-6px); }

.hero__card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.hero__card p {
  color: var(--ink-soft);
  font-size: .9rem;
  margin-bottom: 14px;
}

/* ---------- Stats bar ---------- */

.stats { padding: 0 0 90px; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 28px;
  gap: 24px;
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--orange);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
}

/* ---------- Services (photo card slider, Crafto-style) ---------- */

.services { padding-top: 0; }

.services__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.services__heading .section__title { margin-bottom: 0; }

.services__intro {
  color: var(--ink-soft);
  max-width: 380px;
  font-size: 1rem;
}

.slider-nav { display: flex; gap: 12px; }

.slider-nav__btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1.5px solid var(--warm-gray-2);
  background: var(--white);
  color: var(--navy);
  font-size: 1.25rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}

.slider-nav__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.services__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}

.services__track::-webkit-scrollbar { display: none; }

.svc {
  position: relative;
  flex: 0 0 min(340px, 82vw);
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 45, .28) 0%, rgba(20, 23, 45, .05) 40%, rgba(20, 23, 45, .78) 100%);
  transition: background .3s ease;
}

.svc:hover::before {
  background: linear-gradient(180deg, rgba(20, 23, 45, .45) 0%, rgba(20, 23, 45, .35) 40%, rgba(20, 23, 45, .85) 100%);
}

.svc__icon {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.svc__icon svg { width: 44px; height: 44px; }

.svc__desc {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  margin-top: auto;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.svc:hover .svc__desc { opacity: 1; transform: none; }

.svc__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.svc__bottom h3 {
  color: var(--white);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.svc__arrow {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.15rem;
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: background .25s ease, transform .25s ease;
}

.svc__arrow:hover { background: var(--orange-dark); transform: translateX(4px); }

/* ---------- About ---------- */

.about { background: var(--warm-gray); border-radius: 48px 48px 0 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.about__badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  box-shadow: var(--shadow);
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
}

.about__badge span { font-size: .75rem; opacity: .8; }

.about__quote {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.5;
  padding-left: 20px;
  border-left: 4px solid var(--orange);
  color: var(--navy);
}

.about__content p { color: var(--ink-soft); margin-bottom: 18px; }

.about__content .btn { margin-top: 8px; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-gray-2);
}

.about__stat { display: flex; flex-direction: column; }

.about__stat strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
}

.about__stat span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Process (split tab panel, Akadian-style) ---------- */

.process { padding-top: 80px; }

.process__panel {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  background: var(--warm-gray);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process__nav { padding: 56px 44px; }

.process__nav .section__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 34px; }

.process__tabs { display: flex; flex-direction: column; }

.process__tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--navy);
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--warm-gray-2);
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color .25s ease;
}

.process__tab:last-child { border-bottom: 1px solid var(--warm-gray-2); }

.process__tab::before {
  content: '→';
  color: var(--orange);
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .3s ease, opacity .3s ease, margin-right .3s ease;
}

.process__tab:hover { color: var(--orange-dark); }

.process__tab.is-active { color: var(--orange); }

.process__tab.is-active::before {
  max-width: 30px;
  opacity: 1;
  margin-right: 14px;
}

.process__stage { position: relative; min-height: 540px; }

.process__pane {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}

.process__pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 34, 64, .08) 25%, rgba(30, 34, 64, .82) 100%);
}

.process__pane.is-active { opacity: 1; pointer-events: auto; }

.process__pane-content {
  position: relative;
  padding: 48px 52px;
  max-width: 640px;
}

.process__step-label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}

.process__pane-content h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.process__pane-content p {
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
  margin-bottom: 26px;
}

/* ---------- Insights ---------- */

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

.post { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 14px; }

.post__thumb {
  position: relative;
  height: 190px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}

.post__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 45, .1) 40%, rgba(20, 23, 45, .55) 100%);
}

.post__thumb span { position: relative; z-index: 1; }

.post__thumb span {
  background: var(--white);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  color: var(--navy);
}

.post__thumb--1 { background: linear-gradient(135deg, #282D4D 0%, #4A5180 100%); }
.post__thumb--2 { background: linear-gradient(135deg, #F57A47 0%, #F9A277 100%); }
.post__thumb--3 { background: linear-gradient(135deg, #8B90B5 0%, #C9CCe0 100%); }

.post__title { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

.post__excerpt { color: var(--ink-soft); font-size: .92rem; flex: 1; }

/* ---------- FAQ ---------- */

.faq { background: var(--warm-gray); border-radius: 48px; }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: start;
}

.faq__intro .section__sub a { color: var(--orange-dark); font-weight: 600; }

.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq__item {
  background: var(--white);
  border: 1px solid var(--warm-gray-2);
  border-radius: var(--radius-sm);
  padding: 0 24px;
  transition: box-shadow .25s ease;
}

.faq__item[open] { box-shadow: var(--shadow); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: var(--warm-gray);
  transition: background .25s ease, transform .25s ease;
}

.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: background .25s ease;
}

.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }

.faq__item[open] .faq__icon { background: var(--orange); transform: rotate(45deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }

.faq__item p { color: var(--ink-soft); padding-bottom: 22px; font-size: .95rem; }

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

.contact { background: var(--navy); border-radius: 48px 48px 0 0; margin-top: 96px; }

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

.contact__lead { color: rgba(255, 255, 255, .75); margin-bottom: 36px; max-width: 460px; }

.contact__details { list-style: none; display: flex; flex-direction: column; gap: 22px; }

.contact__details li { display: flex; flex-direction: column; color: rgba(255, 255, 255, .85); font-size: .95rem; }

.contact__details a { color: var(--cream); text-decoration: none; }
.contact__details a:hover { color: var(--orange); }

.contact__label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 4px;
}

.contact__form { padding: 38px 34px; border: 0; }

.contact__form:hover { transform: none; box-shadow: var(--shadow); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }

.form-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .84rem;
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: var(--warm-gray);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}

.form-confirm {
  margin-top: 16px;
  background: rgba(58, 160, 90, .12);
  color: #2E7D4F;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .92rem;
  font-weight: 500;
}

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

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding: 70px 0 28px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__tagline { margin-top: 18px; font-size: .95rem; max-width: 280px; }

.footer__col h4 {
  color: var(--cream);
  font-size: .95rem;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .92rem; transition: color .2s ease; }
.footer__col a:hover { color: var(--orange); }

.footer__contact li { font-size: .92rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: .85rem;
}

.footer__top { color: var(--orange); text-decoration: none; font-weight: 600; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 1024px) {
  .insights__grid { grid-template-columns: repeat(2, 1fr); }
  .process__panel { grid-template-columns: 1fr; }
  .process__stage { min-height: 460px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__media { max-width: 520px; }
}

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--cream);
    flex-direction: column;
    padding: 110px 28px 28px;
    gap: 8px;
    box-shadow: -20px 0 60px rgba(40, 45, 77, .18);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 90;
  }

  .nav.is-open { transform: none; }

  /* Drawer has a cream background — links stay navy in both header states */
  .header .nav .nav__link { color: var(--navy); }
  .header .nav .nav__link:hover { background: var(--warm-gray); }
  .header .nav .nav__link.is-active { background: var(--navy); color: var(--cream); }

  /* Dropdowns render inline (always open) inside the drawer */
  .nav__item { position: static; }
  .nav__item::after { display: none; }
  .nav__item .nav__link { display: block; }
  .nav__caret { display: none; }
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 6px 22px;
    min-width: 0;
  }
  .nav__dropdown a { font-size: .95rem; padding: 9px 14px; color: var(--ink-soft); }

  .nav__link { font-size: 1.05rem; padding: 12px 18px; }

  .nav-toggle { display: flex; z-index: 95; }

  .header__actions .btn { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { min-height: 100vh; }
  .hero__content { padding-block: 100px 190px; }
  .hero__card { right: 0; left: 0; margin-inline: 5%; max-width: none; padding: 22px 24px 18px; }
  .hero__dots { bottom: auto; top: 24px; right: 5%; left: auto; transform: none; }
  .insights__grid { grid-template-columns: 1fr; }
  .process__nav { padding: 36px 26px; }
  .process__stage { min-height: 420px; }
  .process__pane-content { padding: 30px 26px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__badge { right: 8px; }
  .faq { border-radius: 28px; }
  .about, .contact { border-radius: 28px 28px 0 0; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 320px at 85% 110%, rgba(245, 122, 71, .28), transparent 70%),
    linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #343A63 100%);
  margin-top: -91px;
  padding: 170px 0 76px;
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 18px;
}

.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin-inline: 8px; color: var(--orange); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.page-hero__sub {
  color: rgba(255, 255, 255, .78);
  font-size: 1.12rem;
  max-width: 660px;
}

/* ---------- Generic two-column block ---------- */

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

.twocol__media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--warm-gray);
}

.twocol p { color: var(--ink-soft); margin-bottom: 16px; }

.quote-line {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.5;
  padding-left: 20px;
  border-left: 4px solid var(--orange);
  color: var(--navy);
}

/* ---------- Mission / vision / value cards ---------- */

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }

.mv-card {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.mv-card h3 { color: var(--orange); font-size: 1.25rem; margin-bottom: 12px; }
.mv-card p { color: rgba(255, 255, 255, .8); }

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

.value-card {
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
}

.value-card h4 { font-size: 1.02rem; margin-bottom: 8px; color: var(--navy); }
.value-card h4 span { color: var(--orange); margin-right: 8px; }
.value-card p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Chips (industries / sectors) ---------- */

.chip-grid { display: flex; flex-wrap: wrap; gap: 14px; }

.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: 999px;
  padding: 12px 22px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.chip:hover { border-color: var(--orange); color: var(--orange-dark); }

/* ---------- Checklist ---------- */

.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.check-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

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

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
}

.check-list li strong { color: var(--navy); }

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(245, 122, 71, .14);
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Org structure ---------- */

.org { display: flex; flex-direction: column; align-items: center; }

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

.org__node {
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  text-align: center;
}

.org__node--top { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.org__node--accent { border-color: var(--orange); color: var(--orange-dark); }
.org__node small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .78rem; margin-top: 4px; }

.org__link { width: 2px; height: 28px; background: var(--warm-gray-2); }

/* ---------- Service detail blocks ---------- */

.svc-detail { padding: 88px 0; }

.svc-detail--alt { background: var(--warm-gray); }
.svc-detail--alt .svc-detail__aside { background: var(--white); }
.svc-detail--alt .faq__item { border-color: var(--warm-gray-2); }

.svc-detail__head { max-width: 760px; margin-bottom: 44px; }
.svc-detail__head > p { color: var(--ink-soft); }

.svc-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 64px 0 28px;
}

.svc-subhead h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  margin-top: 12px;
}

.svc-subhead p { color: var(--ink-soft); max-width: 560px; margin-top: 8px; font-size: .95rem; }

.svc-detail__media {
  height: 315px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -30px -28px 26px;
}

.svc-detail__label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 10px;
}

.svc-detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.svc-detail__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }

@media (max-width: 1024px) {
  .svc-detail__aside { position: static; top: auto; }
}

.svc-detail__intro p { color: var(--ink-soft); margin-bottom: 16px; }

.svc-detail__aside {
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  position: sticky;
  top: 120px;
  box-shadow: var(--shadow);
}

.svc-detail__aside h4 { font-size: 1.05rem; margin-bottom: 16px; }

.svc-detail__aside .check-list li { font-size: .93rem; }

.who-for {
  margin-top: 22px;
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: .92rem;
}

.who-for strong { color: var(--orange); display: block; font-family: var(--font-display); margin-bottom: 6px; }

/* ---------- Step cards row ---------- */

.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 18px; }

@media (max-width: 1080px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .steps-row { grid-template-columns: 1fr; } }

.stepcard {
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
}

.stepcard__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}

.stepcard h4 { font-size: 1rem; margin-bottom: 8px; }
.stepcard p { color: var(--ink-soft); font-size: .86rem; }

/* ---------- Pricing ---------- */

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

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.price-card--featured { background: var(--navy); border-color: var(--navy); }
.price-card--featured h3 { color: var(--white); }
.price-card--featured .price-card__ideal { color: rgba(255, 255, 255, .7); }
.price-card--featured .check-list li { color: rgba(255, 255, 255, .8); }
.price-card--featured .check-list li strong { color: var(--white); }

.price-card__flag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 16px;
}

.price-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

.price-card__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--orange-dark);
  font-size: .95rem;
  margin-bottom: 8px;
}

.price-card--featured .price-card__tagline { color: var(--orange); }

.price-card__ideal { color: var(--ink-soft); font-size: .88rem; margin-bottom: 20px; }

.price-card .check-list { gap: 10px; margin-bottom: 26px; flex: 1; }
.price-card .check-list li { font-size: .88rem; padding-left: 32px; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(520px 280px at 90% 120%, rgba(245, 122, 71, .3), transparent 70%),
    var(--navy);
  border-radius: var(--radius);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.cta-band p { color: rgba(255, 255, 255, .75); margin-top: 8px; max-width: 520px; }

/* ---------- Blog / article ---------- */

.post__meta { color: var(--ink-soft); font-size: .82rem; display: flex; gap: 10px; align-items: center; }
.post__meta b { color: var(--orange-dark); }

.article { max-width: 780px; margin-inline: auto; }

.article__featured {
  max-width: 900px;
  margin: -110px auto 44px;
  position: relative;
  z-index: 2;
  height: 380px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .article__featured { height: 220px; margin-top: -70px; }
}

.article h2 { font-size: 1.5rem; margin: 38px 0 14px; letter-spacing: -0.01em; }
.article p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }
.article ul, .article ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.article li { margin-bottom: 8px; }

.article__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ---------- Case studies ---------- */

.case {
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: var(--radius);
  padding: 40px 38px;
  margin-bottom: 28px;
}

.case__cat {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.case h2 { font-size: 1.5rem; margin: 10px 0 16px; letter-spacing: -0.01em; }
.case > p { color: var(--ink-soft); margin-bottom: 16px; }

.case__outcomes {
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 20px 0;
}

.case__outcomes h4 { font-size: .95rem; margin-bottom: 12px; }

.case__quote {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  border-left: 4px solid var(--orange);
  padding-left: 16px;
}

/* ---------- FAQ page groups ---------- */

.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: 20px; }

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

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }

.contact-card {
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
}

.contact-card h4 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

.contact-card p, .contact-card a { color: var(--navy); font-size: .95rem; text-decoration: none; }
.contact-card a:hover { color: var(--orange-dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--warm-gray-2);
  line-height: 0;
}

.map-wrap iframe { width: 100%; height: 420px; border: 0; }

.contact-page-form {
  background: var(--white);
  border: 1.5px solid var(--warm-gray-2);
  border-radius: var(--radius);
  padding: 38px 34px;
}

/* ---------- Inner page responsive ---------- */

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .twocol, .svc-detail__cols { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-hero { padding: 140px 0 56px; }
  .pricing-grid, .value-grid, .mv-grid, .contact-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .case { padding: 28px 22px; }
  .svc-detail { padding: 60px 0; }
}

/* ==========================================================================
   Mobile menu, logo & hero refinements
   ========================================================================== */

/* Backdrop behind the slide-in drawer */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 23, 45, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 89;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

/* CTA cloned into the drawer (hidden on desktop) */
.nav__cta { display: none; }

@media (max-width: 1100px) {
  /* Smaller logo in the compact header */
  .logo__img { height: 26px; }
  .footer .logo__img { height: 30px; }

  .nav-backdrop { display: block; }

  /* Drawer panel */
  .nav {
    width: min(360px, 87vw);
    padding: 92px 26px 32px;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Top-level links + dropdown parents get clean dividers */
  .nav > .nav__link,
  .nav__item {
    border-bottom: 1px solid var(--warm-gray-2);
    width: 100%;
  }
  .nav > .nav__link {
    border-radius: 0;
    padding: 15px 4px;
    font-size: 1.06rem;
  }
  .nav__item > .nav__link {
    border-bottom: 0;
    border-radius: 0;
    padding: 15px 4px;
    font-size: 1.06rem;
  }
  .nav__dropdown { padding: 0 0 12px 14px; }
  .nav__dropdown a {
    color: var(--ink-soft);
    font-size: .97rem;
    padding: 9px 6px;
    border-radius: 8px;
  }
  .nav__dropdown a:hover { background: var(--warm-gray); color: var(--orange-dark); }

  /* Drawer CTA button */
  .nav__cta { display: block; margin-top: 24px; }

  /* When the drawer is open: hide the header logo, darken the hamburger */
  .header.nav-open .logo { opacity: 0; visibility: hidden; }
  .header .nav-toggle.is-open span { background: var(--navy); }
}

@media (max-width: 640px) {
  /* Full-height hero that respects mobile browser chrome */
  .hero { min-height: 100svh; }
  .logo__img { height: 24px; }
}
