/* ═══════════════════════════════════════════════════
   KACPER GARAGE — style.css
   Automotive Workshop Website
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,400&family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Exo+2:ital,wght@1,700;1,900&display=swap');

/* ── VARIABLES ── */
:root {
  --red:      #c8141b;
  --red-hot:  #e8242c;
  --red-dark: #8b0e12;
  --yellow:   #f5c200;
  --orange:   #ff6a00;
  --white:    #ffffff;
  --grey-100: #e8e8e8;
  --grey-300: #aaaaaa;
  --grey-500: #555555;
  --dark-100: #1c1c1c;
  --dark-200: #141414;
  --dark-300: #0d0d0d;
  --metal:    #1a1a1a;

  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow Condensed', sans-serif;
  --font-sub:  'Rajdhani', sans-serif;

  --nav-h: 72px;
  --section-pad: 60px 0;
  --radius: 10px;
  --transition: .35s cubic-bezier(.25,.8,.25,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark-300);
  color: var(--white);
  overflow-x: hidden;
}

/* ── PRELOADER ── */
#preloader {
  position: fixed; inset: 0;
  background: #060606;
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s cubic-bezier(0.77, 0, 0.175, 1), visibility .8s;
  overflow: hidden;
}
/* subtle grid background */
#preloader::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
}
/* radial red glow center */
#preloader::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,20,27,.08) 0%, transparent 65%);
  pointer-events: none;
}
.preloader-inner {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2;
  gap: 0;
}
#preloader.loaded { opacity: 0; visibility: hidden; }

/* ── Tachometer ── */
.tachometer-wrap {
    position: relative;
    width: 280px; height: 200px;
    display: flex; justify-content: center; align-items: flex-end;
    margin-bottom: 20px;
}
.tacho-base {
    position: relative;
    width: 240px; height: 120px;
    background: linear-gradient(180deg, #0e0e0e 0%, #181818 100%);
    border: 3px solid #2a2a2a;
    border-bottom: none;
    border-radius: 120px 120px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.9), inset 0 0 30px rgba(200,20,27,0.07);
    overflow: hidden;
    display: flex; align-items: flex-end; justify-content: center;
}
/* tick marks on tacho */
.tacho-base::before {
    content: '';
    position: absolute; inset: 6px;
    border-radius: 120px 120px 0 0;
    border: 1px solid rgba(255,255,255,.06);
    border-bottom: none;
}
.tacho-scale {
    position: absolute; inset: 10px;
    border-radius: 120px 120px 0 0;
    border: 2px dashed rgba(255,255,255,.06);
    border-bottom: none;
}
.tacho-needle {
    position: absolute;
    bottom: 0; left: 50%;
    width: 3px; height: 85px;
    background: linear-gradient(0deg, var(--red-hot) 0%, #fff 100%);
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-90deg);
    transition: transform 0.1s linear;
    z-index: 5;
    box-shadow: 0 0 12px rgba(200,20,27,0.9), 0 0 4px #fff;
    border-radius: 2px 2px 0 0;
}
.tacho-center {
    position: absolute; bottom: -14px;
    width: 46px; height: 46px;
    background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
    border: 2.5px solid var(--red);
    border-radius: 50%;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(200,20,27,0.6), inset 0 0 10px rgba(0,0,0,.8);
}
.kg-mini {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900; font-style: italic;
    font-size: 13px; color: #fff;
    letter-spacing: -1px;
}
.tacho-digital {
    position: absolute; bottom: 22px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px; font-weight: 700;
    color: #fff;
    text-shadow: 0 0 14px rgba(255,255,255,0.25);
}
.tacho-digital .unit { font-size: 14px; margin-left: 2px; color: var(--red); }

