/* ==========================================================================
   custom.css - Strona Kontakt + aktualizacje
   Mobile-first. Jedna sekcja @media (min-width: 992px) na koncu pliku.
   Style globalne i klasy globalne (.container, .section-heading, .eyebrow,
   .button ...) pochodza z main.css - tutaj tylko nowe bloczki i drobne
   dostylowania.
   ========================================================================== */

/* ==========================================================================
   Fonty ladowane lokalnie (self-hosted) - Inter, wagi realnie uzywane w motywie
   (400/500/600/700). Pobrane z Google Fonts, zapisane w assets/fonts/.
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Wspolne pomocnicze ---- */

/* Animacje wejscia. Stan ukryty dziala tylko przy aktywnym JavaScript,
   dzieki czemu tresc pozostaje dostepna, gdy skrypt sie nie zaladuje. */
.js .fade-in,
.js .fade-up,
.js .fade-left,
.js .fade-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.js .fade-in { transform: translate3d(0, 0, 0); }
.js .fade-up { transform: translate3d(0, 32px, 0); }
.js .fade-left { transform: translate3d(-40px, 0, 0); }
.js .fade-right { transform: translate3d(40px, 0, 0); }

.js .fade-in.is-animated,
.js .fade-up.is-animated,
.js .fade-left.is-animated,
.js .fade-right.is-animated {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js .fade-in[data-delay],
.js .fade-up[data-delay],
.js .fade-left[data-delay],
.js .fade-right[data-delay] {
  transition-delay: var(--anim-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in,
  .js .fade-up,
  .js .fade-left,
  .js .fade-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-heading.is-inline h2 strong {
  display: inline;
}

.section-heading.is-inline h2 {
  max-width: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Ikona liniowa reuzywalna w kartach kontaktu / doradcow / mapy */
.icon-line {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Wariant przycisku: obrys (uzywany w bloczku Mapa) */
.button--outline {
  color: var(--flint);
  background: transparent;
  border: 2px solid var(--line);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--orange);
  background: transparent;
  border-color: var(--orange);
}

/* ==========================================================================
   1. page-title (Tytul strony)
   ========================================================================== */
.page-title {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.page-title__media,
.page-title__media img,
.page-title__overlay {
  position: absolute;
  inset: 0;
}

.page-title__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title__overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.9) 0%, rgba(20, 18, 16, 0.65) 45%, rgba(20, 18, 16, 0.3) 100%);
}

.page-title__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px 0;
}

.page-title h1 {
  max-width: 520px;
  color: var(--off-white);
}

.page-title h1 strong {
  display: block;
}

.page-title__copy {
  max-width: 480px;
}

.page-title__copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 24px;
}

.page-title.is-text {
  display: block;
  min-height: 0;
  overflow: visible;
  padding: 64px 0 8px;
  background: transparent;
  isolation: auto;
}

.page-title.is-text .page-title__inner {
  gap: 12px;
  padding: 0;
}

.page-title.is-text .eyebrow.is-glass {
  padding: 0;
  color: var(--flint);
  background: transparent;
  backdrop-filter: none;
}

.page-title.is-text h1 {
  max-width: none;
  color: var(--black);
}

.page-title.is-text h1 strong {
  display: inline;
}

.page-title.is-text .page-title__copy {
  max-width: 640px;
}

.page-title.is-text .page-title__copy p {
  color: var(--flint);
  font-size: 16px;
}

.page-title.is-text .badge-list {
  margin-top: 0;
}

.page-title.is-text .post-breadcrumb {
  margin: 4px 0 0;
  color: var(--stone);
}

.page-title.is-text .post-breadcrumb a {
  color: inherit;
}

.page-title.is-text .post-breadcrumb a:hover,
.page-title.is-text .post-breadcrumb a:focus-visible {
  color: var(--orange);
}

.page-title.is-text .post-breadcrumb span[aria-hidden] {
  color: var(--line);
}

.projekt-single .final-cta__container {
  padding: 40px 0;
}

/* ==========================================================================
   2. contact-form (Formularz kontaktowy)
   ========================================================================== */
.contact-form {
  padding: 48px 0;
  background: var(--white);
}

.contact-form__inner {
  display: grid;
  gap: 32px;
}

.contact-form__aside {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.contact-form__aside .section-heading {
  gap: 16px;
}

.contact-form__lead {
    max-width: 380px;
    margin-top: 12px;
    color: var(--flint);
    font-size: 15px;
    line-height: 1.5;
}

/* karty kontaktowe */
.contact-info {
    display: grid;
    width: 100%;
    gap: 0;
    margin: 20px 0;
}

.contact-info dd,
.contact-card__value {
  margin: 0;
}

.contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border-radius: var(--radius-lg);
    padding: 15px 0;
}

.contact-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--black);
  background: var(--warm-white);
}

.contact-card__body {
  min-width: 0;
}

