/* ==========================================================================
   INSTALACJE TECHNICZNE DLA TWOJEGO BUDYNKU - DESIGN SYSTEM & STYLESHEET
   Architectural Deep Graphite & Vivid Electric Amber-Gold (Logo Theme)
   ========================================================================== */

:root {
  /* Carbon Graphite & Anthracite Slate (Inspired by House Silhouette in Logo) */
  --bg-primary: #121316;
  --bg-secondary: #17181e;
  --bg-surface: #1d1f25;
  --bg-card: rgba(26, 28, 34, 0.88);
  --bg-card-hover: rgba(34, 37, 45, 0.96);
  --bg-glass: rgba(18, 19, 23, 0.88);
  --bg-input: #15161b;

  /* Vivid Electric Amber-Gold & Energy Accents (Inspired by Lightning Bolt) */
  --accent-yellow: #f59e0b;
  --accent-yellow-hover: #d97706;
  --accent-yellow-light: #fbbf24;
  --accent-yellow-glow: rgba(245, 158, 11, 0.35);
  --accent-yellow-glow-intense: rgba(245, 158, 11, 0.6);
  --accent-yellow-subtle: rgba(245, 158, 11, 0.12);
  --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #e67e22 100%);
  --accent-gradient-hover: linear-gradient(135deg, #fde047 0%, #fbbf24 55%, #f59e0b 100%);

  /* Architectural Graphite & Neutral Slate */
  --color-graphite: #3c3e45;
  --color-graphite-light: #52555e;
  --color-graphite-dark: #23252c;
  --text-white: #ffffff;
  --text-primary: #f1f3f7;
  --text-secondary: #9da1ad;
  --text-muted: #6b7080;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-graphite: rgba(76, 78, 87, 0.45);
  --border-accent: rgba(245, 158, 11, 0.38);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Functional Colors */
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px var(--accent-yellow-glow);
  --shadow-glow-intense: 0 0 35px var(--accent-yellow-glow-intense);

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --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-smooth: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 82% 55%, rgba(60, 62, 69, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, #121316 0%, #16171d 50%, #101114 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.highlight-yellow {
  color: var(--accent-yellow);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--accent-yellow-glow));
}

.badge-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(28, 30, 36, 0.9);
  color: var(--accent-yellow);
  border: 1px solid var(--border-accent);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(245, 158, 11, 0.06);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.4rem;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-size: 0.95rem;
  user-select: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #121316;
  font-weight: 800;
  box-shadow: 0 4px 18px var(--accent-yellow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px var(--accent-yellow-glow-intense);
  background: var(--accent-gradient-hover);
  color: #0d0e11;
}

.btn-secondary {
  background: rgba(36, 38, 46, 0.75);
  color: var(--text-white);
  border: 1px solid var(--border-graphite);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(46, 49, 58, 0.95);
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-yellow {
  background: rgba(245, 158, 11, 0.06);
  color: var(--accent-yellow);
  border: 1.5px solid var(--accent-yellow);
}

.btn-outline-yellow:hover {
  background: var(--accent-yellow);
  color: #121316;
  box-shadow: 0 0 22px var(--accent-yellow-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   TOP BAR (Quick Contact & Instagram Header)
   ========================================================================== */
.top-bar {
  background: #0d0e12;
  border-bottom: 1px solid rgba(60, 62, 69, 0.35);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  color: var(--text-secondary);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--accent-yellow);
}

.top-bar-item svg {
  color: var(--accent-yellow);
}

.top-bar-hours-link {
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed rgba(245, 158, 11, 0.4);
  padding-bottom: 1px;
}

.top-bar-hours-link:hover {
  border-bottom-color: var(--accent-yellow);
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.instagram-badge:hover {
  opacity: 0.92;
  transform: scale(1.04);
}

/* ==========================================================================
   NAVIGATION (Header, Sticky Nav, Mega-Dropdown)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(60, 62, 69, 0.35);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  background: rgba(15, 16, 20, 0.97);
  border-bottom-color: rgba(60, 62, 69, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.25rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1.5px solid var(--border-accent);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px var(--accent-yellow-glow);
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: rotate(-3deg) scale(1.05);
}

/* Dedicated styling for Main Header Brand Logo: full height of the bar, transparent, fits cleanly */
.main-header .brand-logo {
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-header .brand-logo #siteHeaderLogo {
  width: auto;
  height: 68px;
  max-height: calc(100% - 10px);
  max-width: 250px;
  border: none;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.main-header .brand-logo:hover #siteHeaderLogo {
  transform: scale(1.03);
}

/* Logo in light theme: 100% original crisp colors, NO filter alterations */
body.light-theme .main-header .brand-logo #siteHeaderLogo,
body.light-theme .brand-logo img,
#siteHeaderLogo.fallback-light-filter {
  filter: none !important;
  -webkit-filter: none !important;
  background: transparent !important;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent-yellow);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav Links - prevent text wrapping, balanced fluid spacing */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.75rem, 1.4vw, 1.75rem);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-yellow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Services Dropdown (Mega Menu) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown:focus-within .dropdown-arrow,
.nav-item-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.services-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-35%) translateY(12px);
  width: 820px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #14151b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  transition-delay: 0.08s;
  z-index: 2500 !important;
  white-space: normal;
  box-sizing: border-box;
}

/* Invisible bridge so mouse hover doesn't drop between nav item and dropdown */
.services-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

/* Sleek scrollbar for mega dropdown */
.services-mega-dropdown::-webkit-scrollbar {
  width: 6px;
}
.services-mega-dropdown::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.services-mega-dropdown::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 4px;
}
.services-mega-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

.nav-item-dropdown:hover .services-mega-dropdown,
.nav-item-dropdown:focus-within .services-mega-dropdown,
.nav-item-dropdown.active .services-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-35%) translateY(0);
  transition-delay: 0s;
}

.mega-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 0.95rem;
  white-space: normal;
}

.mega-dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-dropdown-contact-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mega-dropdown-contact-hint strong {
  color: var(--accent-yellow);
}

.services-grid-dropdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.85rem;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

.dropdown-service-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  background: rgba(28, 30, 36, 0.75);
  border: 1px solid rgba(60, 62, 69, 0.4);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  white-space: normal;
}

.dropdown-service-card:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--border-accent);
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.dropdown-service-card img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-service-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.dropdown-service-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 0.18rem 0;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.dropdown-service-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
}

.admin-trigger-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-trigger-btn:hover {
  background: var(--accent-yellow-subtle);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 400px;
  background: #0f172a;
  border-left: 1px solid var(--border-light);
  z-index: 2001;
  padding: 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-services-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 2px solid var(--border-accent);
}

.mobile-services-sublist a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-services-sublist a:hover {
  color: var(--accent-yellow);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.38) contrast(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 75%, rgba(60, 62, 69, 0.25) 0%, transparent 50%),
              linear-gradient(180deg, rgba(18, 19, 22, 0.76) 0%, rgba(18, 19, 22, 0.96) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-title {
  font-size: 3.5rem;
  margin: 1.25rem 0 1.5rem 0;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 680px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-graphite);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-item svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--accent-yellow-glow));
  transition: transform var(--transition-fast, 0.2s ease), filter var(--transition-fast, 0.2s ease);
}

a.trust-item,
.trust-item-clickable {
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
}

a.trust-item:hover,
.trust-item-clickable:hover {
  color: var(--text-primary);
}

a.trust-item:hover span,
.trust-item-clickable:hover span {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-yellow);
  text-underline-offset: 3px;
}

a.trust-item:hover svg,
.trust-item-clickable:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--accent-yellow-glow-intense));
}

