/* ============================================
   Energy Future Arkansas - Complete Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0d7c3d;
  --primary-dark: #065a2b;
  --primary-light: #e8f5ed;
  --secondary: #1565c0;
  --secondary-dark: #0d47a1;
  --secondary-light: #e3f2fd;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --text: #1a1a2e;
  --text-light: #555a6e;
  --text-muted: #8a8fa3;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0f1b2d;
  --border: #e2e5ea;
  --border-light: #f0f1f3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --top-bar-height: 40px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: 8px; color: #fff; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Top Bar --- */
.top-bar {
  background: var(--bg-dark); color: #cfd8e3;
  font-size: 0.82rem; height: var(--top-bar-height);
  display: flex; align-items: center;
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--accent); }
.top-bar-text { color: #9aa5b4; }

/* --- Header --- */
.site-header {
  background: #fff; height: var(--header-height);
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid var(--border-light);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
  font-size: 1.35rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.logo:hover { color: var(--primary); }
.logo-icon { color: var(--accent); font-size: 1.5rem; }

/* --- Navigation --- */
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--text); font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.nav-list > li > a:hover, .nav-list > li > a.active {
  background: var(--primary-light); color: var(--primary);
}
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 240px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition); z-index: 100;
  border: 1px solid var(--border-light);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 20px; color: var(--text);
  font-size: 0.9rem; transition: background var(--transition);
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

.header-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* --- Mobile Toggle --- */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; min-width: 28px; padding: 4px 0; z-index: 1001;
}
.mobile-toggle span {
  display: block; width: 28px; height: 2.5px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); cursor: pointer;
  text-align: center; justify-content: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--text); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Hero Sections --- */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #162d50 100%);
  color: #fff; padding: 80px 0 90px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: #c8d6e5; max-width: 600px; margin-bottom: 32px; line-height: 1.7; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 400px; object-fit: cover; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-small { padding: 50px 0 60px; }
.hero-small h1 { font-size: 2.2rem; margin-bottom: 12px; }
.hero-small p { margin-bottom: 0; }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0; font-size: 0.85rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; }

/* --- Section Styles --- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 12px;
}
.section-dark .section-label { color: var(--accent); }
.section-dark .section-header p { color: #9aa5b4; }

/* --- Cards --- */
.card {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition); overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; }
.card-link::after { content: '\2192'; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(4px); }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 0; color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 4px; }
.stat-item p { font-size: 0.9rem; opacity: 0.85; }

/* --- Process Steps --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { text-align: center; padding: 32px 20px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-weight: 800; font-size: 1.3rem; margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* --- Trust Badges --- */
.trust-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-badge { text-align: center; }
.trust-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.trust-badge p { font-weight: 600; font-size: 0.9rem; color: var(--text-light); }

/* --- Testimonials --- */
.testimonial-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--border-light);
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; left: 24px;
  font-size: 3rem; color: var(--primary-light); font-family: Georgia, serif; line-height: 1;
}
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 20px; padding-top: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 4px; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px; text-align: left;
  font-weight: 600; font-size: 1rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon {
  font-size: 1.2rem; transition: transform var(--transition);
  color: var(--primary); flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  background: var(--bg-alt);
}
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-light); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; }

/* --- Blog Cards --- */
.blog-card { display: flex; flex-direction: column; }
.blog-card .card-meta {
  display: flex; gap: 16px; font-size: 0.82rem;
  color: var(--text-muted); margin-bottom: 8px;
}
.blog-card .card-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 10px;
}

/* --- Author Bio --- */
.author-bio {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-alt); border-radius: var(--radius-md);
  padding: 24px; margin: 40px 0; border-left: 4px solid var(--primary);
}
.author-photo {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info .author-title { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: 0.9rem; color: var(--text-light); }

/* --- Article Content --- */
.article-content { max-width: 780px; }
.article-content h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--text); }
.article-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.article-content p { margin-bottom: 18px; color: var(--text-light); }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 8px; color: var(--text-light); }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content img { border-radius: var(--radius-md); margin: 24px 0; }
.article-content blockquote {
  border-left: 4px solid var(--primary); padding: 16px 24px;
  background: var(--primary-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0; font-style: italic;
}
.article-content a { text-decoration: underline; }
.article-sidebar { position: sticky; top: 100px; }
.article-sidebar h4 { font-size: 0.95rem; margin-bottom: 16px; font-weight: 700; }
.sidebar-card { background: var(--bg-alt); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { margin-bottom: 8px; }
.sidebar-card a { font-size: 0.9rem; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.article-hero { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 32px; }
.article-meta { display: flex; gap: 20px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; flex-wrap: wrap; }

/* --- Contact Form --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,124,61,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-card {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg);
  padding: 40px; height: fit-content;
}
.contact-info-card h3 { font-size: 1.4rem; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: #c8d6e5; font-size: 0.9rem; }
.contact-info-item a:hover { color: var(--accent); }

/* --- Tools / Calculator --- */
.calculator-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border-light);
}
.calc-group { margin-bottom: 24px; }
.calc-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-group input[type="range"] { width: 100%; accent-color: var(--primary); }
.calc-group input[type="number"], .calc-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem;
}
.calc-output { display: flex; gap: 8px; align-items: baseline; }
.calc-output .calc-value { font-size: 1rem; font-weight: 600; color: var(--primary); }
.calc-results {
  background: var(--primary-light); border-radius: var(--radius-md);
  padding: 32px; margin-top: 24px;
}
.calc-results h3 { font-size: 1.2rem; margin-bottom: 16px; color: var(--primary-dark); }
.calc-result-row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid rgba(13,124,61,0.15);
}
.calc-result-row:last-child { border: none; }
.calc-result-label { color: var(--text-light); }
.calc-result-value { font-weight: 700; color: var(--text); font-size: 1.1rem; }
.calc-result-highlight {
  background: var(--primary); color: #fff; border-radius: var(--radius-md);
  padding: 20px; margin-top: 16px; text-align: center;
}
.calc-result-highlight .big-number { font-size: 2.2rem; font-weight: 800; display: block; }
.calc-result-highlight p { font-size: 0.9rem; opacity: 0.9; }

