/* ============================================================
   BIELSKO CLINIC — Fluid CSS (v5 — brief 17.3)
   Base: 1440px design → scales down with clamp/vw
   Global: ~15% smaller fonts, ~20% smaller padding/gap
   ============================================================ */
:root {
  --bc-brown: #B0947E;
  --bc-brown-accent: #9A6F4D;
  --bc-dark: #393029;
  --bc-dark-light: #6E5B4C;
  --bc-cream: #F7F4EF;
  --bc-white: #FFFFFF;
  --font-h: 'NT Vanilla', 'NTVanilla', serif;
  --font-b: 'Metropolis', sans-serif;
  --side-pad: clamp(16px, 6.5vw, 100px);
}
html { overflow-x: clip; }
body.brx-body { font-family: var(--font-b); color: var(--bc-dark); background: var(--bc-white); margin: 0; overflow-x: clip; }
#brx-content { flex: 1; }
#brx-footer { margin-top: auto; }

/* ===================== HEADER — compact, sticky ===================== */
#brx-header { background: var(--bc-white); padding: 0; box-shadow: none; z-index: 1000; position: sticky !important; top: 0 !important; }
/* Figma: container 792px, pt 30px, column, center, gap 40px */
.bc-header { padding: clamp(8px, 1vw, 14px) 0 clamp(6px, 0.5vw, 10px) !important; background: var(--bc-white) !important; }
.bc-header-inner {
  max-width: clamp(500px, 55vw, 792px); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(6px, 0.8vw, 12px); padding: 0;
}
/* Figma: logo 225x115 */
.bc-logo { text-align: center; margin-bottom: 0; }
.bc-logo img { width: clamp(110px, 11vw, 160px); height: auto; }
/* Figma: menu 792px, space-between, Metropolis 16px, tracking 0.8px, #B0947E */
.bc-nav { width: 100%; }
.bc-nav .bricks-nav-menu {
  display: flex; justify-content: space-between;
  list-style: none; padding: 0; margin: 0;
}
.bc-nav .menu-item a {
  font-family: var(--font-b); font-size: clamp(12px, 1.1vw, 16px); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--bc-brown);
  text-decoration: none; padding: 0; display: block; transition: color 0.3s;
  white-space: nowrap;
}
.bc-nav .menu-item a:hover { color: var(--bc-dark); }
/* Portrait detection: aspect-ratio < 1 means height > width (portrait) */
@media (max-width: 991px) and (max-aspect-ratio: 1/1) {
  #brxe-okhmhv { width: 100% !important; padding: 15px clamp(20px, 5vw, 60px) !important; }
  #brxe-okhmhv .bc-hero-title { font-size: clamp(28px, 5vw, 42px) !important; }
  #brxe-okhmhv .bc-hero-title br { display: none; }
  #brxe-okhmhv { flex-wrap: wrap !important; flex-direction: row !important; align-items: flex-start !important; }
  #brxe-okhmhv .bc-hero-title,
  #brxe-okhmhv .bc-hero-rating-wrap,
  #brxe-okhmhv .bc-btn-outline-wrap,
  #brxe-okhmhv .bc-hero-desc { width: 100% !important; }
  #brxe-okhmhv .bc-hero-tagline { margin-right: 15px !important; }
  #brxe-zuduxh { width: 100% !important; max-height: clamp(300px, 40vh, 500px) !important; flex: none !important; }
  #brxe-zuduxh img { object-position: center 25% !important; }
  #brxe-vvoiun { flex-direction: column !important; }
  #brxe-gdmvhf { height: auto !important; max-height: none !important; overflow: hidden !important; }
}
/* Landscape: width > height */
@media (max-width: 991px) and (min-aspect-ratio: 1/1) {
  #brxe-vvoiun { flex-direction: row !important; }
}
/* Phone portrait */
@media (max-width: 767px) and (max-aspect-ratio: 1/1) {
  #brxe-okhmhv { width: 100% !important; }
  #brxe-zuduxh { width: 100% !important; max-height: 300px !important; flex: none !important; }
  #brxe-vvoiun { flex-direction: column !important; }
  #brxe-gdmvhf { height: auto !important; max-height: none !important; overflow: visible !important; }
}
/* Phone landscape */
@media (max-width: 767px) and (min-aspect-ratio: 1/1) {
  #brxe-okhmhv { width: 45% !important; }
  #brxe-zuduxh { width: 55% !important; }
  #brxe-vvoiun { flex-direction: row !important; }
  #brxe-gdmvhf { height: calc(100svh - 60px) !important; max-height: calc(100svh - 60px) !important; overflow: hidden !important; }
}

/* Mobile header — logo + hamburger in one row */
@media (max-width: 767px) {
  .bc-header { padding: 8px 16px !important; }
  .bc-header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  .bc-logo { margin-bottom: 0; }
  .bc-logo img { width: 120px; }
  .bc-nav { width: auto; }
  .bc-nav .bricks-mobile-menu-toggle {
    order: 0;
  }
}

/* ===================== HERO ===================== */
/* Hero layout controlled entirely by Bricks editor — no CSS overrides */
/* Only helper classes that Bricks can't do natively */
/* cleaned — now in Bricks custom CSS */
/* cleaned — now in Bricks custom CSS */
/* cleaned — now in Bricks custom CSS */






