:root{
  /* PALETA BRANDOWA */
  --bg:#e6e1d6;        /* jasne tło strony */
  --ink:#261818;       /* główny kolor tekstu */
  --muted:#731e16;     /* przytłumiony tekst / lead */
  --brand:#a62b0f;     /* kolor akcentu (przyciski/link hover) */
  --brand-ink:#bf754b; /* jaśniejszy wariant akcentu (ghost/hover) */
  --alt:#f0ece4;       /* alternatywne, bardzo jasne tło sekcji */
  --card:#ffffff;

  /* TYPOGRAFIA (wczytaj w functions.php: Inter + Playfair Display) */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius:16px;
  --shadow:0 8px 24px rgba(0,0,0,.08);

  /* Płynna typografia */
  --fs-h1: clamp(30px, 5vw, 44px);
  --fs-h2: clamp(22px, 3.8vw, 32px);
  --fs-body: clamp(15px, 2.7vw, 16px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font: var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}

/* === LINKI globalnie: ciemny, hover w kolorze marki === */
a{color:#261818;text-decoration:none}
a:hover{color:var(--brand);text-decoration:underline}

.container{width:min(1100px,92%);margin:auto}
.container-narrow{width:min(800px,92%)}

/* Nagłówki – Playfair: grube, czytelne */
h1, h2, h3, h4, h5, h6{
  font-family:var(--font-heading);
  font-weight:700;
  letter-spacing:.2px;
  color:var(--ink);
  margin-top:0;
  line-height:1.2;
  text-rendering:optimizeLegibility;
  font-kerning:normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings:"kern" 1, "liga" 1, "dlig" 0;
}
h1{font-size:var(--fs-h1)}
h2{font-size:var(--fs-h2)}
h3{font-size:clamp(18px, 3vw, 24px)}
h4,h5,h6{font-weight:700}

/* Header */
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #ddd3c4;z-index:50}
.header-row{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink)}
.logo-mark{background:var(--brand);color:#fff;border-radius:10px;padding:8px 10px}

/* Nawigacja (desktop domyślnie) */
.nav{display:block}
.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:18px}
.nav-list > li{position:relative}
.nav-list > li > a{color:#261818;font-weight:500}
/* Podkreślenie na hover tylko dla tekstu, nie dla strzałki */
.nav-list > li > a:hover{color:var(--brand); text-decoration: none;}
.nav-list > li > a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px; /* Opcjonalnie: cieńsze podkreślenie */
}

/* Dropdown – podstawy */
.nav-list .sub-menu{
  display:none;
  position:absolute; top:100%; left:0;
  background:#fff; border:1px solid #e0d9ce; border-radius:12px;
  box-shadow:0 12px 24px rgba(0,0,0,.08);
  padding:8px; min-width:220px; z-index:1000;
}
.nav-list .sub-menu li{display:block}
.nav-list .sub-menu a{
  display:block; padding:8px 12px; white-space:nowrap; border-radius:8px; color:#261818;
}
.nav-list .sub-menu a:hover{background:#f6f1e9; text-decoration:none; color:var(--brand)}

/* Strzałka przy elemencie-rodzicu (desktop) */
@media (min-width:901px){
  .nav-list li.menu-item-has-children:hover > .sub-menu{display:block}
  .nav-list li.menu-item-has-children > a[href="#"]{pointer-events:none}
}

/* CTA w headerze */
.header-cta{display:flex;align-items:center;gap:12px}

/* Przycisk – Inter */
.btn{
  display:inline-block;border-radius:999px;padding:12px 18px;
  border:1px solid var(--brand);background:var(--brand);color:#fff;
  font-family:var(--font-body); font-weight:600; box-shadow:var(--shadow); min-height:44px;
  transition:transform .15s ease;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover{
  transform:translateY(-1px);
  background-color: var(--brand-ink); /* Jaśniejszy wariant tła */
  color: var(--ink); /* Ciemniejszy tekst */
}
.btn-ghost{background:transparent;color:var(--brand);border:1px solid var(--brand-ink)}
.btn-lg{padding:14px 22px}
.btn-sm{padding:8px 14px}
.btn-block{display:block;text-align:center;width:100%}

/* Telefon (link) – w kolorze linków */
.tel{color:#261818;font-weight:700}

/* Sekcje */
.section{padding:56px 0}
/* Poprawka dla anchor links i sticky header */
section[id] {
  scroll-margin-top: 80px;
}

.section-alt{background:var(--alt)}

/* KONTAKT – ciemne tło i jasne linki */
.section-cta{
  position: relative;
  background-color: #261818;
  background-size: cover;
  background-position: center;
  color: var(--alt);
}
.section-cta::before {
  content: ''; position: absolute; inset: 0;
  background-color: #000; opacity: var(--contact-overlay-opacity, 0);
}
.section-cta a{color: var(--alt)}
.section-cta a:hover{opacity:.85; text-decoration:underline}

/* === POPRAWKA: nagłówek w sekcji KONTAKT === */
.section-cta h1,
.section-cta h2,
.section-cta h3,
.section-cta h4,
.section-cta h5,
.section-cta h6 {
  color: var(--alt);
}

/* Poprawka układu siatki kontaktowej */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; position: relative; z-index: 1;
}

/* === Stylizacja formularza w sekcji CTA === */
.section-cta .wpcf7-form {
  text-align: left;
  margin: 0; /* Resetowanie marginesu, aby nie centrować */
}
.section-cta .wpcf7-form p {
  margin: 0 0 16px;
}
.section-cta .wpcf7-form label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.85);
}

/* Pola tekstowe i textarea */
.section-cta .wpcf7-form input:not([type="submit"]),
.section-cta .wpcf7-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: #fff;
  background-color: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section-cta .wpcf7-form input:not([type="submit"]) { height: 48px; }
.section-cta .wpcf7-form textarea { min-height: 110px; resize: vertical; }

/* Stan :focus dla pól */
.section-cta .wpcf7-form input:not([type="submit"]):focus,
.section-cta .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--brand-ink);
  box-shadow: 0 0 0 3px rgba(191, 117, 75, .25);
}