/* ==========================================================================
   AUTO-SLIDING OFFERS / REALISATIONS CAROUSEL
   User Requirement: "przesuwać same mają się oferty (zdjęcia z danego rodzaju
   usługi) dodatkowo możliwość kliknięcia w zdjęcie żeby wejść w konkretną usługę"
   ========================================================================== */
.offers-slider-section {
  padding: 6rem 0;
  background: #15161c;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-graphite);
  border-bottom: 1px solid var(--border-graphite);
}

.slider-wrapper {
  position: relative;
  padding: 1rem 0;
}

.slider-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
}

.slider-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Individual Slide Card */
.slide-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  min-width: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
}

.slide-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-yellow-glow);
}

.slide-card-image,
.slide-image-box {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #1e2027;
}

.slide-card-image img,
.slide-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.slide-card:hover .slide-card-image img,
.slide-card:hover .slide-image-box img {
  transform: scale(1.08);
}

.slide-badge,
.slide-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 19, 24, 0.9);
  backdrop-filter: blur(8px);
  color: var(--accent-yellow);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slide-click-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: var(--accent-gradient);
  color: #121316;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  box-shadow: 0 2px 8px var(--accent-yellow-glow);
}

.slide-card:hover .slide-click-hint {
  opacity: 1;
  transform: translateY(0);
}

.slide-card-info,
.slide-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.slide-card-info h4,
.slide-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  line-height: 1.35;
}

.slide-card-info p,
.slide-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}

.slide-action-row,
.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(60, 62, 69, 0.35);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.slide-link {
  color: var(--accent-yellow);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform var(--transition-fast);
}

.slide-card:hover .slide-link,
.slide-card:hover .slide-footer svg {
  transform: translateX(5px);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.25rem;
}

.slider-progress-bar-container {
  flex: 1;
  max-width: 380px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-yellow);
  transition: width 0.1s linear;
}

.slider-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 32, 38, 0.85);
  border: 1px solid var(--border-graphite);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  border-color: var(--accent-yellow);
  transform: scale(1.08);
  box-shadow: 0 0 18px var(--accent-yellow-glow);
}

.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Admin Quick Add Button inside Slider header */
.slider-header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   SERVICES SECTION (Specialized Subcategories Detailed)
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  position: relative;
}

/* Category Navigation Tabs Selector */
.category-tabs-container {
  margin-bottom: 2.75rem;
}

.category-tabs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: rgba(28, 30, 36, 0.7);
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-tab-btn svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.category-tab-btn:hover {
  background: rgba(44, 47, 56, 0.9);
  color: var(--text-white);
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.category-tab-btn:hover svg {
  transform: scale(1.15);
}

.category-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  box-shadow: 0 0 20px var(--accent-yellow-glow);
}

.category-tab-btn.active svg {
  filter: drop-shadow(0 0 6px var(--accent-yellow));
}

.tab-count-badge {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-yellow);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.category-tab-btn.active .tab-count-badge {
  background: var(--accent-yellow);
  color: #121316;
}

/* Master Category Showcase Card */
.category-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.6);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all var(--transition-normal);
}

.category-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-yellow) 50%, transparent 100%);
}

/* Left Column: Content & Details */
.showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.showcase-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-yellow);
  margin-bottom: 0.65rem;
}

.showcase-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.showcase-subtitle {
  font-size: 1.05rem;
  color: var(--accent-yellow-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.showcase-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.showcase-features-list li {
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.45;
}

.showcase-features-list li svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
  margin-top: 3px;
}

.showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.showcase-contact-direct {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.showcase-contact-direct strong {
  color: var(--accent-yellow);
  font-size: 1.05rem;
}

/* Right Column: Visual Area (Single Photo OR Dynamic Carousel) */
.showcase-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1 Photo Case: Sleek Hero Display */
.single-photo-box {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-graphite);
  background: #14151a;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  box-sizing: border-box;
}

.single-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-smooth);
}

.single-photo-box:hover img {
  transform: scale(1.05);
}

.photo-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 19, 24, 0.9);
  backdrop-filter: blur(8px);
  color: var(--accent-yellow);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.photo-zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 19, 24, 0.88);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
}

.photo-zoom-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  transform: scale(1.1);
}

.single-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 17, 22, 0.96) 0%, rgba(16, 17, 22, 0.7) 60%, transparent 100%);
  padding: 2rem 1.25rem 1.25rem;
  z-index: 2;
}

.single-photo-caption h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.single-photo-caption p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 2+ Photos Case: High-End Category Carousel */
.category-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-graphite);
  background: #14151a;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  box-sizing: border-box;
}

.carousel-slides-track,
.carousel-slides-container {
  display: flex !important;
  width: 100%;
  height: 100%;
  min-width: 0;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide-item {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}

.carousel-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Carousel Overlay Navigation Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 19, 24, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.carousel-nav-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px var(--accent-yellow-glow);
}

.carousel-nav-btn.prev {
  left: 0.85rem;
}

.carousel-nav-btn.next {
  right: 0.85rem;
}

/* Carousel Counter & Zoom */
.carousel-counter-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 19, 24, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent-yellow);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 10;
}

.carousel-zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 19, 24, 0.88);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.carousel-zoom-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  transform: scale(1.1);
}

/* Slide Caption */
.carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 17, 22, 0.97) 0%, rgba(16, 17, 22, 0.7) 60%, transparent 100%);
  padding: 2rem 1.25rem 0.9rem;
  z-index: 8;
  pointer-events: none;
}

.carousel-slide-caption h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.carousel-slide-caption p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Dots Indicator */
.carousel-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
}

/* Thumbnails Strip */
.carousel-thumbnails-strip {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-accent) transparent;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

.carousel-thumb-item {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  flex: 0 0 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: all var(--transition-fast);
  background: #171920;
  box-sizing: border-box;
}

.carousel-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-thumb-item:hover {
  opacity: 0.9;
  border-color: rgba(245, 158, 11, 0.5);
}

.carousel-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 12px var(--accent-yellow-glow);
  transform: scale(1.04);
}

/* ==========================================================================
   PHOTO LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px var(--accent-yellow-glow);
  animation: toastIn 0.25s ease-out;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.85);
  border: 1px solid var(--border-graphite);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
}

.lightbox-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox-nav-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px var(--accent-yellow-glow);
}

.lightbox-nav-btn.prev {
  left: 1.25rem;
}

.lightbox-nav-btn.next {
  right: 1.25rem;
}

.lightbox-image-box {
  width: 100%;
  max-height: 65vh;
  background: #111216;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.lightbox-image-box img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.5rem 1.75rem;
  background: #181921;
  border-top: 1px solid var(--border-graphite);
}

.lightbox-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.lightbox-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-yellow);
}

.lightbox-counter-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-accent);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.lightbox-info h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.lightbox-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   DISCREET ADMIN ACCESS & FULL CONTROL CENTER (CMS)
   User Requirement: "Centrum zarządzania całą stronę dostępne po wpisaniu kodu,
   niewidoczne dla zwykłego użytkownika dopóki nie kliknie w ikonę i nie wpisze 6-cyfrowego kodu"
   ========================================================================== */

/* Discreet secret trigger in footer */
.secret-admin-trigger {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.25);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.35;
  margin-left: auto;
}

.secret-admin-trigger:hover,
.secret-admin-trigger:focus-visible {
  opacity: 1;
  color: var(--accent-yellow);
  border-color: var(--border-accent);
  background: rgba(245, 158, 11, 0.12);
  transform: scale(1.08);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
}

/* 1. Modal Ekranu PIN (Wprowadzenie 6 cyfr) */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-pin-dialog {
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-yellow-glow);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.admin-modal-overlay.active .admin-pin-dialog {
  transform: scale(1);
}

.admin-pin-dialog .modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.admin-pin-dialog .modal-close-btn:hover {
  color: var(--text-white);
}

