/* Kolory i typografia */
:root {
  --paper: #faf7f1;
  --white: #fffdf9;
  --navy: #10384d;
  --ink: #132f3e;
  --sage: #dfe4d7;
  --green: #43634f;
  --muted: #58666a;
  --line: #d8d9ce;
  --serif: Georgia,'Times New Roman',serif;
  --sans: Arial,Helvetica,sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-underline-offset: .3em
}

button {
  font: inherit;
  color: inherit
}

a,button {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #7f9b66;
  outline-offset: 5px
}

p {
  margin: 0 0 1.25rem
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 1.4rem
}

h1 {
  font-size: clamp(2.7rem,5.7vw,5.9rem)
}

h2 {
  font-size: clamp(2rem,3.7vw,3.8rem)
}

h3 {
  font-size: 1.75rem
}

button,a {
  touch-action: manipulation
}

.wrap {
  width: min(1240px,calc(100% - 96px));
  margin-inline: auto
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 1rem
}

.skip:focus {
  top: 1rem
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(19,47,62,.08)
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply
}

.brand span {
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .035em;
  text-transform: uppercase
}

.brand small {
  display: block;
  margin-top: .35rem;
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem
}

.nav a {
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap
}

.nav a:not(.button):hover,.nav a[aria-current=page]:not(.button) {
  text-decoration: underline
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  border-radius: 3px;
  padding: .9rem 1.65rem;
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.4;
  min-height: 48px;
  transition: background .2s
}

.button:hover {
  background: #244e60
}

.button.light {
  background: transparent;
  color: var(--navy)
}

.menu-button {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .6rem .85rem;
  min-height: 44px
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 1.7rem;
  color: var(--green)
}

.eyebrow:before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
  margin: 0 14px 4px 0
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  align-items: stretch
}

.hero-copy {
  padding: 78px 46px 74px 0;
  align-self: center
}

.hero-copy h1 {
  max-width: 680px
}

.lead {
  font-size: 1.2rem;
  max-width: 580px;
  line-height: 1.6;
  color: var(--muted)
}

.hero-copy .lead {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 2rem
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 42% 0 0 0;
  background: var(--sage);
  margin-right: calc((min(1240px,100vw - 96px) - 100vw)/2)
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%
}

.image-note {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(255,253,249,.9);
  font-size: .7rem;
  padding: .2rem .5rem;
  color: #53605a
}

.section {
  padding-block: 72px
}

.section-head {
  max-width: 720px
}

.offer-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px
}

.service-list {
  border-top: 1px solid var(--line)
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0
}

.service-row strong {
  font-size: 1.16rem;
  font-weight: 400
}

.service-row small {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  margin-top: .18rem
}

.service-row .number {
  font-size: .75rem;
  color: var(--green)
}

.service-row:hover strong {
  color: var(--green);
  text-decoration: underline
}

.text-link {
  display: inline-block;
  font-size: .95rem;
  margin-top: .8rem
}

.centre-band {
  background: var(--sage);
  border-top: 1px solid #d3dacb;
  border-bottom: 1px solid #d3dacb
}

.centre-band .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  padding-block: 60px;
  align-items: center
}

.centre-band h2 {
  max-width: 420px;
  margin-bottom: 0
}

.centre-band p {
  max-width: 580px;
  margin-bottom: 1rem
}

.review-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px
}

.review-grid h2 {
  font-size: clamp(2rem,3vw,3rem)
}

.source-note {
  font-size: .82rem;
  color: var(--muted)
}

.review-track {
  position: relative
}

.review {
  margin: 0;
  min-height: 125px
}

.review[hidden] {
  display: none
}

.review blockquote {
  margin: 0 0 1.2rem;
  font: italic 1.7rem/1.45 var(--serif);
  letter-spacing: -.02em
}

.review figcaption {
  font-size: .87rem;
  color: var(--muted)
}

.review-controls {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem
}

.review-controls button {
  border: 1px solid #b2bbb0;
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center
}

.review-controls button svg {
  width: 15px;
  height: 15px
}

.review-controls .pause {
  width: auto;
  border-radius: 3px;
  padding: 0 .8rem;
  font-size: .8rem
}

