/* ==========================================================================
   1. ZMIENNE (CUSTOM PROPERTIES)
   ========================================================================== */

:root {
  /* -- Kolory -- */
  --color-primary: #D35400;
  --color-primary-dark: #b84300;
  --color-dark: #2E2E2E;
  --color-text: #333;
  --color-text-muted: #555;
  --color-text-subtle: #777;
  --color-white: #ffffff;
  --color-light-bg: #f7f7f9;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f0f2;
  --color-border: #e9e9e9;
  --color-whatsapp: #25D366;
  --color-facebook: #1877F2;
  --color-twitter: #000000;
  --color-cookie-accent: #FFA500;

  /* -- Typografia -- */
  --font-primary: 'Titillium Web', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* -- Cienie i obramowania -- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  --shadow-text: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 5px rgba(0, 0, 0, 0.5);

  /* -- Przejścia i animacje -- */
  --transition-base: all 0.3s ease;
  --animation-offset-x: 50px;
}

/* ==========================================================================
   2. STYLE GLOBALNE I RESET
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-light-bg);
  margin: 0;
}

section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

h1, h2, h3, h4 {
  margin: 0 0 1.5rem 0;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: var(--color-white);
  text-align: center;
  text-shadow: var(--shadow-text);
  letter-spacing: 1px;
  margin-bottom: 0;
}

h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
}

h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  text-align: center;
}

p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   3. KOMPONENTY WIELOKROTNEGO UŻYTKU
   ========================================================================== */

.container-3d {
  background-color: var(--color-surface);
  padding: 5rem 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.03);
  color: var(--color-white);
}

.btn.btn-secondary {
  background-color: #6c757d;
}

.btn.btn-secondary:hover {
  background-color: #5a6268;
}

/* ==========================================================================
   4. STYLE SEKCJI
   ========================================================================== */

/* ---------- Navbar ---------- */
.navbar {
  background: var(--color-dark);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 65px;
  width: auto;
  max-width: 100%;
}

.navbar a {
  color: var(--color-white);
  margin-left: 1.5rem;
  font-weight: var(--font-weight-medium);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.8rem;
  padding: 0.5rem;
}

/* ---------- Sekcja Hero ---------- */
#hero {
  position: relative;
  height: calc(100vh - 81px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  background-image: url('img/hero-fallback.webp');
  background-size: cover;
  background-position: center;
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.hero-text-content {
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1.5s ease-out;
}

.hero-text-content p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  font-weight: var(--font-weight-regular);
  opacity: 0.9;
  color: var(--color-white);
}