/* cleaned — now in Bricks custom CSS */
/* removed: old hero-image img rules */
/* removed: old hero-image inner rules */
.bc-btn-circle { 
  width: 36px; height: 36px; border-radius: 9999px;
  border: 1px solid currentColor; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.bc-btn-circle:has(img) { border: none; }
.bc-btn-circle img { width: 60%; height: auto; }
.bc-star-icon { width: 28px; height: auto; }
.bc-hero-rating { display: flex; align-items: center; gap: 12px; }
.bc-hero-rating::before, .bc-hero-rating::after { content: none; }

/* Hero buttons — styled links, not Bricks buttons */
.bc-btn-primary {
  display: inline-flex; align-items: center;
  background: #B0947E; color: #F7F4EF;
  border-radius: 60px; text-decoration: none;
  padding: 10px 10px 10px 40px; gap: 40px;
  font-family: var(--font-b); font-size: 18px;
  font-weight: 400; text-transform: uppercase;
  letter-spacing: 1px; transition: all 0.3s;
  width: fit-content;
}
.bc-btn-primary:hover { background: #9A6F4D; color: #F7F4EF; }

.bc-btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: #B0947E;
  border: 1px solid #B0947E; border-radius: 60px;
  text-decoration: none;
  padding: 10px 10px 10px 40px; gap: 42px;
  font-family: var(--font-b); font-size: 18px;
  font-weight: 400; letter-spacing: 1px;
  transition: all 0.3s; width: fit-content;
}
.bc-btn-outline:hover { background: #B0947E; color: #F7F4EF; }

/* Hero title */
.bc-hero-title {
  font-family: var(--font-h); font-size: 34px;
  font-weight: 400; line-height: 1.35;
  letter-spacing: 2px; text-transform: uppercase;
  color: #393029; margin: 0 0 8px 0;
}

/* Hero tagline */
.bc-hero-tagline {
  font-family: var(--font-h); font-size: 20px;
  font-weight: 400; line-height: 1.4;
  letter-spacing: 1.3px; color: #393029;
  margin-bottom: 30px;
}

/* Hero description italic */
.bc-hero-desc {
  font-family: var(--font-b); font-size: 14px;
  font-style: italic; font-weight: 300;
  letter-spacing: 0.8px; color: #6E5B4C;
  margin-bottom: 20px;
}

/* Hero image border-radius */
/* removed: old hero-image rules */



/* ===================== PROMO BAR ===================== */
/* Figma: h=42px, bg #393029, badge #B0947E 207px, gap 30px */
.bc-promo-bar {
  background: var(--bc-dark) !important;
  padding: 0 !important;
  overflow: hidden;
  width: 100% !important;
}
.bc-promo-bar .brxe-container { max-width: 100% !important; padding: 0 !important; }
.bc-promo-inner {
  display: flex; align-items: center;
  height: clamp(32px, 2.92vw, 42px); width: 100%; overflow: hidden;
}
.bc-promo-badge {
  background: var(--bc-brown); color: var(--bc-cream); font-family: var(--font-b);
  font-size: clamp(14px, 1.39vw, 20px); letter-spacing: 1px;
  padding: clamp(6px, 0.69vw, 10px) clamp(15px, 2.08vw, 30px);
  border-radius: 0 30px 30px 0; white-space: nowrap; flex-shrink: 0; z-index: 2;
  width: clamp(130px, 14.4vw, 207px); display: flex; align-items: center; gap: 10px;
}
.bc-promo-marquee {
  display: flex; align-items: center; gap: clamp(15px, 2.08vw, 30px);
  font-family: var(--font-b); font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.8px; color: var(--bc-cream); white-space: nowrap;
  animation: marquee 25s linear infinite; padding-left: clamp(15px, 2.08vw, 30px);
}
.bc-promo-dot { width: 8px; height: 8px; background: var(--bc-cream); border-radius: 9999px; flex-shrink: 0; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===================== SECTION GLOBALS ===================== */
.bc-section-heading {
  font-family: var(--font-h) !important; font-size: clamp(20px, 1.8vw, 26px) !important;
  font-weight: 400 !important; text-transform: uppercase !important;
  letter-spacing: 0.05em !important; color: var(--bc-dark) !important;
  text-align: center !important; margin-bottom: 10px !important;
}
.bc-section-subtitle {
  font-family: var(--font-b); font-size: clamp(12px, 1vw, 14px); color: var(--bc-dark-light);
  text-align: center; margin-bottom: clamp(20px, 2.5vw, 40px); letter-spacing: 0.05em; line-height: 1.5;
}

/* ===================== OFEROWANE ZABIEGI — centered, single row ===================== */
.bc-services-section { background: var(--bc-white) !important; padding: clamp(30px, 4vw, 60px) 0 !important; }
.bc-services-container { max-width: 1100px; margin: 0 auto; text-align: center; padding: 0 20px; }
.bc-categories-grid {
  display: flex; justify-content: center; gap: clamp(20px, 3vw, 50px);
  flex-wrap: nowrap; margin-top: 16px;
}
.bc-category { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; transition: transform 0.3s; flex-shrink: 0; }
.bc-category:hover { transform: translateY(-3px); }
.bc-category-icon { width: clamp(60px, 6.5vw, 95px); height: clamp(60px, 6.5vw, 95px); object-fit: contain; }
.bc-category span {
  font-family: var(--font-b); font-size: clamp(11px, 0.95vw, 14px); color: var(--bc-brown-accent);
  text-transform: capitalize; letter-spacing: 0.05em;
}

/* ===================== NASZ ZESPÓŁ — smaller photos, 2 groups ===================== */
.bc-team-section { background: var(--bc-cream) !important; padding: clamp(40px, 5vw, 70px) 0 !important; }
.bc-team-container { max-width: 1100px; margin: 0 auto; text-align: center; padding: 0 20px; }
.bc-team-section .bc-section-heading {
  font-family: var(--font-h) !important; font-size: clamp(20px, 1.8vw, 26px) !important;
  color: var(--bc-dark-light) !important; margin-bottom: 10px !important;
}
.bc-team-section .bc-section-subtitle {
  font-family: var(--font-h) !important; font-size: clamp(14px, 1.25vw, 18px) !important;
  color: var(--bc-dark-light) !important; letter-spacing: 0.05em; line-height: 1.4;
  margin-bottom: clamp(24px, 3vw, 40px) !important;
}
.bc-team-grid { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 2.5vw, 36px); margin: 0 auto; }
.bc-team-row { display: flex; justify-content: center; gap: clamp(14px, 1.4vw, 20px); flex-wrap: wrap; }
.bc-team-card { text-align: center; width: clamp(130px, 13vw, 190px); }
.bc-team-photo {
  width: 100%; height: auto;
  max-width: 282px;
  border-radius: 230px; background: #E8E2DA;
  margin: 0 auto clamp(8px, 0.8vw, 12px); overflow: hidden;
  aspect-ratio: 282/362;
}
.bc-team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bc-team-card h3 {
  font-family: var(--font-h); font-size: clamp(14px, 1.3vw, 19px); font-weight: 400;
  color: var(--bc-dark-light); margin: 0 0 3px; line-height: 1.2;
  letter-spacing: 0.05em; text-transform: none;
}
.bc-team-card .role,
.bc-team-card span { font-family: var(--font-b); font-size: clamp(10px, 0.85vw, 12px); color: var(--bc-brown); line-height: 1.3; }

/* Trychologists subsection */
.bc-team-trycho-heading {
  font-family: var(--font-h); font-size: clamp(14px, 1.25vw, 18px);
  color: var(--bc-dark-light); letter-spacing: 0.05em; line-height: 1.4;
  margin: clamp(20px, 2.5vw, 40px) 0 clamp(12px, 1.4vw, 20px); text-align: center;
}
.bc-team-trycho-heading a {
  color: var(--bc-brown); text-decoration: underline;
}
.bc-team-trycho-heading a:hover { color: var(--bc-brown-accent); }

/* ===================== OPINIE — carousel with arrows + dots ===================== */
.bc-testimonials-section { background: var(--bc-white) !important; padding: clamp(40px, 5vw, 70px) 0 !important; }
.bc-testimonials-section .bc-section-heading {
  font-size: clamp(20px, 1.8vw, 26px) !important; color: var(--bc-dark-light) !important;
}
.bc-testimonials-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.bc-testimonials-wrapper {
  display: flex; align-items: center; gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(20px, 2.5vw, 36px); position: relative;
}
.bc-carousel-arrow {
  flex-shrink: 0; width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px);
  border-radius: 50%; border: 1px solid var(--bc-brown);
  background: transparent; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.bc-carousel-arrow:hover { background: var(--bc-brown); }
.bc-carousel-arrow:hover svg { stroke: var(--bc-cream); }
.bc-carousel-arrow svg { width: 20px; height: 20px; stroke: var(--bc-brown); fill: none; stroke-width: 2; }
.bc-carousel-arrow img { width: 60%; height: 60%; object-fit: contain; }
.bc-testimonials-cards {
  display: flex; gap: clamp(12px, 1.2vw, 18px); flex: 1;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.bc-testimonials-cards::-webkit-scrollbar { display: none; }
.bc-testimonial-card {
  background: var(--bc-cream); border-radius: 16px;
  padding: clamp(18px, 1.8vw, 26px); flex: 0 0 calc(50% - 9px);
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(240px, 22vw, 320px); text-align: left;
}
.bc-testimonial-stars { margin-bottom: 10px; }
.bc-testimonial-stars img { height: clamp(14px, 1.1vw, 16px); }
.bc-testimonial-text {
  font-family: var(--font-b) !important; font-style: italic;
  font-size: 16px !important; line-height: 140% !important;
  color: var(--bc-dark) !important; flex: 1; margin-bottom: 14px;
}
.bc-testimonial-author {
  display: flex; align-items: center; gap: clamp(10px, 1vw, 14px);
}
.bc-testimonial-author > img {
  width: clamp(36px, 3.2vw, 48px); height: clamp(36px, 3.2vw, 48px);
  border-radius: 50%; object-fit: cover;
}
.bc-testimonial-author strong {
  font-family: var(--font-b); font-weight: 700;
  font-size: clamp(11px, 0.95vw, 14px); color: var(--bc-dark);
}
.bc-testimonial-author span {
  font-family: var(--font-b); font-size: clamp(11px, 0.95vw, 14px); color: var(--bc-dark);
}
/* Dots */
.bc-carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 20px;
}
.bc-carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bc-cream); border: 1px solid var(--bc-brown);
  cursor: pointer; transition: background 0.3s;
}
.bc-carousel-dot.active { background: var(--bc-brown); }

