* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  /* background-color: #f5f5f5; */
  font-family: "Montserrat", sans-serif;
  color: #444;
  line-height: 1.6;
}
.margin-bottom-small {
  margin-bottom: 1rem;
}
.margin-bottom-medium {
  margin-bottom: 3rem;
}
.margin-bottom-high {
  margin-bottom: 6rem;
}
.section-header {
  text-align: center;
}
.section-subheader {
  text-transform: uppercase;
  font-weight: 800;
  color: #007bfc;
  text-align: center;
}
.center-text {
  text-align: center;
}
.btn-centered {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  max-width: auto;
}
@media (max-width: 640px) {
  .margin-bottom-high {
    margin-bottom: 3rem;
  }
  .margin-bottom-medium {
    margin-bottom: 2rem;
  }
  .section-header {
    font-size: 1.35rem;
  }
  .section-subheader {
    font-weight: 700;
  }
}
/* NAWIGACJA -------------------------------------------------- */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 16px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
.nav-btn {
  background-color: #a30562;
  color: #fff; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #a30562; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
  max-width: 250px;
  font-family: "Montserrat", sans-serif;
}

.nav-btn:hover {
  background-color: #d8378f; /* Niebieskie tło przy najechaniu */
  color: white; /* Biały tekst przy najechaniu */
}

