@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #1c1f24;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --accent: #ffc107;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  background-image: url('img/podnosnik.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Sans', 'Inter', 'Segoe UI', sans-serif;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

button, input {
  font-family: 'DM Sans', 'Inter', 'Segoe UI', sans-serif;
}

p, ul, ol, figure {
  margin: 0;
}

img, picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}



/* Na mobile usuń tło z obrazem i zostaw tylko gradient */
@media (max-width: 768px) {
  body {
    background-color: var(--bg);
    background-image: linear-gradient(to bottom, rgba(28, 31, 36, 0.92), rgba(28, 31, 36, 0.88));
    background-attachment: scroll; /* dodatkowo wyłącz fixed na mobile */
  }
}


main {
    flex: 1;
}

/* Globalne zabezpieczenie przed overflow na małych ekranach */
@media (max-width: 480px) {
  main,
  section,
  .contact,
  .contact-section,
  .contact-section__inner,
  .contact-section__form,
  .contact-section__map {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Zapobiegaj overflow z padding/margin */
  img,
  iframe,
  video,
  table {
    max-width: 100%;
  }
}

/* SEO SECTION - przejrzysta, bez żółtej ramki */
.seo-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 30px 20px;
  background-color: rgba(46,46,46,0.5);
  border-left: none;
  border-radius: 12px;
  color: #f1f1f1;
  line-height: 1.6;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px); /* delikatne rozmycie tła */
}

.seo-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px #000;
}

.seo-section p {
  margin: 0;
  color: #ffc107;
}


/* =============================== */
/* GALERIA                        */
/* =============================== */
.gallery {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery h2 {
    font-size: 32px;
    color: #FFD700;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery figure {
    background: #212121;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.gallery figure:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.gallery img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.gallery figcaption {
    padding: 15px;
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.9);
    font-weight: 600;
    text-align: center;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox__close:hover {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
  transform: rotate(90deg);
}

.lightbox__image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox__caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 21, 27, 0.9);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  color: white;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  max-width: 80%;
  text-align: center;
}


/* =============================== */
/* SEKCJE I KONTAKT               */
/* =============================== */
section:not(.hero):not(.hero-benefits):not(.services-lead):not(.contact-section) {
    margin: 24px auto;
    padding: clamp(1.5rem, 4vw, 2rem);
    max-width: 1120px;
    background: linear-gradient(135deg, rgba(18, 21, 27, 0.78), rgba(22, 25, 32, 0.68));
    color: #F5F5F5;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}

.contact-box {
    background: rgba(33, 33, 33, 0.75);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFC107;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 10px 0;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #fff;
}

.contact-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 2px #000);
}
/* =============================== */
/* STOPKA - NOWA                  */
/* =============================== */
.site-footer {
  background: linear-gradient(135deg, rgba(18, 21, 27, 0.98), rgba(22, 26, 33, 0.95));
  border-top: 1px solid rgba(255, 193, 7, 0.15);
  color: rgba(245, 245, 245, 0.85);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 4rem) 0;
  backdrop-filter: blur(8px);
  position: relative;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
  }
}

.site-footer__brand {
  display: grid;
  gap: 1rem;
}

.site-footer__logo {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.65);
  line-height: 1.5;
  max-width: 32ch;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.12);
  color: var(--accent);
  transition: all 0.3s ease;
  text-decoration: none;
}

.site-footer__social a:hover {
  background: var(--accent);
  color: #111;
  transform: translateY(-3px);
}

.site-footer__social svg {
  fill: currentColor;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.site-footer__nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer__nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer__nav a {
  color: rgba(245, 245, 245, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.6;
}

.site-footer__nav a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.site-footer__address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.75);
}

.site-footer__address strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.site-footer__address a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__address a:hover {
  color: rgba(255, 193, 7, 0.8);
  text-decoration: underline;
}

.site-footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.5);
}

@media (max-width: 900px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__logo {
    max-width: 140px;
  }
}


/* TELEFON MOBILE */
.mobile-call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #FFC107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite;
}

/* Telefon jako ikona w tle (SVG w kolorze czarnym) */
.mobile-call-btn::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000" viewBox="0 0 24 24"><path d="M6.62 10.79a15.464 15.464 0 006.59 6.59l2.2-2.2a1 1 0 011.05-.24c1.12.37 2.33.57 3.54.57a1 1 0 011 1v3.52a1 1 0 01-1 1C10.07 22 2 13.93 2 4a1 1 0 011-1h3.52a1 1 0 011 1c0 1.21.2 2.42.57 3.54.12.35.04.74-.24 1.05l-2.23 2.2z"/></svg>') no-repeat center/contain;
}