/* ===================== FOOTER — less padding ===================== */
.bc-footer-wrap { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }
.bc-footer { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }
.bc-footer > .bc-footer-main.brxe-container,
.bc-footer-wrap > .bc-footer-main.brxe-container {
  max-width: 100% !important; width: 100% !important; box-sizing: border-box;
  padding: clamp(40px, 4vw, 60px) clamp(20px, 8vw, 120px) !important;
  background: #393029 !important;
}
.bc-footer-cols, .bc-footer-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: clamp(24px, 3vw, 40px);
  justify-content: space-between;
}
@media (max-width: 478px) {
  .bc-footer-cols, .bc-footer-grid {
    flex-wrap: wrap !important;
  }
  .bc-footer-col { min-width: 100% !important; }
}
.bc-footer-col { flex: 1 1 33%; min-width: 140px; display: flex; flex-direction: column; gap: 10px; }
.bc-footer-col h4 {
  font-family: var(--font-h); font-size: clamp(18px, 1.8vw, 26px); font-weight: 400;
  line-height: 1.6; letter-spacing: 0.05em; color: #F7F4EF; margin: 0;
}
.bc-footer-col .brxe-text-basic {
  font-family: var(--font-b); font-size: clamp(14px, 1.3vw, 20px); font-weight: 400;
  line-height: 1.6; letter-spacing: 0.05em; color: #F7F4EF;
}
.bc-footer-col a { color: #F7F4EF; text-decoration: none; transition: opacity 0.3s; }
.bc-footer-col a:hover { opacity: 0.7; }
.bc-footer-col .bc-email-link { text-decoration: underline; }

.bc-footer-social { display: flex; gap: clamp(20px, 2vw, 30px); }
.bc-footer-social a {
  width: clamp(36px, 3.5vw, 50px); height: clamp(36px, 3.5vw, 50px);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: opacity 0.3s; background: #F7F4EF; border-radius: 11px;
}
.bc-footer-social a img { width: 100%; height: 100%; }
.bc-footer-social a svg { width: clamp(14px, 1.4vw, 20px); height: clamp(14px, 1.4vw, 20px); fill: #F7F4EF; }
.bc-footer-social a:hover { opacity: 0.7; }

.bc-footer-bottom {
  background: #B0947E;
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 4vw, 60px);
  border-top: none; margin-top: 0;
  width: 100% !important; box-sizing: border-box;
}
.bc-footer-bottom .bricks-nav-menu {
  display: flex; gap: clamp(8px, 1.2vw, 18px); list-style: none;
  padding: 0; margin: 0; flex-wrap: nowrap;
  justify-content: center;
}
.bc-footer-bottom .menu-item a {
  font-family: var(--font-b); font-size: clamp(12px, 1.1vw, 16px); font-weight: 400;
  line-height: 1.6; color: #F7F4EF; text-decoration: none;
  white-space: nowrap; transition: opacity 0.3s;
}
.bc-footer-bottom .menu-item a:hover { opacity: 0.7; }
/* Footer nav — always visible, never hamburger */
.bc-footer-bottom #brxe-mnekpf .bricks-nav-menu-wrapper,
#brxe-mnekpf .bricks-nav-menu-wrapper.mobile_landscape,
#brxe-mnekpf .bricks-nav-menu-wrapper.mobile_portrait,
#brxe-mnekpf .bricks-nav-menu-wrapper { display: flex !important; flex-wrap: wrap !important; }
.bc-footer-bottom #brxe-mnekpf .bricks-mobile-menu-toggle,
#brxe-mnekpf .bricks-mobile-menu-toggle { display: none !important; }
@media (max-width: 478px) {
  .bc-footer-bottom .bricks-nav-menu { flex-wrap: wrap !important; justify-content: center; gap: 4px 12px !important; }
}

/* Large screens — bigger hero text */
@media (min-width: 1200px) {
  .bc-hero-title { font-size: clamp(36px, 3vw, 52px) !important; }
  .bc-hero-rating-wrap { font-size: clamp(16px, 1.2vw, 20px) !important; }
  .bc-btn-primary, .bc-btn-outline { font-size: clamp(16px, 1.1vw, 20px) !important; }
}
@media (min-width: 1441px) {
  .bc-hero-title { font-size: clamp(42px, 3.5vw, 72px) !important; }
  .bc-hero-rating-wrap { font-size: clamp(18px, 1.4vw, 24px) !important; }
  .bc-btn-primary, .bc-btn-outline { font-size: clamp(18px, 1.2vw, 22px) !important; }
  .bc-hero-desc { font-size: clamp(14px, 1vw, 18px) !important; }
  .bc-hero-content { padding: 40px 50px 30px 60px !important; }
}

/* 1024px landscape — hero fits content */
@media (max-width: 1024px) and (min-aspect-ratio: 1/1) {
  #brxe-gdmvhf { height: auto !important; max-height: calc(100svh - 90px) !important; overflow: hidden !important; }
  #brxe-zuduxh img { object-position: center 25% !important; }
}


/* Spacer before footer — reduced from 120px */
.bc-footer-section { padding-top: clamp(30px, 3.5vw, 50px) !important; }

/* ===================== CHAT BUTTON ===================== */
.bc-chat-float {
  position: fixed !important; right: 0; top: clamp(40px, 5vw, 80px);
  z-index: 999; padding: 0 !important; background: none !important;
  width: auto !important; max-width: none !important;
}
.bc-chat-float.brxe-div { width: auto !important; }
.bc-chat-btn {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--bc-dark); color: var(--bc-cream) !important;
  padding: clamp(12px, 1.2vw, 18px) clamp(10px, 1vw, 14px);
  border-radius: 16px 0 0 16px; text-decoration: none;
  width: clamp(44px, 4.5vw, 65px);
}
.bc-chat-btn img { width: clamp(20px, 2.2vw, 32px); height: auto; }
.bc-chat-btn span {
  font-family: var(--font-b); font-weight: 500;
  font-size: clamp(9px, 0.75vw, 11px);
  text-transform: uppercase; letter-spacing: 0.05em;
}