.contact-card__body dt,
.contact-card__label {
  color: var(--stone);
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-card__value {
  margin-top: 4px;
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
}

.contact-card__value a:hover,
.contact-card__value a:focus-visible {
  color: var(--orange);
}

.contact-card__note {
  margin-top: 2px;
  color: var(--flint);
  font-size: 13px;
  line-height: 19.5px;
}

.contact-form__panel .contact-form__form .form-field > p > label {
  color: var(--flint) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 22px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}


/* karta "Szybki start" */
.quickstart {
  width: 100%;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  background: var(--stone);
}

.quickstart .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.quickstart h3 {
  margin-top: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.quickstart p {
  max-width: 440px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 19.5px;
}

.quickstart .button {
  margin-top: 20px;
  min-height: 45px;
}

/* panel formularza */
.contact-form__panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form__panel h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.contact-form__panel > p {
  margin-top: 4px;
  color: var(--stone);
  font-size: 14px;
  line-height: 21px;
}

.contact-form__form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form__form p {
  margin: 0;
}

.contact-form__form br {
  display: none;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.form-field > p {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.form-field label,
.form-field__label {
  color: var(--flint);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form__form input:not([type="checkbox"]):not([type="submit"]),
.contact-form__form select,
.contact-form__form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px 17px;
  color: var(--black);
  background: var(--off-white);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.contact-form__form input:not([type="checkbox"]):not([type="submit"])::placeholder,
.contact-form__form textarea::placeholder {
  color: var(--stone);
}

.contact-form__form input:not([type="checkbox"]):not([type="submit"]):focus,
.contact-form__form select:focus,
.contact-form__form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.15);
}

.contact-form__form textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-form__form select {
  appearance: none;
  background-image: url("../img/icon-caret-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 12px;
  padding-right: 40px;
  cursor: pointer;
}

/* zgoda / checkbox */
.form-consent {
  display: block;
  padding-top: 4px;
  cursor: pointer;
}

.form-consent .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0;
}

.form-consent .wpcf7-checkbox .wpcf7-list-item > label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  max-width: none;
}

.form-consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.form-consent input[type="checkbox"]:checked {
  border-color: var(--orange);
  background-color: var(--orange);
  background-image: url("../img/icon-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.form-consent .wpcf7-list-item-label {
  display: block;
  min-width: 0;
  color: var(--flint);
  font-size: 13px;
  font-weight: 500;
  line-height: 19.5px;
}

.form-consent .wpcf7-form-control-wrap {
  display: block;
}

.form-consent .wpcf7-not-valid-tip {
  margin-top: 8px;
}

.contact-form__form .form-submit {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  color: var(--white);
  background: var(--orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.14px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(232, 160, 32, 0.25);
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-form__form .form-submit:hover,
.contact-form__form .form-submit:focus-visible {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.contact-form__panel .contact-form__form .form-field label {
  color: var(--flint);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form__panel .form-consent input[type="checkbox"]:checked {
  border-color: var(--orange);
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L8.94975 16.9497L19.5572 6.34326' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* ==========================================================================
   3. Doradcy - osobny blok oparty o uklad i tla bloku "columns".
   Szare boxy odwracaja sie razem z tlem sekcji tak samo jak .column-card.
   ========================================================================== */
.advisor-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--off-white);
}

.advisor-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.columns.is-gray .advisor-card {
  background: var(--white);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.columns.is-warm .advisor-card {
  color: var(--white);
  background: var(--stone);
}

.advisor-card__avatar {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(232, 160, 32, 0.2);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.advisor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-card__name {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.columns.is-warm .advisor-card__name {
  color: var(--white);
}

.advisor-card__role {
  color: var(--stone);
  font-size: 13px;
  line-height: 19.5px;
}

.columns.is-warm .advisor-card__role {
  color: rgba(255, 255, 255, 0.72);
}

.advisor-card__meta {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.advisor-card__meta > div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.advisor-card__meta .icon-line {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.advisor-card__meta span {
  color: var(--flint);
  font-size: 13px;
  line-height: 19.5px;
}

.columns.is-warm .advisor-card__meta span {
  color: rgba(255, 255, 255, 0.76);
}

.columns.is-warm .advisor-card__meta .icon-line {
  color: var(--orange);
}

.advisor-card__meta a {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.advisor-card__meta a:hover,
.advisor-card__meta a:focus-visible {
  color: var(--orange-dark);
}

.columns.is-warm .advisor-card__meta a {
  color: var(--white);
}

/* ==========================================================================
   4. map-block (Mapa)
   ========================================================================== */
.map-block {
  padding: 48px 0;
  background: var(--off-white);
}

.map-block__inner {
  display: grid;
  gap: 40px;
}

.map-block__grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

.map-block__frame {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8e4dd;
}

.map-block__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-block__side {
  display: grid;
  gap: 16px;
}

.map-block__card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.map-block__card-label {
  color: var(--stone);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.map-block__card h3 {
  margin-top: 12px;
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.map-block__card-address {
  margin-top: 4px;
  color: var(--flint);
  font-size: 15px;
  line-height: 22.5px;
}

.map-block__hours {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 17px;
}

.map-block__hours-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--black);
  background: var(--warm-white);
}

.map-block__hours p:first-child {
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
}

.map-block__hours p:last-child {
  color: var(--stone);
  font-size: 12px;
  line-height: 18px;
}

.map-block__nav {
  width: 100%;
}

/* ==========================================================================
   5. logo-carousel (Karuzela logo - Swiper marquee)
   ========================================================================== */
.logo-carousel {
  padding: 24px 0;
  background: var(--white);
}

.logo-carousel__viewport {
  overflow: hidden;
}

.logo-carousel__track {
  align-items: center;
}

/* Plynny, liniowy przesuw (marquee) - bez skokow na petli */
.logo-carousel .swiper-wrapper {
  transition-timing-function: linear;
}

.logo-carousel__slide {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
}

.logo-carousel__slide img {
  width: 100%;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.logo-carousel__slide img:hover {
  opacity: 1;
}

/* Wariant przycisku: obrys w kolorze akcentu (galeria) */
.button--outline-accent {
  color: var(--orange);
  background: transparent;
  border: 2px solid var(--orange);
}

.button--outline-accent:hover,
.button--outline-accent:focus-visible {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

/* ==========================================================================
   6. columns (Kolumny) - liczba kolumn + tlo bialy/szary (boxy sie odwracaja)
   ========================================================================== */
.columns {
  padding: 48px 0;
  background: var(--white);
}

.columns.is-gray {
  background: var(--off-white);
}

.columns__inner {
  display: grid;
  gap: 40px;
}

.columns__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.columns__head .section-heading {
  max-width: 720px;
}

.columns__head .section-heading > *:not(.eyebrow) {
  max-width: 640px;
}

.columns__lead {
  max-width: 440px;
  margin-top: 12px;
  color: var(--flint);
  font-size: 15px;
  line-height: 24px;
}

.columns__grid {
  display: grid;
  gap: 20px;
}

.column-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--off-white);
}

.column-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--orange);
  background: var(--white);
}

.column-card__icon .icon-line {
  width: 22px;
  height: 22px;
}

.column-card h3 {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: -0.3px;
}

.column-card p {
  margin-top: 8px;
  color: var(--flint);
  font-size: 14px;
  line-height: 22.4px;
}

/* Odwrocenie kolorow boxow zaleznie od tla sekcji */
.columns.is-gray .column-card {
  background: var(--white);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.columns.is-gray .column-card__icon {
  background: var(--warm-white);
}

/* ==========================================================================
   7. gallery-grid (Galeria Grid)
   ========================================================================== */
.gallery-grid {
  padding: 48px 0;
  background: var(--off-white);
}

.gallery-grid__inner {
  display: grid;
  gap: 32px;
}

.gallery-grid__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-filter {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  color: var(--flint);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.gallery-filter:not(.is-active):hover,
.gallery-filter:not(.is-active):focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.gallery-filter.is-active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.gallery-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-long);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card a {
  position: absolute;
  inset: 0;
  cursor: zoom-in;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(0deg, rgba(20, 18, 16, 0.7) 0%, rgba(20, 18, 16, 0.1) 45%, rgba(0, 0, 0, 0) 70%);
}

.gallery-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  padding: 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.gallery-grid__foot {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   8. faq-block (FAQ) - reuzywa .faq-item / .faq__list + logike z main.js
   ========================================================================== */
.faq-block {
    padding: 48px 0;
    background: var(--off-white);
}

.faq-block__inner {
  display: grid;
  gap: 32px;
}

.faq-block__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.faq-block__head > div {
  display: grid;
  justify-items: center;
}

.faq-block .section-heading.is-centered {
  align-items: center;
  text-align: center;
}

.faq-block .section-heading.is-centered .eyebrow {
  justify-content: center;
}

.faq-block__foot {
  display: flex;
  justify-content: center;
}

.faq-block .faq-item__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--warm-white);
}

/* ==========================================================================
   9. articles (Artykuly - Swiper)
   ========================================================================== */
.articles {
  --article-card-shadow-bleed: 16px;
  padding: 48px 0;
  background: var(--white);
}

.articles__inner {
  display: grid;
  gap: 32px;
}

.articles__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.articles__lead {
  max-width: 440px;
  margin-top: 12px;
  color: var(--flint);
  font-size: 15px;
  line-height: 24px;
}

.articles__carousel {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.articles__carousel .swiper {
  margin: calc(var(--article-card-shadow-bleed) * -1);
  overflow: clip;
  overflow-clip-margin: var(--article-card-shadow-bleed);
  padding: var(--article-card-shadow-bleed);
}

.articles__carousel .swiper-wrapper {
  align-items: stretch;
}

.articles__carousel .swiper-slide {
  height: auto;
}

.article-card {
  display: flex;
  height: auto;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.article-card h3{
  transition: var(--transition);
}

.article-card h3:hover {
    color: var(--orange-dark);
}

.article-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-long);
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__badge {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 1;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  color: var(--white);
  background: var(--orange);
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.article-card h3 {
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.article-card__excerpt {
  margin-top: 12px;
  margin-bottom: 24px;
  color: var(--flint);
  font-size: 14px;
  line-height: 22px;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 17px;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.article-card__avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(232, 160, 32, 0.15);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
}

.article-card__author-name {
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.article-card__author-date {
  color: var(--stone);
  font-size: 11px;
  line-height: 16.5px;
}

.article-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
}

.article-card__read .icon-line {
  width: 13px;
  height: 13px;
}

.article-card__read:hover,
.article-card__read:focus-visible {
  color: var(--orange-dark);
}

/* ==========================================================================
   10. newsletter (Newsletter)
   ========================================================================== */
.newsletter {
  padding: 24px 0 48px;
  background: var(--white);
}

.newsletter__inner {
  display: grid;
  gap: 24px;
  border-radius: 24px;
  padding: 32px;
  color: var(--white);
  background: var(--black);
}

.newsletter .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.newsletter__text p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 21px;
}

.newsletter__form {
  display: flex;
  gap: 8px;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 15px 19px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color var(--transition), background-color var(--transition);
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter__form .button {
  flex: 0 0 auto;
}

/* ==========================================================================
   11. single post (Widok posta)
   ========================================================================== */
.post {
  padding: 24px 0 48px;
  background: var(--white);
}

.post__narrow {
  max-width: 780px;
  margin-inline: auto;
}

/* --- breadcrumb --- */
.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--stone);
  font-size: 13px;
  line-height: 20px;
}

.post-breadcrumb a:hover,
.post-breadcrumb a:focus-visible {
  color: var(--orange);
}

.post-breadcrumb span[aria-hidden] {
  color: var(--line);
}

/* --- hero --- */
.post-hero__head {
  max-width: 780px;
  margin-top: 32px;
}

.post-hero__head .eyebrow {
  margin-bottom: 20px;
}

.post-hero h1 {
  color: var(--black);
}

.post-hero__lead {
  margin-top: 20px;
  color: var(--flint);
  font-size: 18px;
  line-height: 28px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.post-meta__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-meta__author img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-meta__author p:first-child {
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
}

.post-meta__author p:last-child {
  color: var(--stone);
  font-size: 13px;
  line-height: 18px;
}

.post-meta__sep {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.post-meta__info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--stone);
  font-size: 14px;
  line-height: 20px;
}

.post-meta__info span[aria-hidden] {
  color: var(--stone);
}

/* --- figures --- */
.post-figure {
  position: relative;
  margin: 40px 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.post-figure__caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--radius-pill);
  padding: 5px 20px 5px 15px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(20, 18, 16, 0.3);
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 600;
  line-height: 16.5px;
}

.post-figure__caption span[aria-hidden] {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.post-figure__watermark {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 120px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

/* --- body content --- */
.post-body {
  margin-top: 40px;
}

.post-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-section .eyebrow {
  margin-bottom: 4px;
}

.post-section h2 {
  font-size: 30px;
  line-height: 1.2;
}

.post-section p {
  color: var(--flint);
  font-size: 16px;
  line-height: 28px;
}

/* --- inline image pair --- */
.post-images {
  display: grid;
  gap: 16px;
}

.post-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: 382 / 260;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- checklist highlight card --- */
.post-checklist {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--off-white);
}

.post-checklist .eyebrow {
  margin-bottom: 16px;
}

.post-checklist h3 {
  color: var(--black);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.post-checklist ul {
  margin-top: 8px;
  padding: 0;
  list-style: none;
  gap: 0;
}

.post-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--flint);
  font-size: 15px;
  line-height: 24px;
}

.post-checklist li:last-child {
  border-bottom: 0;
}

.post-checklist li::before {
  flex: 0 0 20px;
  width: 20px;
  height: 24px;
  background: url("../img/icon-check.svg") left 2px / 20px 20px no-repeat;
  content: "";
}

.post-checklist strong {
  color: var(--black);
  font-weight: 700;
}

/* --- stats --- */
.post-stats {
  display: grid;
  gap: 16px;
}

.post-stat {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--off-white);
}

.post-stat__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--orange);
  background: var(--warm-white);
}

.post-stat__icon .icon-line {
  width: 18px;
  height: 18px;
}

.post-stat__value {
  margin-top: 16px;
  color: var(--orange);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.post-stat__label {
  margin-top: 10px;
  color: var(--flint);
  font-size: 15px;
  line-height: 21px;
}

/* --- wide figure with caption bar --- */
.post-figure--wide {
  margin: 0;
}

.post-figure--wide img {
  aspect-ratio: 780 / 380;
  object-fit: cover;
}

.post-figure--wide::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(20, 18, 16, 0.75) 0%, rgba(20, 18, 16, 0) 100%);
  content: "";
}

.post-figure--wide figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 20px;
}

/* --- quote --- */
.post-quote {
  margin: 0;
  border-left: 4px solid var(--orange);
  padding: 8px 0 8px 28px;
}

.post-quote blockquote {
  margin: 0;
  color: var(--black);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
}

.post-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.post-quote figcaption img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.post-quote figcaption p:first-of-type {
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.post-quote figcaption p:last-of-type {
  color: var(--stone);
  font-size: 12px;
  line-height: 18px;
}

/* --- inline CTA (ciemny box) --- */
.post-cta {
  display: grid;
  gap: 24px;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--black);
  color: var(--white);
}

.post-cta__label {
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.post-cta h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.post-cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 24px;
}

.post-cta .button {
  flex: 0 0 auto;
  align-self: flex-start;
}

/* --- author card --- */
.post-author {
  display: flex;
  gap: 20px;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
  background: var(--off-white);
}

.post-author img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author__label {
  color: var(--stone);
  font-size: 11px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.post-author h2 {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
}

.post-author p:last-child {
  margin-top: 8px;
  color: var(--flint);
  font-size: 15px;
  line-height: 24px;
}

/* --- tags --- */
.post-tags {
  margin-top: 32px;
}

.post-tags__label,
.post-share__label {
  color: var(--stone);
  font-size: 11px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.post-tags__list a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 17px;
  color: var(--flint);
  font-size: 14px;
  line-height: 20px;
  transition: color var(--transition), border-color var(--transition);
}

.post-tags__list a:hover,
.post-tags__list a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* --- share --- */
.post-share {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 32px;
}

.post-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-share__buttons button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  color: var(--flint);
  background: var(--off-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color var(--transition), color var(--transition);
}

.post-share__buttons button:hover,
.post-share__buttons button:focus-visible {
  color: var(--white);
  background: var(--orange);
}

/* --- related posts --- */
.related-posts {
  padding: 48px 0;
  background: var(--white);
}

.related-posts__inner {
  display: grid;
  gap: 32px;
}

.related-posts__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.related-posts__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--flint);
  font-size: 14px;
  font-weight: 600;
}

.related-posts__more .icon-line {
  width: 16px;
  height: 16px;
}

.related-posts__more:hover,
.related-posts__more:focus-visible {
  color: var(--orange);
}

.related-posts__grid {
  display: grid;
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.related-card:hover,
.related-card:focus-within {
  box-shadow: 0 8px 24px rgba(30, 28, 26, 0.12);
  transform: translateY(-2px);
}

.related-card__media {
  position: relative;
  aspect-ratio: 384 / 200;
  overflow: hidden;
  background: var(--line);
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  color: var(--white);
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.related-card h3 {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
}

.related-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--stone);
  font-size: 12px;
  line-height: 18px;
}

/* ==========================================================================
   12. WordPress - ikony sprite, archiwa, CPT, wysiwyg, fancybox
   ========================================================================== */

/* Pasek administracyjny WP - cofnięcie globalnych resetów motywu (ul/ol/svg/img),
   które psuły układ #wpadminbar (pozycje stackowały się pionowo). */
#wpadminbar ul,
#wpadminbar ol {
  display: block;
  gap: 0;
  margin: 0;
  padding-left: 0;
  list-style: none;
}
#wpadminbar li { margin: 0; }
#wpadminbar img,
#wpadminbar svg { display: inline-block; max-width: none; vertical-align: middle; }

/* Ikony sprite - dziedziczenie koloru z kontekstu */
.footer-contact svg { width: 18px; height: 18px; }
.footer-social a { color: var(--flint); }
.footer-social a svg { width: 22px; height: 22px; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--orange); }

/* Breadcrumb na ciemnym tle (page-title, projekt) */
.page-title .post-breadcrumb { margin-bottom: 16px; color: rgba(255, 255, 255, 0.6); }
.page-title .post-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-title .post-breadcrumb a:hover { color: var(--orange); }
.page-title .post-breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.35); }
.page-title .badge-list { margin-top: 16px; }

