/* Główny kontener - full width */
.ih-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Kontener ograniczający szerokość */
.ih-hero__limit {
  width: 100%;
  max-width: 1430px; /* stała wartość */
  margin: 0 auto; /* wyrównanie całej zawartości wewnątrz strony */
  display: flex;
  justify-content: flex-start; /* wyrównanie do lewej */
}

/* Kontener wewnętrzny */
.ih-hero__inner {
  padding: 40px 24px;
  box-sizing: border-box;
  text-align: left; 
}
.ih-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ih-inner-gap, 25px); 
  padding: 40px 24px;
  box-sizing: border-box;
  text-align: left;
}


/* Box z ikoną */
.ih-icon-box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 48px; /* Skala ikony */
  margin-bottom: 20px;
}

/* Tytuł */
.ih-title {
      font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0px;
}
.ih-icon-title {
  display: inline-flex;
  align-items: center;
  gap: 8px; 
  color: var(--main-color-one);
  font-weight: bold;
  
}

.ih-icon-title img{
  width: 30px;
  height: auto;
}

.ih-icon-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.ih-button-image{
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.ih-button-image img{
  width: auto;
  height: auto;
}
/* Wyróżnienie fragmentu za pomocą <A>…</A> */
.ih-title .ih-highlight {
  color: var(--main-color-one);   /* kolor wyróżnienia */
}

/* Opis */
.ih-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Animacja */
.ih-hero__inner{
  opacity:0;
  transform: translateY(-40px);
  transition: all 0.6s ease;
}
body.loaded .ih-hero__inner{
  opacity:1;
  transform: translateY(0);
}

/* ===== HERO – global gutter system ===== */

/* Domyślna (desktop >1440px) */
:root { --ih-gutter: 0px; }

/* Breakpointy */
@media (max-width: 1440px) { :root { --ih-gutter: 100px; } }
@media (max-width: 1024px) { :root { --ih-gutter: 60px; } }
@media (max-width: 768px)  { :root { --ih-gutter: 40px; } }
@media (max-width: 425px)  { :root { --ih-gutter: 24px; } }
@media (max-width: 375px)  { :root { --ih-gutter: 20px; } }
@media (max-width: 320px)  { :root { --ih-gutter: 16px; } }

/* Główny kontener - full width */
.ih-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Kontener ograniczający szerokość */
.ih-hero__limit {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding-inline: var(--ih-gutter); /* 👈 dodajemy gutter */
  box-sizing: border-box;
}

/* Kontener wewnętrzny */
.ih-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ih-inner-gap, 25px);
  padding: 40px var(--ih-gutter); /* 👈 tu też */
  box-sizing: border-box;
  text-align: left;
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.6s ease;
}
body.loaded .ih-hero__inner {
  opacity: 1;
  transform: translateY(0);
}
/* ===== .ih-button-image — stacking on mobile ===== */
@media (max-width: 768px) {
  .ih-button-image{
    display: flex;           /* nadpisuje inline-flex */
    flex-direction: column;  /* jeden pod drugim */
    align-items: flex-start; /* trzymaj do lewej */
    gap: 16px;
  }
  /* opcjonalnie: pełna szerokość przycisku na mobile */
  .ih-button-image .btn-one { width: 100%; }
  /* obrazek niech się ładnie skaluje */
  .ih-button-image img{
    max-width: 220px;
    height: auto;
    align-self: flex-start;
  }
}

/* ciaśniejsze odstępy na bardzo małych szerokościach */
@media (max-width: 425px) { .ih-button-image{ gap: 12px; } }
@media (max-width: 375px) { .ih-button-image{ gap: 10px; } }
@media (max-width: 320px) { .ih-button-image{ gap: 8px; } }

