/* =========================================
   ZMIENNE CSS
   ========================================= */
:root {
  /* Kolory podstawowe */
  --primary-color: #c71f1f; /* Kolor czerwony - główny kolor brandingowy */
  --primary-dark: #a01414; /* Przyciemniony czerwony dla hover */
  --secondary-color: #333333; /* Kolor ciemny do tekstów */
  --light-color: #ffffff; /* Biały kolor */
  --light-gray: #f0f0f0; /* Jasny szary do tła sekcji */
  --medium-gray: #e0e0e0; /* Średni szary do elementów formularzy */
  --dark-gray: #777777; /* Ciemny szary do subtekstów */
  --border-color: #dddddd; /* Kolor obramowań */

  /* Typografia */
  --heading-font: "Montserrat", sans-serif; /* Font nagłówkowy */
  --body-font: "Open Sans", sans-serif; /* Font tekstowy */

  /* Rozmiary fontów */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-md: 1.125rem; /* 18px */
  --font-size-lg: 1.25rem; /* 20px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem; /* 36px */

  /* Grubości fontów */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Przestrzenie */
  --space-xs: 0.25rem; /* 4px */
  --space-sm: 1.2rem; /* 8px */
  --space-md: 2rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */

  /* Cienie */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Zaokrąglenia */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  --border-radius-xl: 12px;

  /* Przejścia */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --header-height: 125px;
  --mobile-header-height: 100px;
  --container-max-width: 1200px;
}

/* =========================================
   RESET I PODSTAWOWE STYLE
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* Płynne przewijanie do sekcji */
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--secondary-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  display: block;
  /* font-size: var(--font-size-2xl); */
  font-size: var(--font-size-lg);
  position: relative;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: center;
  width: 100%;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-sm);
}

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

ul {
  list-style-type: none;
  margin-left: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

button,
.cta-button,
.submit-button {
  cursor: pointer;
  font-family: var(--heading-font);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
}

/* Subtelne tła dla różnych sekcji */
#o-nas {
  background-color: #f0f0f0;

  /* background-color: red; */
}

#nasze-uslugi {
  background-color: var(--light-color);
  
}

#proces-wspolpracy {
  background-color: var(--light-gray);
}

#linkedin {
  background-color: var(--light-color);
}

#kontakt {
  background-color: var(--light-gray);
}

/* =========================================
KONTENERY I UKŁAD
========================================= */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* .section-title {
  font-size: 287px;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #c22126;
} */
.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
  padding: 0 15px;
}

.section-container {
  padding: var(--space-2xl) 0;
}

.section-content {
  /* background-color: #0077b5; */
  text-align: center;
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  /* margin: 8rem auto; */
}

.section-full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 10;
}
.section-full-height.first {
  margin-top: 25vh;
}

/* 888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 */
.header-image {
  height: 80vh;
  width: 100%;
  display: flex;
  /* background-color: rgb(23, 187, 179); */
  position: fixed;
  margin-top: 95px;
  top: 0;
  z-index: -100;
  background-color: var(--light-gray);
  overflow: hidden;
}

.image-office {
 
  max-width: 1200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}
.header-image-text {

  margin: auto;
  align-items: center;
  z-index: 200;
  text-align: center;
  margin-top: 37vh;
  width: 650px;
  font-family: var(--heading-font);
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-md);
  color: var(--secondary-color);
  font-size: 1.6rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: 80%;

  z-index: 10;
}

.section-auto-height {
  padding: var(--space-2xl) 0;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--dark-gray);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.rw-paragraph {
  text-align: justify;
}

.rw-list {
  margin-top: 40px;
  text-align: justify;
  list-style-type: square;
}

.rw-heading-candidates {
  text-align: left;
  margin-top: 50px;
  margin-bottom: 10px;
}

.rw-offer-description {
  text-align: justify;
  margin-top: 20px;
  margin-bottom: 10px;
}

.rw-offer-business {
  margin-bottom: 50px;
}

.rw-offer-debt {
  margin-top: 50px;
}