.hero-btn {
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-btn:hover {
  background-color: transparent;
  border: 2px solid var(--color-white);
}

.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  font-size: 3rem;
  color: var(--color-white);
  text-decoration: none;
  animation: bounce 2s infinite;
  z-index: 3;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -15px); }
  60% { transform: translate(-50%, -7px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sekcje Feature (O nas, Dla biznesu, etc.) ---------- */
.feature-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-text-container, .feature-image-container {
  flex: 1;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-text-container h2 {
  text-align: left;
}

.feature-text-container { transform: translateX(calc(-1 * var(--animation-offset-x))); }
.feature-image-container { transform: translateX(var(--animation-offset-x)); }

.feature-section.layout-reversed { flex-direction: row-reverse; }
.feature-section.layout-reversed .feature-text-container { transform: translateX(var(--animation-offset-x)); }
.feature-section.layout-reversed .feature-image-container { transform: translateX(calc(-1 * var(--animation-offset-x))); }

.feature-section .feature-text-container.is-visible,
.feature-section .feature-image-container.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-image-container img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.feature-image-container.multi-image {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.image-with-caption { text-align: center; flex: 1; }
.caption { font-size: 0.9rem; color: var(--color-text-subtle); margin-top: 0.75rem; font-style: italic; }

/* ---------- Sekcja Produkty (Partner) ---------- */
#produkty .feature-image-container { flex: 0 0 400px; }
#produkty .feature-text-container { flex: 1; }

.partner-box {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  box-sizing: border-box;
}

.partner-box img {
  max-width: 200px;
  margin: 1rem 0;
  transition: transform 0.3s ease;
  box-shadow: none;
}

.partner-box img:hover { transform: scale(1.05); }
.partner-description { font-size: 0.9rem; color: var(--color-text-subtle); line-height: 1.6; }

/* ---------- Karuzela Realizacji ---------- */
.carousel-wrapper { position: relative; width: 100%; margin: 0 auto; }
.carousel-track-container { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; margin: 0 -8px; }
.carousel-slide { flex-shrink: 0; width: 25%; box-sizing: border-box; padding: 0 8px; }
.carousel-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; display: block; background-color: var(--color-surface-alt); }
.carousel-button { position: absolute; top: 50%; background-color: rgba(46, 46, 46, 0.7); border: none; color: var(--color-white); font-size: 2rem; cursor: pointer; z-index: 10; border-radius: var(--radius-full); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease, opacity 0.3s ease; line-height: 1; padding: 0 0 4px 0; transform: translateY(-50%); }
.carousel-button:hover:not(:disabled) { background-color: rgba(211, 84, 0, 0.9); }
.carousel-button.prev { left: -25px; }
.carousel-button.next { right: -25px; }
.carousel-button:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- Karuzela Opinii ---------- */
.scroller { max-width: 100%; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); }
.scroller-inner { display: flex; flex-wrap: nowrap; gap: 1rem; width: max-content; padding-block: 1rem; }
.scroller[data-animated="true"] .scroller-inner { animation: scroll var(--_animation-duration, 40s) linear infinite; }
@keyframes scroll { to { transform: translate(calc(-50% - .5rem)); } }
.scroller:hover .scroller-inner { animation-play-state: paused; }

.opinia { flex: 0 0 320px; min-height: 200px; padding: 1.5rem; background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-sizing: border-box; display: flex; }
.opinia-content { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.opinia .stars { color: var(--color-primary); font-size: 1.2rem; }
.opinia p { white-space: normal; word-wrap: break-word; flex-grow: 1; margin: 1rem 0; font-size: 1rem; }
.opinia-footer { font-size: 0.9rem; color: var(--color-text-subtle); margin-top: auto; }
.add-opinion-wrapper { text-align: center; margin-top: 3rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #e0e0e0; padding-bottom: 1rem; margin-bottom: 1rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { cursor: pointer; margin-bottom: 0; display: flex; justify-content: space-between; align-items: center; }
.faq-item h3::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform 0.3s ease; }
.faq-item.active h3::after { transform: rotate(45deg); }
.faq-answer { display: none; margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--color-primary); color: var(--color-text-muted); }

/* ---------- Sekcja Kontakt ---------- */
.kontakt-wrapper { display: flex; gap: 3rem; align-items: flex-start; }
.kontakt-info, .kontakt-form { flex: 1; }
.kontakt-info h3, .kontakt-form h3 { margin-top: 0; color: var(--color-primary); }
.kontakt-info p { font-size: 1.1rem; line-height: 1.8; }
.map-container { margin-top: 2rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.kontakt-form form { display: flex; flex-direction: column; gap: 1rem; }
.kontakt-form input, .kontakt-form textarea { padding: 1rem; font-size: 1rem; font-family: inherit; border: 1px solid #ccc; border-radius: var(--radius-sm); width: 100%; box-sizing: border-box; }
.form-checkboxes-container { display: flex; align-items: flex-start; gap: 1.5rem; margin-block: 1.25rem; flex-wrap: wrap; }
.form-rodo-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--color-text); line-height: 1.5; }
.form-rodo-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 28px; height: 28px; border: 2px solid #b0b0b0; border-radius: 4px; margin-top: 0.1em; flex-shrink: 0; cursor: pointer; position: relative; display: inline-block; vertical-align: text-top; transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; }
.form-rodo-consent input[type="checkbox"]:checked { background-color: var(--color-primary); border-color: var(--color-primary); }
.form-rodo-consent input[type="checkbox"]:checked::after { content: ''; display: block; width: 8px; height: 14px; border: solid white; border-width: 0 3px 3px 0; position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%) rotate(45deg); }
.form-rodo-consent label { cursor: pointer; user-select: none; padding-left: 0.2rem; }
.form-rodo-consent label a { font-weight: var(--font-weight-semibold); text-decoration: underline; }
.form-rodo-consent label a:hover { text-decoration: none; }
.form-rodo-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.form-rodo-consent input[type="checkbox"]:active { transform: scale(0.95); }

/* ---------- Stopka ---------- */
.main-footer { background: var(--color-dark); color: var(--color-white); padding: 3rem 1rem; text-align: center; }
.social-media-links { margin-bottom: 1.5rem; display: flex; justify-content: center; gap: 1.5rem; }
.social-media-links img { height: 32px; width: 32px; transition: transform 0.3s ease, opacity 0.3s ease; }
.social-media-links a:hover img { transform: scale(1.1); opacity: 0.85; }
.copyright { font-size: 0.85rem; color: #a0a0a0; margin-top: 1.5rem; line-height: 1.6; }

/* ==========================================================================
   5. STYLE DODATKOWE (MODAL, LIGHTBOX, COOKIE)
   ========================================================================== */

/* ---------- Modal Opinii ---------- */
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); justify-content: center; align-items: center; }
.modal-content { background-color: var(--color-surface); padding: 2rem; border-radius: var(--radius-sm); width: 90%; max-width: 500px; position: relative; }
.modal-close { position: absolute; top: 10px; right: 15px; color: var(--color-text); font-size: 28px; font-weight: bold; cursor: pointer; }
#opinia-form { display: flex; flex-direction: column; gap: 1rem; }
#opinia-form input, #opinia-form select, #opinia-form textarea { padding: 1rem; font-size: 1rem; font-family: inherit; border: 1px solid #ccc; border-radius: var(--radius-sm); width: 100%; box-sizing: border-box; }
#opinia-form button { align-self: flex-end; }

