/* ===========================
   BeSure - Design System & Styles
   =========================== */

/* Hide Bookero sticky button - we use our own calendar embed */
#bookero-plugin-sticky,
.bookero-plugin-sticky,
[id^="bookero"][style*="fixed"],
.bookero-sticky-btn,
div[class*="bookero"][style*="position: fixed"],
div[class*="bookero"][style*="position:fixed"] { display: none !important; }

/* --- CSS Variables --- */
:root {
  --brand: #3a8c8c;
  --complementary: #a33550;
  --secondary: #5c3085;
  --neutral1: #000;
  --neutral2: #fff;
  --uc1: #444151;
  --footer-bg: #79717c;
  --warm: #fdf6f3;
  --text: #333;
  --tl: #666;
  --pink-bg: #f0dcd8;
  --green-accent: #6b9e7a;
  --R: 20px;
  --btn-R: 67px;
  --max-w: 1360px;
  --transition: 0.3s ease;
  /* Aliases used across the site */
  --font-body: 'Lato', sans-serif;
  --font-heading: 'Cormorant Garamond', serif;
  --accent: var(--complementary);
  --dark: var(--uc1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--neutral2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; color: var(--uc1); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle {
  text-align: center;
  color: var(--tl);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}
.accent-text { color: var(--complementary); }
.brand-text { color: var(--brand); }

/* --- Layout --- */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: 80px 0; }
.sec-warm { background: var(--warm); }
.sec-dark { background: var(--uc1); color: var(--neutral2); }
.sec-dark h2, .sec-dark h3, .sec-dark h4 { color: var(--neutral2); }
.sec-pink { background: var(--pink-bg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--btn-R);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  gap: 8px;
}
.btn-brand {
  background: var(--brand);
  color: var(--neutral2);
}
.btn-brand:hover { background: #2d7373; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(58,140,140,.4); }
.btn-complementary {
  background: var(--complementary);
  color: var(--neutral2);
}
.btn-complementary:hover { background: #8c2d45; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(163,53,80,.4); }
.btn-secondary {
  background: var(--secondary);
  color: var(--neutral2);
}
.btn-secondary:hover { background: #4a2670; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(92,48,133,.4); }
.btn-ghost {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 2px solid #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.35); transform: translateY(-2px); border-color: #fff; }
.btn-outline {
  background: rgba(163,53,80,.08);
  border: 2px solid var(--complementary);
  color: var(--complementary);
  font-weight: 600;
}
.btn-outline:hover { background: var(--complementary); color: var(--neutral2); transform: translateY(-2px); }
.btn-dark {
  background: var(--uc1);
  color: var(--neutral2);
}
.btn-dark:hover { background: #333040; transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

/* --- Topbar --- */
.topbar {
  background: var(--uc1);
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 100;
}
.topbar .inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar-contact { display: flex; gap: 24px; align-items: center; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; }
.topbar-contact svg { width: 13px; height: 13px; flex-shrink: 0; }

/* --- Navbar --- */
.navbar {
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.navbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.navbar-logo img { height: 50px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uc1);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--complementary); }
.nav-cta { margin-left: 12px; padding: 10px 24px !important; font-size: .82rem !important; flex-shrink: 0; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--uc1);
  transition: all var(--transition);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--uc1);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(68,65,81,.35) 0%, rgba(92,48,133,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 800px;
}
.hero h1 {
  color: var(--neutral2);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--brand);
}
.hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  background: var(--uc1);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(92,48,133,.15);
}
.page-hero h1 { color: var(--neutral2); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  font-family: 'Lato', sans-serif;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Offer Cards --- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.offer-card {
  border-radius: var(--R);
  padding: 40px 30px;
  color: var(--neutral2);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition), box-shadow var(--transition);
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.offer-card h3 { color: var(--neutral2); margin-bottom: 0.5rem; font-size: 1.5rem; }
.offer-card p { font-size: 0.9rem; opacity: .85; margin-bottom: 1rem; }
.offer-card .btn { align-self: flex-start; }
.offer-bg-brand { background: linear-gradient(135deg, var(--brand) 0%, #2d7373 100%); }
.offer-bg-complementary { background: linear-gradient(135deg, var(--complementary) 0%, #c44060 100%); }
.offer-bg-secondary { background: linear-gradient(135deg, var(--secondary) 0%, #7840a8 100%); }
.offer-bg-dark { background: linear-gradient(135deg, var(--uc1) 0%, #5a5768 100%); }
.offer-bg-teal { background: linear-gradient(135deg, #2a6b5e 0%, #3a8b7e 100%); }
.offer-bg-wine { background: linear-gradient(135deg, #853175 0%, #a54095 100%); }
.offer-bg-red { background: linear-gradient(135deg, rgb(189,82,68) 0%, rgb(209,102,88) 100%); }

.offer-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:768px) { .offer-grid-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .offer-grid-3 { grid-template-columns: 1fr; } }
/* Oferta page: 2-3-1 layout */
.offer-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.offer-grid-v2 .offer-card:nth-child(n+3):nth-child(-n+5) { /* cards 3-5 */ }
@media(min-width:769px) {
  .offer-grid-v2 { grid-template-columns: repeat(6, 1fr); }
  .offer-grid-v2 .offer-card:nth-child(1) { grid-column: span 3; }
  .offer-grid-v2 .offer-card:nth-child(2) { grid-column: span 3; }
  .offer-grid-v2 .offer-card:nth-child(3) { grid-column: span 2; }
  .offer-grid-v2 .offer-card:nth-child(4) { grid-column: span 2; }
  .offer-grid-v2 .offer-card:nth-child(5) { grid-column: span 2; }
  .offer-grid-v2 .offer-card:nth-child(6) { grid-column: span 2; }
}
@media(max-width:480px) { .offer-grid-v2 { grid-template-columns: 1fr; } }
.offer-grid-3 .offer-card {
  min-height: 220px;
  padding: 40px 32px;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
}
.offer-grid-3 .offer-card h3 {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 1.2rem;
  font-family: 'Lato', sans-serif;
}
.offer-card-icon { margin-bottom: 1.2rem; opacity: .7; }
.offer-card-footer { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; }
.offer-card-price { font-size: 1.1rem; font-weight: 700; color: #fff; font-family: 'Cormorant Garamond', serif; }
.offer-card-time { font-weight: 400; opacity: .7; font-size: .85rem; font-family: 'Lato', sans-serif; }
.offer-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .4s ease; }
.offer-card:hover::before { transform: scale(2.5); }
.offer-card .card-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: 'Lato', sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; transition: border-color .3s; }
.offer-card:hover .card-arrow { border-color: #fff; }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-video {
  border-radius: var(--R);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.about-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; color: rgba(255,255,255,.85); }
.about-text .btn { margin-top: 1rem; }
.about-values {
  margin-top: 1.5rem;
  padding: 0;
}
.about-values li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text, #333);
}
.about-values li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* --- Mission Cards --- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mission-card {
  background: var(--neutral2);
  border-radius: var(--R);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.mission-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--pink-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.mission-card h3 { margin-bottom: 0.75rem; }
.mission-card p { color: var(--tl); font-size: 0.95rem; }

/* --- Help Areas --- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.help-card {
  background: var(--neutral2);
  border-radius: var(--R);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.help-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.help-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.help-card-body { padding: 24px; }
.help-card-body h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.help-card-body p { color: var(--tl); font-size: 0.9rem; }

/* --- CTA Box --- */
.cta-box {
  border-radius: var(--R);
  position: relative;
  overflow: hidden;
  padding: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--complementary) 0%, var(--secondary) 100%);
}
.cta-box h2 { color: var(--neutral2); margin-bottom: 1rem; }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-box .btn { border: 2px solid rgba(255,255,255,.5); }
.cta-box .btn-brand { background: #fff; color: var(--complementary); border-color: #fff; font-weight: 700; }
.cta-box .btn-brand:hover { background: rgba(255,255,255,.9); }
.cta-box .btn-ghost { border-color: #fff; background: rgba(255,255,255,.25); color: #fff; font-weight: 600; backdrop-filter: blur(4px); }
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.4); }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--neutral2);
  border-radius: var(--R);
  padding: 32px;
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--tl); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--uc1); }
.testimonial-source { font-size: 0.8rem; color: var(--tl); }

/* --- Steps/Path --- */
.steps-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}
.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--complementary), var(--secondary));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 180px;
  max-width: 250px;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--neutral2);
  border: 3px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--complementary);
}
.step-item h4 { margin-bottom: 0.5rem; }
.step-item p { color: var(--tl); font-size: 0.9rem; }

/* --- Steps Timeline (front-page classes) --- */
.steps-section {
  padding: 90px 0;
  background: #fff;
}
.steps-timeline {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--complementary), var(--secondary));
  z-index: 0;
}
.steps-timeline .step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
}
.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--neutral2, #faf7f2);
  border: 3px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--complementary);
}
.steps-timeline .step-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--uc1);
}
.steps-timeline .step-item p {
  color: var(--tl);
  font-size: 0.88rem;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .steps-timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .steps-timeline::before {
    display: none;
  }
  .steps-timeline .step-item {
    max-width: 400px;
    min-width: auto;
  }
}

