/* =========================
   AUTO-SYSTEM RETROFIT PRO
   CLEAN STABLE BUILD
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter", sans-serif;
  background:#0b0f17;
  color:#fff;
  overflow-x:hidden;
}

/* =========================
   HERO
========================= */

.hero{
  height:100vh;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:1.2s ease;
  background-size:cover;
  background-position:center;
  filter:brightness(0.4) contrast(1.1);
  transform:scale(1.1);
}

.slide.active{
  opacity:1;
  transform:scale(1);
}

/* cinematic overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top, rgba(0,163,255,0.25), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
  pointer-events:none;
}

/* =========================
   HEADER
========================= */

header{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  z-index:10;
  backdrop-filter:blur(12px);
  background:rgba(0,0,0,0.35);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo img{
  height:52px;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}

/* =========================
   NAV
========================= */

nav a{
  color:#fff;
  text-decoration:none;
  margin-left:18px;
  opacity:0.8;
  transition:0.3s;
}

nav a:hover{
  opacity:1;
  color:#00a3ff;
}

/* =========================
   HERO CONTENT
========================= */

.hero-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  z-index:2;
  width:90%;
}

.hero-content h1{
  font-size:clamp(32px,5vw,60px);
  margin-bottom:10px;
}

.hero-content p{
  opacity:0.8;
  margin-bottom:20px;
  line-height:1.6;
}

/* =========================
   BUTTONS
========================= */

.buttons{
  display:flex;
  justify-content:center;
  gap:12px;
}

.btn{
  padding:12px 22px;
  background:#00a3ff;
  color:#fff;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,163,255,0.3);
}

/* =========================
   SECTIONS
========================= */

.section{
  padding:100px 20px;
  max-width:1100px;
  margin:auto;
  text-align:center;
}

.section h2{
  font-size:32px;
  margin-bottom:20px;
}

/* =========================
   GRID / CARDS
========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin-top:30px;
}

.card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:20px;
  border-radius:14px;
  transition:0.3s;
  backdrop-filter:blur(10px);
}

.card:hover{
  transform:translateY(-6px) scale(1.03);
  border-color:#00a3ff;
}

/* =========================
   REVIEWS (SIMPLE STABLE)
========================= */

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:30px;
}

.review-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:18px;
  border-radius:14px;
  transition:0.3s;
}

.review-card:hover{
  transform:translateY(-6px);
  border-color:#00a3ff;
}

.review-card p{
  font-size:14px;
  opacity:0.85;
  line-height:1.6;
  margin-bottom:10px;
}

.review-card span{
  font-size:12px;
  opacity:0.6;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form{
  max-width:600px;
  margin:40px auto;
  text-align:left;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(0,0,0,0.3);
  color:#fff;
}

.contact-form button{
  width:100%;
  padding:12px;
  background:#00a3ff;
  border:none;
  border-radius:10px;
  color:#fff;
  font-weight:600;
}

/* =========================
   FOOTER
========================= */

footer{
  text-align:center;
  padding:40px;
  opacity:0.6;
  border-top:1px solid rgba(255,255,255,0.08);
}
img{
  max-width:100%;
  height:auto;
}

/* HARD LOCK LOGO */
header .logo img,
footer .logo img,
.logo img{
  height:52px !important;
  width:auto !important;
  max-width:180px !important;
  object-fit:contain !important;
  display:block !important;
}

/* safety override na przypadki inline / dziwne style */
img[alt*="logo"],
img[src*="logo"]{
  height:52px !important;
  width:auto !important;
  max-height:52px !important;
}
/* =========================
   FINAL LOGO LOCK PRO
========================= */

.logo img,
.footer-logo img{
  height:52px !important;
  width:auto !important;
  max-width:180px !important;
  object-fit:contain !important;
  display:block !important;
}

/* safety fallback for ANY logo image */
img[alt*="Auto-System"],
img[src*="logo"]{
  max-height:52px !important;
  width:auto !important;
}
header{
  height:80px;
}

.footer-logo{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}
/* =========================
   LOGO HARD FIX (FINAL)
========================= */

header .logo img,
.header .logo img,
#loader .loader-logo img,
.logo img {
  height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
  transform: none !important;
  scale: 1 !important;
}

/* bezpieczeństwo przed rozciąganiem w flex */
header .logo,
.header .logo {
  display: flex !important;
  align-items: center !important;
}
/* =========================
   HEADER PRO MAX (SCROLL UX)
========================= */

header,
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:80px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  z-index:9999;

  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.08);

  transition:0.35s ease;
}