/* --- Location Grid --- */
.location-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.location-link {
  display: block; text-align: center; padding: 14px 12px;
  background: var(--bg-alt); border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.9rem; color: var(--text);
  transition: all var(--transition); border: 1px solid transparent;
}
.location-link:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }

/* --- Timeline --- */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 3px; background: var(--primary-light);
}
.timeline-item { display: flex; gap: 24px; margin-bottom: 32px; position: relative; }
.timeline-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; flex-shrink: 0; z-index: 1;
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-content p { color: var(--text-light); font-size: 0.9rem; }

/* --- Team --- */
.team-card { text-align: center; }
.team-photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 4px solid var(--primary-light);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .team-role { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.team-card p { color: var(--text-light); font-size: 0.88rem; }

/* --- Values --- */
.value-card {
  padding: 32px; text-align: center; background: #fff;
  border-radius: var(--radius-md); border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--text-light); font-size: 0.9rem; }

/* --- Features / Benefits List --- */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit-item {
  display: flex; gap: 16px; padding: 20px;
  background: var(--bg-alt); border-radius: var(--radius-md);
}
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; }
.benefit-item h4 { font-size: 1rem; margin-bottom: 4px; }
.benefit-item p { color: var(--text-light); font-size: 0.9rem; }

/* --- Pricing Guide --- */
.pricing-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table th {
  background: var(--bg-dark); color: #fff;
  padding: 14px 20px; text-align: left; font-size: 0.9rem;
}
.pricing-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.pricing-table tr:nth-child(even) td { background: var(--bg-alt); }

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-dark); color: #fff;
  padding: 20px 0; z-index: 9999;
  transform: translateY(100%); transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cookie-inner p { font-size: 0.9rem; color: #c8d6e5; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.legal-content h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-content p { color: var(--text-light); margin-bottom: 16px; }
.legal-content ul { list-style: disc; margin: 0 0 16px 24px; }
.legal-content li { color: var(--text-light); margin-bottom: 6px; }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.comparison-table th, .comparison-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparison-table th { background: var(--bg-alt); font-weight: 700; }
.comparison-table td:first-child { font-weight: 600; }

/* --- Checklist --- */
.checklist { list-style: none; margin: 16px 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; color: var(--text-light); border-bottom: 1px solid var(--border-light); }
.checklist li::before { content: '\2713'; position: absolute; left: 4px; color: var(--primary); font-weight: 700; }

/* --- Footer --- */
.site-footer { background: var(--bg-dark); color: #c8d6e5; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #9aa5b4; transition: color var(--transition); font-size: 0.9rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { font-size: 0.9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #9aa5b4;
  font-size: 0.8rem; font-weight: 700;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #6b7280;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.85rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { order: -1; }
  .hero-img img { height: 300px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-text, .top-bar-email { display: none; }
  .top-bar-inner { justify-content: center; }
  .mobile-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; z-index: 999; padding: 80px 24px 24px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-x: hidden; overflow-y: auto;
    visibility: hidden;
  }
  .main-nav.open { right: 0; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 16px; display: block; border-radius: 0; border-bottom: 1px solid var(--border-light); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: var(--bg-alt); padding: 0; border-radius: 0;
  }
  .dropdown-menu a { padding-left: 32px; }
  .header-cta, .nav-cta { display: none !important; }
  .header-inner { flex-wrap: nowrap; }
  .mobile-toggle { margin-left: auto; }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.35rem; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .location-grid { grid-template-columns: 1fr; }
  .calculator-card { padding: 24px; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Audit Checklist --- */
.audit-category { margin-bottom: 32px; }
.audit-category h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--primary-light);
  color: var(--text); display: flex; align-items: center; gap: 8px;
}
.audit-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  transition: background var(--transition); cursor: pointer;
}
.audit-item:hover { background: var(--bg-alt); }
.audit-item input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--primary);
  cursor: pointer; flex-shrink: 0;
}
.audit-item label { cursor: pointer; font-size: 0.95rem; color: var(--text-light); }

.audit-score-card {
  background: var(--primary-light); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; position: sticky; top: 100px;
}
.audit-score-card h3 { margin-bottom: 16px; font-size: 1.2rem; }
.audit-score-number {
  font-size: 3rem; font-weight: 800; color: var(--primary);
  display: block; margin-bottom: 8px;
}
.audit-grade {
  display: inline-block; padding: 6px 20px; border-radius: 20px;
  font-weight: 700; font-size: 1rem; margin-bottom: 16px;
}
.grade-excellent { background: var(--primary); color: #fff; }
.grade-good { background: #22c55e; color: #fff; }
.grade-fair { background: var(--accent); color: var(--text); }
.grade-needs-improvement { background: #f97316; color: #fff; }
.grade-critical { background: #ef4444; color: #fff; }

.audit-tips {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.6;
  text-align: left; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid rgba(13,124,61,0.15);
}

.tool-card-icon {
  font-size: 2.5rem; margin-bottom: 16px; display: block;
}
.tool-card .card-body h3 a { color: var(--text); }
.tool-card .card-body h3 a:hover { color: var(--primary); }