.admin-pin-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.admin-pin-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 15px var(--accent-yellow-glow);
}

.admin-pin-header h3 {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.45rem;
}

.admin-pin-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pin-input-group {
  margin-bottom: 1rem;
}

.pin-input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.pin-digits-wrapper {
  display: flex;
  justify-content: center;
}

.pin-input-field {
  width: 100%;
  max-width: 260px;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.75rem;
  padding: 0.65rem 1rem;
  background: #111216;
  border: 2px solid var(--border-graphite);
  border-radius: var(--radius-md);
  color: var(--accent-yellow);
  font-family: monospace, monospace;
  transition: all var(--transition-fast);
}

.pin-input-field:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 20px var(--accent-yellow-glow);
  background: #15161c;
}

.pin-helper-text {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.65rem;
}

.admin-pin-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.75rem;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* 2. Główne Centrum Zarządzania Stroną (Dashboard Modal) */
.admin-dashboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 6000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.admin-dashboard-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-dashboard-container {
  background: #14151a;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  max-height: 920px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--accent-yellow-glow);
  overflow: hidden;
  position: relative;
  transform: scale(0.97);
  transition: transform var(--transition-normal);
}

.admin-dashboard-overlay.active .admin-dashboard-container {
  transform: scale(1);
}

/* Dashboard Header */
.admin-dashboard-header {
  padding: 1.15rem 1.75rem;
  background: #181921;
  border-bottom: 1px solid var(--border-graphite);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-shrink: 0;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-header-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.dashboard-header-logo svg {
  color: var(--accent-yellow);
}

.dashboard-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-success);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Dashboard Tabs Navigation Bar */
.admin-tabs-nav {
  display: flex;
  background: #16181f;
  border-bottom: 1px solid var(--border-graphite);
  overflow-x: auto;
  flex-shrink: 0;
  padding: 0 1rem;
  gap: 0.5rem;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.35rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.admin-tab-btn svg {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.admin-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.admin-tab-btn.active {
  color: var(--accent-yellow);
  border-bottom-color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.06);
}

.admin-tab-btn.active svg {
  color: var(--accent-yellow);
}

/* Dashboard Body & Panes */
.admin-dashboard-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.75rem;
  background: #111216;
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Pane Grid */
.admin-pane-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.75rem;
}

.admin-card-box {
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.admin-box-title {
  font-size: 1.15rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.admin-box-title svg {
  color: var(--accent-yellow);
}

.admin-box-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

/* Upload Dropzone & Controls */
.upload-dropzone {
  border: 2px dashed var(--border-accent);
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.04);
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1.25rem;
  position: relative;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  background: rgba(245, 158, 11, 0.09);
  border-color: var(--accent-yellow);
}

.upload-dropzone svg {
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.upload-dropzone p {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.upload-dropzone span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.upload-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-preview-container {
  display: none;
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 200px;
  border: 1px solid var(--border-graphite);
}

.upload-preview-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.remove-preview-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1px solid var(--border-graphite);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
}

/* Admin Photos Grid & Filter */
.admin-photos-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-filter-wrapper select,
.category-edit-fields-card select,
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
}

.admin-photos-grid-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.admin-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 135px;
  background: #1d1f27;
  border: 1px solid var(--border-graphite);
  transition: transform var(--transition-fast);
}

.admin-photo-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.admin-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-card-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(18, 19, 24, 0.9);
  backdrop-filter: blur(4px);
  color: var(--accent-yellow);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-photo-card-delete {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: transform var(--transition-fast);
}

.admin-photo-card-delete:hover {
  transform: scale(1.18);
  background: #dc2626;
}

.admin-photo-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 17, 22, 0.96) 0%, transparent 100%);
  color: var(--text-primary);
  font-size: 0.72rem;
  padding: 1.25rem 0.5rem 0.35rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tab 2: Content Sections */
.admin-section-block {
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.admin-block-header {
  font-size: 1.15rem;
  color: var(--text-white);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-graphite);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-edit-fields-card {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.admin-sticky-save-bar {
  position: sticky;
  bottom: -1.75rem;
  margin: 1.5rem -1.75rem -1.75rem -1.75rem;
  padding: 1.15rem 1.75rem;
  background: rgba(24, 25, 33, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-accent);
  display: flex;
  justify-content: flex-end;
  z-index: 20;
}

/* Tab 3: Branding (Logo & Favicon) */
.branding-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.branding-editor-card {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.branding-editor-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.branding-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.branding-card-header h5 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.branding-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.branding-preview-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.branding-preview-box {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-accent);
  background: #17181f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.branding-preview-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Browser tab simulation for favicon preview */
.browser-tab-simulation {
  width: 100%;
  max-width: 190px;
}

.tab-sim-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1e2029;
  border: 1px solid #3c3e45;
  border-radius: 8px 8px 0 0;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.tab-sim-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  object-fit: contain;
  border-radius: 3px;
}

.tab-sim-title {
  font-size: 0.75rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.tab-sim-close {
  font-size: 0.85rem;
  color: #64748b;
  cursor: default;
}

.branding-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.branding-preview-meta small {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.branding-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.branding-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

/* Tab 3: Backgrounds & Media */
.bg-editor-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.bg-preview-box {
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
}

.bg-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories-default-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.cat-default-photo-card {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cat-default-photo-card h5 {
  font-size: 0.95rem;
  color: var(--text-white);
}

.cat-default-img-wrap {
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.cat-default-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tab: Reviews Synchronization & Management */
.reviews-sync-card {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reviews-sync-status-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-graphite);
}

.sync-status-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sync-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sync-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.sync-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-yellow);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.sync-link-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.reviews-sync-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sync-result-box {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sync-result-box.error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.add-review-form {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.admin-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-review-item {
  background: #111216;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition-fast);
}

.admin-review-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.admin-review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.admin-review-item-author {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-review-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-review-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.admin-review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.admin-review-delete-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s, color 0.2s;
}

.admin-review-delete-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Responsive adjustments for dashboard */
@media (max-width: 900px) {
  .admin-pane-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .bg-editor-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-dashboard-container {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .admin-dashboard-body {
    padding: 1rem;
  }
  .admin-tab-btn {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }
  .admin-sticky-save-bar {
    margin: 1rem -1rem -1rem -1rem;
    padding: 0.85rem 1rem;
  }
  .admin-sticky-save-bar .btn {
    width: 100%;
  }
}


/* ==========================================================================
   GOOGLE REVIEWS SECTION
   User Requirement: "Na dole strony znajdują się opinie z googla oraz kontakt"
   ========================================================================== */
.reviews-section {
  padding: 6.5rem 0;
  background: #14151a;
  border-top: 1px solid var(--border-graphite);
}

.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #191b22;
  border: 1px solid var(--border-graphite);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 0 auto 3rem auto;
  box-shadow: var(--shadow-sm);
}

.google-logo-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.stars-score {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-yellow);
}

.score-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.score-text strong {
  color: var(--text-white);
}

/* Reviews Carousel Controls Bar & Sorting Pills */
.reviews-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background: rgba(24, 26, 33, 0.7);
  border: 1px solid var(--border-graphite);
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.reviews-sort-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.reviews-sort-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.reviews-sort-label svg {
  color: var(--accent-yellow);
}

.reviews-sort-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-sort-pills::-webkit-scrollbar {
  display: none;
}

.review-sort-pill {
  background: rgba(36, 38, 48, 0.8);
  border: 1px solid var(--border-graphite);
  color: var(--text-secondary);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.review-sort-pill:hover {
  background: rgba(50, 54, 68, 0.95);
  color: var(--text-white);
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.review-sort-pill.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  box-shadow: 0 0 14px var(--accent-yellow-glow);
}

.reviews-nav-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}

.reviews-counter-info {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow);
  white-space: nowrap;
}

.reviews-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 32, 40, 0.9);
  border: 1px solid var(--border-graphite);
  color: var(--accent-yellow);
  font-size: 1.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.review-carousel-btn:hover:not(:disabled) {
  background: var(--accent-yellow);
  color: #121316;
  border-color: var(--accent-yellow);
  transform: scale(1.08);
  box-shadow: 0 0 18px var(--accent-yellow-glow);
}

.review-carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Reviews Carousel Viewport & Track */
.reviews-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0.15rem 1.25rem 0.15rem;
  user-select: none;
}

.reviews-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.reviews-carousel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  box-sizing: border-box;
  display: flex;
}

.reviews-carousel-slide .review-card {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Dots Pagination */
.reviews-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.review-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-carousel-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
}

.reviews-grid {
  display: none; /* Replaced by Carousel */
}

.review-card {
  background: #181a21;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md), 0 0 25px rgba(245, 158, 11, 0.08);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #323540 0%, #1c1e24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-yellow);
  border: 1.5px solid var(--border-accent);
}

.reviewer-details h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.review-verified {
  font-size: 0.75rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--accent-yellow);
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
  flex-grow: 1;
  font-style: italic;
}

