/* =========================================================
   STRONA GŁÓWNA &#8212; HERO
========================================================= */

.home-hero {
  padding: 22px 0 30px;
  background: #081223;
}

.home-hero-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #081223;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.home-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 35, 0.84) 0%,
    rgba(8, 18, 35, 0.68) 36%,
    rgba(8, 18, 35, 0.42) 64%,
    rgba(8, 18, 35, 0.14) 100%
  );
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);
  gap: 48px;
  align-items: center;
  min-height: 590px;
  padding: 56px;
}

.home-hero-main {
  max-width: 760px;
}

.home-hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ffad42;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.home-hero-main h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-hero-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.home-hero-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-hero-actions .btn:not(.primary) {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.home-hero-actions .btn:not(.primary):hover {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.home-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.home-hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.home-hero-services {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(8, 18, 35, 0.78);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.home-hero-services-title {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-hero-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.home-hero-services a:last-child {
  border-bottom: 0;
}

.home-hero-services a strong {
  flex: 0 0 auto;
  color: #ff9a1f;
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.home-hero-services a:hover {
  color: #ffad42;
}

.home-hero-services a:hover strong {
  transform: translateX(4px);
}

.home-hero-services a:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.55);
  outline-offset: 4px;
  border-radius: 5px;
}

@media (max-width: 1000px) {
  .home-hero-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 30px;
    padding: 42px 34px;
  }

  .home-hero-main h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
  }
}

@media (max-width: 820px) {
  .home-hero-card,
  .home-hero-content {
    min-height: auto;
  }

  .home-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 18, 35, 0.52) 0%,
      rgba(8, 18, 35, 0.64) 36%,
      rgba(8, 18, 35, 0.80) 68%,
      rgba(8, 18, 35, 0.92) 100%
    );
  }

  .home-hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding: 44px 28px;
  }

  .home-hero-services {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding: 14px 0 22px;
  }

  .home-hero-card {
    border-radius: 18px;
  }

  .home-hero-bg img {
    object-position: 58% center;
  }

  .home-hero-content {
    gap: 24px;
    padding: 34px 18px 24px;
  }

  .home-hero-main h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .home-hero-lead {
    margin-top: 16px;
  }

  .home-hero-actions {
    flex-direction: column;
    margin-top: 22px;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero-pills {
    flex-direction: column;
  }

  .home-hero-pills span {
    width: 100%;
    border-radius: 11px;
  }

  .home-hero-services {
    padding: 18px;
    border-radius: 15px;
  }

  .home-hero-services a {
    min-height: 50px;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; NAJWAŻNIEJSZE INFORMACJE
========================================================= */

.home-proof {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding: 0 0 14px;
}

.home-proof-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 18, 35, 0.12);
}

.home-proof-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 22px 26px;
}

.home-proof-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}

