/* ==========================================================================
   Flicker Electrical Services, Inc. - Modern Responsive Stylesheet
   Clean design with high contrast and professional appearance
   ========================================================================== */

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  
  /* Secondary Colors (Electrical Yellow) */
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --secondary-light: #fbbf24;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  padding: var(--space-2) 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger-line:nth-child(1) { transform: translateY(-6px); }
.hamburger-line:nth-child(3) { transform: translateY(6px); }

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 80px var(--space-6) var(--space-6);
    transition: right 0.3s;
    z-index: 999;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  
  .nav-link {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--gray-900);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-12) var(--space-6);
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: var(--space-6);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-8);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Page Hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--space-16) 0;
  text-align: center;
}

.page-hero .page-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.page-hero .page-subtitle {
  font-size: 1.125rem;
  color: var(--gray-200);
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

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

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--gray-900);
  color: var(--gray-300);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.service-card h3 {
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: 50%;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: var(--space-2);
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ==========================================================================
   SERVICES DETAILED PAGE
   ========================================================================== */

.services-detailed {
  padding: var(--space-16) 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  min-height: 350px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  padding: var(--space-8);
}

.service-detail-content h2 {
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.service-description {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.service-includes h3,
.service-benefits h3 {
  font-size: 1.125rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.service-includes ul,
.service-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-includes li,
.service-benefits li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.service-benefits li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .service-detail-card {
    grid-template-columns: 1fr;
  }
  
  .service-detail-card:nth-child(even) {
    direction: ltr;
  }
  
  .service-detail-image {
    min-height: 250px;
  }
}

/* ==========================================================================
   PORTFOLIO / WORK EXAMPLES
   ========================================================================== */

.work-examples {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--white);
  margin-bottom: var(--space-1);
}

.portfolio-overlay p {
  color: var(--gray-300);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-content p {
  color: var(--gray-200);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
}

.contact-info {
  padding: var(--space-8);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.contact-info h2 {
  margin-bottom: var(--space-6);
}

.contact-details {
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  color: var(--white);
}

.contact-text h3 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.contact-text p,
.contact-text a {
  color: var(--gray-600);
  margin: 0;
}

.contact-text a:hover {
  color: var(--primary);
}

.business-hours h3 {
  margin-bottom: var(--space-4);
}

.business-hours p {
  color: var(--gray-600);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-container {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.lead-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: 600;
  color: var(--gray-700);
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.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(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: var(--space-1);
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.consent-group {
  margin-top: var(--space-4);
}

.btn-submit {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-submit {
    width: 100%;
  }
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */

.map-section {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-6);
}

.footer-address {
  font-style: normal;
  color: var(--gray-400);
  margin-bottom: var(--space-4);
}

.footer-contact p {
  margin-bottom: var(--space-2);
}

.footer-contact a {
  color: var(--gray-400);
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  color: var(--gray-400);
}

.footer-nav a:hover {
  color: var(--secondary);
}

.business-hours p {
  margin-bottom: var(--space-2);
  color: var(--gray-400);
}

.footer-legal {
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
}

.footer-legal .disclaimer {
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.footer-legal .copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  transform: translateY(100%);
  transition: transform 0.3s;
  z-index: 9999;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-content {
  flex: 1;
  min-width: 280px;
}

.cookie-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.cookie-text {
  margin: 0;
  font-size: 0.875rem;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   COOKIE MODAL
   ========================================================================== */

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: var(--space-4);
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--gray-800);
}

.cookie-modal-body {
  padding: var(--space-6);
}

.cookie-category {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-100);
}

.cookie-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.cookie-category-header label {
  font-weight: 600;
  color: var(--gray-800);
}

.cookie-status {
  font-size: 0.875rem;
  color: var(--success);
  font-weight: 600;
}

.cookie-category-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.cookie-modal-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-page {
  padding: var(--space-16) 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.legal-section {
  margin-bottom: var(--space-8);
}

.legal-section h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}

.legal-section h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-contact {
  background: var(--gray-50);
  padding: var(--space-6);
  border-radius: var(--radius);
}

.legal-acknowledgment {
  background: var(--gray-100);
  padding: var(--space-6);
  border-radius: var(--radius);
  text-align: center;
  margin-top: var(--space-8);
}

/* ==========================================================================
   BUSINESS MODEL PAGE
   ========================================================================== */

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

.business-section:nth-child(even) {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.content-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.content-card h3 {
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.content-card p {
  color: var(--gray-600);
  margin: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.audience-card {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.revenue-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.revenue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.data-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.data-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.purpose-card {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.purpose-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.transparency-content {
  max-width: 800px;
  margin: 0 auto;
}

.transparency-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.transparency-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.transparency-item svg {
  flex-shrink: 0;
  color: var(--success);
}

.transparency-cta {
  text-align: center;
  padding: var(--space-8);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}

.transparency-cta p {
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-overview {
  padding: var(--space-16) 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.mission-section {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.mission-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-content p {
  font-size: 1.25rem;
  color: var(--gray-700);
  font-style: italic;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.value-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.value-card h3 {
  margin-bottom: var(--space-3);
}

.value-card p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.9375rem;
}

.what-we-do {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.services-list-items {
  column-count: 2;
  column-gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

.services-list-items li {
  margin-bottom: var(--space-3);
  color: var(--gray-700);
}

@media (max-width: 600px) {
  .services-list-items {
    column-count: 1;
  }
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.stat-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: 50%;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.community-section {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.community-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.community-content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  z-index: 99999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .header,
  .footer,
  .cookie-banner,
  .cookie-modal,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}