.rw-services-list {
  margin-bottom: 20px;
}
.offer-section {
  background-color: var(--light-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* =========================================
   NAGŁÓWEK I NAWIGACJA
   ========================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  height: var(--header-height);
  transition: height var(--transition-base);
  background-color: var(--light-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  /* padding: 10px;
    width: 20%; */
  height: 100%;

  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
}

.logo a {
  color: var(--secondary-color);
  display: block;
  height: 100%;
  align-items: center;
}

.img-logo {
  /* margin: 10px;
    width: 100%; */
  height: 100%;
}

.logo h1 {
  font-size: var(--font-size-xl);
  margin-bottom: 0;
}

.desktop-nav {
  display: flex;
}

.desktop-nav ul {
  display: flex;
}

.desktop-nav li {
  margin: 0 var(--space-sm);
}

.desktop-nav a {
  color: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  /* padding: var(--space-sm) var(--space-md); */
  transition: all var(--transition-base);
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-base);
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Ukrywanie pozycji menu, które mają być niewidoczne */
.hidden-nav {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  transition: all var(--transition-base);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  list-style-type: none;
  /* margin-top: 10%; */
  padding-bottom: 10%;
  background-color: var(--light-color);
  box-shadow: var(--shadow-md);
  transform: translateX(-100%);
  opacity: 0.3;
  visibility: hidden;
  transition: transform var(--transition-base), opacity var(--transition-base),
    visibility var(--transition-base);
  z-index: 999;
  pointer-events: none;
}

.mobile-nav a {
  font-size: var(--font-size-lg);
  color: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  padding: var(--space-sm);
  padding-left: 16%;

  display: block;
  transition: all var(--transition-base);
}

/* Style dla nagłówków H2 - element after tylko dla głównych nagłówków */
.rw-heading {
  display: block;
  font-size: var(--font-size-lg);
  position: relative;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: center;
  width: 100%;
}

.rw-heading-about::after,
.rw-heading-offer::after,
.rw-heading-process::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

/* Style dla cytatu */
.rw-quote-footer {
  font-style: italic;
  margin: 30px 0;
  width: 100%;
  padding: 15px;
  border-left: 3px solid var(--primary-color);
  background-color: var(--medium-gray);
  text-align: center;
}

/* =========================================
   PRZYCISK DO PRZEWIJANIA NA GÓRĘ
   ========================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
}

/* =========================================
   SEKCJA: O NAS
   ========================================= */
.about-content {
  display: flex;
  align-items: center;
  text-align: justify;
  flex-direction: column;
  /* margin-top: 140px; */
}

.about-image {
  flex: 1;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--border-radius-md);
}

.mission-vision-section {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.mission-section,
.vision-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.mission-section p,
.vision-section p {
  flex: 1;
  min-width: 300px;
}

.mission-image,
.vision-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.cta-button {
  padding: calc(var(--space-md) * 0.6) calc(var(--space-2xl) * 1);
  font-size: calc(var(--font-size-base) * 0.7);
  margin-top: calc(var(--space-lg) * 0.7);
  height: auto;
  line-height: normal;
  text-align: center;

  display: inline-block;
  background-color: var(--primary-color);
  color: white;

  border: none;
  border-radius: var(--border-radius-md);

  font-weight: var(--font-weight-medium);

  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================
   SEKCJA: NASZE USŁUGI
   ========================================= */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.service-card {
  flex: 1 1 250px;
  max-width: 280px;
  padding: var(--space-lg);
  background-color: var(--light-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(199, 31, 31, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--space-md);
}

.service-icon i {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
}

.service-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

/* =========================================
   SEKCJA: PROCES WSPÓŁPRACY
   ========================================= */
.process-steps {
  max-width: 700px;
  margin: var(--space-xl) auto 0;
}

.process-step {
  display: flex;
  /* margin-bottom: var(--space-xl); */
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  position: absolute;
  top: -12px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-sm);
  box-shadow: 0 3px 8px rgba(194, 33, 38, 0.2);
}

.process-step:nth-child(odd) .step-number {
  right: -12px;
}
.process-step:nth-child(even) .step-number {
  left: -12px;
}

.step-content {
  width: 45%;
  background-color: white;
  padding: 30px;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.process-step:nth-child(odd) .step-content {
  margin-left: auto;
}

.process-step:nth-child(odd) .step-content:before {
  content: "";
  position: absolute;
  top: 30px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
  z-index: -1;
}

.process-step:nth-child(even) .step-content:before {
  content: "";
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.05);
  z-index: -1;
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

.step-title {
  width: 100%;
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}
.step-description {
  font-size: var(--font-size-base);
  color: #666;
  line-height: 1.6;
}

#step-1 {
  top: 0%;
  left: 0%;
  background-color: #ffffff;
}

#step-2 {
  top: 20%;
  left: 10%;
  background-color: #ffffff;
}

#step-3 {
  top: 40%;
  left: 38%;
  background-color: #ffffff;
}

#step-4 {
  top: 60%;
  left: 46%;
  background-color: #ffffff;
}