.home-proof-item strong {
  color: #b45309;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.home-proof-item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .home-proof-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-item:nth-child(2)::after {
    display: none;
  }

  .home-proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .home-proof {
    margin-top: -10px;
  }

  .home-proof-card {
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .home-proof-item {
    min-height: 0;
    padding: 18px;
  }

  .home-proof-item:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .home-proof-item:not(:last-child)::after {
    display: none;
  }

  .home-proof-item strong {
    font-size: 1.55rem;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; OPINIE KLIENTÓW
========================================================= */

.home-reviews {
  padding: 14px 0;
}

.home-reviews-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 24px;
}

.home-reviews-heading {
  max-width: 720px;
}

.home-reviews-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-reviews-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-reviews-heading p {
  max-width: 690px;
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-reviews-google {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f9fb;
}

.home-reviews-source {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.home-reviews-source strong {
  line-height: 1.35;
}

.home-reviews-rating {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-reviews-rating > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.home-reviews-google .btn {
  flex: 0 0 auto;
  margin: 0;
  justify-content: center;
  text-align: center;
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-review {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #f8f9fb 100%
    );
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.home-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.home-review-source {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-review blockquote {
  flex: 1;
  margin: 0;
}

.home-review blockquote p {
  margin: 0;
  color: #202938;
  font-size: 0.98rem;
  line-height: 1.75;
}

.home-review footer {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.home-review footer strong {
  display: block;
  margin-bottom: 10px;
  line-height: 1.35;
}

.home-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-review-tags span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.09);
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.3;
}

.home-reviews-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 5px solid #ff8a00;
  border-radius: 13px;
  background: #081223;
  color: #fff;
}

.home-reviews-area > strong {
  flex: 0 0 auto;
}

.home-reviews-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-reviews-locations span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  line-height: 1.3;
}

@media (hover: hover) {
  .home-review {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .home-review:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.4);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }
}

@media (max-width: 1050px) {
  .home-reviews-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-reviews-google {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  .home-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-review:last-child {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .home-reviews-area {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .home-reviews-card {
    padding: 24px 18px;
  }

  .home-reviews-google {
    align-items: stretch;
    flex-direction: column;
  }

  .home-reviews-google .btn {
    width: 100%;
  }

  .home-reviews-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-review,
  .home-review:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 19px;
  }

  .home-reviews-area {
    padding: 17px 16px;
  }

  .home-reviews-locations {
    flex-direction: column;
    width: 100%;
  }

  .home-reviews-locations span {
    width: 100%;
    border-radius: 10px;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; GŁÓWNE USŁUGI
========================================================= */

.home-services {
  padding: 14px 0;
}

.home-services-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-services-head {
  display: grid;
  grid-template-columns:
    180px
    minmax(280px, 0.9fr)
    minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-services-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-services-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-services-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-service {
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #f8f9fb 100%
    );
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.home-service-top {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.home-service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff8a00;
  color: #111;
  font-size: 0.85rem;
  font-weight: 900;
}

.home-service-label {
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: right;
}

.home-service h3 {
  margin: 0 0 11px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.home-service > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-service ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.home-service li {
  position: relative;
  padding-left: 18px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-service li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8a00;
}

.home-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #111827;
  font-weight: 850;
  line-height: 1.4;
  text-decoration: none;
}

.home-service-link span {
  flex: 0 0 auto;
  color: #b45309;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.home-service-link:hover {
  color: #b45309;
}

.home-service-link:hover span {
  transform: translateX(4px);
}

.home-service-link:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.4);
  outline-offset: 5px;
  border-radius: 4px;
}

.home-services-claim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 18px;
  padding: 21px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: #081223;
  color: #fff;
}

.home-services-claim > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-services-claim strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.home-services-claim span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.home-services-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.home-services-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-services-actions .btn:not(.primary) {
  border-color: #fff;
  background: #fff;
  color: #111;
}

@media (hover: hover) {
  .home-service {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .home-service:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }
}

@media (max-width: 1100px) {
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service {
    min-height: 370px;
  }
}

@media (max-width: 950px) {
  .home-services-head {
    grid-template-columns: 150px 1fr;
  }

  .home-services-head p {
    grid-column: 1 / -1;
  }

  .home-services-claim {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .home-services-card {
    padding: 24px 18px;
  }

  .home-services-head {
    display: block;
    margin-bottom: 20px;
  }

  .home-services-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .home-services-head h2 {
    margin-bottom: 12px;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-service {
    min-height: 0;
    padding: 20px 18px;
  }

  .home-services-claim {
    padding: 18px 16px;
  }

  .home-services-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-services-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; DLACZEGO BIURO EVITA
========================================================= */

.home-why {
  padding: 14px 0;
}

.home-why-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-why-head {
  display: grid;
  grid-template-columns:
    180px
    minmax(280px, 0.95fr)
    minmax(340px, 1.05fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-why-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-why-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-why-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-why-layout {
  display: grid;
  grid-template-columns:
    minmax(300px, 0.8fr)
    minmax(0, 1.2fr);
  gap: 16px;
}

.home-why-feature {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(255, 138, 0, 0.2),
      transparent 34%
    ),
    #081223;
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 18, 35, 0.14);
}

.home-why-feature-label {
  margin-bottom: 10px;
  color: #ffad42;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-why-year {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-why-feature > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.home-why-feature-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.home-why-feature-points > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.home-why-feature-points strong {
  color: #fff;
  line-height: 1.35;
}

.home-why-feature-points span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-why-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.home-why-feature-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-why-feature-actions .btn:not(.primary) {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-why-item {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #f8f9fb 100%
    );
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.home-why-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ff8a00;
  color: #111;
  font-size: 0.84rem;
  font-weight: 900;
}

.home-why-item h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.4;
}

.home-why-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-why-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.07);
}

.home-why-note > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-why-note strong {
  line-height: 1.4;
}

.home-why-note span {
  color: var(--muted);
  line-height: 1.55;
}

.home-why-note .btn {
  flex: 0 0 auto;
  margin: 0;
  justify-content: center;
}

@media (hover: hover) {
  .home-why-item {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .home-why-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }
}

@media (max-width: 1000px) {
  .home-why-layout {
    grid-template-columns: 1fr;
  }

  .home-why-feature-actions {
    margin-top: 0;
  }
}

@media (max-width: 950px) {
  .home-why-head {
    grid-template-columns: 150px 1fr;
  }

  .home-why-head p {
    grid-column: 1 / -1;
  }

  .home-why-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .home-why-card {
    padding: 24px 18px;
  }

  .home-why-head {
    display: block;
    margin-bottom: 20px;
  }

  .home-why-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .home-why-head h2 {
    margin-bottom: 12px;
  }

  .home-why-feature {
    padding: 24px 18px;
  }

  .home-why-feature-actions {
    flex-direction: column;
  }

  .home-why-feature-actions .btn {
    width: 100%;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-why-item {
    padding: 20px 18px;
  }

  .home-why-note {
    padding: 18px 16px;
  }

  .home-why-note .btn {
    width: 100%;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; WYBRANE REALIZACJE
========================================================= */

.home-gallery {
  padding: 14px 0;
}

.home-gallery-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-gallery-head {
  display: grid;
  grid-template-columns:
    180px
    minmax(280px, 0.9fr)
    minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-gallery-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-gallery-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-gallery-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-gallery-item {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.home-gallery-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
}

.home-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
}

.home-gallery-content strong {
  color: #111827;
  font-size: 1.05rem;
  line-height: 1.4;
}

.home-gallery-content > span {
  color: var(--muted);
  line-height: 1.6;
}

.home-gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: #081223;
  color: #fff;
}

.home-gallery-bottom > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-gallery-bottom span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.home-gallery-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.home-gallery-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-gallery-actions .btn:not(.primary) {
  border-color: #fff;
  background: #fff;
  color: #111;
}

@media (hover: hover) {
  .home-gallery-item {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .home-gallery-image img {
    transition: transform 0.3s ease;
  }

  .home-gallery-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  }

  .home-gallery-item:hover img {
    transform: scale(1.025);
  }
}

.home-gallery-item:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.45);
  outline-offset: 4px;
}

@media (max-width: 950px) {
  .home-gallery-head {
    grid-template-columns: 150px 1fr;
  }

  .home-gallery-head p {
    grid-column: 1 / -1;
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gallery-item:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
  }

  .home-gallery-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .home-gallery-card {
    padding: 24px 18px;
  }

  .home-gallery-head {
    display: block;
    margin-bottom: 20px;
  }

  .home-gallery-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .home-gallery-head h2 {
    margin-bottom: 12px;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-gallery-item:last-child {
    grid-column: auto;
    max-width: none;
  }

  .home-gallery-bottom {
    padding: 18px 16px;
  }

  .home-gallery-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-gallery-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; CENNIKI USŁUG
========================================================= */

.home-pricing {
  padding: 14px 0;
}

.home-pricing-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-pricing-head {
  display: grid;
  grid-template-columns:
    180px
    minmax(280px, 0.9fr)
    minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-pricing-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-pricing-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-pricing-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-price {
  display: flex;
  min-width: 0;
  min-height: 440px;
  flex-direction: column;
  padding: 23px 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #f8f9fb 100%
    );
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.home-price-top {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.home-price-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff8a00;
  color: #111;
  font-size: 0.84rem;
  font-weight: 900;
}

.home-price-badge {
  display: inline-flex;
  justify-content: flex-end;
  color: #b45309;
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: right;
}

.home-price h3 {
  margin: 0 0 11px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.home-price > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-price-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.home-price-list > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.home-price-list strong {
  color: #111827;
  font-size: 0.9rem;
  line-height: 1.4;
}

.home-price-list span {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.45;
}

.home-price-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 19px;
  color: #111827;
  font-weight: 850;
  line-height: 1.4;
  text-decoration: none;
}

.home-price-link span {
  flex: 0 0 auto;
  color: #b45309;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.home-price-link:hover {
  color: #b45309;
}

.home-price-link:hover span {
  transform: translateX(4px);
}

.home-price-link:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.42);
  outline-offset: 5px;
  border-radius: 4px;
}

.home-pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 21px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: #081223;
  color: #fff;
}

.home-pricing-note > div:first-child {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  gap: 5px;
}

.home-pricing-note strong {
  line-height: 1.4;
}

.home-pricing-note span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.home-pricing-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.home-pricing-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-pricing-actions .btn:not(.primary) {
  border-color: #fff;
  background: #fff;
  color: #111;
}

@media (hover: hover) {
  .home-price {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .home-price:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }
}

@media (max-width: 1000px) {
  .home-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-price:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 950px) {
  .home-pricing-head {
    grid-template-columns: 150px 1fr;
  }

  .home-pricing-head p {
    grid-column: 1 / -1;
  }

  .home-pricing-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .home-pricing-card {
    padding: 24px 18px;
  }

  .home-pricing-head {
    display: block;
    margin-bottom: 20px;
  }

  .home-pricing-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .home-pricing-head h2 {
    margin-bottom: 12px;
  }

  .home-pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-price,
  .home-price:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px 18px;
  }

  .home-pricing-note {
    padding: 18px 16px;
  }

  .home-pricing-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-pricing-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   STRONA GŁÓWNA &#8212; FAQ
========================================================= */

.home-faq {
  padding: 14px 0;
}

.home-faq-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-faq-head {
  display: grid;
  grid-template-columns:
    180px
    minmax(280px, 0.9fr)
    minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-faq-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.home-faq-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-faq-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: #081223;
  color: #fff;
}

.home-faq-contact > div:first-child {
  display: flex;
  max-width: 720px;
  flex-direction: column;
  gap: 5px;
}

.home-faq-contact strong {
  line-height: 1.4;
}

.home-faq-contact span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.home-faq-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.home-faq-actions .btn {
  margin: 0;
  justify-content: center;
}

.home-faq-actions .btn:not(.primary) {
  border-color: #fff;
  background: #fff;
  color: #111;
}

@media (max-width: 950px) {
  .home-faq-head {
    grid-template-columns: 150px 1fr;
  }

  .home-faq-head p {
    grid-column: 1 / -1;
  }

  .home-faq-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .home-faq-card {
    padding: 24px 18px;
  }

  .home-faq-head {
    display: block;
    margin-bottom: 20px;
  }

  .home-faq-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .home-faq-head h2 {
    margin-bottom: 12px;
  }

  .home-faq-contact {
    padding: 18px 16px;
  }

  .home-faq-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-faq-actions .btn {
    width: 100%;
  }
}