.review-service-badge {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-graphite);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INSTAGRAM SHOWCASE BANNER
   User Requirement: "gdzieś trzeba wrzucić link do insta"
   ========================================================================== */
.instagram-section {
  padding: 4.5rem 0;
  position: relative;
  background: linear-gradient(180deg, #14151a 0%, #101115 100%);
  border-top: 1px solid var(--border-graphite);
}

.instagram-card-box {
  background: radial-gradient(circle at 10% 20%, rgba(220, 39, 67, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.instagram-info-left {
  max-width: 580px;
}

.instagram-info-left h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.instagram-info-left p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
  transition: all var(--transition-fast);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 39, 67, 0.6);
  filter: brightness(1.1);
}

/* ==========================================================================
   CONTACT SECTION
   User Requirement: "oraz kontakt", "fajnie jakby w każdym z miejsc był widoczny ten kontakt"
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background: #111216;
  position: relative;
  border-top: 1px solid var(--border-graphite);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: #1e2029;
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

@keyframes contactCardPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8);
    border-color: var(--accent-yellow);
    transform: scale(1.01);
  }
  50% {
    box-shadow: 0 0 25px 8px rgba(245, 158, 11, 0.45);
    border-color: var(--accent-yellow);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.4);
    transform: scale(1);
  }
}

.contact-card.highlight-pulse {
  animation: contactCardPulseGlow 1.8s ease-out;
  border-color: var(--accent-yellow) !important;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-card-text a, .contact-card-text p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-card-text a[href^="mailto:"] {
  font-size: 1.08rem;
  word-break: break-all;
}

.contact-card-text a:hover {
  color: var(--accent-yellow);
}

.contact-card-text small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Contact Form */
.contact-form-box,
#wycena {
  background: #181921;
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  scroll-margin-top: 85px;
}

.contact-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #0d0e12;
  border-top: 1px solid var(--border-graphite);
  padding: 4.5rem 0 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin: 1.2rem 0;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  width: 100%;
  background: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.6rem 1.5rem;
  box-sizing: border-box;
}

.footer-bottom-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 980px;
  margin: 0 auto;
}

.footer-copyright-line,
.footer-meta-line {
  margin: 0;
  text-align: center;
  width: 100%;
}

.footer-divider,
.footer-dot {
  color: var(--border-accent);
  margin: 0 0.45rem;
  opacity: 0.8;
}

.footer-tel-link {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-tel-link:hover {
  text-decoration: underline;
}

.btn-text-privacy {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.btn-text-privacy:hover {
  color: var(--accent-yellow);
}

.secret-admin-trigger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.secret-admin-trigger:hover {
  color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & MOBILE BOTTOM BAR
   ========================================================================== */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(16, 17, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-accent);
  padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px)) 0.35rem;
  z-index: 1500;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.38rem 0.2rem;
  border-radius: var(--radius-sm);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-bar-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 0.68rem;
  line-height: 1.1;
}

.mobile-bar-btn svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.mobile-bar-btn:active {
  transform: scale(0.96);
}

.mobile-bar-btn.call-accent {
  color: #121316;
  background: var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 0.42rem 0.2rem;
  box-shadow: 0 0 12px var(--accent-yellow-glow);
}

.mobile-bar-btn.call-accent span {
  color: #121316;
  font-weight: 800;
}

.mobile-bar-btn.call-accent svg {
  color: #121316;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  right: 1.5rem;
  z-index: 100000 !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: #1e2028;
  border: 1px solid var(--border-graphite);
  color: var(--text-white);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  animation: toastIn 0.3s ease-out;
  max-width: 360px;
}

.toast.success {
  border-color: var(--color-success);
}