/* Placeholder */
.section-cta .wpcf7-form ::placeholder { color: rgba(255,255,255,.4); opacity: 1; }

/* Przycisk Wyślij */
.section-cta .wpcf7-form input[type="submit"] {
  display: block; width: 100%; height: 50px; margin-top: 8px;
  background-color: var(--brand); color: #fff; border: none;
  border-radius: 12px; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.section-cta .wpcf7-form input[type="submit"]:hover {
  background-color: var(--brand-ink);
  transform: translateY(-1px);
}

/* Komunikaty o błędach i po wysłaniu */
.section-cta .wpcf7-not-valid-tip { color: var(--brand-ink); font-size: 14px; margin-top: 6px; }
.section-cta .wpcf7-form .wpcf7-not-valid { border-color: var(--brand-ink) !important; }
.section-cta .wpcf7-response-output { border-color: rgba(255,255,255,.3); }

/* Hero */
.hero{background:linear-gradient(180deg,#efe9de,transparent)}
.hero-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px;padding:48px 0;align-items:center}
.hero-copy h1{font-size:var(--fs-h1);line-height:1.15;margin:0 0 10px}
.lead{color:var(--muted)}
.hero-photo img{width:100%;height:auto;border-radius:12px;object-fit:cover}
.photo-placeholder{
  background:#efe7dc;border:1px dashed #d6c6b5;border-radius:12px;
  min-height:260px;display:flex;align-items:center;justify-content:center;
  color:#5a3a2f;padding:20px
}

/* Karty, siatki, treści */
.card{
  background:var(--card);border:1px solid #e0d9ce;border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);
  /* Automatyczne dzielenie długich słów */
  overflow-wrap: break-word;
  -webkit-hyphens: auto; /* Safari */
  hyphens: auto; /* Standard */
  -webkit-hyphenate-limit-char: 6; /* Opcjonalnie: nie dziel zbyt krótkich słów */
}
.cards .card h3{margin-top:0}

/* Poprawka cienia pod zaokrąglonymi obrazkami w karcie */
.card.post {
  overflow: hidden;
}

/* Tytuły kart i postów — kontrast i hover */
.cards .card h3 a,
.posts-list .post-row h2 a{
  color:#261818;
  font-weight:700;
  line-height:1.2;
}
.cards .card h3 a:hover,
.posts-list .post-row h2 a:hover{color:var(--brand)}

/* Odstęp dla linku "Czytaj ->" w karcie wpisu */
.card .link {
  display: inline-block; /* Zapewnia, że margines zadziała poprawnie */
  margin-bottom: 8px;
}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-3{grid-template-columns:repeat(auto-fit, minmax(240px,1fr))}

/* Karuzela wpisów na stronie głównej */
.posts-slider { position: relative; }
.posts-slider-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-slider-nav, .posts-slider-dots { display: none; } /* Ukryte na desktopie */

@media (max-width: 900px) {
  .posts-slider { overflow: hidden; }
  .posts-slider-track {
    display: flex; /* Zmiana na flex dla karuzeli */
    gap: 0;
    transition: transform .4s ease-in-out;
  }
  .posts-slider-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px; /* Drobny padding po bokach */
  }
  .posts-slider-nav {
    display: none; /* Ukrywamy strzałki na mobile/tablet */
  }
  .posts-slider-arrow {
    pointer-events: all;
    background: transparent; border: none; cursor: pointer;
    color: var(--brand); opacity: .7;
    padding: 8px;
  }
}
@media (max-width: 900px) {
  .posts-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }
  .posts-slider-dots button {
    padding: 0;
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.15);
    cursor: pointer;
    transition: background-color .2s;
  }
  .posts-slider-dots button[aria-current="true"] {
    background-color: var(--brand);
  }
  .card.post a:first-child img { margin: -20px -20px 12px -20px; width: calc(100% + 40px); max-width: calc(100% + 40px); }
}


