/* ======================
   HOME — unikatowy układ strony głównej
   Ładowane tylko na stronie głównej
====================== */

:root {
  --home-secondary: var(--color-secondary);
  --home-secondary-dark: var(--color-secondary-dark);
  --home-secondary-soft: var(--color-secondary-soft);
}

.home-section-kicker {
  margin: 0 0 10px;
  color: var(--color-accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.home-lead {
  max-width: 940px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.7;
  font-size: 1.08em;
  color: #3f3b36;
}

.home-small-note {
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
  color: #5a534c;
  font-size: 0.96em;
  line-height: 1.6;
}

/* ======================
   HERO HOME — bez powielania hero oferty
====================== */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 12% 18%, rgba(226, 97, 30, 0.14), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(137, 199, 137, 0.22), transparent 30%),
    linear-gradient(135deg, #fffaf6 0%, #faf9f6 48%, #ffffff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 97, 30, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 97, 30, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 44px;
  align-items: center;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(226, 97, 30, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-accent-dark);
  font-weight: 800;
  font-size: 0.88em;
}

.home-hero__title {
  margin: 0;
  max-width: 850px;
  color: #1f1b18;
  font-size: clamp(2.15rem, 4.4vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.home-hero__lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: #312d29;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.62;
  font-weight: 650;
}

.home-hero__note {
  max-width: 760px;
  margin: 16px 0 0;
  color: #5a524c;
  line-height: 1.68;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-hero__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid var(--home-secondary);
  border-radius: 999px;
  background: var(--home-secondary);
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(226, 97, 30, 0.30);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-hero__primary:hover,
.home-hero__primary:focus {
  background: var(--home-secondary-dark);
  border-color: var(--home-secondary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(226, 97, 30, 0.42);
  text-decoration: none !important;
}

.home-hero__secondary,
.home-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid rgba(226, 97, 30, 0.42);
  border-radius: 999px;
  background: #fff;
  color: var(--color-accent-dark) !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.055);
  transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.home-hero__secondary:hover,
.home-hero__secondary:focus,
.home-text-link:hover,
.home-text-link:focus {
  transform: translateY(-2px);
  background: #fff7f1;
  border-color: var(--color-accent);
  box-shadow: 0 10px 26px rgba(226, 97, 30, 0.12);
  text-decoration: none !important;
}

.home-hero__card {
  align-self: stretch;
  padding: 28px;
  border: 1px solid rgba(226, 97, 30, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(38, 31, 26, 0.11);
  backdrop-filter: blur(10px);
}

.home-hero__card-top {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.home-hero__badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(226, 97, 30, 0.12);
  color: var(--color-accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.home-hero__card strong {
  color: #211c18;
  font-size: 1.45rem;
  line-height: 1.25;
}

.home-hero__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  color: #3b352f;
  box-shadow: 0 4px 16px rgba(0,0,0,.045);
}

.home-hero__list i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(226, 97, 30, 0.1);
  color: var(--color-accent);
}

/* ======================
   PROCES
====================== */

.home-process-section,
.home-audience-section,
.home-gallery-banner-section,
.home-trust-section,
.home-about-section,
.home-final-cta {
  padding: 62px 0;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}

.home-process-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
}

.home-process-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 136px;
  height: 136px;
  border-radius: 999px;
  background: rgba(47, 125, 90, 0.09);
}

.home-step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(47, 125, 90, 0.48);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.home-process-card h3 {
  margin: 0 0 12px;
  color: #211c18;
  font-size: 1.22rem;
}

.home-process-card p {
  margin: 0;
  color: #514941;
  line-height: 1.67;
}

/* ======================
   DLA KOGO
====================== */

.home-audience-section.section-alt {
  background: linear-gradient(180deg, var(--color-bg-green-soft) 0%, #fff 100%);
}

.home-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-audience-grid article {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 7px 22px rgba(0,0,0,.055);
}

.home-audience-grid i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(226, 97, 30, 0.1);
  color: var(--color-accent);
  font-size: 1.25rem;
}

.home-audience-grid h3 {
  margin: 0 0 10px;
  color: #211c18;
  font-size: 1.08rem;
}

.home-audience-grid p {
  margin: 0;
  color: #524a43;
  line-height: 1.62;
  font-size: 0.96em;
}

/* ======================
   ZAUFANIE / ATUTY
====================== */

.home-trust-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(13, 105, 134, 0.14), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(226, 97, 30, 0.07), transparent 26%),
    linear-gradient(180deg, #f4fafb 0%, #ffffff 100%);
}

.home-trust-section .section-title {
  color: #173947;
}

.home-trust-section .home-section-kicker {
  color: var(--color-secondary-dark);
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.home-trust-grid > details,
.home-trust-grid article {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(250,253,253,.96) 100%);
  border: 1px solid rgba(13, 105, 134, .14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(13, 105, 134, .08);
}

.home-trust-grid > details summary {
  list-style: none;
}

.home-trust-grid > details summary::-webkit-details-marker {
  display: none;
}

.home-trust-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-secondary-dark);
  font-size: 1.1rem;
}