.review-position {
  font-size: .8rem;
  color: var(--muted);
  margin-left: .3rem
}

.review-controls a {
  margin-left: auto;
  font-size: .83rem
}

.contact-band {
  background: var(--navy);
  color: var(--white)
}

.contact-band .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 38px;
  padding-block: 44px
}

.contact-band h2 {
  font-size: 2.4rem;
  margin: 0
}

.contact-band .phone {
  font: 2.1rem/1.2 var(--serif);
  text-decoration: none;
  white-space: nowrap
}

.contact-band .address {
  font-size: .93rem;
  line-height: 1.6
}

.contact-band .phone,.contact-band .address {
  border-left: 1px solid #5d7886;
  padding-left: 38px
}

.footer-bottom {
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: .78rem
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap
}

.page-heading {
  padding: 70px 0 55px;
  border-bottom: 1px solid var(--line)
}

.page-heading h1 {
  font-size: clamp(2.8rem,5vw,4.9rem);
  max-width: 850px
}

.page-heading .eyebrow {
  margin-bottom: 1.1rem
}

.page-heading .lead {
  margin-bottom: 0
}

.breadcrumbs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.6rem
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 48px 35px
}

.person-card {
  text-decoration: none
}

.person-photo {
  background: #e2e0d9;
  aspect-ratio: 4/4.5;
  overflow: hidden;
  border-radius: 3px
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .3s
}

.person-card:hover img {
  transform: scale(1.025)
}

.person-card h2 {
  font-size: 1.7rem;
  letter-spacing: -.025em;
  margin: 1.25rem 0 .55rem
}

.person-role {
  font-size: .82rem;
  color: var(--green);
  line-height: 1.5;
  margin-bottom: .7rem
}

.person-card p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .5rem
}

.person-card .text-link {
  font-size: .83rem
}

.profile {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 75px;
  align-items: start
}

.profile .person-photo {
  max-width: 450px
}

.prose {
  max-width: 760px
}

.prose h2 {
  font-size: 2.5rem;
  margin-top: 2.5rem
}

.prose h2:first-child {
  margin-top: 0
}

.prose p {
  color: var(--muted)
}

.prose li {
  margin-bottom: .75rem
}

.prose ul {
  padding-left: 1.3rem
}

.split-content {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start
}

.quiet-note {
  border-left: 2px solid #9bb08b;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: .9rem
}

.price-section {
  margin-bottom: 52px
}

.price-section h2 {
  font-size: 2.3rem;
  margin-bottom: 1.3rem
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left
}

.price-table th {
  font-weight: 400;
  font-size: .8rem;
  color: var(--muted);
  padding: .8rem 0;
  border-bottom: 1px solid var(--ink)
}

.price-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line)
}

.price-table th:first-child {
  width: 60%
}

.price-table td:last-child,.price-table th:last-child {
  text-align: right
}

.price-table td:nth-child(2) {
  font-size: .87rem;
  color: var(--muted);
  padding-inline: 12px
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px
}

.contact-details h2 {
  font-size: 2.2rem
}

.contact-details .large-phone {
  font: clamp(2rem,4vw,3.6rem)/1.3 var(--serif);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem
}

.contact-details .email {
  overflow-wrap: anywhere
}

.contact-details address {
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.2rem
}

.contact-details .quiet-note {
  margin-top: 1.8rem
}

.service-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 70px
}

.service-index article {
  border-top: 1px solid var(--line);
  padding-top: 25px
}

.service-index h2 {
  font-size: 2rem
}

.service-index p {
  color: var(--muted)
}

.related-people {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 30px
}

.related-people h2 {
  font-size: 2rem
}

.related-people ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem
}

.related-people a {
  font-size: .9rem
}

.privacy-copy {
  max-width: 820px
}

.privacy-copy h2 {
  font-size: 1.9rem;
  margin-top: 2rem
}

.privacy-copy p {
  color: var(--muted)
}

.photo-caption {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .7rem
}

.about-caption {
  color: var(--green);
  font-size: .85rem
}

.no-script {
  border: 1px solid var(--line);
  padding: 1rem;
  font-size: .9rem
}