.quote{font-style:italic}
.price-table{display:grid;gap:10px}
.price-row{
  display:flex;justify-content:space-between;background:#fff;
  border:1px solid #d6cfc3;border-radius:12px;padding:12px 16px
}

/* Lista postów */
.posts-list{display:grid;gap:20px}
.post-row{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:start}
.featured{border-radius:12px;margin:14px 0}

.center{text-align:center}
.mt{margin-top:16px}

/* Sekcja: W czym mogę Ci pomóc */
.help-list{
  list-style:none; padding:0; margin:32px 0 0;
  display:grid; gap:14px;
}
.help-list li{
  position:relative; padding-left:28px; line-height:1.5; color:var(--ink);
}
.help-list li::before{
  content:"✦"; position:absolute; left:0; top:0; color:var(--brand); font-weight:700;
}

/* Wyśrodkowanie listy */
.help-list { text-align: center; }
.help-list li { display: inline-block; text-align: left; }

/* Sekcja: Jak pracuję? */
.section-work-process {
  background-color: var(--muted); /* #731e16 */
  color: #f9f6f2;
  padding-bottom: 86px;
}
.section-work-process h2,
.section-work-process h3 {
  color: #f9f6f2;
}
.section-work-process .lead {
  color: rgba(249, 246, 242, 0.85);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.work-process-grid {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}
.work-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}
.work-step-number {
  font-family: var(--font-heading);
  font-size: clamp(80px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  color: #f9f6f2;
  opacity: 0.5;
  text-align: right;
}
.work-step-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.work-step-content p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: var(--fs-body);
}