/* ---------- Lightbox ---------- */
#lightbox-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; z-index: 10000; padding: 1rem; box-sizing: border-box; }
.lightbox-content { position: relative; text-align: center; }
#lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-sm); animation: fadeIn 0.5s; }
#lightbox-caption { color: var(--color-white); margin-top: 1rem; font-size: 1rem; max-width: 70vw; margin-left: auto; margin-right: auto; }
#lightbox-counter { position: absolute; top: 20px; left: 20px; color: var(--color-white); background: rgba(0,0,0,0.5); padding: 0.25rem 0.75rem; border-radius: 15px; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: transparent; border: none; color: var(--color-white); font-size: 2.5rem; cursor: pointer; z-index: 10001; padding: 1rem; transition: opacity 0.3s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 0.7; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { top: 50%; left: 10px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 10px; transform: translateY(-50%); }

/* ---------- Baner Cookie ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--color-dark); color: var(--color-white); padding: 1rem; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); z-index: 10001; display: none; box-sizing: border-box; text-align: center; transition: transform 0.3s ease-out; }
.cookie-banner-content { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.cookie-banner p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--color-white); }
.cookie-banner a { color: var(--color-cookie-accent); text-decoration: underline; font-weight: var(--font-weight-semibold); }
.cookie-banner a:hover { color: #FFC04D; }
.cookie-banner-buttons { display: flex; gap: 1rem; margin-top: 0.5rem; }
.cookie-banner .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; border-radius: 6px; }

/* ---------- Przyciski pływające (FAB) ---------- */
.floating-blog-button, .floating-back-button, .floating-whatsapp-button, .sticky-fab-quote { position: fixed; height: 60px; min-width: 60px; border-radius: 30px; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); z-index: 999; transition: transform 0.3s ease, background-color 0.3s ease, width 0.3s ease, padding 0.3s ease; padding: 0 15px; box-sizing: border-box; white-space: nowrap; color: var(--color-white); }
.floating-blog-button:hover, .floating-back-button:hover, .floating-whatsapp-button:hover, .sticky-fab-quote:hover { transform: scale(1.05); }
.floating-blog-button svg, .floating-back-button svg, .floating-whatsapp-button svg, .sticky-fab-quote svg { width: 24px; height: 24px; flex-shrink: 0; }
.fab-text { font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 1; display: inline-block; margin-left: 8px; }
.floating-blog-button { bottom: 30px; right: 30px; background-color: var(--color-primary); }
.floating-blog-button:hover { background-color: var(--color-primary-dark); }
.floating-whatsapp-button { bottom: 30px; left: 30px; width: 60px; padding: 0; background-color: var(--color-whatsapp); }
.floating-whatsapp-button:hover { background-color: #1DA851; }
.sticky-fab-quote { bottom: 100px; right: 30px; width: 60px; height: 60px; background-color: var(--color-primary); border-radius: var(--radius-full); padding: 0; }
.sticky-fab-quote:hover { background-color: var(--color-primary-dark); transform: scale(1.1); }

/* ==========================================================================
   6. STYLE STRONY BLOGA I ARTYKUŁÓW
   ========================================================================== */

.blog-main-content { padding-top: 4rem; padding-bottom: 4rem; }
.blog-header { text-align: center; margin-bottom: 4rem; }
.blog-header h1 { font-size: 3rem; color: var(--color-primary); text-shadow: none; }
.blog-header p { font-size: 1.2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.post-card { background-color: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card-image { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; background-color: var(--color-surface-alt); }
.post-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-card-category { display: inline-block; background-color: var(--color-primary); color: var(--color-white); padding: 0.25rem 0.75rem; border-radius: 15px; font-size: 0.8rem; font-weight: var(--font-weight-semibold); margin-bottom: 1rem; align-self: flex-start; }
.post-card-category:hover { background-color: var(--color-primary-dark); }
.post-card-title { font-size: 1.4rem; margin: 0 0 0.75rem 0; }
.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-primary); }
.post-card-excerpt { font-size: 1rem; color: var(--color-text-muted); margin: 0; flex-grow: 1; }
.post-card-readmore { margin-top: 1.5rem; font-weight: var(--font-weight-semibold); align-self: flex-start; }

.full-article { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 0; text-align: center; padding-bottom: 2rem; }
.article-meta { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.article-category { background-color: var(--color-primary); color: var(--color-white); padding: 0.25rem 0.75rem; border-radius: 15px; font-weight: var(--font-weight-semibold); }
.article-date { color: var(--color-text-subtle); }
.full-article h1 { font-size: 2.8rem; color: var(--color-primary); text-shadow: none; }
.article-intro { font-size: 1.2rem; line-height: 1.7; }
.article-main-image { display: block; max-width: 100%; max-height: 500px; width: auto; height: auto; margin: 2rem auto 2.5rem auto; border-radius: var(--radius-md); }
.article-body { padding-top: 1rem; }
.article-body h2 { font-size: 2rem; margin-top: 3rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-primary); display: inline-block; }
.article-body h3 { font-size: 1.5rem; color: var(--color-primary); margin-top: 2rem; }
.article-body p { font-size: 1.1rem; line-height: 1.8; }
.article-body ul, .article-body ol { font-size: 1.1rem; line-height: 1.8; padding-left: 2rem; }
.article-body li { margin-bottom: 0.75rem; }
.article-body a { font-weight: var(--font-weight-semibold); }
.article-body a:hover { text-decoration: underline; }
.article-cta { background-color: var(--color-surface-alt); border-left: 5px solid var(--color-primary); padding: 2rem; margin: 3rem 0; border-radius: var(--radius-sm); }
.article-cta .btn { color: var(--color-white); }
.article-cta h3 { margin-top: 0; }

/* ---------- Filtrowanie i Okruszki ---------- */
.filter-info { background-color: #f9f9f9; border: 1px solid #eee; border-left: 5px solid var(--color-primary); border-radius: var(--radius-sm); padding: 1rem 1.5rem; margin-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 1rem; }
.filter-info strong { font-weight: var(--font-weight-semibold); }
.filter-info .clear-filter-btn { background-color: transparent; color: var(--color-primary); padding: 0.4rem 0.8rem; border-radius: 5px; font-weight: var(--font-weight-bold); font-size: 0.9rem; transition: background-color 0.2s ease, color 0.2s ease; border: 1px solid var(--color-primary); }
.filter-info .clear-filter-btn:hover { background-color: var(--color-primary); color: var(--color-white); }
.no-results-info { text-align: center; font-size: 1.1rem; color: var(--color-text-subtle); padding: 2rem; width: 100%; }

.breadcrumbs { font-size: 0.9rem; margin-bottom: 2rem; color: var(--color-text-subtle); padding: 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: ''; display: inline-block; width: 6px; height: 6px; border-top: 2px solid #ccc; border-right: 2px solid #ccc; transform: rotate(45deg); margin: 0 1rem; }
.breadcrumbs a { font-weight: var(--font-weight-medium); }
.breadcrumbs li[aria-current="page"] { font-weight: var(--font-weight-semibold); color: var(--color-text); }
.full-article .article-header .breadcrumbs ol { justify-content: center; }

/* ---------- Przyciski Udostępniania ---------- */
.article-share-buttons { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; margin-bottom: 2rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
.article-share-buttons-label { font-weight: var(--font-weight-semibold); }
.share-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-white) !important; padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: var(--font-weight-semibold); transition: opacity 0.3s ease; }
.share-btn:hover { opacity: 0.85; }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn.facebook { background-color: var(--color-facebook); }
.share-btn.x-twitter { background-color: var(--color-twitter); }

/* ==========================================================================
   7. STYLE RESPONSYWNE (MEDIA QUERIES)
   ========================================================================== */

@media (min-width: 769px) {
  .cookie-banner-content { flex-direction: row; justify-content: space-between; text-align: left; }
  .cookie-banner p { flex-grow: 1; }
  .cookie-banner-buttons { margin-top: 0; flex-shrink: 0; }
  .sticky-fab-quote { width: auto; padding: 0 15px; }
}

@media (max-width: 1200px) {
  .carousel-slide { width: 33.333%; }
}

@media (max-width: 992px) {
  h2 { font-size: 2.2rem; }
  .feature-section, .produkty-wrapper { flex-direction: column !important; text-align: center; gap: 2rem; }
  .feature-text-container h2, #realizacje h2, #faq h2, #opinie h2, #produkty h2, #kontakt h2 { text-align: center; }
  .feature-text-container { min-width: 100%; }
  .kontakt-wrapper { flex-direction: column; }
  .carousel-button.prev { left: -10px; }
  .carousel-button.next { right: -10px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.5rem 1rem; min-height: 60px; }
  .logo-img { height: 50px; }
  #hero { height: calc(100vh - 60px); }
  section { padding-top: 2rem; padding-bottom: 2rem; }
  .container-3d { padding: 3rem 1.5rem; }
  .navbar-toggle { display: block; }
  .navbar-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-dark); width: 100%; padding: 1rem 0; box-shadow: var(--shadow-md); }
  .navbar-menu.active { display: flex; }
  .navbar-menu a { margin-left: 0; padding: 0.75rem 0; text-align: center; width: 100%; border-bottom: 1px solid #444; }
  .navbar-menu a:last-child { border-bottom: none; }
  
  .feature-image-container.multi-image { flex-direction: column; }
  
  .full-article h1 { font-size: 2.2rem; }
  .article-intro { font-size: 1.1rem; }
  .article-body h2 { font-size: 1.8rem; }
  
  .fab-text { display: none; }
  .floating-blog-button, .floating-back-button, .floating-whatsapp-button, .sticky-fab-quote { width: 50px; height: 50px; bottom: 20px; padding: 0; }
  .floating-blog-button { right: 20px; }
  .floating-whatsapp-button { left: 20px; }
  .sticky-fab-quote { bottom: 80px; right: 20px; border-radius: var(--radius-full); }
  .floating-blog-button svg, .floating-back-button svg, .floating-whatsapp-button svg, .sticky-fab-quote svg { width: 22px; height: 22px; }
  
  .form-checkboxes-container { flex-direction: column; align-items: stretch; }
  .g-recaptcha-wrapper { margin-top: 1rem; }
  .carousel-slide { width: 50%; }

  .breadcrumbs { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .breadcrumbs li:not(:last-child)::after { margin: 0 0.75rem; }
  .full-article .article-header .breadcrumbs ol { justify-content: flex-start; }
}

@media (max-width: 576px) {
  .carousel-slide { width: 100%; }
  .carousel-button { width: 40px; height: 40px; font-size: 1.5rem; }
  .carousel-button.prev { left: 5px; }
  .carousel-button.next { right: 5px; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.8rem; }
  .hero-text-content p { font-size: 1.2rem; line-height: 1.4; }
}

/* ==========================================================================
   8. STYLE STRONY Z PODZIĘKOWANIEM
   ========================================================================== */

.thank-you-main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  min-height: calc(100vh - 70px - 190px); /* 100vh - header - footer */
  box-sizing: border-box;
}

.thank-you-content {
  text-align: center;
  max-width: 650px;
}

.thank-you-logo {
  max-width: 200px; /* Zmniejszone logo */
  height: auto;
  margin-bottom: 2rem;
}

.thank-you-content h1 {
  font-size: 2.8rem;
  color: var(--color-text); /* Zmieniono kolor na ciemny */
  text-shadow: none; /* Usunięto cień */
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}