/* Kolumny - wariant ciepły (boxy jak benefits) */
.columns.is-warm .column-card { color: var(--white); background: var(--stone); }
.columns.is-warm .column-card h3 { color: var(--white); }
.columns.is-warm .column-card p { color: rgba(255, 255, 255, 0.85); }
.columns.is-warm .column-card__icon { color: var(--white); background: var(--orange); }

/* Kolumny - wariant ciemny niebieski (boxy jak benefits) */
.columns.is-blue .column-card { color: var(--white); background: var(--blue); }
.columns.is-blue .column-card h3 { color: var(--white); }
.columns.is-blue .column-card p { color: rgba(255, 255, 255, 0.65); }
.columns.is-blue .column-card__icon { color: var(--white); background: var(--orange-dark); }

/* FAQ - wariant zawężony */
.faq-block.is-narrow .faq__list {
  width: min(100%, 915px);
  justify-self: center;
}

/* Blog / archiwa */
.blog-archive { padding: 48px 0; background: var(--white); }
.blog-archive__grid { display: grid; gap: 24px; }
.blog-after-posts { background: var(--white); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers {
  display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0 14px;
  color: var(--flint); font-size: 14px; font-weight: 600;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}
.pagination a.page-numbers:hover { color: var(--orange); border-color: var(--orange); }
.pagination .page-numbers.current { color: var(--white); background: var(--orange); border-color: var(--orange); }

/* Projekty - archiwum */
.projects--archive { padding: 48px 0; }
.projects__grid { display: grid; gap: 20px; }

/* Projekt - single */
.projekt-single__params { padding: 32px 0; background: var(--off-white); }
.projekt-params { display: grid; gap: 12px; }
.projekt-params__item { border-radius: var(--radius-lg); padding: 20px; background: var(--white); box-shadow: 0 1px 1.5px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.06); }
.projekt-params__label { color: var(--stone); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.projekt-params__value { margin-top: 6px; color: var(--black); font-size: 20px; font-weight: 700; }
.projekt-params__value strong { color: var(--orange); }
.projekt-params__note { margin-top: 2px; color: var(--stone); font-size: 12px; }
.projekt-single__variants, .projekt-single__gallery { padding: 40px 0; }
.projekt-variants, .gallery-fancybox { display: grid; gap: 16px; margin-top: 24px; }
.projekt-variant { margin: 0; }
.projekt-variant img, .gallery-fancybox img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.projekt-variants--split {
  grid-template-columns: repeat(var(--warianty-count, 3), minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
}

.projekt-variants--split .projekt-variant {
  min-width: 0;
}

.projekt-variants--split .projekt-variant a {
  height: clamp(320px, 52vw, 760px);
  overflow: hidden;
  border-radius: 0;
  cursor: zoom-in;
}

.projekt-variants--split .projekt-variant img {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}

.projekt-variants--split .projekt-variant__badge {
  z-index: 2;
}

.projekt-variant a,
.projekt-options__panel a,
.gallery-fancybox a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
}

.projekt-variant a::after,
.projekt-options__panel a::after,
.gallery-fancybox a::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(0deg, rgba(20, 18, 16, 0.85) 0%, rgba(20, 18, 16, 0.6) 50%, rgba(20, 18, 16, 0.15) 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.projekt-variant a:hover::after,
.projekt-variant a:focus-visible::after,
.projekt-options__panel a:hover::after,
.projekt-options__panel a:focus-visible::after,
.gallery-fancybox a:hover::after,
.gallery-fancybox a:focus-visible::after {
  opacity: 1;
}

.projekt-variant a img,
.projekt-options__panel a img,
.gallery-fancybox a img {
  display: block;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.projekt-variant a:hover img,
.projekt-variant a:focus-visible img,
.projekt-options__panel a:hover img,
.projekt-options__panel a:focus-visible img,
.gallery-fancybox a:hover img,
.gallery-fancybox a:focus-visible img {
  transform: scale(1.025);
}
.projekt-variant figcaption { margin-top: 8px; color: var(--flint); font-size: 14px; }

/* Realizacje - archiwum (sekcje + galeria fancybox) */
.realizacja-section { padding: 40px 0; }
.realizacja-section:nth-child(even) { background: var(--off-white); }
.realizacja-section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.realizacja-section__desc { max-width: 640px; color: var(--flint); font-size: 15px; line-height: 24px; }
.realizacja-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.realizacja-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--line); }
.realizacja-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-long); }
.realizacja-gallery__item:hover img { transform: scale(1.04); }
.realizacja-gallery__item.is-hidden { display: none; }
.realizacja-gallery__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(232, 160, 32, 0.92); }
.realizacja-gallery__play::after { position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; content: ""; transform: translateX(2px); }
.realizacja-more { margin-top: 20px; }

