/* Commons */
.section-heading {
  margin: 0 0 3rem;
  max-width: 720px;
}
.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  max-width: 38ch; /* readable measure; adjust if needed */
}
.section-subtitle {
  color: rgba(30, 30, 30, 0.72);
  font-size: 1.0625rem;
  margin: 0;
}
/* Navbar */
.navbar {
  background-color: var(--dezert-color-base);
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  left: 0;
  position: sticky;
  top: 0;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 1000;
  overflow-x: clip !important;
  margin: 0 auto;
  box-sizing: border-box;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}
.navbar__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
.navbar__logo {
  display: block;
  width: 420px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .navbar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .navbar__logo {
    width: 300px;
    max-height: 110px;
  }
}
@media (max-width: 768px) {
  .navbar__logo {
    width: 180px;
    max-height: 80px;
  }
}
.navbar__nav {
  flex: 1;
  text-align: center;
}
.navbar__menu {
  display: flex;
  gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar__link {
  font-weight: 500;
  color: var(--dezert-color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar__link:hover,
.navbar__link:focus {
  color: var(--dezert-color-accent);
}
.navbar__cta-wrapper {
  margin-left: auto;
}
.navbar__tools,
.navbar__cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
}
.navbar__cta {
  background-color: var(--dezert-color-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}
.navbar__cta:hover,
.navbar__cta:focus {
  background-color: var(--dezert-color-accent-hover);
}
/* Hero */
.hero {
  background-color: var(--dezert-color-muted);
  padding: clamp(4rem, 10vw, 6.25rem) 0;
}
.hero__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hero__media {
  display: flex;
  justify-content: center;
}
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Square fallback no longer special-cased; using processed 16:9 asset */

/* no special desktop overrides for hero image sizing */

/* Reduce internal left padding of processed 16:9 asset to visually tighten gap */
/* removed special-case clip for processed variants */

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(30, 30, 30, 0.75);
}
.hero__accent {
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.12), rgba(225, 6, 0, 0.02));
  border-radius: 32px;
  height: 220px;
}

/* Layout tuned for processed 16:9 hero asset */
/* === REMOVE DEFAULT WORDPRESS HEADER === */
#header,
#headerimg,
#header h1,
#header hr {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Services */
.services {
  padding: clamp(4rem, 9vw, 6rem) 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}
.service-card {
  width: 320px;
  height: 460px;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 240px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
}
.about {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg, #fff);
}
.about__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
  }
}
.about__text {
  margin-bottom: 1rem;
  color: rgba(30, 30, 30, 0.75);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}
