/* ===========================
   NO TIME FOR AI — style.css
   =========================== */

/* --- CSS Variables: Light Mode --- */
:root {
  --green-deep:    #1B4332;
  --green-dark-bg: #0D2E20;
  --gold:          #D4A017;
  --cream:         #FAFAF5;
  --near-black:    #1A1A18;
  --green-tint:    #D8EAD3;
  --green-gray:    #5A6E61;
  --cream-text:    #E8E6DF;

  /* Semantic tokens — light */
  --bg:            var(--cream);
  --bg-section:    #F4F4EE;
  --bg-card:       var(--cream);
  --bg-dark-section: var(--green-deep);
  --text:          var(--near-black);
  --text-secondary: var(--green-gray);
  --text-inverse:  var(--cream);
  --border:        #D0DACE;
  --border-card:   #C2D4BC;
  --nav-bg:        rgba(250, 250, 245, 0.92);
  --nav-border:    rgba(26, 67, 50, 0.12);

  --radius:        4px;
  --font-display:  'Work Sans', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* --- CSS Variables: Dark Mode --- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0D1F18;
    --bg-section:    #0A1A14;
    --bg-card:       #122A1E;
    --bg-dark-section: #071410;
    --text:          var(--cream-text);
    --text-secondary: #8AA394;
    --text-inverse:  var(--cream-text);
    --border:        #1F3A2C;
    --border-card:   #254033;
    --nav-bg:        rgba(13, 31, 24, 0.95);
    --nav-border:    rgba(212, 160, 23, 0.15);
  }
}

[data-theme="dark"] {
  --bg:            #0D1F18;
  --bg-section:    #0A1A14;
  --bg-card:       #122A1E;
  --bg-dark-section: #071410;
  --text:          var(--cream-text);
  --text-secondary: #8AA394;
  --text-inverse:  var(--cream-text);
  --border:        #1F3A2C;
  --border-card:   #254033;
  --nav-bg:        rgba(13, 31, 24, 0.95);
  --nav-border:    rgba(212, 160, 23, 0.15);
}

[data-theme="light"] {
  --bg:            var(--cream);
  --bg-section:    #F4F4EE;
  --bg-card:       var(--cream);
  --bg-dark-section: var(--green-deep);
  --text:          var(--near-black);
  --text-secondary: var(--green-gray);
  --text-inverse:  var(--cream);
  --border:        #D0DACE;
  --border-card:   #C2D4BC;
  --nav-bg:        rgba(250, 250, 245, 0.92);
  --nav-border:    rgba(26, 67, 50, 0.12);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

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

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

ul[role="list"] { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

p { max-width: 68ch; }

em { font-style: normal; color: var(--gold); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.85em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.12s ease;
  text-decoration: none;
  border: none;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-color: var(--gold);
  color: var(--near-black);
}

/* ===========================
   NAV
   =========================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.25s ease;
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  color: var(--green-deep);
  display: flex;
  align-items: center;
}

[data-theme="dark"] .nav-logo { color: var(--cream-text); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo { color: var(--cream-text); }
}

.logo-svg {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--near-black);
  padding: 0.45em 1.1em;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-links .nav-cta:hover { opacity: 0.88; color: var(--near-black); }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4em;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--nav-border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
    font-size: 1rem;
  }
  .nav-links .nav-cta {
    margin: 0.5rem clamp(1.25rem, 5vw, 3rem);
    text-align: center;
    padding: 0.75em;
  }
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 90vh;
  background-color: var(--green-deep);
  display: flex;
  align-items: center;
  padding-top: 64px; /* nav offset */
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 23, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-block: clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  max-width: none;
}

.hero-headline {
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-sub {
  color: #A8C4B0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 50ch;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diagram {
  width: 100%;
  max-width: 480px;
  height: auto;
  color: var(--cream);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: 80vh; }
}

/* ===========================
   SERVICES
   =========================== */
.services {
  background: var(--bg);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 700px;
}

.section-intro {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 2px solid var(--green-deep);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  transition: border-top-color 0.2s;
}

[data-theme="dark"] .service-card { border-top-color: var(--gold); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-card { border-top-color: var(--gold); }
}

.service-card:hover { border-top-color: var(--gold); }

.service-name {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.service-card p:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: none;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===========================
   FOUNDERS
   =========================== */
.founders {
  background: var(--bg-section);
}

.founders > .container > h2 {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.founder-avatar svg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.founder-bio h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  max-width: none;
}

.founder-bio > p:not(.founder-title) {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
  transition: color 0.15s;
}

[data-theme="dark"] .founder-linkedin { color: var(--green-tint); }

.founder-linkedin:hover { color: var(--gold); }

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

/* ===========================
   PROCESS
   =========================== */
.process {
  background: var(--bg);
}

.process > .container > h2 {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--border);
  margin-left: 1.5rem;
  margin-bottom: 3rem;
}

.process-step {
  display: flex;
  gap: 2rem;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  min-width: 2rem;
  margin-top: 0.15rem;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.step-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.15em 0.5em;
  border-radius: 2px;
}

.step-content p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 60ch;
}

