/* =========================================================
   STILLANOVA — SPRZĄTANIE JEDNORAZOWE
   Układ desktopowy. Plik ładowany po service-page.css.
========================================================= */

/* =========================================================
   HERO
========================================================= */

.service-page-oneoff .oneoff-hero-image {
  object-position: right center;
  transform: scale(1.035);
  animation: oneoffHeroDrift 20s ease-in-out infinite alternate;
}

@keyframes oneoffHeroDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.085) translate3d(-1.2%, 0, 0);
  }
}


@media (min-width: 850px) and (max-width: 640px) {
  .service-hero-description {
    line-height: 1.25;
  }
}
/* =========================================================
   KAFELKI ZAKRESU
========================================================= */

.oneoff-scope-card {
  color: inherit;
  text-decoration: none;
}

.oneoff-scope-card .service-scope-card-content h3 {
  min-height: 65px;
}

.oneoff-scope-card .service-scope-card-content p {
  min-height: 67px;
}

/* =========================================================
   SZCZEGÓŁOWY ZAKRES
========================================================= */

.oneoff-details-section {
  position: relative;
  padding: 118px 0 124px;
  background: #eee9df;
}

.oneoff-details-heading p {
  max-width: 820px;
}

.oneoff-tabs {
  margin-top: 58px;
}

/* =========================================================
   ZAKŁADKI
========================================================= */

.oneoff-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(4, 58, 23, 0.12);
  border-radius: 24px;
  background: rgba(247, 245, 240, 0.78);
  box-shadow: 0 14px 36px rgba(28, 43, 34, 0.08);
}

.oneoff-tab {
  min-height: 58px;
  padding: 12px 18px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--service-copy);
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.oneoff-tab:hover {
  color: var(--service-green-dark);
  background: rgba(159, 212, 188, 0.16);
}

.oneoff-tab:focus-visible {
  outline: 3px solid rgba(29, 158, 117, 0.34);
  outline-offset: 3px;
}

.oneoff-tab.is-active,
.oneoff-tab.is-active:hover {
  color: var(--service-cream);
  background: var(--service-ink);
  box-shadow: 0 9px 22px rgba(4, 58, 23, 0.2);
}

/* =========================================================
   PANEL USŁUGI
========================================================= */

.oneoff-tab-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1fr);
  align-items: center;
  gap: 120px;

  min-height: 500px;
  margin-top: 20px;
  padding: 56px;

  overflow: hidden;
  border: 1px solid rgba(4, 58, 23, 0.09);
  border-radius: 32px;

  background-color: #eee7da;
  background-image: var(--panel-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: 0 22px 50px rgba(28, 43, 34, 0.13);
  color: var(--service-green-dark);

  animation: oneoffPanelEnter 0.35s ease both;
}

.oneoff-tab-panel[hidden] {
  display: none;
}

@keyframes oneoffPanelEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   NAGŁÓWEK I OPIS
========================================================= */

.oneoff-panel-intro {
  max-width: 390px;
}

.oneoff-panel-intro h3 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--service-green-dark);
}

.oneoff-panel-intro > p {
  margin: 20px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgb(4, 58, 23);
}

/* =========================================================
   CENA
========================================================= */

.oneoff-panel-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(4, 58, 23, 0.65);
  font-family: "DM Sans", sans-serif;
  color: var(--service-green-dark);
}

.oneoff-panel-price-label {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--service-green-dark);
}

.oneoff-panel-price-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.oneoff-panel-price-line > span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--service-green-dark);
}

.oneoff-panel-price-line strong {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--service-green-dark);
}

.oneoff-panel-price-note {
  flex-basis: 100%;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--service-green-dark);
}

/* =========================================================
   LISTA ZAKRESU
========================================================= */

.oneoff-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oneoff-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 46px;
  padding: 0;

  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(4, 58, 23, 0.82);
}

.oneoff-checklist li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;

  background-image: url("/assets/icons/check-service.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* =========================================================
   USŁUGI UZUPEŁNIAJĄCE
========================================================= */

.oneoff-related-services {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  align-items: center;
  gap: 44px;
  margin-top: 20px;
  padding: 28px 34px;
  border: 1px solid rgba(29, 158, 117, 0.2);
  border-radius: 24px;
  background: rgba(159, 212, 188, 0.17);
  color: var(--service-ink);
}

.oneoff-related-services strong {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--service-green-dark);
}

.oneoff-related-services p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--service-copy);
}

