/* ===== Tokens ===== */
:root {
  --navy: #1F3864;
  --navy-light: #2E4E82;
  --navy-mid: #3E5C94;
  --gold: #C9A24B;
  --gold-dark: #B08B37;
  --ink: #1B2130;
  --body: #444C5C;
  --muted: #5B6578;
  --line: #E3E7EF;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FB;
  --radius: 14px;
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.2; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-nav-cta { display: none; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
}
.site-nav a:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Sections (shared) ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 780px;
  margin-bottom: 18px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-lead.center { text-align: center; }
.section-lead-left { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; }

/* ===== Hero ===== */
.hero {
  padding: 64px 0 88px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.text-accent { color: var(--navy-light); }

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual { width: 100%; }

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card-flat { background: var(--bg-alt); border-color: var(--line); }

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--muted); }

/* ===== Difference / Stack ===== */
.stack-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 44px 36px;
  margin-bottom: 40px;
}

.stack-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stack-node {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 24px 20px;
  color: #fff;
}

.stack-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.stack-node strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.stack-node p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

.stack-arrow {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.difference-secondary { margin-top: 8px; }

/* ===== Tiers ===== */
.tiers { align-items: stretch; }

.tier-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier-featured {
  border-color: var(--navy);
  box-shadow: 0 12px 32px rgba(31,56,100,0.12);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.tier-name { font-size: 1.3rem; margin-bottom: 6px; }
.tier-for { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }

.tier-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.tier-list li {
  font-size: 0.92rem;
  color: var(--body);
  padding-left: 22px;
  position: relative;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.tiers-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 36px;
}

/* ===== Process ===== */
.process { text-align: center; }

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; color: var(--muted); }

/* ===== Audit ===== */
.section-audit { background: var(--navy); color: #fff; }
.section-audit .eyebrow { color: var(--gold); }
.section-audit .section-title { color: #fff; }
.section-audit .section-lead-left { color: rgba(255,255,255,0.78); }

.audit-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.audit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.audit-list li {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.9);
  padding-left: 26px;
  position: relative;
}

.audit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.audit-list strong { color: #fff; }

/* ===== About ===== */
.about-inner { max-width: 780px; }
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.03rem;
  color: var(--body);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 20px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-alt);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-light);
}

.form-note {
  font-size: 0.88rem;
  color: var(--navy);
  min-height: 1.2em;
}

.contact-direct {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-direct h3 { margin-bottom: 10px; font-size: 1.1rem; }
.contact-direct p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; }

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-footer { color: #fff; font-size: 1.1rem; }
.footer-inner p { font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner,
  .audit-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .audit-visual { max-width: 320px; margin: 0 auto; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .stack-row { flex-direction: column; }
  .stack-arrow { transform: rotate(90deg); }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .btn-nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .site-nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .stack-panel { padding: 30px 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
