/* ============================================================
   Gabinet Mowy — gabinetmowy.pl
   Paleta z logo: turkus #00b3a6, magenta #e91e7b, grafit #4a4b4d
   ============================================================ */

:root {
  --teal: #00b3a6;
  --teal-dark: #009488;
  --teal-soft: #e4f7f5;
  --pink: #e91e7b;
  --pink-dark: #c9105f;
  --pink-soft: #fdeaf3;
  --ink: #2f3437;
  --ink-soft: #5b6166;
  --paper: #ffffff;
  --cream: #fbfaf8;
  --radius: 22px;
  --shadow-sm: 0 2px 10px rgba(47, 52, 55, .06);
  --shadow-md: 0 10px 34px rgba(47, 52, 55, .1);
  --shadow-lg: 0 24px 60px rgba(47, 52, 55, .14);
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3 { font-weight: 800; line-height: 1.2; }

.section { padding: 96px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #f4fbfa 0%, var(--cream) 100%); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block;
  font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head h2 em { font-style: normal; color: var(--teal); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 18px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 800; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 10px 26px rgba(233, 30, 123, .35); }
.btn--pink:hover { background: var(--pink-dark); box-shadow: 0 14px 32px rgba(233, 30, 123, .42); }
.btn--ghost { background: #fff; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(0, 179, 166, .35); }
.btn--teal:hover { background: var(--teal-dark); }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-weight: 700; font-size: 15.5px; color: var(--ink);
  padding: 9px 15px; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.nav a.nav-cta { background: var(--pink); color: #fff; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--pink-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--ink); margin: 5px 0; transition: transform .25s ease, opacity .25s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 172px 0 110px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(0, 179, 166, .14), transparent 65%),
    radial-gradient(700px 420px at -8% 8%, rgba(233, 30, 123, .1), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.hero-copy .eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14.5px; color: var(--teal-dark);
  background: var(--teal-soft); border-radius: 999px; padding: 8px 18px;
  margin-bottom: 22px;
}
.hero-copy h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.01em; }
.hero-copy h1 .accent { color: var(--teal); }
.hero-copy h1 .accent-pink { color: var(--pink); }
.hero-copy .lead { font-size: 19px; color: var(--ink-soft); margin: 22px 0 32px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.hero-trust .item svg { flex: none; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; z-index: 2;
  border-radius: 50%;
  width: min(460px, 100%); aspect-ratio: 1;
  object-fit: cover; object-position: top;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-bubble {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 14px 20px; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.hero-bubble--1 { top: 8%; left: -2%; color: var(--teal-dark); animation-delay: 0s; }
.hero-bubble--2 { bottom: 12%; right: -2%; color: var(--pink); animation-delay: 1.6s; }
.hero-bubble--3 { bottom: -4%; left: 10%; color: var(--ink); animation-delay: 3s; }
.hero-bubble .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* dekoracyjne dymki w tle */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span {
  position: absolute; border-radius: 50% 50% 50% 6px;
  opacity: .1;
  animation: drift 12s ease-in-out infinite;
}
.bubbles span:nth-child(1) { width: 90px; height: 90px; background: var(--teal); top: 16%; left: 4%; }
.bubbles span:nth-child(2) { width: 46px; height: 46px; background: var(--pink); top: 62%; left: 9%; animation-delay: 2s; }
.bubbles span:nth-child(3) { width: 64px; height: 64px; background: var(--teal); top: 74%; right: 7%; animation-delay: 4s; }
.bubbles span:nth-child(4) { width: 34px; height: 34px; background: var(--pink); top: 12%; right: 16%; animation-delay: 6s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(6deg); }
}

/* ---------- fala ---------- */
.wave { display: block; width: 100%; height: 70px; }

/* ---------- oferta ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(47, 52, 55, .05);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; margin-bottom: 22px;
}
.card:nth-child(1) .icon { background: var(--teal-soft); color: var(--teal-dark); }
.card:nth-child(2) .icon { background: var(--pink-soft); color: var(--pink); }
.card:nth-child(3) .icon { background: #fef6e7; color: #d99a26; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.card .tag {
  align-self: flex-start; margin-top: 20px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.card:nth-child(1) .tag { color: var(--teal-dark); }
.card:nth-child(2) .tag { color: var(--pink); }
.card:nth-child(3) .tag { color: #d99a26; }

/* ---------- pas CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal) 0%, #00c9ba 55%, #26d7c9 100%);
  border-radius: 28px; padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 24px 54px rgba(0, 179, 166, .35);
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50% 50% 50% 10px;
  background: rgba(255, 255, 255, .12); transform: rotate(12deg);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta-band p { opacity: .92; margin-top: 8px; font-size: 17px; }
.cta-band .btn { background: #fff; color: var(--teal-dark); flex: none; position: relative; z-index: 1; }
.cta-band .btn:hover { background: var(--pink); color: #fff; }

/* ---------- o mnie ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
  background: #fff;
}
.about-photo .badge {
  position: absolute; bottom: -20px; right: -14px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 16px 22px; text-align: center;
}
.about-photo .badge strong { display: block; font-size: 26px; color: var(--pink); line-height: 1.1; }
.about-photo .badge span { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 6px; }
.about-copy .role { color: var(--teal-dark); font-weight: 800; font-size: 17px; margin-bottom: 20px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 16px; }
.about-list svg { flex: none; margin-top: 3px; }

/* ---------- kiedy do logopedy ---------- */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.age-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--teal);
  transition: transform .25s ease, box-shadow .25s ease;
}
.age-card:nth-child(2) { border-top-color: var(--pink); }
.age-card:nth-child(3) { border-top-color: #f2b134; }
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.age-card h3 { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.age-card h3 .age-num {
  width: 44px; height: 44px; flex: none; border-radius: 50% 50% 50% 6px;
  display: grid; place-items: center; font-size: 19px; color: #fff; background: var(--teal);
}
.age-card:nth-child(2) h3 .age-num { background: var(--pink); }
.age-card:nth-child(3) h3 .age-num { background: #f2b134; }
.age-card ul { list-style: none; display: grid; gap: 9px; }
.age-card li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 15.5px; }
.age-card li::before { content: "•"; color: var(--teal); font-weight: 900; }
.age-card:nth-child(2) li::before { color: var(--pink); }
.age-card:nth-child(3) li::before { color: #f2b134; }
.kiedy-note {
  margin-top: 34px; text-align: center; color: var(--ink-soft); font-size: 16.5px;
  max-width: 720px; margin-inline: auto;
}
.kiedy-note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(47, 52, 55, .05); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 17px; color: var(--ink);
  padding: 20px 58px 20px 24px; position: relative; line-height: 1.4;
}
.faq-q::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 12px; height: 12px;
  border-right: 3px solid var(--pink); border-bottom: 3px solid var(--pink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16px; }
.faq-a-inner ul { margin: 10px 0 0 20px; }

/* ---------- opinie ---------- */
.reviews { position: relative; }
.reviews-track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 26px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(400px, 86vw); scroll-snap-align: start;
  background: #fff; border-radius: var(--radius); padding: 32px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 52, 55, .05);
  display: flex; flex-direction: column;
}
.review .stars { color: #f2b134; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.review footer { margin-top: 18px; font-weight: 800; color: var(--teal-dark); display: flex; align-items: center; gap: 10px; }
.review footer .avatar {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 16px; background: var(--teal);
}
.review:nth-child(even) footer .avatar { background: var(--pink); }
.review:nth-child(even) footer { color: var(--pink); }
.reviews-nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.reviews-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal);
  background: #fff; color: var(--teal-dark); font-size: 20px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.reviews-nav button:hover { background: var(--teal); color: #fff; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 52, 55, .05);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--ink);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card[hidden] { display: none; }
.post-cover {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: -8px 0 8px;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(47, 52, 55, .09);
}
.post-card .post-icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--teal-soft);
  display: grid; place-items: center; color: var(--teal-dark);
}
.post-card:nth-child(3n+2) .post-icon { background: var(--pink-soft); color: var(--pink); }
.post-card:nth-child(3n) .post-icon { background: #fef6e7; color: #d99a26; }
.post-card h3 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.post-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.post-card .more { font-weight: 800; color: var(--pink); font-size: 15px; }
.posts-rotation-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.posts-rotation-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 121, 114, .26);
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.posts-rotation-controls button:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.posts-rotation-controls span {
  min-width: 100px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}
.posts--rotating.is-changing .post-card:not([hidden]) {
  animation: posts-in .45s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes posts-in {
  from { opacity: 0; transform: translateY(12px); }
}
.posts-footer { text-align: center; margin-top: 40px; }

/* ---------- centrum wiedzy / newsy ---------- */
.news-hero {
  padding: 148px 0 72px;
  background:
    radial-gradient(760px 420px at 92% 4%, rgba(0, 179, 166, .14), transparent 66%),
    radial-gradient(560px 340px at 8% 26%, rgba(233, 30, 123, .08), transparent 68%),
    #fff;
  overflow: hidden;
}
.news-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
}
.news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.news-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
}
.news-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.035em;
  line-height: 1.02;
}
.news-hero h1 span { color: var(--teal-dark); }
.news-hero-copy {
  max-width: 430px;
  padding-left: 30px;
  border-left: 1px solid rgba(47, 52, 55, .16);
}
.news-hero-copy p { color: var(--ink-soft); font-size: 17px; }
.news-hero-copy strong { display: block; color: var(--ink); margin-top: 16px; font-size: 14px; }