/* Hover i pulsowanie */
.mobile-call-btn:hover {
  background: #e6ad06;
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Pokazuj tylko na mobile */
@media (min-width: 769px) {
  .mobile-call-btn { display: none; }
}




/* =============================== */
/* PRELOADER                       */
/* =============================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, rgba(18, 21, 27, 1), rgba(22, 26, 33, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.preloader--hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  max-width: clamp(180px, 25vw, 280px);
  height: auto;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(255, 193, 7, 0.4));
}

@keyframes preloaderPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Disable animations for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }

  .preloader.preloader--hidden {
    display: none;
  }

  .preloader__logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =============================== */
/* COOKIE BANNER & MODAL - NOWE   */
/* =============================== */

/* Cookie Banner (fixed bottom) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(18, 21, 27, 0.98), rgba(22, 26, 33, 0.96));
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 193, 7, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  animation: slideUpBanner 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-banner__text a:hover {
  color: rgba(255, 193, 7, 0.8);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cookie-btn--primary {
  background: var(--accent);
  color: #111;
}

.cookie-btn--primary:hover {
  background: rgba(255, 193, 7, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
}

.cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 245, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 193, 7, 0.4);
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(245, 245, 245, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.cookie-modal[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(18, 21, 27, 0.98), rgba(22, 26, 33, 0.96));
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 193, 7, 0.2);
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-modal__close {
  position: absolute;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 245, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cookie-modal__close:hover {
  background: rgba(255, 193, 7, 0.2);
  color: var(--accent);
  transform: rotate(90deg);
}

.cookie-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.cookie-modal__description {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
  line-height: 1.6;
}

.cookie-modal__preferences {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-preference {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.cookie-preference:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 193, 7, 0.2);
}

.cookie-preference__header {
  margin-bottom: 0.5rem;
}

.cookie-preference__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.cookie-preference__label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.cookie-preference__label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-preference__desc {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.6);
  line-height: 1.5;
  padding-left: 2rem;
}

.cookie-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 140px;
  }

  .cookie-modal__actions {
    flex-direction: column;
  }

  .cookie-modal__actions .cookie-btn {
    width: 100%;
  }
}
/* ========================================= */
/* PROFESJONALNE ANIMACJE - SUBTELNE        */
/* ========================================= */

/* === 1. ANIMACJE ŁADOWANIA STRONY === */

/* Fade-in dla całej strony */
body {
  animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide down dla headera */
.site-header {
  animation: headerReveal 0.24s ease-out;
}

@keyframes headerReveal {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 3. ANIMACJE SCROLL (wymagają JS) === */

/* Klasa dodawana przez JS gdy element jest widoczny */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Warianty dla różnych kierunków */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease-out;
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-40px, 0, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(40px, 0, 0);
}

.reveal[data-reveal="scale"] {
  transform: translate3d(0, 24px, 0) scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal.is-visible[data-reveal="scale"] {
  transform: translate3d(0, 0, 0) scale(1);
}

/* === 4. ULEPSZONE ANIMACJE HOVER === */

/* Przyciski */
.sprawdz, .kontakt_btn, .btn {
  position: relative;
  overflow: hidden;
}

.sprawdz::before, .kontakt_btn::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.sprawdz:hover::before, .kontakt_btn:hover::before, .btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Menu items */
.site-nav__link {
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FFC107;
  transform: translateX(-50%);
  transition: width 200ms ease-out, opacity 200ms ease-out;
  opacity: 0;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  opacity: 1;
  width: 100%;
}

/* === 5. ANIMACJE GALERII === */

.gallery figure {
  animation: fadeInScale 0.6s ease-out backwards;
  animation-delay: calc(var(--index) * 0.1s);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  transition: background 0.3s ease;
}

/* === 6. ANIMACJE SERVICE BOXES === */

.service-box {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: calc(var(--index) * 0.15s);
}

.service-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
  pointer-events: none;
}

.service-box:hover::before {
  opacity: 1;
}

.service-box img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.service-box:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* === 7. ANIMACJE BRAND CARDS === */

.brand-card {
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: calc(var(--index) * 0.1s);
}

.brand-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFC107, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.brand-card:hover::after {
  transform: scaleX(1);
}

/* === 8. ANIMACJE ACCORDION === */

details summary {
  transition: all 0.3s ease;
}

details[open] summary {
  animation: summaryOpen 0.3s ease;
}

@keyframes summaryOpen {
  from {
    background: transparent;
  }
  to {
    background: linear-gradient(180deg, rgba(255,215,0,.1), transparent);
  }
}

.details-body {
  animation: expandDown 0.4s ease-out;
}

@keyframes expandDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 9. ANIMACJE FORMULARZA === */

.form-group {
  animation: fadeInUp 0.5s ease-out backwards;
  animation-delay: calc(var(--index) * 0.1s);
}

input, textarea {
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* === 10. ANIMACJE LOGO === */

.logo-header {
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* === 11. ANIMACJE SEO SECTION === */

.seo-section {
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.seo-section:hover {
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
}

/* === 12. ANIMACJE CONTACT BOX === */

.contact-link {
  position: relative;
  transition: all 0.3s ease;
}

.contact-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #FFC107;
  transition: width 0.3s ease;
}

.contact-link:hover::before {
  width: 100%;
}

.contact-icon {
  transition: transform 0.3s ease;
}

.contact-link:hover .contact-icon {
  transform: scale(1.2) rotate(5deg);
}

/* === 13. ANIMACJE CTA BAR === */

.cta-bar {
  animation: slideInFromBottom 0.6s ease-out;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 14. ANIMACJE CHIP/ECO CARDS === */

.chip__card {
  animation: fadeInScale 0.5s ease-out backwards;
  animation-delay: calc(var(--index) * 0.1s);
}

.stat {
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: calc(var(--index) * 0.15s);
}

.stat b {
  display: inline-block;
  animation: countUp 1s ease-out 0.5s backwards;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 15. LOADING SPINNER (opcjonalny) === */

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 193, 7, 0.2);
  border-top-color: #FFC107;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === 16. SMOOTH SCROLL === */

html {
  scroll-behavior: smooth;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(18, 21, 27, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.7), rgba(255, 193, 7, 0.4));
  border-radius: 6px;
  border: 2px solid rgba(18, 21, 27, 0.95);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.6));
}

::-webkit-scrollbar-thumb:active {
  background: var(--accent);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 193, 7, 0.6) rgba(18, 21, 27, 0.95);
}

/* === 17. REDUCE MOTION dla użytkowników z preferencjami === */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero::before,
  .hero__content {
    animation: none !important;
  }
}

/* === 18. MOBILE CALL BUTTON - ulepszone === */

.mobile-call-btn {
  animation: fadeInScale 0.5s ease-out 1s backwards, pulse 2s infinite 1.5s;
}

/* === 19. COOKIE POPUP === */

#cookie-popup {
  animation: fadeIn 0.4s ease-out;
}

