/* Centrum Psychoterapii — Custom Styles */
/* Stack: html-tailwind | Fonts: Figtree + Noto Sans */



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

/* WCAG 2.1 / EAA — keyboard focus visible for all interactive elements */
:focus-visible {
  outline: 3px solid #0891b2;
  outline-offset: 2px;
  border-radius: 3px;
}
/* Ukryj outline tylko przy kliknięciu myszą, nie przy klawiaturze */
:focus:not(:focus-visible) { outline: none; }

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

:root {
  --primary-50:  #ecfeff;
  --primary-100: #cffafe;
  --primary-200: #a5f3fc;
  --primary-300: #67e8f9;
  --primary-600: #0891b2;
  --primary-700: #0e7490;
  --primary-800: #155e75;
  --primary-900: #164e63;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --green-600: #059669;
  --green-700: #047857;
  --teal-50:  #f0fdfa;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans', sans-serif;
  color: var(--slate-700);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Figtree', sans-serif;
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 700;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
  padding: 0 1.5rem;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-icon { flex-shrink: 0; border-radius: 8px; }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.navbar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.5rem;
}
.navbar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--slate-500);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.navbar-social-link:hover { color: var(--primary-700); background: var(--primary-50); }
.navbar-social-link.wa:hover { color: #25d366; background: #e7faf0; }
.navbar-logo-img {
  height: 108px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.navbar-logo-main {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-700);
  display: block;
  line-height: 1.1;
}
.navbar-logo-sub {
  font-size: 0.7rem;
  color: var(--slate-500);
  font-weight: 400;
  display: block;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-links a {
  text-decoration: none;
  color: var(--slate-600);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.navbar-links a:hover { color: var(--primary-700); background: var(--primary-50); }
.navbar-links a.active { color: var(--primary-700); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--primary-700);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--primary-800) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.25s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--slate-200);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--slate-100);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary-700); }
.mobile-menu .btn-nav-mobile {
  margin-top: 0.75rem;
  background: var(--primary-700);
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.mobile-menu .btn-nav-mobile:hover { background: var(--primary-800); }

@media (max-width: 1100px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { height: 80px; }
  .navbar-logo-img { height: 70px; }
  body { padding-top: 80px; }
}
@media (max-width: 480px) {
  .navbar-social { display: none; }
}
@media (max-width: 1100px) {
  .mobile-menu.open { display: flex; }
}

/* ── BLOG CARDS ─────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--primary-100); }
.blog-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--slate-600);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-label {
  font-size: 0.72rem;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.blog-card-title { font-family: 'Figtree', sans-serif; font-size: 1.05rem; color: var(--slate-900); margin: 0 0 0.5rem; line-height: 1.35; font-weight: 600; }
.blog-card-excerpt { font-size: 0.875rem; color: var(--slate-600); line-height: 1.6; margin: 0 0 1rem; }
.blog-card-meta { font-size: 0.78rem; color: var(--slate-600); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-700);
  color: #fff;
  border: 2px solid var(--primary-700);
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--primary-800); border-color: var(--primary-800); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-700);
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: var(--primary-50); transform: translateY(-1px); }

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green-600);
  color: #fff;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-green:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #f0fdff 0%, #e0f7fa 40%, #f8fafc 100%);
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #0f172a; margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.1rem; color: var(--slate-600); margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1rem; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 500;
}
.trust-badge svg { color: var(--primary-600); flex-shrink: 0; }
/* ── Hero Rotator ─────────────────────────────────────────── */
.hero-rotator {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-rotator-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 460px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-rotator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(0,0,0,0.28);
}
.hero-rotator-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease;
}
.hero-rotator-photo.fading { opacity: 0; }
.hero-rotator-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 40%, rgba(0,0,0,0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  gap: 0.6rem;
}
.hero-rotator-tag {
  display: inline-block;
  background: rgba(8,145,178,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  width: fit-content;
}
.hero-rotator-quote {
  margin: 0;
  font-family: 'Figtree', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  font-style: italic;
}
.hero-rotator-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-rotator-meta span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.hero-rotator-link {
  font-size: 0.82rem;
  color: var(--primary-100);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.hero-rotator-link:hover { color: #fff; }
.hero-rotator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-rotator-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-rotator-dots {
  display: flex;
  gap: 6px;
}
.hero-rotator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-rotator-dot.active {
  background: var(--primary-600);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-rotator { display: none; }
}
@media (max-width: 1100px) {
  .hero-rotator-card { height: 380px; }
}

/* ── CARDS ─────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: default;
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--primary-100); }
.card-link { text-decoration: none; display: block; }
.card-icon {
  width: 48px; height: 48px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-700);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--slate-900); }
.card p { color: var(--slate-600); font-size: 0.9rem; line-height: 1.6; margin: 0 0 1rem; }
.card-link-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── STEPS ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 16.67%; right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-200, #a5f3fc), var(--primary-600));
  opacity: 0.3;
}
.step { text-align: center; padding: 2rem 1.5rem; }
.step-num {
  width: 56px; height: 56px;
  background: var(--primary-700);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--slate-600); font-size: 0.9rem; margin: 0; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ── THERAPIST CARD ─────────────────────────────────────── */
.therapist-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.therapist-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.therapist-photo {
  height: 220px;
  background: var(--primary-100);
  position: relative;
  overflow: hidden;
}
.therapist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(1.02) contrast(1.03);
  transition: filter 0.35s ease;
  display: block;
}
.therapist-card:hover .therapist-photo img {
  filter: brightness(1.05) contrast(1.05);
}
.therapist-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(15,30,60,0.18) 100%);
  pointer-events: none;
}
.therapist-body { padding: 1.5rem; }
.therapist-body h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.therapist-title { font-size: 0.8rem; color: var(--primary-700); font-weight: 600; margin-bottom: 0.75rem; }
.therapist-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tag {
  font-size: 0.72rem;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 500;
}

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonial {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border-left: 4px solid var(--primary-600);
}
.testimonial blockquote { font-style: italic; color: var(--slate-700); font-size: 1rem; margin: 0 0 1rem; line-height: 1.7; }
.testimonial cite { font-size: 0.875rem; color: var(--slate-500); font-style: normal; font-weight: 600; }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-table {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: var(--slate-50); }
.pricing-name { font-weight: 500; color: var(--slate-700); }
.pricing-price { font-family: 'Figtree', sans-serif; font-weight: 700; color: var(--primary-700); font-size: 1.05rem; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  color: #fff;
}
.cta-section h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary-800);
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: var(--primary-50); transform: translateY(-1px); }