/* ===================== SERVICES SECTION ===================== */
.bc-services-section {
  background: var(--bc-white) !important;
  padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 6vw, 90px) !important;
}
.bc-services-inner {
  max-width: 1200px !important;
  width: 90% !important;
  margin: 0 auto;
  text-align: center;
}
.bc-section-title {
  font-family: var(--font-h) !important;
  font-size: clamp(24px, 2.8vw, 40px) !important;
  font-weight: 400 !important;
  color: var(--bc-dark) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 8px !important;
}
.bc-section-subtitle {
  font-family: var(--font-b) !important;
  font-size: clamp(14px, 1.2vw, 18px) !important;
  font-weight: 300 !important;
  color: var(--bc-text-light) !important;
  margin-bottom: clamp(30px, 4vw, 60px) !important;
}
.bc-services-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: clamp(20px, 3vw, 50px) !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
.bc-service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px;
  width: clamp(120px, 18vw, 200px);
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.3s ease !important;
}
.bc-service-card:hover {
  transform: translateY(-4px);
}
.bc-service-icon {
  width: clamp(100px, 14vw, 160px) !important;
  height: clamp(100px, 14vw, 160px) !important;
  border-radius: 10px;
  background: transparent;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s !important;
  overflow: hidden;
}
.bc-service-card:hover .bc-service-icon {
  background: #FFFFFF;
  box-shadow: 0px 2px 6px rgba(57, 48, 41, 0.25);
  transform: scale(1.02);
}
.bc-service-icon img {
  width: 65% !important;
  height: 65% !important;
  object-fit: contain !important;
}
.bc-service-label {
  font-family: var(--font-b) !important;
  font-size: clamp(14px, 1.2vw, 20px) !important;
  font-weight: 400 !important;
  color: var(--bc-brown-dark) !important;
  text-align: center !important;
  letter-spacing: 0.05em !important;
  line-height: 1.3 !important;
}
.bc-section-sep {
  padding: 0 !important;
}
@media (max-width: 767px) {
  .bc-services-row { gap: 20px !important; }
  .bc-service-card { width: calc(50% - 15px); }
  .bc-service-icon { width: 100px !important; height: 100px !important; }
}
@media (max-width: 478px) {
  .bc-service-card { width: calc(50% - 12px); }
  .bc-service-icon { width: 80px !important; height: 80px !important; border-radius: 12px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  /* cleaned: hero-grid now uses flex, not grid */
  /* removed: old hero-image rules */
  /* removed */
  .bc-team-row { gap: 16px; }
  /* cleaned: old team card tablet */
  .bc-testimonial-card { flex: 0 0 85%; }
  .bc-carousel-arrow { display: none; }
  .bc-footer-cols, .bc-footer-grid { flex-direction: column; gap: 20px; }
  .bc-categories-grid { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 767px) {
  .bc-btn-primary, .bc-btn-outline { font-size: 11px; padding: 5px 5px 5px 16px; gap: 12px; }
  .bc-hero-content { padding: 30px 16px; }
  .bc-nav .bricks-nav-menu { gap: 12px; flex-wrap: wrap; justify-content: center; }
  /* cleaned: old team card responsive */
  .bc-testimonial-card { flex: 0 0 90%; }
  .bc-categories-grid { flex-direction: column; align-items: center; }
  .bc-category { width: 60%; flex-direction: row; gap: 12px; }
  .bc-category-icon { width: 50px; height: 50px; }
}

/* === FIX: Center sections globally === */
.bc-services-section .brxe-container,
.bc-services-container,
.bc-team-section .brxe-container,
.bc-team-container,
.bc-testimonials-section .brxe-container,
.bc-testimonials-container {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
/* Fix: section headings and subtitles force center */
.bc-services-section .bc-section-heading,
.bc-services-section .bc-section-subtitle,
.bc-team-section .bc-section-heading,
.bc-team-section .bc-section-subtitle,
.bc-testimonials-section .bc-section-heading {
  width: 100%; text-align: center !important;
}

/* ===== RESPONSIVE BUTTONS + ELEMENTS ===== */
@media (max-width: 991px) {
  .bc-btn-primary, .bc-btn-outline {
    font-size: 15px;
    padding: 8px 8px 8px 30px;
    gap: 25px;
  }
  .bc-btn-circle { width: 30px; height: 30px; }
  .bc-hero-desc { font-size: 12px; margin-bottom: 10px; }
  .bc-star-icon { width: 22px; }
  .bc-hero-rating span { font-size: 13px; }
}

@media (max-width: 767px) {
  .bc-btn-primary, .bc-btn-outline { font-size: 11px; padding: 5px 5px 5px 16px; gap: 12px; }
  .bc-btn-primary, .bc-btn-outline {
    font-size: 13px;
    padding: 6px 6px 6px 20px;
    gap: 15px;
  }
  .bc-btn-circle { width: 26px; height: 26px; }
  .bc-hero-desc { font-size: 11px; margin-bottom: 8px; }
  .bc-star-icon { width: 20px; }
  .bc-hero-rating span { font-size: 12px; }
  .bc-hero-title { margin-bottom: 5px !important; }
  .bc-hero-tagline { margin-bottom: 15px; }
}

@media (max-width: 478px) {
  .bc-hero-content { padding: 15px 16px 10px; }
  .bc-hero-title { font-size: 22px !important; margin-bottom: 4px !important; }
  .bc-hero-rating-wrap { font-size: 13px !important; margin-bottom: 10px !important; }
  .bc-btn-primary, .bc-btn-outline {
    font-size: 12px;
    padding: 6px 6px 6px 16px;
    gap: 12px;
  }
  .bc-btn-circle { width: 24px; height: 24px; }
  .bc-hero-desc { font-size: 11px; }
  .bc-hero-image-wrap { max-height: 250px; }
  .bc-promo-inner { height: 32px; }
  .bc-promo-badge { font-size: 12px; padding: 4px 12px; width: auto; }
  .bc-promo-marquee { font-size: 11px; }
}

/* ===================== TEAM SECTION ===================== */
.bc-team-section {
  background: #F7F4EF !important;
  padding: clamp(40px, 6vw, 90px) 10px !important;
}
.bc-team-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  text-align: center;
}

/* Featured (pierwsza osoba) */
.bc-team-featured {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 75px);
  margin: clamp(30px, 4vw, 56px) 0;
  padding: 0 clamp(20px, 7vw, 102px);
  text-align: left;
}
.bc-team-featured-photo {
  flex: 0 0 282px;
  width: 282px;
  max-width: 282px;
  aspect-ratio: 282/362;
  border-radius: 230px;
  overflow: hidden;
  background: var(--bc-cream-dark);
}
.bc-team-featured-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.bc-team-featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bc-team-featured-info .bc-team-name {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  text-align: left !important;
}
.bc-team-featured-info .bc-team-role {
  text-align: left !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
}
.bc-team-brief {
  font-family: var(--font-b) !important;
  font-size: 16px;
  color: #6E5B4C;
  line-height: 160%;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.bc-btn-outline.bc-team-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 1.5px solid var(--bc-dark, #393029);
  border-radius: 60px;
  font-family: var(--font-b) !important;
  font-size: 14px;
  color: var(--bc-dark, #393029) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  margin-top: 8px;
}
.bc-btn-outline.bc-team-more:hover {
  background: var(--bc-dark, #393029);
  color: #fff !important;
}

/* Grid kart */
.bc-team-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  justify-items: center !important;
  gap: clamp(20px, 4vw, 56px) !important;
  width: 100% !important;
  margin-top: clamp(20px, 3vw, 40px);
  padding: 0 clamp(20px, 7vw, 102px);
}
.bc-team-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px;
  width: clamp(130px, 13vw, 190px);
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.25s ease !important;
}
.bc-team-card:hover {
  transform: scale(1.02);
}
.bc-team-card--plain {
  cursor: default;
}
.bc-team-card--plain:hover {
  transform: none !important;
}
.bc-team-card--plain:hover .bc-team-photo {
  box-shadow: none !important;
}
.bc-team-card--plain:hover .bc-team-photo img {
  opacity: 1 !important;
}
.bc-team-card--plain .bc-team-hover {
  display: none !important;
}
.bc-team-photo {
  position: relative;
  width: 100% !important;
  max-width: 282px;
  aspect-ratio: 282/362;
  border-radius: 230px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bc-cream-dark);
  transition: box-shadow 0.3s !important;
}
.bc-team-card:hover .bc-team-photo {
  box-shadow: 0px 2px 10px rgba(57, 48, 41, 0.25);
}
.bc-team-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-position: center 15% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  transition: opacity 0.3s !important;
}
.bc-team-card:hover .bc-team-photo img {
  opacity: 0.2;
}
.bc-team-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.bc-team-card:hover .bc-team-hover {
  opacity: 1;
}
.bc-team-hover span {
  font-family: var(--font-h) !important;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.12em;
  color: var(--bc-dark, #393029);
  text-transform: uppercase;
}
.bc-team-hover-arrow {
  font-size: clamp(16px, 1.5vw, 22px) !important;
  letter-spacing: 0 !important;
}
.bc-team-name {
  font-family: var(--font-h) !important;
  font-size: clamp(18px, 1.8vw, 26px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em;
  color: var(--bc-dark) !important;
  text-align: center !important;
  line-height: 1.3 !important;
}
.bc-team-role {
  font-family: var(--font-b) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: italic;
  color: #B0947E !important;
  text-align: center !important;
}

/* Trichoestetica collab section */
.bc-team-collab-section {
  background: var(--bc-cream) !important;
  padding: clamp(30px, 4vw, 60px) 10px !important;
}
.bc-team-collab-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  text-align: center;
}
.bc-collab-title {
  font-family: var(--font-h) !important;
  font-size: clamp(20px, 2.2vw, 32px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--bc-dark) !important;
}
.bc-collab-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.bc-collab-title a:hover {
  color: var(--bc-brown-accent) !important;
}

/* ===================== TEAM BIO PAGE ===================== */
.bc-team-bio {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 20px;
  align-items: flex-start;
}
.bc-team-bio-photo {
  flex-shrink: 0;
  width: clamp(180px, 22vw, 282px);
  aspect-ratio: 282/363;
  border-radius: 230px;
  overflow: hidden;
  background: var(--bc-cream-dark);
}
.bc-team-bio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.bc-team-bio-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bc-team-bio-name {
  font-family: var(--font-h) !important;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--bc-dark, #393029);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.bc-team-bio-role {
  font-family: var(--font-b) !important;
  font-size: clamp(15px, 1.5vw, 20px);
  color: #B0947E;
  font-style: italic;
}
.bc-team-bio-text {
  font-family: var(--font-b) !important;
  font-size: clamp(14px, 1.1vw, 16px);
  color: #6E5B4C;
  line-height: 160%;
  margin-top: 8px;
}
.bc-team-bio-cta {
  margin-top: 16px;
  align-self: flex-start;
}

/* ===================== DLACZEGO BIELSKO CLINIC ===================== */
.bc-why-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 10px 90px;
  text-align: center;
}
.bc-why-title {
  font-family: var(--font-h) !important;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  color: #393029;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  line-height: 140%;
}
.bc-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-h) !important;
}
.bc-why-list li {
  font-family: var(--font-h) !important;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 400;
  color: #393029;
  letter-spacing: 0.05em;
  line-height: 140%;
  padding: 5px 0;
}
.bc-why-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #393029;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 2px;
}

