/* ==========================================================================
   M.M RENOV & TRANS MAREK MISIAK - STYLE SYSTEM
   Całodobowa Pomoc Drogowa 24/7 & Transport Międzynarodowy
   Author: Tomasz Staroń (https://moeit.eu)
   ========================================================================== */

:root {
  /* Kolorystyka podstawowa */
  --bg-dark: #090d16;
  --bg-surface: #101726;
  --bg-surface-elevated: #162034;
  --bg-surface-card: rgba(22, 32, 52, 0.7);
  --bg-glass: rgba(16, 23, 38, 0.85);

  /* Kolory akcentowe */
  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.28);
  --amber-soft: rgba(245, 158, 11, 0.12);

  --green-call: #10b981;
  --green-call-hover: #059669;
  --green-glow: rgba(16, 185, 129, 0.35);

  --blue-accent: #3b82f6;

  /* Typografia i kontrast */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-amber: rgba(245, 158, 11, 0.4);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--amber-glow);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* Przestrzeń pod mobile sticky bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR (Nagłówek pomocniczy 24/7)
   ========================================================================== */
.top-bar {
  background-color: rgba(9, 13, 22, 0.95);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-primary);
  font-weight: 600;
  font-size: 0.825rem;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: radar-pulse 2s infinite ease-out;
}

.top-bar-phones {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.04);
}

.top-phone-link:hover {
  background-color: var(--amber-soft);
  color: var(--amber-primary);
}

.top-phone-link .flag {
  font-size: 1.1rem;
}

/* ==========================================================================
   GŁÓWNY HEADER & NAWIGACJA
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.3s ease;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--amber-primary), #b45309);
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber-primary);
  transition: width 0.3s ease;
}

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

.header-cta-group {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 992px) {
  .header-cta-group {
    display: flex;
  }

  .nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--green-call);
    color: #fff;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 16px var(--green-glow);
    transition: all 0.25s ease;
  }

  .nav-cta-btn .flag {
    font-size: 1rem;
    line-height: 1;
  }

  .nav-cta-btn.nav-cta-fr {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    box-shadow: none;
  }

  .nav-cta-btn:hover {
    background-color: var(--green-call-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px var(--green-glow);
  }

  .nav-cta-btn.nav-cta-fr:hover {
    background-color: var(--amber-soft);
    border-color: var(--amber-primary);
    color: var(--amber-primary);
    box-shadow: 0 4px 14px var(--amber-glow);
  }
}

/* Mobile Hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Dropdown Nav */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  padding: 90px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--amber-primary);
}

