/*
Theme Name: BearZ Agency
Theme URI: https://bearz.dev8.whitepaperagency.pl/bearz/
Author: White Paper Agency
Description: Motyw dla agencji BearZ — specjalistycznej agencji dla marek zdrowia i urody w e-pharmacy.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bearz
*/
/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #222951;
  --navy-dark: #161c38;
  --navy-light: #2e3868;
  --mint: #bde5e5;
  --mint-dark: #8dcece;
  --mint-light: #d6f0f0;
  --white: #ffffff;
  --off-white: #f7f9f9;
  --gray-100: #f1f4f4;
  --gray-200: #e2e8e8;
  --gray-400: #94a3a3;
  --gray-600: #4a5a5a;
  --gray-800: #1f2d2d;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(34,41,81,0.08);
  --shadow-md: 0 8px 32px rgba(34,41,81,0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { font-size: 1rem; line-height: 1.75; color: var(--gray-600); }
/* LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--navy { background: var(--navy); }
.section--gray { background: var(--off-white); }
/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.btn--primary:hover { background: var(--mint-dark); border-color: var(--mint-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200); transition: all var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
  color: var(--gray-600); border-radius: var(--radius-sm); transition: all var(--transition);
}
.site-nav a:hover { color: var(--navy); background: var(--gray-100); }
.nav-cta { background: var(--navy) !important; color: var(--white) !important; }
.nav-cta:hover { background: var(--navy-dark) !important; opacity:0.9; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
/* HERO */
.hero {
  background: var(--navy);
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(189,229,229,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(189,229,229,0.15); border: 1px solid rgba(189,229,229,0.3);
  color: var(--mint); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--mint); border-radius: 50%; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--mint); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.hero-lead { font-size: 0.92rem; color: rgba(255,255,255,0.48); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card-stack { position: relative; max-width: 460px; margin-left: auto; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(8px);
}
.hero-card--back {
  position: absolute; top: -16px; right: -16px; left: 16px; bottom: 16px; z-index: -1;
  background: rgba(189,229,229,0.08); border-color: rgba(189,229,229,0.2);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.hero-stat {
  text-align: center; padding: 16px;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num { font-size: 2rem; font-weight: 700; color: var(--mint); display: block; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.hero-card-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.hero-card-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
/* SECTION HEADER */
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); background: var(--mint);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { font-size: 1.05rem; }
/* USP */
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.usp-subtitle { font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-bottom: 32px; }
.usp-items { display: flex; flex-direction: column; gap: 20px; }
.usp-item { display: flex; gap: 16px; align-items: flex-start; }
.usp-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--mint);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
}
.usp-icon svg { width: 20px; height: 20px; color: var(--navy); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.usp-item-text { font-size: 0.92rem; color: var(--gray-600); line-height: 1.65; padding-top: 8px; }
.usp-stats-card { background: var(--navy); border-radius: var(--radius-lg); padding: 40px; }
.usp-stats-card h3 { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 500; margin-bottom: 32px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item { text-align: center; padding: 20px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--mint); display: block; line-height: 1; }
.stat-suffix { font-size: 1.4rem; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.4; }
.stat-viz { display: block; margin-top: 10px; }
.stat-viz svg { width: 100%; height: 44px; display: block; }
.stat-viz--donut svg { width: 44px; height: 44px; margin: 0 auto; }
/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--mint); transform: scaleX(0); transition: transform var(--transition);
}
.service-card:hover { border-color: var(--mint-dark); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured { border-color: var(--mint); background: linear-gradient(135deg, var(--mint-light) 0%, var(--white) 100%); }
.service-icon {
  width: 52px; height: 52px; background: var(--mint-light);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--navy); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { font-size: 0.88rem; line-height: 1.65; }
/* AI SECTION */
.ai-section { background: var(--navy); position: relative; overflow: hidden; }
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.ai-content .section-tag { background: rgba(189,229,229,0.2); color: var(--mint); }
.ai-content h2 { color: var(--white); margin-bottom: 24px; }
.ai-content p { color: rgba(255,255,255,0.7); font-size: 1.02rem; margin-bottom: 36px; }
.ai-features { display: flex; flex-direction: column; gap: 14px; }
.ai-feature { display: flex; gap: 12px; align-items: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.ai-feature-check {
  flex-shrink: 0; width: 22px; height: 22px; background: var(--mint);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.ai-feature-check svg { width: 12px; height: 12px; color: var(--navy); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ai-accent { color: var(--mint); }
.ai-redesign .ai-visual-wrap img { border-radius: var(--radius-lg); cursor: zoom-in; width: 100%; height: auto; }
.ai-mockup {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px;
}
.ai-mockup-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.ai-mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.ai-mockup-img { height: 180px; background: rgba(189,229,229,0.1); border-radius: var(--radius-md); border: 1px dashed rgba(189,229,229,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ai-mockup-img span { color: rgba(189,229,229,0.4); font-size: 0.75rem; }
.ai-mockup-line { height: 10px; background: rgba(255,255,255,0.08); border-radius: 4px; margin-bottom: 8px; }
.ai-mockup-line--short { width: 60%; }
/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-bottom: 56px; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: var(--mint-dark); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.process-step-num {
  width: 72px; height: 72px; background: var(--navy); color: var(--mint);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin: 0 auto 20px;
  border: 4px solid var(--off-white); box-shadow: var(--shadow-sm);
}
.process-step h4 { font-size: 0.82rem; color: var(--navy); line-height: 1.4; }
.process-result {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 36px 48px; color: var(--white);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.process-result-label { font-size: 1.4rem; font-weight: 800; color: var(--mint); white-space: nowrap; }
.process-result p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin: 0; }
/* MEDIA PLANNING */
.media-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.media-content h2 { margin-bottom: 24px; }
.media-content p { margin-bottom: 14px; font-size: 0.92rem; }
.media-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.media-tag { background: var(--mint-light); color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--mint-dark); }
.media-visual { background: var(--navy); border-radius: var(--radius-lg); padding: 36px; }
.media-step { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.media-step:last-child { margin-bottom: 0; }
.media-step-icon { flex-shrink: 0; width: 36px; height: 36px; background: rgba(189,229,229,0.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.media-step-icon svg { width: 18px; height: 18px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.media-step-text h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 4px; }
.media-step-text p { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 0; }
/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 28px; position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 16px; left: 24px; font-size: 4rem; line-height: 1; color: var(--mint); font-family: Georgia, serif; }
.testimonial-text { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; margin-top: 32px; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--gray-200); padding-top: 20px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--mint); flex-shrink: 0; }
.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 0.75rem; color: var(--gray-400); margin-top: 2px; }
/* CLIENTS */
.clients-intro { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.clients-intro h2 { margin-bottom: 16px; }
.clients-marquee { overflow: hidden; position: relative; }
.clients-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.clients-track:hover { animation-play-state: paused; }
.clients-set { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 16px 28px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); min-width: 120px; min-height: 64px; }
.client-logo-item:hover { border-color: var(--mint-dark); box-shadow: var(--shadow-sm); }
.client-logo-item img { max-height: 36px; width: auto; filter: grayscale(80%); opacity: 0.65; transition: all var(--transition); }
.client-logo-item:hover img { filter: grayscale(0%); opacity: 1; }
/* CTA */
.cta-section { background: var(--navy); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(189,229,229,0.1) 0%, transparent 60%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta-redesign .cta-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 56px; max-width: 680px; margin: 0 auto 40px; }
.cta-redesign .cta-tag { background: rgba(189,229,229,0.18); color: var(--mint); }
.cta-redesign h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 20px; }
.cta-accent { color: var(--mint); }
.cta-divider { font-size: 1.4rem; color: var(--mint); opacity: 0.4; margin: 20px 0; display: block; }
.cta-redesign p { color: rgba(255,255,255,0.65); font-size: 1.02rem; max-width: 520px; margin: 0 auto 32px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 100px; padding: 10px 20px; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.cta-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cta-pill a { color: var(--mint); }
.cta-address { margin-top: 40px; color: rgba(255,255,255,0.35); font-size: 0.82rem; }
/* FOOTER */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.55); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-logo img { height: 28px; width: auto; margin-bottom: 12px; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.38); max-width: 340px; }
.footer-contact a { display: block; color: var(--mint); font-size: 0.88rem; margin-bottom: 4px; transition: opacity var(--transition); }
.footer-contact a:hover { opacity: 0.75; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.28); }
/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner, .usp-grid, .ai-inner, .media-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual, .usp-visual, .ai-visual-wrap { display: none; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .site-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 16px; }
  .mobile-menu-toggle { display: flex; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .process-result { grid-template-columns: 1fr; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .media-inner { grid-template-columns: 1fr; }
  .media-visual { display: none; }
}

/* ============================================
   SCROLL REVEAL (used by JS class-based reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.bearz-lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.88); align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.bearz-lightbox.is-open { display: flex; }
.bearz-lightbox img {
  max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md);
  object-fit: contain; cursor: default; box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.bearz-lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); cursor: pointer;
  transition: background var(--transition);
}
.bearz-lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   MODAL — FORMULARZ AUDYTU
   ============================================ */
.bearz-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(22,28,56,0.72); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 0.5rem;
}
.bearz-modal.is-open { display: flex; }

.bearz-modal__dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px !important; /* ZMIANA: Mniejszy padding góra/dół (z 24px na 20px) */
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 80dvh; 
  overflow-y: auto !important;
  position: relative;
  box-shadow: 0 24px 80px rgba(22,28,56,0.3);
  box-sizing: border-box;
}

.bearz-modal__close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; font-size: 1.4rem; line-height: 1;
  cursor: pointer; color: var(--gray-400); transition: color var(--transition); padding: 4px;
}
.bearz-modal__close:hover { color: var(--navy); }