/* --- Why-grid 4 columns fix --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* --- Bento card contrast fix --- */
.bento-pomoc .bp-card {
  position: relative;
  overflow: hidden;
}
.bento-pomoc .bp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.35) 100%);
  z-index: 0;
  pointer-events: none;
}
.bento-pomoc .bp-card h3,
.bento-pomoc .bp-card p {
  position: relative;
  z-index: 1;
}
.bento-pomoc .bp-card h3 {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.bento-pomoc .bp-card p {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  opacity: .95;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--neutral2);
  border-radius: var(--R);
  padding: 40px 30px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.pricing-card.featured {
  border-color: var(--complementary);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Najpopularniejsza';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--complementary);
  color: var(--neutral2);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-label {
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--tl);
  margin-bottom: 1rem;
}
.pricing-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--uc1);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-amount span { font-size: 1.2rem; font-weight: 400; }
.pricing-duration { color: var(--tl); font-size: 0.9rem; margin-bottom: 2rem; }
.pricing-features { margin-bottom: 2rem; text-align: left; }
.pricing-features li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text); font-size: 0.95rem; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green-accent); font-weight: 700; }

/* --- Pricing Table (cennik page) --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--neutral2);
  border-radius: var(--R);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.pricing-table th {
  background: var(--uc1);
  color: var(--neutral2);
  padding: 16px 24px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f0ecec;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--warm); }
.pricing-table .price-cell { font-weight: 700; color: var(--complementary); font-size: 1.05rem; white-space: nowrap; }

/* --- Team Grid --- */
.team-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #ddd;
  color: var(--tl);
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--complementary);
  color: var(--complementary);
  background: rgba(163,53,80,.05);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.team-card {
  background: var(--neutral2);
  border-radius: var(--R);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.team-card-photo {
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  background: #fff;
}
.team-card-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.team-card-photo .avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--neutral2);
}
.team-card-body { padding: 24px; }
.team-card-body h3 { margin-bottom: 4px; font-size: 1.3rem; }
.team-card-role {
  color: var(--complementary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
}
.team-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  background: var(--warm);
  color: var(--uc1);
  font-family: 'Lato', sans-serif;
}
.tag-match { background: rgba(107,158,122,.15); color: var(--green-accent); }
.team-card-desc { color: var(--tl); font-size: 0.9rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0ecec;
}
.team-card-price { font-weight: 700; color: var(--uc1); }