/* ── Loader Brand (KACPER GARAGE pod tachometrem) ── */
.loader-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
}
.loader-brand .kacper,
.loader-brand .garage {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900; font-style: italic;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 45%, #606060 55%, #a0a0a0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.8));
}
.loader-brand .garage {
    position: relative;
    color: var(--red);
    background: linear-gradient(180deg, var(--red-hot) 0%, var(--red) 60%, var(--red-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Progress bar preloader ── */
.preloader-bar-wrap {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}
.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red-dark), var(--red-hot), var(--orange));
    border-radius: 2px;
    transition: width .12s linear;
    box-shadow: 0 0 8px rgba(200,20,27,.6);
}

/* ── Preloader status text ── */
#preloader-message {
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.25);
    text-transform: uppercase;
    text-align: center;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ═══════════════════════════════════════════
   MAINTENANCE SCREEN — Premium Redesign
═══════════════════════════════════════════ */
#maintenance-screen {
  position: fixed; inset: 0;
  background: #080808;
  z-index: 11000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#maintenance-screen.hidden { display: none; }

/* Diagonal stripe background */
#maintenance-screen::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent 0px,
      transparent 28px,
      rgba(200,20,27,.025) 28px,
      rgba(200,20,27,.025) 30px
    );
  pointer-events: none;
}
/* Top & bottom accent bars */
#maintenance-screen::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}
.maint-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
  z-index: 10;
}

/* Red vignette glow */
.maint-glow {
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(200,20,27,.18) 0%, transparent 70%);
  pointer-events: none;
  animation: maintGlowPulse 4s ease-in-out infinite;
}
@keyframes maintGlowPulse {
  0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.maint-content {
  text-align: center;
  position: relative; z-index: 5;
  max-width: 760px;
  padding: 40px 50px;
}

/* Logo wrapper */
.maint-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  transform: scale(1.3);
  filter: drop-shadow(0 0 20px rgba(200,20,27,.4));
  position: relative; z-index: 10;
}
.maint-logo-wrap .css-logo { cursor: default; }
.maint-logo-wrap .css-logo .smoke-wrap [class^="smoke-"] {
  animation: smoke-drift 3.5s infinite ease-out;
  opacity: 0.35;
}

/* Status badge */
.maint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,20,27,.12);
  border: 1px solid rgba(200,20,27,.4);
  border-radius: 30px;
  padding: 6px 20px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.maint-badge-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: badgeBlink 1.4s ease-in-out infinite;
}
@keyframes badgeBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--red); }
  50% { opacity: .3; box-shadow: none; }
}

/* Decorative horizontal line */
.maint-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}
.maint-divider::before,
.maint-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,20,27,.6));
}
.maint-divider::after { background: linear-gradient(90deg, rgba(200,20,27,.6), transparent); }
.maint-divider-icon { font-size: 18px; opacity: .7; }

#maint-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 96px);
  color: #fff; line-height: .92;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 60px rgba(200,20,27,.2), 2px 2px 0 rgba(0,0,0,.5);
}
#maint-text {
  font-family: var(--font-sub);
  font-size: 18px; font-weight: 400;
  color: var(--grey-300);
  letter-spacing: 2px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.maint-contact {
  font-family: var(--font-sub);
  font-size: 13px; letter-spacing: 3px;
  color: var(--yellow);
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid rgba(245,194,0,.2);
  border-radius: var(--radius);
  background: rgba(245,194,0,.04);
  display: inline-block;
}

.maint-car-silh {
  position: absolute; bottom: -50px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(200,20,27,.12) 0%, transparent 70%);
  opacity: 0.5; z-index: 1; pointer-events: none;
}
.maint-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

@keyframes maintPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,20,27,0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 30px rgba(200,20,27,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,20,27,0); }
}


/* ── METAL TEXTURE (global pseudo) ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 36px);
  pointer-events: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-300); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── GRAIN EFFECT ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3BaseFilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* ── SELECTION ── */
::selection { background: var(--red); color: #fff; }


/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 50px;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,20,27,.25);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,8,8,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.6);
}

/* ==================== DETAILED CSS LOGO 48px ==================== */
.navbar-brand {
    display: flex;
    align-items: center;
    height: 48px;
    flex-shrink: 0;
    margin-right: 20px;
    text-decoration: none;
    overflow: visible; /* Ensure smoke isn't clipped */
}

