/* ==========================================================================
   MS DETAILING - PREMIUM AUTOMOTIVE DETAILING STUDIO
   Design System & Styling Rules (Monochrome & Dark Luxury Theme)
   ========================================================================== */

:root {
  /* Color Palette - Monochrome & Titanium Metallic */
  --bg-primary: #07080a;
  --bg-secondary: #0e1015;
  --bg-tertiary: #14171f;
  --bg-card: rgba(18, 20, 26, 0.75);
  --bg-card-hover: rgba(28, 32, 42, 0.85);

  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-text-dark: #6b7280;
  
  --accent-white: #ffffff;
  --accent-silver: #d1d5db;
  --accent-metallic: linear-gradient(135deg, #ffffff 0%, #94a3b8 50%, #475569 100%);
  --accent-metallic-subtle: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.2);
  --border-active: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Shadows & Glows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
  --glow-white: 0 0 25px rgba(255, 255, 255, 0.12);
  --glow-strong: 0 0 40px rgba(255, 255, 255, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --container-max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: 
    radial-gradient(circle at 50% 0%, rgba(30, 35, 45, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(20, 25, 35, 0.25) 0%, transparent 50%),
    var(--bg-primary);
  min-height: 100vh;
}

/* Background Texture Pattern - Inspired by design.png diagonal lines */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
  z-index: 0;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--accent-white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 6rem 0;
}

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-silver);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-white);
  box-shadow: 0 0 8px #fff;
}

.section-title {
  font-size: 2.75rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  background: var(--accent-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-white);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-white);
  transform: translateY(-2px);
  box-shadow: var(--glow-white);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(7, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: transform var(--transition-normal);
}

.brand-logo:hover img {
  transform: scale(1.05);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--accent-white);
  line-height: 1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-white);
  transition: width var(--transition-fast);
  box-shadow: 0 0 8px #fff;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--accent-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card frame around logo inspired by design.png */
.hero-logo-box {
  background: rgba(14, 16, 21, 0.85);
  border: 1px solid var(--border-glow);
  padding: 2.5rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), var(--glow-white);
  margin: 0 auto 2.5rem auto;
  backdrop-filter: blur(20px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-slow);
}

.hero-logo-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), var(--glow-strong);
}

.hero-logo-box img {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.15));
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 70%, #6b7280 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  margin-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* Feature Grid / Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-white);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--accent-silver);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.service-features li i {
  color: var(--accent-white);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.service-features li span {
  flex: 1;
}

/* Wide Referral / Promo Card in Services Grid */
#szolgaltatasok .services-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  #szolgaltatasok .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(22, 26, 36, 0.85) 0%, rgba(12, 14, 18, 0.95) 100%);
  border: 1px solid var(--border-glow);
  position: relative;
  overflow: hidden;
}

.service-card-wide:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--glow-white), var(--shadow-lg);
}

.referral-card-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.referral-card-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.referral-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid var(--border-glow);
  box-shadow: var(--glow-white);
  flex-shrink: 0;
}

.referral-header-text {
  flex-grow: 1;
}

.referral-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-white);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.referral-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-white);
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .referral-card-header {
    flex-direction: column;
    gap: 1rem;
  }
  .referral-grid {
    grid-template-columns: 1fr;
  }
}

.referral-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.referral-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.referral-box-header i {
  font-size: 1.2rem;
  color: var(--accent-white);
}

.referral-box-header h4 {
  font-size: 1.1rem;
  color: var(--accent-white);
  margin: 0;
}

/* Portfolio / References Section */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.portfolio-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.06);
}

.portfolio-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.portfolio-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-white);
}

.portfolio-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent-silver);
}

.portfolio-photos-count {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(4, 5, 7, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  position: relative;
}

.lightbox-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-title {
  font-size: 1.25rem;
  color: var(--accent-white);
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: #ffffff;
  color: #000;
}

.lightbox-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  flex-grow: 1;
  min-height: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .lightbox-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.lightbox-viewer {
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 1rem;
  user-select: none;
  touch-action: pan-y;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 550px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  transition: opacity 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: #000;
}

.lightbox-nav-prev { left: 1rem; }
.lightbox-nav-next { right: 1rem; }

.lightbox-sidebar {
  padding: 2rem;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.lightbox-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lightbox-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.lightbox-thumb.active, .lightbox-thumb:hover {
  border-color: var(--accent-white);
  opacity: 1;
  box-shadow: var(--glow-white);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price List Section */
.pricing-banner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent-silver);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 2rem;
}

.pricing-card.featured {
  border-color: var(--border-glow);
  box-shadow: var(--glow-white);
  background: rgba(24, 28, 38, 0.85);
}

.pricing-popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 2;
  white-space: nowrap;
}