/* --- Team Preview (front-page mini cards) --- */
.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
  border-radius: var(--R, 16px);
  padding: 0 0 1.2rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.team-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.team-mini-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--warm, #faf7f2);
}
.team-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-mini-card h4 {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--uc1);
  margin: .9rem 0 6px;
  padding: 0 .8rem;
}
.team-mini-role {
  font-size: 0.82rem;
  color: #fff;
  font-family: var(--font-body, 'Lato', sans-serif);
  background: var(--brand);
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  margin-top: 4px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .team-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 500px) {
  .team-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .team-mini-card h4 { font-size: 1rem; }
}

/* --- Therapist Profile --- */

/* Hero with photo + info */
.therapist-hero {
  background: var(--uc1);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.therapist-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,162,148,.08);
}
.therapist-hero .breadcrumb a,
.therapist-hero .breadcrumb span { color: rgba(255,255,255,.5); }
.therapist-hero .breadcrumb a:hover { color: var(--brand); }
.therapist-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 1.5rem;
}
.therapist-hero-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.therapist-hero-photo .avatar-large {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--neutral2);
  border-radius: 20px;
}
.therapist-hero-text h1 {
  color: var(--neutral2);
  font-size: 2.4rem;
  margin-bottom: 6px;
  line-height: 1.15;
}
.therapist-hero-text .profile-role {
  color: var(--brand);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
}
.therapist-hero-text .profile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.therapist-hero-text .tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 14px;
  font-size: 0.78rem;
}
.therapist-hero-text .profile-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Profile content - two columns: sidebar + text */
.profile-content {
  background: var(--neutral2);
  padding: 50px 0 60px;
}
.profile-content-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.profile-section {
  margin-bottom: 0;
  padding: 2rem 2.5rem;
  background: var(--warm);
  border-radius: var(--R);
}
.profile-section h3 {
  margin-bottom: .8rem;
  color: var(--complementary);
  font-size: 1.35rem;
}
.profile-section p,
.profile-section li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: var(--text);
  font-size: .95rem;
}
.profile-section ul { padding-left: 0; list-style: none; }
.profile-section ul li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.profile-section ul li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--green-accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.profile-quote {
  background: var(--warm);
  border-radius: var(--R);
  padding: 24px 2.5rem;
  border-left: 4px solid var(--complementary);
  font-style: italic;
  color: var(--tl);
  font-size: 1rem;
  line-height: 1.7;
}