/* Treść WYSIWYG (edytor / gutenberg) */
.wysiwyg > * + * { margin-top: 1em; }
/*.wysiwyg h2, .wysiwyg h3, .wysiwyg h4 { margin-top: 1.4em; }*/
.wysiwyg ul, .wysiwyg ol { padding-left: 1.25em; }
.wysiwyg img { height: auto; border-radius: var(--radius-lg); }
.wysiwyg a:not(.button) { color: var(--orange); text-decoration: underline; }
.wysiwyg blockquote { border-left: 4px solid var(--orange); margin: 1.5em 0; padding: 8px 0 8px 28px; color: var(--black); font-size: 20px; font-style: italic; line-height: 1.6; }
.wysiwyg .wp-block-table, .wysiwyg figure.wp-block-table { overflow-x: auto; }

/* Bloki pomocnicze */
.text-block { padding: 40px 0; }
.text-block__content.is-narrow { max-width: 900px; margin-inline: auto; }
.contact-form__placeholder { color: var(--stone); font-size: 14px; }

/* media-text - pozycja na zewnątrz containera (obraz do krawędzi) */
.media-text.is-outside { overflow: hidden; }

/* ==========================================================================
   9. Blog - tresc wpisu (.post-body.wysiwyg). Czysty, automatyczny rytm.
   Redaktor uzywa WYLACZNIE poziomu naglowka z edytora:
   - Naglowek 6 (H6) = eyebrow (mala pomaranczowa etykieta nad tytulem sekcji)
   - Naglowek 2 / 3 / 4 = tytuly sekcji (malejaco)
   - reszta (akapity, listy, obrazy, cytaty, osadzone bloczki) - automatycznie.
   Odstepy pionowe buduje JEDEN mechanizm (gorny margines nastepnego elementu),
   wiec nie ma podwojnych odstepow ani "wielkich dziur" miedzy elementami.
   ========================================================================== */