.toast.error {
  border-color: var(--color-danger);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .slide-card {
    flex: 0 0 calc(50% - 1rem);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .reviews-carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .nav-container {
    height: 70px;
  }

  .nav-actions {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    gap: 0.65rem;
  }

  .nav-actions .admin-trigger-btn,
  .nav-actions #headerCallBtn,
  .nav-actions #headerQuoteBtn,
  .nav-actions .nav-quote-btn {
    display: none !important; /* Wycena is accessible in mobile bottom bar, giving clean header */
  }

  .main-header .brand-logo #siteHeaderLogo {
    height: 54px;
    max-width: 190px;
  }

  .brand-logo img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .hero-section {
    padding: 3rem 0 4rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.1rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-badges {
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Slider Responsive Adjustments */
  .offers-slider-section {
    padding: 4.5rem 0;
  }

  .slider-controls {
    gap: 0.85rem;
  }

  .slider-progress-bar-container {
    max-width: none;
    min-width: 0;
    flex: 1;
  }

  .slide-card {
    flex: 0 0 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .slide-content {
    padding: 1.25rem 1rem;
  }

  /* Category Showcase Responsive */
  .services-section {
    padding: 4.5rem 0;
  }

  .category-tabs-grid {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--border-accent) transparent;
  }

  .category-tab-btn {
    padding: 0.6rem 0.95rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .category-showcase-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 1.15rem;
  }

  .showcase-title {
    font-size: 1.85rem;
  }

  .showcase-subtitle {
    font-size: 0.98rem;
  }

  .showcase-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .showcase-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .showcase-contact-direct {
    margin-right: 0;
    margin-bottom: 0.35rem;
    text-align: center;
  }

  .single-photo-box,
  .carousel-viewport {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  /* Google Reviews Carousel */
  .reviews-section {
    padding: 4.5rem 0;
  }

  .google-rating-summary {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    width: 100%;
    box-sizing: border-box;
    gap: 0.85rem;
  }

  .reviews-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 0.85rem;
  }

  .reviews-sort-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .reviews-sort-pills {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .reviews-sort-pills::-webkit-scrollbar {
    display: none;
  }

  .review-sort-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .reviews-nav-group {
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }

  .reviews-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .review-card {
    padding: 1.35rem 1.15rem;
  }

  /* Instagram */
  .instagram-section {
    padding: 3.5rem 0;
  }

  .instagram-card-box {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .instagram-info-left h3 {
    justify-content: center;
    font-size: 1.45rem;
  }

  .btn-instagram {
    width: 100%;
    justify-content: center;
  }

  /* Contact Section */
  .contact-section {
    padding: 4.5rem 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-card {
    padding: 1.25rem 1rem;
  }

  .contact-form-box {
    padding: 1.75rem 1.15rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1.4rem 1rem;
    text-align: center;
  }

  .footer-bottom-container {
    gap: 0.85rem;
  }

  .secret-admin-trigger {
    position: static;
    transform: none;
    margin-top: 0.35rem;
  }

  /* Floating Bar Active */
  .floating-mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.85rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .brand-text .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .main-header .brand-logo #siteHeaderLogo {
    height: 48px;
    max-width: 160px;
  }

  .brand-logo img {
    width: 36px;
    height: 36px;
  }

  .filter-tab {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
  }

  .admin-modal-overlay {
    padding: 0.75rem;
  }

  .admin-modal-box {
    padding: 1.35rem 1rem;
  }

  .category-showcase-card {
    padding: 1.25rem 0.9rem;
  }

  .showcase-title {
    font-size: 1.6rem;
  }

  .single-photo-box,
  .carousel-viewport {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
  }
}

/* ==========================================================================
   GOOGLE REVIEWS ACTIONS SPACING & CTA
   ========================================================================== */
.google-reviews-actions {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (HEADER NAV-ACTIONS)
   Thematic Electric Lightning Bolt (Błyskawica) Switcher
   ========================================================================== */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.22);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.55);
}

.theme-bolt-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color var(--transition-fast);
}

.theme-toggle-btn:hover .theme-bolt-icon {
  transform: rotate(10deg) scale(1.12);
}

/* ==========================================================================
   LIGHT MODE DESIGN SYSTEM - COMPLETE ARCHITECTURAL REFRESH
   Clean architectural porcelain, crisp slate, and vivid electric amber-gold
   ========================================================================== */
html.light-theme,
body.light-theme {
  color-scheme: light;
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-input: #ffffff;

  --accent-yellow: #d97706;
  --accent-yellow-hover: #b45309;
  --accent-yellow-light: #f59e0b;
  --accent-yellow-glow: rgba(217, 119, 6, 0.2);
  --accent-yellow-glow-intense: rgba(217, 119, 6, 0.35);
  --accent-yellow-subtle: rgba(217, 119, 6, 0.1);
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  --accent-gradient-hover: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);

  --color-graphite: #cbd5e1;
  --color-graphite-light: #e2e8f0;
  --color-graphite-dark: #f1f5f9;
  --text-white: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-graphite: #cbd5e1;
  --border-accent: rgba(217, 119, 6, 0.4);
  --border-glass: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 14px 40px rgba(15, 23, 42, 0.1);

  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(circle at 18% 12%, rgba(217, 119, 6, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 82% 55%, rgba(203, 213, 225, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(217, 119, 6, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #e2e8f0 100%) !important;
  background-attachment: fixed !important;
  color: #1e293b !important;
}

/* Light mode typography */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .section-title,
body.light-theme .brand-name {
  color: #0f172a !important;
}

body.light-theme p,
body.light-theme .section-subtitle {
  color: #475569 !important;
}

/* Light theme toggle button (sleek architectural graphite with warm amber hover) */
body.light-theme .theme-toggle-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .theme-toggle-btn:hover {
  background: #fffbeb !important;
  border-color: #d97706 !important;
  color: #d97706 !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.35) !important;
  transform: scale(1.1);
}

/* 1. Header & Top Bar */
body.light-theme .top-bar {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .top-bar-item {
  color: #475569 !important;
}
body.light-theme .top-bar-item a,
body.light-theme .top-bar-item span {
  color: #475569 !important;
}
body.light-theme .top-bar-item svg {
  color: #d97706 !important;
}
body.light-theme .main-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.06) !important;
}
body.light-theme .main-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1) !important;
}
body.light-theme .brand-tagline {
  color: #64748b !important;
}
body.light-theme .nav-link {
  color: #334155 !important;
}
body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
  color: #b45309 !important;
}
body.light-theme .nav-actions {
  border-left-color: rgba(203, 213, 225, 0.8) !important;
}
body.light-theme .nav-quote-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
body.light-theme .nav-quote-btn:hover {
  border-color: #d97706 !important;
  color: #b45309 !important;
  background: #f8fafc !important;
}
body.light-theme .hamburger-btn {
  color: #0f172a !important;
}

/* 2. Mega Dropdown */
body.light-theme .services-mega-dropdown {
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .services-mega-dropdown::-webkit-scrollbar-track {
  background: #f1f5f9;
}
body.light-theme .services-mega-dropdown::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, 0.45);
}
body.light-theme .services-mega-dropdown::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}
body.light-theme .mega-dropdown-header {
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .mega-dropdown-title {
  color: #0f172a !important;
}
body.light-theme .mega-dropdown-contact-hint {
  color: #64748b !important;
}
body.light-theme .mega-dropdown-contact-hint strong {
  color: #b45309 !important;
}
body.light-theme .dropdown-service-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body.light-theme .dropdown-service-card:hover {
  background: #f1f5f9 !important;
  border-color: #d97706 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .dropdown-service-card img {
  border-color: #e2e8f0 !important;
}
body.light-theme .dropdown-service-info h4 {
  color: #0f172a !important;
}
body.light-theme .dropdown-service-info p {
  color: #64748b !important;
}

/* 3. Hero Section */
body.light-theme .hero-section {
  background: #ffffff !important;
}
body.light-theme .hero-background img {
  filter: brightness(0.95) contrast(1.05) !important;
  opacity: 0.85 !important;
}
body.light-theme .hero-overlay {
  background: radial-gradient(circle at 65% 30%, rgba(217, 119, 6, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 75%, rgba(226, 232, 240, 0.55) 0%, transparent 50%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.92) 65%, #f8fafc 100%) !important;
}
body.light-theme .hero-title {
  color: #0f172a !important;
}
body.light-theme .hero-title span {
  color: #d97706 !important;
  text-shadow: none !important;
}
body.light-theme .hero-subtitle {
  color: #334155 !important;
}
body.light-theme .badge-yellow {
  background: rgba(217, 119, 6, 0.1) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
  color: #b45309 !important;
}
body.light-theme .hero-features-list li {
  color: #334155 !important;
}
body.light-theme .hero-features-list svg {
  color: #d97706 !important;
}

/* 4. Offers / Realizacje Slider Section */
body.light-theme .offers-slider-section {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .filter-tab {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}
body.light-theme .filter-tab:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
body.light-theme .filter-tab.active {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25) !important;
}
body.light-theme .slide-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}
body.light-theme .slide-card:hover {
  border-color: #d97706 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1) !important;
}
body.light-theme .slide-card-content {
  background: #ffffff !important;
}
body.light-theme .slide-card-title {
  color: #0f172a !important;
}
body.light-theme .slide-card-desc {
  color: #475569 !important;
}
body.light-theme .slider-nav-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .slider-nav-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}
body.light-theme .slider-dot {
  background: #cbd5e1 !important;
}
body.light-theme .slider-dot.active {
  background: #d97706 !important;
}

/* 5. Services Section & Category Showcase */
body.light-theme .services-section {
  background: #f8fafc !important;
}
body.light-theme .category-tab-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
body.light-theme .category-tab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #d97706 !important;
}
body.light-theme .category-tab-btn.active {
  background: #ffffff !important;
  color: #b45309 !important;
  border-color: #d97706 !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.16) !important;
}
body.light-theme .category-showcase-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .category-showcase-content h3 {
  color: #0f172a !important;
}
body.light-theme .category-showcase-content p {
  color: #334155 !important;
}
body.light-theme .category-showcase-features li {
  color: #334155 !important;
}
body.light-theme .category-showcase-features svg {
  color: #d97706 !important;
}
body.light-theme .category-carousel,
body.light-theme .single-photo-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .carousel-viewport {
  background: #e2e8f0 !important;
}
body.light-theme .carousel-thumb-item {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
body.light-theme .carousel-thumb-item.active {
  border-color: #d97706 !important;
}

/* Category Showcase Photo Captions in Light Mode */
body.light-theme .single-photo-caption,
body.light-theme .carousel-slide-caption {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0) 100%) !important;
}
body.light-theme .single-photo-caption h4,
body.light-theme .carousel-slide-caption h4 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.light-theme .single-photo-caption p,
body.light-theme .carousel-slide-caption p {
  color: #334155 !important;
  font-weight: 500 !important;
}
body.light-theme .carousel-counter-badge,
body.light-theme .single-photo-badge {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  color: #b45309 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .carousel-zoom-btn,
body.light-theme .photo-zoom-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  color: #d97706 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .carousel-zoom-btn:hover,
body.light-theme .photo-zoom-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
}
body.light-theme .carousel-nav-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(217, 119, 6, 0.4) !important;
  color: #d97706 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12) !important;
}
body.light-theme .carousel-nav-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
}

