  :root {
    --header-height: 80px; /* dostosuj do swojego headera */
  }

  section[id] {
    scroll-margin-top: var(--header-height);
  }


  @font-face {
    font-family: "Libre Baskerville";
    src: url("/fonty/Libre_Baskerville/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    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;
  }

  /* ===================== GLOBAL ===================== */

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    line-height: 1.5;
    color: #222;
    background: #fff;
  }

  img {
    max-width: 100%;
    display: block;
  }

  .hero-highlight {
    color: #ba8913;
    font-weight: 600;
  }

  .container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(14px, 3vw, 22px);
  }

  /* HEADER */
  .top-header {
    background: #000;
    color: red;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
  }


  /* desktopowe menu */
  .main-nav {
    display: flex;
    align-items: center;
  }

  .main-nav a {
    font-family: "Libre Baskerville", serif;
    font-weight: bolder;
    color: #ba8913;
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.95rem;
  }

  .main-nav a:hover{
    color: #9e7310;
  }

  /* ===== SUBMENU „OFERTA” ===== */

  .nav-item {
    position: relative;
    display: flex;
    align-items: center;
  }

  /* główny link w nav-item – wyrównany jak inne */
  .nav-item > a {
    margin-left: 24px;
  }

  /* pudełko submenu */
  .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #000;
    padding: 8px 0;
    border: 1px solid #ba8913;
    border-radius: 6px;
    z-index: 1000;
  }

  /* linki w submenu */
  .submenu a {
    display: block;
    padding: 10px 16px;
    color: #ba8913;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 0; /* nadpisuje .main-nav a */
  }

  .submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  /* desktop: submenu po hoverze */
  @media (min-width: 768px) {
    .has-submenu:hover .submenu {
      display: block;
    }
  }

  /* przycisk hamburgera – domyślnie ukryty (desktop) */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* SEKCJE OGÓLNE */
  .section {
    padding: clamp(44px, 6vw, 72px) 0;
  }

  .section-light {
    background: #fff;
  }

  .section-dark {
    background: #151515;
    color: #fff;
  }

  /* brak przerwy pod sekcją ochrony, + ustawiamy warstwy */
  #protection {
    padding-bottom: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
  }

  .section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-family: "Libre Baskerville", serif;
  }

  .section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 0.98rem;
  }

  /* ===================== HERO ===================== */
  .hero {
    background-image: url("img/tlo1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 48px;
  }

  .hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
  }

  .hero-content {
    flex: 1 1 320px;
    position: relative;
  }

  .hero-content h1 {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
  }

  .hero-content p {
    font-family: "Lato", sans-serif;
  }

  .hero-photo {
    flex: 1 1 280px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .hero p {
    margin-bottom: 24px;
    max-width: 480px;
  }

  /* BUTTONY */
  .btn {
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
  }

  .btn-primary {
    background: #ba8913;
    color: white;
    font-weight: bolder;
    transition: background-color .3s ease, transform .2s ease;
  }

  .btn-primary:hover {
    background: #d4a226;   /* jaśniejszy odcień */
    transform: scale(1.05);
  }

  .btn-outline {
    background: #ba8913;
    border: 2px solid #ba8913;
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: bolder;
    border-radius: 5%;
    transition:
      background-color .3s ease,
      color .3s ease,
      border-color .3s ease,
      transform .2s ease;
  }

  .btn-outline:hover {
    background: transparent;
    color: #ba8913;
    border-color: #ba8913;
    transform: scale(1.05);
  }

  .btn-eswq{
    width: 75%;
    margin-left: auto;
    margin-right: auto;

  }

  /* ===================== KARTY – BAZA ===================== */
  .cards {
    display: grid;
    gap: 24px;
  }

  .card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: #ba8913 solid 0.1rem;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: visible; /* ✅ ważne */
    z-index: 0;        /* ✅ ważne */
  }

  /* ❌ USUNIĘTE: globalne .card::before które robiło pasek po PRAWEJ i psuło ofertę */

  /* .card::before {
    content: "";
    position: absolute;
    right: -5rem;
    top: 16px;
    bottom: 16px;
    width: 6px;
    background: #c7921b;
    border-radius: 6px;
  } */


  .section-dark .card {
    background: #1f1f1f;
  }

  /* ===================== KARTY – ‘KOMU NAJCZĘŚCIEJ POMAGAM’ ===================== */
  .clients-cards {
    align-items: stretch;
  }

  /* zewnętrzny wrapper karty – bez ramek, tylko układ */
  .card-clients {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* listek – w normalnym flow, mocniej wysunięty w lewo */
  .card-clients-leaf {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding-left: 0;
    margin-bottom: -32px;
    z-index: 1;
  }

  .card-clients-leaf img {
    width: 8rem;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translateX(-30%);
  }

  /* właściwa „karta” z obramowaniem */
  .card-clients-box {
    background: #fff;
    border: 2px solid #d5a535;
    border-radius: 28px;
    padding: 56px 32px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .card-clients-box .card-icon {
    margin-bottom: 16px;
  }

  .card-clients-box h3 {
    font-family: "Libre Baskerville", serif;
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .card-clients-box p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #1b2940;
  }

  /* ===================== PROTECTION ===================== */
  .protection-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
  }

  .protection-photo {
    flex: 1 1 280px;
    position: relative;
    z-index: 1;
  }

  .protection-photo img {
    display: block;
    transform: none;
  }

  .protection-content {
    flex: 1 1 320px;
  }

  .protection-list {
    list-style: none !important;
    padding: 0;
    margin: 24px 0 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(18px, 6vw, 80px);
    row-gap: 16px;
  }

  .protection-list li {
    list-style: none !important;
  }

  .protection-list li::marker {
    content: "" !important;
  }

  .protection-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    font-size: 1rem;
  }

  .protection-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .protection-item span {
    line-height: 1.4;
  }

  .note-highlight {
    color: #d5a535;
    font-weight: 600;
  }

  /* ===================== PROMO BAR ===================== */
  .promo-bar {
    background: #6b0f19;
    border-top: 2px solid #d5a535;
    border-bottom: 2px solid #d5a535;
    position: relative;
    z-index: 5;
  }

  .promo-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 160px;
    padding: 14px 0;
  }

  .promo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.9rem;
  }

  .promo-price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
  }

  .promo-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* ===================== SLIDER OPINII ===================== */
  .testimonial-slider {
    margin-top: 32px;
    position: relative;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .testimonial-slide {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: #000;
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .testimonial-slide img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.25s ease;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .slider-arrow-left {
    left: clamp(-10px, -2vw, -18px);
  }
  .slider-arrow-right {
    right: clamp(-10px, -2vw, -18px);
  }

  .slider-arrow:hover {
    background: #d5a535;
  }

  .testimonials-cta {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
    border-radius: 5%;
  }

  /* ===================== CTA ===================== */
  .section-cta {
    padding: 0;
  }

  .cta-background {
    background: url("img/cta-bg.webp") center/cover no-repeat;
  }

  .cta-inner {
    padding: clamp(44px, 7vw, 90px) 16px;
    display: flex;
    justify-content: center;
  }

  .cta-box {
    max-width: 420px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
  }

  /* FORMULARZ W CTA */
  .contact-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
  }

  /* etykiety pól */
  .contact-form label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
  }

  /* gwiazdka przy polach wymaganych */
  .contact-form label span {
    color: #d5a535;
    margin-left: 3px;
  }

  /* wspólny styl dla inputów, selectów i textarea */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    margin-top: 4px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-family: "Lato", sans-serif;
  }

  /* inputy „klasyczne” (imię, telefon, email) – zostają bardziej „okrągłe” */
  .contact-form input {
    border-radius: 999px;
  }

  /* SELECT jako normalny dropdown */
  .contact-form select {
    border-radius: 12px;
    cursor: pointer;
  }

  /* (opcjonalnie) ładna strzałka dropdown + więcej miejsca po prawej */
  .contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23999' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
  }


  /* textarea – na wiadomość */
  .contact-form textarea {
    resize: vertical;
    min-height: 110px;
  }

  /* przycisk w formularzu – żeby nie był przyklejony */
  .contact-form .btn {
    margin-top: 8px;
  }

  /* komunikaty o wysyłce formularza */
  .form-status {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: left;
  }

  .form-status.success {
    color: #8fd48f;
  }

  .form-status.error {
    color: #ff9b9b;
  }

  /* ===================== OFFER – karty z „złotym paskiem” (POPRAWIONE) ===================== */

  /* ważne: żeby nic nie ucinało paska */
  #offer .cards,
  #offer .container {
    overflow: visible;
  }

  #offer.section-dark .card {
    background: #fff;
    color: #222;
    border: 0px solid #e5e5e5;
    overflow: visible;
    position: relative;
    z-index: 1;
    border-radius: 16px;

    /* trochę bardziej "w lewo" */
    box-shadow:
      inset 5px 0 0 #d5a535,
      0 22px 60px rgba(0, 0, 0, 0.45);
  }

  /* ✅ wyłączamy pseudo-element żeby nie robił szczeliny */
  #offer.section-dark .card::before {
    display: none;
  }

  #offer .card .btn {
    margin-top: auto;
  }

  #offer.section-dark .card h3 {
    color: #000;
  }
  #offer.section-dark .card p {
    color: #333;
    margin-bottom: 2rem;
  }

  /* ===================== FOOTER (Z IKONKAMI) ===================== */
  .footer {
    background: #000;
    color: #fff;
    padding-top: 32px;
    border-top: #ba8913 solid 0.2rem;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
  }

  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .footer-desc {
    margin-top: 12px;
    line-height: 1.5;
    color: #fff;
    opacity: 0.9;
  }

  /* WYŚRODKOWANIE: logo + opis + FB (kolumna 1) */
  .footer-col--brand,
  .footer-col:first-child {
    align-items: center;
    text-align: center;
  }

  .footer-col:first-child .logo img {
    width: 60%;
    max-width: 220px;
    height: auto;
  }

  /* lista kontakt */
  .footer-contact,
  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-contact li,
  .footer-nav li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .footer-contact img,
  .footer-nav img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-top: 3px;
  }

  /* linki w nawigacji */
  .footer-nav a {
    color: #fff;
    text-decoration: none;
  }

  .footer-nav a:hover {
    text-decoration: underline;
  }

  /* facebook */
  .footer-social {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  /* dolna belka */
  .footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 12px 0;
    font-size: 0.8rem;
  }

  .footer-logo {
    width: 40%;
  }

  /* ===================== RESPONSYWNOŚĆ + HAMBURGER ===================== */
  @media (max-width: 768px) {
    .hero-inner,
    .protection-inner {
      flex-direction: column;
    }

    .protection-list {
      grid-template-columns: 1fr;
    }

    .cards-3 {
      grid-template-columns: 1fr;
    }

    .clients-cards {
      row-gap: 32px;
    }

    .card-clients-box {
      padding: 48px 24px 36px;
    }

    .card-clients-leaf img {
      /* width: 78px; */
      transform: translateX(-30%);
    }

    .footer-inner {
      grid-template-columns: 1fr;
    }

    /* POKAŻ hamburgera */
    .nav-toggle {
      display: block;
    }

    /* SCHOWAJ menu, przestyluj na rozwijane */
    .main-nav {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background: #000;
      flex-direction: column;
      padding: 12px 16px 16px;
      gap: 8px;
    }

    .main-nav a {
      margin-left: 0;
      padding: 8px 0;
    }

    /* nav-item na mobile – układ w kolumnie */
    .nav-item {
      flex-direction: column;
      align-items: flex-start;
    }

    .nav-item > a {
      margin-left: 0;
      padding: 8px 0;
    }

    /* submenu wewnątrz hamburgera – JS steruje display, tu reszta */
    .top-header.nav-open .submenu {
      position: static;
      border: none;
      background: transparent;
      padding: 0 0 0 16px;
    }

    .top-header.nav-open .submenu a {
      padding: 6px 0;
    }

    .top-header.nav-open .main-nav {
      display: flex;
    }

    .top-header.nav-open .nav-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .top-header.nav-open .nav-toggle span:nth-child(2) {
      opacity: 0;
    }

    .top-header.nav-open .nav-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* promo bar */
    .promo-bar-inner {
      flex-direction: column;
      gap: clamp(16px, 8vw, 160px);
      text-align: center;
    }

    .promo-item {
      flex-direction: column;
      gap: 4px;
    }

    .promo-price {
      font-size: 1.6rem;
    }

    .promo-text {
      font-size: 0.85rem;
    }

    /* slider mobile: strzałki pod zdjęciem */
    .testimonial-slider {
      padding-bottom: 52px;
      padding-left: 8px;
      padding-right: 8px;
    }

    .slider-arrow {
      top: auto;
      bottom: 0;
      transform: none;
      width: 44px;
      height: 44px;
    }

    .slider-arrow-left {
      left: 0;
    }
    .slider-arrow-right {
      right: 0;
    }

    .testimonial-slide {
      padding: 12px;
    }

    .testimonial-slide img {
      max-height: 300px;
    }

    /* footer mobile */
    .footer-contact li,
    .footer-nav li {
      font-size: 0.9rem;
    }

    .footer-contact img,
    .footer-nav img {
      width: 14px;
      height: 14px;
    }
  }

  /* desktopowe dociągnięcie zdjęcia w dół do paska */
  @media (min-width: 992px) {
    .protection-photo img {
      transform: translateY(60px);
    }
  }
  
  main{
     overflow-x: hidden;
  }

  /* HERO badge (logo) – wyśrodkowanie na mobile */
  @media (max-width: 768px) {
    .hero-badge {
      display: flex;
      justify-content: center;
      width: 100%;
      margin: 0 auto 14px;
    }

    .hero-badge img {
      width: min(180px, 70%);
      height: auto;
    }
  }

  /* CLIENTS – mniejsze odstępy między kartami tylko na mobile */
  @media (max-width: 768px) {
    #clients .cards {
      gap: 0.5rem;   /* było 24px */
    }
  }



  /* PROTECTION – kolejność elementów na mobile */
  @media (max-width: 768px) {
    .protection-inner {
      flex-direction: column;
    }

    .protection-content {
      order: 1;   /* najpierw treść */
    }

    .protection-photo {
      order: 2;   /* zdjęcie POD treścią */
      margin-top: 24px; /* trochę oddechu */
    }
  }

  /* TESTIMONIALS – ciaśniej TYLKO na mobile */
  @media (max-width: 768px) {
    #testimonials.section {
      padding-top: 2.5rem;
      padding-bottom: 0.1rem;
    }

    #testimonials .section-intro {
      margin-bottom: 0.1rem; /* było 32px */
    }

    #testimonials .testimonial-slider {
      margin-top: 14px; /* było 32px */
    }

    #testimonials .testimonials-cta {
      margin-top: 14px; /* było 32px */
    }
  }

  /* CONTACT – tylko górny padding na mobile */
  @media (max-width: 768px) {
    #contact.section {
      padding-top: 24px;   /* ile chcesz od góry */
      padding-bottom: 0;   /* usunięcie dołu */
    }
  }

  /* FOOTER – mobile: nagłówki na środku, listy równo do lewej */
  @media (max-width: 768px) {
    .footer-inner{
      grid-template-columns: 1fr;
      gap: 24px;
      text-align: center;
    }

    .footer-col{
      align-items: center;
    }

    /* Nagłówki zostają na środku */
    .footer-col h4{
      text-align: center;
      margin-bottom: 12px;
    }

    /* Listy: wąski blok wyśrodkowany, ale treść wyrównana do lewej */
    .footer-contact,
    .footer-nav{
      width: fit-content;
      margin: 0 auto;
      text-align: left;
    }

    /* Kontakt: ikonka + tekst w jednej linii, równo */
    .footer-contact li{
      flex-direction: row;      /* ważne: cofamy kolumnę */
      align-items: flex-start;
      justify-content: flex-start;
      gap: 10px;
    }

    /* Nawigacja: równe strzałki i tekst */
    .footer-nav li{
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
    }

    .footer-nav img{
      margin-top: 0;            /* żeby nie zjeżdżały w dół */
      flex-shrink: 0;
    }

    /* Logo + FB zostają wyśrodkowane */
    .footer-logo,
    .footer-social{
      margin-left: auto;
      margin-right: auto;
    }

    .footer-logo img{
      margin-left: auto;
      margin-right: auto;
    }

    .footer-bottom{
      text-align: center;
    }
  }

  /* HEADER logo – padding z lewej tylko na mobile */
  @media (max-width: 768px) {
    .top-header .logo {
      padding-left: 1.5rem; /* zmień np. 8/16/20px */
    }
  }

  /* HAMBURGER – padding od prawej tylko na mobile */
  @media (max-width: 768px) {
    .top-header .nav-toggle {
      padding-right: 12px; /* np. 8 / 16 / 20px */
    }
  }

  /* TESTIMONIALS – strzałki slidera na mobile */
  @media (max-width: 768px) {
    .testimonial-slider {
      padding-bottom: 0; /* cofamy miejsce robione wcześniej */
    }

    .slider-arrow {
      top: 50%;                 /* strzałki na środku zdjęcia */
      bottom: auto;
      transform: translateY(-50%);
      background: transparent;  /* bez białego tła */
      box-shadow: none;         /* bez cienia */
      color: #ba8913;           /* złoty kolor */
      font-size: 28px;          /* trochę większe */
      width: 44px;
      height: 44px;
    }

    .slider-arrow-left {
      left: -0.2rem;
    }

    .slider-arrow-right {
      right: -0.2rem;
    }

    .slider-arrow:hover {
      background: transparent;
      color: #d5a535;           /* jaśniejszy złoty na hover */
    }
  }