.post-body.wysiwyg > * { margin: 0; }
.post-body.wysiwyg > * + * { margin-top: 22px; }
.post-body.wysiwyg > :first-child { margin-top: 0; }
.post-body.wysiwyg > p:empty { display: none; } /* pusty akapit nie tworzy odstepu */

.post-body.wysiwyg > p { color: var(--flint); font-size: 16px; }
.post-body.wysiwyg strong { color: var(--black); font-weight: 700; }
.post-body.wysiwyg a:not(.button) { color: var(--orange); text-decoration: underline; }

/* Naglowki sekcji */
.post-body.wysiwyg > h2 { margin-top: 48px; color: var(--black); font-size: 30px; line-height: 1.25; letter-spacing: -0.5px; }
.post-body.wysiwyg > h3 { margin-top: 40px; color: var(--black); font-size: 22px; line-height: 1.3; letter-spacing: -0.3px; }
.post-body.wysiwyg > h4 { margin-top: 32px; color: var(--black); font-size: 18px; line-height: 1.4; }

/* H6 = eyebrow (mala pomaranczowa etykieta). Naglowek zaraz po nim = maly odstep. */
.post-body.wysiwyg > h6 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--flint);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.post-body.wysiwyg > h6::before {
  content: "";
  width: 20px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--orange);
}
/* H6 (eyebrow) tuz nad dowolnym naglowkiem = grupa jak .section-heading:
   ten sam gap 12px (main.css .section-heading { gap:12px }), dla wszystkich H1-H5. */