.home-trust-grid p {
  margin: 0;
  color: #31434b;
  line-height: 1.64;
}

/* ======================
   SPECJALIZACJE
====================== */

.home-specializations-section {
  background: #fff;
}

.home-specializations-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.home-specialization-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(31, 27, 24, .08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(226, 97, 30, .08), transparent 30%),
    #fff;
  color: #211d19 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(31, 27, 24, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-specialization-card--featured {
  background:
    radial-gradient(circle at 12% 10%, rgba(226, 97, 30, .14), transparent 32%),
    linear-gradient(135deg, #fffaf6 0%, #ffffff 78%);
}

.home-specialization-card span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(226, 97, 30, .11);
  color: var(--color-accent-dark);
  font-size: .84rem;
  font-weight: 900;
}

.home-specialization-card strong {
  max-width: 520px;
  color: #211d19;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  line-height: 1.25;
}

.home-specialization-card::after {
  content: "Zobacz →";
  color: var(--color-accent-dark);
  font-weight: 900;
}

.home-specialization-card:hover,
.home-specialization-card:focus {
  transform: translateY(-3px);
  border-color: rgba(226, 97, 30, .24);
  box-shadow: 0 16px 38px rgba(31, 27, 24, .10);
}

/* ======================
   WYBRANE REALIZACJE — slider
====================== */

.home-gallery-banner-section {
  padding: 62px 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 125, 90, 0.11), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(137, 199, 137, 0.13), transparent 26%),
    linear-gradient(180deg, var(--color-bg-green-soft) 0%, #fff 100%);
}

.home-selected-gallery__heading {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.home-selected-gallery__heading .home-section-kicker,
.home-selected-gallery__heading .section-title {
  text-align: center;
}

.home-selected-gallery__heading .section-title {
  margin-bottom: 0;
}

.home-selected-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.home-selected-gallery__media {
  min-width: 0;
}

.home-selected-gallery__viewport {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.home-selected-gallery__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 28px;
  background: #f6efe8;
  box-shadow: 0 16px 42px rgba(31, 27, 24, 0.14);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-selected-gallery__track::-webkit-scrollbar {
  display: none;
}

.home-selected-gallery__track:focus-visible {
  outline: 3px solid rgba(226, 97, 30, 0.48);
  outline-offset: 5px;
}

.home-selected-gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  aspect-ratio: 16 / 10;
  background: #efe2d6;
}

.home-selected-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.home-selected-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(31, 27, 24, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.home-selected-gallery__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 11px;
  height: 11px;
  border-right: 3px solid #2d2722;
  border-bottom: 3px solid #2d2722;
}

.home-selected-gallery__arrow--prev::before {
  transform: translate(-42%, -50%) translateY(1.5px) rotate(135deg);
}

.home-selected-gallery__arrow--next::before {
  transform: translate(-58%, -50%) translateY(1.5px) rotate(-45deg);
}

.home-selected-gallery__arrow:hover,
.home-selected-gallery__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.86);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 16px 38px rgba(31, 27, 24, 0.24);
}

.home-selected-gallery__arrow--prev {
  left: 14px;
}

.home-selected-gallery__arrow--next {
  right: 14px;
}

.home-selected-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 18px;
}

.home-selected-gallery__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 27, 24, 0.24);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-selected-gallery__dot.is-active {
  width: 26px;
  background: var(--home-secondary);
}

.home-selected-gallery__dot:focus-visible {
  outline: 3px solid rgba(47, 125, 90, 0.42);
  outline-offset: 4px;
}