/* Profile two-column layout */
.profile-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.profile-two-col .profile-section {
  margin-bottom: 0;
}

/* Specialization pills grid */
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.specialization-grid li {
  background: var(--pink-bg);
  border-radius: 30px;
  padding: 10px 20px;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  border: 1px solid rgba(139,58,98,.1);
  transition: background .2s;
}
.specialization-grid li:hover {
  background: var(--brand);
  color: #fff;
}
.specialization-grid li::before {
  display: none !important;
}
.specialization-grid li {
  padding-left: 20px !important;
}

/* Profile method - accent border style */
.profile-method {
  border-left: 3px solid var(--accent);
  padding-left: 2rem !important;
  background: transparent !important;
}

/* Booking section */
.therapist-booking {
  background: var(--warm);
  padding: 50px 0 70px;
}
.booking-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--neutral2);
  border-radius: var(--R);
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.booking-container .section-title {
  text-align: left;
  margin-bottom: 0.3rem;
  font-size: 1.8rem;
}
.booking-container .section-subtitle {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

/* Legacy profile grid support (keep for backward compat) */
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: start;
}
.profile-photo {
  border-radius: var(--R);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.profile-photo img { width: 100%; height: auto; }
.profile-info h1 { margin-bottom: 4px; }
.profile-role { color: var(--complementary); font-size: 1.1rem; margin-bottom: 1.5rem; font-family: 'Lato', sans-serif; }
.profile-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  background: var(--warm);
  color: var(--uc1);
  font-family: 'Lato', sans-serif;
}
.profile-cta { display: flex; gap: 16px; margin-bottom: 2rem; flex-wrap: wrap; }
.bookero-widget {
  margin-top: 2rem;
  border-radius: var(--R);
  overflow: hidden;
  min-height: 400px;
}

/* Responsive - therapist profile */
@media (max-width: 900px) {
  .therapist-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .therapist-hero-photo {
    max-width: 220px;
    margin: 0 auto;
  }
  .therapist-hero-text .profile-tags { justify-content: center; }
  .therapist-hero-text .profile-cta { justify-content: center; }
  .therapist-hero-text h1 { font-size: 2rem; }
  .profile-content { padding: 30px 0 40px; }
  .profile-content-inner { padding: 0 16px; }
  .profile-section { padding: 1.5rem; }
  .profile-two-col { grid-template-columns: 1fr; }
  .booking-container { padding: 1.5rem; margin: 0 16px; }
}
@media (max-width: 480px) {
  .therapist-hero { padding: 100px 0 36px; }
  .therapist-hero-text h1 { font-size: 1.7rem; }
  .therapist-hero-text .profile-cta { flex-direction: column; }
  .therapist-hero-text .profile-cta .btn { width: 100%; text-align: center; }
  .profile-section { padding: 1.2rem; margin-bottom: 0; }
  .specialization-grid { grid-template-columns: 1fr; }
}

/* --- Survey --- */
.survey-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  position: sticky;
  top: 80px;
  background: var(--neutral2);
  padding: 16px 0;
  z-index: 10;
  border-bottom: 1px solid #eee;
}
.survey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--tl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.survey-step.active { color: var(--complementary); }
.survey-step.completed { color: var(--green-accent); }
.survey-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.survey-step.active .survey-step-num { background: var(--complementary); color: var(--neutral2); border-color: var(--complementary); }
.survey-step.completed .survey-step-num { background: var(--green-accent); color: var(--neutral2); border-color: var(--green-accent); }
.survey-view { display: none; }
.survey-view.active { display: block; }
.survey-question { text-align: center; margin-bottom: 2rem; }
.survey-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.survey-option {
  border: 2px solid #e0dce0;
  border-radius: var(--R);
  padding: 20px 24px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.survey-option:hover { border-color: var(--brand); background: var(--warm); }
.survey-option.selected { border-color: var(--complementary); background: rgba(163,53,80,.05); }
.survey-radio, .survey-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.survey-check { border-radius: 6px; }
.survey-option.selected .survey-radio,
.survey-option.selected .survey-check {
  border-color: var(--complementary);
  background: var(--complementary);
}
.survey-option.selected .survey-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral2);
}
.survey-option.selected .survey-check::after {
  content: '✓';
  color: var(--neutral2);
  font-size: 0.85rem;
  font-weight: 700;
}
.survey-nav { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }

/* Survey Results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.result-card {
  background: var(--neutral2);
  border-radius: var(--R);
  padding: 30px;
  text-align: center;
  border: 2px solid #eee;
  transition: all var(--transition);
}
.result-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.result-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--neutral2);
}
.result-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.match-badge {
  display: inline-block;
  background: rgba(107,158,122,.15);
  color: var(--green-accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  margin-bottom: 1rem;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media(max-width:900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--neutral2);
  border-radius: var(--R);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.06);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.blog-card-img {
  height: 240px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--pink-bg);
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 0.8rem; color: var(--complementary); margin-bottom: 8px; font-family: 'Lato', sans-serif; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.blog-card-body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; line-height: 1.4; }
.blog-card-body p { color: var(--tl); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--complementary);
}
.contact-item h4 { margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--tl); }
.contact-item a:hover { color: var(--complementary); }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uc1);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0dce0;
  border-radius: 12px;
  background: var(--neutral2);
  transition: border-color var(--transition);
  font-size: 1rem;
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--tl);
}
.form-checkbox input { margin-top: 3px; accent-color: var(--complementary); }

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer h4 { color: var(--neutral2); margin-bottom: 1rem; font-size: 1.1rem; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--brand); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo img { height: 40px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,.6); }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { font-size: 0.9rem; }
.footer-contact-item { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--brand); color: var(--neutral2); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--brand); }

/* --- Emergency Banner --- */
.emergency-banner {
  background: var(--complementary);
  color: var(--neutral2);
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
}
.emergency-banner a { color: var(--neutral2); text-decoration: underline; font-weight: 700; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* --- Section visual separators (front-page) --- */
/* Sections on warm bg get a subtle top-border divider when following white sections */
.team-preview,
.cta-section,
#dlaczego,
#oferta { position: relative; }
.team-preview::before,
.cta-section::before,
#dlaczego::before,
#oferta::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--complementary));
  border-radius: 2px;
  margin: 0 auto 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
/* White-bg sections get a thin border-top for separation */
#pomoc,
.blog-preview { border-top: 1px solid rgba(0,0,0,.06); }

/* Reveal animations — single source of truth */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Safety fallback — if JS/observer fails, show after 0.4s */
@keyframes reveal-safety { to { opacity: 1; transform: none; } }
.reveal:not(.visible) { animation: reveal-safety 0.4s ease 0.4s forwards; }
/* Staggered children inside reveal-stagger */
.reveal-stagger .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: .40s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .inner { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps-container::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 50px 0; }
  .inner { padding: 0 16px; }

  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--neutral2);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 20px;
    box-shadow: -5px 0 30px rgba(0,0,0,.1);
    transition: right var(--transition);
    z-index: 100;
    align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .nav-cta { margin-left: 0; margin-top: 1rem; }

  .hero { min-height: 500px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .offer-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .survey-options { grid-template-columns: 1fr; }

  .steps-container { flex-direction: column; align-items: center; }
  .cta-box { padding: 40px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Offer cards on mobile */
  .offer-card { min-height: 200px; padding: 1.8rem 1.5rem; }
  .offer-card h3 { font-size: 1.2rem; }

  /* Opinie grid - single column on mobile */
  .opinie-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .opinia-card { padding: 2rem 1.5rem 1.5rem; }
  .opinia-text { font-size: 1.05rem; }

  /* Blog cards mobile */
  .blog-card-img { height: 180px; }

  /* Emergency banner */
  .emergency-banner { font-size: .82rem; padding: 20px 16px; }
  .emergency-numbers { flex-direction: column; gap: 10px; }
}

/* ===========================
   MOBILE RESPONSIVE OVERRIDES
   =========================== */

/* Trust bar - prevent overflow on mobile */
@media (max-width: 768px) {
  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }
  .trust-item { padding: 20px 12px; }
  .trust-number { font-size: 1.8rem; }
  .trust-label { font-size: .78rem; }
}
@media (max-width: 400px) {
  .trust-bar-inner { padding: 0 12px; }
  .trust-item { padding: 16px 8px; }
  .trust-number { font-size: 1.5rem; }
}