.css-logo {
    display: flex;
    align-items: center;
    height: 48px;
    gap: 18px;
    perspective: 1000px;
    overflow: visible; /* Ensure smoke isn't clipped */
    position: relative;
}

/* Czerwone koło z KG (Styl 3D/Emblemat) */
.kg-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 4px solid #c8141b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10; /* Bring to front */
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.6),
        inset 0 0 8px rgba(0,0,0,0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.kg-circle::before {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.kg-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 19px; /* Reduced for better breathing room */
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -1.5px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateX(-1px); /* Compensation for italic lean */
}

/* Obszar tekstu */
.logo-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    position: relative;
    z-index: 10; /* Bring to front */
}

.main-title {
    display: flex;
    align-items: baseline;
    gap: 8px; /* Odstęp między KACPER a GARAGE */
}

.kacper, .garage {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 28px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    
    /* Strong Metallic Effect */
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #f0f0f0 40%, 
        #707070 50%, 
        #303030 55%, 
        #909090 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.garage {
    position: relative;
    padding-bottom: 2px;
}


/* Czerwona kreska pod GARAGE */
.garage::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%; /* Back to full width */
    height: 3px;
    background: linear-gradient(90deg, #c8141b, #ff4d4d);
    box-shadow: 0 1px 3px rgba(200,20,27,0.5);
}

.sub-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: #aaaaaa;
    margin-top: 4px;
    text-transform: uppercase;
    width: 100%;
    text-align: center; /* Center under the main title */
}

/* Hover effect */
.css-logo:hover .kg-circle {
    border-color: #e8242c;
    transform: rotateY(15deg) scale(1.05);
}

.css-logo:hover .kacper, .css-logo:hover .garage {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

/* Smoke Animation */
.smoke-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.smoke-wrap [class^="smoke-"] {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
}

.css-logo:hover [class^="smoke-"] {
    animation: smoke-drift 3.5s infinite ease-out; /* Slower */
}

.smoke-1 { animation-delay: 0s !important; }
.smoke-2 { animation-delay: 1.2s !important; left: 35% !important; }
.smoke-3 { animation-delay: 2.4s !important; left: 65% !important; }

@keyframes smoke-drift {
    0% {
        transform: translate(-50%, 0) scale(0.6);
        opacity: 0;
    }
    30% {
        opacity: 0.5; /* Soften */
    }
    100% {
        transform: translate(calc(-50% + 60px), -100px) scale(8);
        opacity: 0;
        filter: blur(40px);
    }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  display: block;
  padding: 6px 16px;
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-300);
  text-decoration: none;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nav-links a.active { color: var(--red); }

.nav-cta {
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot));
  color: #fff;
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(200,20,27,.4);
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover {
  box-shadow: 0 6px 28px rgba(200,20,27,.65);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  background: none; border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,8,.98);
  backdrop-filter: blur(14px);
  z-index: 999;
  padding: 30px 30px 40px;
  border-bottom: 2px solid var(--red);
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-sub);
  font-size: 20px;
  font-weight: 600;
  color: var(--grey-100);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .mob-cta {
  margin-top: 16px;
  text-align: center;
  padding: 14px;
  background: var(--red);
  border-radius: var(--radius);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  border-bottom: none;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a0500 50%, #0a0a0a 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: saturate(1.2) contrast(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 8, 8, .72);
  z-index: 1;
}

/* fire / sparks canvas area */
.hero-fire {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 35%;
  z-index: 2;
  background: linear-gradient(0deg,
    rgba(160,40,0,.55) 0%,
    rgba(200,80,0,.2)  40%,
    transparent        100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 60px;
}

/* LEFT column – KACPER GARAGE branding */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* RIGHT column – address + phone (smaller) */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}
.hero-address-label {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.hero-address-label::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.hero-address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}
.hero-street {
  font-family: var(--font-head);
  font-size: 36px;
  line-height: 1;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-city {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot));
  padding: 10px 22px;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(200,20,27,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  width: fit-content;
}
.hero-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200,20,27,.65);
}
.hero-phone-icon { font-size: 20px; }
.hero-phone-num {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}
.hero-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-300);
  letter-spacing: 1px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-hours-sep { color: var(--red); font-size: 16px; }

