/* PLLogic Premium - główny plik CSS importujący moduły. */
@import url("variables.css");
@import url("reset.css");
@import url("layout.css");
@import url("components.css");
@import url("pages.css");
@import url("animations.css");
@import url("utilities.css");
@import url("responsive.css");
@import url("print.css");
@import url("lightbox.css");



/* PLLogic SEO: lokalnie + cała Polska */
.pllogic-seo-section,
.pllogic-local-section,
.pllogic-faq-section,
.pllogic-service-links,
.pllogic-content-block,
.pllogic-service-hero {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
}

.pllogic-local-section,
.pllogic-faq-section,
.pllogic-service-links,
.pllogic-content-block:nth-child(even) {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.pllogic-seo-section .container,
.pllogic-local-section .container,
.pllogic-faq-section .container,
.pllogic-service-links .container,
.pllogic-content-block .container,
.pllogic-service-hero .container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.pllogic-service-hero {
  background: linear-gradient(135deg, #ffffff, #f4f7fb 65%, #fff0ef);
}

.pllogic-service-hero h1,
.pllogic-seo-section h2,
.pllogic-local-section h2,
.pllogic-faq-section h2,
.pllogic-service-links h2,
.pllogic-content-block h2 {
  margin: 10px 0 18px;
  color: #12233b;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.pllogic-service-hero p,
.pllogic-seo-section p,
.pllogic-local-section p,
.pllogic-content-block p {
  max-width: 940px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 1rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d63a30;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.pllogic-faq-section details {
  max-width: 940px;
  border: 1px solid rgba(18, 35, 59, .12);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 14px 0;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(18, 35, 59, .05);
}

.pllogic-faq-section summary {
  cursor: pointer;
  color: #12233b;
  font-weight: 800;
}

.pllogic-faq-section details p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 0;
}

.pllogic-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pllogic-link-grid a {
  display: block;
  padding: 18px;
  border: 1px solid rgba(18, 35, 59, .12);
  border-radius: 18px;
  background: #ffffff;
  color: #12233b;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(18, 35, 59, .05);
}

.pllogic-link-grid a:hover {
  color: #d63a30;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .pllogic-link-grid {
    grid-template-columns: 1fr;
  }
}



/* Fix: stylowanie nowych podstron SEO usług */
.pllogic-service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(214, 58, 48, .14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fc 64%, #fff2f1 100%);
}

.pllogic-service-hero .container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.pllogic-service-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  color: #12233b;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.pllogic-service-hero p {
  max-width: 820px;
  color: #4b5563;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
}

.pllogic-service-hero .btn,
.pllogic-service-hero .button,
.pllogic-service-hero .primary {
  display: inline-flex;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  background: #d63a30;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(214, 58, 48, .22);
}

.pllogic-content-block {
  padding: clamp(54px, 6vw, 88px) 0;
  background: #fff;
}

.pllogic-content-block:nth-child(even) {
  background: #f7f9fc;
}

.pllogic-content-block .container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.pllogic-content-block h2 {
  color: #12233b;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 14px;
  letter-spacing: -0.035em;
}

.pllogic-content-block p {
  max-width: 900px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 1rem;
}

/* Fix: gdy stare klasy menu nie zadziałają na nowych stronach */
.site-header,
.header.topbar {
  background: #fff;
  border-bottom: 1px solid rgba(18, 35, 59, .10);
}

.site-header .container,
.header.topbar .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.site-header .brand,
.header.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #12233b;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.35rem;
}

.site-header .brand img,
.header.topbar .brand img {
  width: 46px;
  height: 46px;
}

.site-header .nav,
.header.topbar .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.site-header .nav a,
.header.topbar .nav a {
  color: #344054;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 12px;
}

.site-header .nav a:hover,
.header.topbar .nav a:hover {
  color: #d63a30;
  background: #fff4f3;
}



/* Naturalne teksty PLLogic */
.pllogic-natural-section {
  padding: clamp(52px, 6vw, 84px) 0;
  background: #ffffff;
}