@media (max-width: 767px) {
  .bc-team-featured { flex-direction: column; text-align: center; align-items: center; }
  .bc-team-featured-info .bc-team-name,
  .bc-team-featured-info .bc-team-role { text-align: center !important; }
  .bc-btn-outline.bc-team-more { align-self: center; }
  .bc-team-card { width: calc(50% - 20px); max-width: 160px; }
  .bc-team-photo { width: 110px !important; }
  .bc-team-bio { flex-direction: column; align-items: center; }
  .bc-team-bio-photo { width: clamp(160px, 50vw, 220px); }
}
@media (max-width: 478px) {
  .bc-team-card { width: calc(50% - 12px); max-width: 140px; }
  .bc-team-photo { width: 90px !important; }
}

/* ===================== TESTIMONIALS SECTION ===================== */
.bc-testimonials-section {
  background: var(--bc-white) !important;
  padding: clamp(40px, 6vw, 90px) 0 !important;
}
.bc-testimonials-inner {
  max-width: 1200px !important;
  width: 90% !important;
  margin: 0 auto;
  text-align: center;
}
.bc-testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: clamp(20px, 3vw, 40px);
}
.bc-testimonials-track-wrapper {
  overflow: hidden;
  flex: 1;
  margin: 0 clamp(40px, 5vw, 60px);
}
.bc-testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 24px;
}
.bc-testimonial-card {
  flex: 0 0 calc(50% - 12px);
  background: #F7F4EF;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  text-align: left;
}
.bc-testimonial-stars {
  color: #B0947E;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.bc-testimonial-stars .star-empty {
  color: transparent;
  -webkit-text-stroke: 1px #B0947E;
}
.bc-testimonial-text {
  font-family: var(--font-b);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #393029;
  flex: 1;
  margin-bottom: 20px;
}
.bc-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bc-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.bc-testimonial-name {
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 16px;
  color: #393029;
  display: block;
}
.bc-testimonial-source {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 14px;
  color: #393029;
  display: block;
}
.bc-testimonial-arrow {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid #B0947E;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.bc-testimonial-arrow:hover {
  background: rgba(176, 148, 126, 0.1);
}
.bc-testimonial-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #B0947E;
  stroke-width: 2;
  fill: none;
}
.bc-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 40px);
}
.bc-testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F7F4EF;
  border: 1px solid #B0947E;
  cursor: pointer;
  transition: background 0.3s;
}
.bc-testimonials-dot.active {
  background: #B0947E;
}
@media (max-width: 991px) {
  .bc-testimonial-card { flex: 0 0 calc(70% - 12px); }
  .bc-testimonial-arrow { width: 50px; height: 50px; }
  .bc-testimonials-track-wrapper { margin: 0 clamp(20px, 3vw, 40px); }
}
@media (max-width: 767px) {
  .bc-testimonial-card { flex: 0 0 calc(100% - 12px); min-height: 280px; }
  .bc-testimonial-arrow { width: 40px; height: 40px; }
  .bc-testimonials-track-wrapper { margin: 0 15px; }
  .bc-testimonial-text { font-size: 14px; }
}
@media (max-width: 478px) {
  .bc-testimonial-arrow { display: none; }
  .bc-testimonials-track-wrapper { margin: 0; }
}