.home-selected-gallery__content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-selected-gallery__cta {
  width: min(100%, 320px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 26px;
  border: 2px solid var(--home-secondary);
  border-radius: 999px;
  background: var(--home-secondary);
  color: #fff !important;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(47, 125, 90, .28);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-selected-gallery__cta::after {
  content: "→";
  margin-left: 10px;
  font-weight: 900;
}

.home-selected-gallery__cta:hover,
.home-selected-gallery__cta:focus {
  background: var(--home-secondary-dark);
  border-color: var(--home-secondary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(47, 125, 90, .36);
  text-decoration: none !important;
}

.home-selected-gallery__empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed rgba(47, 125, 90, 0.34);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  color: #5c544c;
  text-align: center;
  font-weight: 750;
}

/* ======================
   O FIRMIE — skrót
====================== */

.home-about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.home-about-grid .section-title {
  text-align: left;
}

.home-about-grid .home-section-kicker {
  text-align: left;
}

.home-about-copy {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 7px 24px rgba(0,0,0,.055);
}

.home-about-copy p {
  margin: 0 0 16px;
  color: #463f38;
  line-height: 1.72;
}

.home-about-copy p:last-of-type {
  margin-bottom: 22px;
}

/* ======================
   CTA + szybki formularz
====================== */

.home-final-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
  padding: 32px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(226, 97, 30, 0.14), transparent 28%),
    #24211f;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}

.home-final-cta__box .home-section-kicker {
  text-align: left;
  color: #ffb184;
}

.home-final-cta__box h2 {
  margin: 0 0 12px;
  color: #fff;
  text-align: left;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.home-final-cta__box p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

.home-final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 2px solid var(--home-secondary);
  border-radius: 999px;
  background: var(--home-secondary);
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(226, 97, 30, 0.34);
  text-decoration: none !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-final-cta__button:hover,
.home-final-cta__button:focus {
  background: var(--home-secondary-dark);
  border-color: var(--home-secondary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(226, 97, 30, 0.46);
  text-decoration: none !important;
}

.home-contact-bridge {
  position: relative;
  max-width: 760px;
  margin: -6px auto 28px;
  padding: 0 18px;
  text-align: center;
}

.home-contact-bridge::before {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto 12px;
  background: linear-gradient(180deg, rgba(226,97,30,0.15), rgba(226,97,30,0.72));
}

.home-contact-bridge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(226, 97, 30, 0.18);
  color: var(--color-accent-dark);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,.055);
}

.home-contact-bridge span::after {
  content: "↓";
  color: var(--color-accent);
  font-weight: 900;
}

.home-contact-bridge p {
  max-width: 640px;
  margin: 12px auto 0;
  color: #5a534c;
  line-height: 1.62;
  font-size: 0.98em;
}


.contact-section--home {
  padding: 0;
}

.contact-section--home .form-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 10px;
}

.contact-section--home .contact-card--quick {
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
}

/* ======================
   RESPONSYWNOŚĆ
====================== */

@media (max-width: 1050px) {
  .home-hero__inner,
  .home-selected-gallery__grid,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-audience-grid,
  .home-trust-grid,
  .home-specializations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-specialization-card--featured {
    grid-column: 1 / -1;
  }

  .home-process-grid {
    grid-template-columns: 1fr;
  }

  .home-selected-gallery__content {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 46px 0 44px;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__primary,
  .home-hero__secondary,
  .home-final-cta__button {
    width: 100%;
    text-align: center;
  }

  .home-hero__card {
    padding: 20px;
  }

  .home-audience-grid,
  .home-trust-grid,
  .home-specializations-grid {
    grid-template-columns: 1fr;
  }

  .home-specialization-card--featured {
    grid-column: auto;
  }


  .home-selected-gallery__heading {
    margin-bottom: 20px;
  }

  .home-selected-gallery__grid {
    gap: 18px;
  }

  .home-selected-gallery__viewport {
    max-width: min(100%, 430px);
  }

  .home-selected-gallery__track {
    border-radius: 22px;
  }

  .home-selected-gallery__slide {
    aspect-ratio: 4 / 5;
  }

  .home-selected-gallery__arrow {
    display: none;
  }

  .home-selected-gallery__dots {
    margin-top: 14px;
  }

  .home-selected-gallery__cta {
    width: 100%;
    max-width: 360px;
    min-height: 54px;
  }

  .contact-section--home .form-container {
    max-width: none;
    padding-inline: 6px;
  }

  .contact-section--home .contact-card--quick {
    max-width: none;
    padding: 24px 16px;
  }

  .home-final-cta__box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .home-contact-bridge {
    margin-top: -10px;
    margin-bottom: 24px;
  }

  .home-contact-bridge::before {
    height: 26px;
  }

  .home-contact-bridge p {
    font-size: 0.94em;
  }

  .home-about-grid .section-title,
  .home-about-grid .home-section-kicker,
  .home-final-cta__box .home-section-kicker,
  .home-final-cta__box h2 {
    text-align: center;
  }

  .home-process-section,
  .home-audience-section,
  .home-gallery-banner-section,
  .home-specializations-section,
  .home-trust-section,
  .home-about-section,
  .home-final-cta {
    padding: 42px 0;
  }

  .home-specialization-card {
    min-height: 150px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .home-hero__title {
    font-size: 2.05rem;
  }

  .home-hero__lead {
    font-size: 1.02rem;
  }

  .home-hero__list li {
    grid-template-columns: 34px 1fr;
    padding: 12px;
  }
}


/* === Mobile-first responsive details on HOME === */
.home-responsive-details summary {
  cursor: pointer;
  list-style: none;
}

.home-responsive-details summary::-webkit-details-marker {
  display: none;
}

.home-responsive-details summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--color-accent-dark);
  font-weight: 900;
}