/* logo base */
header .logo img,
.header .logo img{
  height:48px !important;
  transition:0.3s ease;
}

/* nav */
header nav,
.header nav{
  display:flex;
  gap:18px;
}

header nav a{
  color:#fff;
  text-decoration:none;
  opacity:0.75;
  transition:0.2s;
  font-size:14px;
}

header nav a:hover{
  opacity:1;
  color:#00a3ff;
}

/* PHONE CTA */
.header-phone{
  background:#00a3ff;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

.header-phone:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,163,255,0.25);
}

/* =========================
   SCROLL STATE (JS CONTROLLED)
========================= */

header.scrolled,
.header.scrolled{
  height:65px;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(18px);
}

header.scrolled .logo img,
.header.scrolled .logo img{
  height:40px !important;
}
/* =========================
   HEADER NAV SPACING FIX
========================= */

header nav,
.header nav{
  display:flex;
  align-items:center;
  gap:28px; /* 🔥 główny fix odstępów */
}

/* linki bardziej “premium” */
header nav a{
  padding:8px 6px;
  letter-spacing:0.3px;
  position:relative;
}

/* hover underline effect (Apple style) */
header nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:#00a3ff;
  transition:0.3s;
}

header nav a:hover::after{
  width:100%;
}
header{
  padding:0 60px; /* więcej powietrza po bokach */
}
/* =========================
   SERVICES - GLOW CARDS PRO
========================= */

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
  margin-top:40px;
}

/* CARD PREMIUM */
.service-card{
  position:relative;
  padding:26px 22px;
  border-radius:16px;
  text-align:left;

  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(14px);

  transition:0.35s ease;
  overflow:hidden;
}

/* GLOW EFFECT */
.service-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:radial-gradient(circle at top left,
    rgba(0,163,255,0.35),
    transparent 60%);
  opacity:0;
  transition:0.4s;
 pointer-events: none;
}

/* LIGHT SWEEP */
.service-card::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(120deg,
    transparent,
    rgba(0,163,255,0.12),
    transparent);
  transition:0.6s;
   pointer-events: none;
}

/* HOVER STATE */
.service-card:hover{
  transform:translateY(-10px) scale(1.03);
  border-color:rgba(0,163,255,0.4);
  box-shadow:0 20px 50px rgba(0,163,255,0.15);
}

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

.service-card:hover::after{
  left:120%;
}

/* ICON */
.service-card .icon{
  font-size:28px;
  margin-bottom:10px;
  transition:0.3s;
}

.service-card:hover .icon{
  transform:scale(1.2) rotate(8deg);
  color:#00a3ff;
}

/* TITLE */
.service-card h3{
  font-size:16px;
  margin-bottom:8px;
}

/* DESCRIPTION */
.service-card p{
  font-size:13px;
  opacity:0.75;
  line-height:1.5;
}
body{
  padding-top:80px;
}
body{
  padding-top:80px;
  overflow-y:auto !important;
}
body{
  min-height:200vh !important;
}
/* =========================
   REVIEWS - APPLE GLASS PRO
========================= */

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  margin-top:40px;
}

/* CARD */
.review{
  position:relative;
  padding:22px;
  border-radius:16px;

  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(14px);

  transition:0.35s ease;
  transform-style:preserve-3d;
  overflow:hidden;
}

/* GLOW EDGE */
.review::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:1px;
  background:linear-gradient(135deg, transparent, rgba(0,163,255,0.5), transparent);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity:0.35;
  pointer-events:none;
}

/* LIGHT SWEEP */
.review::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(120deg, transparent, rgba(0,163,255,0.12), transparent);
  transition:0.6s;
}

.review:hover::after{
  left:120%;
}

