/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #f7710f;
    --secondary: #110f1f;
    --accent: #0F95F7;

    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #f9f9f9;

    --header-offset: 130px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
    background: var(--primary);
    color: #fff;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  line-height: 1.6;
  color: #110f1f;
}

section {
  scroll-margin-top: var(--header-offset);
}

h1, h2, h3 {
  color: var(--secondary);
}

a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.4s;
}

a:hover {
  color: var(--accent);
}

.features h2,
.reviews h2,
.partners h2 {
  color: var(--primary);
}

.hidden {
  visibility: hidden;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  right: 5vw;
  bottom: 2vw;

  width: 45px;
  height: 45px;

  background: var(--primary);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.3s ease;
  z-index: 300;
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(0) scale(1.08);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== TOP BAR ===== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17, 15, 31, 0.9);
  backdrop-filter: blur(6px);
}

.top-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.top-logo img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-logo:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.top-kontakt {
  display: flex;
  gap: 2rem;
  color: #fff;
  font-size: 0.9rem;
}

.kontakt-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: right;
  font-size: 0.8rem;
  line-height: 0.9rem;
  padding-left: 2rem;
}

.kontakt-tel {
  color: var(--primary);
  font-weight: bold;
}

.top-kontakt > div:nth-child(2) {
  border-left: 1px solid #414141;
}

.btn-top {
  transition: ease-in-out 0.2s;
}

.btn-top:hover {
  background: var(--primary);
  color: #fff;
  transition: ease-in-out 0.2s;
}

/* ===== NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
}

.header-top {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.navbar {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    transition: padding .3s ease;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* .site-header.scrolled .header-contact {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
} */

.site-header.scrolled .header-top {
    padding: .4rem 1.5rem;
}

.site-header.scrolled .header-logo {
    height: 35px;
}

.site-header.scrolled .header-contact {
    gap: 1rem;
}

.site-header.scrolled .kontakt-col {
    font-size: .7rem;
    line-height: .8rem;
}

.site-header.scrolled .btn-cta {
    padding: .45rem .8rem;
    font-size: .75rem;
}

.header-top,
.header-logo,
.header-logo img,
.header-contact,
.kontakt-col,
.btn-cta {
    transition: all .3s ease;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all .3s ease;
}

.site-header.scrolled .navbar {
    padding: .65rem 1.5rem;
}

/* .header {
  background: var(--text-light);
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 60px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 100;
}

.header.scrolled {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header.scrolled .navbar {
  padding: 1rem 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.header.scrolled .navbar {
  background: transparent;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

/* .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
  background: transparent;
  transition: all 0.3s ease;
} */

