:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

a{ color: inherit;}
a:hover{ text-decoration: none; }

/* Navbar */
.navbar{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar .nav-link{ color: var(--muted); font-weight: 500; }
.navbar .nav-link.active{ color: var(--text); }
.navbar .btn{
  border-radius: 999px;
}

/* Reduce logo size on mobile */
@media (max-width: 767px) {
  .navbar-brand img {
    max-height: 65px;
  }
}

/* Sections */
.section{
  padding: 90px 0;
}
.section-heading{
  margin-bottom: 18px;
}
.section-subtitle{
  color: var(--muted);
  max-width: 58ch;
}

.card-soft{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-soft{
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

/* Hero */
.hero{
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero h1{
  letter-spacing: -0.03em;
}
.hero .lead{
  color: var(--muted);
}

/* Fix navbar covering h1 on mobile */
@media (max-width: 767px) {
  .hero {
    padding-top: 140px;
  }
}
.hero-media{
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Buttons */
.btn-primary{
  border-radius: 999px;
  padding: 12px 18px;
}
.btn-outline-secondary{
  border-radius: 999px;
  padding: 12px 18px;
}

/* Icon bubble */
.icon-bubble{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  display: grid; place-items: center;
}

/* Gallery */
.gallery a{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}
.gallery img{
  width: 100%;
  height: auto;
  display:block;
  transition: transform .25s ease;
}
.gallery a:hover img{
  transform: scale(1.02);
}

/* Swiper */
.swiper{
  padding-bottom: 34px;
}
.swiper-pagination-bullet{
  opacity: .35;
}
.swiper-pagination-bullet-active{
  opacity: 1;
}

/* FAQ */
.accordion-item{
  border: 1px solid var(--border);
  border-radius: 16px !important;
  overflow: hidden;
}
.accordion-button{
  background: #fff;
  font-weight: 600;
}
.accordion-button:not(.collapsed){
  background: rgba(15, 23, 42, 0.03);
}

/* Footer */
footer{
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--muted);
}

/* Utilities */
.small-muted{ color: var(--muted); }
.rounded-2xl{ border-radius: 26px !important; }

/* Eco icon wrapper */
.eco-icon-wrapper {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 0 auto;
}

.eco-icon-wrapper svg {
  width: 100%;
  height: auto;
}

/* Offset anchors for sticky nav */
section[id]{
  scroll-margin-top: 84px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d6efd;
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-icon {
  height: 3.5rem;
  width: 3.5rem;
  display: block;
  flex-shrink: 0;
}

.cookie-banner .col p {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Hide telephone links on desktop/tablet, show only on mobile */
@media (min-width: 768px) {
  a[href^="tel:"] {
    display: none !important;
  }
}
.hero-media img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.carousel-item img {
  transition: transform 6s ease;
}

.carousel-item.active img {
  transform: scale(1.05);
}

.testimonials-swiper {
  position: relative;
  padding: 0 48px; /* miejsce na strzałki */
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  color: #333;
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-swiper .swiper-button-prev {
  left: 0;
}

.testimonials-swiper .swiper-button-next {
  right: 0;
}

/* usuń domyślne ikonki i wstaw własne */
.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 600;
}

/* UX */
.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  background-color: #f8f9fa;
}

@media (max-width: 575px) {
  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    display: none;
  }
}

.icon-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  justify-content: center;
  padding: 3rem;
}

.icon-box svg {
  width: 45%;
  height: auto;
  fill: var(--text);
}

/* Ensure consistent layout for icon cards so icons align at same level */
.card-soft:has(.icon-box) {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.card-soft:has(.icon-box) h3 {
  min-height: 3rem;
}

.card-soft:has(.icon-box) .small-muted {
  min-height: 5rem;
}