*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0B1222;
  --ink-secondary: #2D3A4F;
  --ink-muted: #6B7A94;
  --surface: #FFFFFF;
  --surface-cool: #F0F3F8;
  --surface-deep: #E4EAF2;
  --surface-dark: #0F1B2D;
  --accent: #2563EB;
  --accent-dark: #1A4FCC;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --accent-soft: #DBEAFE;
  --warm: #F59E0B;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(15, 27, 45, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 14px 28px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: white; text-decoration: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--accent) !important; color: white !important;
  padding: 10px 22px; border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface-dark);
  z-index: 99;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: white; text-decoration: none;
  font-size: 20px; font-weight: 600;
  font-family: var(--font-display);
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.4);
}
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: white; transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline-dark:hover {
  background: var(--ink); color: white;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 80px 24px; }
.container { max-width: 900px; margin: 0 auto; }
.container-wide { max-width: 1080px; margin: 0 auto; }
.section-center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--accent); margin-bottom: 14px;
  background: var(--accent-soft);
  padding: 5px 14px; border-radius: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700; color: var(--ink);
  line-height: 1.2; margin-bottom: 14px;
}
.section-desc {
  font-size: 17px; color: var(--ink-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.65;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(170deg, #070D18 0%, #0F1B2D 35%, #162A4A 65%, #1A3A6B 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -30%; width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800; color: white;
  line-height: 1.12; margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--warm) 0%, #FBBF24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto 20px;
  line-height: 1.65;
}
.hero-industries {
  margin-bottom: 36px;
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.hero-industries .rotate-word {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  display: inline-block;
  min-width: 120px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-content > * {
  opacity: 0; transform: translateY(20px);
  animation: heroIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PROOF BAR
   ============================================ */
.proof-bar {
  background: var(--surface-dark);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.proof-items {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 32px;
}
.proof-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 14px; font-weight: 500;
}
.proof-item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================
   PROBLEM
   ============================================ */
.problem { background: var(--surface-cool); }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 36px;
}
.problem-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  border-left: 3px solid var(--warm);
  font-size: 15px; color: var(--ink-secondary);
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.problem-card strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 16px; }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how { background: var(--surface-deep); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
  counter-reset: step;
}
.step {
  text-align: center; padding: 28px 20px;
  background: white; border-radius: var(--radius);
  border: 1px solid #D8DFE9;
  transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 16px;
  background: var(--accent); color: white;
  border-radius: 50%; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
  font-family: var(--font-display);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* ============================================
   RESULTS
   ============================================ */
.results { background: var(--surface-cool); }
.results-grid {
  margin-top: 40px;
  display: grid; gap: 20px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.result-card {
  background: white; border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid #D8DFE9;
  text-align: left;
}
.result-quote {
  font-size: 17px; color: var(--ink-secondary);
  line-height: 1.7; font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.result-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.result-stat {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  color: var(--accent);
}
.result-source { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.results-note {
  margin-top: 28px; font-size: 14px; color: var(--ink-muted);
}
.results-note a { font-weight: 600; }

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-overview { background: white; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}
.service-item {
  padding: 28px 24px;
  background: var(--surface-cool);
  border-radius: var(--radius);
  text-align: left;
  transition: all 0.3s;
}
.service-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-item h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.service-item p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
@media (max-width: 800px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--surface-cool); }
.faq-list { max-width: 640px; margin: 36px auto 0; }
.faq-item {
  background: white; border-radius: var(--radius);
  margin-bottom: 8px; border: 1px solid #D8DFE9;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-size: 15px; font-weight: 600;
  color: var(--ink); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--surface-cool); }
.faq-item summary::after {
  content: '+'; font-size: 20px; color: var(--accent);
  font-weight: 400; transition: transform 0.3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 22px 18px; font-size: 14px;
  color: var(--ink-muted); line-height: 1.7;
}
.faq-answer a { font-weight: 600; }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: linear-gradient(170deg, #0F1B2D 0%, #162A4A 50%, #1A3A6B 100%);
  padding: 100px 24px;
}
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: white;
  margin-bottom: 16px;
}
.final-cta-sub {
  font-size: 18px; color: rgba(255,255,255,0.55);
  max-width: 480px; margin: 0 auto 32px;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface-dark); padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 14px; margin-top: 12px;
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.footer-nav a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-nav a:hover { color: white; }
.footer-bottom {
  max-width: 900px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p {
  font-size: 12px; color: rgba(255,255,255,0.2);
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 450px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(170deg, #070D18 0%, #0F1B2D 50%, #162A4A 100%);
  padding: 140px 24px 80px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800; color: white;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px; color: rgba(255,255,255,0.55);
  max-width: 520px; margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
  padding: 80px 24px;
}
.service-detail:nth-child(even) { background: var(--surface-cool); }
.service-detail-inner {
  max-width: 800px; margin: 0 auto;
}
.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700; margin-bottom: 16px;
}
.service-detail p {
  font-size: 16px; color: var(--ink-secondary);
  line-height: 1.7; margin-bottom: 16px;
}
.includes-list {
  list-style: none; margin: 24px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.includes-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-secondary);
  padding: 8px 0;
}
.includes-list li::before {
  content: '✓'; color: var(--accent);
  font-weight: 700; flex-shrink: 0;
}
@media (max-width: 600px) { .includes-list { grid-template-columns: 1fr; } }

.pricing-highlight {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  text-align: center;
}
.pricing-highlight .price {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--ink);
}
.pricing-highlight .price small {
  font-size: 16px; font-weight: 500;
  color: var(--ink-muted);
}
.pricing-highlight p {
  color: var(--ink-muted); font-size: 14px;
  margin-top: 8px;
}

.audit-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 28px 0;
}
.audit-feature {
  background: white; padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #D8DFE9;
}
.audit-feature h4 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 4px;
}
.audit-feature p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin: 0; }
@media (max-width: 600px) { .audit-features { grid-template-columns: 1fr; } }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  padding: 80px 24px;
}
.about-inner {
  max-width: 720px; margin: 0 auto;
}
.about-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; margin-bottom: 16px;
  margin-top: 48px;
}
.about-inner h2:first-child { margin-top: 0; }
.about-inner p {
  font-size: 16px; color: var(--ink-secondary);
  line-height: 1.75; margin-bottom: 16px;
}
.about-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--surface-cool);
  border: 4px solid var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 14px; color: var(--ink-muted);
  text-align: center;
  overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 24px;
}
.value-card {
  padding: 24px;
  background: var(--surface-cool);
  border-radius: var(--radius);
  text-align: center;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================
   CASE STUDIES PAGE
   ============================================ */
.case-studies-content { padding: 80px 24px; }
.case-studies-inner { max-width: 800px; margin: 0 auto; }
.case-study-full {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid #D8DFE9; padding: 40px;
  margin-bottom: 24px;
}
.case-study-full h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}
.case-study-type {
  font-size: 14px; color: var(--accent);
  font-weight: 600; margin-bottom: 20px;
}
.case-study-section { margin-bottom: 20px; }
.case-study-section h4 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.case-study-section p {
  font-size: 15px; color: var(--ink-secondary);
  line-height: 1.65;
}
.case-study-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 24px 0;
}
.case-stat {
  text-align: center; padding: 16px;
  background: var(--surface-cool);
  border-radius: var(--radius);
}
.case-stat .num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--accent);
}
.case-stat .label {
  font-size: 13px; color: var(--ink-muted);
  margin-top: 4px;
}
@media (max-width: 500px) { .case-study-stats { grid-template-columns: 1fr; } }

.case-study-placeholder {
  text-align: center; padding: 60px 24px;
  background: var(--surface-cool);
  border-radius: var(--radius-lg);
  border: 2px dashed #D8DFE9;
}
.case-study-placeholder h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.case-study-placeholder p {
  font-size: 15px; color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-content { padding: 80px 24px; }
.contact-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px; color: var(--ink-secondary);
  line-height: 1.7; margin-bottom: 24px;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--ink-secondary);
}
.contact-method-icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.contact-method a {
  color: var(--ink); text-decoration: none;
  font-weight: 600;
}
.contact-method a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px; border: 1px solid #C9D1DC;
  border-radius: 8px; font-size: 15px;
  font-family: var(--font-body); color: var(--ink);
  background: white; transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