.nav-links {
  color: var(--secondary);
  list-style-type: none;
  display: flex;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.header.scrolled .nav-links a {
  color: #fff;
}

.header.scrolled .nav-links a:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-cta {
  display: inline-block;
  color: var(--text-light);
  font-family: 'Poppins', system-ui, sans-serif;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 20px 13px;
  outline: 0;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background-color: var(--accent);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn-cta:hover {
  color: var(--text-light);
  background-color: var(--primary);
}

/* ===== LOGO ===== */
.header-logo {
  display: flex;
  align-items: center;
  height: 60px;
}

.header-logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* ===== HERO ===== */
.hero {
  background: url(../images/technician-checking-heating-system-boiler-room.webp) center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(17, 15, 31, 0.90),
    rgba(17, 15, 31, 0.70)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.hero-box {
  position: relative;
  background: rgba(17, 15, 31, 0.65);
  padding: 5.5rem;
  max-width: 800px;
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  overflow: visible;
  transform: translateY(-80px);
}

.hero-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid var(--primary);
  transform: translate(18px, 18px);
  pointer-events: none;
  /* box-shadow: 0 0 15px rgba(247, 113, 15, 0.4); */
  animation: borderOrbit 16s linear infinite;
  /* clip-path: polygon(
    70px 0,
    100% 0,
    100% 100%,
    0 100%,
    0 70px
  ); */
}

@keyframes borderOrbit {
  0%   { transform: translate(18px, 18px) scale(1); }
  25%  { transform: translate(-18px, 18px) scale(1.02); }
  50%  { transform: translate(-18px, -18px) scale(1); }
  75%  { transform: translate(18px, -18px) scale(0.98); }
  100% { transform: translate(18px, 18px) scale(1); }
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 1.2;
  color: #fff;
}

.hero-description {
  font-size: 1.2em;
  max-width: 600px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  color: var(--text-light);
  font-family: 'Poppins', system-ui, sans-serif;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 20px 13px;
  outline: 0;
  border: 1px solid var(--text-light);
  cursor: pointer;
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn:hover {
  color: #fff;
}

.btn:after {
  content: "";
  width: 100%;
  z-index: -1;
  position: absolute;
  height: 100%;
  top: 7px;
  left: 7px;
  transition: 0.2s;
}

.btn:hover:after {
  top: 0px;
  left: 0px;
}

.btn-primary:after {
  background-color: #f7710f;
}

.btn-secondary:after {
  background-color: #0F95F7;
}

/* ===== O NAS ===== */
.o-nas {
  position: relative;
  margin-top: -100px;
  padding: 0 2rem 4rem;
  z-index: 2;
}

.o-nas-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.o-nas-card {
  background: var(--secondary);
  color: var(--text-light);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.o-nas-card.featured {
  background: var(--primary);
  color: #fff;
  transform: translateY(-30px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.o-nas-card:hover {
  transform: translateY(-8px);
}

.o-nas-card.featured:hover {
  transform: translateY(-38px);
}

.o-nas-card .icon img {
  max-width: 80px;
}

.o-nas-card p {
  margin-top: auto;
}

/* ===== INSTALACJE SANITARNE ===== */
.instalacje {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.instalacje-container {
  max-width: 1100px;
  margin: 0 auto;
}

.instalacje-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.instalacje-header h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.instalacje-header p {
  opacity: 0.8;
}

.instalacje-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.instalacje-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 2rem 1.5rem;
  background: #fff;
  color: var(--secondary);

  font-weight: 500;
  border: 2px solid transparent;

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.instalacje-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.instalacje-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--primary);
  transition: 0.3s ease;
}

.instalacje-item:hover::after {
  width: 100%;
}

.instalacje-item.highlight {
  background: var(--secondary);
  color: #fff;
  font-weight: bold;
}

.instalacje-item.highlight:hover {
  background: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .instalacje-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== WYKOŃCZENIA ===== */
.wykonczenia {
  padding: 5rem 2rem;
  background: #fff;
}

.wykonczenia-container {
  max-width: 1100px;
  margin: 0 auto;
}

.wykonczenia-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
}

.wykonczenia-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.wykonczenia-img img {
  width: auto;
  max-height: 300px;
  display: block;
  border-radius: 20px;
  border: 4px solid var(--primary);
}

.wykonczenia-text p {
  line-height: 1.7;
}

.wykonczenia-highlight {
  background: var(--secondary);
  color: #fff;
  padding: 2rem;
  border-left: 5px solid var(--primary);
  line-height: 1.7;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .wykonczenia-row {
    grid-template-columns: 1fr;
  }

  .wykonczenia-img {
    order: -1;
  }

  .wykonczenia-img img {
    max-width: 350px;
    height: auto;
  }
}


/* ===== CERTYFIKATY ===== */
.realizacje {
  padding: 5rem 2rem;
  background: var(--bg-light);
  text-align: center;
}

.realizacje h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.realizacje-desc {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

.realizacje-box {
  max-width: 700px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--secondary);
  color: var(--text-light);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.realizacje-box:hover {
  transform: translateY(-6px);
  background: var(--primary);
  color: var(--secondary);
}

.realizacje-icon {
  flex-shrink: 0;
  font-size: 2.5rem;
  color: #fff;
}

.realizacje-icon svg {
  transition: transform 0.3s;
}

.realizacje-box:hover .realizacje-icon svg {
  transform: scale(1.15);
}

.realizacje-text {
  text-align: left;
}

.realizacje-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--text-light);
  opacity: 0.85;
}

.realizacje-text p {
  opacity: 0.85;
  margin-bottom: 1rem;
}

.realizacje-proof {
  padding-top: 2rem;
  color: var(--accent);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .realizacje-box {
    flex-direction: column;
    text-align: center;
  }

  .realizacje-text {
    text-align: center;
  }
}

/* ===== CERTYFIKATY ===== */
.certyfikaty {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

.certyfikaty h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.certyfikaty-desc {
  max-width: 600px;
  margin: 2rem auto 3rem;
  opacity: 0.8;
}

.certyfikaty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.certyfikaty-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
}

.certyfikaty-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .certyfikaty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox.show {
  display: flex;
}


/* ===== PARTNERZY ===== */
.partnerzy {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.partnerzy h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.partnerzy-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.partnerzy-slider {
    overflow: hidden;
    position: relative;
}

.partnerzy-slider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to right,
        #fff 0%,
        rgba(255,255,255,0.95) 20%,
        rgba(255,255,255,0) 100%
    );
}

.partnerzy-slider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to left,
        #fff 0%,
        rgba(255,255,255,0.95) 20%,
        rgba(255,255,255,0) 100%
    );
}

@media (max-width: 768px) {
    .partnerzy-slider::before,
    .partnerzy-slider::after {
        width: 50px;
    }
}

.partnerzy-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: partnerScroll 28s linear infinite;
}