/* ===================== FOOTER FIXES — HIGH SPECIFICITY ===================== */
footer .bc-footer-main.brxe-container,
#brx-footer .bc-footer-main.brxe-container {
  padding: clamp(40px, 4vw, 60px) clamp(20px, 8vw, 120px) !important;
}
footer .bc-footer-cols,
#brx-footer .bc-footer-cols {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: clamp(24px, 3vw, 40px) !important;
  width: 100% !important;
}
footer .bc-footer-col,
#brx-footer .bc-footer-col {
  flex: 1 1 33% !important;
  gap: 10px !important;
}
footer .bc-footer-col h4,
#brx-footer .bc-footer-col h4 {
  font-size: clamp(18px, 1.8vw, 26px) !important;
  line-height: 1.6 !important;
}
footer .bc-footer-col .brxe-text-basic,
#brx-footer .bc-footer-col .brxe-text-basic {
  font-size: clamp(14px, 1.3vw, 20px) !important;
  line-height: 1.6 !important;
}
footer .bc-footer-social a,
#brx-footer .bc-footer-social a {
  width: clamp(36px, 3.5vw, 50px) !important;
  height: clamp(36px, 3.5vw, 50px) !important;
  background: #F7F4EF !important;
  border-radius: 11px !important;
}
footer .bc-footer-bottom,
#brx-footer .bc-footer-bottom {
  padding: clamp(16px, 2vw, 30px) clamp(20px, 8vw, 120px) !important;
}
footer .bc-footer-bottom .menu-item a,
#brx-footer .bc-footer-bottom .menu-item a {
  font-size: clamp(12px, 1.1vw, 16px) !important;
}

/* ===================== ZABIEGI PAGE ===================== */
.bc-zabiegi-section {
  background: var(--bc-white) !important;
  padding: clamp(40px, 6vw, 90px) 0 !important;
}
.bc-zabiegi-inner {
  max-width: 1200px !important;
  width: 90% !important;
  margin: 0 auto;
  text-align: center;
}
.bc-categories-grid {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(20px, 3vw, 40px) 0;
  flex-wrap: wrap;
}
.bc-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.3s;
}
.bc-category-card.active .bc-service-icon,
.bc-category-card:hover .bc-service-icon {
  background: #FFFFFF;
  box-shadow: 0px 2px 6px rgba(57, 48, 41, 0.25);
  transform: scale(1.02);
}
.bc-zabiegi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(20px, 3vw, 40px);
  text-align: left;
}
.bc-zabieg-card {
  background: #F7F4EF;
  border-radius: 20px;
  padding: clamp(20px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 250px;
}
.bc-zabieg-card:hover {
  box-shadow: 0px 2px 6px rgba(57, 48, 41, 0.25);
  transform: scale(1.02);
}
.bc-zabieg-title {
  font-family: var(--font-h) !important;
  font-size: clamp(16px, 1.4vw, 22px) !important;
  font-weight: 700 !important;
  color: var(--bc-dark) !important;
  margin: 0 0 16px !important;
  line-height: 1.3;
}
.bc-zabieg-results {
  flex: 1;
  margin-bottom: 16px;
}
.bc-zabieg-results ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.bc-zabieg-results li {
  font-family: var(--font-b);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.5;
  color: var(--bc-dark);
  margin-bottom: 4px;
}
.bc-zabieg-more {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--bc-brown-accent, #9A6F4D);
  font-weight: 500;
  align-self: flex-start;
}
@media (max-width: 991px) {
  .bc-zabiegi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bc-zabiegi-grid { grid-template-columns: 1fr; }
}

/* ===================== STICKY HEADER FIX ===================== */
#brx-header.brx-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: var(--bc-white) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Compensate for fixed header — push content below */
#brx-content {
  padding-top: var(--header-height, 120px);
}
@media (max-width: 767px) {
  #brx-content {
    padding-top: var(--header-height, 70px);
  }
}

/* ===================== MOBILE FIXES ===================== */
/* Chat button smaller on mobile — below hamburger */
@media (max-width: 767px) {
  .bc-chat-float {
    top: auto !important;
    bottom: 62px !important;
  }
  .bc-chat-btn {
    padding: 10px 8px !important;
    width: 44px !important;
    gap: 4px !important;
    border-radius: 14px 0 0 14px !important;
  }
  .bc-chat-btn img { width: 20px !important; }
  .bc-chat-btn span { font-size: 7px !important; }
}

/* Mobile menu — left padding fix */
@media (max-width: 767px) {
  .bricks-nav-menu-wrapper,
  #brx-header .bricks-nav-menu-wrapper {
    padding: 20px !important;
  }
  #brx-header .bricks-nav-menu-wrapper .bricks-nav-menu,
  .bricks-nav-menu-wrapper .bricks-nav-menu {
    padding-left: 40px !important;
  }
  #brx-header .bricks-nav-menu-wrapper .menu-item a,
  .bricks-nav-menu-wrapper .menu-item a {
    padding-left: 40px !important;
  }
}

/* ===================== MOBILE MENU MARGIN FIX — ULTRA SPECIFIC ===================== */
@media (max-width: 767px) {
  header#brx-header .brxe-nav-menu nav.bricks-nav-menu-wrapper,
  header .brxe-nav-menu nav.bricks-nav-menu-wrapper,
  .brxe-nav-menu nav.bricks-nav-menu-wrapper {
    padding: 60px 30px 30px 40px !important;
  }
  header#brx-header .brxe-nav-menu nav.bricks-nav-menu-wrapper ul.bricks-nav-menu > li > a,
  .brxe-nav-menu nav.bricks-nav-menu-wrapper ul.bricks-nav-menu > li > a {
    padding-left: 0 !important;
  }
}


/* ===================== MOBILE MENU — BY ELEMENT ID ===================== */
@media (max-width: 767px) {
  #brxe-deuphi nav.bricks-nav-menu-wrapper {
    padding: 60px 30px 30px 40px !important;
  }
  #brxe-deuphi .bricks-nav-menu > li > a {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

/* ===================== BRICKS MOBILE MENU — CORRECT TARGET ===================== */
@media (max-width: 767px) {
  /* Target the REAL mobile menu wrapper (bricks-mobile-menu-wrapper, NOT bricks-nav-menu-wrapper) */
  .bricks-mobile-menu-wrapper,
  nav.bricks-mobile-menu-wrapper,
  nav.bricks-mobile-menu-wrapper.left {
    padding: 60px 30px 30px 40px !important;
  }
}

/* ===================== MOBILE MENU CLOSE BUTTON ===================== */
@media (max-width: 767px) {
  /* Hamburger icon — dark (default state, menu closed) */
  .brxe-nav-menu .bricks-mobile-menu-toggle span {
    background-color: var(--bc-dark) !important;
  }
  /* Close X icon — white/cream (when menu is open) */
  .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle span {
    background-color: #F7F4EF !important;
  }
}

/* ===================== MOBILE CTA CENTERING — by Bricks element ID ===================== */
/* Root cause: Bricks sets #brxe-okhmhv to flex-direction:row + flex-wrap:wrap on portrait,
   which left-aligns children. Fix: force flex-direction:column + align-items:center. */
