/* Paleta */
:root {
  --yellow: #fcce4c;
  --yellow-dark: #d9ac21;
  --gray-dark: #1a1e29;
  --gray: #8893aa;
  --white: #fff;
  --text: #000;
}

/* Przyciski (zgodnie z wytycznymi) */
.wpcf7-submit,
.btn-primary-brand {
  background: var(--yellow);
  color: var(--text);
  border: 1px solid var(--yellow);
  padding: 6px 30px;

}

.wpcf7-submit:hover,
.wpcf7-submit:focus,
.btn-primary-brand:hover,
.btn-primary-brand:focus {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--white);
}

.btn-secondary-brand {
  background: var(--white);
  color: #111;
  border: 1px solid var(--gray);
}

.btn-secondary-brand:hover,
.btn-secondary-brand:focus {
  background: #f8f9fa;
  border-color: var(--gray);
  color: #111;
}

/* Sekcja 1: HERO */
.lp-hero {
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.lp-hero::before {
  content: '';
  display: block;
  width: 100%;
  position: absolute;
  height: 100%;
  background: #000;
  opacity: .3;
}

.lp-hero>* {
  position: relative;
  z-index: 2;
}

.lp-hero__title {
  color: var(--text);
}

.lp-hero__text {
  color: var(--text);
}

.lp-hero__contacts .lp-contact-line__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.lp-contact-line__text {
  color: var(--text);
}

/* Kolory i rozmiary */
.text-brand-yellow {
  color: #fcce4c;
}

.lp-hero__contacts .lp-hero-link {
  color: #fff;
  /* linki białe */
  text-decoration: none;
}

.lp-hero__contacts .lp-hero-link:hover {
  color: #fff;
  opacity: .9;
}

/* rozmiar obrazkowych ikon */
.icon-24 {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* FA ikony w kontakcie – na wszelki wypadek */
.lp-contact-line__icon .fa {
  color: #fcce4c;
}

.navbar-nav .menu-cta 
{
  background-color: var(--yellow);
  color: var(--white) !important;
  border-radius: 5px
}

.navbar-nav .menu-cta a.nav-link {
  color: var(--white) !important;
}

.navbar-nav .menu-cta a.nav-link:hover {
  background-color: var(--yellow-dark);
  color: var(--white) !important;
    border-radius: 5px
}

/* Sekcja 2 */
.bg-dark-900 {
  background: var(--gray-dark);
}

.text-dark-900 {
  color: #111;
}

.lp-s2__card {
  min-height: 320px;
  box-shadow: 0 -1px 15px #9d9898;
}

.lp-s2__title-badge {
  position: absolute;
  top: -16px;
  left: 16px;
  padding: 5px 30px;
  box-shadow: 0 0px 15px #9d9898;
}

.lp-s2__button {
  position: absolute;
  right: 16px;
  bottom: -16px;
}

.lp-s2__image img {
  box-shadow: 0 0px 15px #9d9898;
}

.box-shadow {
  box-shadow: 0 0 15px #9d9898;
}

/* Ikony/kafle */
.icon-48 {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Sekcja 3 */
.lp-s3__form,
.lp-feature {
  border: 1px solid #fcce4c;
  box-shadow: 0px 0px 8px #fcce4c;
}

.lp-feature__icon {
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.lp-feature__icon .fa-solid {
  color: #fcce4c;
  /* żółty */
  font-size: 48px;
  /* dopasowanie do .icon-48 */
  line-height: 1;
  display: inline-block;
}

.lp-feature {
  min-height: 100%;
}


/* Sekcja 4 */
.lp-s4__image img {
  display: block;
  box-shadow: 0 0px 15px #9d9898;
}

/* Sekcja 5 */
.lp-s5 {
  background: var(--gray-dark);
}

/* Sekcja 5 z tłem */
.lp-s5.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.lp-s5.has-bg {
  position: relative;
}

.lp-s5.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 30, 41, .8);
  pointer-events: none;
}

.lp-s5.has-bg>.container {
  position: relative;
  z-index: 1;
}


.lp-s5 h2, .lp-s5, .lp-s5 p {
  color: var(--white);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}



@media (min-width:576px) {
  .counters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:992px) {
  .counters-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* 5 kolumn na desktop */
}

.counter-item {
  padding: 8px;
}

.counter-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.counter-label {
  font-size: .95rem;
  opacity: .9;
}

/* Sekcja 6 */
.lp-s6__contacts .contact-row .cr-icon svg {
  display: block;
  fill: currentColor;
}

.lp-s6__map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

/* Okrągłe foto */
.object-fit-cover {
  object-fit: cover;
}

.lp-s6__photo .ratio {
  max-width: 210px;
  margin: 0px auto;
}

/* opcjonalnie limit szerokości */
@media (min-width: 992px) {
  .lp-s6__photo .ratio {
    max-width: 210px;
    margin: 0px auto;
  }
}

/* Ikony FA w kontaktach – żółte, 2rem */
.lp-s6 .cr-icon .fa-solid {
  color: #fcce4c;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 15px;
}

.lp-s6__contacts.card {
  border: 0px;
}

.lp-s6__contacts .contact-row {
  margin-bottom: 15px;
}

/* Linki kontaktowe – czytelne */
.lp-s6__contacts a {
  text-decoration: none;
  color: #000;
}

.lp-s6__contacts a:hover {
  text-decoration: underline;
}

/* Mapy */
.lp-s6__map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}


/* Sekcja 7 */
.lp-s7__card {
  background: var(--white);
}

.border-yellow {
  border: 3px solid var(--yellow);
}

/* Sekcja 7 – lista z ikonkami FA zamiast bulletów */
/* Lista w sekcji 7 – perfekcyjne centrowanie pionowe */
.lp-s7__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-s7__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  /* 2rem ikona + reszta tekst */
  align-items: center;
  /* <— klucz do centrowania pionowego */
  column-gap: .5rem;
}