.partner-card {
    width: 220px;
    min-width: 220px;
    background: var(--bg-light);
    padding: 2rem 1rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.partner-card img {
    height: 60px;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card span {
    font-weight: 600;
}

@keyframes partnerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-220px * 6 - 1.5rem * 6));
    }
}

.partnerzy-track:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partner-card {
        width: 180px;
        min-width: 180px;
    }

    .partner-card img {
        height: 50px;
    }
}

/* ===== KONTAKT ===== */
.kontakt {
  background: var(--secondary);
  color: #fff;
  padding: 5rem 2rem 0;
}

.kontakt-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* LEWA */
.kontakt-info h2 {
  color: var(--primary);
  font-size: 2.2rem;
}

.kontakt-desc {
  margin: 1rem 0 2rem;
  opacity: 0.85;
}

.kontakt-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.kontakt-item span {
  font-size: 1.2rem;
  color: var(--primary);
}

.kontakt-item span img {
  max-width: 18px;
  max-height: 18px;
}


/* FORMULARZ */
.kontakt-form {
  position: relative;
}

.kontakt-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder,
.kontakt-form select {
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  font-family: 'Poppins', system-ui, sans-serif;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
  outline: 1px solid var(--primary);
  background: rgba(255,255,255,0.12);
  color: #fff;
  caret-color: var(--primary);
}

.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.3px;
}

.kontakt-form select:valid {
  color: #fff;
}

.kontakt-form label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.kontakt-form select {
  padding: 0.9rem;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.kontakt-form select option {
  background: var(--secondary);
  color: #fff;
}

.kontakt-form select {
  background-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.kontakt-form select:hover,
.kontakt-form select:focus {
  background-color: rgba(255,255,255,0.12);
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .kontakt-container {
    grid-template-columns: 1fr;
  }
}


/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 3.5rem 1.8rem 2rem;
  background: var(--secondary);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== SUBPAGE HERO ===== */
.hero-subpage {
  height: 60vh;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* INTRO */
.usluga-intro {
  padding: 4rem 2rem;
  background: #fff;
}

.usluga-intro h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.usluga-intro p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ZAKRES */
.usluga-zakres {
  padding: 4rem 2rem;
  background: var(--bg-light);
}

.usluga-zakres h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.zakres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.zakres-item {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.zakres-item:hover {
  transform: translateY(-5px);
}

/* O NAS */
.o-nas-subpage {
  margin-top: 0;
  padding-top: 4rem;
}

/* CTA */
.cta {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--secondary);
  color: #fff;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
}

/* FAQ */
.faq {
  padding: 4rem 2rem;
  background: #fff;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  transition: 0.3s;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-item p {
  opacity: 0.85;
  line-height: 1.6;
}

/* ===== DZIEKUJEMY ===== */

.dziekujemy-text p {
  margin: 1rem 0 2rem;
}


/* ===== TOP BAR ===== */
@media (max-width: 768px) {
  /* .top-kontakt {
    display: none;
  }

  .top-container {
    justify-content: space-between;
  }

  .top-logo {
    height: 40px;
  } */

  .header-contact{
    display:none;
  }

.navbar{
    border-top:none;
    justify-content:flex-end;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:transparent;
    box-shadow:none;
    transform:translateY(-100%);
    opacity:0;
    transition:
      transform .3s ease,
      opacity .3s ease;
    z-index:999;
}

.navbar.visible{
    transform:translateY(0);
    opacity:1;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

  .mobile-toggle{
    display:block;
  }

  .site-header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    height: auto;
  }

  /* .header-top{
    padding:0 1rem;
    height:70px;
  } */

  .header-top {
    display: none;
  }

  .header-logo img{
    height:40px;
  }

  .mobile-toggle{
    display:block;
    font-size:2rem;
    color:var(--secondary);
  }

  .btn-top {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* .nav-links {
    flex-direction: column;
    display: none;
    gap: 1rem;
    text-align: center;
    background: #fff;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    padding: 1rem 0;
  } */

  .nav-links{
    position:fixed;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    padding:2rem;
    gap:1.5rem;
    box-shadow:0 15px 30px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .25s ease;
    display: flex;
    pointer-events: none;
  }

  .nav-links.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* .logo {
    height: 48px;
  } */

  .header-logo img {
    max-width: 150px;
  }

  .hero {
    min-height: 100svh;
    padding: 1.5rem;
  }

  .hero-box {
  transform: translateY(-20px);
}

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .o-nas {
    margin-top: -60px;
  }

  .o-nas-container {
    grid-template-columns: 1fr;
  }

  .o-nas-card.featured {
    transform: none;
  }

  .zakres-grid {
    grid-template-columns: 1fr;
  }

  .hero-subpage {
    height: 70vh;
  }
}