.cookie-box {
  animation: slideUpBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideUpBounce {
  0% {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* === 20. STAGGERED ANIMATIONS - helper classes === */

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
/* =============================== */
/* HEADER & NAVIGATION            */
/* =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(18, 21, 27, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: background-color 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
}

.site-header[data-sticky].is-scrolled {
  background: rgba(18, 21, 27, 0.92);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1.25rem, 5vw, 3rem);
  position: relative;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.site-header__logo img {
  height: clamp(58px, 16vw, 88px);
  width: auto;
  display: block;
}

.site-header__logo:hover,
.site-header__logo:focus-visible {
  transform: translateY(-4px);
  opacity: 0.88;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  width: min(92vw, 360px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -16px);
  transform-origin: top center;
  pointer-events: none;
  transition: transform 220ms ease-out, opacity 200ms ease-out, max-height 260ms ease-out;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  z-index: 10;
}

.site-header.is-open .site-nav {
  max-height: calc(100vh - 96px);
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  background: linear-gradient(145deg, rgba(16, 19, 26, 0.96), rgba(20, 24, 32, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.44);
  padding: 0.4rem 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-nav.is-open {
  max-height: calc(100vh - 80px);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0.85rem clamp(1.2rem, 6vw, 2.4rem);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  padding: 0.35rem 0;
  transition: transform 200ms ease-out, opacity 200ms ease-out, color 200ms ease-out;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  transform: translateY(-4px);
  opacity: 0.85;
  color: var(--accent);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.site-header__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 1.6rem 0.65rem 3.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, 0.45);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.98), rgba(255, 168, 0, 0.88));
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.32), 0 6px 12px rgba(0, 0, 0, 0.38);
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.site-header__cta::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background:
    rgba(17, 17, 17, 0.18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23111111' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2a1 1 0 011.02-.24c1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20a1 1 0 01-1 1C9.61 21 3 14.39 3 6.5 3 5.95 3.45 5.5 4 5.5H7.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/1.1rem 1.1rem no-repeat;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(255, 193, 7, 0.42), 0 8px 16px rgba(0, 0, 0, 0.45);
  color: #111;
}

.site-header__cta:focus-visible {
  outline: 2px solid rgba(255, 222, 173, 0.7);
  outline-offset: 4px;
}

.site-header__cta-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
}

.site-header__cta-phone {
  font-weight: 700;
  font-size: 1.05rem;
}

.site-header__toggle {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 193, 7, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(255, 193, 7, 0.14), transparent 65%), rgba(24, 27, 34, 0.85);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.site-header__toggle:hover,
.site-header__toggle:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 193, 7, 0.65);
  background: radial-gradient(circle at 30% 30%, rgba(255, 193, 7, 0.2), transparent 60%), rgba(32, 36, 44, 0.95);
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.24), 0 6px 14px rgba(0, 0, 0, 0.35);
}

.site-header__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header__toggle-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
  opacity: 1;
}

.site-header__toggle-line:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-7px);
}

.site-header__toggle-line:nth-child(2) {
  transform: translate(-50%, -50%);
}

.site-header__toggle-line:nth-child(3) {
  transform: translate(-50%, -50%) translateY(7px);
}

.site-header.is-open .site-header__toggle-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .site-header__toggle-line:nth-child(2) {
  transform: translate(-50%, -50%) scaleX(0);
  opacity: 0;
}

.site-header.is-open .site-header__toggle-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 600px) {
  .site-header__inner {
    gap: 0.6rem;
  }

  .site-header__actions {
    gap: 0.55rem;
  }

  .site-header__cta {
    padding: 0.55rem 1.35rem 0.55rem 3.1rem;
  }

  .site-header__cta::before {
    left: 0.85rem;
    width: 1.9rem;
    height: 1.9rem;
  }

  .site-header__cta-phone {
    font-size: 0.98rem;
  }

  .site-header__cta-label {
    font-size: 0.62rem;
  }

  .site-nav__list {
    padding: 0.9rem clamp(1.25rem, 8vw, 2.4rem) 1.35rem;
  }
}

@media (max-width: 420px) {
  .site-header__actions {
    gap: 0.45rem;
  }

  .site-header__cta {
    padding: 0.5rem 1.1rem 0.5rem 2.85rem;
  }

  .site-header__cta::before {
    left: 0.7rem;
    width: 1.75rem;
    height: 1.75rem;
  }

  .site-header__cta-phone {
    font-size: 0.94rem;
  }

  .site-header__cta-label {
    letter-spacing: 0.16em;
  }
}

@media (max-width: 380px) {
  .site-header__inner {
    padding: 0.4rem 0.5rem;
  }

  .site-header__logo img {
    height: 42px;
  }

  .site-header__toggle {
    padding: 0.4rem;
    transform: scale(0.85);
  }
}

/* =============================== */
/* HERO INTRO                      */
/* =============================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: clamp(28rem, 60vw, 42rem);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  color: var(--text);
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  opacity:85%;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  background: url('img/podnosnik.jpg') center / cover no-repeat;
  filter: blur(28px) saturate(130%) brightness(0.85);
  transform: scale(1.15);
  opacity: 0.55;
  animation: heroBackgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes heroBackgroundPulse {
  0% {
    transform: scale(1.15);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.18);
    opacity: 0.48;
  }
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(18, 21, 27, 0.92) 0%, rgba(20, 25, 34, 0.85) 50%, rgba(22, 26, 32, 0.92) 100%),
    radial-gradient(circle at 15% 25%, rgba(255, 193, 7, 0.35), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(12, 16, 24, 0.7), transparent 65%);
}

.hero__content {
  max-width: clamp(36rem, 65vw, 48rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 2.2rem);
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  animation: heroContentFloat 6s ease-in-out infinite;
}

@keyframes heroContentFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero h1 {
  margin: 0;
  font-family: 'DM Sans', 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(2.9rem, 6.5vw, 4.2rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  text-shadow:
    0 2px 8px rgba(255, 193, 7, 0.5),
    0 18px 36px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
}

.hero__lead {
  margin: 0;
  color: rgba(245, 245, 245, 0.82);
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero__actions .cta-btn {
  position: relative;
  overflow: hidden;
}

.hero__actions .cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.hero__actions .cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero__lead {
  margin: 0;
  color: rgba(245, 245, 245, 0.85);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .hero {
    padding-top: clamp(4rem, 14vw, 5.5rem);
    padding-bottom: clamp(3rem, 12vw, 4.5rem);
  }

  .hero__actions {
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
  }

  .site-nav {
    position: static;
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    width: auto;
    left: auto;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }

  .site-nav__link {
    font-size: 1rem;
  }

  .site-header__actions {
    margin-left: 0;
    gap: clamp(0.8rem, 2.5vw, 1.2rem);
  }

  .site-header__cta {
    padding: 0.6rem 1.6rem 0.6rem 3.6rem;
  }

  .site-header__toggle {
    display: none;
  }
}

/* =============================== */
/* HERO BENEFITS                   */
/* =============================== */
.hero-benefits {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 7vw, 4.75rem) clamp(2.5rem, 7vw, 5.5rem);
}

.hero-benefits__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(140deg, rgba(16, 20, 27, 0.92), rgba(24, 28, 34, 0.82));
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-benefits__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.hero-benefits__title {
  font-family: 'DM Sans', 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.hero-benefits__lead {
  margin: 0;
  max-width: 52ch;
  color: rgba(245, 245, 245, 0.82);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.hero-benefits__list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-benefits__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 21, 27, 0.6);
  transition: transform 200ms ease-out, border-color 200ms ease-out, background-color 200ms ease-out, box-shadow 200ms ease-out;
}

.hero-benefits__item:hover,
.hero-benefits__item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.38);
  background: rgba(255, 193, 7, 0.12);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
}

.hero-benefits__icon {
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.18);
}

.hero-benefits__icon svg {
  width: 22px;
  height: 22px;
}

.hero-benefits__text {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-benefits__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.95rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease-out, box-shadow 220ms ease-out, background-color 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out;
}

.cta-btn--primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 18px 32px rgba(255, 193, 7, 0.25);
}

