:root {
  --ink: #2a3336;
  --ink-soft: #5f6a6e;
  --paper: #f8f4ef;
  --paper-2: #f1ebe4;
  --brand: #5a9bb8;
  --brand-deep: #3a7694;
  --blush: #e9b8b6;
  --blush-soft: rgba(233, 184, 182, 0.3);
  --line: rgba(58, 118, 148, 0.16);
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.4rem;
  --content-max: 1180px;
  --page-pad-x: clamp(1.25rem, 5vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 360;
  line-height: 1.7;
  background:
    radial-gradient(900px 520px at 88% 8%, var(--blush-soft), transparent 60%),
    radial-gradient(1000px 640px at 0% 35%, rgba(90, 155, 184, 0.13), transparent 55%),
    linear-gradient(180deg, #faf6f1 0%, var(--paper) 45%, var(--paper-2) 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--page-pad-x);
  top: 0.75rem;
  z-index: 300;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 550;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.shell {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-pad-x);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header.is-solid,
body.nav-open .site-header {
  background: rgba(250, 246, 241, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(36, 52, 60, 0.05);
}

.brand-mark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--brand);
  min-width: 0;
}

.brand-icon {
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
}

.brand-stroke {
  stroke: currentColor;
  fill: none;
}

.brand-blush {
  opacity: 0.34;
  fill: var(--blush);
}

.brand-dot {
  fill: var(--blush);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.9;
  white-space: nowrap;
  border-top: 1px solid currentColor;
  padding-top: 0.24rem;
  margin-top: 0.1rem;
  max-width: 100%;
}

@media (max-width: 420px) {
  .brand-tag {
    display: none;
  }
}

.nav-toggle {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.site-header.is-solid .nav-toggle,
.site-header.is-open .nav-toggle,
body.nav-open .nav-toggle {
  background: rgba(90, 155, 184, 0.1);
  border-color: rgba(90, 155, 184, 0.18);
}

.nav-toggle-box {
  position: relative;
  width: 1.25rem;
  height: 0.9rem;
  display: block;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  color: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}

.site-header.is-solid .nav-toggle-bar,
.site-header.is-open .nav-toggle-bar,
body.nav-open .nav-toggle-bar {
  color: var(--brand-deep);
}

.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 50%; margin-top: -0.875px; }
.nav-toggle-bar:nth-child(3) { bottom: 0; top: auto; }

.site-header.is-open .nav-toggle-bar:nth-child(1),
body.nav-open .nav-toggle-bar:nth-child(1) {
  top: 50%;
  margin-top: -0.875px;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2),
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.site-header.is-open .nav-toggle-bar:nth-child(3),
body.nav-open .nav-toggle-bar:nth-child(3) {
  top: 50%;
  bottom: auto;
  margin-top: -0.875px;
  transform: rotate(-45deg);
}

/* Mobile drawer — tylko poniżej 880px */
@media (max-width: 879.98px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: block;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(28, 43, 51, 0.4);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }

  .nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(100%, 22rem);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    padding:
      calc(var(--header-h) + 1.5rem)
      clamp(1.35rem, 5vw, 2rem)
      max(2rem, env(safe-area-inset-bottom, 0px) + 1.25rem);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background:
      radial-gradient(520px 320px at 100% 0%, var(--blush-soft), transparent 55%),
      linear-gradient(180deg, #faf6f1 0%, #f4efe9 100%);
    box-shadow: -18px 0 50px rgba(28, 43, 51, 0.18);
    transform: translate3d(105%, 0, 0);
    transition: transform 0.38s var(--ease);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-kicker {
    margin: 0 0 1rem;
    color: var(--brand-deep);
    font-size: 0.72rem;
    font-weight: 550;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .nav-panel > a {
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 7vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    transform: none;
  }

  .nav-panel > a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
    color: var(--brand-deep);
  }

  .nav-cta {
    margin-top: auto;
    display: flex !important;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.1rem !important;
    border: 0 !important;
    border-radius: 0.85rem;
    background: var(--brand-deep);
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 450 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
  }

  .nav-cta span {
    opacity: 0.82;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-cta strong {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .nav-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }

  body.nav-open .nav,
  .nav.is-open {
    pointer-events: auto;
  }

  body.nav-open .nav::before,
  .nav.is-open::before {
    opacity: 1;
  }

  body.nav-open .nav-panel,
  .nav.is-open .nav-panel {
    transform: translate3d(0, 0, 0);
  }
}

.site-header:not(.is-solid) .brand-mark {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.site-header:not(.is-solid) .brand-blush {
  fill: #e8b7c0;
  opacity: 0.5;
}

.site-header:not(.is-solid) .brand-dot {
  fill: #f0c8cf;
}

.site-header.is-solid .brand-mark,
.site-header.is-open .brand-mark,
body.nav-open .site-header .brand-mark {
  color: var(--brand);
  text-shadow: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .site-header {
  background: rgba(250, 246, 241, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(36, 52, 60, 0.05);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture {
  display: contents;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Twarze mamy i dziecka są po prawej — na mobile trzymaj je w kadrze */
  object-position: 80% 22%;
  transform: scale(1.02);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 32, 40, 0.22) 0%, rgba(18, 32, 40, 0.2) 38%, rgba(18, 32, 40, 0.8) 100%),
    linear-gradient(120deg, rgba(18, 32, 40, 0.62) 0%, rgba(18, 32, 40, 0.28) 42%, rgba(18, 32, 40, 0.08) 70%, transparent 85%);
}

@media (min-width: 880px) {
  .hero-media img {
    object-position: 58% 20%;
    transform: scale(1.06);
    animation: heroDrift 22s var(--ease) infinite alternate;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(18, 32, 40, 0.35) 0%, rgba(18, 32, 40, 0.28) 40%, rgba(18, 32, 40, 0.82) 100%),
      linear-gradient(105deg, rgba(18, 32, 40, 0.72) 0%, rgba(18, 32, 40, 0.35) 42%, rgba(18, 32, 40, 0.08) 68%, transparent 80%);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(4.5rem, 10vw, 6.5rem);
  color: var(--white);
  animation: riseIn 1.05s var(--ease) both;
}

.hero-copy .hero-brand,
.hero-copy h1,
.hero-copy .hero-actions {
  max-width: 40rem;
}

.hero-copy .hero-lead {
  max-width: 26rem;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin: 0 0 0.95rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  font-weight: 360;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
  line-height: 1.55;
}

.hero-lead span {
  display: block;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 2;
  width: 1.5rem;
  height: 2.3rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  transform: translateX(-50%);
  text-decoration: none;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 0.4rem;
  width: 0.3rem;
  height: 0.3rem;
  margin-left: -0.15rem;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 1.6s var(--ease) infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--brand-deep);
}

.btn-light:hover {
  background: #f3f7f4;
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

#o-mnie,
#oferta,
#obszar,
#kontakt {
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

.about,
.care {
  padding: clamp(4rem, 10vw, 7rem) var(--page-pad-x);
}

.area {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.about {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

.about-photo {
  width: min(100%, 320px);
  margin: 0 auto;
}

.about-photo picture {
  display: contents;
}

.about-photo figure {
  margin: 0;
  position: relative;
}

.about-photo figure::before {
  content: "";
  position: absolute;
  inset: 12% -8% -8% 12%;
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(145deg, rgba(90, 155, 184, 0.25), rgba(233, 184, 182, 0.45));
  z-index: -1;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%;
  box-shadow: 0 24px 50px rgba(36, 52, 60, 0.14);
}

.about-text h2,
.care-copy h2,
.area h2,
.contact-inner h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.role {
  margin: 0 0 1.35rem;
  color: var(--brand-deep);
  font-weight: 450;
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.about-belief {
  margin-top: 1.35rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink) !important;
}

.care {
  max-width: var(--content-max);
  margin: 0 auto;
}

.care-stage {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  align-items: end;
}

.care-copy {
  max-width: 34rem;
}

.care-copy p:last-child {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
}

.care-visual {
  overflow: hidden;
  border-radius: 1.4rem 1.4rem 1.4rem 0;
  min-height: 240px;
}

.care-visual picture {
  display: contents;
}

.care-visual img {
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s var(--ease);
}

.care-visual:hover img {
  transform: scale(1.04);
}

.care-tiles {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.care-tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.45rem 1.35rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 251, 255, 0.9));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.care-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--blush);
  line-height: 1;
}

.care-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
}

.care-tile ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  flex: 1;
}

.care-tile ul li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1rem;
}

.care-tile ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
}