.post-body.wysiwyg > h6 + h1,
.post-body.wysiwyg > h6 + h2,
.post-body.wysiwyg > h6 + h3,
.post-body.wysiwyg > h6 + h4,
.post-body.wysiwyg > h6 + h5 { margin-top: 12px; }

/* Listy (wypunktowane i numerowane) - eleganckie, bez dodatkowych wtyczek */
.post-body.wysiwyg > ul,
.post-body.wysiwyg > ol { padding-left: 0; list-style: none; color: var(--flint); font-size: 16px; line-height: 28px; }
.post-body.wysiwyg > ul > li,
.post-body.wysiwyg > ol > li { position: relative; padding-left: 30px; }
.post-body.wysiwyg > ul > li + li,
.post-body.wysiwyg > ol > li + li { margin-top: 12px; }
.post-body.wysiwyg > ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.post-body.wysiwyg > ol { counter-reset: dnj-ol; }
.post-body.wysiwyg > ol > li { counter-increment: dnj-ol; }
.post-body.wysiwyg > ol > li::before {
  content: counter(dnj-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Obrazy (blok wp:image). Uwaga: reset marginesu galerii nizej jest ZAWEZONY do
   galerii, zeby nie zerowal gornego marginesu pojedynczego obrazka (konflikt kolejnosci). */
.post-body.wysiwyg > .wp-block-image { margin-top: 32px; }
.post-body.wysiwyg .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.post-body.wysiwyg .wp-block-image figcaption {
  margin-top: 10px;
  color: var(--stone);
  font-size: 13px;
  line-height: 20px;
  text-align: left;
}

/* Galeria (wp:gallery) - zostawiamy natywny uklad rdzenia WP (is-cropped columns-2
   robi rowne, wykadrowane, wypelnione kolumny). NIE nadpisujemy display/szerokosci:
   rdzeniowy selektor figure.wp-block-image:not(#individual-image) ma podbita
   specyficznosc (:not(#id) liczy sie jak ID) i i tak by wygral. Dodajemy tylko
   odstep i zaokraglenie rogow. */
.post-body.wysiwyg > .wp-block-gallery { margin-top: 32px; }
.post-body.wysiwyg .wp-block-gallery figure.wp-block-image img { border-radius: var(--radius-lg); }

/* Cytat (blok wp:quote) */
.post-body.wysiwyg > .wp-block-quote,
.post-body.wysiwyg > blockquote {
  margin-top: 40px;
  border-left: 4px solid var(--orange);
  padding: 6px 0 6px 28px;
  color: var(--black);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
}
.post-body.wysiwyg > .wp-block-quote p { margin: 0; }
.post-body.wysiwyg > .wp-block-quote cite,
.post-body.wysiwyg > .wp-block-quote p + p {
  display: block;
  margin-top: 12px;
  color: var(--stone);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
}

/* Osadzone bloczki ACF w tresci wpisu. WSZYSTKIE bloczki tego motywu renderuja sie
   jako <section>, wiec celujemy w '> section' - to NIE koliduje z elementami rdzenia
   Gutenberga (h2/p/figure/ul/blockquote nie sa <section>).
   UWAGA: NIE uzywac [class*="-block"] - "wp-block-heading", "wp-block-paragraph" itd.
   tez zawieraja "-block" i taki selektor nadpisywalby marginesy wszystkich blokow!
   Zdejmujemy wewnetrzny .container (baza: width: min(100% - 60px, var(--container)))
   -> pelna szerokosc kolumny tekstu; oraz wlasny pionowy padding sekcji bloczka. */
.post-body.wysiwyg .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 0;
  padding-right: 0;
}
.post-body.wysiwyg > section {
  margin-top: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   BLOK: Realizacje grid (realizacje-grid) - jedna galeria, mozaikowy grid
   ========================================================================== */
.realizacje-grid { padding: 48px 0; }
.realizacje-grid__inner { display: flex; flex-direction: column; gap: 28px; }
.realizacje-grid__head { display: flex; flex-direction: column; gap: 12px; }
.realizacje-grid__intro { max-width: 760px; }
.realizacje-grid__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.realizacje-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  grid-column: span 1;
}
.realizacje-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-long);
    scale: 1.01;
}
.realizacje-grid__item:hover img { transform: scale(1.04); }
.realizacje-grid__item.is-hidden { display: none; }
/* Szerokosc kafli wyznaczana w PHP (domnajuz_mosaic_rows) - wiersze zawsze sumuja sie
   do pelnej szerokosci siatki, wiec dol jest rowny. Kafel szeroki = 2 kolumny na obu
   breakpointach (na mobile = pelna szerokosc, bo siatka ma 2 kolumny). */