.news-main { padding: 58px 0 96px; }
.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  min-height: 420px;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(47, 52, 55, .07);
  box-shadow: 0 22px 60px rgba(0, 148, 136, .1);
  color: var(--ink);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1);
}
.news-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 148, 136, .15);
}
.news-featured-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.news-featured-visual img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-age {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(35, 40, 43, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
}
.news-featured-age small {
  display: inline;
  margin-left: 4px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.news-featured-copy {
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.news-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.news-featured h2 {
  margin: 15px 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .025em;
  text-transform: uppercase;
}
.news-featured p { color: var(--ink-soft); }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 24px;
  color: #737a7f;
  font-size: 13px;
  font-weight: 700;
}
.news-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: var(--pink);
  font-weight: 900;
}
.news-read svg { transition: transform .25s ease; }
.news-featured:hover .news-read svg,
.news-card:hover .news-read svg { transform: translateX(5px); }

.news-tools {
  display: grid;
  grid-template-columns: minmax(250px, 380px) 1fr;
  gap: 20px 34px;
  align-items: center;
  margin: 0 0 42px;
  padding: 22px 0;
  border-top: 1px solid rgba(47, 52, 55, .12);
  border-bottom: 1px solid rgba(47, 52, 55, .12);
}
.news-search { position: relative; }
.news-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.news-search svg {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}
.news-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px 12px 48px;
  border: 1px solid rgba(47, 52, 55, .16);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 700 15px var(--font);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.news-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 179, 166, .1);
}
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.news-filter {
  border: 1px solid rgba(47, 52, 55, .13);
  border-radius: 999px;
  padding: 9px 15px;
  background: transparent;
  color: var(--ink-soft);
  font: 800 13px var(--font);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.news-filter:hover { border-color: var(--teal); color: var(--teal-dark); }
.news-filter:active { transform: scale(.97); }
.news-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.news-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}
.news-section-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.news-count { color: var(--ink-soft); font-size: 14px; font-weight: 800; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}
.news-card {
  min-width: 0;
  padding: 30px 4px 32px;
  border-top: 1px solid rgba(47, 52, 55, .13);
  color: var(--ink);
  transition: padding-left .25s cubic-bezier(.16, 1, .3, 1);
}
.news-card:hover { padding-left: 10px; }
.news-card[hidden] { display: none; }
.news-card h3 {
  max-width: 520px;
  margin: 12px 0 11px;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: .025em;
  line-height: 1.23;
  text-transform: uppercase;
}
.news-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 20px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--teal-soft);
  box-shadow: 0 12px 30px rgba(47, 52, 55, .08);
}
.news-card p {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 15px;
}
.news-card .news-meta { margin-top: 17px; }
.news-card .news-read { margin-top: 16px; font-size: 14px; }
.news-card[data-category="wymowa"] .news-label { color: var(--pink); }
.news-card[data-category="rodzice"] .news-label { color: #a66b08; }
.news-empty {
  display: none;
  max-width: 620px;
  margin: 24px auto 0;
  padding: 44px;
  text-align: center;
  border: 1px dashed rgba(47, 52, 55, .24);
  border-radius: 22px;
}
.news-empty.is-visible { display: block; }
.news-empty h3 { margin-bottom: 8px; font-size: 23px; }
.news-empty p { color: var(--ink-soft); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}
.article-cover {
  width: min(980px, 92%);
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--teal-soft);
  box-shadow: 0 20px 52px rgba(47, 52, 55, .12);
}
.article-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-lead {
  margin-bottom: 32px !important;
  color: var(--ink) !important;
  font-size: clamp(19px, 2.4vw, 22px) !important;
  font-weight: 700;
  line-height: 1.55;
}
.article-callout {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--teal);
  border-radius: 0 18px 18px 0;
  background: var(--teal-soft);
}
.article-callout--pink { border-left-color: var(--pink); background: var(--pink-soft); }
.article-callout strong { display: block; margin-bottom: 6px; }
.article-callout p { margin: 0; font-size: 16px; }
.article-checklist {
  list-style: none !important;
  margin-left: 0 !important;
  display: grid;
  gap: 11px;
}
.article-checklist li {
  position: relative;
  padding-left: 30px;
}
.article-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .48em;
  width: 15px;
  height: 9px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