.cta-btn--primary:hover,
.cta-btn--primary:focus-visible {
  transform: translateY(-4px);
  background: #ffd75a;
  box-shadow: 0 20px 38px rgba(255, 193, 7, 0.32);
}

.cta-btn--ghost {
  background: transparent;
  border-color: rgba(255, 193, 7, 0.4);
  color: var(--text);
}

.cta-btn--ghost:hover,
.cta-btn--ghost:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--accent);
}

.cta-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.cta-btn--secondary:hover,
.cta-btn--secondary:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 193, 7, 0.4);
  color: var(--text);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease-out, box-shadow 220ms ease-out, background-color 220ms ease-out;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px);
  background: #ffd75a;
  box-shadow: 0 18px 30px rgba(255, 193, 7, 0.32);
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(255, 193, 7, 0.22);
}

.btn--gold {
  background: var(--accent);
  color: #111;
  border: 1px solid transparent;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: #ffd75a;
  color: #111;
}

.service-overview {
  padding: clamp(2.8rem, 6vw, 3.8rem) clamp(1.5rem, 6vw, 4rem);
}

.service-overview__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: start;
}

.service-overview__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.service-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}

.service-overview__content {
  display: grid;
  gap: 1rem;
  color: rgba(245, 245, 245, 0.85);
}

.service-overview__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: rgba(245, 245, 245, 0.78);
}

.service-table {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.service-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18, 21, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.service-table thead {
  background: var(--accent);
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-table th,
.service-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.service-table tr:last-child td {
  border-bottom: none;
}

.service-table__note {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(245, 245, 245, 0.6);
}

.service-overview__cta {
  justify-self: start;
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .service-overview__inner {
    grid-template-columns: 1fr;
  }

  .service-overview__media,
  .service-overview__content {
    width: 100%;
  }

  .service-overview__cta {
    width: 100%;
    justify-content: center;
  }
}

.hero-benefits__visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: clamp(280px, 45vw, 420px);
  background: radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.18), transparent 60%), rgba(18, 20, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.hero-benefits__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: lighten;
  filter: saturate(1.1);
}

/* =============================== */
/* PAGE HERO & SERVICES LIBRARY    */
/* =============================== */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
}

.page-hero__inner {
  width: min(1180px, 100%);
  text-align: center;
  display: grid;
  gap: 0.9rem;
}

.page-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 193, 7, 0.8);
}

.page-hero__lead {
  margin: 0 auto;
  max-width: 58ch;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.65;
}

.services-library {
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 6vw, 4rem) clamp(3rem, 7vw, 4.5rem);
  display: flex;
  justify-content: center;
}

.services-library__inner {
  width: min(1180px, 100%);
  display: grid;
  gap: 2rem;
}

.services-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.services-filter__btn {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out;
}

.services-filter__btn:hover,
.services-filter__btn:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.15);
}

.services-filter__btn.is-active {
  border-color: rgba(255, 193, 7, 0.65);
  background: rgba(255, 193, 7, 0.25);
  color: #111;
}

.services-library__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.services-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.9rem 1.8rem;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(18, 21, 27, 0.82), rgba(22, 26, 33, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.services-card:hover,
.services-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 193, 7, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.services-card__icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 193, 7, 0.18);
}

.services-card h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
}

.services-card p {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.6;
}

.services-card__link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.services-card__link::after {
  content: "→";
  font-size: 1rem;
  transition: transform 160ms ease-out;
}

.services-card__link:hover::after,
.services-card__link:focus-visible::after {
  transform: translateX(4px);
}

.services-card[hidden] {
  display: none;
}

/* =============================== */
/* SERVICES LEAD GRID              */
/* =============================== */
.services-lead {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 4rem) clamp(1rem, 6vw, 3.5rem);
  display: flex;
  justify-content: center;
}

.services-lead__grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.4rem);
}

.services-lead__card {
  background: linear-gradient(140deg, rgba(18, 21, 27, 0.82), rgba(22, 26, 33, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}

.services-lead__card:hover,
.services-lead__card:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 193, 7, 0.32);
}

.services-lead__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.services-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(0.98);
  transition: transform 220ms ease-out;
}

.services-lead__card:hover .services-lead__media img,
.services-lead__card:focus-within .services-lead__media img {
  transform: scale(1.04);
}

.services-lead__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem 1.8rem 1.9rem;
  flex: 1;
}

.services-lead__body h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 1.4rem);
  font-family: 'DM Sans', 'Inter', 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
  color: var(--text);
}

.services-lead__body p {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.6;
}

.services-lead__cta {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.services-lead__cta:hover,
.services-lead__cta:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 193, 7, 0.18);
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.services-lead__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (min-width: 1100px) {
  .services-lead__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =============================== */
/* CONTACT SECTION                 */
/* =============================== */
.contact-section {
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
}

.contact-section__inner {
  width: min(1180px, 100%);
  background: linear-gradient(135deg, rgba(17, 20, 26, 0.9), rgba(21, 24, 31, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 3rem);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  backdrop-filter: blur(18px);
}

.contact-section__form,
.contact-section__map {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-section__form h2,
.contact-section__map h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.1vw, 2.2rem);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 18, 0.58);
  color: var(--text);
  font: inherit;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23FFC107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-row select option {
  background: rgba(18, 21, 27, 0.98);
  color: var(--text);
  padding: 0.5rem;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid rgba(255, 193, 7, 0.6);
  outline-offset: 2px;
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.12);
  background: rgba(18, 21, 28, 0.85);
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.form-row--checkbox label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.5;
}

.form-row--checkbox input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 0;
  border-radius: 6px;
  border: 2px solid rgba(255, 193, 7, 0.55);
  background-color: rgba(18, 21, 27, 0.92);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  flex-shrink: 0;
}

.form-row--checkbox input:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(255, 193, 7, 0.2);
}

.form-row--checkbox input:checked {
  border-color: rgba(255, 193, 7, 0.92);
  background-color: rgba(255, 193, 7, 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath fill='none' stroke='%23111111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M1 6l4 4 10-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 9px;
  box-shadow: 0 6px 14px rgba(255, 193, 7, 0.28);
}

.form-row--checkbox input:focus-visible {
  outline: 2px solid rgba(255, 193, 7, 0.75);
  outline-offset: 3px;
}

.form-hint {
  font-size: 0.78rem;
  color: rgba(245, 245, 245, 0.6);
  line-height: 1.4;
  margin-top: 0.25rem;
  display: block;
}

.form-hint--legal {
  margin-top: 0.5rem;
  line-height: 1.5;
}

.optional-text {
  font-size: 0.85em;
  font-weight: 400;
  color: #888; /* delikatnie szary kolor, mało kontrastowy */
  margin-left: 4px;
  font-style: italic;
}

.contact-section__submit {
  align-self: flex-start;
  margin-top: 1.5rem;
}

.contact-section__map-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.map-placeholder {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
  min-height: 240px;
  background: rgba(12, 14, 18, 0.45);
}

.map-placeholder iframe {
  width: 100%;
  min-height: 260px;
  border: none;
  display: block;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: rgba(245, 245, 245, 0.84);
}

.contact-details__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  line-height: 1.5;
}

