/* Strona główna – tylko układy specyficzne dla tej strony. Komponenty: style.css. */

/* Hero: tekst na bieli, zdjęcie z sesji stojące na linii paska faktów, podpis na białej plakietce */
.hero { padding-top: clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero__text { grid-column: 1 / span 7; padding-bottom: clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.hero__text h1 { max-width: 13.5em; }
.hero__text .lead { margin-top: 1.75rem; max-width: 34em; }
.hero__cta { margin-top: 2.5rem; gap: 1.25rem 2.25rem; }
.hero__note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); max-width: 34rem; }

.hero__figure { grid-column: 8 / span 5; align-self: end; position: relative; margin: 0; }
.hero__figure::before {
  content: ""; position: absolute; top: -1rem; right: -1rem; width: 38%; height: 32%;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
}
.hero__figure img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: #2a2a2c; }
/* Podpis na białej plakietce w lewym dolnym rogu zdjęcia */
.hero__caption {
  position: absolute; left: clamp(-1.5rem, -1.5vw, -.75rem); bottom: clamp(1.25rem, 2.5vw, 2rem); z-index: 1;
  width: 12rem; padding: .9rem 1.1rem 1rem; background: var(--white); border-top: 2px solid var(--gold);
  box-shadow: 0 10px 30px -12px rgba(24, 34, 45, .35);
  font-size: var(--fs-xs); line-height: 1.5; color: var(--steel-deep);
}
.hero__caption strong { display: block; font: 500 1rem/1.3 var(--font-serif); color: var(--ink); margin-bottom: .2rem; }

.trust { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }

.other-services { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 2rem; margin-top: 2.25rem; max-width: 52rem; color: var(--muted); }
.other-services p { flex: 1 1 28rem; }

.about-teaser__grid { align-items: center; }
.about-teaser__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-teaser__text h2 { max-width: 15em; }
.about-teaser__text .stack { margin-top: 1.5rem; }
.about-teaser__dl { margin-top: 2rem; }
.about-teaser__dl dt:last-of-type, .about-teaser__dl dd:last-of-type { border-bottom: 1px solid var(--line); }
.about-teaser__more { margin-top: 1.75rem; }

.event-teaser {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius);
}
.event-teaser__text { grid-column: 1 / span 6; }
.event-teaser__text > * + * { margin-top: 1rem; }
.event-teaser__text h2 { font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem); }
.event-teaser__dl { grid-column: 8 / span 5; align-self: start; }
.event-teaser__dl dt:last-of-type, .event-teaser__dl dd:last-of-type { border-bottom: 1px solid var(--line); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text, .hero__figure { grid-column: 1 / -1; }
  .hero__text { padding-bottom: 2.5rem; }
  .hero__figure { max-width: 26rem; width: 100%; }
  .event-teaser__text, .event-teaser__dl { grid-column: 1 / -1; }
  .about-teaser__media { max-width: 34rem; }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  .hero__figure { max-width: none; }
  .hero__figure::before { display: none; }
  .hero__caption { left: .75rem; bottom: .75rem; width: auto; max-width: 13rem; }
}
