/* ==============================

   AL POWER DESIGN

============================== */

:root {
  --primary: #e83c3b;
  --primary-dark: #d92e2d;
  --primary-light: #fff2f2;
  
  --black: #000000;
  --dark: #1a1a1a;
  --text: #2d2d2d;
  --white: #ffffff;

  --radius: 16px;
}

/* ==============================

   TYPOGRAFIA

============================== */

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-header__main,
.display-3,
.display-4,
.display-5,
.display-6,
.display-7,
.display-8,
.display-9,
.display-10,
.display-11,
.display-12,
.display-13 {
  font-family: "Poppins", sans-serif;
}

/* ==============================

   BUTTONY

============================== */

.butn,
.attr-nav .butn {
  background: var(--primary);
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.butn:hover,
.attr-nav .butn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==============================

   HERO - ukrycie animowanych kształtów

============================== */

.block-hero .rounded-circle,
.rounded-circle.ani-top-bottom,
.rounded-circle.ani-move,
.bg-primary.rounded-circle,
.block-hero .bg-primary.rounded-circle,
.block-hero .banner-shape1,
.block-hero img[src*="shape"],
.block-hero .border.rounded-circle.ani-move {
  display: none !important;
}

.block-hero {
  padding-top: 0;
  padding-bottom: 0;
}

.block-hero h1,
.block-hero .text-white {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Banner highlight */

.title-sm.banner::before {
  background: var(--primary);
}

/* ==============================

   NAWIGACJA - elegancki header

============================== */

.page-top {
  border-bottom: none;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.97);
}

.navbar-nav > li > a {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav > li > a:hover::after {
  width: 100%;
}

.navbar-nav > li > a:hover {
  color: var(--primary);
}

.navbar-toggler.bg-primary {
  background-color: var(--primary)!important;
  border-radius: 4px;
}

/* CTA button w nav */

html body .attr-nav .butn.md {
  border-radius: 6px;
  background-color: var(--primary);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(232, 60, 59, 0.3);
}

html body .attr-nav .butn.md:hover {
  background-color: #eb2726;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 60, 59, 0.4);
}

html body .attr-nav .butn.md,
html body .attr-nav .butn.md * {
  color: #fff !important;
  font-weight: 700;
}

/* ==============================

   SEKCJE - tła z subtelnymi texturami

============================== */

section.bg-light {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-light);
}

/* Subtelny pattern na jasnych sekcjach */

section.bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 25% 25%,
      rgba(232, 60, 59, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(232, 60, 59, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* ==============================

   TEKST NA CIEMNYCH SEKCJACH

============================== */

.bg-secondary .section-header__main,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary h4,
.tiles-with-icons1.bg-secondary .section-header__main,
.tiles-with-icons1.bg-secondary h2 {
  color: var(--white);
}

.bg-secondary .section-header .text-muted,
.tiles-with-icons1.bg-secondary .section-header .text-muted {
  color: var(--primary);
}

/* Banner podkreślenie na ciemnym tle */

.bg-secondary .title-sm.banner::before,
.tiles-with-icons1.bg-secondary .title-sm.banner::before {
  background: rgba(232, 60, 59, 0.5);
}

.bg-secondary .title-sm.banner,
.tiles-with-icons1.bg-secondary .title-sm.banner {
  color: var(--primary);
}

/* ==============================

   TILES WITH ICONS 1

============================== */

.tiles-with-icons1.bg-secondary {
  background: linear-gradient(170deg, #111111 0%, #000000 100%);
}

.tiles-with-icons1 .card-style16 .card-body {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 60, 59, 0.15);
  border-radius: 16px;
  transition: 0.35s;
}

.tiles-with-icons1 .card-style16 .card-body:hover {
  transform: none !important;
  background: rgba(232, 60, 59, 0.08);
  border-color: rgba(232, 60, 59, 0.4);
  box-shadow: 0 10px 25px rgba(232,60,59,.15);
}

.tiles-with-icons1 svg,
.tiles-with-icons1 svg g,
.tiles-with-icons1 svg line,
.tiles-with-icons1 svg polyline,
.tiles-with-icons1 svg polygon,
.tiles-with-icons1 svg rect,
.tiles-with-icons1 svg path {
    fill: #fff !important;
    stroke: #fff !important;
    transition: fill .1s ease, stroke .1s ease;
}

.tiles-with-icons1 .card-style16:hover svg,
.tiles-with-icons1 .card-style16:hover svg g,
.tiles-with-icons1 .card-style16:hover svg line,
.tiles-with-icons1 .card-style16:hover svg polyline,
.tiles-with-icons1 .card-style16:hover svg polygon,
.tiles-with-icons1 .card-style16:hover svg rect,
.tiles-with-icons1 .card-style16:hover svg path {
    fill: var(--primary) !important;
    stroke: var(--primary) !important;
}

.tiles-with-icons1 h4 a {
  color: #fff;
}

.tiles-with-icons1 .card-style16 {
    border-radius: 16px !important;
    overflow: hidden;
    background: transparent !important;
}

.tiles-with-icons1 .card-style16 .card-body {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(232,60,59,.15) !important;
    border-radius: 16px !important;
    transition: all .35s ease;
}

.tiles-with-icons1 .card-style16:hover .card-body {
    background: rgba(232,60,59,.08) !important;
    border-color: rgba(232,60,59,.4) !important;
    transform: translateY(-5px);
}

.tiles-with-icons1 .shape-2 {
    background: rgba(232,60,59,.15) !important;
}

.tiles-with-icons1 .shape-1 {
    display: none!important;
}

.tiles-with-icons1 .card-style16::before,
.tiles-with-icons1 .card-style16::after,
.tiles-with-icons1 .card-body::before,
.tiles-with-icons1 .card-body::after {
    background: transparent !important;
    display: none !important;
}

/* ==============================

   COLUMNS IMAGE AND TEXT

============================== */

.columns-image-and-text img,
.columns-image-and-text picture img {
  border-radius: var(--radius);
  transition: 0.5s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.columns-image-and-text img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(232, 60, 59, 0.15);
}

/* ==============================

   TILES ICON TEXT IMAGE

============================== */

.tiles-icon-text-image .card-icon {
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(232, 60, 59, 0.25);
}

.tiles-icon-text-image .card-icon:hover {
  background: var(--primary-dark);
}

.tiles-icon-text-image .card-icon svg {
  width: 34px;
  height: 34px;
}

.tiles-icon-text-image .card-icon svg *,
.tiles-icon-text-image .card-icon svg path {
  fill: #fff !important;
  stroke: #fff !important;
}

.tiles-icon-text-image__header {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--dark);
}

.tiles-icon-text-image .card-content {
  color: var(--text);
  line-height: 1.8;
}

.tiles-icon-text-image .card-content p {
  margin-bottom: 0;
}

/* ==============================

   SECTION HEADERS

============================== */

.section-header__main {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header__main:after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 1rem;
  background: var(--primary);
  border-radius: 999px;
}

.text-center .section-header__main:after {
  margin-left: auto;
  margin-right: auto;
}

.section-header .text-muted {
  color: var(--primary) !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==============================

   GALLERY

============================== */

.gallery-block {
  background: #fafafa;
}

.gallery-block__item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(232, 60, 59, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}

.gallery-block__item:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 60, 59, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.gallery-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-block__item:hover .gallery-block__img {
  transform: scale(1.04);
}

.gallery-block__item {
  position: relative;
}

.gallery-block__item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.9);
  background: radial-gradient(
    circle at center,
    rgba(232, 60, 59, 0.25),
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  backdrop-filter: blur(2px);
}

.gallery-block__item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* ==============================

   RICH TEXT

============================== */

.block-richText__content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.05rem;
  color: var(--text);
}

.block-richText__content p:last-child {
  margin-bottom: 0;
}

.block-richText__content strong,
.block-richText__content b {
  color: var(--primary);
  font-weight: 700;
}

.block-richText__content a {
  color: var(--primary);
  font-weight: 600;
}

.block-richText__content a:hover {
  color: var(--primary-dark);
}

.block-richText__content ul,
.block-richText__content ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.block-richText__content li {
  margin-bottom: 0.5rem;
}

.block-richText__content ul li::marker,
.block-richText__content ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

.block-richText__content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
}