.pricing-card.featured .pricing-popular-badge {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

.pricing-card:not(.featured) .pricing-popular-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-white);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(8px);
}

.pricing-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.pricing-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  padding-right: 7.5rem;
  display: block;
}

.pricing-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-white);
  line-height: 1;
}

.pricing-unit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-placeholder-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-silver);
  font-family: var(--font-mono);
}

.pricing-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features li {
  font-size: 0.925rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features li i {
  color: var(--accent-white);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* Pricing Extra / Extreme Dirt Disclaimer */
.pricing-extra-info {
  margin-top: 3rem;
  background: rgba(18, 20, 26, 0.7);
  border: 1px solid var(--border-glow);
  padding: 2rem 2.5rem;
}

.pricing-extra-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-extra-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-white);
  flex-shrink: 0;
}

.pricing-extra-title {
  font-size: 1.25rem;
  color: var(--accent-white);
  margin-bottom: 0.25rem;
}

.pricing-extra-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-extra-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

.pricing-extra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.extra-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-silver);
  font-size: 0.85rem;
  font-weight: 500;
}

.extra-tag i {
  color: var(--accent-white);
  font-size: 0.85rem;
}

.pricing-extra-note {
  font-size: 0.9rem !important;
  color: var(--color-text-muted) !important;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 1rem;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .pricing-extra-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .pricing-extra-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-white);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-info-text a:hover {
  color: var(--accent-white);
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  background: rgba(15, 18, 24, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Form Alert / Toast */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.9rem;
}

.form-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-alert.warning {
  display: block;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
}

/* ================= SYSTEM STATUS / UNMISTAKABLE NOTICE BANNER ================= */
.system-status-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 2px solid rgba(239, 68, 68, 0.55);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2), inset 0 0 20px rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: pulseBorder 3s infinite alternate;
}

@keyframes pulseBorder {
  0% {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
  }
  100% {
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.4), 0 0 20px rgba(239, 68, 68, 0.35);
  }
}

.system-status-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #ef4444 0%, #f59e0b 100%);
}

.status-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ef4444;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

.status-banner-content {
  flex-grow: 1;
}

.status-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px #ef4444; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.status-banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.status-banner-text {
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.status-banner-text strong {
  color: #ffffff;
}

.status-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(239, 68, 68, 0.6);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.status-contact-link:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.3);
  text-decoration-color: #ffffff;
}

/* Form warning badge & disabled-style submit button */
.form-glass-card {
  position: relative;
  border-color: rgba(239, 68, 68, 0.35) !important;
}

.form-warning-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fca5a5;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-warning-badge i {
  font-size: 1.1rem;
  color: #ef4444;
  flex-shrink: 0;
}

.btn-warning-disabled {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-warning-disabled:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
}

.nav-link-warning-tag {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  vertical-align: middle;
}

/* ================= SITE PASSWORD GATE (DISABLED) ================= */
body.site-locked {
  overflow: visible !important;
  height: auto !important;
}

body.site-locked #site-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  filter: none !important;
  user-select: auto !important;
}

#site-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.site-gate-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-gate-overlay.unlocked {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-gate-card {
  background: linear-gradient(145deg, rgba(20, 24, 33, 0.96) 0%, rgba(10, 12, 16, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2.75rem 2.25rem 2.25rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.2) 100%);
}

.site-gate-logo-box {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-gate-logo {
  height: 52px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.15));
}

.site-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.site-gate-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.site-gate-desc {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.site-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-gate-input-group {
  position: relative;
  width: 100%;
}

.site-gate-input-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 1rem;
  pointer-events: none;
}

.site-gate-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem 0.9rem 2.85rem;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  outline: none;
}

.site-gate-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.site-gate-btn {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-gate-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 600;
  align-items: center;
  gap: 0.5rem;
  animation: shakeGate 0.4s ease-in-out;
}

.site-gate-card.shake {
  animation: shakeGate 0.4s ease-in-out;
}

@keyframes shakeGate {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.site-gate-footer {
  margin-top: 1.75rem;
  font-size: 0.75rem;
  color: #4b5563;
}

/* ================= DEMO MODAL STYLES ================= */
.demo-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.demo-modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.demo-modal-card {
  background: linear-gradient(145deg, rgba(20, 24, 32, 0.95) 0%, rgba(12, 14, 18, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.18);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.demo-modal-backdrop.active .demo-modal-card {
  transform: translateY(0) scale(1);
}

.demo-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
}

.demo-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--accent-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.demo-modal-close:hover {
  background: #ffffff;
  color: #000000;
  transform: rotate(90deg);
}

.demo-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

.demo-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #f59e0b;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.demo-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-dot.amber {
  background-color: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

.demo-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
  text-align: center;
}

.demo-modal-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: center;
}