/* Stopka – typografia i layout */
.site-footer{
  background:var(--ink);
  color:var(--bg);
  padding:40px 0 24px;
  font-size: clamp(14px, 2.5vw, 15px);
}
.footer-bottom{
  margin-top:24px;
  padding-top:16px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.6);
}
.footer-nav{list-style:none;margin:0;padding:0;display:grid;gap:8px}

/* 1) wymuś Inter w całej stopce */
.site-footer,
.site-footer *{ font-family:var(--font-body) !important; }

/* 2) trzy kolumny w jednej linii (Instagram | Kontakt | Nawigacja) */
.site-footer .container,
.site-footer .container-narrow,
.site-footer .wp-block-group{
  display:flex; gap:40px; align-items:flex-start; flex-wrap:wrap;
}
.site-footer .container > *,
.site-footer .container-narrow > *,
.site-footer .wp-block-group > *{
  flex:1 1 0; min-width:220px;
}

/* 3) nagłówki kolumn + „Instagram →” wyglądają tak samo */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .ig-line,
.site-footer .ig{
  font-weight:700; font-size:18px; line-height:1.3;
  margin:0 0 10px; letter-spacing:0; color: #fff;
}

/* 4) linki w stopce – spójne kolory */
.site-footer a{ color:var(--bg); text-decoration:none; }
.site-footer a:hover{ color:var(--brand); text-decoration:underline; }

/* 5) listy w kolumnie nawigacji – ładniejsze odstępy */
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer ul li{ margin:0 0 10px; }

/* 6) drobne: usuń przypadkowe dodatkowe marginesy pierwszych akapitów */
.site-footer p:first-child{ margin-top:0; }

/* Dostępność – elementy tylko dla screen readerów */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Hamburger (ukryty na desktopie) */
.nav-toggle{display:none;border:0;background:transparent;cursor:pointer;padding:8px;margin-left:auto}
.nav-toggle-bar{display:block;width:26px;height:2px;background:var(--ink);position:relative;box-shadow:0 8px var(--ink), 0 -8px var(--ink)}
.section-cta .nav-toggle-bar{background:#fff;box-shadow:0 8px #fff, 0 -8px #fff}

/* Preferencje ruchu – skrócenie/wyłączenie animacji */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important}
}

/* Mobile / tablet */
@media (max-width:900px){
  .nav-toggle{display:block}
  .nav{
    display:none;
    position:absolute;
    top:100%; left:0; right:0; /* Zaczynaj zawsze pod nagłówkiem */
    background:var(--header-solid-bg);
    border-bottom:1px solid rgba(0,0,0,.06);
    box-shadow:0 10px 20px rgba(0,0,0,.05);
    /* EFEKT SZKŁA - to jest kluczowa, brakująca część */
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
  }
  .nav.open{display:block}
  .nav-list{display:flex;flex-direction:column;gap:12px;padding:12px 20px}
  .header-cta{display:none}

  /* Submenu – mobile */
  .nav-list .sub-menu{
    position:static; display:none; padding:6px 0 6px 12px;
    border:none; box-shadow:none; min-width:auto;
    /* Tło z efektem szkła dla podmenu */
    background: rgba(240, 236, 228, 0.5); /* Jaśniejszy beż, żeby odróżnić od głównego tła */
    margin: 6px -20px -6px; /* Rozciągnij na całą szerokość */
    padding: 12px 20px 12px 32px; /* Dopasuj padding */
    border-radius: 12px;
  }
  .nav-list li.open-sub > .sub-menu{display:block}

  /* Zawijanie tekstu w podmenu na mobile */
  .nav-list .sub-menu a {
    white-space: normal; /* Pozwól na zawijanie tekstu */
    line-height: 1.4;    /* Lepszy odstęp między liniami */
    padding-top: 10px;   /* Drobne poprawki w paddingu */
    padding-bottom: 10px;
  }
  /* Strzałka przy elemencie-rodzicu (mobile) */
  .nav-list li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-list li.menu-item-has-children > a::after {
    content: "›";
    font-size: 1.5em;
    font-weight: 700;
    color: var(--brand-ink);
    transition: transform .2s ease;
  }
  /* Obrót strzałki po otwarciu */
  .nav-list li.open-sub > a::after {
    transform: rotate(90deg);
  }

  .section{padding:32px 0}
  .hero-inner{grid-template-columns:1fr;gap:20px;padding:28px 0}
  .lead{font-size:clamp(14px, 3.8vw, 18px)}
  .post-row,.contact-grid{grid-template-columns:1fr}

  /* Sekcja: Jak pracuję? (mobile) */
  .work-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .work-step-number { text-align: center; }

}