/* Override inline padding:90px on homepage sections */
@media (max-width: 768px) {
  #oferta,
  #pomoc,
  #dlaczego,
  #sciezka,
  #opinie,
  #faq,
  .team-preview,
  .blog-preview,
  .cta-section,
  .opinie-section,
  .steps-section {
    padding: 50px 0 !important;
  }
  /* Reduce section header bottom margin */
  .section-header { margin-bottom: 2rem; }
  .section-header p { font-size: 1rem; }
  .section-subtitle { margin-bottom: 2rem; }
}
@media (max-width: 480px) {
  #oferta,
  #pomoc,
  #dlaczego,
  #sciezka,
  #opinie,
  #faq,
  .team-preview,
  .blog-preview,
  .cta-section,
  .opinie-section,
  .steps-section {
    padding: 40px 0 !important;
  }
}

/* Steps timeline - compact on mobile */
@media (max-width: 768px) {
  .steps-timeline {
    gap: 20px;
  }
  .steps-timeline .step-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    max-width: 100%;
    gap: 0 16px;
  }
  .steps-timeline .step-item .step-circle {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    margin: 0;
    grid-row: 1 / 3;
  }
  .steps-timeline .step-item h4 {
    margin-bottom: 4px;
    font-size: 1rem;
    align-self: end;
  }
  .steps-timeline .step-item p {
    font-size: .85rem;
    align-self: start;
  }
}

/* Offer grid spacing on mobile */
@media (max-width: 768px) {
  .offer-grid-3 {
    gap: 12px;
  }
  .offer-grid-3 .offer-card {
    min-height: 180px;
    padding: 28px 24px;
  }
  .offer-grid-3 .offer-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
  .offer-grid-v2 { gap: 12px; }
}

/* Opinie section mobile fix */
@media (max-width: 480px) {
  .opinie-grid { gap: 12px; }
  .opinia-card { padding: 1.5rem 1.2rem 1.2rem; }
  .opinia-quote { font-size: 3rem; top: 8px; left: 14px; }
  .opinia-text { font-size: 1rem; margin-bottom: .8rem; }
}

/* Blog to FAQ visual separation */
.blog-preview + #faq,
.blog-preview + section#faq {
  position: relative;
}
.blog-preview + #faq::before,
.blog-preview + section#faq::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--complementary));
  margin: 0 auto 2rem;
  border-radius: 2px;
}
@media (max-width: 768px) {
  #faq .inner { max-width: 100%; }
  .faq-item summary { font-size: .9rem; }
}

/* Why grid mobile */
@media (max-width: 768px) {
  .why-grid { gap: 16px; margin-top: 2rem; }
  .why-card { padding: 2rem 1.5rem; }
}

/* Pomoc tag grid mobile */
@media (max-width: 768px) {
  .pomoc-tag-grid { gap: 16px; margin-top: 2rem; }
  .pomoc-tag-card { padding: 1.5rem 1.3rem; }
}

/* CTA section mobile */
@media (max-width: 768px) {
  .cta-section .inner { max-width: 100%; }
}

/* Hero subtitle - stronger contrast */
.hero-subtitle {
  background: rgba(0,0,0,.45) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.6) !important;
  font-weight: 600 !important;
  font-size: 1.3rem !important;
  padding: 8px 24px !important;
  border: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.05rem !important;
    padding: 6px 16px !important;
  }
  .hero-microcopy { font-size: .85rem; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
}

/* Cennik CTA button fix - btn-brand-dark didn't exist */
.btn-brand-dark {
  background: #fff;
  color: var(--complementary);
  border: 2px solid #fff;
  font-weight: 700;
  border-radius: var(--btn-R);
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-brand-dark:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* Page hero mobile */
@media (max-width: 768px) {
  .page-hero { padding: 80px 0 40px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: .95rem; padding: 0 8px; }
}

/* Service page mobile improvements */
@media (max-width: 768px) {
  .uslugi-price-card { padding: 1.5rem; }
  .uslugi-cta { padding: 40px 0; }
}

/* Ensure inline-styled sections with white-space:nowrap don't overflow */
@media (max-width: 768px) {
  .section-header p[style*="white-space"] {
    white-space: normal !important;
  }
}

/* Dlaczego section tagline mobile */
@media (max-width: 768px) {
  .besure-onas-highlight {
    font-size: 1.4rem !important;
    line-height: 1.5;
  }
}