/* Lightbox Modal (Zoomed Photos) in Light Mode */
body.light-theme .lightbox-backdrop {
  background: rgba(241, 245, 249, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}
body.light-theme .lightbox-dialog {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18), 0 0 35px rgba(217, 119, 6, 0.15) !important;
}
body.light-theme .lightbox-image-box {
  background: #f1f5f9 !important;
}
body.light-theme .lightbox-info {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}
body.light-theme .lightbox-info h4 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.light-theme .lightbox-info p {
  color: #334155 !important;
  font-weight: 500 !important;
}
body.light-theme .lightbox-tag {
  color: #b45309 !important;
}
body.light-theme .lightbox-counter-badge {
  background: rgba(217, 119, 6, 0.12) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
  color: #b45309 !important;
}
body.light-theme .lightbox-close-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .lightbox-close-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}
body.light-theme .lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #cbd5e1 !important;
  color: #d97706 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1) !important;
}
body.light-theme .lightbox-nav-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

/* 6. Google Reviews Section */
body.light-theme .reviews-section {
  background: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .google-rating-summary {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}
body.light-theme .google-logo-box {
  color: #0f172a !important;
}
body.light-theme .google-score-num {
  color: #0f172a !important;
}
body.light-theme .google-score-text {
  color: #64748b !important;
}
body.light-theme .reviews-controls-bar {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}
body.light-theme .reviews-counter-info {
  color: #64748b !important;
}
body.light-theme .review-sort-pill {
  background: #f8fafc !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}
body.light-theme .review-sort-pill:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
body.light-theme .review-sort-pill.active {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}
body.light-theme .review-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
}
body.light-theme .review-author-name {
  color: #0f172a !important;
}
body.light-theme .review-date {
  color: #64748b !important;
}
body.light-theme .review-text {
  color: #334155 !important;
}
body.light-theme .review-carousel-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body.light-theme .review-carousel-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}
body.light-theme .review-carousel-dot {
  background: #cbd5e1 !important;
}
body.light-theme .review-carousel-dot.active {
  background: #d97706 !important;
}
body.light-theme .google-reviews-actions a.btn-secondary {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body.light-theme .google-reviews-actions a.btn-secondary:hover {
  border-color: #d97706 !important;
  color: #b45309 !important;
  background: #f8fafc !important;
}

/* 7. Instagram Showcase Section */
body.light-theme .instagram-section {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .instagram-card-box {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.5) 0%, #ffffff 50%, #f8fafc 100%) !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07) !important;
}
body.light-theme .instagram-info-left h3 {
  color: #0f172a !important;
}
body.light-theme .instagram-info-left p {
  color: #475569 !important;
}

/* 8. Contact Section */
body.light-theme .contact-section {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
body.light-theme .contact-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05) !important;
}
body.light-theme .contact-card:hover {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.12) !important;
}
body.light-theme .contact-card-icon {
  background: rgba(217, 119, 6, 0.1) !important;
  border-color: rgba(217, 119, 6, 0.3) !important;
  color: #d97706 !important;
}
body.light-theme .contact-card-text h4 {
  color: #64748b !important;
}
body.light-theme .contact-card-text a,
body.light-theme .contact-card-text p {
  color: #0f172a !important;
}
body.light-theme .contact-card-text a:hover {
  color: #d97706 !important;
}
body.light-theme .contact-card-text small {
  color: #64748b !important;
}
body.light-theme .contact-form-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 45px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .contact-form-box h3 {
  color: #0f172a !important;
}
body.light-theme .contact-form-box p {
  color: #475569 !important;
}
body.light-theme .form-group label {
  color: #1e293b !important;
}
body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* 9. Footer */
body.light-theme .main-footer {
  background: #f1f5f9 !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
body.light-theme .footer-brand p {
  color: #475569 !important;
}
body.light-theme .footer-col h4 {
  color: #0f172a !important;
}
body.light-theme .footer-col h4::after {
  background: #d97706 !important;
}
body.light-theme .footer-links a {
  color: #475569 !important;
}
body.light-theme .footer-links a:hover {
  color: #b45309 !important;
}
body.light-theme .footer-bottom {
  background: #e2e8f0 !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
body.light-theme .footer-bottom-info {
  color: #475569 !important;
}
body.light-theme .footer-copyright-line,
body.light-theme .footer-meta-line {
  color: #475569 !important;
}
body.light-theme .footer-tel-link {
  color: #b45309 !important;
}
body.light-theme .btn-text-privacy {
  color: #475569 !important;
}
body.light-theme .btn-text-privacy:hover {
  color: #b45309 !important;
}
body.light-theme .secret-admin-trigger,
body.light-theme .footer-secret-lock {
  color: #94a3b8 !important;
}
body.light-theme .secret-admin-trigger:hover,
body.light-theme .footer-secret-lock:hover {
  color: #d97706 !important;
  background: rgba(217, 119, 6, 0.1) !important;
}

/* 10. Mobile Elements */
body.light-theme .floating-mobile-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #cbd5e1 !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .mobile-bar-btn {
  color: #475569 !important;
}
body.light-theme .mobile-bar-btn:hover {
  color: #b45309 !important;
}
body.light-theme .mobile-drawer {
  background: #ffffff !important;
}
body.light-theme .mobile-drawer-header {
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .mobile-nav-link {
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
body.light-theme .mobile-nav-link:hover {
  background: #f8fafc !important;
  color: #b45309 !important;
}

/* 11. Admin Panel elements in light theme */
body.light-theme .admin-dashboard-container {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15) !important;
}

body.light-theme .admin-dashboard-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme .dashboard-header-logo {
  color: #0f172a !important;
}

body.light-theme .admin-tabs-nav {
  background: #f8fafc !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

body.light-theme .admin-tab-btn {
  color: #64748b !important;
  border-color: transparent !important;
}

body.light-theme .admin-tab-btn svg {
  color: #64748b !important;
}

body.light-theme .admin-tab-btn:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

body.light-theme .admin-tab-btn:hover svg {
  color: #0f172a !important;
}

body.light-theme .admin-tab-btn.active {
  color: #b45309 !important;
  border-bottom: 3px solid #d97706 !important;
  background: #ffffff !important;
}

body.light-theme .admin-tab-btn.active svg {
  color: #d97706 !important;
}

body.light-theme .admin-dashboard-body {
  background: #f8fafc !important;
}

body.light-theme .admin-card-box,
body.light-theme .admin-section-block {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}

body.light-theme .admin-box-title,
body.light-theme .admin-block-header {
  color: #0f172a !important;
  border-bottom-color: #e2e8f0 !important;
}

body.light-theme .admin-box-subtitle {
  color: #64748b !important;
}

body.light-theme .admin-subheading {
  color: #0f172a !important;
}

/* Upload & Dropzone in Light Mode */
body.light-theme .upload-dropzone {
  background: #f8fafc !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
}

body.light-theme .upload-dropzone:hover,
body.light-theme .upload-dropzone.dragover {
  background: #fffbeb !important;
  border-color: #d97706 !important;
}

body.light-theme .upload-dropzone p {
  color: #0f172a !important;
}

body.light-theme .upload-dropzone span {
  color: #64748b !important;
}

body.light-theme .upload-preview-container {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

/* Admin Photos Grid & Cards in Light Mode */
body.light-theme .admin-photo-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .admin-photo-card-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #b45309 !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
}

body.light-theme .admin-photo-card-title {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.8) 65%, transparent 100%) !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* Tab 2: Category Edit Cards & Add Category in Light Mode */
body.light-theme .category-edit-fields-card {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .add-category-card {
  background: #fffbeb !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
}

body.light-theme .category-selection-toolbar label {
  color: #0f172a !important;
}

/* Tab 3: Branding & Backgrounds in Light Mode */
body.light-theme .brand-logo img {
  background: transparent !important;
  filter: none !important;
}

body.light-theme .branding-editor-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .branding-editor-card:hover {
  border-color: #d97706 !important;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.12) !important;
}

body.light-theme .branding-card-header {
  border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme .branding-card-header h5 {
  color: #0f172a !important;
}

body.light-theme .branding-preview-wrap {
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
}

body.light-theme .branding-preview-box {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .tab-sim-pill {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .tab-sim-title {
  color: #0f172a !important;
}

body.light-theme .branding-preview-meta small {
  color: #475569 !important;
}

body.light-theme .bg-editor-row {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .bg-preview-box {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .cat-default-photo-card {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .cat-default-photo-card h5 {
  color: #0f172a !important;
}

body.light-theme .cat-default-img-wrap {
  border: 1px solid #cbd5e1 !important;
}

/* Reviews Tab in Light Mode */
body.light-theme .reviews-sync-card,
body.light-theme .add-review-form,
body.light-theme .admin-review-item {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .reviews-sync-status-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body.light-theme .sync-stat-value {
  color: #0f172a !important;
}

body.light-theme .admin-review-item-author {
  color: #0f172a !important;
}

body.light-theme .admin-review-text {
  color: #334155 !important;
}

/* Sticky save bar in Light Mode */
body.light-theme .admin-sticky-save-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #cbd5e1 !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}

/* All inputs, selects, textareas in admin & modals in Light Mode */
body.light-theme .admin-dashboard-container input,
body.light-theme .admin-dashboard-container select,
body.light-theme .admin-dashboard-container textarea,
body.light-theme .admin-modal-overlay input,
body.light-theme .admin-modal-overlay select,
body.light-theme .admin-modal-overlay textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .admin-dashboard-container input:focus,
body.light-theme .admin-dashboard-container select:focus,
body.light-theme .admin-dashboard-container textarea:focus,
body.light-theme .admin-modal-overlay input:focus,
body.light-theme .admin-modal-overlay select:focus,
body.light-theme .admin-modal-overlay textarea:focus {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

body.light-theme .admin-dashboard-container label,
body.light-theme .admin-modal-overlay label {
  color: #1e293b !important;
}

/* PIN Dialog & Edit Photo Modal in Light Mode */
body.light-theme .admin-pin-dialog {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

body.light-theme .admin-pin-title {
  color: #0f172a !important;
}

body.light-theme .admin-pin-subtitle {
  color: #64748b !important;
}

body.light-theme .admin-pin-box {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .edit-photo-meta-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme #editPhotoFilename {
  color: #0f172a !important;
}

/* ==========================================================================
   PHOTO EDITING & EDIT MODAL IN ADMIN PANEL
   ========================================================================== */
.admin-photo-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.admin-photo-actions .edit-photo-btn {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  color: #f59e0b !important;
  border-radius: 4px;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 !important;
  transition: all var(--transition-fast);
}

.admin-photo-actions .edit-photo-btn:hover {
  background: #f59e0b !important;
  color: #0f172a !important;
  transform: scale(1.1);
}

.admin-photo-actions .admin-photo-card-delete {
  position: static !important;
  top: auto !important;
  right: auto !important;
  background: rgba(220, 38, 38, 0.9) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: transform var(--transition-fast);
}

.admin-photo-actions .admin-photo-card-delete:hover {
  transform: scale(1.15);
  background: #dc2626 !important;
}

#editPhotoModal {
  z-index: 7500 !important;
}

#editPhotoModal.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.cat-rep-title,
.cat-rep-desc {
  width: 100%;
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-graphite);
  color: var(--text-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cat-rep-title:focus,
.cat-rep-desc:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

body.light-theme .cat-rep-title,
body.light-theme .cat-rep-desc {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
  color: #0f172a;
}

/* ==========================================================================
   TAB 4: COLORS & THEMES PERSONALIZATION IN ADMIN PANEL
   ========================================================================== */
.colors-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.colors-live-preview-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

#toggleLivePreviewThemeBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-yellow);
  font-weight: 600;
  transition: all var(--transition-fast);
}

#toggleLivePreviewThemeBtn:hover {
  background: var(--accent-yellow);
  color: #121316;
  box-shadow: 0 0 15px var(--accent-yellow-glow);
}

.color-mode-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-graphite);
  margin-bottom: 1.5rem;
}

.color-mode-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-mode-tab-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.color-mode-tab-btn.active {
  background: var(--bg-surface);
  color: var(--accent-yellow);
  border-color: var(--border-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.color-mode-tab-btn .mode-icon {
  font-size: 1.25rem;
}

.color-mode-tab-btn .mode-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.color-mode-tab-btn.active .mode-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-yellow);
}

.colors-panel-notice {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.colors-panel-notice.light-notice {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.colors-groups-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.color-group-block {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.color-group-title {
  font-size: 1.05rem;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.65rem;
}

.colors-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.color-editor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.color-editor-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.color-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.color-card-name {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.92rem;
  line-height: 1.3;
}

.color-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.color-card-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.color-picker-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-graphite);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.color-picker-input {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  cursor: pointer;
  border: none;
  padding: 0;
  opacity: 1;
}

.color-hex-input {
  flex: 1;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border-graphite);
  background: var(--bg-primary);
  color: var(--text-white);
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color var(--transition-fast);
}

.color-hex-input:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.color-default-btn {
  background: transparent;
  border: 1px solid var(--border-graphite);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.color-default-btn:hover {
  color: var(--accent-yellow);
  border-color: var(--border-accent);
  background: rgba(245, 158, 11, 0.1);
}

/* Light Theme overrides for Color customizer */
body.light-theme #toggleLivePreviewThemeBtn {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.35);
  color: #d97706;
}

body.light-theme #toggleLivePreviewThemeBtn:hover {
  background: #d97706;
  color: #ffffff;
}

body.light-theme .color-mode-nav-tabs {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body.light-theme .color-mode-tab-btn {
  color: #64748b;
}

body.light-theme .color-mode-tab-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

body.light-theme .color-mode-tab-btn.active {
  background: #ffffff;
  color: #b45309;
  border-color: #d97706;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body.light-theme .color-mode-tab-btn.active .mode-badge {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
}

body.light-theme .color-group-block {
  background: #ffffff;
  border-color: #cbd5e1;
}

body.light-theme .color-group-title {
  color: #b45309;
  border-bottom-color: #e2e8f0;
}

body.light-theme .color-editor-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}

body.light-theme .color-editor-card:hover {
  border-color: #d97706;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.08);
}

body.light-theme .color-card-name {
  color: #0f172a;
}

body.light-theme .color-card-desc {
  color: #475569;
}

body.light-theme .color-card-controls {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .color-hex-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .color-hex-input:focus {
  border-color: #d97706;
}

body.light-theme .color-default-btn {
  border-color: #cbd5e1;
  color: #64748b;
}

body.light-theme .color-default-btn:hover {
  color: #b45309;
  border-color: #d97706;
  background: #fffbeb;
}

/* ========================================================
   TAB 6: ADMIN INBOX & SMTP NOTIFICATIONS
   ======================================================== */
.admin-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-inbox-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-graphite);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.2s ease;
  position: relative;
}

.admin-inbox-item:hover {
  border-color: var(--accent-yellow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.admin-inbox-item.is-new {
  border-left: 4px solid var(--accent-yellow);
}

.inbox-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-item-client {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.inbox-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--accent-yellow-glow);
}

.inbox-client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.inbox-meta-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.inbox-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inbox-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.inbox-call-btn:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.inbox-delete-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.inbox-delete-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

.inbox-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.inbox-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-yellow);
}

.inbox-badge.email {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.inbox-message-content {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: pre-wrap;
  word-break: break-word;
}

.inbox-empty-box {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.inbox-empty-box svg {
  margin-bottom: 1rem;
  opacity: 0.4;
}

.smtp-help-box {
  display: flex;
  gap: 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.smtp-help-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.smtp-help-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.smtp-status-box {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.smtp-status-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.smtp-status-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Light Theme Overrides for Inbox & SMTP */
body.light-theme .admin-inbox-item {
  background: #ffffff;
  border-color: #cbd5e1;
}

body.light-theme .admin-inbox-item:hover {
  border-color: #d97706;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

body.light-theme .inbox-item-header {
  border-bottom-color: #e2e8f0;
}

body.light-theme .inbox-client-name {
  color: #0f172a;
}

body.light-theme .inbox-message-content {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

body.light-theme .smtp-help-box {
  background: #fffbeb;
  border-color: #fde68a;
  color: #78350f;
}

body.light-theme .smtp-help-text {
  color: #78350f;
}

/* ==========================================================================
   BRANDING PREVIEW BOXES & DUAL LOGO SUPPORT (DARK & LIGHT)
   ========================================================================== */
.branding-preview-box.wide {
  width: 160px;
  height: 76px;
  min-width: 160px;
  padding: 8px 12px;
}

.branding-preview-box.dark-preview {
  background: #121316 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
}

.branding-preview-box.light-preview {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1;
}

body.light-theme .branding-preview-box.dark-preview {
  background: #121316 !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

body.light-theme .branding-preview-box.light-preview {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   IMAGE CROPPER MODAL (KADROWANIE & PRZYCINANIE ZDJĘĆ)
   ========================================================================== */
#imageCropperModal,
.crop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#imageCropperModal.active,
.crop-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  z-index: 999999 !important;
}

.crop-modal-card {
  position: relative;
  z-index: 1000000 !important;
  background: #16181f;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.15);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#imageCropperModal.active .crop-modal-card,
.crop-modal-overlay.active .crop-modal-card {
  transform: scale(1);
}

.crop-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: rgba(22, 24, 31, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.crop-modal-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent-yellow);
}

.crop-modal-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.crop-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Canvas Viewport */
.crop-viewport-container {
  position: relative;
  width: 100%;
  height: 380px;
  background: #0b0c0f;
  background-image: 
    linear-gradient(45deg, #121318 25%, transparent 25%), 
    linear-gradient(-45deg, #121318 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #121318 75%), 
    linear-gradient(-45deg, transparent 75%, #121318 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.crop-viewport-container:active {
  cursor: grabbing;
}

#cropCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Cropper Toolbar */
.crop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.crop-tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.crop-adjust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 650px) {
  .crop-adjust-row {
    grid-template-columns: 1fr;
  }
}

.crop-tool-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.45rem;
}

.crop-aspect-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.crop-aspect-btn {
  background: rgba(30, 32, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.crop-aspect-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--text-white);
}

.crop-aspect-btn.active {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #121316;
  font-weight: 700;
  box-shadow: 0 0 14px var(--accent-yellow-glow);
}

/* Zoom Slider */
.crop-zoom-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.crop-ctrl-btn {
  background: rgba(30, 32, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.crop-ctrl-btn:hover {
  background: var(--accent-yellow);
  color: #121316;
  border-color: var(--accent-yellow);
}

.crop-zoom-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.crop-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.crop-zoom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.crop-zoom-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Rotate & Reset */
.crop-rotate-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.crop-tool-btn {
  background: rgba(30, 32, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.crop-tool-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-yellow);
}

/* Modal Footer */
.crop-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  background: rgba(22, 24, 31, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

/* Light Theme Overrides for Cropper */
body.light-theme .crop-modal-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

body.light-theme .crop-modal-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

body.light-theme .crop-modal-title h3 {
  color: #0f172a;
}

body.light-theme .crop-toolbar {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.light-theme .crop-aspect-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

body.light-theme .crop-aspect-btn:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #d97706;
}

body.light-theme .crop-aspect-btn.active {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
}

body.light-theme .crop-ctrl-btn,
body.light-theme .crop-tool-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

body.light-theme .crop-ctrl-btn:hover,
body.light-theme .crop-tool-btn:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #d97706;
}

body.light-theme .crop-modal-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

/* ============================================================
   WCAG ACCESSIBILITY: SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--accent-yellow, #f59e0b);
  color: #0f172a;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 9999999;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid #ffffff;
}

/* ============================================================
   RODO & LEGAL CLAUSES
   ============================================================ */
.rodo-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rodo-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.5;
}
.rodo-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-yellow, #f59e0b);
  cursor: pointer;
}
.rodo-legal-small {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}
.btn-text-privacy {
  background: none;
  border: none;
  color: var(--accent-yellow, #f59e0b);
  text-decoration: underline;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline;
}
.btn-text-privacy:hover {
  color: #fbbf24;
}

/* ============================================================
   PRIVACY POLICY & RODO MODAL
   ============================================================ */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.privacy-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.privacy-modal-dialog {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.privacy-modal-header {
  padding: 20px 24px;
  background: rgba(18, 22, 31, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.privacy-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privacy-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.65;
}
.privacy-modal-body h4 {
  color: var(--accent-yellow, #f59e0b);
  margin: 18px 0 8px 0;
  font-size: 1rem;
}
.privacy-modal-body p, .privacy-modal-body ul {
  margin: 0 0 12px 0;
}
.privacy-modal-body ul {
  padding-left: 20px;
}
.privacy-modal-body li {
  margin-bottom: 6px;
}
.privacy-modal-footer {
  padding: 14px 24px;
  background: rgba(18, 22, 31, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

/* ============================================================
   SERVICE AREAS SECTION & BADGES (LOCAL SEO)
   ============================================================ */
.service-areas-bar {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.service-areas-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-yellow, #f59e0b);
  margin-bottom: 0.6rem;
  display: block;
}
.service-areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.service-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.2s ease;
}
.service-area-pill:hover {
  border-color: var(--accent-yellow, #f59e0b);
  color: #ffffff;
  background: rgba(245, 158, 11, 0.12);
}

/* Light Theme Overrides */
body.light-theme .rodo-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body.light-theme .rodo-checkbox-label {
  color: #334155;
}
body.light-theme .rodo-legal-small {
  color: #64748b;
  border-top-color: #e2e8f0;
}
body.light-theme .privacy-modal-dialog {
  background: #ffffff;
  border-color: #cbd5e1;
}
body.light-theme .privacy-modal-header,
body.light-theme .privacy-modal-footer {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body.light-theme .privacy-modal-header h3 {
  color: #0f172a;
}
body.light-theme .privacy-modal-body {
  color: #334155;
}
body.light-theme .service-areas-bar {
  border-top-color: #e2e8f0;
}
body.light-theme .service-area-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}