/* responsywność stopki — kolumny jedna pod drugą na bardzo wąskich ekranach */
@media (max-width:700px){
  .site-footer .container,
  .site-footer .container-narrow,
  .site-footer .wp-block-group{
    flex-direction:column; 
    gap:24px;
  }
} /* ← tu zamykamy media-query */

/* --- Stylizacja kart z wpisami na blogu --- */
.card.post a:first-child img {
  border-radius: 12px;
  margin-bottom: 12px; /* Odstęp od tytułu */
}

.hero-fullscreen{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 3vw, 40px);
  color: #fff;
}

.hero-fullscreen .hero-overlay{
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--hf-overlay, .45);
  pointer-events: none;
}

.hero-fullscreen .hero-content{
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.hero-fullscreen .hero-content h1{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .6em;
  font-size: clamp(36px, 6vw, 72px);
  color: #fff;
}

.hero-fullscreen .hero-content p{
  font-family: var(--font-body);
  margin: 0 0 1.4rem;
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,.92);
}

.hero-fullscreen .btn{ box-shadow: var(--shadow); }

.hero-fullscreen .hero-scroll{
  position: absolute;
  bottom: 40px; /* Odstęp od dołu ekranu */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  margin-top: 0; /* Resetujemy margines */
}

.hero-fullscreen .arrow-down{
  width: 18px; height: 18px;
  border-left: 2px solid rgba(255,255,255,.9);
  border-bottom: 2px solid rgba(255,255,255,.9);
  transform: rotate(-45deg);
  display: inline-block;
  animation: hf-bounce 2s infinite;
}

@keyframes hf-bounce{
  0%,100% { transform: translateY(0) rotate(-45deg); }
  50%     { transform: translateY(8px) rotate(-45deg); }
}

@media (max-width: 900px){
  .hero-fullscreen{ padding: 20px; }
  .hero-fullscreen .hero-content h1{ font-size: clamp(32px, 9vw, 56px); }
}

/* Transparent header nad hero-fullscreen */
.site-header.header-transparent{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  z-index: 60;
  transition:
    background-color .5s ease,
    border-color .5s ease,
    backdrop-filter .5s ease,
    -webkit-backdrop-filter .5s ease,
    box-shadow .5s ease;
}

