/* ============================================================
   Nowacek Advisory — section styles
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7em; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: oklch(0.16 0.02 290); font-weight: 700; font-size: 1rem;
  box-shadow: 0 6px 20px -6px var(--accent), inset 0 1px 0 oklch(1 0 0 / 0.5);
}
.brand-name { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-dim); font-size: 0.94rem; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--accent); transition: width 0.25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-inner { height: 64px; }
  .nav-cta .btn { padding: 0.7em 1.15em; font-size: 0.9rem; }
}

/* ---------------- HERO ---------------- */
.hero { padding: 150px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.035em;
  margin: 24px 0 22px;
}
.hero p.lede { font-size: 1.18rem; color: var(--text-dim); max-width: 50ch; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2.4rem; margin-top: 46px; flex-wrap: wrap; }
.hero-meta .stat .n { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.hero-meta .stat .n .grad-text { font-weight: 700; }
.hero-meta .stat .l { color: var(--text-faint); font-size: 0.84rem; margin-top: 2px; }

/* hero visual — layered glass panels (abstract render placeholder) */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; perspective: 1500px; }
.panel-stack {
  position: relative; width: 64%; aspect-ratio: 3/4;
  transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(8deg);
  animation: floatStack 9s ease-in-out infinite;
}
.panel-stack .pane {
  position: absolute; inset: 0; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.panel-stack .pane.p1 { transform: translateZ(0px); background: linear-gradient(150deg, var(--accent-soft), transparent 60%), var(--surface); }
.panel-stack .pane.p2 { transform: translateZ(58px) translate(9%, -9%) scale(0.82); }
.panel-stack .pane.p3 { transform: translateZ(116px) translate(-7%, 13%) scale(0.64); border-color: var(--accent); box-shadow: 0 0 50px -10px var(--accent); }
.panel-stack .pane .bar { position: absolute; height: 6px; border-radius: 4px; background: var(--accent); opacity: 0.6; }
.panel-stack .pane .bar.b1 { top: 22px; left: 22px; width: 46%; }
.panel-stack .pane .bar.b2 { top: 40px; left: 22px; width: 30%; background: var(--text-faint); opacity: 0.45; }
.panel-stack .pane .glyph { position: absolute; bottom: 18px; left: 22px; color: var(--text-faint); }
.panel-stack .core-dot { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%,-50%) translateZ(150px); background: var(--accent); box-shadow: 0 0 24px var(--accent); }
.ph-note {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  color: var(--text-faint); white-space: nowrap;
}
@keyframes floatStack {
  50% { transform: rotateY(-15deg) rotateX(6deg) translateY(-14px); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* The layered 3D panel stack doesn't read well in a narrow column — hide it. */
  .hero-visual { display: none; }
}

/* ---------------- LOGO STRIP ---------------- */
.trust { padding: 8px 0 40px; }
.trust .label { color: var(--text-faint); text-align: center; margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-row .chip {
  border: 1px dashed var(--border-2); border-radius: 10px;
  padding: 12px 22px; color: var(--text-faint); font-weight: 600;
  background: var(--surface); backdrop-filter: blur(var(--card-blur));
}

/* ---------------- SERVICES ---------------- */
.svc-tier-label { display: flex; align-items: center; gap: 14px; margin: 6px 0 26px; }
.svc-tier-label .mono { color: var(--accent); white-space: nowrap; }
.svc-tier-label .rule { height: 1px; flex: 1; background: var(--border); }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-grid.cto { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
@media (max-width: 980px) { .svc-grid, .svc-grid.cto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid, .svc-grid.cto { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; padding: 26px 24px 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(var(--card-blur));
  overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(140deg, var(--accent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s ease;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow); }
.svc-card:hover::before { opacity: 1; }
.svc-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--border-2);
  color: var(--accent); margin-bottom: 20px;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-card h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.svc-card .tag { position: absolute; top: 18px; right: 18px; color: var(--accent); }

/* ---------------- PROOF: logos + testimonials ---------------- */
.proof { padding-top: clamp(50px, 8vh, 90px); }
.proof .label { color: var(--text-faint); text-align: center; margin-bottom: 24px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 940px; margin: 0 auto; }
.logo-chip {
  display: flex; align-items: center; gap: 0.6em;
  border: 1px dashed var(--border-2); border-radius: 12px;
  padding: 14px 24px; color: var(--text-faint); font-weight: 600; letter-spacing: -0.01em;
  background: var(--surface); backdrop-filter: blur(var(--card-blur));
  transition: color 0.25s ease, border-color 0.25s ease;
}
.logo-chip:hover { color: var(--text-dim); border-color: var(--accent); }
.logo-chip .mk {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); opacity: 0.85;
}

.tmony-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px) { .tmony-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.tmony {
  position: relative; padding: 28px 26px 26px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(var(--card-blur)); overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.tmony::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(140deg, var(--accent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s ease;
}
.tmony:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow); }
.tmony:hover::before { opacity: 1; }
.tmony .quote-mark { font-family: "Space Mono", monospace; font-size: 2.4rem; line-height: 0.6; color: var(--accent); opacity: 0.7; height: 18px; }
.tmony p { color: var(--text); font-size: 1rem; line-height: 1.62; }
.tmony .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tmony .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: oklch(0.16 0.02 290); font-weight: 700; font-size: 0.9rem;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.4);
}
:root[data-theme="light"] .tmony .avatar { color: oklch(0.99 0 0); }
.tmony .who .name { font-weight: 600; font-size: 0.94rem; }
.tmony .who .role { color: var(--text-faint); font-size: 0.82rem; }
.tmony .ph-tag { position: absolute; top: 16px; right: 16px; color: var(--text-faint); opacity: 0.6; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  backdrop-filter: blur(var(--card-blur)); overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item.open { border-color: var(--border-2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; color: var(--text); font-size: 1.05rem; font-weight: 500;
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; transition: transform 0.3s ease; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent);
}
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.34s ease; }
.faq-a .inner { padding: 0 24px 24px; color: var(--text-dim); font-size: 0.98rem; max-width: 64ch; }

/* ---------------- CONTACT / CTA ---------------- */
.cta {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border-2); background: var(--surface);
  backdrop-filter: blur(var(--card-blur));
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 20% 0%, var(--accent-soft), transparent 70%),
    radial-gradient(60% 80% at 90% 100%, var(--accent-soft), transparent 70%);
}
.cta h2 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.cta p { color: var(--text-dim); font-size: 1.1rem; margin: 18px auto 32px; max-width: 52ch; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta .fine { margin-top: 22px; color: var(--text-faint); }

/* ---------------- FOOTER ---------------- */
.footer { border-top: 1px solid var(--border); padding: 50px 0 40px; position: relative; z-index: 1; margin-top: 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .muted { color: var(--text-faint); font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