.care-tile-cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 550;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(47, 111, 147, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.care-tile-cta:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.moments {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(700px 420px at 12% 20%, rgba(90, 155, 184, 0.08), transparent 60%),
    radial-gradient(640px 380px at 92% 80%, rgba(233, 184, 182, 0.16), transparent 58%),
    linear-gradient(180deg, transparent 0%, rgba(247, 251, 255, 0.55) 100%);
}

.moments-intro {
  max-width: 40rem;
  margin: 0 auto clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}

.moments-intro.shell {
  width: min(100%, var(--content-max));
}

.moments-intro h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.moments-intro p:last-child {
  margin: 0 auto;
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
}

.moments-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 0 var(--page-pad-x);
  max-width: var(--content-max);
  margin: 0 auto;
}

.moments-strip figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.moments-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem 1.15rem 1.15rem 0.35rem;
  background: rgba(90, 155, 184, 0.06);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.moments-strip picture {
  display: contents;
}

.moments-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  transition: transform 1.1s var(--ease);
}

.moments-strip figure:hover img {
  transform: scale(1.035);
}

.moments-strip figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0 0.1rem;
}

.moments-strip figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.moments-strip figcaption span {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.moments-strip .reveal:nth-child(2) { transition-delay: 0.08s; }
.moments-strip .reveal:nth-child(3) { transition-delay: 0.16s; }

.area {
  position: relative;
  max-width: none;
  margin: 0;
  text-align: left;
}

.area::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 155, 184, 0.1), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.area-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.area-intro {
  max-width: 36rem;
  margin: 0;
}

