:root {
  --blue-dark: #010f30;
  --blue: #012169;
  --red-dark: #880017;
  --red: #c8102e;
  --white: #efefef;
  --grey: #e7e7e7;
  --dark-grey: #333333;
  --dark-blue: #051b3a;
  --max-w: 1536px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 360px;
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--grey);
}

h2 {
  color: var(--red);
  font-size: 1.5rem;
  text-align: center;
}

header {
  background: var(--grey);
  color: var(--white);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  max-width: var(--max-w);
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

header .logo a {
  font-weight: 400;
  text-decoration: none;
}

header .logo img {
  vertical-align: middle;
  margin-right: 8px;
}

header .logo-text {
  font-size: 2rem;
  font-weight: 400;
  color: var(--blue-dark);
  vertical-align: middle;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-direction: row;
}

.desktop-nav ul li {
  transition: all 0.2s;
}

.desktop-nav ul li:hover {
  transform: scale(1.1);
}

.desktop-nav ul li a {
  color: var(--blue);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

/* separator w menu (desktop) */
.desktop-nav .menu-sep {
  width: 1px;
  height: 1.25rem;
  background: currentColor;
  opacity: .25;
  margin: 0 .75rem;
}

/* dopracowanie przełącznika języka */
.desktop-nav .lang-switch a { margin: 0 .25rem; }
.desktop-nav .lang-switch .dot { opacity: .35; margin: 0 .35rem; }

.desktop-nav ul li:hover a {
  color: var(--red-dark);
}

/* Hamburger Menu (Hidden by Default, Visible on Mobile) */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--blue-dark);
  cursor: pointer;
}

/* Drawer Navigation (Hidden by Default) */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding-top: 2rem;
  transition: left 0.3s ease-in-out;
  z-index: 3000;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav ul li {
}

.mobile-nav ul li a {
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 1rem;
  transition: background 0.3s;
}

.mobile-nav ul li a:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* wersja mobilna – cienka linia przez całą szerokość */
.mobile-nav .menu-sep {
  height: 1px;
  width: 100%;
  background: currentColor;
  opacity: .15;
  margin: .5rem 0;
}

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

.mobile-nav.active {
  left: 0;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* pionowe separatory między linkami językowymi */
.lang-switch a {
  display: inline-block;
}
.lang-switch a + a {
  position: relative;
  padding-left: .75rem;
  margin-left: .75rem;
}
.lang-switch a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.9em;
  background: rgba(0,0,0,.25);   /* jasny motyw */
}

/* Sekcja Hero */
.hero {
  color: var(--blue);
}

.hero h2 {
  text-align: left;
}

.hero .container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: var(--max-w);
}

.hero .img-wrapper {
  height: 16rem;
  position: relative;
  overflow: hidden;
}

.hero img {
  height: 100%;
  width: 100%;
  z-index: 0;
  object-position: 100% 40%;
  object-fit: cover;
}

.hero .img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  opacity: 0.6;
  pointer-events: none; /* Allows clicks to pass through to the image */
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
}

.cta-button-main {
  background: var(--red);
  color: var(--white);
  padding: 15px 30px;
  width: fit-content;
  font-weight: 700;
  font-family: Lato, sans-serif;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  text-wrap: nowrap;
}
.cta-button-main:hover {
  background: var(--red-dark);
}

.cta-button-main:active {
  transform: scale(0.98);
}

/* Spójny odstęp między CTA */
.cta-group a + a {
  margin-left: 8px;
}

.hero .inner-wrapper {
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
}

/* Sekcja O Nas */
.about {
  padding: 6rem 2rem 0rem 2rem;
  padding-top: 6rem;
}

.about .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.about .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  max-width: 800px;
  font-size: 18px;
  padding: 1.5rem 2rem;
  background-color: var(--white);
  color: var(--dark-grey);
}

.about .card img {
  width: 3rem;
  height: 3rem;
}

.about .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.about .card p {
  font-size: 0.8rem;
  text-align: center;
}

.about .card h3 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--blue);
  font-weight: 800;
}

/* Sekcja Oferta */
.offer {
  padding: 6rem 2rem 2rem 2rem;
}

.offer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.subtitle {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 2rem;
  font-family: "Nunito Sans", sans-serif;
}

.offer .offer-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 2rem;
  align-items: stretch; /* Ensures all items stretch to the same height */
}