[data-content-block-id="1322"] .block-richText__content {
    text-align: center !important;
}

[data-content-block-id="1322"] .block-richText__content p {
    font-size: 1.5rem !important;
    line-height: 1.8;
    font-weight: 600; /* optional */
    margin: 0 auto;
    text-align: center;
}
/* ==============================

   PAGE TITLE

============================== */

.page-title-section {
  background: #111;
  border-bottom: 3px solid var(--primary);
  padding-top: clamp(7rem, 10vw, 10rem);
  padding-bottom: 3rem;
}

.page-title-section h1 {
  color: #fff;
  font-weight: 800;
}

.page-title-section a:hover {
  color: var(--primary);
}

/* ==============================

   BLOG

============================== */

.blog-list .card-style4 {
  border-radius: 16px !important;
  overflow: hidden;
  border: none;
  background: #fff !important;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.12);
  transition: all 0.35s ease;
}

.blog-list .card-style4:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.blog-list__list-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-list .image-hover:hover .blog-list__list-img {
  transform: scale(1.05);
}

.blog-list h3 a {
  color: var(--dark);
  transition: color 0.25s ease;
}

.blog-list h3 a:hover {
  color: var(--primary);
}

.blog-list .fw-bold {
  color: var(--primary);
  transition: color 0.25s ease;
}