.contact-details__item:hover {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
  transform: translateX(4px);
}

.contact-details__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-details__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-details__item > div {
  flex: 1;
  min-width: 0;
}

.contact-details__item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details__item a:hover {
  color: var(--accent);
}

.contact-details__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.6);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details__value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-section__call {
  align-self: flex-start;
}

@media (max-width: 960px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__call,
  .contact-section__submit {
    width: 100%;
    justify-content: center;
  }
}

/* Legacy kontakt.html */
.contact {
  width: min(780px, 100%);
  margin: clamp(2.5rem, 7vw, 4rem) auto;
  padding: clamp(2rem, 6vw, 3rem);
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(17, 20, 26, 0.92), rgba(24, 28, 34, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
  color: var(--text);
  display: grid;
  gap: 1.2rem;
}

.contact h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.4rem);
  text-align: center;
  color: var(--accent);
}

.contact form {
  display: grid;
  gap: 1rem;
}

.contact .form-group {
  display: grid;
  gap: 0.4rem;
}

.contact .form-group.radio {
  grid-auto-flow: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact label {
  font-weight: 600;
}

.contact input,
.contact textarea {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 18, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
}

.contact input:focus-visible,
.contact textarea:focus-visible {
  outline: 2px solid rgba(255, 193, 7, 0.6);
  outline-offset: 2px;
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.12);
  background: rgba(18, 21, 28, 0.85);
}

.contact textarea {
  min-height: 140px;
  resize: vertical;
}

.contact .btn {
  justify-self: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 220ms ease-out, background-color 220ms ease-out;
}

.contact .btn:hover,
.contact .btn:focus-visible {
  transform: translateY(-4px);
  background: #ffd75a;
  box-shadow: 0 18px 30px rgba(255, 193, 7, 0.32);
  outline: none;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .contact .form-group.radio {
    grid-auto-flow: row;
    justify-items: center;
  }
}

/* =============================== */
/* ABOUT SECTION / PAGE            */
/* =============================== */
.about-page {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

.about-hero {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(18, 21, 28, 0.92), rgba(22, 25, 33, 0.82)),
    radial-gradient(circle at 20% 10%, rgba(255, 193, 7, 0.18), transparent 65%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.about-hero__inner {
  width: min(1080px, 100%);
  display: grid;
  gap: 1.2rem;
  text-align: left;
}

.about-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 193, 7, 0.8);
  margin: 0 0 0.4rem;
}

.about-hero__lead {
  margin: 0;
  color: rgba(245, 245, 245, 0.82);
  line-height: 1.7;
  max-width: 70ch;
}

.about-overview {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
}

.about-overview__inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(140deg, rgba(17, 20, 26, 0.92), rgba(24, 28, 34, 0.82));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 32px 58px rgba(0, 0, 0, 0.34);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  backdrop-filter: blur(18px);
}

.about-overview__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: rgba(245, 245, 245, 0.9);
}

.about-overview__content h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  color: var(--accent);
  letter-spacing: -0.01em;
}

.about-overview__content p {
  margin: 0;
  line-height: 1.65;
}

.about-overview__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  color: rgba(245, 245, 245, 0.78);
}

.about__stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.about__stat-label {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.75);
}

.about-overview__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.2rem);
}

.about-overview__figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-overview__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}

.about-overview__gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease-out, border-color 200ms ease-out, background-color 200ms ease-out;
}

.about-overview__gallery-link:hover,
.about-overview__gallery-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 193, 7, 0.2);
  color: var(--text);
}

@media (max-width: 960px) {
  .about-overview__inner {
    grid-template-columns: 1fr;
  }
}

.about-values {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
}

.about-values__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 3vw, 1.6rem);
}

.about-values__item {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0.5rem;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about-values__item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 193, 7, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.about-values__item h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.15rem;
}

.about-values__item p {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.6;
}

.about-stats {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, rgba(16, 19, 25, 0.8), rgba(20, 24, 30, 0.7));
  border-top: 1px solid rgba(255, 193, 7, 0.1);
  border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.about-stats__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 3vw, 1.6rem);
}

.about__stat {
  padding: 1.4rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about__stat:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 20px rgba(255, 193, 7, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.about-cta {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
}

.about-cta__inner {
  width: min(940px, 100%);
  margin: 0 auto;
  background: linear-gradient(140deg, rgba(17, 20, 26, 0.92), rgba(24, 28, 34, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
  padding: clamp(2.2rem, 6vw, 3.4rem);
  display: grid;
  gap: 1.1rem;
  text-align: center;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =============================== */
/* BLOG TEASER                     */
/* =============================== */
.blog-teaser {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
}

.blog-teaser__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 21, 27, 0.72);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
  padding: clamp(2rem, 5vw, 3rem);
}

.blog-teaser__inner h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  color: var(--accent);
}

.blog-teaser__list {
  display: grid;
  gap: 1.25rem;
}

.blog-teaser__item {
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.blog-teaser__item:hover,
.blog-teaser__item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
}

.blog-teaser__item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.blog-teaser__item h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-teaser__item h3 a:hover,
.blog-teaser__item h3 a:focus-visible {
  color: var(--accent);
}

.blog-teaser__meta {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
}

.blog-teaser__meta a {
  color: var(--accent);
  text-decoration: none;
}

.blog-teaser__meta a:hover,
.blog-teaser__meta a:focus-visible {
  text-decoration: underline;
}

/* =============================== */
/* SERVICE DETAIL PAGES            */
/* =============================== */
.service-page {
  display: flex;

  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 3.5rem);


}

.service-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  color: var(--text);
  overflow: hidden;
}

.service-hero::before,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.service-hero::before {
  background: var(--service-hero-img, none) center/cover no-repeat;
  filter: blur(24px) saturate(115%);
  transform: scale(1.1);
  opacity: 0.42;
}

.service-hero::after {
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(16, 20, 28, 0.9), rgba(18, 22, 30, 0.88)),
    radial-gradient(circle at 20% 10%, rgba(255, 193, 7, 0.22), transparent 60%);
}

.service-hero__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
  align-items: center;
}

