/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0d0d0d;
  --green:   #8ec340;
  --green-dark: #74a232;
  --off-white: #f5f4f0;
  --light-grey: #e8e7e3;
  --mid-grey: #888;
  --text: #1a1a1a;
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  font-family: var(--font);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 2px solid var(--green);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.nav-logo-text {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.nav-logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─── HERO ─── */
#hero {
  background: var(--black);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(111,170,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-headline em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── PROBLEM ─── */
#problem {
  padding: 100px 0;
  background: var(--off-white);
}

.problem-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.problem-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--black);
}

.problem-intro p {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--light-grey);
  border: 2px solid var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
}

.pain-card {
  background: var(--off-white);
  padding: 40px 36px;
  position: relative;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--green);
}

.pain-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--light-grey);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}

.pain-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pain-body {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
}

/* ─── SERVICES ─── */
#services {
  padding: 100px 0;
  background: var(--black);
  position: relative;
}

.services-header {
  margin-bottom: 56px;
}

.services-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 560px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.services-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 24px;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s;
}

.service-card:hover { border-color: rgba(111,170,30,0.5); }

.service-card.featured {
  border-color: var(--green);
  background: rgba(111,170,30,0.06);
}

.service-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.service-price-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.service-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.service-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 6px;
  flex-shrink: 0;
}

.service-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 28px 0;
}

/* ─── FORM SHARED ─── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ─── ABOUT ─── */
#about {
  padding: 100px 0;
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

.about-content h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.1;
}

.about-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-content p strong {
  color: var(--black);
  font-weight: 700;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.value-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

/* ─── CONTACT ─── */
#contact {
  padding: 100px 0;
  background: var(--black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

.contact-content h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.contact-detail a {
  color: var(--green);
  text-decoration: none;
}
.contact-detail a:hover { text-decoration: underline; }

.contact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-form .form-group label {
  color: rgba(255,255,255,0.6);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--green);
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  padding: 14px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--green); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--black);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: flex; }
  .pain-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

/* ─── AUDIT ─── */
#audit {
  padding: 100px 0;
  background: #f7f6f2;
}

.qa-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .qa-intro { grid-template-columns: 1fr; gap: 40px; }
}

.qa-intro-left h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #111110;
  margin-bottom: 16px;
  line-height: 1.1;
}

.qa-intro-left p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 12px;
}

.qa-intro-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.qa-intro-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.qa-intro-meta-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6faa1e;
  flex-shrink: 0;
}

.qa-intro-right {
  background: #111110;
  border-radius: 10px;
  padding: 36px;
}

.qa-intro-right-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6faa1e;
  margin-bottom: 20px;
}

.qa-intro-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qa-intro-section-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.qa-intro-section-item:last-child { border-bottom: none; }

.qa-intro-section-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(111,170,30,0.15);
  border: 1px solid rgba(111,170,30,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #6faa1e;
  flex-shrink: 0;
}

.qa-intro-section-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* Progress */
.qa-progress-wrap {
  margin-bottom: 24px;
}

.qa-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.qa-progress-track {
  height: 4px;
  background: #e8e7e3;
  border-radius: 2px;
  overflow: hidden;
}

.qa-progress-fill {
  height: 100%;
  background: #6faa1e;
  border-radius: 2px;
  transition: width 0.35s ease;
}

/* Card */
.qa-card {
  background: #fff;
  border: 1.5px solid #e8e7e3;
  border-radius: 10px;
  padding: 48px;
  max-width: 740px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .qa-card { padding: 28px 20px; }
}

.qa-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6faa1e;
  margin-bottom: 28px;
}

/* Questions */
.qa-question-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0efeb;
}

.qa-question-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.qa-question-text {
  font-size: 16px;
  font-weight: 600;
  color: #111110;
  margin-bottom: 14px;
  line-height: 1.5;
}

.qa-question-num {
  font-size: 11px;
  color: #aaa;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.qa-score-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qa-score-btn {
  flex: 1;
  min-width: 52px;
  padding: 10px 4px 8px;
  border: 1.5px solid #e8e7e3;
  border-radius: 6px;
  background: #f7f6f2;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.qa-score-btn:hover {
  border-color: #6faa1e;
  background: #f0f7e6;
}

.qa-score-btn.selected {
  border-color: #6faa1e;
  background: #6faa1e;
}

.qa-score-btn .qa-btn-num {
  font-size: 18px;
  font-weight: 800;
  color: #111110;
  line-height: 1;
}

.qa-score-btn.selected .qa-btn-num { color: #fff; }

.qa-score-btn .qa-btn-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
  text-align: center;
  line-height: 1.2;
}

.qa-score-btn.selected .qa-btn-label { color: rgba(255,255,255,0.75); }

/* Nav buttons */
.qa-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid #f0efeb;
}

/* Section done */
.qa-section-done-card {
  text-align: center;
}

.qa-done-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6faa1e;
  margin-bottom: 12px;
}

.qa-section-done-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111110;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.qa-score-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.qa-score-ring { width: 120px; height: 120px; }

.qa-score-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 28px;
  font-weight: 900;
  color: #111110;
  letter-spacing: -0.03em;
}

.qa-score-ring-text small {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  align-self: flex-end;
  padding-bottom: 4px;
}

.qa-done-interp {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 28px;
}

/* Gate */
.qa-gate-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111110;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.qa-gate-sub {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Results */
.qa-results-header {
  text-align: center;
  margin-bottom: 48px;
}

.qa-results-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #111110;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.qa-rag-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rag-critical    { background: #fee2e2; color: #991b1b; }
.rag-developing  { background: #fef3c7; color: #92400e; }
.rag-progressing { background: #dbeafe; color: #1e40af; }
.rag-strong      { background: #d1fae5; color: #065f46; }

.qa-total-score {
  font-size: 48px;
  font-weight: 900;
  color: #111110;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.qa-res-interp {
  font-size: 16px;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.qa-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.qa-breakdown-card {
  background: #fff;
  border: 1.5px solid #e8e7e3;
  border-radius: 8px;
  padding: 24px;
}

.qa-breakdown-card .qb-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

.qa-breakdown-card .qb-title {
  font-size: 15px;
  font-weight: 700;
  color: #111110;
  margin-bottom: 12px;
}

.qa-breakdown-card .qb-bar-wrap {
  height: 6px;
  background: #e8e7e3;
  border-radius: 3px;
  margin-bottom: 6px;
  overflow: hidden;
}

.qa-breakdown-card .qb-bar {
  height: 100%;
  border-radius: 3px;
  background: #6faa1e;
  transition: width 0.6s ease;
}

.qa-breakdown-card .qb-score {
  font-size: 13px;
  font-weight: 700;
  color: #111110;
}

.qa-results-cta {
  background: #111110;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
}

.qa-results-cta p {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

/* ─── SCROLL FADE IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