.blog-list .fw-bold:hover {
  color: var(--primary-dark);
}

.blog-list .blog-tag span {
  background: #fff !important;
  border: 1px solid rgba(232, 60, 59, 0.15);
  border-radius: 999px;
  color: var(--text);
}

.blog-list .text-primary {
  color: var(--primary) !important;
}

.blog-tag {
    margin-bottom: 10px;
    margin-right: 5px;
}

/* ==============================

   CONTACT

============================== */

.block-contact__form {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(232, 60, 59, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.block-contact__form label {
  font-weight: 600;
  color: var(--dark);
}

.block-contact__form .form-control {
  border-radius: 10px;
  border: 2px solid #ececec;
  padding: 0.85rem 1rem;
  transition: all 0.25s ease;
}

.block-contact__form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 60, 59, 0.1);
  outline: none;
}

.block-contact__form textarea.form-control {
  min-height: 140px;

  resize: vertical;
}

.block-contact__form .form-check-input {
  border-color: #d9d9d9;
}

.block-contact__form .form-check-input:checked {
  background-color: var(--primary);

  border-color: var(--primary);
}

.block-contact__form .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(232, 60, 59, 0.1);
}

.block-contact__form a {
  color: var(--primary);
}

.block-contact__form a:hover {
  color: var(--primary-dark);
}

.block-contact__form button[type="submit"] {
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.9rem 2rem;
  transition: all 0.3s ease;
}

.block-contact__form button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 60, 59, 0.25);
}