/* ── PAGE HERO (subpages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, #f0fdff 100%);
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--primary-100, #cffafe);
}
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: var(--primary-900); margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--slate-600); max-width: 720px; line-height: 1.75; }

/* ── CHECKLIST ─────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
  color: var(--slate-700);
}
.checklist li:last-child { border-bottom: none; }
.checklist li svg { flex-shrink: 0; margin-top: 2px; color: var(--primary-600); }

/* ── FORM ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: 'Noto Sans', sans-serif;
  color: var(--slate-900);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}
textarea { min-height: 120px; resize: vertical; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; }
.checkbox-group input[type="checkbox"] { margin-top: 3px; accent-color: var(--primary-700); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-group label { font-weight: 400; font-size: 0.85rem; color: var(--slate-600); cursor: pointer; margin: 0; }
.form-note { font-size: 0.8rem; color: var(--slate-500); margin-top: 0.75rem; }

/* ── MAP PLACEHOLDER ─────────────────────────────────── */
.map-placeholder {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  font-size: 0.875rem;
  border: 1.5px dashed var(--slate-300);
  font-style: italic;
}

/* ── THERAPLO PLACEHOLDER ─────────────────────────────── */
.theraplo-placeholder {
  background: var(--primary-50);
  border: 2px dashed var(--primary-200, #a5f3fc);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--primary-700);
}
.theraplo-placeholder h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary-800); }
.theraplo-placeholder p { font-size: 0.875rem; color: var(--slate-500); margin: 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.65; margin: 0.75rem 0 1.25rem; }
.footer-logo { font-family: 'Figtree', sans-serif; font-weight: 700; font-size: 1rem; color: #fff; }
.footer h4 { font-family: 'Figtree', sans-serif; font-size: 0.875rem; color: #fff; font-weight: 600; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── SOCIAL MEDIA ────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.social-link:hover { background: rgba(255,255,255,0.2); color: #fff; }
.social-link.whatsapp:hover { background: #25d366; color: #fff; }

/* ── WHATSAPP FLOAT ───────────────────────────────────── */
.whatsapp-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.whatsapp-bubble {
  background: #fff;
  color: var(--slate-700);
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  white-space: nowrap;
  position: relative;
  animation: bubble-in 0.4s ease 1.2s both;
}
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: #fff;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  background: #20b858;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .whatsapp-wrap { bottom: calc(4.5rem + env(safe-area-inset-bottom)); right: 1rem; }
  .whatsapp-bubble { display: none; }
  .whatsapp-float { width: 50px; height: 50px; }
}

/* ── REVIEW WIDGETS ──────────────────────────────────── */
.review-widget-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.review-widget-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
}
.review-widget-placeholder {
  border: 2px dashed var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  background: var(--slate-50);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.review-widget-placeholder .widget-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.review-widget-placeholder ol {
  text-align: left;
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.8;
  padding-left: 1.25rem;
  margin: 0;
}
.review-widget-placeholder a.widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
  margin-top: 0.25rem;
}
.review-widget-placeholder a.widget-btn:hover { opacity: 0.88; }
@media (max-width: 768px) {
  .review-widget-wrap { grid-template-columns: 1fr; }
}

/* ── Conversion Drawer ───────────────────────────────────── */
.conv-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  z-index: 200;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease;
}
.conv-backdrop.open { display: block; }
.conv-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2rem 2rem 2.5rem;
  z-index: 201;
  box-shadow: 0 -8px 40px rgba(15,23,42,0.18);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
  max-width: 560px;
  margin: 0 auto;
}
.conv-drawer.open { transform: translateY(0); }
.conv-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--slate-100);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  transition: background 0.15s;
}
.conv-close:hover { background: var(--slate-200); }
.conv-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin: 0 0 0.5rem;
}
.conv-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}
.conv-sub {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.conv-options { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.conv-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.conv-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.conv-btn svg { flex-shrink: 0; }
.conv-btn div { display: flex; flex-direction: column; gap: 0.1rem; }
.conv-btn strong { font-size: 0.95rem; font-weight: 700; line-height: 1.2; }
.conv-btn span { font-size: 0.78rem; opacity: 0.8; }
.conv-btn-primary { background: var(--primary-600); color: #fff; }
.conv-btn-wa { background: #25D366; color: #fff; }
.conv-btn-phone { background: var(--slate-100); color: var(--slate-900); border: 1px solid var(--slate-200); }
.conv-btn-phone span { color: var(--slate-600); }
.conv-form-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-500);
  text-decoration: none;
  transition: color 0.15s;
}
.conv-form-link:hover { color: var(--primary-600); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.case-cta-inline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-600);
  transition: color 0.15s, gap 0.15s;
}
.open-conv:hover .case-cta-inline { color: var(--primary-800); }
.open-conv:hover { border-color: var(--primary-600); box-shadow: 0 4px 20px rgba(8,145,178,0.12); }

/* ── CASE STUDY CARDS ─────────────────────────────────── */
.case-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15,23,42,0.13);
}
.case-photo {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}
.case-photo-silhouette {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.25;
}
.case-photo-silhouette svg { width: 90px; height: auto; }
.case-photo-label {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}
.case-tag-pill {
  display: inline-block;
  background: rgba(15,118,110,0.65);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.case-photo-quote {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  font-weight: 500;
}
.case-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.case-meta strong {
  font-size: 0.95rem;
  color: var(--slate-900);
}
.case-meta span {
  font-size: 0.78rem;
  color: var(--slate-500);
}
.case-body p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.case-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
}
.case-cta:hover { color: var(--teal-700); gap: 0.5rem; }

