body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
    margin: 0;
    padding: 0;
}
.site-header, .site-footer {
    background: #1a202c;
    color: #fff;
}
.site-header .logo a {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px;
}
.main-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.main-nav .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}
.hero {
    padding: 80px 15px 60px 15px;
    background: #fffbea;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    color: #1a202c;
}
.cta-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a202c;
    font-weight: bold;
    padding: 18px 44px;
    border-radius: 40px;
    margin-top: 30px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s;
}
.cta-btn:hover {
    background: #ffb700;
    color: #fff;
}
.site-footer {
    text-align: center;
    padding: 30px 0 15px 0;
    font-size: 0.95rem;
}

/* === OFERTA === */
.oferta {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.oferta h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a202c;
}
.oferta-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    max-width: 900px;
}
.oferta-item {
    background: #f7f6ef;
    border-radius: 16px;
    box-shadow: 0 2px 18px #0001;
    padding: 26px 26px 18px 26px;
    width: 320px;
    min-height: 170px;
    text-align: left;
    margin-bottom: 10px;
}
.oferta-item h3 {
    color: #e1a100;
    margin-top: 0;
}

/* === JAK TO DZIAŁA === */
.jak-to-dziala {
    background: #fffbea;
    padding: 50px 0 30px 0;
    text-align: center;
}
.jak-to-dziala h2 {
    font-size: 1.8rem;
    color: #1a202c;
}
.jak-to-dziala ol {
    display: inline-block;
    text-align: left;
    font-size: 1.15rem;
    margin-top: 20px;
}
.jak-to-dziala li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* === CENNIK === */
.cennik {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.cennik h2 {
    font-size: 2rem;
    color: #1a202c;
}
.cennik-table {
    margin: 0 auto 18px auto;
    border-collapse: collapse;
    min-width: 340px;
    font-size: 1.12rem;
    background: #f7f6ef;
    border-radius: 14px;
    box-shadow: 0 2px 14px #0001;
}
.cennik-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}
.cennik-table tr:last-child td {
    border-bottom: none;
}
.cennik-info {
    font-size: 0.96rem;
    color: #888;
    margin-top: 14px;
}

/* === OPINIE === */
.opinie {
    background: #fffbea;
    padding: 55px 0 40px 0;
    text-align: center;
}
.opinie h2 {
    font-size: 2rem;
    color: #1a202c;
}
.opinie-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
    margin: 25px auto 0 auto;
    max-width: 850px;
}
.opinia {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px #0001;
    padding: 30px 28px 18px 28px;
    min-width: 230px;
    max-width: 320px;
}
.opinia p {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 18px;
    font-style: italic;
}
.opinia span {
    font-size: 0.98rem;
    color: #e1a100;
    font-weight: 600;
}

/* Formularz opinii */
#formularz-opinia {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    margin: 0 auto 24px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0001;
    padding: 24px 26px 18px 26px;
    gap: 12px;
}
#formularz-opinia input[type="text"],
#formularz-opinia textarea,
#formularz-opinia select {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 9px;
    padding: 8px 12px;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
    transition: border 0.2s;
}
#formularz-opinia input[type="text"]:focus,
#formularz-opinia textarea:focus {
    border-color: #ffd700;
    outline: none;
}
#formularz-opinia textarea {
    min-height: 64px;
    max-height: 180px;
}
#formularz-opinia select {
    width: 110px;
}
#formularz-opinia .cta-btn,
#formularz-opinia button[type="submit"] {
    background: #ffe100;
    color: #232323;
    font-weight: bold;
    border: 2px solid #232323;
    border-radius: 32px;
    padding: 11px 24px;
    font-size: 1.09em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}
#formularz-opinia .cta-btn:hover,
#formularz-opinia button[type="submit"]:hover {
    background: #fffde5;
    box-shadow: 0 3px 16px #ffe10044;
}
#opinia-sukces {
    text-align: center;
    margin-top: 14px;
    font-size: 1.02em;
    color: #2e9228;
    font-weight: bold;
}