.realizacje-grid__item.is-wide { grid-column: span 2; }
.realizacje-grid__foot { display: flex; justify-content: center; margin-top: 4px; }
.realizacje-grid__empty { color: var(--flint); }

/* ==========================================================================
   BLOK: Mini CTA (mini-cta) - kompaktowy ciemny pasek CTA
   ========================================================================== */
.mini-cta { padding: 32px 0; }
.mini-cta__box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--black);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.55); }
.eyebrow--light span:first-child { background: var(--orange); }
.mini-cta__heading {
  margin-top: 10px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
}
.mini-cta__text {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 24px;
}
.mini-cta__btn {
  align-self: flex-start;
  white-space: nowrap;
}

/* ==========================================================================
   BLOK: Galeria i tekst (gallery-text) - tekst + karuzela 1 zdjecia z lightboxem.
   Uklad ".split-carousel" wspolny z realizacjami/opiniami (main.css), ale tu
   strzalki/progress (.carousel-controls) sa widoczne na kazdej szerokosci -
   karuzela dziala tak samo na mobile i na desktopie (1 zdjecie, strzalki).
   ========================================================================== */
.gallery-text { padding: 60px 0; }
.gallery-text .carousel-controls { display: flex; margin-top: 24px; 
position: absolute;
bottom: 15px; 
z-index: 99;
left: 50%;
transform: translateX(-50%);
}
.gallery-text__body { width: 100%; }
.gallery-text .section-heading + .gallery-text__body { margin-top: 2px; }
.gallery-text__carousel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.gallery-text__slide {
  aspect-ratio: 4 / 3;
  background: var(--black);
}
.gallery-text__slide a {
  display: block;
  height: 100%;
}
.gallery-text__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-text__carousel--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  color: var(--flint);
}

/* ==========================================================================
   BLOK: Wideo / Embed (video-embed) - YouTube albo dowolny kod iframe.
   Pelna szerokosc kontenera, wysokosc proporcjonalna 16:9, max 96vh.
   ========================================================================== */
.video-embed { padding: 40px 0; }

.video-embed__frame {
  position: relative;
  width: min(100%, calc(96vh * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
}

.video-embed__frame iframe,
.video-embed__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--line);
  color: var(--flint);
}

/* ==========================================================================
   DESKTOP (>= 992px)
   ========================================================================== */