.pllogic-natural-section .container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.pllogic-natural-section h2 {
  margin: 10px 0 16px;
  color: #12233b;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pllogic-natural-section p {
  max-width: 860px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 1rem;
}


/* OVH final fix: hero graphics without clipped text */
.hero-slide__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide__visual img {
  width: min(100%, 560px);
  max-height: 460px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 980px) {
  .hero-slide__visual img {
    width: min(100%, 480px);
    max-height: 360px;
  }
}


/* OVH final fix V2: slider controls, compact realizacje hero, better mobile spacing */
.page-hero--compact {
  padding-block: clamp(44px, 6vw, 78px);
}
.page-hero--compact h1 {
  margin-bottom: 8px;
}
.page-hero--compact + .section {
  padding-top: 34px;
}
.hero-slider__controls {
  z-index: 5;
}

@media (max-width: 720px) {
  .hero-slider {
    min-height: 820px;
  }
  .hero-slide__content {
    padding-block: 42px 136px;
  }
  .hero-slide__title {
    line-height: 1.02;
    font-size: clamp(2.25rem, 10vw, 4.2rem);
  }
  .hero-slide__lead {
    margin-bottom: 24px;
    font-size: 1rem;
  }
  .hero-slider__controls {
    bottom: 20px;
  }
}

@media (max-width: 460px) {
  .hero-slider {
    min-height: 860px;
  }
  .hero-slide__content {
    padding-block: 36px 148px;
  }
  .hero-slider__controls {
    bottom: 16px;
  }
}


/* FINAL responsive + hero background fix */
.hero-slider {
  position: relative;
  background:
    linear-gradient(90deg, rgba(9, 23, 43, 0.78) 0%, rgba(9, 23, 43, 0.60) 38%, rgba(9, 23, 43, 0.35) 100%),
    url("../img/hero/hero-background.jpg") center center / cover no-repeat !important;
  min-height: clamp(640px, 78vh, 860px);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

.hero-slide,
.hero-slide.is-active {
  position: relative;
  z-index: 1;
}

.hero-slide__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(640px, 78vh, 860px);
}

.hero-slide__content {
  max-width: 760px;
  padding-block: 72px 150px !important;
}

.hero-slide__kicker,
.hero-slide__title,
.hero-slide__lead {
  color: #ffffff !important;
}

.hero-slide__lead {
  max-width: 62ch;
  opacity: 0.96;
}

.hero-slide__actions {
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slide__visual {
  display: none !important;
}

.hero-slider__controls {
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px !important;
  z-index: 8;
}

.hero-slider .slider-dot {
  background: rgba(255,255,255,0.35);
}

.hero-slider .slider-dot.is-active {
  background: #e33d32;
}

@media (max-width: 1200px) {
  .hero-slide__content {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 700px;
  }

  .hero-slide__content {
    padding-block: 56px 134px !important;
    max-width: 100%;
  }

  .hero-slide__title {
    font-size: clamp(2.6rem, 8vw, 4.8rem) !important;
    line-height: 1.02;
  }

  .hero-slide__lead {
    font-size: 1rem !important;
  }
}

@media (max-width: 560px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 740px;
  }

  .hero-slide__content {
    padding-block: 42px 128px !important;
  }

  .hero-slide__title {
    font-size: clamp(2.1rem, 11vw, 3.6rem) !important;
  }

  .hero-slide__lead {
    font-size: 0.98rem !important;
  }

  .hero-slider__controls {
    bottom: 20px !important;
  }
}

/* Compact realizacje header + better spacing */
.page-hero.page-hero--compact {
  padding: 38px 0 22px !important;
  min-height: auto !important;
}

.page-hero.page-hero--compact .container,
.page-hero.page-hero--compact .page-hero__content {
  min-height: auto !important;
}

.page-hero.page-hero--compact h1 {
  margin-bottom: 6px !important;
}

.page-hero.page-hero--compact + .section,
.page-hero.page-hero--compact + section {
  padding-top: 18px !important;
}