#step-5 {
  top: 80%;
  left: 52%;
  background-color: #ffffff;
}
#step-6 {
  top: 100%;
  left: 60%;
  background-color: #ffffff;
}

.step-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: white;
  border: 3px solid #c22126;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(194, 33, 38, 0.1);
}

.step-icon i {
  font-size: 24px;
  color: #c22126;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================
   SEKCJA: LINKEDIN
   ========================================= */
.linkedin-placeholder {
  background-color: var(--light-color);
  border-radius: var(--border-radius-md);
  margin-top: var(--space-2xl);
  text-align: center;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.linkedin-placeholder i {
  font-size: 48px;
  color: #0077b5;
  margin-bottom: var(--space-md);
}

.linkedin-placeholder h3 {
  margin-bottom: var(--space-md);
}

.linkedin-embed {
  width: 100%;
  height: 399px;
  border: none;
}

.linkedin-buttons {
  margin-top: var(--space-lg);
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  background-color: #0077b5;
  color: white;
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
}

.linkedin-button i {
  font-size: var(--font-size-md);
  margin-right: var(--space-sm);
  color: white;
  margin-bottom: 0;
}

.linkedin-button:hover {
  background-color: #005e93;
}

/* =========================================
   SEKCJA: KONTAKT
   ========================================= */
.contact-container {
  display: flex;
  margin-top: var(--space-xl);
  gap: var(--space-xl);
  text-align: left;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(199, 31, 31, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: var(--space-md);
  color: var(--primary-color);
  font-size: var(--font-size-md);
}

.contact-social {
  margin-top: var(--space-xl);
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;

  border-radius: 50%;
  color: #0077b5;
  transition: all var(--transition-base);
  margin-right: var(--space-sm);
}

.social-icon:hover {
  background-color: #0077b5;
  color: white;
}

.contact-form-container {
  flex: 1;
}

.contact-form {
  background-color: var(--light-color);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  flex: 1;
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-xs);
  border: none;
  outline: none;
  border-bottom: 1px solid var(--border-color);
  /* border-radius: var(--border-radius-sm); */
  font-family: var(--body-font);
  font-size: var(--font-size-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: var(--space-sm);
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-sm);
}

.submit-button {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  width: 100%;
  cursor: pointer;
  transition: all var(--transition-base);
}

.submit-button:hover {
  background-color: var(--primary-dark);
}

.contact-item-text {
  margin-bottom: 0;
}
/* =========================================
   SEKCJA: PRYWATNOŚĆ
   ========================================= */
.privacy-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.privacy-section.active {
  display: flex;
  opacity: 1;
}

.privacy-content {
  background-color: var(--light-color);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.privacy-header {
  padding: var(--space-lg);
  background-color: var(--primary-color);
  color: var(--light-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-header h2 {
  margin: 0;
  padding: 0;
}

.privacy-header h2::after {
  display: none;
}

.privacy-close,
.terms-close {
  background: none;
  border: none;
  color: var(--light-color);
  font-size: var(--font-size-2xl);
  cursor: pointer;
  transition: color var(--transition-base);
}

.privacy-close:hover,
.terms-close:hover {
  color: var(--medium-gray);
}

.privacy-body {
  padding: var(--space-lg);
  overflow-y: auto;
  text-align: left;
}

.privacy-body h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.privacy-body h3:first-child {
  margin-top: 0;
}

.privacy-body ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style-type: disc;
}

.privacy-body ul li {
  margin-bottom: var(--space-sm);
}

/* =========================================
   STOPKA
   ========================================= */
.main-footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: var(--space-lg) 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: var(--font-size-sm);
}

.footer-social .social-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  margin-bottom: var(--space-md);
}

.footer-social .social-icon:hover {
  background-color: var(--light-color);
  color: var(--secondary-color);
}

.footer-private {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  margin-right: 25%;
  color: var(--light-color);
}

.footer-private a {
  color: var(--light-color);
}

/* =========================================
   BANNER COOKIES
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: var(--space-md);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  font-size: var(--font-size-sm);
  flex: 1;
  min-width: 280px;
}

.cookie-content a {
  color: var(--light-color);
  text-decoration: underline;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.cookie-accept:hover {
  background-color: var(--primary-dark);
}

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

.fadeIn {
  animation: fadeIn var(--transition-slow) forwards;
}

/* =========================================
   RESPONSYWNOŚĆ
   ========================================= */
@media (max-width: 992px) {
  :root {
    --header-height: var(--mobile-header-height);
  }

  .img-logo {
    margin-left: 15%;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav.active {
    transform: translateX(0);
    opacity: 1;

    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav a:hover {
    transform: translateX(5px);
    color: var(--primary-color);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section-content {
    padding-left: 8%;
    padding-right: 8%;
  }

  h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .cta-button {
    width: 100%;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: var(--space-xl);
  }

  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(194, 33, 38, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(194, 33, 38, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(194, 33, 38, 0);
    }
  }

  .step-icon {
    animation: pulse 2s infinite;
  }
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* =======================================
  PRZYCISK CZYTAJ WIĘCEJ
  ======================================= */
.section-content-wrapper {
  position: relative;
}
.expandable-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.expandable-content.expanded {
  max-height: 3000px;
  opacity: 1;
}

.read-more-button,
.read-less-button {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: black;
  cursor: pointer;
  text-decoration: none;
  margin-left: 8px;
}

.button-text {
  /* border-bottom: 1px dashed black; */
  font-weight: bolder;
}

.button-text:hover {
  border-bottom-color: #666;
  color: #666;
}

.circle-button {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 8px;
}

.circle {
  position: absolute;

  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-sm);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease;
}

.read-less-button .circle {
  transform: rotate(180deg);
}

.read-more-button {
  display: inline-flex;
}

.read-less-button {
  display: none;
}

.hidden {
  display: none;
}

.visible {
  display: inline-flex;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .desktop-only {
    display: none;
  }

  .container {
    padding: 15px;
  }

  .timeline-line {
    left: 20px;
  }

  .services-grid {
    gap: var(--space-md);
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    transform: translateY(30px);
  }

  .step-number {
    margin-right: 0;
    margin-bottom: var(--space-md);
    top: -8px;

    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .step-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .step-description {
    font-size: 14px;
  }

  .step-content {
    width: calc(100% - 40px);
    text-align: center;
    margin-left: 40px !important;
    padding: 20px;
  }

  .step-icon {
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .process-step:nth-child(even) .step-number {
    right: -8px;
    left: auto;
  }

  .process-step:nth-child(odd) .step-content:before,
  .process-step:nth-child(even) .step-content:before {
    display: none;
  }

  .mobile-step-connector {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -50px;
    width: 4px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
    z-index: 0;
    display: block;
  }

  .process-timeline > .timeline-line {
    display: none;
  }

  .footer-container {
    /* flex-direction: column; */
    gap: var(--space-md);
  }

  /* Dodajemy indykator przewijania dla mobile */
  .scroll-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0.7;
  }

  .scroll-indicator span {
    display: inline-block;
    font-size: 12px;
    color: #666;
  }

  .scroll-arrow {
    animation: bounce 2s infinite;
    margin-left: 5px;
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-5px);
    }
    60% {
      transform: translateY(-3px);
    }
  }
}

@media (max-width: 576px) {
  .logo {
    /* height: 98%;
        width: auto;
        max-width: 40%; */
  }

  .logo h1 {
    font-size: var(--font-size-lg);
  }

  .section-container {
    /* padding: var(--space-xl) 0; */
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