.offer .offer-item {
  padding: 2.5rem 1rem 4rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  background-color: var(--white);
}

.offer .offer-features-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.offer .cta-button {
  margin-top: auto;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s;
}

.offer .cta-button:hover {
  background: var(--blue-dark);
}

.offer .offer-item .price-wrapper {
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.offer .offer-item .price {
  font-size: 3.2rem;
  color: var(--red);
  line-height: 100%;
  font-family: "Nunito Sans";
  font-weight: 900;
}

.offer .offer-item .price-description {
  font-size: 1rem;
  color: var(--red);
  font-family: "Nunito Sans";
  line-height: 100%;
  margin-top: 0.2rem;
  font-weight: 900;
}

.offer .offer-item .info {
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 600;
}

.offer .offer-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue);
}

.offer .offer-features {
  list-style: none;
  padding: 0;
  text-transform: lowercase;
  margin-bottom: 20px;
}

.offer .offer-features li {
  font-size: 0.9rem;
  padding: 5px 0;
  color: var(--blue);
}

.offer .offer-features li.unavailable {
  color: #b2b2b2;
}

/* Sekcja Cennik */
.pricing {
  background: var(--grey);
  display: flex;
  justify-content: center;
  margin: 0rem 2rem 0rem 2rem;
}

.pricing .container {
  background-color: var(--white);
  padding: 1.5rem 2rem 2rem 2rem;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--blue);
}

.pricing .additional-services {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 18px;
  color: var(--dark-grey);
}

.pricing .additional-services li {
  display: flex;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
}

.pricing .additional-services li .subject {
  font-size: 16px;
  color: var(--blue);
}

.pricing .additional-services li .price {
  font-size: 1rem;
  color: var(--red);
  font-weight: bold;
}

.pricing .disclaimer {
  margin-top: 1rem;
  text-align: center;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--blue);
}

/* Sekcja Partnerzy */
.partners {
  padding: 2rem 2rem 0rem 2rem;
  color: var(--dark-grey);
}

.partners .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.partners h2 {
  text-align: center;
  padding-top: 5rem;
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--blue);
}

.partners .container > p {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 3rem;
}

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

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  max-width: 800px;
  font-size: 18px;
  padding: 3rem 2rem;
  background-color: var(--white);
  color: var(--dark-grey);
  transition: all 0.3s;
}

.partner-item:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-item h3 {
  font-size: 24px;
  margin-top: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Nunito Sans", sans-serif;
  color: var(--blue);
}

.partner-item ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
}

.partner-item p {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 300;
  font-family: "Lato", sans-serif;
}

.partner-item ul li {
  margin: 0.2rem 0;
  color: var(--blue);
  font-family: "Nunito Sans", sans-serif;
}

.partner-item ul li i {
  margin: 0 5px;
  color: var(--blue);
}