/* HOVER 3D */
.review:hover{
  transform:translateY(-10px) rotateX(6deg) rotateY(-6deg);
  box-shadow:0 25px 60px rgba(0,163,255,0.15);
}

/* TEXT */
.review p{
  font-size:14px;
  line-height:1.7;
  opacity:0.85;
  margin-bottom:12px;
}

/* AUTHOR */
.review span{
  font-size:12px;
  opacity:0.6;
}

/* STARS */
.stars{
  color:#00a3ff;
  margin-bottom:10px;
  letter-spacing:1px;
}

/* FLOAT ANIMATION (subtle) */
@keyframes floatReview{
  0%{transform:translateY(0);}
  50%{transform:translateY(-4px);}
  100%{transform:translateY(0);}
}

.review{
  animation:floatReview 6s ease-in-out infinite;
}

/* stagger */
.review:nth-child(2){animation-delay:0.3s;}
.review:nth-child(3){animation-delay:0.6s;}
.review:nth-child(4){animation-delay:0.9s;}
.review:nth-child(5){animation-delay:1.2s;}
.review:nth-child(6){animation-delay:1.5s;}
/* =========================
   WHATSAPP FLOAT BUTTON PRO
========================= */

.whatsapp-btn{
  position:fixed;
  right:20px;
  bottom:20px;
  background:#25D366;
  color:#fff;
  padding:14px 18px;
  border-radius:50px;
  font-weight:600;
  text-decoration:none;
  z-index:9999;

  display:flex;
  align-items:center;
  gap:8px;

  box-shadow:0 10px 30px rgba(37,211,102,0.35);

  transition:0.3s ease;
  animation:pulseWhatsApp 2.2s infinite;
}

.whatsapp-btn:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:0 15px 40px rgba(37,211,102,0.5);
}

/* puls */
@keyframes pulseWhatsApp{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}
/* =========================
   BRANDS SECTION
========================= */

#brands{
  background: linear-gradient(180deg, #0e1422, #0b0f17);
  padding:120px 20px;
}

#brands p{
  opacity:0.7;
  margin-top:10px;
}

.brands-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:18px;
  margin-top:50px;
}

/* CARD */
.brand-card{
  padding:18px;
  text-align:center;
  border-radius:14px;

  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);

  font-weight:600;
  letter-spacing:1px;

  transition:0.3s;
  position:relative;
  overflow:hidden;
}

/* glow hover */
.brand-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top,
    rgba(0,163,255,0.25),
    transparent 70%);
  opacity:0;
  transition:0.4s;
}

.brand-card:hover{
  transform:translateY(-6px) scale(1.05);
  border-color:rgba(0,163,255,0.4);
}

.brand-card:hover::before{
  opacity:1;
}
/* =========================
   BRANDS PRO MAX
========================= */

.brands-pro{
  background: linear-gradient(180deg, #0b0f17, #0e1422);
  padding:120px 20px;
  overflow:hidden;
  position:relative;
}

/* soft glow */
.brands-pro::before{
  content:"";
  position:absolute;
  top:-200px;
  left:-200px;
  width:500px;
  height:500px;
  background:radial-gradient(circle, rgba(0,163,255,0.18), transparent 60%);
  filter:blur(80px);
}

.brands-pro p{
  opacity:0.7;
  margin-top:10px;
}

/* TRACK (marquee effect) */
.brands-track{
  display:flex;
  gap:22px;
  margin-top:60px;
  width:max-content;

  animation:scrollBrands 18s linear infinite;
}

/* BRAND CARD */
.brand{
  min-width:160px;
  padding:18px 20px;

  text-align:center;
  font-weight:700;
  letter-spacing:2px;

  border-radius:14px;

  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  transition:0.3s;
  position:relative;
  overflow:hidden;
}

/* glow hover */
.brand::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top,
    rgba(0,163,255,0.3),
    transparent 70%);
  opacity:0;
  transition:0.4s;
}

.brand:hover{
  transform:translateY(-6px) scale(1.08);
  border-color:rgba(0,163,255,0.4);
}

.brand:hover::before{
  opacity:1;
}

