/* ============================================
   WG LIZ — Wählergemeinschaft Leben im Zentrum
   Modern Political Party Website
   ============================================ */

/* === FONTS === */
@font-face {
  font-family: 'Gambarino';
  src: url('fonts/gambarino/Gambarino-Regular.woff2') format('woff2'),
    url('fonts/gambarino/Gambarino-Regular.woff') format('woff'),
    url('fonts/gambarino/Gambarino-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* === DESIGN TOKENS === */
:root {
  --primary: #FF6600;
  --primary-dark: #E55A00;
  --primary-light: #FF8533;
  --primary-glow: rgba(255, 102, 0, 0.15);
  --primary-subtle: rgba(255, 102, 0, 0.08);

  --accent: #FF1493;
  --accent-light: rgba(255, 20, 147, 0.1);

  --text-primary: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #7A7A8A;
  --text-light: #F8F9FA;

  --bg-white: #FFFFFF;
  --bg-warm: #FFFAF5;
  --bg-surface: #FFF5EB;
  --bg-dark: #1A1A2E;
  --bg-dark-surface: #24243A;

  --border: #EDE5DC;
  --border-light: #F5F0EB;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-orange: 0 8px 30px rgba(255, 102, 0, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-display: 'Gambarino', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.2;
}

/* === UTILITY === */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  background: var(--primary-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-label svg {
  width: 1rem;
  height: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-light);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 101;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-light);
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-brand-text {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  background: var(--primary) !important;
  color: var(--text-light) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(255, 102, 0, 0.3) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 26, 46, 0.5) 0%,
      rgba(26, 26, 46, 0.3) 40%,
      rgba(255, 102, 0, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 102, 0, 0.2);
  border: 1px solid rgba(255, 102, 0, 0.4);
  color: #FFC299;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 102, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 1.2rem;
  height: 1.2rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* === ABOUT SECTION === */
.about-section {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(255, 102, 0, 0.15));
  pointer-events: none;
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

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

/* === CANDIDATES === */
.candidates-section {
  background: var(--bg-warm);
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.candidate-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.candidate-image {
  width: 40%;
  object-fit: cover;
  object-position: top;
  background: var(--bg-surface);
}

.candidate-info {
  width: 60%;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.candidate-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.candidate-role {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.candidate-details {
  text-align: left;
  background: transparent;
  padding: 0;
  border: none;
  border-top: 1px dashed var(--border-light);
  padding-top: 24px;
  margin-top: auto;
}

.detail-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 12px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0;
}

.detail-value {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

/* Election poster feature */
.poster-feature {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.poster-image {
  width: 320px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.poster-image img {
  width: 100%;
  height: auto;
}

.poster-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.poster-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.poster-slogan {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.poster-slogan:last-of-type {
  border-bottom: none;
}

.poster-slogan svg {
  color: var(--primary);
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.poster-slogan span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* === ACHIEVEMENTS & GOALS === */
.achievements-section {
  background: var(--bg-white);
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.achievements-column h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.achievements-column h3 svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--primary);
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.achievement-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.achievement-icon.achieved {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.achievement-icon.goal {
  background: var(--primary-glow);
  color: var(--primary);
}

.achievement-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === DOCUMENTS === */
.documents-section {
  background: var(--bg-warm);
}

.documents-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.doc-tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.doc-tab:hover,
.doc-tab.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-orange);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.doc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.doc-meta {
  flex: 1;
  min-width: 0;
}

.doc-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-info {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.doc-download-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.doc-card:hover .doc-download-icon {
  color: var(--primary);
}

/* === TRAFFIC / VERKEHR === */
.traffic-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.traffic-section .section-label {
  background: rgba(255, 102, 0, 0.2);
  color: var(--primary-light);
}

.traffic-section .section-title {
  color: var(--text-light);
}

.traffic-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.traffic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.traffic-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.traffic-image-card:hover {
  transform: scale(1.02);
}

.traffic-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-card-info {
  padding: 16px 20px;
}

.video-card-info h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.video-card-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.traffic-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === PRESS SECTION === */
.press-section {
  background: var(--bg-white);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.press-card {
  padding: 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.press-date {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.press-card h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.press-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.press-more {
  text-align: center;
}

/* === CONTACT SECTION === */
.contact-section {
  background: var(--bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-light);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */

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

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

  .poster-feature {
    flex-direction: column;
  }

  .poster-image {
    width: 100%;
    max-width: 360px;
  }

  .traffic-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-primary) !important;
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span {
    background: var(--text-primary) !important;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .candidates-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .candidate-card {
    flex-direction: column;
  }

  .candidate-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-position: center;
  }

  .candidate-info {
    width: 100%;
    padding: 24px;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .traffic-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

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

  .traffic-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-badge {
    font-size: 0.72rem;
  }

  .poster-feature {
    padding: 20px;
  }
}