.demo-info-box {
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.demo-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.5;
}

.demo-info-item i {
  color: #f59e0b;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.demo-modal-footer-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.demo-modal-footer-note a {
  color: #ffffff;
  text-decoration: underline;
}

.demo-modal-actions {
  display: flex;
  justify-content: center;
}

.demo-modal-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.demo-modal-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .system-status-banner {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
  }

  .demo-modal-card {
    padding: 1.75rem 1.25rem 1.5rem 1.25rem;
  }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand img {
  height: 54px;
  width: auto;
  align-self: flex-start;
}

.footer-column-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-white);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-dark);
}

/* Mobile Responsive & Responsiveness Improvements */
@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 3rem 2rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-glow);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  }

  .nav-links.active {
    right: 0;
  }

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

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-logo img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1rem;
    white-space: nowrap;
  }

  .brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-logo-box {
    padding: 1.5rem 2rem;
    margin: 0 auto 2rem auto;
    max-width: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-box:hover {
    transform: none;
  }

  .hero-logo-box img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: 2.2rem;
    line-height: 1.15;
    word-break: break-word;
    margin-bottom: 1rem;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 3rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .stat-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .pricing-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .pricing-banner .btn {
    width: 100%;
  }

  .lightbox-modal {
    padding: 0.5rem;
  }

  .lightbox-container {
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: var(--radius-md);
  }

  .lightbox-header {
    padding: 0.75rem 1rem;
  }

  .lightbox-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
  }

  .lightbox-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  .lightbox-viewer {
    min-height: 200px;
    height: 38vh;
    max-height: 340px;
    padding: 0.5rem;
    flex-shrink: 0;
  }

  .lightbox-main-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .lightbox-nav-prev { left: 0.5rem; }
  .lightbox-nav-next { right: 0.5rem; }

  .lightbox-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding: 1rem;
    overflow-y: visible;
  }

  .lightbox-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
  }

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

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .glass-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-logo-box {
    padding: 1.25rem 1.5rem;
    max-width: 240px;
    margin: 0 auto 1.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-box:hover {
    transform: none;
  }

  .hero-logo-box img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .brand-logo {
    gap: 0.4rem;
  }

  .brand-logo img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .brand-tagline {
    display: none;
  }

  .nav-actions .btn-sm .btn-text {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 0.5rem 0.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

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

  .pricing-popular-badge {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.65rem;
  }

  .portfolio-overlay {
    pointer-events: none;
  }
}

/* Animation utilities */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* ================= JOGI OLDALAK STÍLUSAI (IMPRESSZUM, ÁSZF, ADATKEZELÉS) ================= */
.legal-header-nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.legal-back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-3px);
  color: #ffffff;
}

.legal-hero {
  padding: 4.5rem 0 2.5rem 0;
  text-align: center;
  position: relative;
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.legal-breadcrumb a {
  color: var(--accent-silver);
  transition: color var(--transition-fast);
}

.legal-breadcrumb a:hover {
  color: var(--accent-white);
}

.legal-title {
  font-size: 2.75rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  background: var(--accent-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent-silver);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.legal-card h2 {
  font-size: 1.45rem;
  color: var(--accent-white);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.15rem;
  color: var(--accent-silver);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-card p {
  font-size: 0.975rem;
  color: var(--color-text-main);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-card ul, .legal-card ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-card li {
  font-size: 0.975rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

.legal-card strong {
  color: var(--accent-white);
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}

.legal-table th,
.legal-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-white);
  font-weight: 700;
  width: 35%;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.legal-table td {
  color: var(--color-text-main);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-notice-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--accent-white);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal-notice-box p {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.legal-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.legal-links-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Checkbox az űrlaphoz */
.form-checkbox-group {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.5;
  user-select: none;
}

.form-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
  transition: all var(--transition-fast);
}

.form-checkbox-label input[type="checkbox"]:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.form-checkbox-label input[type="checkbox"]:checked {
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.form-checkbox-label input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #000000;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-checkbox-label a {
  color: var(--accent-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.form-checkbox-label a:hover {
  color: var(--accent-silver);
}

/* Footer jogi linkek */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--accent-white);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.25rem;
  }
  .legal-title {
    font-size: 2rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
  .legal-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-legal-links {
    justify-content: center;
    gap: 1rem;
  }
}