.area-intro h2 {
  margin: 0 0 0.7rem;
}

.area-lead {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.districts {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
}

.districts li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--brand-deep);
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.area-note {
  margin: 0;
  color: var(--ink-soft);
}

.area-note a {
  color: var(--brand-deep);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 111, 147, 0.35);
}

.area-note a:hover {
  border-bottom-color: var(--brand-deep);
}

.area-map {
  margin: 0;
  text-align: left;
}

#poznan-map {
  width: 100%;
  height: clamp(260px, 42vw, 400px);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e5ddd4;
  z-index: 0;
}

.map-caption {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: left;
}

.leaflet-container {
  font-family: var(--font-body);
  background: #e5ddd4;
}

.leaflet-control-attribution {
  font-size: 0.65rem !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.pin-icon {
  background: transparent;
  border: 0;
}

.pin-dot {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem auto 0;
  border-radius: 50%;
  background: var(--brand-deep);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(36, 52, 60, 0.28);
}

.pin-label {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(36, 52, 60, 0.12);
}

.contact {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 9vw, 6rem);
  background:
    linear-gradient(160deg, #4a8eab 0%, #3a7694 48%, #45656f 100%);
  color: var(--white);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact-inner h2 {
  color: var(--white);
}

.contact-name {
  margin: 0.35rem 0 1.1rem;
  font-weight: 450;
  opacity: 0.92;
}

.contact-phone {
  display: inline-block;
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.25s var(--ease);
}

.contact-phone:hover {
  opacity: 0.85;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}

.contact-quick a {
  text-decoration: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 550;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-quick a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.contact-meta {
  margin: 0 0 1.7rem;
  color: rgba(255, 255, 255, 0.84);
}

.contact-meta a {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 450;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-meta a:hover {
  border-bottom-color: #fff;
}

.contact-meta p {
  margin: 0.2rem 0;
}

.contact-hours {
  margin-top: 0.75rem !important;
  opacity: 0.92;
  font-size: 0.95rem;
}

.cta-sticky {
  display: none;
}

@media (max-width: 879.98px) {
  body {
    padding-bottom: 4.6rem;
  }

  .cta-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 246, 241, 0.94);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(36, 52, 60, 0.08);
  }

  body.nav-open .cta-sticky {
    display: none;
  }

  .cta-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    border-radius: 0.65rem;
  }

  .cta-call {
    background: var(--brand-deep);
    color: #fff;
  }

  .cta-wa {
    background: rgba(90, 155, 184, 0.12);
    color: var(--brand-deep);
  }
}

.site-footer {
  padding: 1.4rem clamp(1.25rem, 5vw, 4rem) 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  background: #efe8e1;
}

@media (max-width: 879.98px) {
  .site-footer {
    padding-bottom: 1.25rem;
  }
}

.site-footer p {
  margin: 0;
}

.site-credit {
  margin-top: 0.55rem !important;
  font-size: 0.78rem;
  opacity: 0.72;
}

.site-credit a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-credit a:hover {
  opacity: 1;
  color: var(--brand-deep);
}

.site-credit img {
  max-height: 15px;
  width: auto;
  height: 15px;
  vertical-align: middle;
  margin-left: 0.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.care-tile.reveal:nth-child(2) { transition-delay: 0.08s; }
.care-tile.reveal:nth-child(3) { transition-delay: 0.16s; }

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.4%, -1.2%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: max(var(--page-pad-x), calc((100vw - var(--content-max)) / 2 + var(--page-pad-x)));
    left: auto;
    bottom: auto;
    z-index: 230;
    height: var(--header-h);
    width: auto;
    display: flex;
    align-items: center;
    padding-right: 0;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }

  .nav::before {
    display: none;
  }

  .nav-panel {
    margin: 0;
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    background: none;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }

  .nav-kicker {
    display: none;
  }

  .nav-panel > a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    transform: none;
    color: var(--ink-soft);
    transition: color 0.25s var(--ease);
  }

  .nav-cta {
    margin-top: 0 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--brand-deep) !important;
    font-family: var(--font-body) !important;
    font-weight: 650 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
  }

  .nav-cta span {
    opacity: 1;
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
  }

  .nav-cta strong {
    display: none;
  }

  .site-header:not(.is-solid) {
    background: linear-gradient(180deg, rgba(20, 36, 44, 0.28), transparent);
  }

  .site-header:not(.is-solid) + .nav .nav-panel > a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  }

  .site-header:not(.is-solid) + .nav .nav-panel > a:hover,
  .site-header:not(.is-solid) + .nav .nav-panel > a.is-active,
  .site-header:not(.is-solid) + .nav .nav-cta {
    color: #fff !important;
  }

  .site-header:not(.is-solid) .brand-mark {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  }

  .site-header:not(.is-solid) .brand-blush {
    fill: #e8b7c0;
    opacity: 0.45;
  }

  .site-header:not(.is-solid) .brand-dot {
    fill: #f0c8cf;
  }

  .site-header.is-solid .brand-mark {
    color: var(--brand);
    text-shadow: none;
  }

  .site-header.is-solid + .nav .nav-panel > a {
    color: var(--ink-soft);
    text-shadow: none;
  }

  .site-header.is-solid + .nav .nav-panel > a:hover,
  .site-header.is-solid + .nav .nav-panel > a.is-active,
  .site-header.is-solid + .nav .nav-cta {
    color: var(--brand-deep) !important;
  }

  .about {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }

  .about-photo {
    margin: 0;
  }

  .care-stage {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }

  .care-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .care-tile {
    min-height: 100%;
  }

  .area-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.75rem;
    align-items: center;
  }

  .area-intro h2 {
    font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  }

  #poznan-map {
    height: 380px;
  }

  .care-visual img {
    height: clamp(280px, 32vw, 440px);
    object-position: center 28%;
  }

  .moments-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    align-items: start;
  }

  .moments-strip figure:nth-child(2) {
    margin-top: 1.35rem;
  }

  .moments-strip figure:nth-child(3) {
    margin-top: 0.45rem;
  }

  .moments-intro {
    max-width: 42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-media img,
  .hero-copy,
  .hero-scroll span,
  .reveal,
  .care-visual img,
  .moments-strip img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