/* animation */
@keyframes scrollBrands{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}
/* =========================
   GALLERY PRO PLACEHOLDER
========================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:50px;
}

.gallery-item{
  height:180px;
  border-radius:16px;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));

  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);

  display:flex;
  align-items:center;
  justify-content:center;

  position:relative;
  overflow:hidden;

  transition:0.3s;
}

/* glow hover */
.gallery-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top,
    rgba(0,163,255,0.25),
    transparent 70%);
  opacity:0;
  transition:0.4s;
}

.gallery-item:hover{
  transform:translateY(-6px) scale(1.03);
  border-color:rgba(0,163,255,0.4);
}

.gallery-item:hover::before{
  opacity:1;
}

/* label */
.gallery-item span{
  opacity:0.6;
  font-size:14px;
  letter-spacing:1px;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:40px;
}

.gallery-item{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  transition:0.3s;
  backdrop-filter:blur(10px);
}

.gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:0.4s;
}

.gallery-item:hover{
  transform:translateY(-6px) scale(1.02);
  border-color:#00a3ff;
  box-shadow:0 20px 40px rgba(0,163,255,0.15);
}

.gallery-item:hover img{
    transform: scale(1);
}
.gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}
#about {
  padding: 120px 20px;
}

#about p {
  max-width: 800px;
  margin: 0 auto 18px auto;
  line-height: 1.8;
  font-size: 16px;
  opacity: 0.85;
  text-align: center;
}
#about h2 {
  margin-bottom: 20px;
}

#about p {
  max-width: 750px;
  margin: 0 auto 20px auto;
  line-height: 1.9;
}
/* O FIRMIE FIX */
#about {
  padding: 120px 20px;
}

#about h2 {
  margin-bottom: 30px;
}

#about p {
  max-width: 780px;
  margin: 0 auto 22px auto;
  line-height: 2;
  font-size: 16px;
  opacity: 0.85;
  text-align: center;
}
/* =========================
   ABOUT PRO (APPLE STYLE)
========================= */

.about-pro{
  padding:120px 20px;
}

