/* ============================================================
   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 .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: 19px; line-height: 1.35; }
.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-footer { text-align: center; margin-top: 40px; }

/* ---------- 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 { font-size: clamp(28px, 4vw, 42px); max-width: 820px; }
.article-body { max-width: 780px; margin: 0 auto; padding: 50px 0 30px; }
.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; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1000px) {
  .cards, .ages, .posts { grid-template-columns: 1fr 1fr; }
  .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; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-bubble--1 { left: 0; }
  .hero-bubble--2 { right: 0; }

  .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; }
}