@media (min-width: 992px) {
  /* Wideo / Embed */
  .video-embed { padding: 80px 0; }

  /* Realizacje grid - 4 kolumny + akcentowe kafle na przemian lewo/prawo. */
  .realizacje-grid { padding: 80px 0; }
  .realizacje-grid__inner { gap: 40px; }
  .realizacje-grid__gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
  }
  /* .is-wide dziedziczy span 2 z reguly bazowej - na 4 kolumnach to nadal polowa,
     a wiersze z domnajuz_mosaic_rows sumuja sie do 4 jednostek, wiec dol jest rowny. */

  /* Mini CTA - uklad poziomy: tresc po lewej, przycisk po prawej. */
  .mini-cta { padding: 40px 0; }
  .mini-cta__box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
  }
  .mini-cta__btn { align-self: center; }

  /* Galeria i tekst */
  .gallery-text { padding: 80px 0; }

  .page-title {
    min-height: 480px;
  }

  .page-title__inner {
    padding: 80px 0;
    gap: 20px;
  }

  .page-title__copy p {
    font-size: 16px;
  }

  .projekt-single .final-cta__container {
    padding: 80px 0;
  }

  /* contact-form */
  .contact-form {
    padding: 80px 0;
  }

  .contact-form__inner {
    grid-template-columns: minmax(0, 516px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .contact-form__panel {
    padding: 33px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* map-block */
  .map-block {
    padding: 80px 0;
  }

  .map-block__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }

  .map-block__frame {
    min-height: 460px;
    height: 100%;
  }

  /* logo-carousel */
  .logo-carousel {
    padding: 30px 0;
  }

  .logo-carousel__slide img {
      height: 140px;
  }

  /* columns */
  .columns {
    padding: 80px 0;
  }

  .columns__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .columns__head .columns__lead {
    text-align: right;
    margin-top: 0;
  }

  .columns__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .columns.columns--2 .columns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .columns.columns--4 .columns__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* gallery-grid */
  .gallery-grid {
    padding: 80px 0;
  }

  .gallery-grid__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .gallery-grid__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 280px;
    grid-auto-flow: row dense;
  }

  .gallery-card {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery-card.is-tall {
    grid-row: span 2;
  }

  /* faq-block */
  .faq-block {
    padding: 80px 0;
  }

  .faq-block__head {
    gap: 20px;
  }

  .faq-block .faq__list {
    width: 100%;
    justify-self: stretch;
  }

  /* articles */
  .articles {
    padding: 80px 0;
  }

  .articles__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  /* newsletter */
  .newsletter {
    padding: 0 0 80px;
  }

  .newsletter__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 40px;
  }

  .newsletter__form {
    width: auto;
  }

  .newsletter__input {
    width: 280px;
    flex: 0 0 280px;
  }

  /* single post */
  .post {
    padding: 40px 0 56px;
  }

  .post-hero__head {
    margin-top: 60px;
  }

  .post-hero h1 {
    font-size: 56px;
    line-height: 1.1;
  }

  .post-figure {
    margin-top: 56px;
  }

  .post-body {
    gap: 48px;
    margin-top: 56px;
  }

  .post-section h2 {
    font-size: 34px;
  }

  .post-images {
    grid-template-columns: 1fr 1fr;
  }

  .post-checklist {
    padding: 32px;
  }

  .post-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 32px;
  }

  .post-cta .button {
    align-self: center;
  }

  .related-posts {
    padding: 80px 0;
  }

  .related-posts__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .related-posts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* WordPress - desktop */
  .blog-archive { padding: 80px 0; }
  .blog-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .projects--archive { padding: 80px 0; }
  .projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .projekt-single__params { padding: 48px 0; }
  .projekt-params { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

  .projekt-variants, .gallery-fancybox { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .realizacja-section { padding: 64px 0; }
  .realizacja-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .media-text.is-outside.is-right .media-card { margin-right: calc((100vw - 100%) / -2); }
  .media-text.is-outside.is-left .media-card { margin-left: calc((100vw - 100%) / -2); }

  /* Blog - tresc wpisu, patrz sekcja 9 wyzej (mobile-first) */
  .post-body.wysiwyg > h2 {
    font-size: 34px;
  }
}

/* Stopka: izolacja od klas menu głównego generowanych przez WordPress. */
.site-footer .footer-nav ul,
.site-footer .footer-nav .menu,
.site-footer .footer-nav__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-nav li,
.site-footer .footer-nav .menu-item,
.site-footer .footer-nav__item {
  position: static;
  margin: 0;
  padding: 0;
}

.site-footer .footer-nav a,
.site-footer .footer-nav .menu-item > a,
.site-footer .footer-nav__link {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 0;
  padding: 0;
  color: var(--flint);
  background: transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  letter-spacing: 0;
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible,
.site-footer .footer-nav .menu-item > a:hover,
.site-footer .footer-nav .menu-item > a:focus-visible {
  color: var(--orange);
  background: transparent;
  transform: none;
}

.site-footer .footer-social a {
  display: inline-flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  background: transparent;
}

.site-footer .footer-social img {
  display: block;
  width: 37px;
  height: 37px;
}

.site-footer .footer-contact img {
  display: block;
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Projekt single - opcje (przyciski przelaczajace grafike), widget wariantow,
   karuzela partnerow.
   ========================================================================== */
.projekt-single__options { padding: 40px 0; }
.projekt-options__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.projekt-options__tab {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--white); color: var(--black); font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.projekt-options__tab:hover { border-color: var(--orange); color: var(--orange); }
.projekt-options__tab.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.projekt-options__panel { display: none; margin: 0; }
.projekt-options__panel.is-active { display: block; }
.projekt-options__panel img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* Widget wariantow: etykieta jako badge nakladany na obraz (fancybox). */
.projekt-variant a { position: relative; display: block; }
.projekt-variant .projekt-variant__badge {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  margin: 0; padding: 6px 18px; border-radius: var(--radius-pill);
  background: var(--orange); color: var(--white); font-size: 14px; font-weight: 600; white-space: nowrap;
}

/* Karuzela partnerow na stronie projektu. */
.logo-carousel--partners { padding-top: 24px; border-top: 1px solid var(--line); }