/* hero-text removed – using hero-left/right */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  justify-content: flex-start;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(60px, 8vw, 110px);
  line-height: .88;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 60px rgba(255,80,0,.2), 4px 4px 0 rgba(0,0,0,.5);
}
.hero-title .accent { color: var(--red); display: block; }

.hero-sub {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--grey-300);
  text-transform: uppercase;
  margin: 16px 0 28px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 6px;
}
.hero-info-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-direction: row;
}
.hero-info-line .dot {
  width: 10px; height: 10px;
  background: var(--red);
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* Diamond/Rhombus shape */
  box-shadow: 0 0 12px var(--red);
}


.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 8px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot) 60%, #ff3b42);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200,20,27,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(200,20,27,.7);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 2px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: rgba(255,255,255,.04);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-outline:hover {
  border-color: var(--yellow);
  background: rgba(245,194,0,.08);
  transform: translateY(-3px);
}



/* sparks on hero */
.spark-hero {
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fff8e1, #ff9500);
  box-shadow: 0 0 6px 2px rgba(255,150,0,.7);
  z-index: 4;
  animation: sparkFloat var(--dur, 2s) ease-in infinite var(--delay, 0s);
}
@keyframes sparkFloat {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(.3) rotate(var(--rot, 15deg)); }
}

/* bottom flag strip on hero */
.hero-flag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  z-index: 5;
  overflow: hidden;
}
.hero-flag::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-conic-gradient(rgba(255,255,255,.55) 0% 25%, rgba(0,0,0,.7) 0% 50%);
  background-size: 36px 36px;
}
.hero-flag::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.8) 0%, transparent 15%, transparent 85%, rgba(8,8,8,.8) 100%);
}


/* ══════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════ */
section { padding: var(--section-pad); }
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

.section-header { text-align: center; margin-bottom: 36px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
}
.section-title .red { color: var(--red); }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  margin: 18px auto 0;
  border-radius: 3px;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#uslugi { background: var(--dark-200); }

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

.service-card {
  position: relative;
  background: var(--dark-100);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(200,20,27,0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(200,20,27,.4));
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }

.service-name {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}
.service-desc {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 400;
  color: var(--grey-300);
  line-height: 1.6;
}
.service-card-num {
  position: absolute;
  bottom: 16px; right: 20px;
  font-family: var(--font-head);
  font-size: 64px;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}
.service-card:hover .service-card-num { color: rgba(200,20,27,.09); }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#o-nas {
  background: var(--dark-300);
  position: relative;
  overflow: hidden;
}
#o-nas::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,20,27,.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.about-image-wrap {
  position: relative;
}
.about-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-100);
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,20,27,.12) 0%, transparent 50%);
  pointer-events: none;
}

/* floating badge */
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--red-dark), var(--red-hot));
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(200,20,27,.5);
  animation: badgePulse 3s ease-in-out infinite;
}
.about-badge .years {
  font-family: var(--font-head);
  font-size: 36px;
  color: #fff;
  line-height: 1;
}
.about-badge .years-label {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(200,20,27,.5); }
  50%       { box-shadow: 0 10px 50px rgba(200,20,27,.8); }
}

/* about text side */
.about-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.about-eyebrow::before {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--yellow); border-radius: 2px;
}

.about-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
}
.about-title .red { color: var(--red); }

.about-text {
  font-family: var(--font-sub);
  font-size: 17px; font-weight: 400;
  color: var(--grey-300);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0;
}
.about-tag {
  padding: 6px 18px;
  border: 1px solid rgba(200,20,27,.4);
  border-radius: 20px;
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey-100);
  background: rgba(200,20,27,.08);
  transition: background var(--transition), border-color var(--transition);
}
.about-tag:hover { background: rgba(200,20,27,.2); border-color: var(--red); }