.lp-s7__icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  /* centruje ikonę w kwadracie */
}

.lp-s7__icon .fa-solid {
  font-size: 2rem;
  line-height: 1;
  color: #fcce4c;
  /* żółty */
  margin-right: 10px;
}

.lp-s7__text {
  display: block;
  padding-left: 10px;
}

.lp-s7__text p {
  margin: 0;
}

/* gdy WYSIWYG zwróci <p> */




#navbar {
  display: flex;
  justify-content: flex-end;
}

.navbar-brand img {
  height: 90px;
}

.navbar-nav .nav-link {
  color: var(--yellow-dark) !important;
  font-weight: bold;
}

#main {
  margin-top: 0px;
}

/* TOPBAR */
.topbar {
  background-color: #d9ac21;
  /* ciemny żółty */
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover,
.topbar a:focus {
  opacity: .85;
  text-decoration: none;
}

.topbar .fa-solid,
.topbar .fa-regular,
.topbar .fa-brands {
  font-size: 14px;
}

.topbar-contact .fa-phone,
.topbar-contact .fa-envelope {
  margin-right: .5rem;
}

/* Social: okrągłe ikonki ze zdefiniowanym borderem */
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
}

.topbar-social a:hover,
.topbar-social a:focus {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  opacity: 1;
}

/* Responsywność: na bardzo małych ekranach elementy mogą się łamać w 2 wiersze */
@media (max-width: 575.98px) {
  .topbar .d-flex {
    gap: .5rem 1rem;
  }

  .topbar-right {
    margin-left: 0 !important;
  }
}


h3::after {
  content: '';
  display: block;
  position: relative;
  margin-top: 15px;
  margin-bottom: 25px;
  width: 120px;
  height: 3px;
  background-color: var(--yellow);
  box-shadow: 0px 0px 8px #fcce4c;
}

/* FOOTER */
#footer {
  background-color: #fcce4c;
  /* żółty */
  color: #000;
  /* tekst czarny */
}

#footer a {
  color: #000;
  /* linki czarne */
  text-decoration: none;
}

#footer a:hover,
#footer a:focus {
  text-decoration: underline;
}

#footer .widget-title {
  color: #000;
  /* tytuły czarne */
  margin-bottom: .75rem;
  font-weight: 600;
}

#footer .footer-top {
  /* dodatkowe odstępy już w HTML (py-4), ale można doprecyzować tutaj */
}

#footer .footer-bottom {
  /* ma border-top; kolor dopasowany do czarnego z przezroczystością: */
  border-top: 1px solid rgba(0, 0, 0, .15) !important;
}

/* Drobne wyrównania na mobile */
@media (max-width: 575.98px) {
  #footer .footer-bottom .text-md-end {
    text-align: left !important;
    margin-top: .5rem;
  }
}


/* Środkowy widget w stopce */
#footer .footer-center-widget .btn-white {
  background: #fff;
  color: #000;
  text-decoration: none;
}

#footer .footer-center-widget .btn-white:hover,
#footer .footer-center-widget .btn-white:focus {
  background: #fff;
  color: #000;
  border-color: #8893aa;
  opacity: .9;
}

/* Białe ikony social na żółtym tle stopki */
#footer .footer-center-widget .social-icon {
  color: #fff !important;
  /* nadpisuje globalne linki w stopce */
  font-size: 20px;
  line-height: 1;
}

#footer .footer-center-widget .social-icon:hover,
#footer .footer-center-widget .social-icon:focus {
  opacity: .85;
  text-decoration: none;
}