/* Przycisk do formularza */
#pokaz-formularz-opinia {
    margin: 24px auto 10px auto;
    display: block;
}

/* === KONTAKT === */
.kontakt {
    background: #fff;
    padding: 60px 0 50px 0;
    text-align: center;
}
.kontakt h2 {
    font-size: 2rem;
    color: #1a202c;
}
.kontakt a {
    color: #e1a100;
    font-weight: bold;
    text-decoration: underline;
}

/* Chat widget */
#tp-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: inherit;
}
#tp-chat-bubble {
    background: #ffd700;
    color: #222;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 32px;
    box-shadow: 0 2px 14px #0002;
    cursor: pointer;
}
#tp-chat-window {
    background: #fffbea;
    color: #1a202c;
    width: 320px;
    min-height: 320px;
    border-radius: 20px;
    box-shadow: 0 2px 30px #0002;
    padding: 18px 18px 10px 18px;
    margin-bottom: 10px;
}
#tp-chat-window input[type="text"],
#tp-chat-window input[type="email"] {
    width: 95%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
#tp-chat-window button {
    background: #ffd700;
    color: #1a202c;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 18px;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    margin-top: 4px;
}
#tp-chat-window form {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#tp-chat-messages {
    background: #fff;
    border-radius: 12px;
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 6px 10px;
}

/* Demo chat */
#chat-wrap {max-width:400px;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0002;padding:18px;}
#chat-history {font-size:16px;min-height:50px;}
#chat-form input {margin-bottom:6px; border:1px solid #ccc;}
#chat-form button {background:#ffd700;border:none;padding:8px 20px;border-radius:8px;cursor:pointer;font-weight:bold;}

/* === STRONY (karta) === */
.page .main-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #faf9f6;
    padding: 48px 28px 60px 28px;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.06);
}
.page h1, .page h2 {
    color: #222;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.page h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: left;
}
.page h2 {
    font-size: 2rem;
    margin: 28px 0 12px 0;
}
.page ul {
    margin-left: 28px;
    font-size: 1.1em;
}
.page li {
    margin-bottom: 8px;
}
.page p {
    font-size: 1.13em;
    margin: 16px 0;
}

/* === FAQ === */
.faq {
    background: #faf7ee;
    margin: 40px 0 0 0;
    padding: 48px 26px 40px 26px;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 #0001;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #7c6c39;
}
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #e4dbb9;
}
.faq-question {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 16px 0 12px 0;
    font-size: 1.12em;
    font-weight: bold;
    cursor: pointer;
    color: #1c1706;
    position: relative;
    transition: color .18s;
}
.faq-question:after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.4em;
    color: #e2b908;
    top: 10px;
    transition: transform 0.18s;
}
.faq-question.active:after {
    content: '–';
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 0 0 13px 0;
    font-size: 1.06em;
    color: #555;
    transition: all 0.18s;
}
.faq-answer.open {
    display: block;
}