.process-callout {
  background: var(--green-deep);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 680px;
}

.process-callout p {
  color: var(--cream);
  font-size: 0.975rem;
  line-height: 1.7;
  max-width: none;
  font-style: italic;
}

/* ===========================
   CASE STUDY
   =========================== */
.case-study {
  background: var(--bg-section);
}

.case-study-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  max-width: none;
}

.case-study-text h2 { margin-bottom: 1.25rem; }

.case-study-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.case-note {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem !important;
}

/* Stack diagram */
.stack-diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.stack-node {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stack-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.stack-sublabel {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.stack-node--trigger  { background: var(--bg-card); border-left: 3px solid var(--border); }
.stack-node--n8n      { background: var(--bg-card); border-left: 3px solid var(--green-deep); }
.stack-node--claude   { background: var(--bg-card); border-left: 3px solid var(--gold); }
.stack-node--review   { background: var(--bg-card); border-left: 3px solid var(--border); }
.stack-node--output   { background: var(--green-deep); border-left: 3px solid var(--gold); }
.stack-node--output .stack-label  { color: var(--cream); }
.stack-node--output .stack-sublabel { color: #8AAE96; }

.stack-arrow {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  padding: 0.25rem 0;
  line-height: 1;
}

@media (max-width: 820px) {
  .case-study-inner { grid-template-columns: 1fr; }
}

/* ===========================
   PRICING
   =========================== */
.pricing {
  background: var(--bg);
}

.pricing > .container > h2 { margin-bottom: 1.25rem; }

.pricing-note {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 70ch;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  margin-bottom: 2.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table thead {
  background: var(--green-tint);
}

[data-theme="dark"] .pricing-table thead {
  background: #1A3326;
}

.pricing-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 0.85rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}

[data-theme="dark"] .pricing-table th { color: var(--green-tint); }

.pricing-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
  line-height: 1.55;
}

.pricing-table td:first-child { min-width: 200px; }
.pricing-table td:nth-child(2) { color: var(--text-secondary); }

.pricing-table tr:hover td { background: var(--bg-section); }

.price-cell {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-deep) !important;
  white-space: nowrap;
}

[data-theme="dark"] .price-cell { color: var(--gold) !important; }

.price-freq {
  font-weight: 400;
  font-size: 0.8em;
  color: var(--text-secondary);
}

.pricing-exclusions {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-deep);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 700px;
}

[data-theme="dark"] .pricing-exclusions { border-left-color: var(--gold); }

.pricing-exclusions h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.pricing-exclusions p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: none;
}

/* ===========================
   FINE PRINT
   =========================== */
.fine-print {
  background: var(--bg-section);
}

.fine-print > .container > h2 { margin-bottom: 2rem; }

.fine-print-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 700px;
}

.fine-print-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
}

