/*
 Project: Biegun.Studio
 Path: /assets/css/main.css
 Description: Główny plik CSS (tryb bez bundlera) + przykład BEM.
*/

/* ── Self-hosted Manrope ── */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root { 
  --spacing: 1rem; 
  --container-width: 1200px;
  --color-primary: #222;
  --color-secondary: #666;
  --color-additional-1:#E20B0B;
  --color-border: #eee;
  --color-text: #333;
  
  /* Typography Variables */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --base-font-size: 16px;
  --base-line-height: 1.6;
  --base-font-weight: 400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Global Typography */
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-weight: var(--base-font-weight);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(25% - 0.5px),
    #f4f4f4 calc(25% - 0.5px),
    #f4f4f4 calc(25% + 0.5px),
    transparent calc(25% + 0.5px),
    transparent calc(50% - 0.5px),
    #f4f4f4 calc(50% - 0.5px),
    #f4f4f4 calc(50% + 0.5px),
    transparent calc(50% + 0.5px),
    transparent calc(75% - 0.5px),
    #f4f4f4 calc(75% - 0.5px),
    #f4f4f4 calc(75% + 0.5px),
    transparent calc(75% + 0.5px)
  );
  background-size: 100% 100%;
  background-attachment: fixed;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--color-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem 0;
  font-family: var(--font-family);
  line-height: var(--base-line-height);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Text Utilities */
.text-small {
  font-size: 0.875rem;
}

.text-large {
  font-size: 1.125rem;
}

.text-light {
  font-weight: 300;
}

.text-regular {
  font-weight: 400;
}

.text-medium {
  font-weight: 500;
}

.text-semibold {
  font-weight: 600;
}