.bearz-modal__title { 
  font-size: 1.3rem !important; 
  color: var(--navy); 
  margin-bottom: 2px !important; /* ZMIANA: Mniejszy margines pod tytułem */
}
.bearz-modal__lead { 
  font-size: 0.9rem !important; 
  color: var(--gray-400); 
  margin-bottom: 12px !important; /* ZMIANA: Mniejszy margines pod tekstem (z 16px na 12px) */
}

#bearz-audyt-form .bearz-field { 
  display: flex; 
  flex-direction: column; 
  gap: 2px !important; /* ZMIANA: Mniejsza przerwa między etykietą a polem */
  margin-bottom: 8px !important; /* ZMIANA: Mniejszy margines między poszczególnymi polami (z 10px na 8px) */
}

#bearz-audyt-form .bearz-field > span:first-child { 
  font-size: 0.85rem !important; 
  font-weight: 600; 
  color: var(--navy); 
}

#bearz-audyt-form .bearz-field input,
#bearz-audyt-form .bearz-field select {
  width: 100%; 
  height: 38px !important; /* ZMIANA: Odrobinę niższe pola (z 40px na 38px) */
  min-height: 0 !important; 
  padding: 0 12px !important; 
  line-height: 38px !important; /* ZMIANA: Dopasowane do nowej wysokości */
  border: 1.5px solid var(--gray-200); 
  border-radius: var(--radius-sm);
  font-family: var(--font-sans); 
  font-size: 0.95rem !important; 
  color: var(--gray-800); 
  background: var(--off-white);
  -webkit-appearance: none; 
  appearance: none;
  box-sizing: border-box !important;
}