/* kolory elementów na zdjęciu */
.site-header.header-transparent .logo,
.site-header.header-transparent .nav-list > li > a,
.site-header.header-transparent .tel{ color:#fff; }
.site-header.header-transparent .nav-toggle-bar{
  background:#fff;
  box-shadow: 0 8px #fff, 0 -8px #fff;
}

/* stan po scrollu – „szkło” */
:root{ --header-solid-bg: rgba(230,225,214,.82); } /* kremowy */
.site-header.header-transparent.header-solid{
  background: var(--header-solid-bg) !important;
  border-bottom-color: rgba(0,0,0,.06) !important;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.site-header.header-transparent.header-solid .logo,
.site-header.header-transparent.header-solid .nav-list > li > a,
.site-header.header-transparent.header-solid .tel{ color:#261818; }
.site-header.header-transparent.header-solid .nav-toggle-bar{
  background:#261818;
  box-shadow: 0 8px #261818, 0 -8px #261818;
}

/* Półprzezroczyste menu na podstronach */
body:not(.home) .site-header {
  position: sticky !important;
  top: 0;
  background: var(--header-solid-bg) !important;
  border-bottom-color: rgba(0,0,0,.06) !important;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  z-index: 60;
}

/* ============================
   SEKCJA OPINIE
   ============================ */
.section-testimonials {
  background-color: #731e16;
  color: #fff;
}
.section-testimonials h2 {
  color: #f0ece4;
  margin-bottom: 8px;
}
.section-testimonials .lead {
  color: #f0ece4;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.testimonials-slider {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  background: #e6e1d6;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  text-align: center;
}

.testimonials-track {
  display: flex;
  transition: transform .5s ease-in-out;
}

.testimonial-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 0 12px; /* Drobny padding, jeśli tekst jest bardzo szeroki */
}

/* Ukrywamy overflow na głównym kontenerze slidera */
.testimonials-slider {
  overflow: hidden;
  padding: 48px 0; /* Zmieniamy padding, bo strzałki są na zewnątrz */
}


.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 24px;
  padding: 0;
}
.testimonial-text p { margin: 0 0 1em; }
.testimonial-text p:last-child { margin-bottom: 0; }

.testimonial-author {
  font-style: normal;
  font-weight: 600;
}
.testimonial-author .author-role {
  display: block;
  font-weight: 400;
  font-size: 14px;
  opacity: .7;
  margin-top: 2px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 24px; right: 24px; /* Przesuwamy do środka */
  transform: translateY(-50%); /* Wyśrodkowanie w pionie pozostaje */
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* Klikamy tylko w przyciski */
}
.testimonial-arrow {
  pointer-events: all;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color .2s, transform .2s;
}
.testimonial-arrow:hover {
  background-color: #fdfaf7;
  transform: scale(1.05);
}
.testimonial-arrow:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 2px;
}

/* Nawigacja kropkami */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.testimonial-dots button {
  padding: 0;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.15);
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.testimonial-dots button:hover {
  background-color: rgba(0,0,0,.3);
  transform: scale(1.1);
}
.testimonial-dots button[aria-current="true"] {
  background-color: var(--brand-ink);
}

/* Responsywność opinii */
@media (max-width: 1024px) {
  .testimonials-slider { padding: 32px 0; }
  .testimonial-nav { left: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .testimonials-slider { padding: 48px 0 24px; }
  .testimonial-nav {
    top: 50%;
    transform: translateY(-50%);
    left: 4px; right: 4px;
  }
  .testimonial-arrow {
    background: transparent;
    box-shadow: none;
    width: 36px;
    height: 36px;
    color: var(--brand-ink);
    opacity: .8;
  }
  .testimonial-slide { padding: 0 24px; }
}

/* ============================
   SEKCJA FAQ
   ============================ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-item {
  background: var(--card);
  border: 1px solid #e0d9ce;
  border-radius: 12px;
  padding: 4px 20px;
  transition: background-color .2s;
}
.faq-item[open] {
  background-color: #fff;
}

.faq-question {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Usuwa domyślną strzałkę */
  position: relative;
  padding-right: 30px; /* Miejsce na ikonę '+' */
}
.faq-question::-webkit-details-marker { display: none; } /* Chrome/Safari */

/* Własna ikona '+' / '-' */
.faq-question::after {  
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .3s ease;
}
.faq-item[open] > .faq-question::after {
  transform: translateY(-50%) rotate(225deg);
}

.faq-answer {
  overflow: hidden;
  transition: max-height .5s cubic-bezier(0.23, 1, 0.32, 1);
  max-height: 0;
}
.faq-answer-content {
  padding: 0 0 20px;
  line-height: 1.7;
}
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Animacja dla JS */
.faq-item.is-opening .faq-answer,
.faq-item.is-closing .faq-answer {
  max-height: var(--faq-answer-height, 0);
}
