@font-face {
  font-family: "Libre Baskerville";
  src: url("/fonty/Libre_Baskerville/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; /* zmienne – działa dla wielu grubości */
  font-style: normal;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("/fonty/Libre_Baskerville/LibreBaskerville-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

/* ================= FONT: LATO ================= */

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* wersje italic */
@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Lato";
  src: url("/fonty/Lato/Lato-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}


/* ===================== HOME – TYPOGRAFIA + CZYTELNOŚĆ ===================== */

/* HERO (strona główna) */
#hero.hero {
  padding-top: clamp(28px, 4vw, 56px);
}

#hero .hero-inner {
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

/* Nagłówek w HERO */
#hero h1 {
  font-size: clamp(2.0rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(10px, 1.4vw, 16px);
}

/* Tekst w HERO */
#hero p {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  max-width: 56ch;
  margin-bottom: clamp(14px, 2vw, 24px);
}

/* Badge (jeśli jest) */
#hero .hero-badge {
  margin-bottom: 12px;
}

#hero .hero-badge img {
  width: clamp(160px, 18vw, 320px);
  height: auto;
}

/* Przycisk w HERO */
#hero .btn {
  font-size: 1rem;
  padding: 12px 26px;
}

/* Zdjęcie w HERO */
#hero .hero-photo img {
  width: min(520px, 100%);
  height: auto;
}


.btn-1{
  background-color: #ca8646;
  font-family:"Lato", sans-serif;
  font-weight: bolder;
  border-radius: 10px;
  color: white;
}

/* ===================== SEKCJE – NAGŁÓWKI + OPISY ===================== */

.section h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(1.0rem, 1.15vw, 1.12rem);
  line-height: 1.85;
  max-width: 70ch;
  margin: 0 auto 34px;
}

/* Karty – teksty */

.card h3 {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.card p {
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  line-height: 1.75;
}

/* OCHRONIĘ CIĘ PRZED – nagłówek i lista */
#protection h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.protection-item {
  font-size: clamp(1.0rem, 1.05vw, 1.08rem);
  line-height: 1.5;
}

.protection-note {
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  line-height: 1.8;
  opacity: 0.95;
  margin-top: 14px;
  max-width: 72ch;
}

/* Oferta – opisy na kartach (żeby było czytelniej) */
#offer .card p {
  font-size: clamp(0.98rem, 1.05vw, 1.06rem);
  line-height: 1.8;
}

/* Opinie – opis sekcji */
#testimonials .section-intro {
  max-width: 72ch;
}

.s2 h2{
    font-family:"Libre Baskerville", serif;
    font-weight: bolder;
}

.protection-content h2{
    font-family: "Libre Baskerville", serif;
    font-weight: bolder;
}

.section-dark h2{
   font-family: "Libre Baskerville", serif;
   font-weight: bolder;
}

.section-dark h3{
   font-family: "Libre Baskerville", serif;
   font-weight: bolder;
}


/* ===================== MOBILE DOPIESZCZENIE ===================== */
@media (max-width: 768px) {
  #hero.hero {
    padding-top: 28px;
  }

  #hero h1 {
    text-align: center;
  }

  #hero p {
    text-align: center;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
  }

  #hero .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .section {
    padding: 54px 0;
  }

  .section-intro {
    margin-bottom: 28px;
  }

  .card {
    padding: 22px 18px;
  }

  .protection-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
/* Przesunięcie obrazka w górę o 15px tylko na desktopie */
@media (min-width: 1024px) {
  .protection-photo.desktop-lift {
    transform: translateY(-15px);
    /* Alternatywnie można użyć: margin-top: -15px; */
  }
}
}