.text-bold {
  font-weight: 700;
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --base-font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --base-font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button__icon { 
  display: inline-block; 
  width: 1em; 
  height: 1em; 
}

.button--primary { 
  border-color: #000; 
  background: #000; 
  color: #fff; 
}

.button--primary:hover {
  background: #184341;
  border-color: #184341;
  color: #fff;
  transform: translateY(-2px);
}

.button--secondary {
  border: 1px solid transparent;
  background: linear-gradient(90deg, #FF0000 0%, #E20B0B 100%);
  color: #fff;
}

.button--secondary:hover {
  transform: translateY(-2px);
}

/* Header Styles */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

.site-header__top-bar {
  background: #f8f9fa;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__rating {
  color: var(--color-primary);
  font-weight: 600;
}

.top-bar__services {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar__services:hover {
  color: var(--color-primary);
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.top-bar__contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.top-bar__contact-item a:hover {
  text-decoration: underline;
}

.top-bar__icon {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.site-header__main {
  padding: 1rem 0;
}

.header-main__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-header__logo { 
  font-weight: 700; 
  text-decoration: none; 
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.site-header__logo-img {
  height: auto;
  max-height: 60px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header__nav {
  display: flex;
}

.site-header__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  gap: 2rem; 
}

.menu li {
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu li a:hover {
  color: var(--color-primary);
}

/* Dropdown Menu Styles */
.menu li.has-dropdown > a {
  cursor: pointer;
}

.menu__dropdown-arrow {
  transition: transform 0.2s;
  width: 16px;
  height: 16px;
}

.menu li.has-dropdown.is-open .menu__dropdown-arrow {
  transform: rotate(180deg);
}

.menu__dropdown {
  list-style: none;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

/* Otwórz dropdown przy najechaniu myszą */
.menu li.has-dropdown:hover > .menu__dropdown,
.menu li.has-dropdown:focus-within > .menu__dropdown,
.menu li.has-dropdown.is-open > .menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu__dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__dropdown li a {
  padding: 0.75rem 1rem;
  color: var(--color-text);
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s;
}

.menu__dropdown li a:hover {
  background-color: var(--color-border);
  color: var(--color-primary);
}


/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  z-index: 1001;
}

.hamburger__line {
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2rem;
  margin-left: auto;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu__close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.mobile-menu__nav {
  margin-bottom: 2rem;
}

/* Usunięcie kółek/punktorów z menu mobilnego */
.mobile-menu__nav ul,
.mobile-menu__nav ul ul,
.mobile-menu__nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__nav .menu {
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.mobile-menu__nav .menu li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__nav .menu li a {
  padding: 1rem 0;
  font-size: 1rem;
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu__nav .menu li a:hover {
  color: var(--color-primary);
}

/* Podmenu – mniejsze i bardziej skondensowane */
.mobile-menu__nav .menu .sub-menu {
  padding-left: 1rem;
  border-top: 1px solid var(--color-border);
}

.mobile-menu__nav .menu .sub-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu__nav .menu .sub-menu li:last-child {
  border-bottom: none;
}

.mobile-menu__nav .menu .sub-menu li a {
  padding: 0.5rem 0;
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--color-text-muted, #666);
}

.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-menu__buttons .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* 6. Front Page Styles */

/* ──────────────────────────────────────────────
   Hero New (front-page.php)
────────────────────────────────────────────── */

/* Kontener hero — identyczna szerokość i padding jak .container w headerze */
.hero-new__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.hero-new {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── górna część z treścią ── */
.hero-new__top {
  position: relative;
  background: #fff;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 5rem;
}

.hero-new__container {
  padding-bottom: 3.5rem;
}

/* Watermark */
.hero-new__watermark {
  position: absolute;
  bottom: -0.15em;
  left: 1rem;
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  opacity: 0.05;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-new__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-new__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-additional-1);
  margin-bottom: 1.25rem;
}

.hero-new__title {
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  margin: 0 0 1.5rem;
  max-width: 16ch;
}

.hero-new__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--color-secondary);
  line-height: 1.7;
  margin: 0 0 2.25rem;
  max-width: 52ch;
}

.hero-new__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-new__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.hero-new__btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.hero-new__btn--primary:hover {
  background: var(--color-additional-1);
  border-color: var(--color-additional-1);
}

.hero-new__btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.hero-new__btn--ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── obrazek ── */
.hero-new__bottom {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-new__parallax {
  position: absolute;
  inset: -20% 0;
  will-change: transform;
  overflow: hidden;
}

.hero-new__parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-new__parallax--empty {
  background: #111;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .home .hero-new__container {
    padding: 0 2rem;
  }

  .hero-new__watermark {
    left: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-new__top {
    height: auto;
    min-height: 420px;
  }

  .hero-new__container {
    padding: 5rem 1.25rem 2.5rem;
    align-items: flex-end;
  }

  .hero-new__watermark {
    display: none;
  }

  .hero-new__bottom {
    height: 280px;
    margin-top: 2rem;
  }

  .hero-new__parallax {
    inset: 0;
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-new__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-new__btn {
    justify-content: center;
  }
}

/* Hero Section */
/* ──────────────────────────────────────────────
   Hero Section (stary — zachowany dla kompatybilności)
────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
}

.hero-section > .container {
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 0;
}

/* ── Left content ── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: #E20B0B;
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
  transition: opacity 0.35s ease;
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
  /* Title allowed to extend slightly beyond column into clip area */
  max-width: 115%;
  transition: opacity 0.35s ease;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 2rem;
  max-width: 440px;
  transition: opacity 0.35s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transition: opacity 0.35s ease;
}

.button--ghost {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: .65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: inherit;
}

.button--ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Right: image as absolute background of right half ── */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: url('../images/mask.png');
  mask-image: url('../images/mask.png');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: bottom right;
  mask-position: bottom right;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ── Dot indicators (inside .hero-content, left-aligned under buttons) ── */
.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
  flex-shrink: 0;
}

.hero-dot--active {
  width: 24px;
  border-radius: 4px;
  background: #E20B0B;
}

.hero-dot:hover:not(.hero-dot--active) {
  background: #aaa;
}

/* ── Stats bar ── */
.hero-stats {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
  background: #fff;
}

.hero-stats__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats__google {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.hero-stats__google:hover .hero-stats__google-text strong {
  text-decoration: underline;
}

.hero-stats__stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.hero-stats__star {
  color: #e0e0e0;
  flex-shrink: 0;
}

.hero-stats__star--filled {
  color: #fbbc04;
}

.hero-stats__google-text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--color-text);
}

.hero-stats__google-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stats__divider {
  width: 1px;
  height: 36px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-stats__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stats__unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-stats__label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.3;
}

/* Services Brief Section */
.services-brief {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-text);
  line-height: 1.6;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* About Section */
.about-section {
  padding: 6rem 0;
}

.about-content {
  margin-bottom: 4rem;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.about-description {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

/* Services Grid — 2×3 boxes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-box {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  text-decoration: none;
  overflow: hidden;
  padding: 2rem 1.75rem;
  min-height: 260px;
}

.service-box__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #f7f7f7, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.service-box:hover .service-box__fill {
  opacity: 1;
}

.service-box__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-box__top {
  flex: 1;
}

.service-box__heading {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #111;
}

.service-box__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #555;
  max-width: 340px;
}

.service-box__bottom {
  margin-top: 1.5rem;
}

.service-box__arrow {
  display: inline-flex;
  color: #bbb;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-box:hover .service-box__arrow {
  color: #111;
  transform: translateX(6px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.cta-button:hover {
  background: var(--color-text);
  transform: translateY(-2px);
}

/* Services Detailed Section */
.services-detailed {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.services-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-item h3:hover {
  background-color: #f8f9fa;
}

.service-content {
  padding: 0 2rem 1.5rem;
}

.service-content p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

/* Intro Split – zdjęcie + accordion */
.intro-split {
  overflow: visible;
}

.intro-split__inner {
  display: flex;
  align-items: flex-start;
}

/* Lewa kolumna – zdjęcie: stała wysokość, nie rośnie z prawą */
.intro-split__image-col {
  flex: 0 0 50%;
  max-width: 50%;
  height: 680px;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.intro-split__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.intro-split__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pionowy przycisk "Skontaktuj się z nami" */
.intro-split__cta-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: sideways-lr;
  background-color: #fff;
  color: var(--color-primary, #111);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.5rem 0.9rem;
  white-space: nowrap;
  display: block;
  transition: background-color 0.25s ease;
  z-index: 2;
}

.intro-split__cta-btn:hover {
  background-color: var(--color-accent, #e63e2f);
  color: #fff;
}

/* Prawa kolumna – treść */
.intro-split__content-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 5rem 5rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.intro-split__subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text, #555);
  margin: 0 0 1rem;
}

.intro-split__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary, #111);
  margin: 0 0 2.5rem;
}

.intro-split__title-mark {
  position: relative;
  display: inline-block;
}

.intro-split__title-mark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent, #e63e2f);
  border-radius: 2px;
}

/* Accordion */
.intro-accordion {
  display: flex;
  flex-direction: column;
}

.intro-accordion__item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.intro-accordion__item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.intro-accordion__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary, #111);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.intro-accordion__heading::-webkit-details-marker {
  display: none;
}

.intro-accordion__heading:hover {
  color: var(--color-accent, #e63e2f);
}

.intro-accordion__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.intro-accordion__icon::before,
.intro-accordion__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.intro-accordion__icon::before {
  width: 18px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.intro-accordion__icon::after {
  width: 2px;
  height: 18px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

details[open] .intro-accordion__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.intro-accordion__body {
  padding: 0 0 1.25rem;
  color: var(--color-text, #555);
  font-size: 0.9rem;
  line-height: 1.7;
}

.intro-accordion__body p {
  margin: 0 0 0.75rem;
}

.intro-accordion__body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-split__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-split__image-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 300px;
    position: relative;
    top: auto;
  }

  .intro-split__content-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding: 3rem 1.5rem;
  }

  .intro-split__cta-btn {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    transform: none;
    writing-mode: horizontal-tb;
    padding: 0.75rem 1.25rem;
  }
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: transparent;
}

.stats-grid {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.stats-item {
  flex: 1;
}

.stats-item__number {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary, #111);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stats-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #e63e2f);
  margin-bottom: 1rem;
}

.stats-item__desc {
  font-size: 0.9rem;
  color: var(--color-text, #555);
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

@media (max-width: 600px) {
  .stats-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .stats-item__desc {
    max-width: 100%;
  }
}

/* Clients Logos */
.clients-logos {
  background-color: #f8f9fa;
  padding: 3.5rem 0;
}

.clients-logos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  justify-items: center;
}

.clients-logos__item img {
  max-width: 150px;
  max-height: 80px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.25s ease;
}

.clients-logos__item img:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 600px) {
  .clients-logos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

/* Offer Section (narzędzia + szkolenia) */
.offer-section {
  overflow-x: clip; /* pozwala na krwawienie obrazka bez scroll poziomego */
  padding: 5rem 0;
  background: transparent;
}

/* Oba rzędy: ta sama siatka 2fr 1fr = identyczne proporcje */
.offer-section__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.offer-section__row--bottom {
  margin-top: 5rem;
  min-height: 480px;
}

.offer-section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #e63e2f);
  margin: 0 0 1rem;
}

.offer-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary, #111);
  margin: 0 0 1.5rem;
}

.offer-section__desc {
  font-size: 0.95rem;
  color: var(--color-text, #555);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 2.5rem;
}

.offer-section__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.offer-section__btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.offer-section__btn--outline {
  background: transparent;
  color: var(--color-primary, #111);
  border: 2px solid var(--color-primary, #111);
}

.offer-section__btn--outline:hover {
  background: var(--color-primary, #111);
  color: #fff;
}

.offer-section__btn--solid {
  background: var(--color-primary, #111);
  color: #fff;
  border: 2px solid var(--color-primary, #111);
}

.offer-section__btn--solid:hover {
  background: var(--color-accent, #e63e2f);
  border-color: var(--color-accent, #e63e2f);
}

.offer-section__why-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text, #555);
  margin: 0 0 1.25rem;
}

/* Dolna lewa: kursy */
.offer-section__courses {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-section__courses-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary, #111);
  margin: 0 0 1rem;
}

.offer-section__courses-desc {
  font-size: 0.9rem;
  color: var(--color-text, #555);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 480px;
}

.offer-section__all-courses {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary, #111);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.offer-section__all-courses:hover {
  color: var(--color-accent, #e63e2f);
}

/* Dolna prawa: zdjęcie krwawiące poza kontener */
.offer-section__image {
  position: relative;
  align-self: stretch;
}

.offer-section__image img {
  position: absolute;
  top: 0;
  left: 0;
  /* bleed = container right padding (1rem) + gap między kontenerem a ekranem */
  width: calc(100% + max(1rem, (100vw - var(--container-width, 1200px)) / 2 + 1rem));
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-section__image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + max(1rem, (100vw - var(--container-width, 1200px)) / 2 + 1rem));
  height: 100%;
  background: #e8e8e8;
}

/* Responsive */
@media (max-width: 1024px) {
  .offer-section__row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .offer-section__row--bottom {
    min-height: auto;
  }

  .offer-section__image {
    height: 300px;
  }

  .offer-section__image img,
  .offer-section__image-placeholder {
    width: 100%;
  }
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background: transparent;
}

.blog-section h2 {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.blog-card:hover {
  opacity: 0.7;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-thumbnail {
  aspect-ratio: 8 / 5;
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 1rem 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.load-more-posts {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-primary, #111);
  color: #fff;
  border: 2px solid var(--color-primary, #111);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.load-more-posts:hover {
  background: var(--color-accent, #e63e2f);
  border-color: var(--color-accent, #e63e2f);
  color: #fff;
}

/* Social Proof Section */
.social-proof {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.claim h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.proof-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.proof-tag.special {
  background: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* 7. Responsive Styles for Front Page */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 540px;
  }

  .hero-inner {
    grid-template-columns: 55% 45%;
  }

  .hero-media {
    width: 48%;
  }

  .hero-content {
    padding-right: 1rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box {
    min-height: 240px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 450px;
    height: 450px;
    padding: 0;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-media {
    display: none;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-dots {
    justify-content: flex-start;
    margin-top: 1.25rem;
  }

  .hero-stats {
    padding: 1.5rem 0;
  }

  .hero-stats__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
  }

  .hero-stats__google {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
  }

  .hero-stats__divider {
    display: none;
  }

  .hero-stats__item {
    text-align: center;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .course-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .claim h2 {
    font-size: 1.75rem;
  }

  .offer-section,
  .blog-section {
    padding: 3.5rem 0;
  }
}

/* Archive Page Styles */
.archive-page {
  padding: 4rem 0;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.archive-description {
  font-size: 1.125rem;
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Category Filter */
.category-filter {
  margin-bottom: 3rem;
}

.category-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0;
}

.category-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
}

.category-label:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
}

.category-label.active {
  background: #000;
  color: white;
}

/* Blog Grid Enhancement */
.blog-category-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.category-badge {
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.reading-time {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-date {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

/* No Posts State */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.no-posts p {
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

/* Pagination */
.archive-pagination {
  margin-top: 4rem;
  text-align: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination .page-numbers li {
  display: inline-block;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.archive-pagination .page-numbers a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.archive-pagination .page-numbers .current {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.archive-pagination .page-numbers .prev,
.archive-pagination .page-numbers .next {
  padding: 0.5rem 1.5rem;
}

/* Blog Page Styles */
.blog-page {
  padding: 4rem 0;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-page-description {
  font-size: 1.125rem;
  color: var(--color-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 4rem;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination .page-numbers li {
  display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
}

.blog-pagination .page-numbers .current {
  background: #000;
  color: white;
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
  padding: 0.5rem 1.5rem;
}

/* Responsive Design for Archive */
@media (max-width: 1024px) {
  .category-labels {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .category-labels::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .archive-title,
  .blog-page-title {
    font-size: 2rem;
  }
  
  .blog-page {
    padding: 2rem 0;
  }
  
  .blog-page-header {
    margin-bottom: 2rem;
  }
  
  .category-label {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .blog-pagination {
    margin-top: 2rem;
  }
  
  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .archive-page {
    padding: 2rem 0;
  }
  
  .archive-header {
    margin-bottom: 2rem;
  }
  
  .category-filter {
    margin-bottom: 2rem;
  }
  
  .archive-pagination {
    margin-top: 2rem;
  }
  
  .archive-pagination .page-numbers a,
  .archive-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* 8. Original Responsive Styles */
@media (max-width: 1024px) {
  .top-bar__content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .top-bar__left {
    justify-content: center;
  }

  .site-header__right {
    gap: 1rem;
  }

  .menu {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Hide top bar completely on mobile */
  .site-header__top-bar {
    display: none;
  }
  
  /* Mobile Header Main */
  .header-main__content {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
  .site-header__right {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .site-header__buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .button {
    justify-content: center;
    width: 100%;
  }
}

/* OFFER LIST STYLES */
.offer-list {
  padding: 5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.offer-list__inner {
  display: flex;
  align-items: baseline;
  gap: 4rem;
}

.offer-list__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text, #555);
  white-space: nowrap;
  flex-shrink: 0;
}

.offer-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-list__items li {
  display: flex;
  align-items: center;
}

.offer-list__items li:not(:last-child)::after {
  content: '/';
  margin: 0 0.75rem;
  color: rgba(0, 0, 0, 0.2);
  font-weight: 300;
}

.offer-list__items a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary, #111);
  text-decoration: none;
  transition: color 0.2s ease;
}

.offer-list__items a:hover {
  color: var(--color-accent, #e63e2f);
}

@media (max-width: 768px) {
  .offer-list__inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* =====================
   SOCIAL BAR
   ===================== */
.social-bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100px;
  z-index: 900; /* pod drawerm – szufladka go przykrywa */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0 2rem;
  pointer-events: none;
}

.social-bar__hamburger,
.social-bar__contact,
.social-bar__social {
  pointer-events: all;
}

/* Hamburger */
.social-bar__hamburger {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary, #111);
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  margin-top: 1rem; /* odsunięcie od krawędzi */
}

.social-bar__hamburger:hover {
  color: var(--color-accent, #e63e2f);
}

/* Środek: kontakt */
.social-bar__contact {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--color-primary, #111);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.social-bar__contact:hover {
  color: var(--color-accent, #e63e2f);
}

/* Dół: FB / IG / IN – jeden element obrócony jak kontakt */
.social-bar__social {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding-top: 0.25rem;
}

.social-bar__link {
  text-decoration: none;
  color: var(--color-primary, #111);
  transition: color 0.2s ease;
}

.social-bar__link:hover {
  color: var(--color-accent, #e63e2f);
}

/* Ukryj poniżej 1361px */
@media (max-width: 1360px) {
  .social-bar {
    display: none;
  }
}

/* =====================
   SIDE DRAWER
   ===================== */
.side-drawer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 450px;
  background: #fff;
  z-index: 1000;
  transform: translateX(-450px);
  transition: transform 0.45s ease-out; /* zamykanie: szybko na start, zwalnia */
  overflow-y: auto;
  flex-direction: column;
}

@media (min-width: 1361px) {
  .side-drawer {
    display: flex;
  }
}

.side-drawer.is-open {
  transform: translateX(0);
  transition: transform 0.45s ease-in; /* otwieranie: wolno na start, przyspiesza */
}

.side-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3rem 2.5rem;
}

/* Logo */
.side-drawer__logo {
  display: inline-block;
  margin-top: 50px;
  margin-bottom: 3rem;
}

.side-drawer__logo img {
  display: block;
  max-width: 160px;
  height: auto;
}

/* Nawigacja */
.side-drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-drawer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-drawer__menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.side-drawer__menu li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary, #111);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.side-drawer__menu li a:hover {
  color: var(--color-accent, #e63e2f);
  padding-left: 0.5rem;
}

/* Stopka */
.side-drawer__footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.side-drawer__cta {
  font-size: 0.9rem;
  color: var(--color-text, #555);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.side-drawer__email {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary, #111);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.2s ease;
}

.side-drawer__email:hover {
  color: var(--color-accent, #e63e2f);
}

.side-drawer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.side-drawer__social a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #111);
  text-decoration: none;
  transition: color 0.2s ease;
}

.side-drawer__social a:hover {
  color: var(--color-accent, #e63e2f);
}


/* SINGLE POST STYLES */
article.single-post {
  padding: 4rem 0 2rem;
}

article.single-post .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.post-category-label {
  margin-bottom: 1rem;
}

.category-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

/* ── Grid: artykuł + sidebar ── */
.single-post__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.single-post__sidebar {
  position: sticky;
  top: 2rem;
}

/* ── Meta artykułu ── */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.post-meta__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
}

.post-meta__author:hover {
  color: var(--color-primary);
}

.post-meta__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  outline: 3px solid var(--color-additional-1);
  outline-offset: 2px;
  flex-shrink: 0;
}

.post-meta__author-name {
  font-weight: 500;
  color: var(--color-text);
}

.post-meta__sep {
  color: var(--color-secondary);
  opacity: 0.5;
}

.post-meta__date,
.post-meta__reading-time {
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

/* ── Sidebar: boks CTA projektowanie stron ── */
.sidebar-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-cta__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 0.5rem;
}

.sidebar-cta__heading {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.875rem;
  color: #fff;
}

.sidebar-cta__text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 1.25rem;
}

.sidebar-cta__btn {
  display: inline-block;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-cta__btn:hover {
  opacity: 0.88;
}

/* ── Pasek kontaktowy śródartykułowy ── */
.post-contact-bar {
  margin: 2.5rem 0;
  padding: 3rem 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.post-contact-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.post-contact-bar__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.post-contact-bar__desc {
  font-size: 1rem;
  color: var(--color-secondary);
  margin: 0;
  line-height: 1.6;
}

.post-contact-bar__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.post-contact-bar__link {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.post-contact-bar__link:hover {
  color: var(--color-text);
}

.post-contact-bar__cta {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.75rem 1.75rem;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.post-contact-bar__cta:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .post-contact-bar__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .post-contact-bar__contact {
    align-items: flex-start;
  }
}

/* ── Sidebar: najpopularniejsze artykuły ── */
.sidebar-popular {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
}

.sidebar-popular__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-popular__sep {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 1rem;
}

.sidebar-popular__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: sidebar-counter;
}

.sidebar-popular__item {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ececec;
}

.sidebar-popular__item:last-child {
  border-bottom: none;
}

.sidebar-popular__num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 1.25rem;
  line-height: 1.4;
}

.sidebar-popular__link {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-popular__link:hover {
  color: var(--color-primary);
}

.post-featured-image {
  margin-bottom: 3rem;
  overflow: hidden;
  border-radius: 8px;
}

.post-featured-image .post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1140 / 712;
  object-fit: cover;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
}

.post-content p {
  margin-bottom: 1.75rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--color-primary);
}

.post-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1.25rem;
  padding-top: 0.5rem;
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.post-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}

.post-content ul,
.post-content ol {
  margin: 1.75rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.625rem;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-secondary);
}

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

/* ── Shortcode [bs-img] – zdjęcie wyśrodkowane ── */
.bs-img {
  margin: 2rem auto;
  text-align: center;
}

.bs-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.bs-img__caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-style: italic;
}

/* ── Shortcode [bs-row] – obraz + tekst dwukolumnowo ── */
.bs-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
}

.bs-row__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.bs-row__text {
  font-size: inherit;
  line-height: inherit;
}

.bs-row__text > *:first-child { margin-top: 0; }
.bs-row__text > *:last-child  { margin-bottom: 0; }

@media (max-width: 640px) {
  .bs-row {
    flex-direction: column;
  }
  .bs-row__image,
  .bs-row__text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Related Posts Section */
.related-posts {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.related-posts-separator {
  width: 100px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto 2rem;
}

.related-posts-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.related-post-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-thumbnail {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 570 / 356;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumbnail img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}

/* Responsive Styles for Single Post */
@media (max-width: 1200px) {
  article.single-post .container {
    padding: 0 2rem;
  }
}

@media (max-width: 960px) {
  .single-post__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .single-post__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .related-posts-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.75rem;
  }

  .post-featured-image {
    margin-bottom: 2rem;
  }

  .post-meta {
    gap: 0.4rem 0.6rem;
    font-size: 0.875rem;
  }

  .post-meta__avatar {
    width: 38px;
    height: 38px;
  }
}

/* PAGE TEMPLATES STYLES */

/* CSS Variables for Page Templates */
:root {
  --primary-color: #E20B0B;
  --text-color: #333333;
  --bg-color: #ffffff;
  --dark-bg: #1a1a1a;
  --dark-text: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Button Styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #c20909;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

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

.breadcrumbs-item a:hover {
  text-decoration: underline;
}

.breadcrumbs-item--current {
  color: var(--text-color);
  font-weight: 500;
}

.breadcrumbs-separator {
  margin: 0 0.5rem;
  color: #6c757d;
}

/* Page Headers */
.page-header {
  padding: 3rem 0;
  text-align: left;
}

.page-header--minimal .page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.page-header--dark .page-title {
  color: var(--dark-text);
}

.page-excerpt {
  font-size: 1.25rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Page Content */
.page-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text-color);
  margin: 2rem 0 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

/* Dark Template Styles */
.template-dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  min-height: 100vh;
}

.template-dark .section-title,
.template-dark .page-content,
.template-dark .page-content h2,
.template-dark .page-content h3,
.template-dark .page-content h4,
.template-dark .page-excerpt {
  color: var(--dark-text);
}

.template-dark .breadcrumbs {
  background-color: #2a2a2a;
  border-bottom-color: #404040;
}

.template-dark .breadcrumbs-item--current {
  color: var(--dark-text);
}

.template-dark .steps__title {
  color: var(--dark-text);
}

.template-dark .steps__desc {
  color: rgba(255, 255, 255, 0.6);
}

.template-dark .offer-list__group-title {
  color: var(--dark-text);
  border-bottom-color: var(--dark-text);
}

.template-dark .offer-list__item {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: #404040;
}

.template-dark .service-cards__item {
  background: #2a2a2a;
  border-color: #404040;
}

.template-dark .service-cards__title {
  color: var(--dark-text);
}

.template-dark .service-cards__desc {
  color: rgba(255, 255, 255, 0.6);
}

/* Knowledge Base Component */
.knowledge-base {
  background-color: #f8f9fa;
}

.knowledge-grid {
  margin-top: 2rem;
}

.knowledge-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.knowledge-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.knowledge-thumbnail {
  overflow: hidden;
}

.knowledge-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.knowledge-item:hover .knowledge-image {
  transform: scale(1.05);
}

.knowledge-content {
  padding: 1.5rem;
}

.knowledge-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.knowledge-title a {
  color: var(--text-color);
  text-decoration: none;
}

.knowledge-title a:hover {
  color: var(--primary-color);
}

.knowledge-excerpt {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.knowledge-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.knowledge-link:hover {
  text-decoration: underline;
}

/* Blog Posts Component – używa .blog-card (patrz sekcja blog-section wyżej) */

/* See Also Component */
.see-also {
  background-color: #f8f9fa;
}

.see-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.see-also-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.see-also-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.see-also-thumbnail {
  overflow: hidden;
}

.see-also-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.see-also-item:hover .see-also-image {
  transform: scale(1.05);
}

.see-also-content {
  padding: 1.5rem;
}

.see-also-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.see-also-title a {
  color: var(--text-color);
  text-decoration: none;
}

.see-also-title a:hover {
  color: var(--primary-color);
}

.see-also-excerpt {
  color: #6c757d;
  line-height: 1.6;
}

/* Contact Form Component */
.contact-form-section {
  background-color: var(--primary-color);
  color: white;
}

.contact-form-section .section-title {
  color: white;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  color: var(--text-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.required {
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(226, 11, 11, 0.1);
}

.form-group--submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  position: relative;
  min-width: 200px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form-messages {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.form-messages.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-messages.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* FAQ Component */
.faq-section {
  background-color: white;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-content {
  padding-bottom: 1.5rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Other Services Component */
.other-services {
  background-color: #f8f9fa;
}

.services-grid {
  margin-top: 2rem;
}

.service-item {
  text-align: center;
}

.service-link {
  display: block;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  height: 100%;
}

.service-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: var(--text-color);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.service-icon--default {
  color: var(--primary-color);
}

.service-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-description {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .page-header--minimal .page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-excerpt {
    font-size: 1.125rem;
  }
  
  .page-header--minimal .page-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .see-also-grid {
    grid-template-columns: 1fr;
  }
  
  /* Horizontal scroll for see-also on mobile */
  .see-also-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  
  .see-also-item {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 300px;
    height: 50vh;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .breadcrumbs-list {
    font-size: 0.8125rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* FOOTER STYLES */
.site-footer {
    background-color: #E20B0B;
    color: #ffffff;
    padding: 80px 0;
    border-top: none;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-top,
.footer-bottom {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-bottom {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: flex-end;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Animowany tekst rotator */
.animated-text-container {
    text-align: left;
    width: 300px;
}

.animated-text {
    font-size: 4rem;
    margin: 0;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
}

.text-rotator {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.rotate-word {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
}

.rotate-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* Ukrywanie na urządzeniach */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Menu w stopce */
.footer-menu,
.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-services li {
    margin-bottom: 8px;
}

.footer-menu a,
.footer-services a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.875rem;
}

.footer-menu a:hover,
.footer-services a:hover {
    opacity: 0.8;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.footer-contact-column p {
    margin: 0;
    line-height: 1.6;
}

.footer-contact-column a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-column a:hover {
    opacity: 0.8;
}

/* Footer logo styling */
.footer-logo img,
.footer-main-logo img {
    max-width: 100%;
    height: auto;
}

.footer-main-logo h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

/* Responsywność */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: flex-start;
    }

    .animated-text-container {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .footer-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Mobile Footer Layout Order */
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    
    .footer-top {
        order: 2;
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        order: 3;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    /* Mobile Logo - First */
    .footer-main-logo {
        order: 1;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-main-logo.desktop-only {
        display: block !important;
    }
    
    /* Mobile Animated Text - Left aligned, bigger */
    .animated-text-container {
        width: 100%;
        text-align: left;
    }
    
    .animated-text {
        font-size: 3rem;
        font-weight: 300;
    }
    
    /* Mobile Contact Column */
    .footer-contact-column {
        text-align: left;
        margin-bottom: 20px;
    }
    
    /* Mobile Menu Columns */
    .footer-menu-column,
    .footer-services-column {
        text-align: left;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .site-footer {
        padding: 30px 0;
    }
    
    .footer-copyright {
        order: 4;
    }
}

@media (max-width: 480px) {
    .text-rotator {
        min-width: 100px;
    }
    
    .animated-text {
        font-size: 2.5rem;
    }
    
    .site-footer {
        padding: 20px 0;
    }
    
    .footer-top,
    .footer-bottom {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-menu-column,
    .footer-services-column {
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   Contact Popup
   ========================================================================== */

@keyframes popup-slide-down {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-popup__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
}

.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 9999;
  animation: popup-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-popup.is-open,
.contact-popup__backdrop.is-open {
  display: block;
}

.contact-popup__inner {
  position: relative;
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-popup__close {
  position: absolute;
  top: 3rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  padding: 0.5rem;
  line-height: 0;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.contact-popup__close:hover {
  background: #f3f3f3;
  color: #000;
}

.contact-popup__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left side */
.contact-popup__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #111;
}

.contact-popup__subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0 0 2.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.contact-popup__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-popup__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-popup__contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.contact-popup__contact-email {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-popup__contact-email:hover {
  color: var(--color-primary, #2563eb);
}

/* Right side – form */
.contact-popup__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-popup__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-popup__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.contact-popup__field input,
.contact-popup__field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-popup__field input:focus,
.contact-popup__field textarea:focus {
  outline: none;
  border-color: var(--color-primary, #2563eb);
  background: #fff;
}

.contact-popup__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-popup__field--checkbox .contact-popup__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.contact-popup__field--checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--color-primary, #2563eb);
}

.contact-popup__field--checkbox a {
  color: var(--color-primary, #2563eb);
  text-decoration: underline;
}

.contact-popup__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  border-radius: 0;
}

.contact-popup__message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.2em;
}

.contact-popup__message--success {
  color: #2a7a2a;
}

.contact-popup__message--error {
  color: #c0392b;
}

/* CF7 overrides inside popup */
.contact-popup .wpcf7-form .wpcf7-text,
.contact-popup .wpcf7-form .wpcf7-email,
.contact-popup .wpcf7-form .wpcf7-tel,
.contact-popup .wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  box-sizing: border-box;
}

.contact-popup .wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-popup .wpcf7-form .wpcf7-submit:hover {
  background: var(--color-primary-dark, #1d4ed8);
}

/* Mobile */
@media (max-width: 900px) {
  .contact-popup__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-popup__heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 600px) {
  .contact-popup__inner {
    padding: 3.5rem 1.25rem 2rem;
  }

  .contact-popup__contacts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-popup__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10001;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
}

/* ==========================================================================
   Go to Top
   ========================================================================== */

.go-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9990;
  width: 45px;
  height: 45px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 30px -2px rgb(0 0 0 / .15);
  font-size: 10px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: transform 1s cubic-bezier(.23, 1, .32, 1),
              box-shadow 1s cubic-bezier(.23, 1, .32, 1),
              opacity 0.3s ease;
}

.go-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.go-to-top:hover {
  box-shadow: 0 0 40px -2px rgb(0 0 0 / .25);
  transform: translateY(-3px);
}

/* ==========================================================================
   Page Hero — hero podstron (template-1/2/3)
   ========================================================================== */

.page-hero {
  padding: 5rem 0 4.5rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 3rem;
  align-items: center;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-primary);
  margin: 0 0 1.25rem 0;
}

.page-hero__excerpt {
  font-size: 1.1rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 52ch;
}

.page-hero__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero__accent {
  height: 320px;
  background: var(--color-border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.page-hero__accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(0,0,0,0.03) 12px,
    rgba(0,0,0,0.03) 13px
  );
}

/* Bez obrazka — pełna szerokość treści */
.page-hero:not(.page-hero--has-image) .page-hero__inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3rem 0 2.5rem;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero__media,
  .page-hero__accent {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

/* ==========================================================================
   Service Hero — nagłówek strony usługi
   ========================================================================== */

.service-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--color-border);
}

.service-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
}

.service-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
}

.service-hero__excerpt {
  font-size: 1.125rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 768px) {
  .service-hero {
    padding: 3rem 0 2.5rem;
  }

  .service-hero__title {
    font-size: 2rem;
  }

  .service-hero__excerpt {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Steps — 3 kroki kontaktu
   ========================================================================== */

.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.steps__number {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.08;
  margin-bottom: 1rem;
  font-family: var(--font-family);
}

.steps__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.steps__desc {
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: var(--base-line-height);
  margin: 0;
}

@media (max-width: 768px) {
  .steps__list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Brand Bar — pasek marki
   ========================================================================== */

.brand-bar {
  background: var(--color-primary);
  padding: 5rem 0;
}

.brand-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.brand-bar__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.brand-bar__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 56ch;
  line-height: var(--base-line-height);
}

.brand-bar__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-bar__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.brand-bar__link:hover {
  color: #fff;
  opacity: 1;
}

.brand-bar__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: #111;
  border: 2px solid #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.brand-bar__cta:hover {
  background: var(--color-additional-1);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .brand-bar__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-bar__contact {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Offer List — lista oferty
   ========================================================================== */

.offer-list-section {
  background: none;
  padding-bottom: 6rem;
  padding-top: 6rem;
}

.offer-list__heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-top: .75rem;
}

.offer-list__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sw-border, var(--color-border));
}

.offer-list__group-title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--color-border);
}

.offer-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list__item {
  font-size: .875rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.offer-list__item:last-child {
  border-bottom: none;
}

.offer-list__item a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color .2s;
}

.offer-list__item a:hover {
  color: var(--color-additional-1);
}

@media (max-width: 1024px) {
  .offer-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .offer-list__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Service Cards — 4 karty usług
   ========================================================================== */

.service-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-cards__item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-cards__item:hover {
  box-shadow: 0 8px 32px -4px rgb(0 0 0 / .08);
  transform: translateY(-3px);
}

.service-cards__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
}

.service-cards__desc {
  font-size: 0.9rem;
  color: var(--color-secondary);
  line-height: var(--base-line-height);
  margin: 0;
}

/* ==========================================================================
   Contact Section — sekcja kontaktowa (1:1 styl popup)
   ========================================================================== */

.contact-section {
  background: #fff;
}

.contact-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── Lewa kolumna ── */
.contact-section__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #111;
}

.contact-section__subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0 0 2.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.contact-section__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-section__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-section__contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.contact-section__contact-email {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-section__contact-email:hover {
  color: #555;
}

.contact-section__services-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.75rem;
}

.contact-section__services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-section__services-list li {
  font-size: 0.9rem;
  color: #555;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee;
}

.contact-section__services-list li:last-child {
  border-bottom: none;
}

/* ── Prawa kolumna — formularz ── */
.contact-section__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-section__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-section__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-section__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.contact-section__field input,
.contact-section__field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-section__field input:focus,
.contact-section__field textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.contact-section__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-section__field--checkbox .contact-section__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.contact-section__field--checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.15rem;
  accent-color: #111;
}

.contact-section__field--checkbox a {
  color: #111;
  text-decoration: underline;
}

.contact-section__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.contact-section__messages {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
}

/* ── Responsywność ── */
@media (max-width: 1024px) {
  .contact-section__inner {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2.5rem;
    gap: 2.5rem;
  }

  .contact-section__contacts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-section__field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .service-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-cards__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact Form 7 – grid layout ── */
.contact-section__right .wpcf7 .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin: 0 0 1.1rem;
}

.contact-section__right .wpcf7 .col-md-6 {
  width: calc(50% - 0.5rem);
  box-sizing: border-box;
  margin-bottom: 0;
}

.contact-section__right .wpcf7 .col-md-12 {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .contact-section__right .wpcf7 .col-md-6 {
    width: 100%;
  }
}

/* CF7 inputs – match contact-section style */
.contact-section__right .wpcf7 input[type="text"],
.contact-section__right .wpcf7 input[type="email"],
.contact-section__right .wpcf7 input[type="tel"],
.contact-section__right .wpcf7 select,
.contact-section__right .wpcf7 textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-section__right .wpcf7 input[type="text"]:focus,
.contact-section__right .wpcf7 input[type="email"]:focus,
.contact-section__right .wpcf7 input[type="tel"]:focus,
.contact-section__right .wpcf7 select:focus,
.contact-section__right .wpcf7 textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.contact-section__right .wpcf7 textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-section__right .wpcf7 label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
}

.contact-section__right .wpcf7 .wpcf7-submit {
  margin-top: 0.5rem;
}

.contact-section__right .wpcf7 .wpcf7-response-output {
  margin-top: 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

/* ==========================================================================
   FAQ artykułu (post-faq.php)
   ========================================================================== */

.post-faq {
  padding: 80px 0;
  background: var(--color-bg, #fff);
}

.post-faq__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
}

.post-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border, #e5e5e5);
}

.post-faq__item {
  border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.post-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.post-faq__question::-webkit-details-marker { display: none; }

.post-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.post-faq__icon::before,
.post-faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.post-faq__icon::before { width: 2px; height: 14px; }
.post-faq__icon::after  { width: 14px; height: 2px; }

.post-faq__item[open] .post-faq__icon {
  transform: rotate(45deg);
}

.post-faq__answer {
  padding: 0 0 24px;
  color: var(--color-text-muted, #666);
  line-height: 1.7;
}

.post-faq__answer p { margin: 0; }

/* ==========================================================================
   Strona 404
   ========================================================================== */

.error404-hero {
  padding: 100px 0 60px;
}

.error404-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.error404-hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.error404-hero__digit {
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -4px;
}

.error404-hero__zero {
  width: clamp(90px, 14vw, 160px);
  animation: spin404 20s linear infinite;
}

@keyframes spin404 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.error404-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-additional-1);
  margin-bottom: 16px;
}

.error404-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.error404-hero__desc {
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.error404-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Wyszukiwarka */
.error404-search {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.error404-search__label {
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.error404-search__form {
  display: flex;
  gap: 0;
  max-width: 520px;
}

.error404-search__input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.error404-search__input:focus {
  border-color: var(--color-primary);
}

.error404-search__btn {
  padding: 14px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.error404-search__btn:hover { opacity: 0.8; }

/* Szybkie linki */
.error404-links {
  padding: 60px 0;
  background: #f9f9f9;
}

.error404-links__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.error404-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.error404-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.error404-link-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.error404-link-card__icon { font-size: 1.2rem; }

.error404-link-card__title { flex: 1; font-size: 0.95rem; }

.error404-link-card__arrow {
  color: var(--color-additional-1);
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.error404-link-card:hover .error404-link-card__arrow {
  transform: translateX(4px);
}

/* CTA przed offer-list */
.error404-cta {
  padding: 80px 0 40px;
}

.error404-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error404-cta__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-additional-1);
  margin-bottom: 16px;
}

.error404-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.error404-cta__desc {
  color: var(--color-secondary);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .error404-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .error404-hero__graphic {
    order: -1;
  }

  .error404-hero__desc {
    margin-inline: auto;
  }

  .error404-hero__actions {
    justify-content: center;
  }

  .error404-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .error404-links__grid {
    grid-template-columns: 1fr;
  }

  .error404-search__form {
    flex-direction: column;
  }

  .error404-search__input {
    border-right: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }

  .error404-search__btn {
    border-radius: 0 0 4px 4px;
    justify-content: center;
  }
}

/* ==========================================================================
   Nawigacja prev/next (single.php)
   ========================================================================== */

.post-nav {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  margin: 2rem 0 0;
}

.post-nav__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.post-nav__item a {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-decoration: none;
  color: var(--color-primary);
}

.post-nav__item--next a {
  align-items: flex-end;
  text-align: right;
}

.post-nav__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-secondary);
  transition: color .2s;
}

.post-nav__item a:hover .post-nav__label {
  color: var(--color-additional-1);
}

.post-nav__title {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 36ch;
}

/* ==========================================================================
   Powiązane wpisy (single.php)
   ========================================================================== */

.related-posts {
  padding: 3rem 0 4rem;
}

.related-posts__header {
  margin-bottom: 2rem;
}

.related-posts__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.related-post-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-post-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.related-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.related-post-card__link:hover .related-post-card__thumb img {
  transform: scale(1.04);
}

.related-post-card__cat {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .6rem;
  border-radius: 2px;
}

.related-post-card__date {
  display: block;
  font-size: .75rem;
  color: var(--color-secondary);
  margin-bottom: .35rem;
}

.related-post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: var(--color-primary);
  transition: color .2s;
}

.related-post-card__link:hover .related-post-card__title {
  color: var(--color-additional-1);
}

@media (max-width: 640px) {
  .post-nav__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .post-nav__item--next a {
    align-items: flex-start;
    text-align: left;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Reviews Section (front-page)
   ============================================================ */

.reviews-section {
  padding: 5rem 0;
  background: #fff;
}

.reviews-section__top {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.reviews-section__left {
  flex: 1;
  min-width: 0;
}

.reviews-section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-additional-1);
  margin: 0 0 0.75rem;
}

.reviews-section__title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary, #222);
  margin: 0 0 1rem;
}

.reviews-section__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-secondary, #666);
  margin: 0 0 1.75rem;
  max-width: 480px;
}

.reviews-section__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.reviews-section__btn:hover {
  background: var(--color-additional-1);
  border-color: var(--color-additional-1);
  transform: translateY(-2px);
}

.reviews-section__right {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.reviews-section__score {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.reviews-section__score-number {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary, #222);
  letter-spacing: -0.02em;
}

.reviews-section__score-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reviews-section__stars {
  display: flex;
  gap: 2px;
  font-size: 1.5rem;
  line-height: 1;
}

.reviews-section__star {
  color: #ddd;
  transition: color 0.2s ease;
}

.reviews-section__star--full {
  color: #F9AB00;
}

.reviews-section__count {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-secondary, #666);
  margin: 0;
}

.reviews-section__google-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}

.reviews-section__avg-note {
  font-size: 0.75rem;
  color: var(--color-secondary, #666);
  margin: 0;
  line-height: 1.5;
}

.reviews-section__avatars {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}

.reviews-section__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -8px;
  flex-shrink: 0;
}

.reviews-section__avatar:first-child {
  margin-left: 0;
}

.reviews-section__carousel {
  position: relative;
  overflow: hidden;
}

.reviews-section__track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: stretch;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border, #eee);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: #ccc;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review-card__author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary, #222);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__source {
  font-size: 0.75rem;
  color: var(--color-secondary, #666);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  font-size: 1.125rem;
  line-height: 1;
}

.review-card__star {
  color: #ddd;
}

.review-card__star--full {
  color: #F9AB00;
}

.review-card__content {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text, #333);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  flex: 1;
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--color-secondary, #666);
  display: block;
  margin-top: auto;
}

.reviews-section__nav {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.reviews-section__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border, #eee);
  background: #fff;
  color: var(--color-primary, #222);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.reviews-section__nav-btn:hover:not(:disabled) {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
}

.reviews-section__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 960px) {
  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 3.5rem 0;
  }

  .reviews-section__top {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .reviews-section__right {
    width: 100%;
    flex: 0 0 auto;
  }

  .reviews-section__title {
    font-size: 1.75rem;
  }

  .reviews-section__score-number {
    font-size: 3.5rem;
  }
}

@media (max-width: 640px) {
  .reviews-section {
    padding: 2.5rem 0;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .reviews-section__title {
    font-size: 1.5rem;
  }

  .reviews-section__score-number {
    font-size: 3rem;
  }

  .reviews-section__stars {
    font-size: 1.25rem;
  }

  .reviews-section__nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .reviews-section__score {
    gap: 1rem;
  }

  .review-card {
    padding: 1.25rem;
  }
}
