/* ============================
   1. FONTY
   ============================ */

/* Hillonest  podpis/logo */
@font-face {
  font-family: 'Hillonest Signature';
  src: url('HillonestSignature.woff2') format('woff2'),
       url('HillonestSignature.woff') format('woff'),
       url('HillonestSignature.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Imprint MT Shadow  naglwki i tagline */
@font-face {
  font-family: 'Imprint MT Shadow';
  src: url('ImprintMTShadow.woff2') format('woff2'),
       url('ImprintMTShadow.woff') format('woff'),
       url('ImprintMTShadow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================
   2. ZMIENNE I RESET
   ============================ */

:root {
  --paper:#e8dcc6;
  --paper-2:#efe5d2;
  --ink:#3b2c1a;
  --muted:#6e5941;
  --accent:#b08968;
  --accent-2:#8c6a4f;
  --edge:#d7c6ac;
  --gold:#bfa56a;
  --radius:14px;
  --shadow:0 10px 22px rgba(60,45,28,.16);
  --focus:#2f261a;
  --container-max:1120px;
  --header-height:72px;
}

/* Reset / base */
* { box-sizing:border-box; }

html,
body {
  margin:0;
  padding:0;
  background:var(--paper);
  color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  line-height:1.55;
  scroll-behavior:smooth;
}

a {
  color:var(--ink);
  text-decoration:none;
}

img {
  max-width:100%;
  display:block;
  height:auto;
}

/* Dostepnosc */
.visually-hidden {
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden;
}

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline:3px solid rgba(191,165,106,0.18);
  outline-offset:4px;
  border-radius:8px;
}

/* Layout */
.container {
  width:92%;
  max-width:var(--container-max);
  margin:0 auto;
}

section {
  padding:2.6rem 0;
  scroll-margin-top:84px;
}

h1,h2,h3 {
  margin:.2rem 0 1rem;
}

/* ============================
   3. HEADER I NAWIGACJA
   ============================ */

header {
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(180deg, rgba(239,229,210,0.96), rgba(239,229,210,0.90));
  backdrop-filter:saturate(120%) blur(6px);
  border-bottom:1px solid rgba(151,122,82,0.12);
  --header-height:72px;
}

.nav-grid {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:1rem;
  padding:.7rem 0;
}

.nav-left { justify-self:start; }

/* Logo tekstowe */
.brand {
  grid-column:2;
  justify-self:center;
  text-align:center;
  font-family:'Hillonest Signature',cursive;
  font-weight:400;
  font-size:clamp(2rem,6vw,3.2rem);
  letter-spacing:0.06em;
  margin:0 auto;
  background:linear-gradient(90deg, rgba(191,165,106,0.98) 0%, rgba(255,255,255,0.85) 45%, rgba(191,165,106,0.98) 100%);
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 1px 2px rgba(60,45,28,0.12);
  animation:shimmer 8s linear infinite;
}

/* delikatny cien pod podpisem */
.brand::after {
  content:"";
  position:absolute;
  left:6%;
  right:6%;
  bottom:-8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(191,165,106,0.14),
                                   rgba(191,165,106,0.28),
                                   rgba(191,165,106,0.14));
  filter:blur(2px);
  transform-origin:center;
  pointer-events:none;
  opacity:0.95;
}

/* Podpis pod logo */
.brand-sub {
  font-family:'Imprint MT Shadow',serif;
  display:block;
  margin:0.25rem auto 0;
  font-weight:500;
  font-size:1.25rem;
  color:#5a4729;
  text-align:center;
  letter-spacing:0.02em;
  text-shadow:0 1px 1px rgba(0,0,0,0.18),
               0 2px 3px rgba(60,40,20,0.12);
}

/* Menu  desktop */
.menu {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:1.2rem;
  white-space:nowrap;
  justify-self:end;
}

.menu a {
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  font-size:1rem;
  font-weight:600;
  letter-spacing:0.02em;
  padding:0.25rem 0;
  color:var(--gold);
  position:relative;
  transition:color .15s ease, opacity .2s ease, transform .12s ease;
  text-decoration:none !important;
}

/* Bez jakichkolwiek podkreslen / paskw */
.menu a::before,
.menu a::after {
  content:none !important;
  display:none !important;
}

/* Hover  tylko delikatne rozjasnienie */
.menu a:hover {
  color:#8f7840;
  opacity:.85;
  transform:translateY(-1px);
}

/* Przyciski w menu */
.menu .btn {
  font-family:inherit;
  font-size:0.98rem;
  font-weight:700;
  padding:.36rem .9rem;
  border-radius:999px;
  background:linear-gradient(180deg,#fff9ec,#f6e8c9);
  color:#271b12;
  border:2px solid rgba(120,90,40,0.28);
  box-shadow:0 8px 20px rgba(120,90,40,0.08),
             inset 0 1px 0 rgba(255,255,255,0.6);
  transition:transform .12s ease,
             box-shadow .18s ease,
             filter .18s ease;
}

.menu .btn:hover {
  transform:translateY(-2px);
  filter:brightness(1.03);
  box-shadow:0 14px 34px rgba(120,90,40,0.12),
             inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Przycisk oglny */
.btn {
  display:inline-block;
  padding:.6rem .95rem;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  border:0;
  box-shadow:var(--shadow);
  transition:transform .08s ease;
}

.btn:hover { transform:translateY(-1px); }
.btn.alt { background:var(--accent-2); }

/* Toggle mobilny */
.nav-toggle {
  display:none;
  background:transparent;
  border:0;
  color:var(--ink);
  cursor:pointer;
}

/* Scroll reveal menu (lekki efekt) */
.nav-grid .menu {
  transition:transform .45s cubic-bezier(.2,.9,.2,1),
             opacity .35s ease,
             filter .25s ease;
  transform:translateY(-6px);
  opacity:0.92;
}

.nav-grid.scrolled .menu {
  transform:translateY(0);
  opacity:1;
  filter:brightness(1.02);
}

/* ============================
   4. HERO, LOGO, TAGLINE
   ============================ */

.hero {
  position:relative;
  min-height:56vh;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
  margin-top:-75px;
  background:
    radial-gradient(80% 60% at 50% 10%, #f3ead8 0%, transparent 70%),
    var(--paper);
  border-bottom:1px solid rgba(151,122,82,0.06);
  padding:2rem 0;
  padding-top:calc(var(--header-height,72px) + 1rem);
}

.hero::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(50% 40% at 50% 0%,
                             rgba(191,165,106,.16),
                             transparent 60%);
  mix-blend-mode:multiply;
}

.hero-inner {
  position:relative;
  z-index:1;
  padding:1.4rem 0;
}

/* Ramka na logo */
.logo-frame {
  width:82%;
  max-width:780px;
  aspect-ratio:2 / 1;
  margin:0 auto 1rem auto;
  padding:6px;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(60,45,28,.10);
  position:relative;
  --logo-pos:55%;
  background-image:linear-gradient(
    90deg,
    rgba(191,165,106,0.98) 0%,
    rgba(255,255,255,0.85) 45%,
    rgba(191,165,106,0.98) 100%
  );
  background-size:180% 100%;
  animation:gold-shimmer 8s linear infinite;
  transition:box-shadow .28s ease, transform .2s ease;
}

.logo-inner {
  width:100%;
  height:100%;
  border-radius:10px;
  overflow:hidden;
  background:var(--paper);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.35);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:box-shadow .25s ease, transform .2s ease;
}

.logo-img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center var(--logo-pos);
  border-radius:6px;
  transform:translateZ(0);
}

.logo-frame:hover {
  box-shadow:0 18px 36px rgba(191,165,106,0.12);
  transform:translateY(-2px);
}

.logo-frame:hover .logo-inner {
  box-shadow:inset 0 8px 30px rgba(255,245,210,0.06);
}

/* Tekst pod logo */
.tagline {
  max-width:60ch;
  margin:.6rem auto .4rem;
  font-size:clamp(1rem,2.4vw,1.08rem);
  color:#54422c;
  font-family:'Imprint MT Shadow',serif;
  letter-spacing:0.03em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

.quote {
  margin:.3rem auto 1.2rem;
  font-style:italic;
  color:#5f4d34;
  border-left:3px solid rgba(176,137,104,.45);
  padding:.5rem .9rem;
  display:inline-block;
  background:rgba(255,255,255,.45);
  border-radius:10px;
}

/* Podpis Marta */
.signature {
  margin:1rem auto 0;
  display:inline-block;
  position:relative;
  font-family:'Great Vibes',cursive;
  font-size:clamp(1.6rem,3.2vw,2.2rem);
  color:var(--ink);
  line-height:1;
  z-index:2;
}

.signature .underline {
  position:absolute;
  left:8px;
  right:8px;
  bottom:-8px;
  height:3px;
  background:linear-gradient(90deg,var(--gold),
                                   rgba(191,165,106,0.7));
  border-radius:4px;
  transform-origin:left;
  transform:scaleX(0);
  transition:transform .9s cubic-bezier(.2,.9,.2,1) .9s;
}

.signature.reveal-sig .underline {
  transform:scaleX(1);
}

/* ============================
   5. KARTY, GRID, SLIDER
   ============================ */

/* Oglne karty */
.card {
  background:var(--paper-2);
  border:1px solid rgba(151,122,82,0.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1rem;
  transition:transform .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(60,45,28,.12);
}

/* Ramka zlota dla kart */
.card.with-gold {
  border-image:linear-gradient(
    90deg,
    rgba(191,165,106,0.0),
    rgba(191,165,106,0.28),
    rgba(191,165,106,0.0)
  ) 1;
  box-shadow:0 10px 28px rgba(191,165,106,0.06), var(--shadow);
}

/* Gridy */
.grid { display:grid; gap:1rem; }
@media (min-width:720px){ .grid-2{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:980px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }

/* Lista uslug */
.services {
  list-style:none;
  padding-left:0;
  margin:0;
}
.services li {
  padding:.5rem .75rem;
  border-bottom:1px dashed rgba(151,122,82,0.08);
  color:var(--muted);
}
.services li:last-child { border-bottom:0; }

/* Przed / po (before-after) */
.ba-card {
  background:var(--paper-2);
  border-radius:var(--radius);
  overflow:visible !important;
  border:1px solid rgba(151,122,82,0.06);
  box-shadow:var(--shadow);
}

.ba-grid {
  display:grid;
  gap:1rem;
  grid-template-columns:1fr;
}
@media (min-width:720px){ .ba-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1080px){ .ba-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){
  .ba-card {
    aspect-ratio: auto;
    height: auto;
  }
}
.ba {
  position:relative;
  aspect-ratio:4/3;
  overflow:visible;
  background:#d9c8ae;
}
.ba img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ba .after {
  clip-path:inset(0 0 0 50%);
  transition:clip-path .05s linear;
}
.ba-handle {
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:3px;
  background:linear-gradient(180deg,var(--gold),
             rgba(160,120,40,0.25));
  box-shadow:0 4px 12px rgba(191,165,106,0.12);
  transform:translateX(-50%);
}

/* Slider input (ukryty thumb) */
.ba-range {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  height:100%;
  appearance:none;
  background:transparent;
  outline:none;
  cursor:ew-resize;
  z-index:2;
}
.ba-range::-webkit-slider-runnable-track,
.ba-range::-moz-range-track {
  background:transparent;
  height:100%;
}
.ba-range::-webkit-slider-thumb {
  appearance:none;
  width:0;
  height:0;
  background:transparent;
  border:none;
}
.ba-range::-moz-range-thumb {
  width:0;
  height:0;
  border:none;
  background:transparent;
}

/* Etykiety "przed"/"po" */
.ba-badge {
  position:absolute;
  top:10px;
  padding:.22rem .5rem;
  font-size:.78rem;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(151,122,82,0.08);
  border-radius:999px;
  color:var(--muted);
  pointer-events:none;
}
.ba-badge--left { left:10px; }
.ba-badge--right { right:10px; }

/* ============================
   6. FORMULARZ I STOPKA
   ============================ */

form .field { display:block; }

input[type="text"],
input[type="email"],
textarea,
input[type="file"] {
  width:100%;
  padding:.85rem;
  border-radius:10px;
  border:1px solid rgba(151,122,82,0.06);
  background:#faf6ef;
  color:var(--ink);
}
textarea { resize:vertical; }

.footer {
  border-top:1px solid rgba(151,122,82,0.06);
  color:var(--muted);
  padding:2rem 0 3rem;
  font-size:.95rem;
}

/* ============================
   7. ANIMACJE I REVEAL
   ============================ */

.reveal {
  opacity:0;
  transform:translateY(10px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.show {
  opacity:1;
  transform:translateY(0);
}

.logo-frame {
  opacity:0;
  transform:translateY(10px) scale(.998);
}
.logo-frame[data-animate="true"] {
  animation:gold-shimmer 8s linear infinite,
           logo-entrance 700ms cubic-bezier(.2,.9,.2,1) 1 both;
}
.tagline { opacity:0; transform:translateY(8px); }
.signature { opacity:0; transform:translateY(6px); }
.tagline.in,
.signature.in {
  animation:text-entrance 700ms cubic-bezier(.2,.9,.2,1) 1 both;
}

@keyframes shimmer {
  0%{ background-position:-120% 0; }
  50%{ background-position:120% 0; }
  100%{ background-position:-120% 0; }
}

@keyframes gold-shimmer {
  0%{ background-position:-120% 0; filter:brightness(.98) saturate(.98); }
  50%{ background-position:120% 0; filter:brightness(1.02) saturate(1.03); }
  100%{ background-position:-120% 0; filter:brightness(.98) saturate(.98); }
}

@keyframes logo-entrance {
  0%{ opacity:0; transform:translateY(12px) scale(.995); }
  100%{ opacity:1; transform:translateY(0) scale(1); }
}

@keyframes text-entrance {
  0%{ opacity:0; transform:translateY(8px); }
  100%{ opacity:1; transform:translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-frame,
  .tagline,
  .signature,
  .reveal {
    animation:none !important;
    transition:none !important;
    opacity:1;
    transform:none;
  }
}

/* ============================
   8. TYPOGRAFIA NAGLWKW
   ============================ */

/* Imprint Shadow dla tytulw sekcji */
#oferta-title,
#porownania-title,
#info-title,
#kontakt-title {
  font-family:'Imprint MT Shadow',serif;
  font-weight:normal;
  letter-spacing:0.4px;
}

/* ============================
   9. RESPONSYWNOSC
   ============================ */

/* Header / brand */
@media (max-width:980px) {
  header { --header-height:72px; }
  .nav-grid {
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:.5rem;
    padding:.5rem 0;
  }
  .brand { grid-column:2; }
}

/* Mobile nawigacja */
@media (max-width:820px) {
  .nav-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
    padding:.4rem;
    border-radius:8px;
    z-index:1300;
  }

  .menu {
    display:none !important;
    position:fixed;
    top:var(--header-height,72px);
    right:0;
    left:0;
    background:linear-gradient(180deg,
        rgba(239,229,210,0.98),
        rgba(239,229,210,0.96));
    padding:1rem 1.2rem;
    box-shadow:0 8px 30px rgba(60,45,28,0.08);
    z-index:1200;
    flex-direction:column;
    gap:.8rem;
    align-items:flex-end;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    opacity:1;
    transform:none;
    pointer-events:auto;
  }

  .menu.open { display:flex !important; }

  .menu a {
    display:block;
    width:100%;
    padding:.6rem .6rem;
    text-align:right;
    border-radius:8px;
  }

  .nav-grid {
    grid-template-columns:auto 1fr auto;
  }
  .brand { justify-self:center; text-align:center; }
}

/* Logo i hero  mniejsze ekrany */
@media (max-width:640px) {
  .hero {
    min-height:50vh;
    padding:1.4rem 0;
  }
  .logo-frame {
    width:94%;
    max-width:480px;
    aspect-ratio:2 / 1;
  }
  .signature { font-size:1.6rem; }
}

/* Bardzo male ekrany */
@media (max-width:420px) {
  .brand { font-size:clamp(1.4rem,6vw,2.2rem); }
  .brand-sub { font-size:.85rem; }
  .logo-frame {
    width:94%;
    max-width:420px;
    aspect-ratio:3.6 / 1;
    padding:6px;
    border-radius:10px;
  }
  .logo-img {
    object-fit:contain;
    object-position:center 50%;
  }
  .hero {
    min-height:46vh;
    padding:.9rem 0;
  }
}

/* Tagline  lekko wieksza na telefonie */
@media (max-width:768px) {
  .tagline {
    font-size:1.35rem;
    line-height:1.8;
    max-width:85%;
    margin:10px auto 0;
  }
}
/* ============================
   10. ZLOTE RAMKI + KOLOR TEKSTU
   ============================ */

/* Spjny kolor tekstu wszedzie poza menu i logo */
body {
  color: #6e5941 !important;
}

/* Tekst w tresci strony (sekcje, karty, stopka itd.) */
main, section,
.hero,
.prices,
.card,
.ba-card,
.service-card,
.footer,
figcaption,
figcaption strong,
.services li {
  color: #6e5941 !important;
}

/* Linki w tresci (nie w menu)  ten sam kolor */
main a,
section a,
.card a,
.ba-card a,
.service-card a,
.footer a {
  color: #6e5941 !important;
}

/* Zostawiamy zloty kolor menu */
.menu a,
.menu .btn {
  color: var(--gold);
}

/* === ZLOTE RAMKI + BLASK DLA WSZYSTKICH KART === */
.card,
.card.with-gold,
.service-card,
.ba-card {
  border-radius: 16px !important;
  border: 4px solid var(--gold) !important;     /* ? KOLOR RAMKI */
  overflow: hidden !important;

  /* BLASK / GLOW  mozesz regulowac intensywnosc */
  box-shadow:
    0 0 16px rgba(191, 165, 106, 0.55),       /* zloty glow */
    0 8px 22px rgba(0, 0, 0, 0.12);           /* cien pod karta */
}

/* Grne rogi zdjec ladnie zaokraglone w ramce */
.card img,
.card.with-gold img,
.service-card img,
.ba-card img {
  border-radius: 16px 16px 0 0 !important;
  display: block;
}

/* ============================
   11. WIEKSZY TEKST POD LOGO (DESKTOP)
   ============================ */

/* Na telefonie zostaje jak jest, na komputerze powiekszamy */
@media (min-width: 769px) {
  .tagline {
    font-size: 1.4rem !important;   /* ? ZMIANA ROZMIARU TEKSTU POD LOGO */
    line-height: 1.8 !important;
    max-width: 90ch;
  }
}
/* ============================
   10. KARTY OFERTY  STYL JAK NA STARYM SCREENIE
   ============================ */

/* sam kontener cen  wyrwnanie wysokosci kart */
.prices .grid.grid-3 {
  align-items: stretch;
  gap: 2rem;
}

/* naglwek karty */
.prices .card h3 {
  font-family: 'Imprint MT Shadow', serif;
  font-size: 1.6rem;
  margin: 0;
  padding: 1.1rem 1.2rem 0.9rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  position: relative;
}

/* cienki zloty pasek pod tytulem */
.prices .card h3::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(191,165,106,0.0),
    rgba(191,165,106,0.8),
    rgba(191,165,106,0.0)
  );
  pointer-events: none;
}

/* sama karta oferty  troszke wiecej powietrza u gry */
.prices .card {
  padding: 1.4rem 0 0;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
}

/* lista uslug  wieksze odstepy, delikatne kreski */
.prices .services {
  padding-top: 0.9rem;
}

.prices .services li {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px dashed rgba(151,122,82,0.18);
  font-size: 0.98rem;
}

/* ostatnia linia  bez kreski */
.prices .services li:last-child {
  border-bottom: 0;
}

/* stopka z cena przyklejona do dolu karty */
.prices .price-footer {
  margin-top: auto;
  padding: 1.4rem 1.3rem 1.4rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.25),
    rgba(239,229,210,0.0)
  );
  border-top: 1px solid rgba(151,122,82,0.10);
}

.prices .price-footer h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-weight: 700;
}

.prices .price-footer .note {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}
/* === PRZED / PO  zloty pasek + wyrwnane opisy === */

/* Cala karta przed/po */
.ba-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px !important;
  overflow: hidden;
  border: 4px solid rgba(191,165,106,0.75) !important;
  box-shadow: 0 16px 35px rgba(60,45,28,.14);
}