@media (max-width: 767px) {
  /* Hero content: force COLUMN layout + center children horizontally */
  #brxe-okhmhv {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    text-align: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* All children: full width + centered text + no stray margins */
  /* High specificity to beat #brxe-okhmhv .bc-hero-tagline { margin-right: 15px } */
  #brxe-okhmhv #brxe-ufxhaj,
  #brxe-okhmhv #brxe-kjqkgy,
  #brxe-okhmhv #brxe-nvibow,
  #brxe-okhmhv #brxe-fzehna,
  #brxe-okhmhv #brxe-ilxast,
  #brxe-okhmhv #brxe-qqhgzn {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* CTA links: inline-flex so text-align:center on block parent centers them */
  #brxe-nvibow > a,
  #brxe-fzehna > a {
    display: inline-flex !important;
    width: auto !important;
  }

  /* Rating row — center children */
  #brxe-qqhgzn .bc-hero-rating {
    justify-content: center !important;
  }
}

/* ===================== SINGLE SERVICE LAYOUT ===================== */
.bc-service-single {
  display: flex;
  gap: clamp(30px, 4vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 20px;
}
.bc-service-sidebar {
  flex: 0 0 32%;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
@media (min-width: 768px) {
  .bc-service-sidebar {
    position: static;
    align-self: flex-start;
  }
}
.bc-service-content { flex: 1; min-width: 0; }
.bc-service-single { margin-top: 50px; align-items: flex-start; gap: 120px; }
/* sidebar padding-top handled by margin-top on single */
.bc-service-image { margin: 0 0 16px; }
.bc-service-image img {
  width: 100%;
  border-radius: 192px;
  object-fit: cover;
  aspect-ratio: 2/3;
}
.bc-service-title {
  font-family: var(--font-h) !important;
  font-size: clamp(26px, 2.8vw, 40px) !important;
  font-weight: 400 !important;
  color: var(--bc-dark) !important;
  letter-spacing: 0.05em;
  margin: 0 0 30px !important;
  line-height: 1.3;
}
.bc-service-section { margin-bottom: 10px; }
.bc-service-section-label {
  font-family: var(--font-b) !important;
  font-size: clamp(16px, 1.4vw, 20px) !important;
  font-weight: 400 !important;
  color: var(--bc-brown) !important;
  line-height: 140%;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  margin: 0 0 12px !important;
}
.bc-service-section-body {
  font-family: var(--font-b);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 160%;
  letter-spacing: 0.03em;
  color: var(--bc-dark-light, #6E5B4C);
  margin-bottom: 30px;
}
.bc-service-section-body ul { padding-left: 20px; margin: 8px 0; }
.bc-service-section-body li { margin-bottom: 4px; }
.bc-service-section-body p { margin: 0 0 12px; }
.bc-service-section-body img { max-width: 100%; height: auto; border-radius: 12px; }
.bc-service-section-body table { max-width: 100%; }

/* CTA */
.bc-service-cta {
  width: 100%;
  justify-content: space-between;
  margin-top: 16px;
  background: var(--bc-brown) !important;
  color: var(--bc-cream) !important;
  transition: all 0.3s ease;
}
.bc-service-cta:hover {
  background: #8B6544 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.bc-service-cta .bc-btn-circle { transition: transform 0.3s ease; }
.bc-service-cta:hover .bc-btn-circle { transform: translateX(4px); }
.bc-service-cta-desktop { margin: 20px 0; }
.bc-service-cta-mobile { display: none !important; }

/* Price sidebar */
.bc-service-price-sidebar {
  margin-top: 30px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 8px;
  /* Widoczny scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--bc-brown) transparent;
}
.bc-service-price-sidebar::-webkit-scrollbar {
  width: 4px;
}
.bc-service-price-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.bc-service-price-sidebar::-webkit-scrollbar-thumb {
  background: var(--bc-brown);
  border-radius: 4px;
}
/* Cennik heading — rendered by shortcode as <h2>, style it here */
.bc-service-price-sidebar > .bc-service-section-label {
  font-family: var(--font-h) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  color: var(--bc-dark) !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bc-brown);
}
.bc-service-price-sidebar .sc_price_list_table td strong {
  font-weight: 700 !important;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--bc-dark) !important;
}
.bc-service-price-sidebar .sc_price_list_table tr:has(td > strong) {
  border-bottom: 2px solid var(--bc-brown) !important;
}
.bc-service-price-sidebar .sc_price_list_table tr:has(.sc_price_list_table_td_price) {
  border-bottom: 1px solid rgba(110, 91, 76, 0.4) !important;
}

.bc-service-price-mobile { display: none; }

/* Price table */
.bc-service-price-sidebar .sc_price_list_table,
.bc-service-price-mobile .sc_price_list_table { width: 100%; border-collapse: collapse; }
.sc_price_list_table td {
  font-family: var(--font-b);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 140%;
  letter-spacing: 0.03em;
  color: var(--bc-dark-light, #6E5B4C);
  padding: 10px 0;
  vertical-align: top;
  /* border moved to TR */
}
.sc_price_list_table td strong {
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--bc-dark);
}
.sc_price_list_table td:has(strong) {
  border-bottom: 2px solid var(--bc-brown) !important;
  padding-top: 18px;
}
/* === CENNIK RULER — border na TD w collapse mode === */
.sc_price_list_table td {
  border-bottom: 1px solid #C4B5A5 !important;
}
.sc_price_list_table td:has(strong) {
  border-bottom: 2px solid #6E5B4C !important;
}
.sc_price_list_table .sc_price_list_table_td_price {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  color: var(--bc-dark);
}
.sc_price_list_table tr:has(td strong) { border-bottom: 2px solid var(--bc-dark-light, #6E5B4C); }
.sc_price_list_table tr:not(:has(td strong)) { border-bottom: 1px solid rgba(110, 91, 76, 0.2); }

/* Before/after images */
.bc-service-ba table { width: 100%; border-collapse: collapse; }
.bc-service-ba td { padding: 8px; vertical-align: top; }
.bc-service-ba img { border-radius: 12px; }

/* Video responsive */
.bc-service-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 12px;
}
.bc-service-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 12px;
}

/* Desktop/mobile toggles */
.bc-mobile-only { display: none; }
.bc-desktop-only { display: block; }

/* ===== SINGLE SERVICE MOBILE ===== */
@media (max-width: 767px) {
  .bc-service-single { flex-direction: column; gap: 16px; padding: 16px; }
  .bc-service-sidebar { position: static; flex: none; background: none; padding: 0; max-height: none; overflow: visible; }
  .bc-service-image { margin: 0 !important; }
  .bc-service-image img { border-radius: 12px; aspect-ratio: 2/1; max-height: 250px; }
  .bc-service-cta-desktop { display: none; }
  .bc-service-price-sidebar { display: none; }
  .bc-service-price-mobile { display: block; }
  .bc-mobile-only { display: block; }
  .bc-desktop-only { display: none !important; }

  .bc-service-section-collapsible { border-bottom: 1px solid rgba(176, 148, 126, 0.3); }
  details summary.bc-service-section-label {
    cursor: pointer;
    list-style: none;
    padding: 14px 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700 !important;
  }
  details summary.bc-service-section-label::before {
    content: "▶";
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
  }
  details[open] summary.bc-service-section-label::before { transform: rotate(90deg); }
  details summary.bc-service-section-label::-webkit-details-marker { display: none; }
  details .bc-service-section-body { padding-bottom: 16px; }
}

/* ===================== STICKY CTA BAR — MOBILE ===================== */
.bc-sticky-cta-bar { display: none; }

@media (max-width: 767px) {
  .bc-sticky-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bc-brown);
    padding: 5px 16px;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
  }
  .bc-sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-b);
  }
  .bc-sticky-cta-primary {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 30px;
    background: var(--bc-cream, #F5F2EE);
    color: var(--bc-brown);
  }
  .bc-sticky-cta-phone {
    flex: 0 0 40px;
    padding: 8px;
    background: transparent;
    color: var(--bc-cream, #F5F2EE);
    border: none;
    border-radius: 0;
  }
  body { padding-bottom: 54px !important; }
  bc-assistant-widget { bottom: 60px !important; }
}

/* ===================== VIDEO IN SIDEBAR — DESKTOP ===================== */
.bc-service-video-sidebar { margin-top: 24px; }
.bc-video-thumb { cursor: pointer; position: relative; }
.bc-video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}
.bc-video-thumb::after {
  content: '\25B6  Powiększ';
  position: absolute;
  bottom: 28px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
}