.oneoff-related-services a {
  color: var(--service-green-dark);
  text-decoration-color: rgba(4, 58, 23, 0.35);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.oneoff-related-services a:hover {
  color: var(--service-green);
}

/* =========================================================
   RESPONSYWNOŚĆ — MNIEJSZY DESKTOP
========================================================= */

@media (max-width: 1199px) {
  .oneoff-details-section {
    padding: 104px 0 112px;
  }

  .oneoff-tabs {
    margin-top: 50px;
  }

  .oneoff-tab-panel {
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
    gap: 64px;
    min-height: 480px;
    padding: 48px;
  }

  .oneoff-checklist {
    gap: 16px 26px;
  }
}

/* =========================================================
   RESPONSYWNOŚĆ — TABLET POZIOMY
========================================================= */

@media (max-width: 1050px) {
  .oneoff-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oneoff-tab-panel {
    grid-template-columns: minmax(250px, 0.78fr) minmax(390px, 1.22fr);
    gap: 42px;
    min-height: 470px;
    padding: 44px 40px;
  }

  .oneoff-panel-intro h3 {
    font-size: 38px;
  }

  .oneoff-checklist {
    gap: 14px 22px;
  }

  .oneoff-checklist li {
    font-size: 14px;
  }

  .oneoff-related-services {
    grid-template-columns: 1fr 1.7fr;
    gap: 30px;
  }
}

/* =========================================================
   RESPONSYWNOŚĆ — TABLET PIONOWY
========================================================= */

@media (max-width: 900px) {
  .service-page-oneoff .oneoff-hero-image {
    object-position: right center;
    transform: scale(1.02);
    animation: none;
  }

  .oneoff-details-section {
    padding: 92px 0 100px;
  }

  .oneoff-details-heading p {
    max-width: 680px;
  }

  .oneoff-tabs {
    margin-top: 44px;
  }

  .oneoff-tab-list {
    gap: 8px;
    padding: 8px;
    border-radius: 21px;
  }

  .oneoff-tab {
    min-height: 54px;
    padding: 11px 14px;
    border-radius: 15px;
    font-size: 14px;
  }

  .oneoff-tab-panel {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 46px 42px 48px;
    background-position: center center;
  }

  .oneoff-panel-intro {
    max-width: 560px;
  }

  .oneoff-panel-intro h3 {
    font-size: 40px;
  }

  .oneoff-checklist {
    gap: 16px 30px;
  }

  .oneoff-checklist li {
    min-height: 44px;
    font-size: 15px;
  }

  .oneoff-related-services {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 30px;
  }
}

/* =========================================================
   RESPONSYWNOŚĆ — TELEFON
========================================================= */

@media (max-width: 640px) {
  .oneoff-scope-card .service-scope-card-content h3,
  .oneoff-scope-card .service-scope-card-content p {
    min-height: 0;
  }

  .oneoff-details-section {
    padding: 76px 0 84px;
  }

  .oneoff-tabs {
    margin-top: 36px;
  }

  .oneoff-tab-list {
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
  }

  .oneoff-tab {
    min-height: 52px;
    padding: 9px 8px;
    border-radius: 13px;
    font-size: 13px;
  }

  .oneoff-tab-panel {
    gap: 32px;
    margin-top: 14px;
    padding: 34px 22px 36px;
    border-radius: 24px;
    background-position: center center;
  }

  .oneoff-panel-intro h3 {
    font-size: 32px;
  }

  .oneoff-panel-intro > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .oneoff-panel-price {
    margin-top: 24px;
    padding-top: 16px;
  }

  .oneoff-panel-price-line strong {
    font-size: 32px;
  }

  .oneoff-checklist {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .oneoff-checklist li {
    gap: 11px;
    min-height: 0;
    font-size: 15px;
  }

  .oneoff-checklist li::before {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .oneoff-related-services {
    margin-top: 14px;
    padding: 24px 22px;
    border-radius: 20px;
  }

  .oneoff-related-services strong {
    font-size: 22px;
  }

  .oneoff-related-services p {
    font-size: 15px;
  }
}

/* =========================================================
   RESPONSYWNOŚĆ — MAŁY TELEFON
========================================================= */

@media (max-width: 420px) {
  .oneoff-tab {
    font-size: 12px;
  }

  .oneoff-tab-panel {
    padding-inline: 18px;
  }

  .oneoff-panel-price-line {
    gap: 5px;
  }

  .oneoff-panel-price-line > span {
    font-size: 13px;
  }

  .oneoff-panel-price-line strong {
    font-size: 30px;
  }
}

/* Zakładki 4 × 1 na desktopie i tablecie */

@media (min-width: 701px) and (max-width: 1050px) {
  .oneoff-tab-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .oneoff-tab {
    min-height: 58px;
    padding: 10px 7px;

    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    text-wrap: balance;
  }
}

/* Zakładki 2 × 2 dopiero na wąskim ekranie */

@media (max-width: 730px) {
  .oneoff-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   OGRANICZENIE ANIMACJI
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .service-page-oneoff .oneoff-hero-image {
    animation: none;
    transform: none;
  }

  .oneoff-tab-panel {
    animation: none;
  }
}

