/* ------------------------------------------------------------------
   Marczuk Finanse - warstwa akcentow marki
   Dokladana NA WIERZCH szablonu bazowego. Nic nie nadpisuje w plikach
   zrodlowych, wiec da sie ja wylaczyc jednym <link>.
   Granat #0e2a52  |  zloto #c9a24a  |  zloto ciemne #b08d3c
   ------------------------------------------------------------------ */

:root {
  --mf-granat: #0e2a52;
  --mf-granat-ciemny: #081c38;
  --mf-zloto: #c9a24a;
  --mf-zloto-ciemne: #b08d3c;
  --mf-zloto-jasne: #e0c176;
  --mf-cien: 0 10px 30px rgba(8, 28, 56, .12);
  --mf-cien-hover: 0 18px 44px rgba(8, 28, 56, .20);
}

/* --- 1. Miekkie cienie zamiast twardej czarnej obwodki --------------- */
.section-offerhome-w .inner.text-center,
.mod-article-box,
.box349 {
  box-shadow: var(--mf-cien) !important;
  border-radius: 14px !important;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}

/* --- 2. Kafelki oferty: uniesienie i zlota krecha na hover ----------- */
.section-offerhome-w .col-xs-12.col-sm-6 .inner.text-center {
  position: relative;
}
.section-offerhome-w .col-xs-12.col-sm-6 .inner.text-center::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--mf-zloto);
  transform: translateX(-50%);
  transition: width .35s ease;
}
.section-offerhome-w .col-xs-12.col-sm-6 .inner.text-center:hover {
  box-shadow: var(--mf-cien-hover) !important;
  transform: translateY(-6px);
}
.section-offerhome-w .col-xs-12.col-sm-6 .inner.text-center:hover::after { width: 72%; }
.section-offerhome-w .inner.text-center img { transition: transform .6s ease; }
.section-offerhome-w .inner.text-center:hover img { transform: scale(1.04); }

/* --- 3. Zlota kreska pod naglowkami sekcji --------------------------- */
h1, .section-offerhome-w > .col-xs-12 h2, .section-newshome-g h2 {
  letter-spacing: .01em;
}
h1::after,
.section-offerhome-w > .col-xs-12 .inner.text-center h2::after,
.section-newshome-g > .col-xs-12 .inner.text-center h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin: 14px 0 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mf-zloto), var(--mf-zloto-jasne));
}
.text-center h1::after,
.section-offerhome-w > .col-xs-12 .inner.text-center h2::after,
.section-newshome-g > .col-xs-12 .inner.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* --- 4. Przyciski: zloto na hover, lekkie uniesienie ----------------- */
.btn.btn-default,
a.btn.border-radius-sm,
span.btn.border-radius-sm {
  border-radius: 999px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
  transition: background-color .28s ease, border-color .28s ease,
              color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.btn.btn-default:hover,
a.btn.border-radius-sm:hover,
.section-offerhome-w .inner.text-center:hover span.btn.border-radius-sm {
  background-color: var(--mf-zloto) !important;
  border-color: var(--mf-zloto) !important;
  color: var(--mf-granat-ciemny) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 74, .35);
}

/* --- 5. Menu: zlote podkreslenie --------------------------------- */
.navbar-custom .nav.navbar-nav.menu > li > a {
  position: relative;
  transition: color .25s ease;
}
.navbar-custom .nav.navbar-nav.menu > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--mf-zloto);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.navbar-custom .nav.navbar-nav.menu > li:hover > a::after { transform: scaleX(1); }
.navbar-custom .nav.navbar-nav.menu > li.current > a,
.navbar-custom .nav.navbar-nav.menu > li.active > a {
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .55);
}

/* --- 6. Ramka sekcji parallax: szara -> zlota ------------------------ */
.parallax-backround-border-j {
  border-color: var(--mf-zloto) !important;
  border-width: 2px !important;
  border-radius: 16px !important;
  background: rgba(8, 28, 56, .55) !important;
  backdrop-filter: blur(2px);
}
.parallax-backround-border-j,
.parallax-backround-border-j p,
.parallax-backround-border-j h2,
.parallax-backround-border-j h3 { color: #fff !important; }

/* --- 7. Stopka: cienka zlota linia u gory --------------------------- */
footer { position: relative; }
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--mf-zloto-ciemne), var(--mf-zloto), var(--mf-zloto-jasne), var(--mf-zloto));
}

/* --- 8. Slider: zlota kropka aktywna, delikatniejsze strzalki ------- */
.slick-dots li button:before { color: var(--mf-granat) !important; opacity: .35 !important; }
.slick-dots li.slick-active button:before {
  color: var(--mf-zloto) !important;
  opacity: 1 !important;
  transform: scale(1.35);
}
.slick-prev, .slick-next { transition: opacity .3s ease, transform .3s ease; opacity: .75; }
.slick-prev:hover, .slick-next:hover { opacity: 1; transform: scale(1.08); }

/* --- 9. Karta z tekstem na slajdzie: zlota krawedz ------------------ */
.section-slider-j .description .text {
  border-left: 4px solid var(--mf-zloto);
  border-radius: 0 14px 14px 0;
  box-shadow: var(--mf-cien);
}

/* --- 10. Typografia tresci: oddech ---------------------------------- */
article p, .box349 p, .section-aboutus-a p { line-height: 1.75; }
article ul > li > p { line-height: 1.7; }
article ul { list-style: none; padding-left: 0; }
article ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}
article ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mf-zloto);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .22);
}

/* --- 11. Gorna belka kontaktu: przycisk z telefonem w zlocie -------- */
.link-zmienny .btn.btn-default {
  background: var(--mf-zloto) !important;
  border-color: var(--mf-zloto) !important;
  color: var(--mf-granat-ciemny) !important;
  font-weight: 600;
}
.link-zmienny .btn.btn-default:hover {
  background: var(--mf-zloto-ciemne) !important;
  border-color: var(--mf-zloto-ciemne) !important;
  color: #fff !important;
}

/* --- 12. Zdjecia w tresci: zaokraglenie i cien ---------------------- */
article img, .section-aboutus-a img, .box349 img {
  border-radius: 14px !important;
  box-shadow: var(--mf-cien) !important;
}

@media (max-width: 767px) {
  .section-offerhome-w .col-xs-12.col-sm-6 .inner.text-center:hover { transform: none; }
  h1::after { margin-left: auto; margin-right: auto; }
}
