/* ====== GLOBALNE LINKI (białe + podkreślenie) ====== */
a:not(.btn):not(.logo-wrap):not(.nav__list > li > a):not(.social a) {
  color: var(--white);
  text-underline-offset: 2px;
}

/* ====== przyciski – nowy subtelny gradient + większy margines górny ====== */
.btn--gradient {
  background: linear-gradient(135deg, rgba(44, 158, 141, 1), rgba(92, 241, 214, 0.25));
  color: #fff;
  padding: 14px 26px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 10px 20px rgba(6, 30, 30, .25);
  transform: translateY(0);
  transition: transform .2s, box-shadow .2s, filter .2s;
  margin-top: 14px; /* większy odstęp od treści */
}
.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(6, 30, 30, .35);
  filter: brightness(1.05);
}

/* ====== Formularze, layouty, galerie, modale ====== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.dept-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.dept-list h3 { margin: 0 0 6px; color: var(--white); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.field-hint { font-size: .85rem; color: var(--text-dim); margin: 0; }
.chk { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; }
.chk input { inline-size: 18px; block-size: 18px; margin-top: 3px; }
.consents legend { font-weight: 700; margin-bottom: 6px; }
.consent-note { font-size: .9rem; color: var(--text-dim); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-msg { margin: 0; }
.captcha-placeholder { height: 50px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px; opacity: .7; }

.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.album-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; }
.tab.is-active { background: linear-gradient(135deg, rgba(44,158,141,1), rgba(92,241,214,.25)); border-color: transparent; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 14px; }
.album-grid[hidden] { display: none; }
.album-grid .thumb { padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.album-grid img { display: block; width: 100%; height: 140px; object-fit: cover; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; place-items: center; z-index: 1200; }
.lightbox.open { display: grid; }
.lightbox__stage { position: relative; width: min(92vw, 1000px); aspect-ratio: 16/9; background: #000; border-radius: 12px; display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: 100%; }
.lightbox__close { position: absolute; right: 20px; top: 20px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: 0; width: 44px; height: 44px; border-radius: 50%; color: #fff; cursor: pointer; }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__caption { text-align: center; color: #fff; margin-top: 10px; }

.product-grid .product-card .archive-card__icon-wrapper { height: 180px; font-size: 64px; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; z-index: 1200; }
.modal.open { display: grid; place-items: center; }
.modal__dialog { background: linear-gradient(135deg, rgba(14,33,46,.96), rgba(14,33,46,.88)); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; width: min(92vw,720px); padding: 22px; box-shadow: var(--shadow); position: relative; }
.modal__dialog--wide { width: min(92vw, 1000px); }
.modal__close { position: absolute; right: 18px; top: 18px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }

/* ====== Strona produktu ====== */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.pd-gallery { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.pd-slide { display: none; width: 100%; height: auto; }
.pd-slide.is-active { display: block; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 10px; }
.pd-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: transparent; cursor: pointer; }
.pd-thumb.is-active { border-color: rgba(92,241,214,.5); }
.pd-thumb img { width: 100%; height: 80px; object-fit: cover; display: block; }
.product-detail__content #prod-name { margin: 0 0 10px; }
.product-specs { margin: 0 0 16px; padding-left: 20px; }

.ebook-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 22px; }
.ebook-card { background: rgba(8,24,38,.4); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ebook-card__media img { width: 100%; height: 180px; object-fit: cover; }
.ebook-card__body { padding: 16px; display: grid; gap: 8px; }

.reg-whenwhere { margin-top: -6px; color: var(--text-dim); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
/* --- Style dla przycisków udostępniania --- */

.post-share {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-share h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0 0 20px;
    font-weight: 600;
}

.share-buttons {
    list-style: none; /* POPRAWKA: Usuwa punktory */
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    color: var(--text); /* Jasny tekst */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    background-color: rgba(255, 255, 255, 0.1); /* POPRAWKA: Ujednolicony, jasny styl */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-button:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2); /* Lekkie rozjaśnienie po najechaniu */
}

.share-button i {
    font-size: 1rem;
    opacity: 0.8;
}

/* Kolory brandowe */
.share-button.share-facebook {
    background-color: #1877F2;
}

.share-button.share-twitter {
    background-color: #1DA1F2;
}

.share-button.share-linkedin {
    background-color: #0A66C2;
}

.share-button.share-email {
    background-color: #777;
}

/* --- Style dla strony Q&A --- */
.qa-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qa-item {
    background: rgba(8, 24, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.qa-question {
    padding: 20px 50px 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none; /* Ukrywa domyślną strzałkę */
    position: relative;
    transition: background-color 0.2s ease;
}

.qa-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.qa-question::-webkit-details-marker {
    display: none; /* Ukrywa strzałkę w Chrome/Safari */
}

/* Tworzenie własnego znaku +/- */
.qa-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-3);
    transition: transform 0.3s ease;
}

.qa-item[open] > .qa-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.qa-answer {
    padding: 0 25px 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qa-answer .text-content {
    max-width: 100%;
    margin: 0;
}
.qa-answer .text-content p:first-child {
    margin-top: 20px;
}