@media(min-width:1500px) {
  .hero-photo {
    margin-right: 0;
    border-radius: 40% 0 0 0
  }
  .hero {
    margin-block: 25px
  }
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 56px)
  }
  .nav {
    gap: 1rem
  }
  .nav a {
    font-size: .82rem
  }
  .brand img {
    width: 68px;
    height: 68px
  }
  .brand small {
    display: none
  }
  .header-inner {
    gap: 1rem;
    min-height: 90px
  }
  .hero-copy {
    padding: 60px 30px 60px 0
  }
  .hero {
    min-height: 520px
  }
  .hero-photo {
    margin-right: -28px
  }
  .offer-grid,.centre-band .wrap,.review-grid,.split-content {
    gap: 45px
  }
  .contact-band .wrap {
    gap: 25px
  }
  .contact-band .phone {
    font-size: 1.65rem
  }
  .contact-band .phone,.contact-band .address {
    padding-left: 25px
  }
  .profile {
    gap: 45px
  }
  .team-grid {
    gap: 40px 24px
  }
}

@media(max-width:760px) {
  .wrap {
    width: calc(100% - 40px)
  }
  .header-inner {
    min-height: 84px;
    position: relative
  }
  .brand img {
    width: 62px;
    height: 62px
  }
  .brand span {
    font-size: .78rem
  }
  .menu-button {
    display: block
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    padding: 1.2rem 20px 1.5rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    z-index: 20;
    box-shadow: 0 10px 15px #132f3e0a
  }
  .nav.open {
    display: flex
  }
  .nav a {
    font-size: 1rem;
    padding: .45rem 0;
    min-height: 44px
  }
  .nav .button {
    padding: .85rem
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0
  }
  .hero-copy {
    padding: 43px 0 32px
  }
  .hero-copy h1 {
    font-size: clamp(2.7rem,9vw,4rem);
    max-width: 500px
  }
  .eyebrow {
    font-size: .68rem;
    letter-spacing: .11em;
    margin-bottom: 1.1rem
  }
  .hero-copy .lead {
    font-size: 1.25rem;
    max-width: 400px;
    margin-bottom: 1.5rem
  }
  .hero-photo {
    height: 310px;
    margin: 0 -20px;
    border-radius: 23% 0 0 0
  }
  .hero-photo img {
    object-position: center
  }
  .image-note {
    font-size: .63rem
  }
  .section {
    padding-block: 45px
  }
  .offer-grid,.review-grid,.split-content {
    grid-template-columns: 1fr;
    gap: 25px
  }
  .offer-grid h2,.review-grid h2 {
    max-width: 340px
  }
  .section-head p {
    margin-bottom: 0
  }
  .service-row {
    padding: 1.05rem 0
  }
  .service-row strong {
    font-size: 1.04rem
  }
  .service-row small {
    font-size: .81rem
  }
  .centre-band .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 40px
  }
  .centre-band h2 {
    max-width: 400px
  }
  .centre-band p {
    font-size: .95rem
  }
  .review blockquote {
    font-size: 1.5rem
  }
  .review {
    min-height: 130px
  }
  .review-controls {
    flex-wrap: wrap
  }
  .review-controls a {
    margin-left: 0;
    flex-basis: 100%;
    margin-top: 10px
  }
  .contact-band .wrap {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-block: 35px
  }
  .contact-band .phone,.contact-band .address {
    border-left: 0;
    padding: 0
  }
  .contact-band .phone {
    font-size: 2.4rem
  }
  .contact-band h2 {
    font-size: 2rem
  }
  .footer-bottom {
    display: block;
    font-size: .73rem
  }
  .footer-links {
    margin-top: 1rem;
    gap: 1rem
  }
  .page-heading {
    padding: 38px 0
  }
  .page-heading h1 {
    font-size: 2.8rem
  }
  .lead {
    font-size: 1.05rem
  }
  .team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px 18px
  }
  .person-card h2 {
    font-size: 1.4rem;
    margin-top: .9rem
  }
  .person-role {
    font-size: .73rem
  }
  .person-card p {
    font-size: .82rem
  }
  .profile {
    grid-template-columns: 1fr;
    gap: 32px
  }
  .profile .person-photo {
    max-width: 380px
  }
  .prose h2 {
    font-size: 2rem
  }
  .price-section h2 {
    font-size: 1.9rem
  }
  .price-table th:first-child {
    width: 50%
  }
  .price-table td {
    font-size: .85rem;
    padding: .85rem 0
  }
  .price-table td:nth-child(2) {
    font-size: .73rem;
    padding-inline: 8px
  }
  .price-table th {
    font-size: .72rem
  }
  .contact-details {
    grid-template-columns: 1fr;
    gap: 35px
  }
  .service-index {
    grid-template-columns: 1fr;
    gap: 32px
  }
  .service-index h2 {
    font-size: 1.8rem
  }
}