.nav-btn:focus {
  border-color: #87024f; /* Ciemniejsza ramka przy fokusu */
}
.navbar-non-transparent {
  position: sticky;
  top: 0;
  left: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 6rem;
  background-color: #fff;
  z-index: 1000;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.nav-links-non-transparent {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-link-color {
  color: #007bfc;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 16px;
  transition: background-color 0.3s;
  transition: 0.3s ease;
  font-weight: 600;
}
.nav-link-color:hover {
  transform: translateY(-5px);
}
.link-active {
  color: #a30562;
  border-bottom: 2px solid #a30562;
}
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 6rem;
  background-color: transparent;
  z-index: 1000;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar .nav-link,
.navbar .nav-btn {
  color: white;
  transition: color 0.3s ease;
  font-weight: 600;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 1rem 6rem;
}

.navbar.scrolled .nav-link {
  color: #007bfc;
  transition: 0.3s ease;
}
.navbar.scrolled .nav-link:hover {
  transform: translateY(-5px);
}
.logo {
  transition: filter 0.3s ease; /* Płynna zmiana */
}

/* Logo zmienia się na czarne przy przewinięciu */
.navbar.scrolled .logo {
  filter: invert(1); /* Inwertuje kolory (odwróci biały na czarny) */
}
/* NAWIGACJA-MOBILE------------------------------------------ */
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  /* Czarny hamburger w navbar-non-transparent */
  .navbar-non-transparent .hamburger span {
    background: #000 !important;
  }

  /* Białe linki w navbar-non-transparent */
  .navbar-non-transparent .nav-link-color {
    color: #fff !important;
  }
  .navbar,
  .navbar-non-transparent,
  .navbar.scrolled {
    padding: 1rem 2rem;
  }

  .nav-links,
  .nav-links-non-transparent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    background-color: #007bfc;
    width: 100%;
    padding: 1rem 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show,
  .nav-links-non-transparent.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-link,
  .nav-link-color {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Zmiana koloru hamburgera przy przewinięciu */
  .navbar.scrolled .hamburger span {
    background: #007bfc;
  }
}
/* STOPKA-----------------------------------------------------*/
.footer {
  background: linear-gradient(135deg, #007bfc, #a30562);
  width: 100%; /* Zajmuje całą szerokość strony */
  padding: 3rem 0; /* Odstępy w pionie */
  border-top: #a30562 5px solid;
}

.footer-content {
  max-width: 1320px; /* Maksymalna szerokość */
  margin: 0 auto; /* Wyśrodkowanie zawartości */
  padding: 0 2rem; /* Odstępy poziome, aby zachować przestrzeń po bokach */
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Układ 4 kolumn */
  gap: 6rem;
  color: #fff;
}

.logo-footer {
  width: 60%;
  margin-bottom: 1rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-header {
  font-weight: 600;
  font-size: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  text-decoration: none;
  color: #fff;
  display: flex; /* Używamy flexboxa */
  align-items: center; /* Wyrównanie ikony z tekstem */
  gap: 0.5rem; /* Odstęp między ikoną a tekstem */
  transition: 0.3s ease;
}
.footer-link:hover {
  transform: translateY(-2px);
}
.footer-icon {
  font-size: 1.5rem;
}
.sm-bar {
  display: flex;
  gap: 0.5rem;
}
/* stopka-mobile */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    gap: 2rem;
    text-align: center;
  }

  .footer-column {
    align-items: center; /* Wyśrodkowanie zawartości kolumn */
  }

  .logo-footer {
    width: 80%; /* Większe logo na telefonie */
  }

  .footer-link {
    justify-content: center; /* Ikony i tekst wyśrodkowane */
  }

  .sm-bar {
    justify-content: center; /* Ikony social media wyśrodkowane */
  }
}
/* HERO SECTION----------------------------------------------- */
.hero--blue {
  background: linear-gradient(135deg, #007bfc, #a30562);
}
.hero-content--left {
  text-align: left;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.hero-content {
  max-width: 75rem;
  text-align: left;
  margin-left: 6rem;
}
.hero h1 {
  font-size: 4rem;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  clip-path: inset(0 0 0 0); /* ogranicza widoczność tylko do .hero */
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  padding-top: 80px;
  z-index: 2;
  animation-fill-mode: forwards;
  color: white;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content p,
.hero-buttons {
  animation: fadeInDown 1s ease-out forwards;
  opacity: 0;
}

.hero-content p {
  animation-delay: 0.2s;
}

.hero-buttons {
  animation-delay: 0.4s;
}

.hero-content.visible h1 {
  animation: fadeInDown 1s ease-out forwards;
}

.hero-content.visible p {
  animation: fadeInDown 1s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-content.visible .hero-buttons {
  animation: fadeInDown 1s ease-out forwards;
  animation-delay: 0.4s;
}
.logo-container {
  flex: 1;
}

.logo {
  max-width: 150px;
}
.hero-content {
  color: white;
  z-index: 2;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
}
.hero-buttons {
  margin-top: 3rem;
}
.new-hero-btn {
  background-color: transparent;
  color: #fff; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #fff; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}
.hero-btn {
  background-color: transparent;
  color: #007aff; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #007aff; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px #fff;
  }
  50% {
    box-shadow: 0 0 20px #fff;
  }
  100% {
    box-shadow: 0 0 10px #fff;
  }
}

.hero-btn.glow,
.new-hero-btn.glow {
  animation: pulse-glow 2s infinite;
}

.hero-btn:hover,
.read-more-btn:hover {
  background-color: #007aff; /* Niebieskie tło przy najechaniu */
  color: white; /* Biały tekst przy najechaniu */
}

.hero-btn:focus,
.read-more-btn:focus {
  border-color: #0051c1; /* Ciemniejsza ramka przy fokusu */
}
.scroll-indicator {
  position: absolute;
  bottom: 30px; /* Odległość od dołu */
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 1.5s infinite; /* Animacja pulsowania */
  color: #fff; /* Kolor strzałki */
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px); /* Wznoszenie strzałki */
  }
}

.scroll-indicator ion-icon {
  font-size: 3rem;
}
/* Mobilne widoki ----------------------------------------------*/
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 90%;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .hero-content h1,
  .hero-content p,
  .hero-buttons {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-indicator {
    display: none;
  }
  .hero {
    background-attachment: scroll; /* Lepiej działa na mobile */
    height: 90vh; /* Trochę niższe */
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    margin: 0 auto;
    padding: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .scroll-indicator {
    display: none; /* Ukrycie na bardzo małych ekranach */
  }
}
@media (max-width: 1200px) {
  .hero {
    padding-inline: clamp(1rem, 6vw, 4rem);
  }
  .hero-content {
    width: 80%;
  }
}

/* <= 992px: tablet – 85% szer., mniejsze przyciski */
@media (max-width: 992px) {
  .hero-content {
    width: 85%;
  }
  .new-hero-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* <= 768px: mobile – pełna szerokość, mniejsza wysokość */
@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    min-height: 90vh;
    padding-block: 6rem 3rem; /* większy top-padding na nawigację */
  }
  .hero-content {
    width: 100%;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
  .new-hero-btn {
    width: 100%;
    max-width: 260px; /* wygląda schludnie */
  }
}

/* <= 480px: very small – kompaktowa typografia */
@media (max-width: 480px) {
  .hero {
    padding-inline: 1rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }
  .new-hero-btn {
    padding: 10px 18px;
    font-size: 14px;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
}

/* Dodatkowo: dostępność – mniej animacji dla prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .new-hero-btn {
    transition: none;
  }
}
/* MAIN-OFERTA------------------------------------------- */
.offer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6rem 0;
}
.offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.offer-card {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  transition:
    background 0.6s ease,
    transform 0.3s,
    box-shadow 0.3s;
  transform: translateY(0) scale(1);
}
.offer-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.offer-card p {
  font-size: 1rem;
}
.offer-card ion-icon {
  width: 6rem;
  height: 6rem;
}
.offer-subheader {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.one-page {
  position: relative;
  overflow: hidden;
  /* background-color: #f0f0f0;  */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #007bfc;
  border-radius: 20px;
}

.one-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, #007bfc 30%, transparent 80%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}

.one-page:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.one-page:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
}
.one-page * {
  position: relative;
  z-index: 1;
}
.one-page-btn {
  background-color: transparent;
  color: #007aff; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #007aff; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
}

.one-page-btn:hover {
  background-color: #fff; /* Niebieskie tło przy najechaniu */
  color: #007aff; /* Biały tekst przy najechaniu */
}

.one-page-btn:focus {
  border-color: #0051c1; /* Ciemniejsza ramka przy fokusu */
}
.one-page:hover .one-page-btn {
  background-color: #fff; /* Tło białe przy hoverze nad kartą */
  color: #007aff; /* Kolor tekstu na niebieski */
}
.business-page {
  position: relative;
  overflow: hidden;
  /* background-color: #f0f0f0; */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #961b8a;
  border-radius: 20px;
}
.business-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, #961b8a 30%, transparent 80%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}
.business-page:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.business-page:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.business-page:hover h3,
.business-page:hover p {
  color: #fff;
}

.business-page * {
  position: relative;
  z-index: 1;
}
.business-page-btn {
  background-color: transparent;
  color: #961b8a; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #961b8a; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
}

.business-page-btn:hover {
  background-color: #fff; /* Niebieskie tło przy najechaniu */
  color: #961b8a; /* Biały tekst przy najechaniu */
}

.business-page-btn:focus {
  border-color: #0051c1; /* Ciemniejsza ramka przy fokusu */
}
.business-page:hover .business-page-btn {
  background-color: #fff; /* Tło białe przy hoverze nad kartą */
  color: #961b8a; /* Kolor tekstu na niebieski */
}
.project-logo {
  position: relative;
  overflow: hidden;
  /* background-color: #f0f0f0; */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  border: 1px solid #a30562;
  border-radius: 20px;
}

.project-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, #a30562 30%, transparent 80%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}
.project-logo:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.project-logo:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.project-logo:hover h3,
.project-logo:hover p {
  color: #ffffff;
}

.project-logo * {
  position: relative;
  z-index: 1;
}
.logo-page-btn {
  background-color: transparent;
  color: #a30562; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #a30562; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
}

.logo-page-btn:hover {
  background-color: #fff; /* Niebieskie tło przy najechaniu */
  color: #a30562; /* Biały tekst przy najechaniu */
}

.logo-page-btn:focus {
  border-color: #a30562; /* Ciemniejsza ramka przy fokusu */
}
.project-logo:hover .logo-page-btn {
  background-color: #fff; /* Tło białe przy hoverze nad kartą */
  color: #a30562; /* Kolor tekstu na niebieski */
}
.offer-card .one-page-btn,
.offer-card .business-page-btn,
.offer-card .logo-page-btn {
  position: absolute; /* Pozycjonowanie absolutne przycisku względem karty */
  bottom: 20px; /* Odstęp od dolnej krawędzi karty */
  left: 20px; /* Odstęp od lewej krawędzi karty */
}
@media (max-width: 768px) {
  .offer {
    padding: 3rem 1.5rem;
  }
  .offer-card {
    padding: 3rem;
    text-align: center;
  }

  .offer-card h3,
  .offer-card p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .offer-card ion-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 1024px) {
  .one-page {
    min-height: 340px;
  }
  .business-page {
    min-height: 360px;
  }
  .project-logo {
    min-height: 380px;
  }
}
/* DLACZEGOJA-BANER----------------------------------------------- */
.why-me-text-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6rem 0;
}
.whyme-banner {
  display: flex;
  width: 100%;
  height: auto;
}

.whyme-banner > div {
  flex: 1;
  padding: 6rem;
  box-sizing: border-box;
  text-align: center;
}

.why-me-text-container {
  padding: 3rem 6rem;
}
.whyme-icon {
  font-size: 3rem;
}
.section1 {
  background: linear-gradient(to right, #007bfc, #5a1d92);
  color: #fff;
}
.section2 {
  background: linear-gradient(to right, #5a1d92, #d11982);
  color: #fff;
}
.section3 {
  background: linear-gradient(to right, #d11982, #a30562);
  color: #fff;
}
@media (max-width: 1200px) {
  .whyme-banner {
    height: auto;
  }
  .whyme-banner > div {
    padding: 4rem;
  }
}

@media (max-width: 768px) {
  .whyme-banner {
    height: auto; /* Większa wysokość na mniejszych ekranach */
  }
  .whyme-banner > div {
    padding: 2rem; /* Zmniejszenie paddingu na mobilnych */
  }
  .why-me-text-container {
    padding: 2rem 4rem; /* Dostosowanie paddingu dla tekstu */
  }
  .whyme-icon {
    width: 4rem;
    height: 4rem; /* Mniejszy rozmiar ikon */
  }
  .section1 {
    background: linear-gradient(to bottom, #007bfc, #5a1d92);
  }
  .section2 {
    background: linear-gradient(to bottom, #5a1d92, #d11982);
  }
  .section3 {
    background: linear-gradient(to bottom, #d11982, #a30562);
  }
}

@media (max-width: 480px) {
  .whyme-banner {
    flex-direction: column; /* Zawijanie elementów w kolumnę na bardzo małych ekranach */
    height: auto; /* Usunięcie stałej wysokości */
  }
  .whyme-banner > div {
    padding: 3rem; /* Dalsze zmniejszenie paddingu */
  }
  .why-me-text-container {
    padding: 1rem 2rem;
    text-align: center; /* Zmniejszenie paddingu */
  }
  .whyme-icon {
    font-size: 1.75rem; /* Dalsze zmniejszenie rozmiaru ikon */
  }
}
/* PORTFOLIO-SEKCJA----------------------------------------------- */
.portfolio {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 6rem;
}
.portfolio a {
  text-decoration: none;
}
.portfolio a:hover .realization-title {
  color: #007bfc;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 1rem;
}
.realization {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}
.read-more-btn {
  background-color: transparent;
  color: #007aff; /* Typowy kolor niebieski dla Apple */
  border: 2px solid #007aff; /* Niebieska ramka */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px; /* Zaokrąglone rogi */
  cursor: pointer;
  transition: all 0.3s ease; /* Płynna animacja */
  text-align: center;
  outline: none; /* Usunięcie domyślnego konturu */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.realization:hover {
  transform: scale(1.05);
}

.realization-image {
  flex: 1 1 70%;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.realization-title {
  padding: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: #444;
  flex-shrink: 0;
}
.realization-img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
/* PORTFOLIO-MOBILE----------------------------------------------- */
/* Tablet (średnie ekrany) */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Telefon (małe ekrany) */
@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .realization-title {
    font-size: 1.1rem;
    padding: 1rem;
  }
}
/* KONTAKT-SEKCJA------------------------------------------------- */
.contact-row {
  display: flex;
  max-width: 1320px;
  margin: 0 auto;
  padding: 3rem;
  gap: 3rem;
}
.contactme {
  padding-top: 6rem;
}
/* wizytówka */
.contact-card {
  background-color: #ffffff;
  border-left: 6px solid #a30562;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
  text-align: center;
  color: #444;
}

.contact-photo {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.contact-name-company {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #007bfc;
  font-weight: 500;
}
.contact-name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-role {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-tagline {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.contact-link {
  text-decoration: none;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #444;
  transition: 0.3s ease;
}
.contact-link:hover {
  transform: translateY(-2px);
  color: #007bfc;
}
.contact-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 100%;
}
/* formularz */
.contact-form {
  border-right: 6px solid #007bfc;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bfc;
  outline: none;
}
form button {
  font-family: "Montserrat", sans-serif;
}
.animated {
  opacity: 0;
  transform: translateY(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animated.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-down {
  transition-delay: 0.2s;
}
/*KONTAKT-WERSJA MOBILNA------------------------------------ */
@media (max-width: 1024px) {
  .contact-row {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .contact-card,
  .contact-form {
    max-width: 100%;
  }

  .contact-photo {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .contact-row {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .contact-photo {
    width: 220px;
    height: 220px;
  }

  .contact-name-company {
    font-size: 1.25rem;
  }

  .contact-link {
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
  }
}
/* PODSTRONA O-MNIE---------------------------------------- */
.o-mnie-row,
.section-row {
  display: flex;
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
  gap: 6rem;
  align-items: center; /* Wyrównuje zawartość w pionie */
  justify-content: center; /* Wyrównuje zawartość w poziomie */
}
.o-mnie-gap {
  gap: 1rem !important;
}
.o-mnie-image,
.section-row-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Wypełnia przestrzeń bez zniekształceń */
  border-radius: 8px;
}
.o-mnie-image {
  border-radius: 50%;
  height: 75%;
  width: 75%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-position: center;
}
.o-mnie-row > div,
.section-row > div {
  flex: 1; /* Oba divy zajmują równą przestrzeń */
}
.o-mnie-text,
.section-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.o-mnie-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
}
.o-mnie-row-image {
  display: flex;
  justify-content: center; /* Wyśrodkowuje w poziomie */
  align-items: center; /* Wyśrodkowuje w pionie */
  height: 100%; /* Zapewnia, że div zajmuje całą dostępną wysokość */
}
/* zalety - co oferuje? */
.offer-benefits {
  padding: 4rem 2rem;
  background-color: #007bfc;
  color: #fff;
}
.offer-benefits .section-header {
  font-size: 1.5rem;
  font-weight: bold;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  padding: 0 6rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  transition: transform 0.3s ease;
}
.benefit-item h2 {
  font-size: 1rem;
  font-weight: bold;
}

.benefit-item:hover {
  transform: translateY(-5px);
}
.benefit-item:hover .benefit-icon {
  color: #d8378f;
  transform: scale(1.05);
}
.benefit-icon {
  font-size: 3rem;
}
.animated2 {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.animated2.visible {
  opacity: 1;
  transform: translateX(0);
}
.benefit-item:nth-child(1) {
  transition-delay: 0.1s;
}
.benefit-item:nth-child(2) {
  transition-delay: 0.2s;
}
.benefit-item:nth-child(3) {
  transition-delay: 0.3s;
}
.benefit-item:nth-child(4) {
  transition-delay: 0.4s;
}
.benefit-item:nth-child(5) {
  transition-delay: 0.5s;
}
.benefit-item:nth-child(6) {
  transition-delay: 0.6s;
}
.benefit-item:nth-child(7) {
  transition-delay: 0.7s;
}
.benefit-item:nth-child(8) {
  transition-delay: 0.8s;
}
.o-mnie-buttons {
  display: flex;
  gap: 1rem;
}
/* O-MNIE-MOBILE--------------------------------------------------- */
@media (max-width: 992px) {
  .o-mnie-row,
  .section-row {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 2rem 1rem;
  }

  .o-mnie-row > div,
  .section-row > div {
    width: 100%;
  }

  .o-mnie-image {
    width: 110%;
    height: auto;
    margin: 0 auto;
    border-radius: 0px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .o-mnie-buttons {
    flex-direction: column;
    align-items: center;
  }

  .benefit-icon {
    font-size: 2.5rem;
  }

  .offer-benefits {
    padding: 3rem 1rem;
  }
}

/* PODSTRONA-OFERTA---------------------------------------------------- */
.offer-hero {
  padding-bottom: 0rem !important;
}
.offer-important-values {
  display: flex;
  gap: 2rem;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 1rem;
  padding: 3rem;
  flex-wrap: wrap;
  text-align: center;
}

.offer-important-value {
  flex: 1 1 200px;
  max-width: 280px;
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.offer-important-value:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.offer-important-value ion-icon {
  font-size: 2.5rem;
  color: #007bfc;
}
.bundles {
  display: flex;
  gap: 3rem;
}
.bundle-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  align-items: center;
  transition: 0.3s ease-in-out;
}
.bundle-card:hover {
  transform: scale(1.05);
}
.card-bestseller {
  position: relative;
  color: #fff;
  background-color: #007bfc;
}
.card-bestseller ion-icon {
  color: #fff !important;
}
.card-bestseller .realization-date-onepage {
  color: #fff;
}
.card-navy {
  background-color: #961b8a;
}
.bundle-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bfc;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #fff;
}
.badge-navy {
  background-color: #961b8a;
}
.bundle-title {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
}
.realization-date-onepage {
  font-weight: 600;
  color: #007bfc;
}
.bundle-list {
  list-style: none;
}
.bundle-list li {
  display: flex;
  align-items: flex-start; /* ikona wyrównana do góry tekstu */
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.bundle-list ion-icon {
  color: #007bfc;
  font-size: 1.2rem;
  margin-top: 0.15rem; /* lekkie dosunięcie w dół, by złapać linię tekstu */
  flex-shrink: 0; /* nie pozwala ikonie się skalować */
}
.bundle-none {
  color: #ccc;
}
.bundle-none ion-icon {
  color: #ccc !important;
}
.bundle-price {
  font-size: 2rem; /* Duża, wyraźna cena */
  font-weight: 700;
  color: #007bfc; /* Pod kolor akcentu */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.bundle-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666; /* Mniejszy tekst np. "/ netto" */
  margin-left: 0.25rem;
}
.card-bestseller .bundle-price {
  color: #fff;
}
.card-bestseller span {
  color: #fff;
}
.text-navy {
  color: #961b8a;
}
.bundle-navy ion-icon {
  color: #961b8a;
}
.text-fuchsia {
  color: #a30562;
}
.bundle-fuchsia ion-icon {
  color: #a30562;
}
.card-fuchsia .bundle-price {
  color: #a30562;
}
.fuchsia-premium {
  border: solid 2px #a30562;
}
.btn-premium {
  border: 2px solid white;
  color: #fff;
}
.btn-premium:hover {
  background-color: #fff;
  color: #007bfc;
}
.btn-navy {
  color: #961b8a;
  border: 2px solid #961b8a;
}
.btn-navy:hover {
  background-color: #961b8a;
}
.premium-navy:hover {
  color: #961b8a;
}
.btn-fuchsia {
  border: 2px solid #a30562;
  color: #a30562;
}
.btn-fuchsia:hover {
  background-color: #a30562;
}
/* WIDOK MOBILE-------------------------------------- */
@media (max-width: 900px) {
  .bundles {
    flex-direction: column;
    gap: 2rem;
    text-align: start;
  }

  .bundle-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .offer-important-values {
    padding: 2rem 1rem;
  }

  .offer-important-value {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
  }

  .bundle-card {
    padding: 1.5rem 1rem;
  }

  .bundle-price {
    font-size: 1.5rem;
  }

  .bundle-list li {
    font-size: 0.9rem;
  }
  .section-row-text {
    order: 0; /* zawsze pierwszy */
    width: 100%;
  }

  .bundles {
    order: 1; /* zawsze drugi */
    width: 100%;
  }
}
/* PODSTRONA formularz-wycena----------------------------------- */
.quote-form-section {
  padding: 6rem 2rem;
  background: #f9f9f9;
}
.quote-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.quote-form h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.quote-form p {
  margin-bottom: 2rem;
  color: #555;
}

.quote-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.quote-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e2a38;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: #007bfc;
  outline: none;
}
/* portfolio */
section.portfolio h1 {
  text-align: center;
  margin-bottom: 3rem;
}
section.portfolio h2 {
  margin-bottom: 1rem;
}
.realization-description p {
  margin-bottom: 1.5rem;
}
.portfolio-row {
  align-items: center;
  margin-bottom: 3rem;
}
.portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .portfolio-row {
    gap: 3rem;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .portfolio-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .portfolio-item {
    display: flex;
    flex-direction: column;
  }
  .portfolio-item .realization {
    order: 1;
  }
  .portfolio-item .realization-description {
    order: 2;
  }

  .construction-content .nav-btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }
  .read-more-btn {
    align-items: center;
  }
  section.portfolio h1 {
    font-size: 1.8rem;
  }

  section.portfolio h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .construction-content .nav-btn {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  section.portfolio h1 {
    font-size: 1.5rem;
  }

  section.portfolio h2 {
    font-size: 1.2rem;
  }

  .portfolio-row {
    gap: 1.5rem;
  }
}
.construction-content .nav-btn {
  /* background-color: #007bfc; */
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.construction-content .nav-btn:hover {
  background-color: #a30562;
  box-shadow: 0 0 10px #d8378f;
}

@keyframes pulseText {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* layout-portfolio------------------------------------------- */
.realization-hero {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  text-align: center;
}

.realization-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.realization-hero-image {
  overflow: hidden;
  border-radius: 1rem;
}

.realization-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

.done {
  padding: 3rem 12rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #f8f8f8;
  gap: 2em;
  margin: 0 auto;
}
.done-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.done-icon {
  height: 3rem;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.done-point {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Animacja aktywna */
.done-point.visible {
  animation: fadeInLeft 0.6s forwards;
}
.project-description {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.realization-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.realization-text {
  flex: 1;
  min-width: 300px;
}

.realization-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.realization-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.realization-hero-description {
  background-color: #a30562;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 0 0 300px;
  max-width: 100%;
}

.realization-hero-description h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.realization-description-opaque {
  color: #f3f3f3;
  font-weight: 500;
}

.realization-description-color {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Responsywność */
@media (max-width: 900px) {
  .realization-wrapper {
    flex-direction: column;
  }

  .realization-hero-description {
    width: 100%;
  }
}
.testimonial-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.testimonial-box {
  flex: 1 1 40%;
  padding: 2rem;
  background-color: #fff;
  border-left: 5px solid #a30562;
  border-radius: 0.5rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: #a30562 !important;
}
.rating {
  display: flex;
  gap: 0.5rem;
}
.rating ion-icon {
  font-size: 0.75rem;
  color: #007bfc;
}
.cta-image {
  height: auto; /* dopasowanie wysokości proporcjonalnie */
  object-fit: cover; /* ładne wypełnienie bez zniekształceń */
  border-radius: 8px;
  max-width: 100%; /* nie wychodzi poza rodzica */
  display: block; /* usuwa ewentualne marginesy w inline */
}

/* Na bardzo małych ekranach można zmniejszyć border-radius, jeśli trzeba */
@media (max-width: 400px) {
  .cta-image {
    border-radius: 4px;
  }
}
/* Małe ekrany - telefony (max-width: 600px) */
@media (max-width: 600px) {
  .done {
    padding: 2rem 1rem;
    grid-template-columns: 1fr; /* Jeden punkt na wiersz */
    gap: 1.5rem;
  }

  .done-point {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .done-icon {
    height: 2rem;
  }

  .realization-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .project-description {
    padding: 2rem 1rem;
  }

  .testimonial-cta {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .testimonial-box {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .realization-hero-description {
    padding: 1.5rem;
    flex: 1 1 100%;
    border-radius: 0.75rem;
  }

  .realization-hero-image {
    border-radius: 0.75rem;
  }

  .realization-text p {
    font-size: 1rem;
  }
}

/* Średnie ekrany - tablety (max-width: 900px) - doprecyzowanie */
@media (max-width: 900px) {
  .done {
    padding: 2rem 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .done-point {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .done-icon {
    height: 2.5rem;
  }
}
/* blog */
/* CONTAINER DLA SIATKI */
.blog-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 6rem;
}

/* KARTA ARTYKUŁU */
.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* OBRAZEK W KARCIE */
.blog-card-image {
  position: relative;
  /* !!! KLUCZOWE: Nadajemy stałą wysokość dla wszystkich zdjęć !!! */
  height: 250px; /* Możesz dostosować tę wartość (np. 200px - 250px) */
  overflow: hidden; /* Ukrywa wszystko, co wystaje poza kontener */
  background-color: #f0f0f0; /* Tło zapasowe, jeśli zdjęcie się nie załaduje */
}

/* 2. Samo zdjęcie wewnątrz kontenera */
.blog-card-image img {
  width: 100%; /* Zdjęcie rozciąga się na pełną szerokość kafelka */
  height: 100%; /* Zdjęcie rozciąga się na pełną wysokość kontenera (220px) */

  /* !!! MAGIA: object-fit !!! */
  object-fit: cover; /* Zdjęcie wypełnia cały kontener, zachowując proporcje. */
  /* Nadmiar zdjęcia jest ucinany (kadrowany). */

  object-position: center top; /* Ustala, który fragment zdjęcia ma być widoczny. */
  /* 'center top' pokaże górę mockupu (logo/header), co jest tu ważne. */
}

.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #007bfc; /* Twój niebieski */
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* TREŚĆ KARTY */
.blog-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.blog-card-content p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* LINK "CZYTAJ WIĘCEJ" */
.read-more-link {
  margin-top: auto;
  color: #a30562; /* Twoja magenta */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.read-more-link:hover {
  text-decoration: underline;
}
/* Kontener artykułu */
.blog-post-container {
  max-width: 850px; /* Optymalna szerokość do czytania */
  margin: 60px auto;
  padding: 0 25px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Nagłówek artykułu */
.post-header {
  text-align: center;
  margin-bottom: 50px;
}

.post-category {
  color: var(--main-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: block;
}

.post-header .section-header {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); /* Responsywny rozmiar */
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-meta {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

/* Treść merytoryczna */
.post-content h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark) !important;
  margin: 50px 0 25px 0 !important;
  font-size: 1.8rem;
  font-weight: 700;

  /* TO JEST TWOJA LINIA */
  border-left: 6px solid #007bfc !important;
  padding-left: 20px !important;

  display: block;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 25px;
  font-size: 1.15rem;
  color: var(--text-gray);
}

.post-content strong {
  color: var(--text-dark);
}

/* --- BOKS SILOSOWY (Klucz do konwersji) --- */
:root {
  --main-blue: #007bfc;
  --main-magenta: #a30562;
}
.silo-reference {
  background: linear-gradient(
    135deg,
    var(--main-blue) 0%,
    var(--main-magenta) 100%
  );
  padding: 40px;
  border-radius: 20px;
  color: white !important;
  box-shadow: 0 20px 40px rgba(0, 123, 252, 0.2);
  text-align: center;
}

.silo-reference h3 {
  font-family: "Montserrat", sans-serif;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.silo-reference p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  margin-bottom: 25px;
}

/* Stopka artykułu (CTA) */
.post-footer {
  margin-top: 80px;
  padding: 50px;
  background: #f8f9fa;
  border-radius: 20px;
  text-align: center;
}

.post-footer h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* Responsywność */
@media (max-width: 768px) {
  .blog-post-container {
    margin: 30px auto;
  }

  .silo-reference {
    padding: 25px;
  }
}