/* === ATUTY === */
.atuty {
    background: #f7f7ef;
    border-radius: 18px;
    box-shadow: 0 2px 14px 0 #0001;
    margin: 42px auto 0 auto;
    max-width: 980px;
    padding: 48px 20px 42px 20px;
}
.atuty h2 {
    text-align: center;
    font-size: 2rem;
    color: #7a6c37;
    margin-bottom: 26px;
}
.atuty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 28px 32px;
    margin: 0 auto;
    max-width: 900px;
}
.atut {
    background: #fffbea;
    border-radius: 14px;
    box-shadow: 0 1px 8px 0 #b3a36c21;
    padding: 24px 18px 20px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 230px;
    transition: box-shadow 0.18s;
}
.atut:hover {
    box-shadow: 0 8px 32px 0 #ffeb8033;
}
.atut-ikona {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.atut h3 {
    margin: 0 0 10px 0;
    font-size: 1.14rem;
    color: #4c430a;
}
.atut p {
    font-size: 1em;
    color: #625621;
    margin: 0;
    line-height: 1.5;
}

/* === RODO === */
.rodo {
    background: #f6f6f6;
    border-radius: 14px;
    box-shadow: 0 1px 10px 0 #c7c7b933;
    margin: 38px auto 0 auto;
    max-width: 850px;
    padding: 38px 16px 26px 16px;
    font-size: 1.03em;
}
.rodo h2 {
    text-align: center;
    color: #876b18;
    font-size: 1.38rem;
    margin-bottom: 16px;
}
.rodo-content p {
    margin: 11px 0;
    color: #222;
    line-height: 1.7;
}
.rodo-content a {
    color: #6c5b1a;
    text-decoration: underline dotted;
}

/* === FOOTER === */
.footer-online{
    text-align:center;
    color:#888;
    font-size:14px;
    margin:10px 0 6px;
}

/* === Mini-nav: Regulamin / O nas === */
.mini-nav { 
  background: transparent; 
  margin: 16px 0 0 0;
}
.mini-nav .container {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap; /* zabezpiecza przed overflow na mobile */
}
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #ffd700;
  background: #fff;
  color: #1a202c;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px #0001;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.mini-link:hover,
.mini-link:focus {
  background: #ffd700;
  color: #1a202c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px #ffd70055;
  outline: none;
}
.mini-link .icon { font-size: 1.1em; line-height: 1; }

/* === O nas – karta === */
.onas {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px #0001;
    padding: 28px 24px 30px 24px;
    margin: 20px auto 0 auto;
    max-width: 900px;
}
.onas h2 {
    font-size: 1.6rem;
    color: #1a202c;
    font-weight: 700;
    margin: 22px 0 12px 0;
    letter-spacing: .02em;
    position: relative;
}
.onas h2:first-child { margin-top: 0; }
.onas h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    margin-top: 8px;
}
.onas p {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
    margin: 12px 0;
}
.onas ul, .onas ol {
    margin-left: 24px;
    font-size: 1.05rem;
}
.onas li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.onas a {
    color: #e1a100;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.onas .cta-btn {
    display: inline-block;
    margin-top: 8px;
}

