html, body {
    font-family: "Rethink Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #222;
    background: #fff;
}
a, .foto-box, .hover-box, .foto-box:hover .hover-box {
  
  transition: all ease-in-out 0.2s;
}
a:hover {
  color: #022727;
}
strong {
  font-weight: 700;
}
.special-hed .site-tagline {
  font-size: 14px !important;
}
.special-hed .logo-prosto {
  height: 70px;
  width: 70px;
}
.special-hed br {
  display: none;
}
.special-hed .items-end {
  align-items: center;
}
.special-hed .pt-2 {
  font-size: 10px !important;
  padding-top: 4px;
}
.special-hed .top-menu {
  display: none;
}
.special-hed .menu-main {
  border-top: 0;
  padding: 0;
  align-items: center;
  display: flex;
  height: 100%;
}
.wpcf7-text {
  margin: 0 0 5px 0;
  padding: 15px !important;
  color: #222;
  width: 100% !important;
}
input::placeholder {
font-weight: bold;
opacity: 0.5;
color: #022727 !important;
}
.wpcf7-textarea {
  color: #222;
  width: 100% !important;
}
.wpcf7-submit {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  padding: 20px;
  background: #022727;
}
.box-content p {
    padding-bottom: 1rem;
}
#modal {
  z-index: 50;
  display: none;
}
#modal:not(.hidden) {
  display: flex;
}
.form-input {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
}
.additional-session p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* Podstrony: na telefonie zdjęcie w tle ma sięgać pod tytuł (pt-112), bez białej przerwy */
@media (max-width: 767px) {
  section.absolute.photo img {
    height: 32rem;
    object-fit: cover;
  }
}

/* Strona główna: H1 na zdjęciu hero */
.hero-title {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 2.75rem;
  padding: 0 1.5rem;
  pointer-events: none;
}
.hero-title h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.6rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
  max-width: 42rem;
}
.hero-title h1 span {
  display: block;
  font-weight: 400;
  font-size: .5em;
  margin-top: .6rem;
}
@media (min-width: 1024px) {
  .hero-title {
    bottom: auto;
    top: 38%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

/* Etap 4: przyciski */
.btn-cta {
  display: inline-block;
  padding: .9rem 1.6rem;
  background: #C5A880;
  color: #1a1a1a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: .95rem;
  border: 2px solid #C5A880;
}
.btn-cta:hover { background: #fff; border-color: #fff; color: #1a1a1a; }
.btn-cta--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-cta--ghost:hover { background: #fff; color: #1a1a1a; }
.btn-cta--dark { background: #022727; border-color: #022727; color: #fff; }
.btn-cta--dark:hover { background: #fff; color: #022727; border-color: #022727; }
.btn-cta:focus-visible, .mobile-cta__btn:focus-visible, .hello-more summary:focus-visible { outline: 3px solid #C5A880; outline-offset: 3px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; pointer-events: auto; }
@media (max-width: 767px) {
  .hero-cta .btn-cta { padding: .7rem 1rem; font-size: .8rem; }
  .hero-cta .btn-cta--ghost { display: none; }
}

/* „Cześć” – rozwijana reszta tekstu */
.hello-more summary {
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  margin: .5rem 0 1rem;
  list-style: none;
}
.hello-more summary::-webkit-details-marker { display: none; }
.hello-more[open] summary { display: none; }

/* Portfolio */
#portfolio, #formularz, #opinie { scroll-margin-top: 90px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }
.portfolio-item { display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.portfolio-item:hover img { transform: scale(1.04); }

/* Opinie */
.opinie-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .opinie-grid { grid-template-columns: repeat(3, 1fr); } }
.opinia { background: #E2D1C3; padding: 2rem; margin: 0; }
.opinia blockquote { font-size: 1.1rem; line-height: 1.5; margin: 0 0 1rem; }
.opinia figcaption { font-size: .95rem; }

/* Cena „od” na kafelkach oferty */
.tile-price {
  position: absolute;
  z-index: 10;
  top: 1.25rem;
  left: 2.5rem;
  background: rgba(255, 255, 255, .92);
  color: #1a1a1a;
  font-size: .85rem;
  font-weight: 700;
  padding: .3rem .7rem;
}

/* Formularz */
.wpcf7-select, .wpcf7-date {
  margin: 0 0 5px 0;
  padding: 15px !important;
  color: #222;
  width: 100% !important;
  background: #fff;
}
.form-label { display: block; font-size: .9rem; margin: .5rem 0 .25rem; }

/* Pasek kontaktu na telefonie */
.mobile-cta { display: none; }
@media (max-width: 1023px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    background: #022727;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta__btn {
    flex: 1;
    text-align: center;
    padding: 1rem .5rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .9rem;
  }
  .mobile-cta__btn--main { background: #C5A880; color: #1a1a1a; }
  .mobile-cta__btn:hover { color: inherit; }
  body { padding-bottom: 56px; }
  #smartsupp-widget-container > div { bottom: 72px !important; }
  .cky-btn-revisit-wrapper { bottom: 70px !important; }
}

/* Etap 5: podstrony ofert */
.offer-lead { margin: .5rem 0 1.5rem; text-align: left; }
.offer-lead__price { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.offer-lead__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.offer-lead__link { font-weight: 700; text-decoration: underline; }
#cennik, #galeria { scroll-margin-top: 90px; }
.gallery-extra { display: none !important; }
.gallery-open .gallery-extra { display: block !important; }
.faq-list { max-width: 56rem; margin: 0 auto; }
.faq-item { border: 1px solid #C5A880; margin-bottom: .5rem; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1rem 2.5rem 1rem 1.25rem; font-weight: 600; background: #E2D1C3; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 3px solid #C5A880; outline-offset: 2px; }
.faq-item p { padding: 1rem 1.25rem; margin: 0; }

/* Etap 6: lokalne fonty, kontrast, nagłówek, stopka */
/* Rethink Sans – lokalnie (wcześniej z Google Fonts) */
@font-face {
  font-family: 'Rethink Sans';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/rethink-sans-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rethink Sans';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/rethink-sans-italic-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: 'Rethink Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/rethink-sans-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rethink Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/rethink-sans-normal-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;
}

/* Złoty jako kolor tekstu na jasnym tle: #85663C (5,3:1), tła i ramki zostają #C5A880 */
.text-pz-3-co { color: #85663C; }
button.bg-pz-3-co { color: #1a1a1a; }
button.bg-pz-3-co:hover { color: #fff; }

/* Menu „Oferta” rozwija się też z klawiatury */
li.group:focus-within > ul.hidden { display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #C5A880; outline-offset: 3px; }

/* Mniejsze logo na telefonie, żeby nie zasłaniało zdjęcia */
@media (max-width: 767px) {
  .logo-prosto { width: 72px; height: 72px; }
}

/* Stopka */
.footer-cols { gap: 2rem; }
.footer-title { font-weight: 700; font-size: 1rem; padding-bottom: 1rem; }
.footer-cta { display: inline-block; font-weight: 800; text-transform: uppercase; font-size: .85rem; padding: .6rem 1rem; background: #022727; color: #fff; }
.footer-cta:hover { background: #C5A880; color: #1a1a1a; }
.footer-bottom { border-top: 1px solid #e5e5e5; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: #555; }