.article-sources {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(47, 52, 55, .13);
  color: var(--ink-soft);
  font-size: 14px;
}
.article-sources h2 { margin-top: 0; font-size: 18px; }
.article-sources a { overflow-wrap: anywhere; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 42px 40px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 52, 55, .05);
}
.contact-card h3 { font-size: 24px; margin-bottom: 20px; }
.contact-rows { display: grid; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .ico {
  width: 48px; height: 48px; flex: none; border-radius: 16px;
  display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark);
}
.contact-row:nth-child(2) .ico { background: var(--pink-soft); color: var(--pink); }
.contact-row:nth-child(3) .ico { background: #fef6e7; color: #d99a26; }
.contact-row strong { display: block; font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.contact-row a, .contact-row span.big { font-size: 20px; font-weight: 800; color: var(--ink); }
.contact-row a:hover { color: var(--pink); }
.contact-note { margin-top: 26px; padding: 18px 20px; background: var(--teal-soft); border-radius: 16px; font-size: 15px; color: var(--ink-soft); }
.contact-cta {
  background: linear-gradient(150deg, var(--pink) 0%, #ff5ba1 100%);
  border-radius: var(--radius); padding: 42px 40px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 48px rgba(233, 30, 123, .3);
}
.contact-cta::after {
  content: ""; position: absolute; right: -40px; bottom: -50px;
  width: 200px; height: 200px; border-radius: 50% 50% 50% 10px;
  background: rgba(255, 255, 255, .12);
}
.contact-cta h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
.contact-cta p { opacity: .94; font-size: 17px; }
.contact-cta .btn { background: #fff; color: var(--pink); align-self: flex-start; position: relative; z-index: 1; }
.contact-cta .btn:hover { background: var(--teal); color: #fff; }

/* ---------- stopka ---------- */
.site-footer { background: #23282b; color: #c8cdd1; padding: 60px 0 30px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid img { height: 74px; width: auto; background: #fff; padding: 10px 16px; border-radius: 14px; }
.footer-grid p { font-size: 15px; margin-top: 14px; color: #9aa1a7; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { color: #c8cdd1; font-size: 15px; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 14px; color: #9aa1a7;
}

/* ---------- podstrona artykułu ---------- */
.article-hero {
  padding: 150px 0 60px;
  background:
    radial-gradient(700px 380px at 85% -10%, rgba(0, 179, 166, .12), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
}
.article-hero .crumbs { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 18px; }
.article-hero .crumbs a { color: var(--teal-dark); }
.article-hero h1 {
  max-width: 820px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .025em;
  text-transform: uppercase;
}
.article-body { max-width: 780px; margin: 0 auto; padding: 50px 0 30px; }
.article-cover {
  width: min(980px, 92%);
  aspect-ratio: 3 / 2;
  margin: 42px auto 0;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 22px 56px rgba(47, 52, 55, .13);
}
.article-body p { margin-bottom: 20px; color: #3d4347; font-size: 17.5px; }
.article-body ul { margin: 0 0 20px 24px; color: #3d4347; }
.article-body li { margin-bottom: 8px; }
.article-body h2 { font-size: 24px; margin: 34px 0 14px; color: var(--ink); }
.article-back { text-align: center; padding-bottom: 40px; }

/* ---------- animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubbles span, .hero-bubble { animation: none !important; }
  .posts--rotating.is-changing .post-card:not([hidden]) { animation: none; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1000px) {
  .cards, .ages, .posts { grid-template-columns: 1fr 1fr; }
  .news-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .news-hero-copy { max-width: 650px; padding-left: 0; border-left: 0; }
  .news-featured { grid-template-columns: .8fr 1fr; }
  .news-tools { grid-template-columns: 1fr; }
  .news-filters { justify-content: flex-start; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo { width: min(340px, 80%); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .cards, .ages, .posts { grid-template-columns: 1fr; }
  .news-hero { padding: 124px 0 52px; }
  .news-hero h1 { font-size: clamp(36px, 12vw, 50px); }
  .news-main { padding: 38px 0 68px; }
  .news-featured { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .news-featured-visual { min-height: 230px; }
  .news-featured-age {
    left: 14px;
    bottom: 14px;
    padding: 7px 12px;
    font-size: 15px;
  }
  .news-featured-copy { padding: 30px 25px 34px; }
  .news-tools { margin-bottom: 34px; padding: 18px 0; }
  .news-filters {
    flex-wrap: nowrap;
    margin-right: -4vw;
    padding-right: 4vw;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .news-filters::-webkit-scrollbar { display: none; }
  .news-filter { flex: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { padding: 26px 2px 28px; }
  .news-card:hover { padding-left: 2px; }
  .news-section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .article-body { padding: 38px 0 24px; }
  .article-cover { margin-top: 28px; border-radius: 20px; }
  .article-callout { padding: 21px 20px; }
  .article-back {
    width: min(92%, 780px);
    margin-inline: auto;
    display: grid;
    gap: 12px;
  }
  .article-back .btn { justify-content: center; margin-left: 0 !important; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hero-photo {
    width: min(340px, 88vw);
    margin-bottom: 8px;
  }
  .hero-bubble {
    position: static;
    width: fit-content;
    max-width: min(340px, 92vw);
    padding: 9px 14px;
    border: 1px solid rgba(47, 52, 55, .08);
    border-radius: 999px;
    box-shadow: 0 7px 20px rgba(47, 52, 55, .09);
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    animation: mobile-bubble-float 5.4s ease-in-out infinite;
  }
  .hero-bubble--2 { animation-delay: -1.8s; }
  .hero-bubble--3 { animation-delay: -3.6s; }
  .hero-bubble .dot { width: 8px; height: 8px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    background: #fff; box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; padding: 18px 22px 24px; gap: 4px;
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 16px; font-size: 17px; }
  .nav a.nav-cta { margin-left: 0; text-align: center; justify-content: center; display: flex; }
}

@keyframes mobile-bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