/* stats row */
.stats-row {
  display: flex; gap: 40px; margin-top: 36px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 52px;
  color: var(--red);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey-300);
  margin-top: 4px;
}

/* Placeholder for mechanic image */
.mechanic-placeholder {
  width: 100%; height: 100%; min-height: 400px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(200,20,27,.04), rgba(200,20,27,.04) 1px, transparent 1px, transparent 30px),
    var(--dark-100);
}
.mechanic-placeholder .ph-icon { font-size: 100px; opacity: .3; }
.mechanic-placeholder .ph-text {
  font-family: var(--font-sub);
  font-size: 16px; letter-spacing: 3px;
  color: var(--grey-500); text-transform: uppercase;
}

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
#dlaczego-my {
  background: var(--dark-200);
  position: relative;
  overflow: hidden;
}
.why-stripe {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  padding: 40px 28px;
  background: var(--dark-100);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(200,20,27,.12);
  border-color: rgba(200,20,27,.3);
}
.why-card-bg-num {
  position: absolute;
  top: -10px; right: -10px;
  font-family: var(--font-head);
  font-size: 90px;
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
}

.why-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(200,20,27,.12);
  border: 1.5px solid rgba(200,20,27,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 34px;
  transition: background var(--transition), box-shadow var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: rgba(200,20,27,.22);
  box-shadow: 0 0 24px rgba(200,20,27,.4);
}

.why-title {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
}
.why-desc {
  font-family: var(--font-sub);
  font-size: 15px;
  color: var(--grey-300);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
#galeria { background: var(--dark-300); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-100);
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 2;
}
.gallery-item.hidden-item {
  display: none;
}

.gal-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(200,20,27,.03), rgba(200,20,27,.03) 1px, transparent 1px, transparent 20px),
    var(--dark-100);
  transition: transform .4s ease;
}
.gallery-item:hover .gal-placeholder { transform: scale(1.04); }
.gal-placeholder .gal-icon { font-size: 64px; opacity: .25; }
.gal-placeholder .gal-label {
  font-family: var(--font-sub);
  font-size: 13px; letter-spacing: 3px;
  color: var(--grey-500); text-transform: uppercase;
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-sub);
  font-size: 15px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff;
}
/* zoom icon in top-right */
.gallery-zoom-icon {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; }

/* ── SEE MORE button ── */
.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  background: rgba(200,20,27,.1);
  border: 1.5px solid rgba(200,20,27,.5);
  border-radius: 50px;
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.gallery-more-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,20,27,.15), transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.gallery-more-btn:hover {
  background: rgba(200,20,27,.2);
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(200,20,27,.3);
  transform: translateY(-2px);
}
.gallery-more-btn:hover::before { transform: translateX(100%); }
.gallery-more-btn .gmb-icon {
  font-size: 20px;
  transition: transform var(--transition);
}
.gallery-more-btn:hover .gmb-icon { transform: scale(1.2); }
.gallery-more-count {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0;
}

/* ══════════════════════════════════════
   GALLERY LIGHTBOX MODAL
══════════════════════════════════════ */
#gallery-modal {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
#gallery-modal.open {
  opacity: 1;
  visibility: visible;
}

.gm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gm-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
}

/* Header */
.gm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.4);
  flex-shrink: 0;
}
.gm-title {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gm-title::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.gm-counter {
  font-family: var(--font-head);
  font-size: 28px;
  color: rgba(255,255,255,.6);
  letter-spacing: 2px;
}
.gm-counter em {
  color: #fff;
  font-style: normal;
}
.gm-close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  line-height: 1;
}
.gm-close:hover {
  background: rgba(200,20,27,.5);
  transform: rotate(90deg);
}

