/* =============================================
   NOVERA ADVISORY — styles.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-dark: #0f172a;

  --text: #0f172a;
  --text-muted: #64748b;
  --text-dark-muted: rgba(255,255,255,0.50);

  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.10);

  --accent: #0f172a;
  --accent-fg: #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);

  --font: 'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --px: clamp(1.25rem, 5vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: var(--radius-pill); font-family: var(--font);
  font-size: 0.875rem; font-weight: 500; padding: 0.6rem 1.25rem;
  cursor: pointer; transition: opacity 0.18s ease, background 0.18s ease, transform 0.12s ease;
  white-space: nowrap; border: 1.5px solid transparent; text-decoration: none;
}
.btn:hover { opacity: 0.85; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(0,0,0,0.15); }
.btn-outline:hover { background: var(--bg-muted); opacity: 1; }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 0.9rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-group-center { justify-content: center; }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  background: var(--bg-muted); border: 1px solid var(--border);
  padding: 0.35rem 1rem; font-size: 0.8rem; color: var(--text-muted); font-weight: 400;
}

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-img--footer { height: 40px; }

/* =============================================
   HERO
   ============================================= */
.hero { background: #ffffff; padding-block: clamp(4rem, 10vw, 8rem); }
.hero-inner { max-width: 860px; }
.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
}
.hero-sub { margin-top: 1.5rem; max-width: 580px; font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.hero .btn-group { margin-top: 2.5rem; }

/* =============================================
   ABOUT / STATS
   ============================================= */
.about-section {
  background: var(--bg-muted);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.about-body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card svg { color: var(--text-muted); }
.stat-number { margin-top: 1.5rem; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; }
.stat-label { margin-top: 0.35rem; font-size: 0.82rem; color: var(--text-muted); }

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: #ffffff; padding-block: clamp(4rem, 9vw, 7rem); }
.section-header { text-align: center; max-width: 520px; margin-inline: auto; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-header p { margin-top: 0.85rem; color: var(--text-muted); font-size: 1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.service-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--bg-muted); }
.service-card h3 { margin-top: 1.75rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.service-card p { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* =============================================
   IMPACT
   ============================================= */
.impact-section { background: var(--bg-dark); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.impact-section .section-header h2 { color: #fff; }
.impact-section .section-header p { color: var(--text-dark-muted); }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.impact-card {
  border: 1px solid var(--border-dark); background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg); padding: 2.5rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.impact-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.impact-number { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.impact-desc { margin-top: 1.5rem; font-size: 1rem; color: rgba(255,255,255,0.85); }
.impact-industry { margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-dark-muted); }

/* =============================================
   METHODOLOGY
   ============================================= */
.methodology-section { background: #ffffff; padding-block: clamp(4rem, 9vw, 7rem); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem 2rem; margin-top: 1rem; }
.step-num { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #e2e8f0; }
.step h3 { margin-top: 1.5rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 0.65rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* =============================================
   CTA
   ============================================= */
.cta-section { background: var(--bg-muted); border-top: 1px solid var(--border); padding-block: clamp(4rem, 9vw, 7rem); }
.cta-inner { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); white-space: nowrap; }
.cta-inner p { margin-top: 1rem; color: var(--text-muted); font-size: 1rem; max-width: 480px; margin-inline: auto; line-height: 1.7; }
.cta-inner .btn-group { margin-top: 2.5rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) { .steps-grid { grid-template-columns: 1fr; } }

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