/* Video modal */
.bc-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.bc-video-modal.active { display: flex; }
.bc-video-modal-content { width: 85vw; max-width: 1000px; position: relative; }
.bc-video-modal-player { position: relative; padding-bottom: 56.25%; height: 0; }
.bc-video-modal-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.bc-video-modal-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
.bc-service-video-mobile { display: none; }

@media (max-width: 767px) {
  .bc-service-video-sidebar { display: none !important; }
  .bc-service-video-mobile { display: block !important; }
}

/* ===================== FOOTER REGULAMINY — 2 COL MOBILE ===================== */
@media (max-width: 767px) {
  .brxe-text-basic:has(a[href*="regulamin"]),
  .bc-footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    text-align: center;
  }
}

/* ===================== FOOTER REGULAMINY — mobile 2 columns ===================== */
@media (max-width: 767px) {
  .bc-footer-bottom .brxe-nav-menu ul,
  #brxe-mnekpf ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4px 0;
    text-align: center;
    justify-items: center;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none;
    max-width: 100%;
  }
  .bc-footer-bottom .brxe-nav-menu ul li a,
  #brxe-mnekpf ul li a {
    font-size: 12px !important;
    padding: 4px 0 !important;
  }
  .bc-footer-bottom,
  #brxe-vgksjb {
    padding: 15px 16px !important;
    display: flex !important;
    justify-content: center !important;
  }
  .bc-footer-bottom .brxe-nav-menu,
  #brxe-mnekpf {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto !important;
  }
}

/* ===================== BEFORE/AFTER CAROUSEL (Figma) ===================== */
.bc-ba-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.bc-ba-slides {
  flex: 1;
  overflow: hidden;
  max-width: 620px;
}

.bc-ba-slide {
  display: none;
}
.bc-ba-slide.bc-ba-active {
  display: block;
}

.bc-ba-pair {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.bc-ba-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 282px;
}

.bc-ba-item img {
  width: 282px;
  height: 282px;
  object-fit: cover;
  border-radius: 20px;
}

.bc-ba-label {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6E5B4C;
}

.bc-ba-arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bc-brown);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--bc-brown);
}
.bc-ba-arrow:hover {
  background: var(--bc-brown);
  color: var(--bc-cream);
}
.bc-ba-arrow svg {
  stroke: currentColor;
}

/* Mobile: mniejsze zdjęcia, strzałki pod */
@media (max-width: 767px) {
  .bc-ba-carousel {
    flex-wrap: wrap;
    gap: 12px;
  }
  .bc-ba-pair {
    gap: 12px;
  }
  .bc-ba-item {
    flex: 1;
  }
  .bc-ba-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .bc-ba-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ===================== FOOTER REGULAMINY — mobile 2 columns ===================== */
@media (max-width: 767px) {
  .bc-footer-bottom .bricks-nav-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 8px !important;
    justify-items: center !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .bc-footer-bottom .menu-item a {
    font-size: 12px !important;
    white-space: normal !important;
    text-align: center;
  }
  .bc-footer-bottom {
    padding: 12px 16px !important;
    justify-content: center !important;
  }
}

/* ===================== IMAGE LIGHTBOX (before/after) ===================== */
.bc-img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bc-img-lightbox.active {
  display: flex;
}
.bc-img-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.bc-img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
.bc-img-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-b);
  font-size: 14px;
  letter-spacing: 0.05em;
}
/* Make BA images clickable */
.bc-ba-item img {
  cursor: pointer;
  transition: transform 0.2s;
}
.bc-ba-item img:hover {
  transform: scale(1.03);
}

/* Ukryj tytuł strony na stronach z shortcodes */
#brx-content.page > h1:first-child,
article.page > h1:first-child {
  display: none !important;
}

/* Rozszerz content area na stronach z shortcodes (o-nas, zabiegi) */
#brx-content.page {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 131px 0 0 0;
}

/* Myślnik w bullet points — Metropolis zamiast NT Vanilla */
.bc-dash {
  font-family: var(--font-b) !important;
  font-weight: 300;
  padding: 0 2px;
}

/* Collab grid — dynamiczne kolumny */
.bc-team-collab-section .bc-team-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(20px, 4vw, 56px) !important;
}

/* ===================== DESKTOP TEAM — Figma sizes ===================== */
@media (min-width: 768px) {
  .bc-team-card {
    width: clamp(200px, 20vw, 282px) !important;
  }
  .bc-team-photo {
    width: 100% !important;
    max-width: 282px !important;
    height: auto !important;
    aspect-ratio: 282/362 !important;
    border-radius: 230px !important;
  }
  .bc-team-name {
    font-size: clamp(18px, 1.8vw, 26px) !important;
  }
  .bc-team-role {
    font-size: 16px !important;
  }
  .bc-team-grid {
    padding: 0 clamp(20px, 7vw, 102px) !important;
  }
}

/* Mobile team */
@media (max-width: 767px) {
  .bc-team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0 16px !important;
    gap: 20px !important;
  }
  .bc-team-card {
    width: calc(33% - 16px) !important;
    max-width: 160px !important;
  }
  .bc-team-photo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 282/362 !important;
    border-radius: 230px !important;
  }
  .bc-team-name {
    font-size: 14px !important;
  }
  .bc-team-role {
    font-size: 12px !important;
  }
  .bc-team-featured {
    padding: 0 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .bc-team-featured-photo {
    flex: none !important;
    width: 200px !important;
    max-width: 200px !important;
    aspect-ratio: 282/362 !important;
    border-radius: 230px !important;
  }
}

/* ===================== BIO PAGE — social media icons ===================== */
.bc-team-bio-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: center;
}
.bc-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  background: var(--bc-cream);
  border-radius: 11px;
  color: var(--bc-brown);
  transition: all 0.2s;
  text-decoration: none;
}
.bc-social-icon:hover {
  background: var(--bc-brown);
  color: var(--bc-cream);
}

/* Bio page header — imię+rola po lewej, socials po prawej */
.bc-team-bio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.bc-team-bio-header .bc-team-bio-socials {
  margin-top: 0;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .bc-team-bio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Bio email */
.bc-team-bio-email {
  margin-top: 4px;
}
.bc-team-bio-email a {
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--bc-brown);
  text-decoration: underline;
  letter-spacing: 0.05em;
}
.bc-team-bio-email a:hover {
  color: var(--bc-dark);
}