/* Main image area */
.gm-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px 80px;
}
.gm-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s cubic-bezier(.25,.8,.25,1), opacity .25s ease;
}
.gm-img-wrap.slide-left  { animation: gmSlideLeft  .3s ease forwards; }
.gm-img-wrap.slide-right { animation: gmSlideRight .3s ease forwards; }

@keyframes gmSlideLeft  { from { opacity:0; transform: translateX(60px);  } to { opacity:1; transform: translateX(0); } }
@keyframes gmSlideRight { from { opacity:0; transform: translateX(-60px); } to { opacity:1; transform: translateX(0); } }

#gm-main-img {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,.8);
  display: block;
  cursor: zoom-in;
  transition: transform .3s ease;
  user-select: none;
}
#gm-main-img.zoomed {
  cursor: zoom-out;
  transform: scale(1.8);
}
.gm-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 400px;
  height: 300px;
  background: var(--dark-100);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.gm-placeholder-img span:first-child { font-size: 80px; opacity: .3; }
.gm-placeholder-img span:last-child {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--grey-500);
  text-transform: uppercase;
}

/* Nav arrows */
.gm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
  user-select: none;
}
.gm-arrow:hover {
  background: rgba(200,20,27,.45);
  border-color: var(--red);
}
.gm-arrow-prev { left: 16px; }
.gm-arrow-next { right: 16px; }
.gm-arrow:active { transform: translateY(-50%) scale(0.92); }

/* Caption bar */
.gm-caption {
  text-align: center;
  padding: 14px 30px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0,0,0,.4);
  border-top: 1px solid rgba(255,255,255,.06);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Thumbnails strip */
.gm-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  background: rgba(0,0,0,.5);
  border-top: 1px solid rgba(255,255,255,.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}
.gm-thumbs::-webkit-scrollbar { height: 3px; }
.gm-thumb {
  flex-shrink: 0;
  width: 60px; height: 44px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  background: var(--dark-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.gm-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gm-thumb.active {
  border-color: var(--red);
  transform: scale(1.08);
}
.gm-thumb:hover:not(.active) { border-color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.brands-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--dark-100);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  white-space: nowrap;
  padding: 18px 0;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  animation: marquee 30s linear infinite;
}
.marquee-content span {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--grey-300);
  opacity: 0.6;
  letter-spacing: 2px;
}
.marquee-content span.dot {
  color: var(--red);
  font-size: 20px;
  opacity: 1;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ══════════════════════════════════════
   OPINIE
══════════════════════════════════════ */
#opinie { background: var(--dark-200); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,20,27,.3);
}
.review-stars {
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-100);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}
.review-author {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.review-author span { color: var(--grey-500); font-weight: 500; font-size: 12px; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
#faq { position: relative; background: var(--dark-100); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  padding: 24px;
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(255,255,255,.05); }
.faq-icon {
  font-size: 24px;
  color: var(--red);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 20px 24px 24px;
  border-top: 1px dashed rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-100);
  line-height: 1.7;
  display: none;
}

/* ══════════════════════════════════════
   NEW CONTACT UTILS
══════════════════════════════════════ */
.btn-map-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,20,27,.15);
  border: 1px solid rgba(200,20,27,.4);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-map-nav:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200,20,27,.3);
}
.mt-3 { margin-top: 16px; }

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--red-dark), var(--red-hot));
  color: #fff;
  text-align: center;
  padding: 16px;
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.5);
  display: none; /* hidden on desktop */
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pulse-icon {
  animation: pulseIcon 1.5s infinite;
}
@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#kontakt { background: var(--dark-200); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* contact split layout — domyślnie 2 kolumny, JS przełącza na 3 gdy phone2 aktywny */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  transition: grid-template-columns .4s ease;
}
.contact-split-col {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition);
}
.contact-split-col:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 20, 27, .3);
}
.contact-split-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(200,20,27,.12);
  border: 1.5px solid rgba(200,20,27,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.contact-split-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.contact-split-label {
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--yellow);
}
.contact-split-val {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  text-decoration: none;
  transition: color var(--transition);
}
a.contact-split-val:hover {
  color: var(--red);
}
.contact-split-sub {
  font-family: var(--font-sub);
  font-size: 13px; font-weight: 600;
  color: #fff;
  background: var(--red);
  padding: 4px 12px;
  border-radius: 4px;
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* map placeholder */
.map-placeholder {
  width: 100%; height: 220px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(200,20,27,.03), rgba(200,20,27,.03) 1px, transparent 1px, transparent 20px),
    var(--dark-100);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%; height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) saturate(0.7) brightness(0.8);
  border-radius: var(--radius);
}

