/* ==========================================================
   AggressionDogTrainer.com — Design System
   Direction: Scientific Trust + Warmth
   Palette: Deep Slate + Burnt Sienna + Cream + Forest Green
   Fonts: DM Serif Display (headings) + Lato (body)
   [TEST] Build 2026-03-07
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Palette */
  --slate:        #1E2D3D;  /* deep trust blue-slate */
  --sienna:       #C2510B;  /* burnt sienna — urgency + warmth */
  --sienna-light: #E8844A;  /* lighter sienna for hovers */
  --cream:        #FAF7F2;  /* warm off-white */
  --cream-dark:   #F0EBE1;  /* section bg variation */
  --forest:       #2D5233;  /* CPDT/certification accent */
  --forest-light: #4A7C52;

  /* Neutrals */
  --text-dark:    #1A1A2E;
  --text-body:    #3A3A4A;
  --text-muted:   #6B7280;
  --border:       #DDD8D0;
  --white:        #FFFFFF;

  /* Semantic */
  --danger:       #B91C1C;
  --warning:      #D97706;
  --success:      #166534;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  /* Spacing */
  --space-xs:     0.375rem;
  --space-sm:     0.75rem;
  --space-md:     1.25rem;
  --space-lg:     2rem;
  --space-xl:     3rem;
  --space-2xl:    5rem;

  /* Borders */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(30,45,61,0.08), 0 1px 2px rgba(30,45,61,0.06);
  --shadow-md:    0 4px 12px rgba(30,45,61,0.12), 0 2px 4px rgba(30,45,61,0.08);
  --shadow-lg:    0 12px 32px rgba(30,45,61,0.15), 0 4px 8px rgba(30,45,61,0.08);
  --shadow-glow:  0 0 0 3px rgba(194,81,11,0.25);

  /* Transitions */
  --transition:   0.2s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sienna);
  text-decoration: underline;
  text-decoration-color: rgba(194,81,11,0.3);
  text-underline-offset: 2px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover {
  color: var(--sienna-light);
  text-decoration-color: var(--sienna-light);
}

ul, ol {
  padding-left: 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: var(--space-md); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.1rem; margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-md); }

strong { font-weight: 700; color: var(--text-dark); }

.text-muted { color: var(--text-muted); font-size: 0.9rem; }
.text-sm    { font-size: 0.875rem; }
.text-lg    { font-size: 1.125rem; }
.text-serif { font-family: var(--font-display); }
.italic     { font-style: italic; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: 760px;
}

.container--wide {
  max-width: 1300px;
}

.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--slate);
  color: var(--cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.section--forest {
  background: var(--forest);
  color: var(--cream);
}

.section--forest h2 {
  color: var(--white);
}

/* ---------- Grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--slate);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--sienna);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.site-logo span { color: var(--sienna-light); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--sienna-light);
}

.header-cta {
  background: var(--sienna);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  transition: background var(--transition) !important;
}

.header-cta:hover {
  background: var(--sienna-light) !important;
  color: var(--white) !important;
  text-decoration: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--slate);
    padding: var(--space-md);
    gap: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-menu-toggle { display: block; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--slate);
  color: var(--cream);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(194,81,11,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(45,82,51,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(194,81,11,0.15);
  border: 1px solid rgba(194,81,11,0.4);
  color: var(--sienna-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: var(--space-md);
}

.hero h1 em {
  font-style: italic;
  color: var(--sienna-light);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(250,247,242,0.8);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero__trust {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.hero__trust-item {
  text-align: center;
}

.hero__trust-item .number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sienna-light);
  line-height: 1;
}

.hero__trust-item .label {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.05);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__trust { justify-content: space-between; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--sienna);
  color: var(--white);
  border-color: var(--sienna);
}

.btn--primary:hover {
  background: var(--sienna-light);
  border-color: var(--sienna-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(194,81,11,0.35);
  text-decoration: none;
}

.btn--secondary {
  background: transparent;
  color: var(--sienna);
  border-color: var(--sienna);
}

.btn--secondary:hover {
  background: var(--sienna);
  color: var(--white);
  text-decoration: none;
}

.btn--white {
  background: var(--white);
  color: var(--slate);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--cream);
  color: var(--slate);
  text-decoration: none;
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
}

.btn--full { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--accent {
  border-left: 4px solid var(--sienna);
}

.card--forest {
  border-left: 4px solid var(--forest);
}

.card--city {
  background: var(--cream);
  border: none;
  text-align: center;
  padding: var(--space-md);
}

.card--city a {
  text-decoration: none;
  font-weight: 700;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.card--city a:hover { color: var(--sienna); }

.card--city .city-state {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ---------- Badge / Certification ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}

.badge--green {
  background: rgba(45,82,51,0.12);
  color: var(--forest);
  border: 1px solid rgba(45,82,51,0.25);
}

.badge--sienna {
  background: rgba(194,81,11,0.1);
  color: var(--sienna);
  border: 1px solid rgba(194,81,11,0.25);
}

.badge--slate {
  background: rgba(30,45,61,0.08);
  color: var(--slate);
  border: 1px solid rgba(30,45,61,0.2);
}

/* ---------- Certification Strip ---------- */
.cert-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.cert-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
}