#footer .footer-center-widget .social-icon i {
  vertical-align: middle;
}

.realizacje-details i {
  color: var(--yellow);
}


/* Przyciski filtrów – styl “primary” żółty */
.rlz-filter-btn {
  background: var(--white);
  color: var(--gray-dark);
  border: 2px solid var(--gray-dark);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 600;
  transition: all .2s ease;
}

.rlz-filter-btn:hover,
.rlz-filter-btn:focus {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--white);
}

.rlz-filter-btn.active {
  background: var(--yellow);
  color: var(--gray-dark);
  border-color: var(--yellow);
}

/* Kafle */
.rlz-card-wrap {
  /* kolumna – przerwy daje Bootstrap g-4/g-5 */
}

.rlz-card {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.rlz-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: none;
  transition: transform .4s ease;
}

.rlz-card__overlay {
  position: absolute;
  inset: 0;
  /* gradient od dołu, by białe napisy były czytelne */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .65) 100%);
}

.rlz-card:hover .rlz-card__bg {
  transform: scale(1.05);
}

.rlz-card__content {
  position: absolute;
  z-index: 2;
  padding: 16px;
}

/* Etykieta kategorii – lewy dół na żółtym tle */
.rlz-card__cat.badge {
  display: inline-block;
  background: var(--yellow);
  color:#fff !important;
  width: fit-content !important;
  padding: .35rem .6rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Tytuł – biały, większy, pogrubiony */
.rlz-card__title {
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* Drobne dostosowania responsywne */
@media (min-width: 992px) {
  .rlz-card {
    min-height: 360px;
  }
}

#menu-menu-stopka {
  margin-top: 30px;
list-style: none;
padding-left: 0;
margin-left: 15px;
}

#menu-menu-stopka li::before {
  content: '–';
  color: var(--text);
  display: inline-block;
  margin-right: 10px;
  font-size: 1.4rem;
}
#footer .menu-item a[aria-current=page],
#menu-menu-stopka li a {
    color: var(--text);
}


#menu-menu-stopka li a:focus,
#menu-menu-stopka li a:focus-visible
{
  color: var(--white);
}

#menu-menu-stopka li a:hover {
  text-decoration: underline;
}


/* HERO */
.on-hero.lp-hero {
  position: relative;
  min-height: clamp(320px, 50vh, 560px);
  display: grid;
  place-items: center;
  color: var(--text);
  text-align: center;
}
.on-hero__overlay {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.55);
}
.on-hero__inner { position: relative; z-index: 2; max-width: 980px; padding: 2rem; }
.on-hero h1 { color:var(--text); margin-bottom: .75rem; }
.on-hero .lead, .on-hero p { color:var(--text); }

/* Sekcja treści */
.on-section { padding: 64px 0; }
.on-section h2 { color: #000; margin-bottom: .75rem; }
.on-section .wysiwyg p { color:#000; }

/* Karty zespołu */
.on-cards { padding: 64px 0 90px; }
.on-card {
  background: #fff; border: 1px solid #e9edf3;
  border-radius: 16px; overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.on-card__media {
  position: relative; width: 100%;
  aspect-ratio: 1/1;
  background: #f5f7fb;
  overflow: hidden;
}
.on-card__media img { width: 100%; height: 100%; object-fit: cover; }
.on-card__name {
position: absolute;
left: 16px;
bottom: 16px;
margin: 0;
padding: .35rem .6rem .4rem;
background: rgba(0,0,0,.65);
color: #fff;
font-weight: 600;
font-size: 1.3rem;
text-shadow: 2px 2px 5px #000; border-radius: 10px;
}
.on-card__name::after {
  margin-bottom: 5px;
}
.on-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.on-card__desc { color:#000; margin: 0; }
.on-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.on-card__item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.on-ico { color:#fcce4c; }


.on-card__item .on-card__link {
  color: var(--text);
  font-weight: bold;
}

.on-card__item .on-card__link:hover {
  color: var(--yellow);
}
/* Siatka odstępy */
.on-grid { row-gap: 36px; }
@media (min-width: 992px) {
  .on-grid { row-gap: 48px; }
}


label {
  font-weight: bold;
}

.wpcf7-list-item-label  {
  font-weight: 300;
}
.wpcf7-form-control-wrap {
  margin-top: 5px;
  display: block;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
width: 100%;
border: 1px solid #eee;
border-radius: 5px;
padding: 5px 10px;
font-weight: 400;
color: var(--gray-dark);
}

input[type="checkbox"] {
  margin-right: 8px;
margin-top: 6px;
}

.wpcf7-list-item > label{
  display: flex;
}

.form-header {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}