/* === Regulamin – karta + overflow guard === */
.regulamin {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px #0001;
    padding: 28px 24px;
    margin: 20px auto 0 auto;
    max-width: 900px;
    overflow-wrap: anywhere;
    word-break: normal;
}
.regulamin * { box-sizing: border-box; }
.regulamin h2, .regulamin h3 {
    color: #1a202c;
    font-weight: 700;
    margin: 22px 0 12px 0;
}
.regulamin ul, .regulamin ol { padding-left: 22px; margin: 10px 0; }
.regulamin li { margin-bottom: 8px; line-height: 1.6; }
.regulamin hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 18px 0;
}
.regulamin img,
.regulamin svg,
.regulamin video {
    max-width: 100%;
    height: auto;
    display: block;
}
.regulamin table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}
.regulamin th,
.regulamin td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}
.regulamin pre,
.regulamin code {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* === MEDIA QUERIES === */
@media (max-width: 700px) {
    .page .main-content {
        padding: 22px 4vw 32px 4vw;
    }
    .page h1 {
        font-size: 1.7rem;
    }
    .page h2 {
        font-size: 1.23rem;
    }
    .atuty {
        padding: 22px 3vw 18px 3vw;
    }
    .atuty-list {
        grid-template-columns: 1fr;
        gap: 15px 0;
    }
    .atut {
        min-height: unset;
        padding: 18px 6px;
    }
    .rodo { padding: 18px 4vw 12px 4vw; }
    .rodo h2 { font-size: 1rem; }

    .onas {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .onas h2 {
        font-size: 1.25rem;
    }
    .onas p, .onas li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .regulamin {
        padding: 18px 14px;
        border-radius: 14px;
        margin: 14px 10px;
    }
}

@media (max-width: 420px) {
  .mini-nav .container { gap: 10px; }
  .mini-link { padding: 8px 14px; font-weight: 700; font-size: .98rem; }
}

/* Ostateczny bezpiecznik overflow-x (użyj tylko gdy coś innego dalej „pcha” layout) */
/* html, body { overflow-x: hidden; } */
/* 1) Globalny reset szerokości – padding nie powiększa elementów */
html { box-sizing: border-box; overflow-x: hidden; }
*, *::before, *::after { box-sizing: inherit; }

/* 2) Media globalnie – nic nie „pcha” layoutu */
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

/* 3) Regulamin: łamanie linków/ciągów + bezpiecznik szerokości */
.regulamin { max-width: min(900px, 100%); }
.regulamin a { word-break: break-word; overflow-wrap: anywhere; }
.regulamin pre, .regulamin code { white-space: pre-wrap; word-break: break-word; }

/* 4) Mini-nav (pigułki) – zero wypychania na małych ekranach */
.mini-nav { overflow-x: hidden; }
.mini-nav .container { flex-wrap: wrap; max-width: 100%; }
.mini-link { max-width: 100%; }

/* 5) Kontener na małych ekranach – bez „przebijania” viewportu */
@media (max-width: 700px) {
  .container { width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; }
  .page .main-content { margin-left: auto; margin-right: auto; }
  .regulamin { margin-left: 10px; margin-right: 10px; }
}

/* 6) Ostateczny kill-switch (włączony) – jeśli jakiś element wciąż ucieka */
body { overflow-x: hidden; }
/* Wyróżnienie wiersza Ekspres 1–3h w cenniku */
.cennik-table .row-ekspres {
  background: #fff8cc;
  font-weight: 700;
}
.cennik-table .row-ekspres td { border-bottom-color: #f1e6a6; }

.badge-new{
  display:inline-block;
  font-weight:700;
  font-size:.78rem;
  line-height:1;
  padding:4px 8px;
  margin-right:8px;
  border-radius:999px;
  background:#ffd700;
  color:#1a202c;
  box-shadow:0 1px 6px #ffd70055;
  vertical-align:middle;
}

.link-more{
  margin-left:6px;
  font-weight:600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html { scroll-behavior: smooth; }       /* płynny scroll */
#ekspres { scroll-margin-top: 120px; }  /* odsunięcie od góry po skoku */
@media (max-width:700px){ #ekspres { scroll-margin-top: 90px; } }
/* === Opinie – równe, krótsze karty === */
.opinie-list { align-items: stretch; }

.opinia{
  height: 280px !important;               /* stała wysokość (desktop) */
  padding: 22px 20px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 10px;
  text-align: center;
}

/* Tekst: przytnij do kilku linii (bez rozciągania karty) */
.opinia p{
  margin: 0 0 10px 0 !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;     /* ile linii widać na desktopie */
  overflow: hidden;
}

/* Gwiazdki i autor przy dole */
.opinia > div { margin-top: auto; }   /* kontener gwiazdek */
.opinia > span { margin-top: 8px; }   /* autor */

/* Przycisk "Pokaż całość" tworzony skryptem */
.opinia .read-more{
  background: none;
  border: 0;
  padding: 0;
  color: #e1a100;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  align-self: center;
  margin-top: 2px;
}

/* Mobile – jeszcze niższe i mniej linii */
@media (max-width:700px){
  .opinia{ height: 220px !important; }
  .opinia p{ -webkit-line-clamp: 5; }
}

/* === Modal pełnej opinii === */
#opinia-modal{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;              /* pokazuje JS */
  align-items: center; justify-content: center;
  z-index: 99999;
  padding: 16px;
}
#opinia-modal .card{
  position: relative;
  background: #fffbea;
  color: #1a202c;
  width: min(680px, 92vw);
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  padding: 24px 22px 20px;
  overflow: auto;
}
#opinia-modal .card h4{
  margin: 0 30px 10px 0;
  font-size: 1.05rem;
  color: #c08a00;
}
#opinia-modal .card p{
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 1.06rem;
}
#opinia-modal .close{
  position: absolute; top: 8px; right: 10px;
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: #ffd700; color: #1a202c;
  font-size: 20px; font-weight: 700;
  cursor: pointer;
}