.about-container{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

/* LEFT SIDE */
.about-text h2{
  font-size:34px;
  margin-bottom:20px;
}

.about-text p{
  line-height:2;
  opacity:0.85;
  margin-bottom:18px;
  font-size:16px;
  animation:fadeUp 0.8s ease forwards;
}

/* RIGHT SIDE CARDS */
.about-features{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.feature{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:18px;
  border-radius:14px;
  backdrop-filter:blur(12px);
  transition:0.3s ease;
  transform:translateY(10px);
  opacity:0;
  animation:fadeUp 0.8s ease forwards;
}

.feature:hover{
  transform:translateY(-5px) scale(1.02);
  border-color:#00a3ff;
  box-shadow:0 15px 40px rgba(0,163,255,0.15);
}

.feature .icon{
  font-size:22px;
  margin-bottom:8px;
}

.feature h3{
  margin-bottom:6px;
  font-size:16px;
}

.feature p{
  font-size:13px;
  opacity:0.75;
  line-height:1.6;
}

/* ANIMATION */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px){
  .about-container{
    grid-template-columns:1fr;
    gap:30px;
  }
}
/* =========================
   FACEBOOK FLOAT BUTTON
========================= */

.facebook-float{
    position:fixed;
    left:25px;
    bottom:25px;

    width:62px;
    height:62px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(135deg,#1877F2,#0A58CA);
    color:#fff;

    border-radius:50%;
    text-decoration:none;

    z-index:9999;

    box-shadow:
        0 0 12px rgba(24,119,242,.55),
        0 0 25px rgba(24,119,242,.45),
        0 0 45px rgba(24,119,242,.35);

    transition:.35s ease;

    animation:facebookGlow 2s infinite;
}

.facebook-float:hover{
    transform:scale(1.12);
    box-shadow:
        0 0 18px rgba(24,119,242,.8),
        0 0 40px rgba(24,119,242,.7),
        0 0 70px rgba(24,119,242,.55);
}

.facebook-float svg{
    width:28px;
    height:28px;
}

@keyframes facebookGlow{
    0%{
        box-shadow:
            0 0 10px rgba(24,119,242,.45),
            0 0 20px rgba(24,119,242,.35);
    }

    50%{
        box-shadow:
            0 0 22px rgba(24,119,242,.85),
            0 0 45px rgba(24,119,242,.65);
    }

    100%{
        box-shadow:
            0 0 10px rgba(24,119,242,.45),
            0 0 20px rgba(24,119,242,.35);
    }
}
.service-card summary{
    cursor:pointer;
    font-size:22px;
    font-weight:600;
    list-style:none;
}

.service-card summary::-webkit-details-marker{
    display:none;
}

.service-card p{
    margin-top:15px;
    line-height:1.7;
    color:#d0d0d0;
}
.map-container{
  max-width:1000px;
  margin:40px auto 0 auto;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 20px 50px rgba(0,0,0,0.4);
}
/* ==========================
   PULSUJĄCY BANER
========================== */

.promo-banner{
    width:100%;
    padding:30px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0b0b0b;
}

.promo-content{

    max-width:1200px;
    width:100%;

    padding:30px;

    text-align:center;

    font-size:2rem;
    font-weight:800;

    color:#fff;

    border:3px solid #ff2d2d;
    border-radius:18px;

    background:linear-gradient(
    90deg,
    #220000,
    #4a0000,
    #220000);

    box-shadow:
    0 0 20px rgba(255,0,0,.5),
    0 0 45px rgba(255,0,0,.3);

    animation:
    pulseGlow 2s infinite ease-in-out;

}

.promo-content span{

    color:#ff3b3b;

}

@keyframes pulseGlow{

0%{

transform:scale(1);

box-shadow:
0 0 15px rgba(255,0,0,.45),
0 0 30px rgba(255,0,0,.25);

}

50%{

transform:scale(1.025);

box-shadow:
0 0 35px rgba(255,0,0,.9),
0 0 80px rgba(255,0,0,.55);

}

100%{

transform:scale(1);

box-shadow:
0 0 15px rgba(255,0,0,.45),
0 0 30px rgba(255,0,0,.25);

}

}

@media(max-width:768px){

.promo-content{

font-size:1.3rem;
padding:22px;

}

}
.contact-info{
    text-align:center;
    margin-bottom:35px;
    font-size:18px;
    line-height:2;
}

.contact-info a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.contact-info a:hover{
    color:#c9a15d;
}
/* =========================
   APPLE CONTACT CARDS
========================= */

.contact-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:16px;
    margin:40px auto;
    max-width:900px;
}

.contact-card{
    position:relative;
    overflow:hidden;

   .contact-card{
    padding:18px 20px;
    border-radius:20px;
}

    background:rgba(255,255,255,.06);
    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.08);

    transition:all .45s cubic-bezier(.22,1,.36,1);

    box-shadow:
        0 15px 45px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.15);
}

/* Efekt światła */

.contact-card::before{

    content:"";
    position:absolute;
    inset:-2px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,0),
        rgba(201,161,93,.25)
    );

    opacity:0;
    transition:.45s;
}

/* Glow */

.contact-card::after{

    content:"";
    position:absolute;
    width:220px;
    height:220px;

    top:-110px;
    right:-90px;

    background:#c9a15d;

    filter:blur(90px);

    opacity:0;

    transition:.5s;
}

.contact-card:hover{

    transform:
        translateY(-12px)
        scale(1.03);

    border-color:rgba(201,161,93,.5);

    box-shadow:
        0 35px 80px rgba(0,0,0,.45),
        0 0 35px rgba(201,161,93,.20);
}

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

.contact-card:hover::after{
    opacity:.45;
}

.contact-icon{
    font-size:28px !important;
    margin-bottom:8px !important;
}

.contact-card:hover .contact-icon{

    transform:
        scale(1.15)
        rotate(-5deg);
}

.contact-card h3{
    font-size:16px !important;
    margin-bottom:6px;
}

.contact-card p,
.contact-card a{
    font-size:13px !important;
    line-height:1.4;
}

    transition:.35s;
}

.contact-card:hover a{

    color:#fff;
}
.contact-card{
    padding:14px 16px !important;
    border-radius:18px;
}
.contact-card *{
    margin:0;
}
.contact-card{
    transform:none !important;
}
.contact-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap:12px !important;
  max-width:850px;
  margin:30px auto !important;
}