.service-hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 193, 7, 0.75);
}

.service-hero__lead {
  margin: 0;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.7;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-hero__media {
  display: none;
  justify-self: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 20, 0.6);
  position: relative;
  aspect-ratio: 4 / 3;
  width: min(420px, 100%);
}

.service-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 400ms ease;
  filter: brightness(0.88);
}

.service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(12, 14, 20, 0.35), transparent 55%),
    radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.25), transparent 70%);
  pointer-events: none;
}

.service-hero__media:hover img,
.service-hero__media:focus-within img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.service-hero--with-media .service-hero__inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.service-hero--with-media .service-hero__media {
  display: block;
}

.service-hero--wynajem { --service-hero-img: url('img/zdjecie pokazowe.webp'); }
.service-hero--elewacje { --service-hero-img: url('img/pielegnacja budynków.webp'); }
.service-hero--fotowoltaika { --service-hero-img: url('img/mycie_fotowolataiki.webp'); }
.service-hero--dekoracje { --service-hero-img: url('img/oswietlenie.webp'); }
.service-hero--led { --service-hero-img: url('img/naprawa_ekranow_LED.webp'); }
.service-hero--reklamy { --service-hero-img: url('img/montaz reklam.webp'); }
.service-hero--inspekcje { --service-hero-img: url('img/komin i dach.webp'); }
.service-hero--zieleni { --service-hero-img: url('img/przycinka drzew.webp'); }
.service-hero--serwis { --service-hero-img: url('img/standardowy wynajem podnosnika.webp'); }

@media (max-width: 900px) {
  .service-hero--with-media .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-hero--with-media .service-hero__media {
    order: -1;
    width: min(360px, 100%);
    justify-self: start;
  }

  .service-hero--with-media .service-hero__content {
    gap: 0.9rem;
  }
}

.service-benefits,
.service-pricing,
.service-faq,
.service-cta {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
  width: min(1080px, 100%);
}

.service-benefits__inner,
.service-pricing__inner,
.service-faq__inner,
.service-cta__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

.service-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-benefits__item {
  display: flex;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.service-benefits__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 193, 7, 0.2);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-benefits__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.service-benefits__item p {
  margin: 0;
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.6;
}

.service-faq__inner {
  gap: 1rem;
}

.accordion {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.accordion__item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.accordion__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.accordion__trigger {
  width: 100%;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.accordion__trigger:hover {
  background: rgba(255, 193, 7, 0.08);
  color: var(--accent);
}

.accordion__trigger span {
  pointer-events: none;
}

.accordion__trigger::after {
  content: "➕";
  font-size: 1.05rem;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  color: var(--accent);
}

.accordion__trigger:hover::after {
  transform: scale(1.1);
}

.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
  color: rgba(255, 193, 7, 0.8);
}

.accordion__panel {
  padding: 0 1.4rem 1.2rem;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.65;
  box-sizing: border-box;
  width: 100%;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-cta__inner {
  text-align: center;
  gap: 1rem;
}

.service-cta__inner p {
  margin: 0 auto;
  max-width: 60ch;
  color: rgba(245, 245, 245, 0.75);
}

.service-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =============================== */
/* SERVICE FAQ + CTA COMBINED      */
/* =============================== */
.service-faq-cta {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
}

.service-faq-cta__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .service-faq-cta__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.service-faq-cta__faq h2,
.service-faq-cta__cta h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--text);
}

.service-faq-cta__cta {
  padding: clamp(1.8rem, 4vw, 2.4rem);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(18, 21, 27, 0.85), rgba(22, 26, 33, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 1rem;
  text-align: center;
}

.service-faq-cta__cta h2 {
  color: var(--accent);
}

.service-faq-cta__cta p {
  margin: 0 auto;
  max-width: 48ch;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.65;
}

.service-faq-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .service-hero__actions,
  .service-faq-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* =============================== */
/* SERVICE – SERWIS PAGE SECTIONS  */
/* =============================== */
.service-section {
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 6vw, 4rem);
  position: relative;
  isolation: isolate;
}

.service-section__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.service-section__title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  color: var(--text);
  text-align: center;
}

.service-section--intro .service-section__inner {
  text-align: center;
  gap: 1rem;
}

.service-section--intro h1 {
  margin: 0;
}

.service-section__lede {
  margin: 0;
  color: rgba(255, 193, 7, 0.85);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-section--intro p {
  margin: 0;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.7;
}

.service-brands {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-brand {
  padding: clamp(1.4rem, 3vw, 1.8rem);
  border-radius: 1.15rem;
  background: linear-gradient(140deg, rgba(16, 20, 28, 0.92), rgba(22, 27, 36, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 0.5rem;
}

.service-brand h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--accent);
}

.service-brand p {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.6;
}

.service-section--tuning .service-section__inner {
  background: linear-gradient(140deg, rgba(18, 21, 28, 0.92), rgba(22, 27, 36, 0.9));
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.35);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  color: rgba(245, 245, 245, 0.82);
}

.service-section--tuning h2 {
  margin: 0;
  color: var(--accent);
}

.service-section--tuning p {
  margin: 0;
  line-height: 1.75;
}

.service-section__inner--split {
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.service-mode {
  background: rgba(16, 19, 26, 0.92);
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
  padding: clamp(1.6rem, 3.2vw, 2.2rem);
  display: grid;
  gap: 0.75rem;
}

.service-mode h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

.service-mode ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-mode li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.6;
}

.service-mode li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.18);
}

.service-section--scope .service-section__inner {
  gap: clamp(1.2rem, 3vw, 2rem);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.6;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.16);
}

.service-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-highlights li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.14);
  border: 1px solid rgba(255, 193, 7, 0.32);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.service-section--profile .service-section__inner {
  text-align: center;
  gap: 0.75rem;
}

.service-section__subtitle {
  margin: 0;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.78);
  letter-spacing: 0.08em;
}

.service-section--profile p {
  margin: 0;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .service-section__inner--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .service-section--intro .service-section__inner {
    text-align: left;
  }

  .service-section__lede {
    letter-spacing: 0.05em;
  }

  .service-highlights {
    gap: 0.6rem;
  }
}


@media (max-width: 960px) {
  .hero-benefits {
    padding-top: clamp(2.5rem, 10vw, 4.5rem);
  }

  .hero-benefits__inner {
    grid-template-columns: 1fr;
  }

  .hero-benefits__visual {
    order: -1;
    min-height: clamp(220px, 50vw, 320px);
  }
}

