/**
 * Petrol Pump Dealership - Light Aesthetic Theme
 * Clean, modern, airy design with soft colors and gentle shadows
 */

/* =========================
   Design Tokens
   ========================= */
:root {
  /* Light, airy color palette */
  --bg-primary: #fafbfc;
  --bg-secondary: #f5f7fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f0f3f7;
  
  /* Refined text colors */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-on-dark: #ffffff;
  
  /* Modern accent colors */
  --accent-primary: #3b82f6;
  --accent-primary-dark: #2563eb;
  --accent-primary-light: #60a5fa;
  --accent-secondary: #8b5cf6;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  
  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Light borders */
  --border-light: rgba(226, 232, 240, 0.8);
  --border-medium: rgba(203, 213, 225, 1);
  --border-strong: rgba(148, 163, 184, 1);
  
  /* Soft shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Glows */
  --glow-primary: 0 0 20px rgba(59, 130, 246, 0.15);
  --glow-secondary: 0 0 20px rgba(139, 92, 246, 0.15);
  
  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', -apple-system, system-ui, sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.05), transparent),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(139, 92, 246, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-base);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px 24px;
  background: var(--accent-primary);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 20px;
}

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

/* =========================
   Container & Layout
   ========================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

/* Grid System */
.grid {
  display: grid;
  gap: 24px;
}

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

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

@media (min-width: 768px) {
  .grid {
    gap: 32px;
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   Typography
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 24px;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.muted {
  color: var(--text-muted);
  line-height: 1.6;
}

.fineprint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* =========================
   Header & Navigation
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform var(--transition-base);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.brand-mark:hover {
  box-shadow: var(--shadow-lg), var(--glow-primary);
  transform: scale(1.05);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Navigation Toggle */
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-medium);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  z-index: 101;
  box-shadow: var(--shadow-xs);
}

.nav-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  border-radius: 2px;
  position: relative;
  transition: all var(--transition-base);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle.is-active .nav-toggle-bars {
  background: transparent;
}

.nav-toggle.is-active .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Navigation Menu */
.nav {
  display: none;
  position: fixed;
  top: 77px;
  right: 24px;
  left: 24px;
  max-width: 400px;
  margin-left: auto;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.nav.is-open {
  display: flex;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.nav-link:hover {
  background: var(--bg-subtle);
  color: var(--accent-primary);
}

.nav-link.is-active {
  background: var(--accent-primary);
  color: white;
}

.nav-cta {
  background: var(--accent-primary);
  color: white;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--accent-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 8px;
    max-width: none;
  }
  
  .nav-link {
    padding: 8px 16px;
  }
  
  .nav-cta {
    margin-top: 0;
    margin-left: 8px;
  }
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-primary-dark);
  box-shadow: var(--shadow-md), var(--glow-primary);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-ghost:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 0 120px;
  }
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 400px;
    gap: 60px;
  }
}

.hero-copy {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.badge-icon {
  font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

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

.stat-value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Card */
.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.card-badge {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.hero-card h2 {
  margin-bottom: 12px;
}

.hero-card .muted {
  margin-bottom: 24px;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

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

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: var(--accent-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* =========================
   Cards
   ========================= */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  height: 100%;
  box-shadow: var(--shadow-xs);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* =========================
   Gallery Section
   ========================= */
/* .gallery-section {
  background: var(--bg-secondary);
}

.gallery-slider {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .gallery-slide img {
    height: 500px;
  }
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.gallery-caption h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.gallery-nav:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
  left: 16px;
}

.gallery-nav-next {
  right: 16px;
} */

/* Gallery slider */
.gallery-section h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

.gallery-slider {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background-color: #020617;
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  position: relative;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: auto;          /* REMOVE FIXED HEIGHT */
  max-height: 420px;     /* SAFE LIMIT */
  object-fit: contain;   /* SHOW FULL IMAGE */
  background-color: #020617;
}


.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

@media (max-width: 768px) {
  .gallery-slide img {
    height: auto;
    max-height: 260px;
  }

  .gallery-nav {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}



/* =========================
   Testimonials
   ========================= */
.quote {
  background: var(--bg-elevated);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-left-width: 4px;
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-secondary);
}

.quote blockquote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

.quote figcaption {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote figcaption strong {
  color: var(--text-primary);
  font-size: 1rem;
}

/* =========================
   CTA Section
   ========================= */
.cta {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-subtle));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-wrap: nowrap;
  }
}

.cta h2 {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 24px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
  }
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .muted {
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 10px;
  transition: all var(--transition-base);
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--accent-primary);
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

/* =========================
   Forms
   ========================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.input,
.select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

.input:hover,
.select:hover,
textarea:hover {
  border-color: var(--border-strong);
}

.input:focus,
.select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

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

.field-error {
  color: var(--error);
  font-size: 0.875rem;
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

/* =========================
   Page Hero
   ========================= */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 100px 0 80px;
  }
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   Utilities
   ========================= */
.note {
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-primary);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 24px;
  box-shadow: var(--shadow-xs);
}

.note strong {
  color: var(--accent-primary);
  font-weight: 600;
}

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

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width: 767px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat {
    padding: 16px;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
}