/* Czesc ze zdjeciem (suwak) */
.ba-card .ba {
  position: relative;
  aspect-ratio: 5/7;
  overflow: hidden;
  background: #d9c8ae;
}
.ba-card .ba img { 
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Zloty pasek dokladnie pod zdjeciem */
.ba-card .ba::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(191,165,106,0.9),
    rgba(230,210,150,0.9),
    rgba(191,165,106,0.9)
  );
}

/* Tekst pod zdjeciem  nadpisanie inline style z HTML-a */
.ba-card figcaption {
  padding: 1.1rem 1.4rem 1.5rem !important;
}

/* Tytul karty */
.ba-card figcaption strong {
  display: block;
  font-family: 'Imprint MT Shadow', serif;
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

/* Lista uslug */
.ba-card .services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ba-card .services li {
  padding: .38rem 0;
  border-bottom: 1px solid rgba(191,165,106,0.25);
}

.ba-card .services li:last-child {
  border-bottom: none;
}

/* Wszystkie teksty wyrwnane elegancko do lewej */
.ba-card figcaption,
.ba-card figcaption * {
  text-align: left;
}
/* === OSTATECZNE, GLOBALNE RAMKI DLA WSZYSTKICH KART === */
.card,
.card.with-gold,
.service-card,
.ba-card,
.prices .card {
  border: 4px solid rgba(160,120,40,0.25) !important;  /* JEDEN kolor dla wszystkich */
  border-radius: 16px !important;
  overflow: hidden;
}
/* === UJEDNOLICONE CIENIE === */
.card,
.service-card,
.ba-card,
.prices .card {
    box-shadow: 0 8px 20px rgba(191,165,106,0.25) !important;
}

/* Hover: zwykle karty unosza sie */
.card:hover,
.service-card:hover,
.prices .card:hover {
    transform: translateY(-4px) !important;
}

/* === KARTY PRZED/PO  BEZ UNOSZENIA === */
.ba-card:hover {
    transform: none !important;       /* brak podnoszenia */
    box-shadow: 0 8px 20px rgba(191,165,106,0.25) !important; /* ten sam cien */
}
/* === POPRAWA LOGO / HEADERA NA TELEFONIE === */
@media (max-width: 768px) {

  /* mniejsze, czytelniejsze logo w naglwku */
  .brand {
    font-size: clamp(1.4rem, 5vw, 2rem);
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  /* troche nizszy header, zeby nie zajmowal pl ekranu */
  header {
    --header-height: 64px;
  }

  /* hero zaczyna sie kawalek pod headerem, bez scisniecia */
  .hero {
    margin-top: 0; /* zdejmujemy -75px */
    padding-top: calc(var(--header-height, 64px) + 0.8rem);
  }
}

/* jeszcze delikatniejsza wersja na bardzo malych ekranach */
@media (max-width: 420px) {
  .brand {
    font-size: clamp(1.3rem, 4.8vw, 1.8rem);
    letter-spacing: 0.035em;
  }
}
/* === POPRAWA LOGO W RAMCE NA TELEFONIE  PELNE WYPELNIENIE === */
@media (max-width: 480px) {

  .logo-frame {
    width: 95% !important;
    max-width: none !important;
    aspect-ratio: 2 / 1 !important; /* stabilny wymiar */
    padding: 6px !important;
  }

  .logo-inner {
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  .logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;    /* ? WYPELNIA RAMKE */
    object-position: center center !important;
    border-radius: 8px !important;
  }
}
/* === Klko suwaka  jednolity kolor === */
.ba-handle::after {
  content: "";
  position: absolute;
  top: 186px;          /* aby bylo idealnie nad suwakiem */
  left: 50%;
  width: 16px;         /* mniejsze, eleganckie klko */
  height: 16px;
  background:rgba(191,165,106,0.75); /* JEDNOLITY kolor */
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  pointer-events: none;
}
/* === WYSRODKOWANIE TYLKO NAGLWKA W KARTACH PRZED/PO === */
.ba-card figcaption strong {
    display: block;
    width: 100%;
    text-align: center !important;
}
/* === Kolor przycisku WYSLIJ === */
#contact-form .btn,
form .btn {
    background: rgb(191, 165, 106) !important; /* zloty przyklad */
    color: white !important; /* kolor tekstu */
    border: none !important;
}
#contact-form .btn:hover,
form .btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Brand zawsze w centrum */
.nav-grid .brand {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}
.nav-grid .menu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.nav-grid .menu {
  right: 2.2rem; }
/* === poprawka do kart na mobilkach przed/po */ 
@media (max-width: 768px) {
	.reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}


