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

/* === VARIABLES === */
:root {
  --green: #19723c;
  --green-dark: #125c30;
  --green-light: #2ea52e;
  --accent: #FFBF00;
  --accent-dark: #D4A000;
  --white: #FFFFFF;
  --off-white: #FAFAF5;
  --text: #222222;
  --text-light: #4a4a4a;
  --radius: 6px;
  --shadow: 0 1px 6px rgba(0,0,0,0.08);
  --max-width: 960px;
}

/* === TYPOGRAPHY (Editorial) === */
body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.3;
  color: var(--green-dark);
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

a { color: var(--green); text-decoration: underline; }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* === HEADER (Centered logo) === */
.site-header {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 1.25rem 0 0;
}

.header-brand {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.header-brand span { color: var(--accent); }

.nav-bar {
  background: var(--green);
  padding: 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  display: block;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.75rem 1.25rem;
}

/* === HERO (Review summary) === */
.hero-review {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--off-white);
}

.hero-review h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }

.rating-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.hero-review .stars { color: var(--accent); font-size: 1.5rem; letter-spacing: 3px; }

.hero-summary {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover { background: var(--green-dark); color: var(--white); }
.cta-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.cta-btn--accent { background: var(--accent); color: var(--green-dark); }
.cta-btn--accent:hover { background: var(--accent-dark); }

/* === SECTIONS (Narrower editorial) === */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section--alt { background: var(--off-white); }
.section--alt .section { padding: 2.5rem 0; }

.section-full { max-width: 100%; }

.section-title { text-align: center; margin-bottom: 2rem; }

/* === REVIEW SCORE BOX === */
.score-box {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.score-item {
  flex: 1;
  min-width: 140px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border-left: 4px solid var(--green);
}

.score-item .score-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
}

.score-item .score-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === CARDS (Editorial) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid #e8e8e0;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--green); font-family: 'Merriweather', serif; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* === BLOCKQUOTE CALLOUT === */
.callout {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* === REVIEW TABLE === */
.review-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.review-table th,
.review-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e0;
}
.review-table th { background: var(--green-dark); color: var(--white); font-weight: 600; }
.review-table tr:hover { background: var(--off-white); }

/* === FAQ ACCORDION === */
.faq-item { border-bottom: 1px solid #e8e8e0; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Merriweather', serif;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { color: var(--green); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.25rem; display: none; color: var(--text-light); }
.faq-item.active .faq-answer { display: block; }

/* === STEPS === */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 0.5rem; }

/* === FOOTER === */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-col h4 { color: var(--accent); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.8); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* === STARS === */
.stars { color: var(--accent); font-size: 1.25rem; letter-spacing: 2px; }

/* === PROS CONS === */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.pros-list, .cons-list { padding: 1.25rem; border-radius: var(--radius); }
.pros-list { background: #f0faf0; border: 1px solid #c8e6c8; }
.cons-list { background: #fef5f5; border: 1px solid #f0d0d0; }
.pros-list h3 { color: var(--green); }
.cons-list h3 { color: #c0392b; }
.pros-list ul, .cons-list ul { list-style: none; margin-top: 0.75rem; }
.pros-list li::before { content: '\2713 '; color: var(--green); font-weight: 700; }
.cons-list li::before { content: '\2717 '; color: #c0392b; font-weight: 700; }
.pros-list li, .cons-list li { margin-bottom: 0.5rem; }

/* === VERDICT BOX === */
.verdict-box {
  background: var(--green-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}
.verdict-box h2 { color: var(--accent); margin-top: 0; }
.verdict-box .rating-badge { margin-bottom: 1rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-review { padding: 2rem 1.5rem; }
  .hero-review h1 { font-size: 1.75rem; }
  .score-box { flex-direction: column; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-links.active { display: flex; }
  .nav-links a { text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .card-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .footer-container { grid-template-columns: 1fr; }
  .section { padding: 2rem 1rem; }
}