.fine-print-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: var(--green-deep);
  color: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-text h2 {
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.contact-text p {
  color: #A8C4B0;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-calendly {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 820px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-calendly { min-height: 500px; }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #0A1910;
  color: var(--cream-text);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(212, 160, 23, 0.15);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand .nav-logo { color: var(--cream-text); margin-bottom: 0.75rem; }

.footer-location {
  font-size: 0.82rem;
  color: var(--green-gray);
  margin-bottom: 0.3rem;
  max-width: none;
}

.footer-email {
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-email:hover { opacity: 0.75; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #8AA394;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }

.footer-legal {
  font-size: 0.78rem;
  color: #4A5C52;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
  max-width: none;
}

@media (max-width: 560px) {
  .footer-links { align-items: flex-start; }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   UTILITIES
   =========================== */
@media (max-width: 375px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
}

/* ===========================
   PRICING — CUSTOM ROW
   =========================== */
.pricing-custom-row {
  background: var(--bg-section);
}
.pricing-custom-row td { border-top: 2px solid var(--border-card); }
.price-cell--custom a {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.price-cell--custom a:hover { opacity: 0.75; }

/* ===========================
   QUIZ SECTION
   =========================== */
.quiz-section {
  background: var(--green-deep);
  color: var(--cream);
}

.quiz-wrapper {
  max-width: 720px;
  margin-inline: auto;
}

.quiz-hidden { display: none !important; }

/* Intro pane */
#quiz-intro h2 { color: var(--cream); margin-bottom: 1rem; }
.quiz-intro-sub {
  color: #A8C4B0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 55ch;
}

/* Progress bar */
.quiz-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.35s ease;
  width: 20%;
}
.quiz-progress-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7AA88A;
  margin-bottom: 1.75rem;
  max-width: none;
}

/* Question card */
.quiz-question-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}
.quiz-question-card h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: #C8DDD0;
  font-size: 0.95rem;
  user-select: none;
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(212,160,23,0.06);
  color: var(--cream);
}
.quiz-option input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(212,160,23,0.1);
  color: var(--cream);
}

/* Quiz nav buttons */
.quiz-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.quiz-btn-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #A8C4B0;
  font-size: 0.9rem;
  padding: 0.75em 1.25em;
}
.quiz-btn-back:hover { border-color: var(--gold); color: var(--cream); opacity: 1; }

/* Results */
#quiz-results h2 { color: var(--cream); margin-bottom: 0.75rem; }
.quiz-results-sub {
  color: #A8C4B0;
  font-size: 0.975rem;
  margin-bottom: 2rem;
  max-width: 55ch;
  line-height: 1.65;
}
.quiz-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.result-card {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.5rem;
}
.result-card-rank {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.result-card h4 {
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.result-card p {
  font-size: 0.82rem;
  color: var(--green-gray);
  line-height: 1.55;
  max-width: none;
}

.quiz-results-cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.quiz-guide-link {
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.quiz-guide-link:hover { opacity: 0.75; }

.quiz-retake {
  background: none;
  border: none;
  color: #7AA88A;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz-retake:hover { color: var(--cream); }

@media (max-width: 640px) {
  .quiz-results-grid { grid-template-columns: 1fr; }
  .quiz-results-cta { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ===========================
   GUIDE SECTION
   =========================== */
.guide-section { background: var(--bg-section); }

.guide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.guide-text h2 { margin-bottom: 1rem; }
.guide-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.guide-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.guide-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 1.4rem;
  position: relative;
}
.guide-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Form */
.guide-form-wrap {
  position: sticky;
  top: 80px;
}
.guide-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.guide-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.guide-form-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: none;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-field input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65em 0.85em;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}
.form-field input:focus { border-color: var(--gold); }
.form-field input.input-error { border-color: #c0392b; }

.guide-submit { width: 100%; text-align: center; margin-top: 0.5rem; }

.guide-disclaimer {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.65rem;
  text-align: center;
  max-width: none;
}

/* Thank-you state */
.guide-thankyou {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}
.thankyou-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--near-black);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.guide-thankyou h3 { margin-bottom: 0.5rem; }
.guide-thankyou p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  max-width: none;
}

@media (max-width: 820px) {
  .guide-inner { grid-template-columns: 1fr; }
  .guide-form-wrap { position: static; }
}

/* Featured service card */
.service-card--featured {
  border-top-color: var(--gold);
  background: var(--bg-section);
  grid-column: span 2;
}
.service-card--featured .service-name { font-size: 1.05rem; }
@media (max-width: 560px) {
  .service-card--featured { grid-column: span 1; }
}
