/*
Theme Name: SCS Global Audit Theme
Author: Codex
Description: Landing page theme based on Figma design
Version: 1.1.0
*/

:root {
  --c-navy: #0d214a;
  --c-navy-2: #102a67;
  --c-orange: #ea8900;
  --c-text: #1f2937;
  --c-muted: #5b6481;
  --c-bg: #f4f7fe;
  --c-line: #dfe7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-text);
  background: var(--c-bg);
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

p { margin: 0; }

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  background: var(--c-navy);
  color: #e8efff;
  padding: 10px 0;
  font-size: 13px;
}

.top-strip .site-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #eaf0fd;
  backdrop-filter: blur(6px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 800;
  color: var(--c-orange);
  font-size: 23px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a {
  padding: 12px 14px;
  font-weight: 600;
  border-radius: 999px;
  color: #22314e;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(234, 137, 0, 0.12);
}

.cta {
  background: var(--c-orange);
  color: #fff !important;
  padding: 12px 18px !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #e5ecfe;
  border-radius: 12px;
  background: #fff;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #102a67;
  margin: 4px auto;
}

.hero {
  padding: 36px 0 28px;
}

.hero-panel {
  background: radial-gradient(130% 120% at 15% 15%, #17306b 0%, #0f234f 58%, #0d214a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 44px;
  display: grid;
  gap: 30px;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 34px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  color: #d9e0ff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  max-width: 12ch;
}

.hero-copy {
  color: #d5ddfb;
  font-size: 18px;
  line-height: 1.7;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  background: #fff;
  color: #0c234f;
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(212, 227, 255, 0.55);
}

.hero-stat {
  background: #fff;
  color: #111827;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.hero-stat .title {
  color: #64748b;
  font-size: 14px;
}

.hero-stat .value {
  color: var(--c-orange);
  font-size: 28px;
  font-weight: 800;
}

.hero-stat p {
  color: #5f6783;
  margin-top: 6px;
}

.hero-aside {
  display: grid;
  gap: 12px;
}

.section {
  padding: 32px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--c-muted);
  max-width: 56ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card p {
  color: var(--c-muted);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(234, 137, 0, 0.12);
  color: var(--c-orange);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-row {
  display: grid;
  gap: 14px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #e7edff;
  color: #16326d;
  background: #f7f9ff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  border-left: 2px dashed #d5defd;
}

.timeline li {
  margin: 0 0 14px 18px;
  padding: 0 0 0 14px;
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
}

.timeline li strong {
  display: block;
  margin-bottom: 6px;
}

.brand-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.cta-block {
  margin: 12px 0 0;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(90deg, #132b66, #1b3b88);
  color: #fff;
}

.cta-block h2 {
  margin-bottom: 10px;
}

.cta-block p {
  color: #d8e3ff;
  max-width: 66ch;
}

.cta-block .hero-actions {
  margin-top: 18px;
}

.cta-block .btn.secondary {
  border-color: rgba(255,255,255,.6);
}

.footer {
  margin-top: 34px;
  padding: 34px 0 26px;
  background: #0f1f42;
  color: #d0dcff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  color: #c4d0f7;
}

.footer a {
  display: inline-flex;
  margin: 4px 0;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
  color: #97abdb;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .grid-3,
  .grid-2,
  .footer-grid,
  .brand-block {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .site-shell {
    width: min(1180px, calc(100% - 28px));
  }

  .top-strip .site-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 74px 12px auto 12px;
    background: #fff;
    border: 1px solid #e5edff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(10, 30, 79, .15);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    border-radius: 10px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .cta,
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline li {
    margin-left: 14px;
  }
}