.cert-item .icon {
  width: 28px;
  height: 28px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--sienna);
  box-shadow: var(--shadow-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Lead Form Box */
.lead-form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--sienna);
}

.lead-form-box h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.lead-form-box .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--sienna);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-answer p { margin-bottom: 0; }

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: var(--space-md) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--slate);
  color: var(--cream);
}

thead th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--cream); }

tbody td {
  padding: 0.875rem 1rem;
  vertical-align: top;
}

.price-highlight {
  color: var(--sienna);
  font-weight: 700;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb li::after {
  content: '›';
  margin-left: 0.25rem;
  color: var(--text-muted);
}

.breadcrumb li:last-child::after { display: none; }

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--sienna); }

.breadcrumb li:last-child { color: var(--text-muted); }

/* ---------- Section Divider ---------- */
.section-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 0.5rem;
}

/* ---------- Alert / Info Box ---------- */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--sienna);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
}

.info-box--forest {
  border-left-color: var(--forest);
  background: rgba(45,82,51,0.06);
}

.info-box p { margin-bottom: 0; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--slate);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(194,81,11,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { color: var(--white); }

.cta-section p {
  color: rgba(250,247,242,0.8);
  margin-bottom: var(--space-lg);
}

/* ---------- Severity Level Badges ---------- */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.level-a { background: rgba(22,101,52,0.1); color: var(--success); border: 1px solid rgba(22,101,52,0.3); }
.level-b { background: rgba(217,119,6,0.1); color: var(--warning); border: 1px solid rgba(217,119,6,0.3); }
.level-c { background: rgba(185,28,28,0.1); color: var(--danger); border: 1px solid rgba(185,28,28,0.3); }

/* ---------- Blog/Article ---------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.article-content h2:first-child {
  margin-top: 0;
  border-top: none;
}

.article-content h3 {
  margin-top: var(--space-lg);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-md);
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* ---------- Sidebar ---------- */
.sidebar .lead-form-box {
  position: sticky;
  top: 80px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text-dark);
  color: rgba(250,247,242,0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-brand p a {
  color: var(--sienna-light);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(250,247,242,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--sienna-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
}

.footer-bottom a {
  color: rgba(250,247,242,0.4);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--sienna-light); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Mobile CTA Sticky ---------- */
.mobile-cta-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 0.75rem 1rem;
  background: var(--slate);
  border-top: 2px solid var(--sienna);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .mobile-cta-sticky { display: block; }
  body { padding-bottom: 70px; }
}

/* ---------- Quiz Styles ---------- */
.quiz-container {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-progress {
  margin-bottom: var(--space-lg);
}

.quiz-progress-bar {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sienna), var(--sienna-light));
  border-radius: 100px;
  transition: width 0.5s ease;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.35s ease;
}

.quiz-step.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}

.quiz-option:hover {
  border-color: var(--sienna);
  background: rgba(194,81,11,0.04);
}

.quiz-option.selected {
  border-color: var(--sienna);
  background: rgba(194,81,11,0.08);
}

.quiz-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.quiz-option.selected .quiz-option-letter {
  background: var(--sienna);
  border-color: var(--sienna);
  color: var(--white);
}

.quiz-option-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-body);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  gap: var(--space-md);
}

.quiz-result {
  display: none;
  animation: fadeIn 0.5s ease;
}

.quiz-result.visible { display: block; }

.result-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 2px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.result-card h2 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.result-score {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--sienna);
  margin-bottom: var(--space-sm);
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm { gap: var(--space-sm); }
.flex-gap-md { gap: var(--space-md); }
.flex-wrap { flex-wrap: wrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .mobile-cta-sticky,
  .cta-section { display: none; }
}