#bearz-audyt-form .bearz-field input:focus,
#bearz-audyt-form .bearz-field select:focus {
  outline: none; 
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(141,206,206,0.18);
}

#bearz-audyt-form .bearz-field textarea {
  width: 100%;
  height: 76px !important; /* ZMIANA: Niższe pole wiadomości (z 90px na 76px) */
  min-height: 0 !important;
  resize: none !important;
  overflow: hidden !important; 
  font-family: var(--font-sans);
  font-size: 0.95rem !important; 
  color: var(--gray-800);
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 8px 12px !important;
  line-height: 1.1 !important; 
  box-sizing: border-box !important;
}

#bearz-audyt-form .bearz-field textarea:focus {
  outline: none;
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(141,206,206,0.18);
}

.bearz-char-count {
  font-size: 0.75rem !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
	
}

/* Honeypot */
.bearz-hp {
  position: absolute; left: -9999px; opacity: 0;
  height: 0; width: 0; pointer-events: none; overflow: hidden;
}

#bearz-audyt-form .btn { 
  width: 100%;
  justify-content: center;
  font-size: 1rem !important;
  padding: 8px 24px !important; /* ZMIANA: Minimalnie niższy przycisk */
  margin-top: 6px !important;
  margin-bottom: 10px !important; /* ZMIANA: Mniejszy margines pod przyciskiem */
}

/* Feedback message */
.bearz-msg { display: none; margin-top: 6px; font-size: 0.8rem; font-weight: 500; text-align: center; }

.bearz-rodo {
  font-size: 8px !important;
  color: var(--gray-400);
  line-height: 1.1 !important;
  margin: 4px 0 0 0;
}
.bearz-rodo a {
  font-size: 8px !important;
  color: var(--navy);
  text-decoration: underline;
}
.bearz-rodo a:hover {
  color: var(--mint-dark);
}