/* form styles removed – no email contact */

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark-300);
  border-top: 1px solid rgba(200,20,27,.2);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 60px 50px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand .brand-name {
  font-family: var(--font-head);
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.footer-brand .brand-sub {
  font-family: var(--font-sub);
  font-size: 13px; letter-spacing: 4px;
  color: var(--grey-500); text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-brand p {
  font-family: var(--font-sub);
  font-size: 15px; color: var(--grey-300);
  line-height: 1.6; max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-sub);
  font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-family: var(--font-sub);
  font-size: 15px; color: var(--grey-300);
  text-decoration: none;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: '›';
  color: var(--red);
  font-size: 18px;
  line-height: 1;
}
.footer-links a:hover { color: #fff; }

.footer-contact-items {
  display: flex; flex-direction: column; gap: 14px;
}
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.footer-contact-item .fci-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item .fci-text {
  font-family: var(--font-sub);
  font-size: 14px; color: var(--grey-300); line-height: 1.5;
}

/* flag bar at very bottom */
.footer-flag {
  height: 36px; overflow: hidden;
  position: relative;
}
.footer-flag::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-conic-gradient(rgba(255,255,255,.45) 0% 25%, rgba(0,0,0,.6) 0% 50%);
  background-size: 36px 36px;
}
.footer-flag::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,.6) 0%, transparent 10%, transparent 90%, rgba(13,13,13,.6) 100%);
}

.footer-bottom {
  max-width: 1300px; margin: 0 auto;
  padding: 20px 50px 30px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom p {
  font-family: var(--font-sub);
  font-size: 13px; color: var(--grey-500);
  letter-spacing: 1px;
}
.footer-bottom p span { color: var(--red); }

/* ══════════════════════════════════════
   FADE-IN ANIMATION (scroll reveal)
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  #navbar { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 30px 24px 90px;
    gap: 40px;
  }
  .hero-left { align-items: center; text-align: center; }
  .hero-address-label { justify-content: center; }
  .hero-address-label::before { display: none; }
  .hero-right { align-items: center; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-info { align-items: center; }
  .hero-info-line { flex-direction: row; justify-content: center; }
  .hero-btns { justify-content: center; }

  .hero-title { font-size: 72px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; text-align: center; }
  .container { padding: 0 24px; }
  .stats-row { justify-content: center; }
}

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

@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 58px; }
}
/* ── Phone Wrappers (Multiple Numbers) ── */
.nav-phones-wrapper, 
.mob-phones-wrapper,
.hero-phones-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Mniejszy odstęp dla lepszego dopasowania */
  align-items: center;
}

/* Header adjustment for stacked phones */
.nav-phones-wrapper {
  align-items: flex-end;
  padding: 4px 0;
}

/* Slimmed down buttons when stacked in nav */
.nav-phones-wrapper .nav-cta {
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(200,20,27,.3);
}

@media (max-width: 991px) {
  .nav-phones-wrapper {
    display: none;
  }
}

.hero-phones-wrapper {
  align-items: flex-end;
  gap: 6px;
}

.hero-phone {
  margin-bottom: 0 !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
}
.hero-phone-num {
  font-size: 14px !important;
}

.mob-phones-wrapper {
  width: 100%;
  padding: 0 30px;
  gap: 10px;
}
.mob-phones-wrapper .mob-cta {
  width: 100%;
  justify-content: center;
  margin: 0 !important;
}