@media(max-width:380px) {
  .wrap {
    width: calc(100% - 32px)
  }
  .hero-photo {
    margin-inline: -16px;
    height: 270px
  }
  .hero-copy h1 {
    font-size: 2.6rem
  }
  .team-grid {
    grid-template-columns: 1fr
  }
  .person-photo {
    aspect-ratio: 4/4.5;
    max-height: 420px
  }
  .brand img {
    width: 55px;
    height: 55px
  }
  .brand span {
    font-size: .7rem
  }
  .review-controls {
    gap: .5rem
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important
  }
}

/* Autentyczne zdjęcia centrum */
.hero-photo {
  height: 580px;
  min-height: 0;
  align-self: center;
  border-radius: 100px 0 0 0;
}

.hero-photo img {
  object-position: 50% 52%;
}

.editorial-photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  margin-top: 2rem;
}

.offer-introduction {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 64px;
}

.offer-introduction .editorial-photo {
  margin-top: 0;
  max-height: 410px;
}

.offer-introduction h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

/* Podsumowanie całej wizytówki — tylko ze zweryfikowanych danych */
.google-summary {
  padding-block: 10px 20px;
}

.rating-value {
  font: 4rem/1.1 var(--serif);
  color: var(--navy);
}

.rating-value span {
  font: 1.25rem var(--sans);
  color: var(--muted);
}

.google-summary p {
  margin: .5rem 0;
}

.rating-count {
  font-weight: 600;
}

.review-controls {
  flex-wrap: wrap;
}

/* Kontakt, mapa, parking i film */
.arrival-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}

.entrance-photo {
  margin: 0;
}

.entrance-photo img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: 50% 65%;
}

.entrance-photo figcaption {
  font-size: .875rem;
  color: var(--muted);
  padding-top: .7rem;
}