.project-filters,
.project-filter,
.project-categories {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.project-grid,
.projects-grid {
  margin-top: 18px !important;
}

@media (max-width: 768px) {
  .page-hero.page-hero--compact {
    padding: 28px 0 16px !important;
  }
}


/* HERO REWORK FINAL */
.hero-slider {
  position: relative;
  min-height: clamp(620px, 72vh, 760px);
  background: #0d1d34 !important;
  overflow: hidden;
}

.hero-slider::before {
  display: none !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.hero-slide:nth-of-type(1)::before {
  background-image:
    linear-gradient(90deg, rgba(7, 20, 39, 0.84) 0%, rgba(7, 20, 39, 0.72) 28%, rgba(7, 20, 39, 0.36) 56%, rgba(7, 20, 39, 0.16) 100%),
    url("../img/hero/slide-bg-1.jpg");
  background-position: center center;
}

.hero-slide:nth-of-type(2)::before {
  background-image:
    linear-gradient(90deg, rgba(7, 20, 39, 0.84) 0%, rgba(7, 20, 39, 0.72) 28%, rgba(7, 20, 39, 0.36) 56%, rgba(7, 20, 39, 0.16) 100%),
    url("../img/hero/slide-bg-2.jpg");
  background-position: center center;
}

.hero-slide:nth-of-type(3)::before {
  background-image:
    linear-gradient(90deg, rgba(7, 20, 39, 0.84) 0%, rgba(7, 20, 39, 0.72) 28%, rgba(7, 20, 39, 0.36) 56%, rgba(7, 20, 39, 0.16) 100%),
    url("../img/hero/slide-bg-3.jpg");
  background-position: center center;
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(620px, 72vh, 760px);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: 84px 124px !important;
  padding-inline: 0;
}

.hero-slide__kicker,
.hero-slide__title,
.hero-slide__lead {
  color: #ffffff !important;
}

.hero-slide__title {
  margin-bottom: 20px;
  max-width: 740px;
  font-size: clamp(3rem, 5.6vw, 5.3rem) !important;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-slide__lead {
  max-width: 56ch;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.94) !important;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slide__visual {
  display: none !important;
}

.hero-slider__controls {
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px !important;
  z-index: 9;
}

.hero-slider .slider-dot {
  background: rgba(255, 255, 255, 0.34);
}

.hero-slider .slider-dot.is-active {
  background: #e24937;
}

.hero-slider + .section {
  padding-top: 72px !important;
}

/* Realizacje: tighter hero and closer filters */
.page-hero.page-hero--compact {
  padding: 34px 0 18px !important;
  min-height: auto !important;
}

.page-hero.page-hero--compact h1 {
  margin-bottom: 2px !important;
}

.page-hero.page-hero--compact + .section,
.page-hero.page-hero--compact + section {
  padding-top: 10px !important;
}

.project-filters,
.project-filter,
.project-categories {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.project-grid,
.projects-grid {
  margin-top: 14px !important;
}

@media (max-width: 1199px) {
  .hero-slide__content {
    max-width: 620px;
    padding-block: 76px 118px !important;
  }
}

@media (max-width: 900px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 620px;
  }

  .hero-slide__content {
    max-width: 560px;
    padding-block: 64px 106px !important;
  }

  .hero-slide__title {
    font-size: clamp(2.6rem, 7.6vw, 4.3rem) !important;
  }

  .hero-slide__lead {
    max-width: 46ch;
    font-size: 1rem;
  }

  .hero-slider + .section {
    padding-top: 56px !important;
  }
}

@media (max-width: 640px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 640px;
  }

  .hero-slide::before {
    background-position: 64% center !important;
  }

  .hero-slide__content {
    max-width: 100%;
    padding-block: 54px 104px !important;
  }

  .hero-slide__title {
    font-size: clamp(2.15rem, 10.2vw, 3.5rem) !important;
    line-height: 1.01;
  }

  .hero-slide__lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-slider__controls {
    bottom: 18px !important;
  }

  .hero-slider + .section {
    padding-top: 44px !important;
  }

  .page-hero.page-hero--compact {
    padding: 26px 0 14px !important;
  }
}