.block-contact {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* ==============================

   FOOTER

============================== */

footer.bg-secondary {
  background: linear-gradient(170deg, #111111 0%, #000000 100%);

  border-top: 3px solid var(--primary);
}

.page-footer__slogan {
    font-size: 2.6rem;
    line-height: 1.1;
}

footer a {
  transition: 0.25s;
}

footer a:hover {
  color: var(--primary) !important;
}

.page-footer__made-by a {
    color: var(--primary) !important;
    transition: color 0.3s ease;
}

.page-footer__made-by a:hover {
    color: var(--primary-dark) !important;
}

/* --- Disable horizontal scroll --- */

html,
body {
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Dlaczego my - 3 kafelki w rzędzie --- */
@media (min-width: 768px) {
    [data-content-block-id="1289"] .row > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

[data-content-block-id="1652"] .block-richText__content {
    text-align: center !important;
}

[data-content-block-id="1652"] .block-richText__content img {
    display: block;
    margin: 0 auto;
    max-width: 220px;
    width: 100%;
    height: auto;
}


/* ==============================
   TESTIMONIALS
============================== */

section.testimonials-one.testimonials-section {
    background-color: #fafafa;
}

section.testimonials-section .testimonials-card__name {
    font-family: 'Poppins', sans-serif;
    color: #111;
    border-left: 3px solid var(--primary);
    padding-left: 0.8rem;
    font-weight: 600;
}

section.testimonials-section .testimonials-card__content {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.8;
    font-style: italic;
}

section.testimonials-section .section-header {
    text-align: center;
}

section.testimonials-section .section-header__main::after {
    margin-left: auto;
    margin-right: auto;
}

section.testimonials-section .testimonials-section__pagination .swiper-pagination-bullet,
section.testimonials-section .swiper-pagination-bullet {
    background-color: rgba(232, 60, 59, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
}

section.testimonials-section .testimonials-section__pagination .swiper-pagination-bullet-active,
section.testimonials-section .swiper-pagination-bullet-active {
    background-color: var(--primary);
    transform: scale(1.2);
    opacity: 1;
}

section.testimonials-section .testimonials-card {
    border: 1px solid rgba(232, 60, 59, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

section.testimonials-section .testimonials-card:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.trustindex-container {
  display: none;
}


/* ==============================

   BLOG PAGE

============================== */

.news-single {
  background: #fafafa;
}

.page-title-section.left-overlay-secondary:before {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85),
    rgba(232, 60, 59, 0.25)
  ) !important;
}

/* ==============================
   MAIN ARTICLE CARD
============================== */

.news-single .card-style4 {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.news-single .card-style4 .card-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #333;
  padding: 0;
}

.news-single .card-style4 p {
  margin-bottom: 1.2rem;
}

.news-single .fw-bold {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(232, 60, 59, 0.08);
  border: 1px solid rgba(232, 60, 59, 0.15);
  border-radius: 6px;
  font-size: 14px;
}

.news-single .shape-1,
.news-single .shape-2 {
  background: var(--primary) !important;
  opacity: 0.08;
}

/* ==============================
   SIDEBAR WRAPPER
============================== */

.news-single .sidebar {
  position: sticky;
  top: 100px;
}

.news-single .sidebar {
  padding-left: 0 !important;
}

.news-single .sidebar .widget,
.news-single .sidebar .categories {
  background: #fff;
  border: 1px solid rgba(232, 60, 59, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* ==============================
   SIDEBAR TITLE
============================== */

.news-single__side-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--primary);
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

/* ==============================
   RECENT POSTS LIST
============================== */

.news-single .widget.categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-single .widget.categories ul li {
  margin-bottom: 0;
}

.news-single .sidebar .widget.categories ul li {
  padding: 0 !important;
  margin: 0 !important;
}

.news-single .widget.categories ul li:last-child {
  margin-bottom: 0;
}

.news-single .sidebar .widget.categories ul li a {
  display: block;
  padding: 12px 12px;
  border-radius: 6px;
  color: #222;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.4;
}

.news-single .widget.categories ul li a:hover {
  background: linear-gradient(135deg, var(--primary-dark), #111);
  border-color: rgba(232, 60, 59, 0.2);
  color: var(--white);
  transform: translateX(4px);
}

/* ==============================
   TYPOGRAPHY
============================== */

.news-single .card-style4 p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #333;
}

.news-single .sidebar,
.news-single .sidebar .widget {
  background: #fff !important;
}

.block-richText__content ul li:before {
    color: var(--primary) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/*------------*/
.block-hero{
    .secondary-overlay:before{
        opacity: 0.4;
        z-index: 2;
    }
    .block-hero__content{
        z-index: 3;
    }
}

.navbar-brand{
    img{
        width: 11rem;
    }
}

.page-footer__slogan{
    img{
        width: 20rem;
    }
}

.tiles-icon-text-image__header{
    font-size: 1.5rem;
}

.card-style11{
    &:before, .card-style11__bg{
        border-radius: 1rem;
        overflow: hidden !important;
    }
}