@media (max-width: 640px) {
  .hero-benefits__item {
    align-items: flex-start;
  }

  .hero-benefits__cta {
    gap: 0.75rem;
  }

  .cta-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-benefits__item,
  .cta-btn {
    transition: none;
  }
}

/* CTA styles reused na pozostałych podstronach */
.sprawdz,
.kontakt_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 220ms ease-out, background-color 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out;
}

.sprawdz {
  background: var(--accent);
  color: #111;
  box-shadow: 0 14px 26px rgba(255, 193, 7, 0.28);
}

.sprawdz:hover,
.sprawdz:focus-visible {
  transform: translateY(-4px);
  background: #ffd75a;
  box-shadow: 0 18px 30px rgba(255, 193, 7, 0.35);
}

.kontakt_btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
}

.kontakt_btn:hover,
.kontakt_btn:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.35);
}

.sprawdz:focus-visible,
.kontakt_btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .sprawdz,
  .kontakt_btn {
    width: 100%;
    justify-content: center;
  }
}
.form-row--honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.82);
  min-height: 1.4rem;
}

.form-status--success {
  color: #8be78b;
}

.form-status--error {
  color: #ff9f9f;
}

/* =============================== */
/* PROGRAM ZIMOWY DLA PARAFII 2025 */
/* =============================== */

.parafie-page {
  --parafie-max-width: 1200px;
  --parafie-padding: clamp(1.5rem, 5vw, 4rem);
}

/* === HERO === */
.parafie-hero {
  padding: clamp(2rem, 4vw, 3rem) var(--parafie-padding);
  padding-top: clamp(6rem, 10vw, 8rem);
  background: linear-gradient(180deg, var(--bg), rgba(22, 26, 33, 0.95));
}

.parafie-hero__inner {
  max-width: var(--parafie-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .parafie-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.parafie-hero__image {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 193, 7, 0.15);
  position: relative;
}

.parafie-hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.parafie-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .parafie-hero__image {
    order: 2;
  }

  .parafie-hero__content {
    order: 1;
  }
}

.parafie-hero__content {
  text-align: left;
}

@media (max-width: 899px) {
  .parafie-hero__content {
    text-align: center;
  }
}

.parafie-hero__badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #111;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.parafie-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.parafie-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.parafie-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.parafie-hero__area {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.65);
}

.parafie-hero__area svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* === OFFER SECTION (Dla kogo + Zakres) === */
.parafie-offer {
  padding: clamp(4rem, 8vw, 6rem) var(--parafie-padding);
  background: linear-gradient(180deg, var(--bg), rgba(22, 26, 33, 0.95));
}

.parafie-offer__inner {
  max-width: var(--parafie-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .parafie-offer__inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
  }
}

.parafie-offer h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--accent);
  margin: 0 0 1rem;
}

.parafie-offer__who p {
  color: rgba(245, 245, 245, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.parafie-offer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.parafie-offer__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.parafie-offer__list li:hover {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.2);
}

.parafie-offer__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.parafie-offer__list span:last-child {
  color: var(--text);
  font-size: 0.95rem;
}

/* Zakres prac grid */
.parafie-offer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.parafie-offer__item {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.parafie-offer__item:hover {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.25);
  transform: translateY(-4px);
}

.parafie-offer__item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.12);
  border-radius: 12px;
  color: var(--accent);
}

.parafie-offer__item-icon svg {
  width: 24px;
  height: 24px;
}

.parafie-offer__item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.parafie-offer__item p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.6);
}

/* === WHY SECTION (Dlaczego podnośnik + MKM) === */
.parafie-why {
  padding: clamp(4rem, 8vw, 6rem) var(--parafie-padding);
  background: rgba(255, 193, 7, 0.03);
  border-top: 1px solid rgba(255, 193, 7, 0.1);
  border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.parafie-why__inner {
  max-width: var(--parafie-max-width);
  margin: 0 auto;
}

.parafie-why__header {
  text-align: center;
  margin-bottom: 3rem;
}

.parafie-why__header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.parafie-why__header p {
  font-size: 1.05rem;
  color: rgba(245, 245, 245, 0.7);
  margin: 0;
}

.parafie-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.parafie-why__card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.parafie-why__card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.parafie-why__card--highlight {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.2);
}

.parafie-why__card--highlight:hover {
  background: rgba(255, 193, 7, 0.12);
}

.parafie-why__card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.parafie-why__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.parafie-why__card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
  line-height: 1.6;
}

/* === PROCESS SECTION (Kroki) === */
.parafie-process {
  padding: clamp(4rem, 8vw, 6rem) var(--parafie-padding);
  background: var(--bg);
}

.parafie-process__inner {
  max-width: var(--parafie-max-width);
  margin: 0 auto;
}

.parafie-process h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--accent);
  margin: 0 0 3rem;
}

.parafie-process__timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.parafie-process__step {
  flex: 1 1 180px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  position: relative;
  transition: all 0.25s ease;
}

.parafie-process__step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 193, 7, 0.2);
}

.parafie-process__number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #ffa800);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.3);
}

.parafie-process__content h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.parafie-process__content p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.65);
}

/* === CTA SECTION (Kontakt + Obszar) === */
.parafie-cta {
  padding: clamp(4rem, 8vw, 6rem) var(--parafie-padding);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 168, 0, 0.05));
}

.parafie-cta__inner {
  max-width: var(--parafie-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 800px) {
  .parafie-cta__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.parafie-cta__content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--accent);
  margin: 0 0 1rem;
}

.parafie-cta__content > p {
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.parafie-cta__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.parafie-cta__phone,
.parafie-cta__email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.parafie-cta__phone:hover,
.parafie-cta__email:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.3);
  color: var(--accent);
}

.parafie-cta__phone svg,
.parafie-cta__email svg {
  flex-shrink: 0;
  fill: var(--accent);
}

.parafie-cta__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Obszar działania */
.parafie-cta__area {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.parafie-cta__area h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.parafie-cta__area > p {
  color: rgba(245, 245, 245, 0.8);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.parafie-cta__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.parafie-cta__cities span {
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.9);
  transition: all 0.2s ease;
}

.parafie-cta__cities span:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.3);
  color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .parafie-hero__actions {
    flex-direction: column;
  }

  .parafie-hero__actions .cta-btn {
    width: 100%;
  }

  .parafie-hero__area {
    flex-direction: column;
    text-align: center;
  }

  .parafie-process__timeline {
    flex-direction: column;
    align-items: center;
  }

  .parafie-process__step {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .parafie-process__number {
    margin-bottom: 0;
  }

  .parafie-cta__buttons {
    flex-direction: column;
  }

  .parafie-cta__buttons .cta-btn {
    width: 100%;
  }

  .parafie-cta__contact {
    flex-direction: column;
  }

  .parafie-cta__phone,
  .parafie-cta__email {
    width: 100%;
    justify-content: center;
  }
}