.arrival-grid h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.external-media {
  position: relative;
  background: var(--sage);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.external-media.map {
  height: 390px;
  margin-bottom: 1.5rem;
}

.external-media.video {
  aspect-ratio: 16 / 9;
}

.external-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.media-prompt {
  position: relative;
  max-width: 380px;
  padding: 1.5rem;
  text-align: center;
  background: var(--white);
  margin: 1rem;
}

.media-prompt p {
  margin-bottom: 1rem;
}

.media-prompt small {
  display: block;
  font-size: .875rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.external-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.directions-photo {
  width: 100%;
  margin-top: 1.5rem;
}

.arrival-directions {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.arrival-directions li {
  margin-bottom: 1rem;
  padding-left: .3rem;
}

.arrival-video {
  display: grid;
  grid-template-columns: .6fr 1fr;
  align-items: center;
  gap: 64px;
}

@media (max-width: 1050px) {
  .offer-introduction,
  .arrival-grid,
  .arrival-video {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .hero-photo {
    height: 360px;
    border-radius: 60px 0 0 0;
  }

  .offer-introduction,
  .arrival-grid,
  .arrival-video {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .offer-introduction {
    margin-bottom: 40px;
  }

  .editorial-photo {
    max-height: 420px;
  }

  .arrival-grid {
    margin-top: 40px;
  }

  .entrance-photo img {
    height: 440px;
    object-position: center 70%;
  }

  .external-media.map {
    height: 340px;
  }

  .external-media.video {
    min-height: 260px;
  }

  .media-prompt {
    padding: 1rem;
    margin: .75rem;
  }
}

/* O nas — opis centrum przeplatany autentycznymi zdjęciami */
.about-introduction {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: start;
}

.about-room-photo {
  margin: 0;
}

.about-room-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 70px 0 0 0;
}

.about-room-photo figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .875rem;
}

.about-approach {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.about-detail-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.about-detail-photo {
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center;
}

.first-visit-steps {
  padding-left: 1.3rem;
}

.first-visit-steps li {
  padding-left: .35rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 1050px) {
  .about-introduction,
  .about-detail-row {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .about-introduction,
  .about-detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-room-photo img {
    height: 450px;
    border-radius: 40px 0 0 0;
  }

  .about-detail-photo {
    height: 360px;
  }
}

/* Autentyczne zdjęcia zajęć — pełne kadry bez przycinania osób. */
.service-photo {
  margin: 2rem 0 0;
}

.service-photo img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: left center;
}

.service-photo figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .875rem;
  max-width: 32rem;
}

/* Krótki formularz, z czytelnymi stanami wysyłki. */
.form-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.form-intro {
  max-width: 28rem;
}

.contact-form {
  min-width: 0;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: .45rem;
  font-weight: 600;
}

.form-field label span {
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #9daaa7;
  border-radius: 4px;
  padding: .8rem .9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  min-height: 48px;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #7f9b66;
  outline-offset: 4px;
}

.contact-form .button {
  cursor: pointer;
}

.contact-form .button:disabled {
  opacity: .55;
  cursor: default;
}

.form-privacy {
  font-size: .875rem;
  color: var(--muted);
}

.form-status {
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 40rem;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  color: #8b3026;
}

.form-status[data-state="success"] {
  color: #2e593d;
}

.form-trap {
  display: none;
}

.google-widget {
  max-width: 400px;
  width: 100%;
}

.google-widget gmp-place-details {
  display: block;
  width: 100%;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .contact-form-layout {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .contact-form-layout,
  .form-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-intro {
    margin-bottom: 2rem;
  }

  .service-photo img {
    max-height: 570px;
  }
}

/* Media nie mogą wymuszać szerokości większej niż kolumna na telefonie. */
.external-media {
  min-width: 0;
  width: 100%;
}

.media-prompt {
  min-width: 0;
  max-width: min(380px, calc(100% - 2rem));
}

@media (max-width: 760px) {
  .external-media.video {
    aspect-ratio: auto;
    min-height: 260px;
  }
}

/* Dodatki WordPressa, zgodne z istniejącą stroną. */
.news-section { border-top: 1px solid #dce4df; }
.news-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.news-heading h2 { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.news-card { min-width: 0; border-top: 2px solid #8aa9a0; padding-top: 24px; }
.news-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.news-card h3 { font: 400 1.7rem/1.2 Georgia, serif; margin: 12px 0 16px; overflow-wrap: anywhere; }
.news-card h3 a { text-decoration: none; }
.news-date { font-size: .875rem; color: #4d635e; }
.news-empty { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.news-prose { max-width: 820px; overflow-wrap: anywhere; }
.news-prose img { max-width: 100%; height: auto; }
.news-prose h2 { font-size: 2rem; }
.news-prose h3 { font-size: 1.5rem; }
.news-prose .wp-block-image { margin: 2rem 0; }
.news-cover { width: 100%; border-radius: 8px; margin-bottom: 32px; }
.news-back { margin-top: 48px; padding-top: 24px; border-top: 1px solid #dce4df; }
.expired-notice { padding: 16px; border-left: 3px solid #8aa9a0; background: #eef3ef; }
.news-pagination, .nav-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.news-pagination .page-numbers { padding: 8px 12px; border: 1px solid #dce4df; }
.news-pagination .current { background: #10384d; color: white; }
.trustindex-widget { margin-top: 24px; min-width: 0; }
.trustindex-widget img { max-width: 100%; }
.trustindex-section { overflow: hidden; }
.admin-bar .site-header { top: 32px; }
@media (min-width: 761px) and (max-width: 1150px) {
    .header-inner { flex-wrap: wrap; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
    .nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 760px) {
    .news-grid { grid-template-columns: 1fr; gap: 32px; }
    .news-heading { align-items: start; flex-direction: column; }
    .news-card h3 { font-size: 1.6rem; }
    .admin-bar .site-header { top: 46px; }
}

/* Nagłówki mieszczą się także na ekranach o szerokości 320 px. */
h1, h2 { overflow-wrap: anywhere; }
