/* ============================================================
   Pizza Delivery Choice Hub - Main Stylesheet
   Colors: White #FFFFFF | Dark Green #1A4D2E | Gray #6B7280
   ============================================================ */

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

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

body {
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #1F2937;
  line-height: 1.7;
}

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

a {
  color: #1A4D2E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #256B3E;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #1A4D2E;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: #374151;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #F9FAFB;
  padding: 5rem 0;
}

.section-dark {
  background-color: #1A4D2E;
  padding: 5rem 0;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #FFFFFF;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-white  { color: #FFFFFF !important; }
.text-green  { color: #1A4D2E !important; }
.text-gray   { color: #6B7280 !important; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .subtitle {
  font-size: 1rem;
  color: #6B7280;
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  background: #E8F5ED;
  color: #1A4D2E;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background: #FFFFFF;
  border-bottom: 2px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(26,77,46,0.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1A4D2E;
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #1A4D2E;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.navbar-logo span.accent {
  color: #6B7280;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #374151;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #E8F5ED;
  color: #1A4D2E;
}

.nav-links .nav-cta {
  background: #1A4D2E;
  color: #FFFFFF;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  margin-left: 0.5rem;
}

.nav-links .nav-cta:hover {
  background: #256B3E;
  color: #FFFFFF;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: " ▾";
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 0.5rem;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #374151;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: #E8F5ED;
  color: #1A4D2E;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1A4D2E;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 1rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1A4D2E 0%, #256B3E 50%, #1F5C36 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, #1A4D2E 0%, #256B3E 100%);
  padding: 4rem 0;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.7);
}

.breadcrumbs a:hover {
  color: #FFFFFF;
}

.breadcrumbs span {
  color: rgba(255,255,255,0.5);
}

.breadcrumbs .current {
  color: rgba(255,255,255,0.9);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: #1A4D2E;
  color: #FFFFFF;
  border-color: #1A4D2E;
}

.btn-primary:hover {
  background: #256B3E;
  border-color: #256B3E;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,77,46,0.3);
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: #1A4D2E;
  border-color: #1A4D2E;
}

.btn-outline:hover {
  background: #1A4D2E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: #1A4D2E;
  border-color: #FFFFFF;
}

.btn-white:hover {
  background: #F9FAFB;
  color: #1A4D2E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(26,77,46,0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: #E8F5ED;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A4D2E;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link::after {
  content: "→";
}

.card-link:hover {
  gap: 0.6rem;
}

/* Category card (larger) */
.category-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.category-card:hover {
  box-shadow: 0 12px 40px rgba(26,77,46,0.15);
  transform: translateY(-5px);
}

.category-card-header {
  background: linear-gradient(135deg, #1A4D2E, #256B3E);
  padding: 2rem;
  text-align: center;
}

.category-card-header .cat-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.category-card-header h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
}

.category-card-body {
  padding: 1.75rem;
}

.category-card-body p {
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 1.25rem;
}

/* Feature list inside cards */
.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #374151;
  padding: 0.3rem 0;
}

.feature-list li::before {
  content: "✓";
  color: #1A4D2E;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
   COMPARISON BLOCKS
   ============================================================ */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
}

.comparison-table thead {
  background: #1A4D2E;
  color: #FFFFFF;
}

.comparison-table thead th {
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  border: none;
}

.comparison-table thead th:first-child {
  border-radius: 16px 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
}

.comparison-table tbody tr:hover {
  background: #F9FAFB;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: #374151;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: #1A4D2E;
}

.badge-yes {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.badge-no {
  display: inline-block;
  background: #FEE2E2;
  color: #991B1B;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.badge-mid {
  display: inline-block;
  background: #FEF9C3;
  color: #854D0E;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

/* VS Block */
.vs-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.vs-panel {
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 20px;
  padding: 2rem;
}

.vs-panel.highlight {
  border-color: #1A4D2E;
  box-shadow: 0 8px 30px rgba(26,77,46,0.12);
}

.vs-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1A4D2E;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-top: 2rem;
}

/* ============================================================
   STEP GUIDES
   ============================================================ */
.steps-list {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  counter-increment: step-counter;
  width: 48px;
  height: 48px;
  background: #1A4D2E;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #1A4D2E;
}

.step-content p {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #1A4D2E;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ============================================================
   INFO BLOCKS
   ============================================================ */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-block.reverse {
  direction: rtl;
}

.info-block.reverse > * {
  direction: ltr;
}

.info-visual {
  background: linear-gradient(135deg, #E8F5ED, #D1FAE5);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  font-size: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  box-shadow: 0 10px 40px rgba(26,77,46,0.12);
  transform: translateY(-4px);
}

.blog-card-header {
  background: linear-gradient(135deg, #1A4D2E, #256B3E);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 3.5rem;
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: #9CA3AF;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #1A4D2E;
}

.blog-card-body p {
  font-size: 0.92rem;
  color: #6B7280;
  margin-bottom: 1.25rem;
}

/* Blog post content */
.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.blog-content ul li {
  padding: 0.3rem 0;
  font-size: 1.05rem;
  color: #374151;
}

/* ============================================================
   CALLOUT / INFO BOX
   ============================================================ */
.callout {
  background: #E8F5ED;
  border-left: 4px solid #1A4D2E;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.callout h4 {
  font-size: 1rem;
  color: #1A4D2E;
  margin-bottom: 0.4rem;
}

.callout p {
  font-size: 0.95rem;
  color: #374151;
  margin: 0;
}

.callout-warning {
  background: #FFFBEB;
  border-left-color: #D97706;
}

.callout-warning h4 {
  color: #92400E;
}

/* ============================================================
   TAG / PILL LABELS
   ============================================================ */
.tag {
  display: inline-block;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.tag-green {
  background: #E8F5ED;
  color: #1A4D2E;
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #E5E7EB;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.accordion-trigger:hover {
  background: #F9FAFB;
}

.accordion-trigger .icon {
  font-size: 1.2rem;
  color: #1A4D2E;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion-trigger.open .icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.75;
}

.accordion-body.open {
  display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1A4D2E 0%, #256B3E 100%);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111827;
  color: #D1D5DB;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: #9CA3AF;
}

.footer-contact-info p {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9CA3AF;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F9FAFB;
  margin-bottom: 1.25rem;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: #9CA3AF;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #6B7280;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ============================================================
   SIDEBAR (category / blog pages)
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-size: 1rem;
  color: #1A4D2E;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #E8F5ED;
}

.sidebar-links li {
  border-bottom: 1px solid #F3F4F6;
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.sidebar-links li a:hover {
  color: #1A4D2E;
}

.sidebar-links li a::after {
  content: "→";
  font-size: 0.8rem;
  color: #1A4D2E;
}

.sidebar-cta {
  background: linear-gradient(135deg, #1A4D2E, #256B3E);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

.sidebar-cta h4 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
}

/* ============================================================
   RATING / SCORE DISPLAY
   ============================================================ */
.score-bar-wrap {
  margin-bottom: 0.75rem;
}

.score-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.3rem;
}

.score-bar {
  height: 8px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #1A4D2E, #256B3E);
  border-radius: 999px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .info-block {
    grid-template-columns: 1fr;
  }

  .info-block.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .vs-block {
    grid-template-columns: 1fr;
  }

  .vs-divider {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .section,
  .section-alt,
  .section-dark {
    padding: 3.5rem 0;
  }

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

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

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }
}

/* ============================================================
   UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .footer, .sidebar, .hamburger {
    display: none;
  }

  .hero, .page-hero {
    background: #1A4D2E !important;
    -webkit-print-color-adjust: exact;
  }
}