.contact-card{
  padding:10px 12px !important;
  min-height:auto !important;
  border-radius:14px !important;

  display:flex;
  align-items:center;
  gap:10px;
}

.contact-icon{
  font-size:22px !important;
  width:34px;
  height:34px;
  margin:0 !important;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-card h3{
  font-size:14px !important;
  margin:0 !important;
}

.contact-card p,
.contact-card a{
  font-size:12px !important;
  margin:0 !important;
  line-height:1.3 !important;
}
.contact-cards{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  max-width:600px !important;
  margin:30px auto !important;
}

.contact-card{
  display:flex !important;
  align-items:center !important;

  padding:10px 12px !important;
  border-radius:12px !important;

  min-height:auto !important;
  width:100% !important;
}

.contact-icon{
  font-size:20px !important;
  width:32px !important;
  height:32px !important;
  margin:0 !important;
  flex-shrink:0 !important;
}

.contact-card h3{
  font-size:14px !important;
  margin:0 !important;
}

.contact-card p,
.contact-card a{
  font-size:12px !important;
  margin:0 !important;
  opacity:0.8;
}
/* =========================
   GALLERY ZOOM PRO
========================= */

.gallery-item{
  overflow:hidden;
  cursor:pointer;
}

.gallery-item img{
  transition:0.6s ease;
  transform:scale(1);
}

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

@media (max-width:768px){
  .gallery-item:hover img{
    transform:scale(1.08);
  }
}
header .logo img{
  height:72px !important;
  max-width:220px !important;
}
.reviews-section{
  padding:80px 20px;
  text-align:center;
}

.reviews-header h2{
  font-size:36px;
  margin-bottom:10px;
}

.reviews-header p{
  color:#aaa;
  margin-bottom:40px;
}

.reviews-wrapper{
  position:relative;
  max-width:1200px;
  margin:auto;
  overflow:hidden;
}

.reviews-track{
  display:flex;
  transition:transform 0.5s ease;
  gap:20px;
}

.review-card{
  min-width:320px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:20px;
  backdrop-filter:blur(12px);
  text-align:left;
}

.review-card:hover{
  transform:translateY(-5px);
  transition:0.3s;
}

.top{
  display:flex;
  gap:15px;
  align-items:center;
  margin-bottom:10px;
}

.avatar{
  width:45px;
  height:45px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff7a00,#ffb300);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  color:#fff;
}

.tag{
  font-size:12px;
  color:#ffb300;
}

.stars{
  color:#ffd700;
  margin-bottom:10px;
}

.review-card p{
  color:#ddd;
  font-size:14px;
  line-height:1.6;
}

.rev-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}

.rev-btn.prev{left:0;}
.rev-btn.next{right:0;}

.google-link{
  margin-top:30px;
}

.google-link a{
  color:#ffb300;
  text-decoration:none;
  font-weight:bold;
}
/* ===================================================
   GALERIA REALIZACJI PREMIUM
=================================================== */

.gallery-section{
    padding:120px 8%;
}

.gallery-subtitle{
    max-width:700px;
    margin:20px auto 60px;
    text-align:center;
    color:#bdbdbd;
    font-size:1.05rem;
    line-height:1.8;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:24px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    cursor:pointer;
    background:#171717;
    box-shadow:
        0 10px 30px rgba(0,0,0,.35);
    transition:.4s;
}

.gallery-item:hover{
    transform:translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0,0,0,.45);
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    transition:.6s;
}

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

/* Efekt połysku */

.gallery-item::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );
    transition:.8s;
    z-index:2;
}

.gallery-item:hover::before{
    left:170%;
}

/* =====================
   LIGHTBOX
===================== */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:99999;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:90%;
    max-height:85%;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.5);
    animation:zoom .35s ease;
   box-shadow:
    0 25px 80px rgba(0,0,0,.65),
    0 8px 30px rgba(0,0,0,.35);

transition:
    opacity .28s ease,
    transform .28s ease;
}