/* ── CAROUSEL ─────────────────────────────────────────── */
.cases-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}
.cases-carousel {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem 2rem 0.5rem calc((100vw - 1200px) / 2 + 2rem);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  cursor: grab;
}
.cases-carousel:active { cursor: grabbing; }
.cases-carousel .case-card {
  flex: 0 0 340px;
  width: 340px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--slate-700);
  transition: background 0.2s, box-shadow 0.2s;
}
.carousel-btn:hover { background: var(--teal-50); box-shadow: 0 4px 20px rgba(15,23,42,0.2); }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--teal-500);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .cases-carousel { padding-left: 1.25rem; }
  .cases-carousel .case-card { flex: 0 0 300px; width: 300px; }
}
@media (max-width: 600px) {
  .cases-carousel .case-card { flex: 0 0 calc(100vw - 3rem); width: calc(100vw - 3rem); }
}

/* ── INFO BOX ─────────────────────────────────────────── */
.info-box {
  background: var(--primary-50);
  border-left: 4px solid var(--primary-300);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.6;
}
.info-box strong { color: #78350f; }

/* ── CONTACT INFO ─────────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-700);
}
.contact-label { font-size: 0.8rem; color: var(--slate-500); font-weight: 500; margin-bottom: 0.2rem; }
.contact-value { font-size: 0.95rem; color: var(--slate-800); font-weight: 500; }
.contact-value a { color: var(--primary-700); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* ── UTILS ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--slate-600); font-size: 1.05rem; max-width: 600px; }
.section-header.text-center p { margin: 0 auto; }
.bg-light { background: var(--slate-50); }
.bg-primary-light { background: var(--primary-50); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  color: #f1f5f9;
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  font-family: var(--font-body, system-ui), sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; flex: 1; min-width: 260px; }
.cookie-banner a { color: #7dd3fc; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--primary-600, #0891b2);
  color: #fff;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
  white-space: nowrap;
}
.cookie-btn-reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 0.55rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: var(--primary-700, #0e7490); }
.cookie-btn-reject:hover { color: #f1f5f9; }


/* ── Mobile sticky CTA bar ───────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--primary-600, #0891b2);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  /* safe area for notched phones */
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.mobile-cta-bar--visible {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }
}