.partner-item:hover .join-us-link-wrapper {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

.partner-item.join-us-container {
  margin-top: 2rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.partner-item .join-us-link-wrapper {
  align-items: center;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
  flex-direction: column;
}

.partner-item p.join-us {
  font-size: 20px;
  font-family: "Nunito Sans", sans-serif;
  color: var(--dark-blue);
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

.partner-item div.join-us-link-wrapper img {
  height: 50px;
  width: auto;
}

.partner-logo {
  width: auto;
  height: 50px;
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.partner-item {
  transition: box-shadow 0.3s ease-in-out;
}

.partner-item:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Sekcja Kontakt */
.contact {
  color: var(--dark-grey);
  padding: 6rem 2rem 2rem 2rem;
}

.contact .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch; /* Ensures both columns stretch to the same height */
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact .container .form-container,
.contact .container .map-container {
  flex: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

.contact .form-container form {
  display: flex;
  width: 100%;
  margin: 0;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.contact .container .map-container {
  min-height: 400px;
  background-color: #fff;
  border-radius: 5px;
}

.contact iframe {
  flex-grow: 1;
  height: 100%;
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.contact .contact-header {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.contact h3 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--blue);
}

.contact .contact-header p {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 3rem;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  font-family: "Open Sans", sans-serif;
  resize: none;
  border-radius: 5px;
  font-size: 16px;
}

.contact form .cta-button-main {
  display: block;
  width: 100%;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contact .map-container .contact-data {
  background-color: #fff;
  font-weight: 800;
  font-family: Lato, sans-serif;
  border-radius: 0 0 5px 5px;
  display: flex;
  height: 4rem;
  gap: 2rem;
  align-items: center;
  justify-content: space-around;
}

.contact .map-container .contact-data div:hover {
  transform: scale(1.1);
}
.contact .map-container .contact-data div {
  transition: all 0.2s;
}

.contact .map-container .contact-data i {
  color: var(--red);
  margin-right: 5px;
  text-decoration: none;
}
.contact .map-container .contact-data a {
  color: var(--red);
  text-decoration: none;
}

/* Ujednolicenie selecta z input/textarea */
.input-control.styled-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  line-height: 1.4;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

.input-control.styled-select:focus {
  outline: none;
  border-color: var(--primary, #667eea);
  box-shadow: 0 0 0 3px rgba(102,126,234,.15);
}

/* Fieldset modułów */
.checkboxes {
  margin-top: 8px;
  border: none;
  padding: 0;
}
.checkboxes legend {
  margin-bottom: 8px;
  font-weight: 600;
}

/* Pojedynczy checkbox w stylu strony */
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

/* Ukryj natywny checkbox */
.checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* „Pudełko” checkboxa */
.checkbox .box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color, #e5e7eb);
  border-radius: 6px;
  display: inline-block;
  position: relative;
  transition: all .2s ease;
  background: #fff;
}

/* Zaznaczony stan */
.checkbox input[type="checkbox"]:checked + .box {
  background: var(--primary, #667eea);
  border-color: var(--primary, #667eea);
}

/* „ptaszek” */
.checkbox .box::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  margin: 4px 0 0 3px;
  transition: opacity .2s ease, transform .2s ease;
}
.checkbox input[type="checkbox"]:checked + .box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

/* Fokus klawiaturą – ring jak na inputach */
.checkbox input[type="checkbox"]:focus + .box {
  box-shadow: 0 0 0 3px rgba(102,126,234,.15);
  border-color: var(--primary, #667eea);
}

/* Stopka */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--blue-dark);
  color: var(--white);
  padding: 20px 10px;
}

footer .social-media {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

footer .social-media i {
  color: var(--white);
  transition: all 0.2s;
}

footer .social-media i:hover {
  color: var(--white);
  transform: scale(1.1);
}

footer .social-media i:active {
  color: var(--grey);
  transform: scale(0.95);
}

footer .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer a:hover {
  text-decoration: underline;
}

footer .copyright {
  margin-top: 1rem;
  text-align: center;
  font-weight: 300;
  font-size: 0.7rem;
}

footer nav ul {
  list-style: none;
  display: flex;
  margin: 1.5rem 0;
  gap: 0.5rem;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

footer nav ul li {
  transition: all 0.2s;
}

footer nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
}

footer nav ul li a:hover {
  text-decoration: none;
  font-weight: 400;
}

footer nav ul li:hover {
  transform: scale(1.1);
}
/*--------------*/

.blog {
  padding: 3rem 2rem 0rem 2rem;
}

.blog .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.blog h3 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--blue);
}

.blog .blog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.blog .blog-list li {
  max-width: 1024px;
  display: flex;
  width: 100%;
  transition: all 0.2s;
}

.blog .blog-list li a {
  background-color: var(--white);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  transition: all 0.2s;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 600;
  color: var(--blue-dark);
}

.blog .blog-list li span {
  color: var(--blue-dark);
  font-weight: 300;
  font-size: 12px;
}

.blog .blog-list li:hover a {
  color: var(--red-dark);
}

.blog .blog-list li:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transform: scale(1.01);
}

.blog-post {
  padding-top: 3rem;
}

.blog-post .container {
  display: flex;
  max-width: 900px;
  padding: 2rem 2rem 0rem 2rem;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.blog-post .container ul {
  margin: 0 1.5rem;
}

.blog-post h1 {
  text-align: center;
  font-size: 30px;
  padding: 0 1rem;
  font-weight: 800;
  color: var(--blue);
}

.blog-post h3 {
  text-align: left;
  width: 100%;
  margin: 1rem 0rem 0.5rem 0rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
}

.blog-post .img-wrapper {
  height: 16rem;
  display: flex;
  width: 100%;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.blog-post img {
  height: 100%;
  width: 100%;
  z-index: 0;
  object-position: 100% 40%;
  object-fit: cover;
}

.blog-post .img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  opacity: 0.6;
  pointer-events: none; /* Allows clicks to pass through to the image */
}

.pagination {
  display: flex;
  margin-top: 1rem;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a {
  text-decoration: none;
  color: #010f30;
  background-color: var(--white);
  padding: 0.3rem 0.7rem;
  transition: all 0.2s;
}

.pagination a:hover {
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.pagination a.active {
  color: var(--red-dark);
  transform: scale(1.1);
}

.pagination a.active:hover {
  box-shadow: none;
}

.companies .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.companies h3 {
  text-align: center;
}

.companies .container {
  padding: 2rem;
}

.companies ul {
  margin-top: 4rem;
}

.companies ul li {
  list-style: none;
  border-bottom: 1px solid #d1d0d0;
  padding: 1rem;
}

/* === FAQ & MINI-CASE — dwie takie same karty === */
.mini-case .case-card,
.faq-list {
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

/* zachowaj separator wierszy w FAQ wewnątrz białej karty */
.faq-list details {
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  padding: 10px 0;
}

/* === Dwie kolumny o identycznej szerokości === */
.faq-two-col .cols {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr); /* 50/50 i bez rozpychania */
  gap: 24px;
  align-items: start;
}

/* === H2 w FAQ takie jak w „DLACZEGO VIURO” === */
.faq h2 {
  text-align: center;
  margin-bottom: 3rem;         /* taki sam jak w sekcji 'about' */
  color: var(--red, #c8102e); /* ten sam kolor nagłówków u Ciebie */
}

/* ten sam rytm pionowy sekcji jak 'about' (bez zmian w HTML) */
.faq {
  padding: 6rem 2rem 0;        /* góra i boczne jak w 'about' */
}

/* FAQ/MINI-CASE: szerokość jak w .contact */
.faq .container,
.mini-case .container {
  max-width: var(--max-w);   /* ta sama zmienna, której używasz niżej */
  margin: 0 auto;            /* wyśrodkowanie */
}

/* Jeśli w którejś z tych sekcji nie masz wrappera .container,
   to awaryjnie dociśnij szerokość po samym bloku: */
.faq-two-col,
.mini-case {
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .about .grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .offer .offer-wrapper {
    flex-direction: column;
  }
  .partners .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact .container {
    flex-direction: column;
  }
  .faq-two-col .cols {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .about .grid-container {
    grid-template-columns: 1fr;
  }
  .offer .offer-wrapper {
    flex-direction: column;
  }
  .partners .partners-grid {
    grid-template-columns: 1fr;
  }
  .faq-two-col .cols {
    grid-template-columns: 1fr;
  }
  .contact .container {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 16px;
  }
  .cta-button-main {
    font-size: 14px;
  }

  .contact .map-container .contact-data {
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    padding: 2rem 0;
  }

  header {
    padding: 1rem 1.5rem;
  }

  header .logo img {
    width: 2rem;
  }

  header .logo-text {
    font-size: 1.5rem;
  }

  .blog .blog-post h1 {
    font-size: 25px;
  }

  .blog .blog-list li a {
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 420px) {
  h2 {
    font-size: 20px;
  }
  .subtitle {
    font-size: 2rem;
  }
  .pricing .container {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .pricing .additional-services li .subject,
  .pricing .additional-services li .price {
    font-size: 14px;
  }
  .faq .mini-case .case-card { 
    padding: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  .lang-switch-dash a + a::before { background: rgba(255,255,255,.35); }
}

/* Mailer */
.hidden-check {
  position: absolute;
  left: -9999px;
}

/* Animated images (finishing on top part)*/
@keyframes verticalPanOnceTop {
  0% {
    transform: translateY(-30%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10%);
    opacity: 1;
  }
}

.img-wrapper.animated-top {
  height: 16rem;
  overflow: hidden;
  position: relative;
}

.img-wrapper.animated-top img {
  min-height: 600%; /* ensures image is larger than wrapper */
  width: 100%;
  animation: verticalPanOnceTop 2s ease-in-out forwards;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Animated images (finishing on bottom part)*/
@keyframes verticalPanOnceBottom {
  0% {
    transform: translateY(-10%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-30%);
    opacity: 1;
  }
}

.img-wrapper.animated-bottom {
  height: 16rem;
  overflow: hidden;
  position: relative;
}

.img-wrapper.animated-bottom img {
  min-height: 600%; /* ensures image is larger than wrapper */
  width: 100%;
  animation: verticalPanOnceBottom 2s ease-in-out forwards;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
