/* =============================================================
   Testimony Adegoke — Multi-page site styles
   Shared nav menu, inner pages, and footer.
   Loaded alongside styles.css on every page.
   ============================================================= */

/* ---- Nav menu (all pages) --------------------------------- */
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-menu > a {
  font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--ink);
  opacity: .82; position: relative; transition: opacity .3s var(--ease), color .3s var(--ease);
}
.nav-menu > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--coral); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.nav-menu > a:hover { opacity: 1; color: var(--coral); }
.nav-menu > a:hover::after { transform: scaleX(1); }
.nav-menu > a[aria-current="page"] { opacity: 1; color: var(--coral); }
.nav-menu > a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; z-index: 46; transition: background .3s var(--ease);
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---- Inner-page nav (solid, on light) --------------------- */
body.page { background: var(--bg-light); color: var(--teal); min-height: 100svh; }
body.page .nav {
  position: sticky; background: rgba(248,246,241,.78);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(6,87,88,0); transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
body.page .nav.scrolled { border-bottom-color: rgba(6,87,88,.10); box-shadow: 0 10px 30px -20px rgba(6,64,63,.4); }
body.page .brand { color: var(--coral); }
body.page .brand small { color: rgba(6,64,63,.55); }
body.page .nav-menu > a { color: var(--teal); opacity: .72; }
body.page .nav-menu > a:hover, body.page .nav-menu > a[aria-current="page"] { color: var(--coral); opacity: 1; }
body.page .nav-cta { color: #fff; background: var(--coral); border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(196,105,96,.7); }
body.page .nav-cta:hover { background: var(--coral-deep); }
body.page .nav-toggle { background: rgba(6,87,88,.05); border-color: rgba(6,87,88,.14); }
body.page .nav-toggle span { background: var(--teal); }

/* ---- Mobile menu overlay ---------------------------------- */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(6,16,15,.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    transform: translateY(-102%); transition: transform .55s var(--ease); z-index: 45; padding: 80px 24px;
    visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu > a { font-size: 26px; font-weight: 600; color: #fff !important; opacity: 0;
    letter-spacing: -.01em; padding: 10px 0; transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav-menu > a::after { display: none; }
  .nav-menu.open > a { opacity: .92; transform: none; }
  .nav-menu.open > a:nth-child(1) { transition-delay: .10s; }
  .nav-menu.open > a:nth-child(2) { transition-delay: .16s; }
  .nav-menu.open > a:nth-child(3) { transition-delay: .22s; }
  .nav-menu.open > a:nth-child(4) { transition-delay: .28s; }
  .nav-menu.open > a:nth-child(5) { transition-delay: .34s; }
  .nav-menu.open > a:nth-child(6) { transition-delay: .40s; }
  .nav-menu .menu-tag { color: var(--coral) !important; font-family: var(--sig); font-size: 34px;
    opacity: 1 !important; margin-bottom: 6px; transform: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  body.page .nav-menu > a { color: #fff !important; }
}

/* ---- Inner page layout ------------------------------------ */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(120px, 20vh, 210px) clamp(22px, 6vw, 90px) clamp(50px, 8vh, 90px);
}
.page-hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 78% 8%, rgba(196,105,96,.16), transparent 70%),
    radial-gradient(48% 60% at 20% 0%, rgba(6,87,88,.14), transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--coral); }
.page-hero h1 {
  font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin-top: 18px;
  font-size: clamp(38px, 6.6vw, 82px); color: var(--teal-deep); max-width: 16ch; margin-inline: auto;
}
.page-hero .sub { margin: 22px auto 0; max-width: 58ch; font-size: clamp(16px, 1.7vw, 19px); color: rgba(6,64,63,.72); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.section { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 9vh, 120px) clamp(22px, 6vw, 70px); }
.section.tight { padding-top: clamp(30px, 5vh, 60px); }
.section-head { max-width: 760px; margin: 0 auto clamp(38px, 6vh, 64px); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-top: 14px;
  font-size: clamp(28px, 4vw, 52px); color: var(--teal-deep);
}
.section-head p { margin-top: 16px; font-size: 17px; color: rgba(6,64,63,.72); }
.band { background: linear-gradient(180deg, #fbfaf6, #f0ece3); }
.band-dark { background: radial-gradient(120% 120% at 50% 0%, #0a1e1c, #06100f); color: #fff; }
.band-dark .section-head h2 { color: #fff; }
.band-dark .section-head p { color: rgba(245,243,238,.7); }

.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.75; color: rgba(6,64,63,.82); margin-bottom: 20px; }
.prose p.lead { font-size: 21px; line-height: 1.6; color: var(--teal-deep); font-weight: 500; }

/* ---- Scroll reveal ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---- Grids ------------------------------------------------ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---- Feature / service card ------------------------------- */
.feature {
  padding: 30px 28px; border-radius: 22px; background: #fff;
  border: 1px solid rgba(6,87,88,.10); box-shadow: 0 24px 60px -34px rgba(6,64,63,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -32px rgba(6,64,63,.45); border-color: rgba(196,105,96,.4); }
.feature .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, rgba(6,87,88,.12), rgba(196,105,96,.14)); color: var(--teal);
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; color: var(--teal-deep); letter-spacing: -.01em; }
.feature p { font-size: 14.5px; line-height: 1.6; color: rgba(6,64,63,.72); }
.feature .more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: 6px; }
.feature .more .arrow { transition: transform .3s var(--ease); }
.feature:hover .more .arrow { transform: translateX(4px); }

/* ---- Values ----------------------------------------------- */
.value { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.6);
  border: 1px solid rgba(6,87,88,.10); backdrop-filter: blur(10px); height: 100%; }
.value .num { font-family: var(--sig); font-size: 30px; color: var(--coral); line-height: 1; }
.value h3 { font-size: 18px; font-weight: 700; color: var(--teal-deep); margin: 10px 0 8px; }
.value p { font-size: 14px; color: rgba(6,64,63,.72); line-height: 1.55; }

/* ---- Testimonial quote ------------------------------------ */
.quote {
  margin: 0; padding: 28px; border-radius: 20px; height: 100%;
  background: #fff; border: 1px solid rgba(6,87,88,.10);
  box-shadow: 0 24px 60px -34px rgba(6,64,63,.32);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: 0 32px 70px -32px rgba(6,64,63,.42); }
.quote blockquote {
  margin: 0; font-size: 16px; line-height: 1.62; color: var(--teal-deep); font-weight: 500;
  position: relative; padding-top: 26px;
}
.quote blockquote::before {
  content: "\201C"; position: absolute; top: -6px; left: -2px;
  font-family: Georgia, serif; font-size: 56px; line-height: 1; color: rgba(196,105,96,.32);
}
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.q-name { font-size: 14px; font-weight: 700; color: var(--teal-deep); }
.q-role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(6,64,63,.55); }

/* ---- Stats band ------------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.stat-block .n { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; color: var(--teal-deep); line-height: 1; }
.band-dark .stat-block .n { color: #fff; }
.stat-block .l { margin-top: 10px; font-size: 13.5px; letter-spacing: .04em; color: rgba(6,64,63,.7); }
.band-dark .stat-block .l { color: rgba(245,243,238,.68); }

/* ---- Timeline --------------------------------------------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--coral), rgba(6,87,88,.25)); }
.tl-item { position: relative; padding: 0 0 40px 20px; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-light); border: 3px solid var(--coral); }
.tl-item .yr { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--coral); }
.tl-item h3 { font-size: 19px; font-weight: 700; color: var(--teal-deep); margin: 4px 0 8px; }
.tl-item p { font-size: 14.5px; color: rgba(6,64,63,.72); line-height: 1.6; }

/* ---- Process steps ---------------------------------------- */
.step { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid rgba(6,87,88,.1); height: 100%; }
.step .k { font-size: 40px; font-weight: 800; color: rgba(196,105,96,.28); line-height: 1; letter-spacing: -.04em; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--teal-deep); margin: 10px 0 8px; }
.step p { font-size: 14px; color: rgba(6,64,63,.72); line-height: 1.55; }

/* ---- Project cards ---------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(6,87,88,.06); color: var(--teal); border: 1px solid rgba(6,87,88,.12); transition: all .3s var(--ease); }
.filter-btn:hover { border-color: var(--coral); }
.filter-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.project { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid rgba(6,87,88,.1);
  box-shadow: 0 24px 60px -34px rgba(6,64,63,.35); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column; }
.project:hover { transform: translateY(-6px); box-shadow: 0 36px 74px -32px rgba(6,64,63,.5); }
.project .cover { aspect-ratio: 16/10; background: linear-gradient(150deg, #0a1e1c, #06100f); position: relative; overflow: hidden;
  display: grid; place-items: center; }
.project .cover .badge { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: rgba(196,105,96,.9); padding: 6px 12px; border-radius: 999px; }
.project .cover .glyph { font-family: var(--sig); font-size: 60px; color: rgba(126,214,205,.5); }
.project .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project .client { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.project h3 { font-size: 20px; font-weight: 700; color: var(--teal-deep); letter-spacing: -.01em; }
.project p { font-size: 14px; color: rgba(6,64,63,.72); line-height: 1.55; }
.project .tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.project .tech span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(6,87,88,.07); color: var(--teal); }
.project .impact { font-size: 13px; font-weight: 700; color: var(--teal-deep); border-top: 1px solid rgba(6,87,88,.1); padding-top: 12px; }
.project.hide { display: none; }

/* ---- Media cards ------------------------------------------ */
.media-card { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid rgba(6,87,88,.1);
  box-shadow: 0 20px 50px -32px rgba(6,64,63,.35); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.media-card:hover { transform: translateY(-5px); }
.media-thumb { aspect-ratio: 16/9; position: relative; background: linear-gradient(150deg, #0a1e1c, #06100f); display: grid; place-items: center; }
.media-thumb .play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s var(--ease); }
.media-card:hover .play { transform: scale(1.08); background: var(--coral); }
.media-thumb .play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.media-thumb .tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; background: rgba(6,16,15,.6); padding: 5px 11px; border-radius: 999px; }
.media-card .m-body { padding: 20px; }
.media-card h3 { font-size: 17px; font-weight: 700; color: var(--teal-deep); line-height: 1.3; }
.media-card p { font-size: 13.5px; color: rgba(6,64,63,.66); margin-top: 8px; }

/* ---- FAQ -------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(6,87,88,.12); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 18px; font-weight: 600; color: var(--teal-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--coral); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.65; color: rgba(6,64,63,.74); }

/* ---- Contact ---------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid rgba(6,87,88,.1); border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 70px -40px rgba(6,64,63,.4); }
.form-field { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-deep); margin-bottom: 7px; letter-spacing: .02em; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--teal-deep);
  padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(6,87,88,.16); background: #fdfcfa;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(196,105,96,.14);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: rgba(6,64,63,.55); margin-top: 10px; }
.channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(6,87,88,.1); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.channel:hover { transform: translateX(4px); border-color: var(--coral); }
.channel .c-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(6,87,88,.1), rgba(196,105,96,.12)); color: var(--teal); }
.channel .c-ic svg { width: 22px; height: 22px; }
.channel .c-l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(6,64,63,.55); }
.channel .c-v { font-size: 15px; font-weight: 600; color: var(--teal-deep); }

/* ---- CTA band --------------------------------------------- */
.cta-band { text-align: center; border-radius: 32px; padding: clamp(46px, 8vh, 88px) clamp(24px, 6vw, 80px);
  background: radial-gradient(120% 140% at 50% 0%, #0a2422, #06100f); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 80% 110%, rgba(196,105,96,.25), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.05; }
.cta-band p { color: rgba(245,243,238,.72); margin: 16px auto 0; max-width: 52ch; font-size: 17px; }
.cta-band .hero-cta { margin-top: 34px; }

/* ---- Full footer ------------------------------------------ */
.site-footer { background: radial-gradient(120% 120% at 50% 0%, #0a1a19, #06100f); color: #fff; padding: 72px clamp(22px,6vw,90px) 34px; }
body.motion .site-footer { display: none; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand .brand { color: var(--coral); }
.foot-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: rgba(245,243,238,.6); max-width: 34ch; }
.foot-col h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,243,238,.45); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(245,243,238,.78); padding: 6px 0; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--coral); }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: all .3s var(--ease); }
.foot-social a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom { max-width: 1180px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(245,243,238,.5); }
.foot-bottom a { color: rgba(245,243,238,.7); }

/* ---- WhatsApp float --------------------------------------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
body.motion .wa-float { display: none; }

/* ---- Inner responsive ------------------------------------- */
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767px) {
  .page-hero { padding-top: clamp(110px, 16vh, 150px); }
  .section { padding: 56px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { border-radius: 24px; }
}