@keyframes zoom{

    from{
        transform:scale(.8);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

.close{
    position:absolute;
    top:30px;
    right:40px;
    font-size:42px;
    color:white;
    cursor:pointer;
    user-select:none;
}

/* =========================
   LIGHTBOX BUTTONS PRO
========================= */

.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:56px;
    height:56px;
    border:none;
    border-radius:50%;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;
    color:#fff;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.12);

    transition:.25s ease;
    z-index:1005;
}

.lightbox-prev{
    left:30px;
}

.lightbox-next{
    right:30px;
}

.lightbox-prev:hover,
.lightbox-next:hover{
    background:rgba(255,255,255,.18);
    transform:translateY(-50%) scale(1.08);
}

.close{
    position:absolute;
    top:25px;
    right:25px;

    width:52px;
    height:52px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:34px;
    color:#fff;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.12);

    cursor:pointer;
    transition:.25s ease;
    z-index:1005;
}

.close:hover{
    background:#d32f2f;
    transform:scale(1.08);
}
/* =========================
   LIGHTBOX PRO
========================= */

.lightbox-counter{
    position:absolute;
    bottom:28px;
    left:50%;
    transform:translateX(-50%);
    padding:8px 16px;
    background:rgba(20,20,20,.65);
    backdrop-filter:blur(10px);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    font-size:14px;
    font-weight:600;
    letter-spacing:.5px;
    user-select:none;
    z-index:1002;
    transition:.3s;
}
#lightbox-img{
    border-radius: 18px;

    box-shadow:
        0 0 0 2px rgba(0, 140, 255, 0.8),
        0 0 15px rgba(0, 140, 255, 0.6),
        0 0 40px rgba(0, 140, 255, 0.4),
        0 0 80px rgba(0, 140, 255, 0.25);
}
.gallery-tabs{
    display:flex;
    gap:10px;
    justify-content:center;
    margin:20px 0;
    flex-wrap:wrap;
}

.tab{
    padding:10px 18px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,0.2);
    background:transparent;
    color:white;
    cursor:pointer;
    transition:.2s;
}

.tab:hover{
    background:rgba(0,140,255,0.2);
}

.tab.active{
    background:rgba(0,140,255,0.4);
    box-shadow:0 0 20px rgba(0,140,255,0.3);
}
.gallery-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

.gallery-item img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.gallery-item:hover img{
    transform: scale(1.05);
}
.reviews-wrapper {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.review-card {
  min-width: 300px;
  flex-shrink: 0;
}
#kontakt a {
    color: #ffffff !important;
}
#kontakt .phone,
#kontakt .email,
#kontakt a {
    color: #ffffff !important;
}
#kontakt a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

#kontakt a:hover {
    color: #00c3ff;
    text-shadow: 0 0 8px rgba(0,195,255,0.6);
}
/* ===== KONTAKT - BIAŁE TEKSTY ===== */

#contact h2,
#contact h3,
#contact p,
#contact a {
  color: #fff !important;
}

/* jeśli ikonki też mają być jaśniejsze */
#contact svg {
  color: #fff;
  stroke: #fff;
}
#contact a {
  text-decoration: none;
  opacity: 0.9;
}

#contact a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* WSPÓLNY EFEKT KAFELKÓW (USŁUGI + REALIZACJE) */
.service-card,
.realization-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

/* HOVER EFFECT */
.service-card:hover,
.realization-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
#contact a {
  color: #fff !important;
  opacity: 1 !important;
  text-decoration: none;
}
#contact a {
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}
.contact-card::before,
.contact-card::after {
  pointer-events: none !important;
}
.contact-card a,
.contact-card p {
  position: relative;
  z-index: 5;
}
.gallery-item img {
  will-change: transform;
  transform: translateZ(0);
}

.lightbox img {
  will-change: opacity, transform;
}
.partners-section {
  padding: 60px 20px;
  background: #0f0f0f;
  text-align: center;
}

.partners-section h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  align-items: center;
  justify-items: center;
}

.partners-grid img {
  max-width: 130px;
  max-height: 70px;
  filter: grayscale(0%);
  opacity: 1;
  transition: 0.3s;
}

.partners-grid img:hover {
  transform: scale(1.08);
}