.about__content,
.about__text,
.section-title,
.highlight__text,
.highlight__title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) {
  .about__highlights {
    grid-template-columns: 1fr;
  }
}
.highlight {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 20px 40px -32px rgba(30, 30, 30, 0.15);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: auto;
}
.highlight__icon svg {
  height: 36px;
  width: 36px;
}
.highlight__title {
  font-size: 1.125rem;
  margin: 1rem 0 0.5rem;
}
.highlight__text {
  margin: 0;
  color: rgba(30, 30, 30, 0.7);
}
/* Packages */
.packages {
  background-color: var(--dezert-color-muted);
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}
.packages__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
}
.packages__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.package-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 26px 44px -36px rgba(30, 30, 30, 0.22);
  padding: 2.5rem 2rem;
  position: relative;
}
.package-card__badge {
  background-color: var(--dezert-color-accent);
  border-radius: 999px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  left: 2rem;
  padding: 0.35rem 1rem;
  position: absolute;
  top: -0.75rem;
}
.package-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.package-card__description {
  color: rgba(30, 30, 30, 0.7);
  margin-bottom: 1.5rem;
}
.package-card__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.package-card__list li {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.package-card__list li::before {
  content: "\2713";
  color: var(--dezert-color-accent);
}
.package-card--highlight {
  border: 2px solid rgba(225, 6, 0, 0.18);
}
/* Testimonials */
.testimonials {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.testimonials__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 42px -40px rgba(30, 30, 30, 0.28);
  padding: 2rem;
}
.testimonial-card__quote {
  font-size: 1.0625rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-card__meta {
  color: rgba(30, 30, 30, 0.65);
  margin: 0;
}
/* Coverage */
.coverage {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.coverage__inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.coverage__text {
  color: rgba(30, 30, 30, 0.7);
  margin-bottom: 1.5rem;
}
.coverage__list {
  list-style: disc;
  margin: 0 0 2rem 1.5rem;
  color: rgba(30, 30, 30, 0.8);
}
.coverage__iframe {
  border: 0;
  border-radius: 20px;
  min-height: 320px;
  width: 100%;
  box-shadow: 0 24px 40px -36px rgba(30, 30, 30, 0.18);
}
/* Contact form */
.contact-form {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.contact-form__inner {
  background-color: #fff;
  border: 1px solid rgba(30, 30, 30, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 46px -38px rgba(30, 30, 30, 0.2);
  margin: 0 auto;
  max-width: 960px;
  padding: clamp(2.5rem, 5vw, 3.5rem);
}
.contact-form__form {
  display: grid;
  gap: 1.5rem;
}
.contact-form__embed {
  margin: 0 auto;
  max-width: 640px;
}
.contact-form__row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-form__label {
  font-weight: 600;
}
.contact-form__field input,
.contact-form__field textarea {
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--dezert-color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}
.contact-form__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
/* Footer */
.footer {
  background-color: #1E1E1E;
  color: #fff;
  padding: 3rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
}
.footer__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer__address {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.footer__link:hover,
.footer__link:focus {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem auto 0;
  max-width: 1200px;
  padding: 1.5rem 2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
.home-szkodniki {
  padding: 4rem 2rem;
  background-color: #fafafa;
  text-align: center;
}
.home-szkodniki .section-subtitle {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #444;
}
.szkodniki__cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.services-page {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-item.highlight {
  border-color: #E10600;
  box-shadow: 0 4px 12px rgba(225,6,0,0.2);
  background: #fff8f8;
}

@media (max-width: 768px) {
  .services__list {
    grid-template-columns: 1fr;
  }
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 240px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
}

.packages__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.packages__cta .btn-secondary {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #e10600;
  color: #e10600;
  background: transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.packages__cta .btn-secondary:hover {
  background: #e10600;
  color: #fff;
}

.faq {
  background: #f9f9f9;
  padding: 3rem 1rem;
}

.faq__list {
  max-width: 900px;
  margin: 2rem auto;
}

.faq__item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.faq__question {
  font-size: 1.1rem;
  color: #e10600;
  margin-bottom: 0.5rem;
}

.faq__answer {
  font-size: 1rem;
  color: #333;
}

.faq__cta {
  text-align: center;
  margin-top: 2rem;
}

.mini-faq {
  background-color: #fafafa;
  padding: 4rem 2rem;
  border-top: 1px solid #e5e5e5;
}

.mini-faq .faq__item {
  margin-bottom: 1.5rem;
}

.mini-faq .faq__question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.mini-faq .faq__answer {
  color: #555;
  line-height: 1.6;
}

.mini-faq .faq__cta {
  margin-top: 2rem;
  text-align: center;
}

.mini-faq .btn-secondary {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid #e10600;
  color: #e10600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mini-faq .btn-secondary:hover {
  background-color: #e10600;
  color: #fff;
}

/* Poradnik */
.poradnik-page {
  background-color: #f7f7f7;
  padding: clamp(2rem, 4vw, 4rem) 1.5rem;
}

.poradnik-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.sidebar {
  flex: 0 0 25%;
  background-color: #fff;
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.06);
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

.sidebar__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar__item {
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sidebar__item--active {
  border-color: rgba(225, 6, 0, 0.18);
  background-color: rgba(225, 6, 0, 0.06);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 0.18);
}

.sidebar__link {
  display: block;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
}

.sidebar__link-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #1a1a1a;
}

.sidebar__link-desc {
  display: block;
  font-size: 0.9375rem;
  color: rgba(30, 30, 30, 0.66);
  line-height: 1.5;
}

.sidebar__link:focus,
.sidebar__link:hover {
  color: inherit;
}

.article-content {
  flex: 0 0 60%;
  background-color: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 45px rgba(26, 26, 26, 0.08);
  border: 1px solid rgba(30, 30, 30, 0.08);
}

.article-hero {
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  display: flex;
  justify-content: center;
}

.article-hero img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(30, 30, 30, 0.08);
  background-color: rgba(225, 6, 0, 0.05);
  padding: 1rem;
}

.poradnik-article {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.poradnik-article header {
  display: grid;
  gap: 0.5rem;
}

.poradnik-article__meta {
  font-size: 0.9375rem;
  color: rgba(30, 30, 30, 0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.poradnik-article__meta span::before {
  content: '•';
  margin: 0 0.5rem;
  color: rgba(30, 30, 30, 0.4);
}

.poradnik-article__meta span:first-child::before {
  content: '';
  margin: 0;
}

.poradnik-article h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  color: #1a1a1a;
}

.poradnik-article h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-top: 2rem;
  color: #e10600;
}

.poradnik-article h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin-top: 1.5rem;
  color: #1f1f1f;
}

.poradnik-article p,
.poradnik-article ul {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(30, 30, 30, 0.9);
}

.poradnik-article ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.poradnik-article li {
  margin-bottom: 0.5rem;
}

.poradnik-article__cta {
  margin-top: 2.5rem;
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
  background-color: rgba(225, 6, 0, 0.08);
  padding: 1.25rem;
  border-radius: 12px;
  color: #c00400;
}

.cta-box {
  flex: 0 0 15%;
  background-color: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(30, 30, 30, 0.08);
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.07);
  position: sticky;
  top: 160px;
}

.cta-box__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-box h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #1a1a1a;
}

.cta-box p {
  margin: 0;
  color: rgba(30, 30, 30, 0.75);
  line-height: 1.6;
}

.cta-box__button {
  display: inline-block;
  text-align: center;
  background-color: #e10600;
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cta-box__button:hover,
.cta-box__button:focus {
  background-color: #b30500;
}

.cta-box__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.cta-box__benefits li {
  padding-left: 1.25rem;
  position: relative;
  color: rgba(30, 30, 30, 0.7);
}

.cta-box__benefits li::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: #e10600;
}

@media (max-width: 1024px) {
  .poradnik-layout {
    flex-wrap: wrap;
  }

  .sidebar,
  .article-content,
  .cta-box {
    flex: 1 1 100%;
    position: static;
    max-height: none;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.06);
  }

  .article-content {
    order: 2;
  }

  .cta-box {
    order: 3;
  }
}

@media (max-width: 640px) {
  .poradnik-page {
    padding: 1.5rem 1rem 2.5rem;
  }

  .sidebar__title {
    text-align: center;
  }

  .sidebar__link {
    padding: 0.85rem 1rem;
  }

  .cta-box__button {
    width: 100%;
  }
}

/* Contact Page */
.contact-page {
  background-color: var(--dezert-color-muted);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  display: flex;
  justify-content: center;
}

.contact-page__inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-page .section-heading {
  margin-bottom: 3rem;
}



.contact-page .card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 3rem;
}

.form-contact-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-contact-details p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-detail-item {
  margin-bottom: 1.5rem;
}

.contact-detail-item h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dezert-color-accent);
  margin-bottom: 0.25rem;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 1.1rem;
  color: var(--dezert-color-text);
  text-decoration: none;
  margin: 0;
}

@media (max-width: 800px) {
  .contact-page .card {
    grid-template-columns: 1fr;
  }
}