.home-responsive-details[open] summary::after {
  content: "−";
}

.home-hero__note {
  display: block;
}

.home-hero__note summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-dark);
  font-weight: 850;
}

.home-hero__note p {
  margin: 10px 0 0;
}

.home-process-card summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-process-card summary strong {
  color: #211d19;
  font-size: 1.16rem;
  line-height: 1.25;
}

.home-audience-grid > details,
.home-trust-grid > details {
  position: relative;
}

.home-audience-grid > details summary,
.home-trust-grid > details summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-audience-grid > details summary strong,
.home-trust-grid > details summary strong {
  color: #211d19;
  line-height: 1.3;
}

.home-audience-grid > details p,
.home-trust-grid > details p {
  margin-top: 12px;
}

@media (min-width: 701px) {
  .home-process-card summary::after,
  .home-audience-grid > details summary::after,
  .home-trust-grid > details summary::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-hero__note,
  .home-process-card,
  .home-audience-grid > details,
  .home-trust-grid > details {
    border: 1px solid rgba(31, 27, 24, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 27, 24, 0.05);
  }

  .home-trust-grid > details {
    border-color: rgba(13, 105, 134, .14);
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 26px rgba(13, 105, 134, .08);
  }

  .home-hero__note {
    padding: 14px 16px;
  }

  .home-process-card {
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .home-process-card summary,
  .home-audience-grid > details summary,
  .home-trust-grid > details summary {
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 16px 56px 16px 16px;
  }

  .home-process-card summary strong,
  .home-audience-grid > details summary strong,
  .home-trust-grid > details summary strong {
    flex: 1;
  }

  .home-process-card summary::after,
  .home-audience-grid > details summary::after,
  .home-trust-grid > details summary::after {
    position: absolute;
    right: 14px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: 0;
    border-radius: 999px;
    background: var(--home-secondary-soft);
    color: var(--home-secondary-dark);
    transform: translateY(-50%);
    pointer-events: none;
  }

  .home-process-card p,
  .home-audience-grid > details p,
  .home-trust-grid > details p {
    padding: 0 16px 16px;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .home-lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .home-small-note,
  .home-contact-bridge p {
    font-size: 0.96rem;
    line-height: 1.52;
  }
}


/* v12 — spójny rytm kolorystyczny: pomarańcz zostaje CTA, tła sekcji są spokojniejsze */
.home-specializations-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(125, 87, 66, .06), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

.home-specialization-card {
  border-color: rgba(125, 87, 66, .12);
}

.home-specialization-card:not(.home-specialization-card--featured) span {
  background: var(--color-secondary-soft);
  color: var(--color-secondary-dark);
}

.home-about-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(226, 97, 30, .07), transparent 30%),
    linear-gradient(180deg, #fffaf6 0%, #fff 100%);
}

.home-process-section {
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

.home-process-card {
  border-color: rgba(125, 87, 66, .12);
}

.home-process-card:nth-child(2)::after {
  background: rgba(13, 105, 134, .09);
}

.home-process-card:nth-child(2) .home-step-number {
  color: rgba(13, 105, 134, .42);
}

.home-process-card:nth-child(3)::after {
  background: rgba(226, 97, 30, .085);
}

.home-process-card:nth-child(3) .home-step-number {
  color: rgba(226, 97, 30, .42);
}


/* v18 — mobile: krótsze zamknięte kafle "Dlaczego DAPAL®" i wyśrodkowanie akcentów hero */
@media (max-width: 700px) {
  .home-eyebrow {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: center;
  }

  .home-hero__card-top {
    justify-items: center;
    text-align: center;
  }

  .home-hero__badge {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .home-trust-grid {
    gap: 16px;
  }

  .home-trust-grid > details {
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .home-trust-grid > details summary {
    min-height: 0 !important;
    padding: 18px 58px 18px 18px !important;
  }

  .home-trust-grid > details summary strong {
    margin-bottom: 0;
  }

  .home-trust-grid > details[open] {
    padding: 0 !important;
  }

  .home-trust-grid > details[open] p {
    padding: 0 18px 18px;
  }
}