.mobile-drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url('../images/1.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.78) contrast(1.1) saturate(1.15);
  transform: scale(1.03);
  transition: transform 10s ease, filter 0.5s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 22, 0.88) 0%,
    rgba(9, 13, 22, 0.65) 45%,
    rgba(9, 13, 22, 0.96) 100%
  ),
  radial-gradient(
    circle at 20% 50%,
    rgba(245, 158, 11, 0.18) 0%,
    transparent 65%
  );
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(245, 158, 11, 0.16);
  border: 1px solid var(--border-amber);
  color: var(--amber-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .beacon {
  width: 10px;
  height: 10px;
  background-color: var(--amber-primary);
  border-radius: 50%;
  position: relative;
}

.hero-badge .beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--amber-primary);
  animation: radar-pulse 1.8s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-title span.highlight {
  color: var(--amber-primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-emergency {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 25px var(--green-glow);
  position: relative;
  overflow: hidden;
}

.btn-emergency:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

.btn-emergency .phone-number {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-international {
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-international:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--amber-primary);
  transform: translateY(-3px);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.highlight-icon {
  color: var(--amber-primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   QUICK CALL BANNER (Dla kierowców w potrzebie)
   ========================================================================== */
.quick-call-strip {
  background: linear-gradient(90deg, #1e1503 0%, #151d2f 100%);
  border-top: 1px solid var(--border-amber);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  position: relative;
}

.quick-call-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.strip-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 4px;
}

.strip-info p {
  color: var(--amber-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.strip-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #fff;
}

.strip-btn:hover {
  background-color: var(--amber-soft);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  transform: translateY(-2px);
}

.strip-btn.primary {
  background-color: var(--green-call);
  border-color: transparent;
}

.strip-btn.primary:hover {
  background-color: var(--green-call-hover);
  color: #fff;
}

/* ==========================================================================
   SEKCJA USŁUGI (KARTY OFERTY)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-dark);
}

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

.section-subtitle {
  color: var(--amber-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

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

.service-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-amber);
  background: var(--bg-surface-elevated);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px var(--amber-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--amber-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.2);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-5deg);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-bottom: 20px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--amber-primary);
  font-weight: 700;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}

.service-btn:hover {
  gap: 10px;
  color: #fff;
}

/* ==========================================================================
   SEKCJA PARALLAX: TRASY MIĘDZYNARODOWE & DOŚWIADCZENIE
   ========================================================================== */
.parallax-section {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
  background-color: #070a10;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('../images/7.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.68) contrast(1.12) saturate(1.1);
  z-index: 1;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(9, 13, 22, 0.93) 0%,
    rgba(16, 23, 38, 0.85) 100%
  );
  z-index: 2;
}

.parallax-content {
  position: relative;
  z-index: 3;
}

.routes-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .routes-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.routes-text .badge {
  background-color: var(--amber-soft);
  color: var(--amber-primary);
  border: 1px solid var(--border-amber);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.routes-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.routes-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.country-pill:hover {
  background-color: var(--amber-primary);
  color: #000;
  border-color: var(--amber-primary);
  transform: translateY(-2px);
}

.flag-icon {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  display: block;
}

.country-pill .country-name {
  display: inline-block;
  line-height: 1;
  font-weight: 700;
}

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

.stat-box {
  background: rgba(22, 32, 52, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PROCES POMOCY (3 PROSTE KROKI)
   ========================================================================== */
.process-section {
  padding: 90px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

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

.process-step {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--amber-primary), #b45309);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--amber-glow);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 16px 0 12px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   GALERIA REALIZACJI / TABORU
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 290px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item.featured {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .gallery-item.featured {
    grid-column: span 2;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.1) brightness(0.95);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.5) 45%, rgba(9, 13, 22, 0.08) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  opacity: 0.92;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px var(--amber-glow);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.18) brightness(1.02);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(0deg, rgba(9, 13, 22, 0.98) 0%, rgba(9, 13, 22, 0.45) 55%, rgba(9, 13, 22, 0) 100%);
}

.gallery-caption {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: #fff;
  display: block;
}

.gallery-sub {
  color: var(--amber-primary);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  display: block;
}

/* ==========================================================================
   SEKCJA KONTAKT & SZYBKA WYCENA
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-surface);
  position: relative;
}

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

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p.lead {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  margin-bottom: 24px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  flex: 1;
  transition: var(--transition-fast);
}

.contact-method-item:hover {
  background: var(--amber-soft);
  border-color: var(--border-amber);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--amber-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-method-text .label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

.contact-method-text .value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.fb-wrap {
  margin-top: auto;
  width: 100%;
}

.fb-badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: #1877f2;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.fb-badge-link:hover {
  background-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

/* Formularz kontaktowy / wycena */
.contact-form-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--amber-primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

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

/* Zabezpieczenie antyspamowe CAPTCHA */
.captcha-group {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.captcha-question {
  color: var(--amber-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-left: 6px;
}

.captcha-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-input-wrap input {
  flex: 1;
}

.btn-refresh-captcha {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.btn-refresh-captcha:hover {
  background: var(--amber-soft);
  border-color: var(--amber-primary);
  transform: rotate(90deg);
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-hover));
  color: #000;
  padding: 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--amber-glow);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* ==========================================================================
   FOOTER (STOPKA Z PODPISEM TOMASZ STAROŃ)
   ========================================================================== */
.site-footer {
  background-color: #05080e;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 30px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.author-credit {
  color: var(--text-secondary);
}

.author-link {
  color: var(--amber-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.author-link:hover {
  color: #fff;
}

/* ==========================================================================
   STICKY MOBILE CALL BAR (Dla telefonów na poboczu)
   ========================================================================== */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-amber);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
}

@media (min-width: 992px) {
  .mobile-call-bar {
    display: none;
  }
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-call-btn.pl {
  flex: 1.5;
  background: linear-gradient(135deg, #10b981, #059669);
}

.mobile-call-btn.whatsapp {
  flex: 1;
  background: #25d366;
  font-size: 0.95rem;
}

/* ==========================================================================
   ANIMACJE I KEYFRAMES
   ========================================================================== */
@keyframes radar-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Modal Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
