/* Gabinet Terapeutyczny Serduszko */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFF8F1;
  --bg-alt: #FDEBE1;
  --card: #FFFFFF;
  --ink: #3A2C27;
  --muted: #6A564E;
  --line: #F0DCCF;
  --soft: #FFE3D8;
  --main: #C4503F;
  --main-dark: #A53A2B;
  --radius: 22px;
  --shadow: 0 8px 24px rgba(140, 80, 55, 0.10);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 28 5 17.3a6.6 6.6 0 0 1 9.3-9.3L16 9.7l1.7-1.7A6.6 6.6 0 0 1 27 17.3z' fill='%23E98A7B'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
h1, h2, h3, strong { font-weight: 600; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; }
a { color: var(--main-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--main); outline-offset: 3px; }
address { font-style: normal; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; text-align: center;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-main { background: var(--main); color: #fff; box-shadow: 0 6px 16px rgba(196, 80, 63, 0.25); }
.btn-main:hover { background: var(--main-dark); }
.btn-line { border-color: var(--main); color: var(--main-dark); background: rgba(255, 255, 255, 0.6); }
.btn-line:hover { background: var(--card); }

/* Nagłówek */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 241, 0.97); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(140, 80, 55, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.15; text-decoration: none; color: var(--ink); flex: 0 0 auto; min-width: max-content; }
.brand img { display: block; width: auto; height: 50px; }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font-size: 1.3rem; color: var(--main-dark); }
.brand small { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--main-dark); text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-toggle span { top: 20px; }
.menu-toggle span::before { left: 0; top: -6px; }
.menu-toggle span::after { left: 0; top: 6px; }

/* Hero: miękka poświata i bardzo blade serce w tle */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
  background: radial-gradient(ellipse 60% 80% at 85% 20%, #FFE3D8 0%, rgba(255, 227, 216, 0) 70%), radial-gradient(ellipse 50% 60% at 0% 100%, #FDEBE1 0%, rgba(253, 235, 225, 0) 70%);
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 380px; height: 380px; margin-top: -190px;
  background: var(--heart) center / contain no-repeat; opacity: 0.13; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.kicker { color: var(--main-dark); font-weight: 600; margin-bottom: 14px; }
.hero-lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); margin-top: 20px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 26px; color: var(--muted); font-size: 0.98rem; }
.hero-meta strong { color: var(--ink); }

/* Pasek faktów */
.facts { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.fact span { display: block; font-size: 0.88rem; color: var(--muted); }
.fact strong { display: block; font-size: 1.1rem; margin-top: 2px; }
.fact a { color: var(--ink); }

/* Sekcje */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 30px; }
.section-head h2::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.35em; background: var(--heart) center / contain no-repeat; vertical-align: 0.02em; }
.section-head p { color: var(--muted); margin-top: 10px; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.person h3 { font-size: 1.45rem; }
.person p { margin-top: 8px; color: var(--muted); }
.person .person-tel { font-size: 1.5rem; font-weight: 600; margin-top: 14px; }
.person-tel a { color: var(--ink); text-decoration: none; }
.person .btn { margin-top: 16px; }

/* Oferta z ikonami */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.card .icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 16px; border-radius: 50%; background: var(--soft); }
.card .icon svg { width: 42px; height: 42px; fill: #FFFFFF; stroke: var(--main); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card .icon .n { fill: none; }
.card .icon .dot { fill: var(--main); stroke: none; }
.card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.card .card-who { font-size: 0.92rem; color: var(--main-dark); font-weight: 600; }

.points { margin: 0; padding: 0; list-style: none; }
.points li { background: var(--card); border: 1px solid var(--line); border-left: 6px solid #E98A7B; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px; margin-bottom: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: krok; }
.steps li { counter-increment: krok; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.steps li::before {
  content: counter(krok);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--main); color: #fff; font-weight: 600; margin-bottom: 14px;
}
.steps p { margin-top: 8px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 6px solid #E98A7B; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.review p { font-size: 1.12rem; }
.review footer { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.review footer strong { color: var(--ink); margin-right: 8px; }
.reviews-more { margin-top: 22px; }
.reviews-more a { font-weight: 600; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; min-height: 48px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.contact-col { display: grid; gap: 22px; }
.contact-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.contact-box .contact-line a { font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.entrance { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.entrance picture { display: block; margin-top: 16px; }
.entrance img { display: block; width: 100%; max-width: 320px; height: auto; border-radius: 16px; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.contact-box p, .contact-box address { margin-top: 10px; color: var(--muted); }
.contact-box .contact-big { font-size: 1.8rem; font-weight: 600; }
.contact-big a { color: var(--ink); text-decoration: none; }
.contact-box .btn { margin-top: 20px; }

.privacy h1, .privacy h2 { font-size: 1.4rem; margin-bottom: 16px; line-height: 1.2; }
.privacy p { font-size: 0.95rem; color: var(--muted); margin-top: 10px; }
.privacy p strong { color: var(--ink); }

/* Stopka */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 30px 0; font-size: 0.95rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; }
.footer strong { color: var(--ink); }
.footer p:first-child strong::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.4em; background: var(--heart) center / contain no-repeat; vertical-align: -0.1em; }

/* Przypięty przycisk na telefonie */
.sticky-cta { display: none; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 6px 20px 14px;
  }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  body.nav-open .nav { display: flex; }
  .menu-toggle { display: block; }
  .header-call { display: none; }
  .header-inner { min-height: 68px; }
  .brand img { height: 44px; }
  .cards, .people, .steps, .reviews, .contact { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .person .btn { width: 100%; }
  h1 { font-size: clamp(1.95rem, 7.2vw, 3.6rem); }
  .hero { padding-top: 18px; padding-bottom: 8px; }
  .hero::after { display: none; }
  .hero-lead { margin-top: 12px; }
  .hero-actions { margin-top: 14px; }
  .hero-meta { margin-top: 10px; }
  .facts-grid { padding-top: 14px; padding-bottom: 14px; gap: 12px 16px; }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .contact-box .btn { width: 100%; }
  .card { padding: 22px 20px; }
  .card .icon { width: 60px; height: 60px; margin-bottom: 12px; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  }
  .sticky-cta a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 0; min-height: 54px; padding: 4px 8px; border-radius: 999px;
    background: var(--main); color: #fff; font-weight: 600; line-height: 1.15; text-decoration: none;
    box-shadow: 0 6px 18px rgba(120, 50, 35, 0.30);
  }
  .sticky-cta small { font-size: 0.74rem; font-weight: 400; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

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