@media (max-width: 768px) {

  /* submenu zawsze widoczne po otwarciu hamburgera */
  .top-header.nav-open .has-submenu .submenu {
    display: block !important;
  }

  /* menu na środku */
  .top-header.nav-open .main-nav{
    align-items: center;
    text-align: center;
  }

  /* WSZYSTKIE linki w menu (główne i submenu) identyczne */
  .top-header.nav-open .main-nav a,
  .top-header.nav-open .submenu a{
    font-family: "Libre Baskerville", serif;
    font-weight: bolder;
    font-size: 0.95rem;
    color: #ba8913;
    text-decoration: none;

    margin-left: 0;
    padding: 10px 0;
    width: auto;
    text-align: center;
    opacity: 1;
  }

  /* submenu bez wcięcia i bez “dropdown look” */
  .top-header.nav-open .submenu{
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
  }

  /* nav-item też na środku */
  .top-header.nav-open .nav-item{
    align-items: center;
  }

  /* jeśli "Oferta" ma być tylko tytułem, a nie linkiem */
  .top-header.nav-open .has-submenu > a{
    pointer-events: none;
  }
}


[data-aos="slide-in-left"] {
  transform: translateX(-100px);
  opacity: 1;
}

[data-aos="slide-in-left"].aos-animate {
  transform: translateX(0);
}


[data-aos="slide-in-right"] {
  transform: translateX(100px);
  opacity: 1;
}

[data-aos="slide-in-right"].aos-animate {
  transform: translateX(0);
}

/* MOBILE: ukryj tylko napis/link "Oferta", zostaw podmenu */
@media (max-width: 768px) {

  /* jak menu jest otwarte */
  .top-header.nav-open .has-submenu > a {
    display: none !important;  /* znika "Oferta" */
  }

  /* podmenu ma być nadal widoczne */
  .top-header.nav-open .has-submenu .submenu {
    display: block !important;
  }

  /* opcjonalnie: usuń wcięcia/odstępy po "Oferta" */
  .top-header.nav-open .has-submenu {
    margin: 0 !important;
    padding: 0 !important;
  }

  .top-header.nav-open .has-submenu .submenu {
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  #promo-bar {
    scroll-margin-top: 5rem; /* dopasuj do wysokości headera na mobile */
  }
}

#promo-bar {
  scroll-margin-top: 5rem;
}