/* =============================== */
/* RESPONSIVE STYLES               */
/* =============================== */

@media (max-width: 1200px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .site-header__inner {
    padding: 0.75rem 1.5rem;
  }
  .hero {
    padding: 4rem 1.5rem;
  }
  .hero__content {
    gap: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .hero__lead {
    font-size: clamp(1rem, 3vw, 1.15rem);
  }
  .hero-benefits__inner {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .hero-benefits__title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .services-lead__grid {
    grid-template-columns: 1fr;
  }
  .contact-section__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__nav {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    background-image: none;
    background-color: var(--bg);
  }
  .site-header__logo img {
    height: clamp(48px, 14vw, 64px);
  }
  .site-header__cta {
    display: none; /* Ukryj CTA w headerze na mobilce */
  }

  .site-nav {
    display: block; /* Upewnij się, że nawigacja jest widoczna po kliknięciu */
  }

  .hero {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }
  .hero__content {
    padding: 1rem;
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }

  .hero-benefits {
    padding: 3rem 1rem;
  }

  .hero-benefits__inner {
    padding: 1.5rem;
  }

  .services-lead {
    padding: 3rem 1rem;
  }

  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-section__form {
    padding: 1.5rem;
  }

  .site-footer {
    padding: 3rem 1rem 0;
  }
  .site-footer__inner {
    gap: 2rem;
  }
  .site-footer__brand {
    text-align: center;
  }
  .site-footer__logo {
    margin: 0 auto;
  }
  .site-footer__social {
    justify-content: center;
  }
  .site-footer__nav {
    text-align: center;
  }
  .site-footer__nav-group {
    margin-bottom: 1.5rem;
  }
  .site-footer__address {
    text-align: center;
  }
  .site-footer__bottom {
    padding: 1.5rem 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery img {
    height: 250px;
  }

  .seo-section {
    margin: 30px auto;
    padding: 20px;
  }

  section:not(.hero):not(.hero-benefits):not(.services-lead):not(.contact-section) {
    margin: 16px auto;
    padding: 1.5rem;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .site-header__inner {
    padding: 0.5rem 1rem;
  }
  .site-header__toggle {
    transform: scale(0.9);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero__lead {
    font-size: 0.95rem;
  }
  .hero__actions .cta-btn {
    width: 100%;
    text-align: center;
  }
  .hero-benefits__item {
    padding: 0.75rem 1rem;
  }
  .hero-benefits__cta .cta-btn {
    width: 100%;
  }

  .contact-section__form .form-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 1rem;
  }

  /* Poprawki dla contact-section na małych ekranach */
  .contact-section {
    padding: 2rem 0.75rem;
  }

  .contact-section__inner {
    padding: 1.25rem;
    gap: 1.5rem;
    border-radius: 16px;
  }

  .contact-section__form h2,
  .contact-section__map h2 {
    font-size: 1.4rem;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 0.65rem 0.85rem;
    font-size: 16px; /* zapobiega zoom na iOS */
    border-radius: 10px;
  }

  .contact-section__submit,
  .contact-section__call {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contact-details {
    gap: 0.6rem;
  }

  .contact-details__item {
    padding: 0.6rem;
  }

  .map-placeholder {
    min-height: 180px;
  }

  .map-placeholder iframe {
    min-height: 180px;
  }
}

/* Bardzo małe ekrany dla contact-section */
@media (max-width: 380px) {
  .contact-section {
    padding: 1.5rem 0.5rem;
  }

  .contact-section__inner {
    padding: 1rem 0.75rem;
    gap: 1.25rem;
    border-radius: 12px;
  }

  .contact-section__form h2,
  .contact-section__map h2 {
    font-size: 1.2rem;
  }

  .form-row {
    margin-bottom: 0.75rem;
  }

  .form-row label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 0.55rem 0.7rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .form-hint {
    font-size: 0.72rem;
  }

  .form-row--checkbox label {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .form-row--checkbox input {
    width: 18px;
    height: 18px;
  }

  .contact-details__item {
    padding: 0.5rem;
  }

  .contact-details__label {
    font-size: 0.75rem;
  }

  .contact-details__value {
    font-size: 0.9rem;
  }

  .map-placeholder {
    min-height: 150px;
  }

  .map-placeholder iframe {
    min-height: 150px;
  }

  .cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* =============================== */
/* CONTACT FORM                    */
/* =============================== */
.contact {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(28, 31, 36, 0.8);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact h1 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 30px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.radio {
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}

.form-group.radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-group label {
  font-weight: 600;
  color: #f5f5f5;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background-color: #222;
  color: #f5f5f5;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.contact .btn {
  align-self: center;
  padding: 12px 30px;
  border-radius: 8px;
  background-color: var(--accent);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact .btn:hover {
  background-color: #ffd700;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact {
    margin: 20px 12px;
    padding: 20px 16px;
    max-width: 100%;
    width: auto;
  }

  .form-group.radio {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .map-container {
    height: 280px;
  }

  .map-container iframe {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 480px) {
  .contact {
    margin: 12px 6px;
    padding: 14px 10px;
    border-radius: 8px;
  }

  .contact h1 {
    font-size: 1.3rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 8px;
    font-size: 16px; /* zapobiega zoom na iOS */
  }

  .contact .btn {
    width: 100%;
    padding: 14px 16px;
  }

  .map-container {
    height: 200px;
    border-radius: 8px;
  }
}

/* Bardzo małe ekrany - iPhone SE, małe Androidy */
@media (max-width: 380px) {
  .contact {
    margin: 10px 4px;
    padding: 12px 8px;
    border-radius: 6px;
  }

  .contact h1 {
    font-size: 1.2rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 8px 6px;
    font-size: 16px;
    border-radius: 6px;
  }

  .contact .btn {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .map-container {
    height: 180px;
    margin-top: 15px;
  }
}

/* =============================== */
/* LEGACY FOOTER (kontakt.html)    */
/* =============================== */
footer:not(.site-footer) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  background: rgba(18, 21, 26, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.footer-column {
  flex: 1 1 180px;
  max-width: 280px;
  min-width: 140px;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 200ms ease;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-column .social-icon {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 200ms ease, transform 200ms ease;
}

.footer-column .social-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  flex-basis: 100%;
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 640px) {
  footer:not(.site-footer) {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .footer-column {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .footer-bottom {
    margin-top: 0.5rem;
    padding-top: 1rem;
  }
}