/* ── Breadcrumbs ─────────────────────────────────────── */
.breadcrumb {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--slate-100);
  background: #fff;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--slate-400);
  flex-wrap: wrap;
}
.breadcrumb-list a {
  color: var(--primary-600);
  text-decoration: none;
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  color: var(--slate-300);
}
.breadcrumb-list li:last-child { color: var(--slate-600); font-weight: 500; }

/* ── Exit Intent Popup ───────────────────────────────── */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup[hidden] { display: none; }

.exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  animation: exitFadeIn 0.2s ease;
}
@keyframes exitFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.exit-popup-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  animation: exitSlideUp 0.25s ease;
}
@keyframes exitSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-400, #94a3b8);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.exit-popup-close:hover { color: var(--gray-700, #334155); background: var(--gray-100, #f1f5f9); }

.exit-popup-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.exit-popup-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900, #0f172a);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.exit-popup-text {
  font-size: 0.95rem;
  color: var(--gray-600, #475569);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exit-popup-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200, #e2e8f0);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--gray-900, #0f172a);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.exit-popup-input:focus {
  border-color: var(--primary-500, #06b6d4);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}

.exit-popup-submit {
  background: var(--primary-600, #0891b2);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.exit-popup-submit:hover  { background: var(--primary-700, #0e7490); }
.exit-popup-submit:active { transform: scale(0.98); }

.exit-popup-thanks {
  color: var(--primary-700, #0e7490);
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem 0 0;
}
.exit-popup-thanks[hidden] { display: none; }

.exit-popup-privacy {
  font-size: 0.75rem;
  color: var(--gray-400, #94a3b8);
  margin: 1rem 0 0;
  line-height: 1.4;
}

/* ── Therapist CTA block ─────────────────────────────── */
.therapist-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.therapist-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900, #0f172a);
  white-space: nowrap;
  flex-shrink: 0;
}
.therapist-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-500, #64748b);
}
.therapist-cta .btn-primary {
  flex: 1;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

/* ── Group join steps ────────────────────────────────── */
.group-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.group-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  position: relative;
}
.group-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-600, #0891b2);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.group-step-num::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--primary-200, #a5f3fc);
  height: calc(100% + 2.5rem);
}
.group-step:last-child .group-step-num::after { display: none; }
.group-step-connector { display: none; }
.group-step-body {
  padding-bottom: 2.5rem;
}
.group-step:last-child .group-step-body { padding-bottom: 0; }
.group-step-badge {
  display: inline-block;
  background: var(--primary-50, #ecfeff);
  color: var(--primary-700, #0e7490);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--primary-200, #a5f3fc);
  margin-bottom: 0.5rem;
}
.group-step-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--gray-900, #0f172a);
}
.group-step-body p {
  font-size: 0.9rem;
  color: var(--slate-600, #475569);
  line-height: 1.65;
  margin: 0 0 0.6rem;
}
.group-step-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--slate-500, #64748b);
}
.group-step-detail svg { flex-shrink: 0; color: var(--primary-500, #06b6d4); }

.group-steps-cta {
  text-align: center;
}
.group-steps-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.9rem 2rem;
}
.group-steps-cta-sub {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--slate-500, #64748b);
}
.group-steps-cta-sub a { color: var(--primary-700, #0e7490); font-weight: 600; }

@media (max-width: 640px) {
  .group-step { grid-template-columns: 40px 16px 1fr; gap: 0 0.75rem; }
  .group-step-num { width: 40px; height: 40px; font-size: 1rem; }
}

/* ── ZnanyLekarz badge ───────────────────────────────── */
.zl-badge-box { padding: 0 !important; }
.zl-badge {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  height: 100%;
  box-sizing: border-box;
}
.zl-badge-header { display: flex; align-items: center; }
.zl-logo { height: 28px; width: auto; }

.zl-badge-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.zl-score-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-900, #0f172a);
  line-height: 1;
}
.zl-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.25rem;
}
.zl-stars svg { width: 20px; height: 20px; }
.zl-count {
  font-size: 0.82rem;
  color: var(--slate-500, #64748b);
  margin: 0;
}

.zl-badge-quotes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.zl-quote {
  font-size: 0.875rem;
  color: var(--slate-600, #475569);
  line-height: 1.55;
  padding-left: 0.875rem;
  border-left: 3px solid #00a0a0;
  font-style: italic;
}

.zl-badge-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #00a0a0;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.zl-badge-cta:hover { background: #008080; }

.zl-quote-author {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--slate-400, #94a3b8);
}

/* Team page — color photos */
.team-member-photo {
  filter: brightness(1.02) contrast(1.03);
  transition: filter 0.35s ease;
}
.team-member-photo:hover {
  filter: brightness(1.05) contrast(1.05);
}

/* ── MOBILE FIXES ≤ 480px ──────────────────────────────── */
@media (max-width: 480px) {

  /* Bezpieczne wartości na małych telefonach */
  html, body { overflow-x: hidden; }

  /* Sekcje — mniejszy padding pionowy */
  .section { padding: 3rem 1.25rem; }
  .section-sm { padding: 2rem 1.25rem; }
  .hero { padding: 2.5rem 1.25rem 2.5rem; }

  /* Przyciski — mniejsze na mobile */
  .btn-primary,
  .btn-secondary,
  .btn-green {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .hero-cta { flex-direction: column; gap: 0.75rem; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { width: 100%; }

  /* Karuzela historii — pełna szerokość */
  .cases-carousel { padding-left: 1rem; padding-right: 1rem; }
  .cases-carousel .case-card {
    flex: 0 0 calc(100vw - 2rem);
    width: calc(100vw - 2rem);
  }

  /* Cookie banner — kolumna zamiast rzędu */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 1rem;
  }
  .cookie-banner p { min-width: 0; }
  .cookie-banner-actions { flex-direction: column; gap: 0.5rem; }
  .cookie-btn-accept,
  .cookie-btn-reject { width: 100%; text-align: center; padding: 0.7rem 1rem; }

  /* Karty terapeutów — 1 kolumna */
  .grid-4 { grid-template-columns: 1fr; }

  /* Section header */
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  /* Therapist CTA block */
  .therapist-cta { flex-direction: column; align-items: stretch; }
  .therapist-cta .btn-primary { width: 100%; }

  /* Konwersja drawer */
  .conv-drawer { padding: 1.5rem 1.25rem 2rem; }

  /* Group steps — mniejsze na małych telefonach */
  .group-step { grid-template-columns: 36px 1fr; gap: 0 0.75rem; }
  .group-step-num { width: 36px; height: 36px; font-size: 0.9rem; }

  /* iOS — zapobieganie zoom przy fokusie na input */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select { font-size: 16px !important; }

  /* Navbar logo mniejsze na bardzo małych */
  .navbar-logo-img { height: 55px; }
  .navbar-inner { height: 68px; }
  body { padding-top: 68px; }

  /* Review widgets — 1 kolumna */
  .review-widget-wrap { grid-template-columns: 1fr; }

  /* Steps — mniejsze */
  .step { padding: 1.5rem 1rem; }

  /* Trust badges — wrap lepiej */
  .trust-badges { gap: 0.75rem; }
  .trust-badge { font-size: 0.78rem; }

  /* Footer kolumny */
  .footer-inner { gap: 1.25rem; }
}

/* ── INLINE GRID FIX — klasy pomocnicze ──────────────── */
/* Zastępują inline style display:grid w HTML */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .grid-2-col { gap: 1.5rem; }
}

.grid-2-col-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2-col-start {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .grid-2-col-start { gap: 1.5rem; }
}

.grid-2-col-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2-col-wide {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 480px) {
  .grid-2-col-wide { gap: 1.5rem; }
}

/* Profil terapeuty — zdjęcie + treść */
.grid-team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--slate-200);
}
@media (max-width: 768px) {
  .grid-team-member {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Strona rezerwacji — formularz + sidebar */
.grid-booking {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .grid-booking {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Grupy — 2 kolumny kart */
.grid-2-col-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 640px) {
  .grid-2-col-groups {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Blog — artykuł + sidebar */
.grid-article-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .grid-article-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Grupy-dbt — 2 col wide */
.grid-2-col-dbt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .grid-2-col-dbt { grid-template-columns: 1fr; gap: 2rem; }
}

/* Grupy — 2 col narrow */
.grid-2-col-narrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .grid-2-col-narrow { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Grupy wspoluzaleznieni — 2 col tight */
.grid-2-col-tight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .grid-2-col-tight { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Theraplo small calendar — ukryj zdjęcie terapeuty (duplikat) ── */
#practicare-calendar-small img,
#practicare-calendar-small img[alt="User Avatar"],
#practicare-calendar-small .chakra-image,
#practicare-calendar-small .theraplo-clcywf,
#practicare-calendar-small .avatar,
#practicare-calendar-small .chakra-avatar,
#practicare-calendar-small .chakra-avatar__img,
#practicare-calendar-small [class*="avatar"],
#practicare-calendar-small [class*="chakra-avatar"],
#practicare-calendar-small [class*="photo"],
#practicare-calendar-small [class*="image"],
img[alt="User Avatar"],
img.chakra-image.theraplo-clcywf {
  display: none !important;
}
