/* =============================================================================
   Biuro Rachunkowe — br-styles.css
   Przeniesiony 1:1 ze wzorcowego pliku HTML + overrides WordPress/Elementor
   ============================================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg: #f4f5f7;
  --bg-2: #eaecf0;
  --paper: #ffffff;
  --ink: #0b1220;
  --ink-2: #2a3242;
  --muted: #5b6473;
  --line: #e2e5eb;
  --line-2: #cdd2da;
  --red: #d4213d;
  --red-deep: #8d0d22;
  --red-soft: #fbe7eb;
  --gold: #c9a227;
  --gold-soft: #f7eecb;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06);
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 12px 30px rgba(11,18,32,.08);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.br-front-page {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

.br-serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
.br-mono  { font-family: 'JetBrains Mono', monospace; }

/* Elementor canvas — usuń domyślne marginesy */
.elementor-page .elementor-section-wrap > .elementor-section:first-of-type { margin-top: 0; }

/* ---------- TOP STRIP ---------- */
.br-strip {
  background: var(--ink);
  color: #c8cdd6;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #1a2236;
  font-family: 'Inter', sans-serif;
}
.br-strip-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.br-strip-left { display: flex; align-items: center; gap: 16px; }
.br-strip-flag {
  display: inline-flex; width: 22px; height: 14px;
  border: 1px solid #2c3447; border-radius: 1px; overflow: hidden;
}
.br-strip-flag i { display: block; width: 100%; height: 50%; }
.br-strip-flag i:first-child { background: #fff; }
.br-strip-flag i:last-child  { background: var(--red); }
.br-strip a { color: #c8cdd6; text-decoration: none; }
.br-strip a:hover { color: #fff; }
.br-strip-right { display: flex; align-items: center; gap: 20px; }
.br-strip-right .pill {
  padding: 2px 10px; border: 1px solid #2c3447;
  border-radius: 999px; font-size: 11px;
}

/* ---------- NAV ---------- */
.br-nav {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
}
.br-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; gap: 32px;
}
.br-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.br-brand-mark {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--paper); border: 1px solid var(--line-2);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.br-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.br-brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.br-brand-text span   { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.br-nav-links { display: flex; gap: 4px; align-items: center; }
.br-nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 10px 14px; border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.br-nav-links a:hover { background: var(--bg); color: var(--ink); }
.br-nav-cta {
  background: var(--ink) !important; color: white !important;
  padding: 10px 18px !important; margin-left: 8px;
  display: inline-flex !important; align-items: center; gap: 8px;
  border-radius: 6px;
}
.br-nav-cta:hover { background: var(--red) !important; color: white !important; }

/* ---------- HERO ---------- */
.br-hero {
  position: relative; overflow: hidden;
  padding: 80px 32px 100px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(212,33,61,.04) 100%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.br-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.br-hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px;
  align-items: center; position: relative;
}

/* Badge row */
.br-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.br-gov-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.br-gov-badge .swatch { width: 14px; height: 14px; border-radius: 3px; display: grid; place-items: center; flex-shrink: 0; }
.br-gov-badge.red { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); }
.br-gov-badge.red .swatch { background: var(--red); color: white; font-size: 8px; }
.br-gov-badge.dot::before { content:''; width:6px; height:6px; border-radius:50%; background: #1d8d4d; box-shadow: 0 0 0 4px rgba(29,141,77,.15); }

/* Hero heading */
.br-hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  margin: 0 0 28px;
  color: var(--ink);
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.br-hero h1 em { font-style: italic; color: var(--red); }
.br-hero h1 .strike { position: relative; display: inline-block; }
.br-hero h1 .strike::after {
  content: ''; position: absolute; left: 0; right: 0; top: 55%;
  height: 4px; background: var(--red); transform-origin: left; transform: scaleX(0);
  transition: transform .9s cubic-bezier(.65,0,.35,1) .8s;
}
.br-hero.loaded h1 .strike::after { transform: scaleX(1); }

.br-hero p.lead {
  font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 0 0 36px; line-height: 1.55;
}
.br-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons */
.br-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
}
.br-btn-primary {
  background: var(--red); color: white;
  box-shadow: 0 1px 0 var(--red-deep) inset, 0 6px 20px rgba(212,33,61,.25);
}
.br-btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); color: white; }
.br-btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.br-btn-secondary:hover { border-color: var(--ink); }
.br-btn .arrow { transition: transform .2s ease; }
.br-btn:hover .arrow { transform: translateX(4px); }

/* Trust row */
.br-trust-row {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.br-trust-row span:first-child { color: var(--ink-2); }
.br-trust-logo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--paper); color: var(--ink-2);
  font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none;
}
.br-ksef-mark  { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #1a4cb8, #0a2d7a); color: white; display:grid; place-items:center; font-size: 9px; font-weight: 800; }
.br-zus-mark   { width: 22px; height: 22px; border-radius: 5px; background: #006548; color: white; display:grid; place-items:center; font-size: 9px; font-weight: 800; letter-spacing: -0.5px; }
.br-epuap-mark { width: 22px; height: 22px; border-radius: 5px; background: #0a2d7a; color: white; display:grid; place-items:center; font-size: 8px; font-weight: 800; }

/* Hero visual */
.br-hero-visual { position: relative; aspect-ratio: 0.95 / 1; }
.br-panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.br-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafbfc;
}
.br-panel-head .title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.br-panel-head .title .live { width: 6px; height: 6px; border-radius: 50%; background: #1d8d4d; box-shadow: 0 0 0 3px rgba(29,141,77,.18); animation: br-pulse 1.8s infinite; }
@keyframes br-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.br-panel-head .meta { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* Dashboard */
.br-dash { position: absolute; inset: 0 8% 22% 0; }
.br-dash-body { padding: 20px 22px; }
.br-dash-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px;
  padding: 12px 0; align-items: center; font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.br-dash-row:last-child { border-bottom: none; }
.br-dash-row .label { color: var(--ink-2); }
.br-dash-row .label strong { display: block; font-weight: 600; }
.br-dash-row .label .sub { color: var(--muted); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.br-dash-row .amount { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--ink); }
.br-dash-row .status { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.br-dash-row .status.ok      { background: #e3f4ea; color: #0e6b3a; }
.br-dash-row .status.pending { background: #fff4e2; color: #8a5b00; }
.br-dash-row .status.draft   { background: var(--bg); color: var(--muted); }
.br-dash-row .icon { width: 28px; height: 28px; border-radius: 6px; display:grid; place-items:center; font-size: 9px; font-weight: 700; color: white; }

/* mObywatel mock */
.br-mobywatel {
  position: absolute; bottom: 0; right: 0; width: 52%;
  aspect-ratio: 0.55 / 1;
  background: linear-gradient(165deg, #ffffff 0%, #f1f3f7 100%);
  border-radius: 28px; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px rgba(11,18,32,.18);
  transform: rotate(4deg); overflow: hidden; padding: 14px;
}
.br-mob-screen {
  background: linear-gradient(180deg, #b91728 0%, #8d0d22 100%);
  border-radius: 18px; height: 100%; padding: 16px; color: white;
  display: flex; flex-direction: column; position: relative;
}
.br-mob-bar { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-family: 'JetBrains Mono', monospace; opacity: .85; margin-bottom: 14px; }
.br-mob-eagle { width: 56px; height: 56px; background: white; color: var(--red); border-radius: 50%; display: grid; place-items: center; margin: 8px auto 14px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.br-mob-eagle svg { width: 32px; height: 32px; }
.br-mob-name  { text-align: center; font-size: 13px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.br-mob-pesel { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 10px; opacity: .8; margin-bottom: 14px; }
.br-mob-cards { display: flex; flex-direction: column; gap: 6px; }
.br-mob-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(20px); border-radius: 10px; padding: 8px 10px;
  font-size: 10px; display: flex; justify-content: space-between; align-items: center;
}
.br-mob-card .key { opacity: .8; }
.br-mob-card .val { font-family: 'JetBrains Mono', monospace; font-weight: 600; }

/* Float chip */
.br-float-chip {
  position: absolute; top: -4%; left: -4%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500;
  animation: br-floaty 5s ease-in-out infinite; z-index: 2;
}
@keyframes br-floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.br-float-chip .ksef-mark { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #1a4cb8, #0a2d7a); color: white; display:grid; place-items:center; font-size:10px; font-weight:800; }
.br-float-chip strong { display: block; font-weight: 600; color: var(--ink); }
.br-float-chip span   { color: var(--muted); font-size: 11px; font-family: 'JetBrains Mono', monospace; }

/* ---------- SECTION SHELL ---------- */
.br-section { padding: 100px 32px; position: relative; }
.br-container { max-width: 1280px; margin: 0 auto; }
.br-section-head { max-width: 760px; margin-bottom: 56px; }
.br-section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px; padding: 4px 0;
}
.br-section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.br-section-title {
  font-size: clamp(36px, 4.6vw, 60px); margin: 0 0 18px;
  font-family: 'Instrument Serif', serif; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.02; color: var(--ink);
}
.br-section-title em { font-style: italic; color: var(--red); }
.br-section-lead { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 600px; }

/* ---------- INTEGRATIONS BAND ---------- */
.br-integrations {
  padding: 56px 32px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.br-int-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2.4fr; gap: 60px; align-items: center;
}
.br-int-inner h3 { font-size: 14px; margin: 0 0 6px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.br-int-inner p  { font-size: 13px; color: var(--muted); margin: 0; }
.br-int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.br-int-cell {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.br-int-cell:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--paper); }
.br-int-cell .mark { width: 38px; height: 38px; border-radius: 8px; display:grid; place-items:center; font-size: 11px; font-weight: 800; color: white; letter-spacing: -0.02em; }
.br-int-cell .name { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.br-mark-ksef   { background: linear-gradient(135deg, #1a4cb8, #0a2d7a); }
.br-mark-mob    { background: linear-gradient(180deg, #fff 50%, var(--red) 50%); border: 1px solid var(--line); color: var(--red) !important; }
.br-mark-zus    { background: #006548; }
.br-mark-epuap  { background: #0a2d7a; font-size: 9px !important; }
.br-mark-gov    { background: var(--red); font-size: 10px !important; }
.br-mark-ceidg  { background: var(--ink); }
.br-mark-us     { background: var(--red-deep); font-size: 9px !important; letter-spacing: 0 !important; }
.br-mark-krs    { background: #4a4a4a; font-size: 10px !important; }
.br-mark-gus    { background: #1d8d4d; font-size: 10px !important; }
.br-mark-psim   { background: #6b3aa0; font-size: 9px !important; }
.br-mark-profil { background: linear-gradient(135deg, #2563eb, #1e40af); font-size: 8px !important; letter-spacing: 0 !important; }
.br-mark-pfr    { background: #c9a227; color: var(--ink) !important; font-size: 9px !important; }

/* ---------- SERVICES ---------- */
.br-services-section { padding: 100px 32px; background: var(--bg); }
.br-services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.br-service {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.br-service:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.br-service.col-7 { grid-column: span 7; }
.br-service.col-5 { grid-column: span 5; }
.br-service.col-6 { grid-column: span 6; }
.br-service .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.br-service .num  { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.br-service .tag  { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--bg); color: var(--ink-2); }
.br-service .tag.ksef { background: var(--red-soft); color: var(--red-deep); }
.br-service .tag.zus  { background: #e3f4ea; color: #0e6b3a; }
.br-service h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 36px; margin: 0 0 14px; letter-spacing: -0.01em; line-height: 1.05; }
.br-service p  { color: var(--ink-2); margin: 0 0 24px; font-size: 15px; }
.br-service-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.br-service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.br-service-list li::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 13px; line-height: 1.4; flex-shrink: 0; }
.br-service-list li code { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: var(--bg); padding: 1px 6px; border-radius: 3px; }

/* KSeF illustration */
.br-ksef-illust {
  margin-top: 24px; padding: 16px; background: var(--bg); border-radius: 10px;
  display: flex; align-items: center; gap: 14px; font-size: 13px;
}
.br-ksef-illust .ksef-mark { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #1a4cb8, #0a2d7a); color: white; display:grid; place-items:center; font-size:11px; font-weight:800; flex-shrink: 0; }
.br-ksef-illust .arrow-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, transparent 50%, transparent 100%);
  background-size: 200% 100%; background-position: 100% 0;
  animation: br-flow 2s linear infinite; border-radius: 2px;
}
@keyframes br-flow { to { background-position: -100% 0; } }
.br-ksef-illust .your-co { font-weight: 600; color: var(--ink); }

/* ---------- KSEF SECTION (dark) ---------- */
.br-ksef-section {
  background: var(--ink); color: #f4f5f7;
  padding: 100px 32px; position: relative; overflow: hidden;
}
.br-ksef-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(212,33,61,.15), transparent 60%);
}
.br-ksef-section .br-container { position: relative; }
.br-ksef-section .br-section-eyebrow { color: #ff5c75; }
.br-ksef-section .br-section-eyebrow::before { background: #ff5c75; }
.br-ksef-section .br-section-title { color: white; }
.br-ksef-section .br-section-lead  { color: #b9c0cc; }

.br-ksef-flow {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; gap: 0;
  align-items: stretch;
}
.br-flow-step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px; padding: 28px;
}
.br-flow-step .num   { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #ff8fa3; margin-bottom: 16px; letter-spacing: 0.1em; }
.br-flow-step h4     { margin: 0 0 10px; font-size: 20px; font-family: 'Instrument Serif', serif; font-weight: 400; color: white; }
.br-flow-step p      { margin: 0; font-size: 13px; color: #b9c0cc; }
.br-flow-step .badge { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(212,33,61,.18); color: #ff8fa3; font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.br-flow-arrow { align-self: center; display: flex; align-items: center; justify-content: center; color: #4b5468; }

.br-ksef-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1);
}
.br-ksef-stats .item .n { font-family: 'Instrument Serif', serif; font-size: 56px; color: white; line-height: 1; letter-spacing: -0.02em; }
.br-ksef-stats .item .n em { color: var(--red); font-style: normal; }
.br-ksef-stats .item p { font-size: 13px; color: #b9c0cc; margin: 8px 0 0; }

/* ---------- DLACZEGO MY ---------- */
.br-why-section { padding: 100px 32px; background: var(--bg); }
.br-why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.br-why-list { display: flex; flex-direction: column; gap: 12px; }
.br-why-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 26px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  transition: border-color .2s ease, transform .2s ease;
}
.br-why-item:hover { border-color: var(--ink); transform: translateX(4px); }
.br-why-item .id   { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.br-why-item h4    { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.br-why-item p     { margin: 0; font-size: 14px; color: var(--muted); }
.br-why-item .stamp { font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 4px 10px; border-radius: 4px; background: var(--red-soft); color: var(--red-deep); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

.br-crest-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 48px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.br-crest-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, white 50%, var(--red) 50%);
}
.br-crest-card .crest {
  width: 120px; height: 120px; margin: 16px auto 24px;
  background: var(--red); border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(212,33,61,.3);
}
.br-crest-card .crest svg { width: 76px; height: 76px; color: white; }
.br-crest-card h3 { font-family: 'Instrument Serif', serif; font-size: 32px; font-weight: 400; margin: 0 0 12px; letter-spacing: -0.01em; }
.br-crest-card p  { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.br-crest-card .pill-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.br-crest-card .pill { font-size: 11px; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-family: 'JetBrains Mono', monospace; border: 1px solid var(--line); }

/* ---------- KADRY ---------- */
.br-kadry-section { padding: 100px 32px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.br-kadry-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.br-kadry-mock { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.br-km-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.br-km-head .title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.br-km-head .title .zus-mark { width: 26px; height: 26px; border-radius: 6px; background: #006548; color: white; display:grid; place-items:center; font-size:10px; font-weight:800; }
.br-km-head .month { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.br-km-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: center; font-size: 13px;
}
.br-km-row:last-child { border-bottom: none; }
.br-km-row strong { font-weight: 600; color: var(--ink); display: block; }
.br-km-row .sub   { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.br-km-row .amt   { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.br-km-row .check { width: 22px; height: 22px; border-radius: 50%; background: #1d8d4d; color: white; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.br-km-foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.br-km-foot .label { color: var(--muted); }
.br-km-foot .total { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 700; }

.br-kadry-bullets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.br-kadry-bullets li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.br-kadry-bullets li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--red-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l3 3 5-7' fill='none' stroke='%23d4213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}

/* ---------- FAQ ---------- */
.br-faq-section { padding: 100px 32px; background: var(--bg); }
.br-faq { max-width: 920px; margin: 0 auto; }
.br-faq-item { border-top: 1px solid var(--line); position: relative; }
.br-faq-item:last-child { border-bottom: 1px solid var(--line); }
.br-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-size: 19px; font-weight: 600; color: var(--ink);
  font-family: inherit; gap: 24px;
}

[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover {
    background-color: #c36;
    color: #fff !important;
}

.br-faq-num    { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); width: 30px; flex-shrink: 0; }
.br-faq-q-text { flex: 1; }
.br-faq-icon {
  width: 30px; height: 30px; flex-shrink: 0; position: relative;
  border: 1px solid var(--line-2); border-radius: 6px;
  transition: background .2s ease, border-color .2s ease;
}
.br-faq-icon::before, .br-faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink);
  transform: translate(-50%, -50%);
}
.br-faq-icon::before { width: 12px; height: 1.5px; }
.br-faq-icon::after  { width: 1.5px; height: 12px; transition: transform .25s ease; }
.br-faq-item.open .br-faq-icon { background: var(--ink); border-color: var(--ink); }
.br-faq-item.open .br-faq-icon::before,
.br-faq-item.open .br-faq-icon::after { background: white; }
.br-faq-item.open .br-faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.br-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.br-faq-a-inner { padding: 0 0 28px 46px; color: var(--ink-2); font-size: 16px; max-width: 720px; }
.br-faq-item.open .br-faq-a { max-height: 400px; }

/* ---------- CTA / KONTAKT ---------- */
.br-cta-section { padding: 100px 32px; background: var(--bg); }
.br-cta {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px;
}
.br-cta-block {
  background: var(--ink); color: white;
  border-radius: 18px; padding: 56px; position: relative; overflow: hidden;
}
.br-cta-block::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212,33,61,.25), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(201,162,39,.15), transparent 50%);
}
.br-cta-block > * { position: relative; }
.br-cta-block .br-section-eyebrow { color: #ff5c75; }
.br-cta-block .br-section-eyebrow::before { background: #ff5c75; }
.br-cta-block h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 48px; line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.01em; color: white; }
.br-cta-block h2 em { color: #ff8fa3; font-style: italic; }
.br-cta-block p { color: #b9c0cc; margin: 0 0 32px; font-size: 16px; }

.br-cta-info { display: flex; flex-direction: column; gap: 12px; }
.br-cta-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.br-cta-row .ic { width: 32px; height: 32px; border-radius: 8px; background: rgba(212,33,61,.2); color: #ff8fa3; display:grid; place-items:center; flex-shrink: 0; }
.br-cta-row .label { font-size: 11px; color: #8a92a3; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.br-cta-row .val   { font-size: 15px; color: white; font-weight: 500; }
.br-cta-row a { color: white; text-decoration: none; }

/* Contact Form Block */
.br-form-block {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 48px;
}
.br-form-block h3 { font-size: 22px; margin: 0 0 8px; }
.br-form-block .sub { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.br-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.br-field { display: flex; flex-direction: column; margin-bottom: 0; }
.br-field label { font-size: 12px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; letter-spacing: 0.02em; }
.br-field label .req { color: var(--red); }
.br-field input,
.br-field textarea,
.br-field select {
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.br-field input:focus,
.br-field textarea:focus,
.br-field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,33,61,.12);
}
.br-field textarea { height: 80px; resize: vertical; }
.br-check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); margin: 8px 0 16px; }
.br-check-row input { margin-top: 2px; accent-color: var(--red); }
.br-form-block .br-btn { width: 100%; justify-content: center; }

/* ---------- FOOTER ---------- */
.br-footer {
  padding: 56px 32px 32px; border-top: 1px solid var(--line);
  background: var(--paper); font-family: 'Inter', sans-serif;
}
.br-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.br-footer h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 16px; font-weight: 700; }
.br-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.br-footer ul a,
.br-footer ul li { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.br-footer ul a:hover { color: var(--red); }
.br-footer-bottom {
  max-width: 1280px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); align-items: center; gap: 16px; flex-wrap: wrap;
}
.br-footer-bottom .gov-line { display: inline-flex; align-items: center; gap: 8px; }
.br-footer-bottom .strip-flag { width: 18px; height: 11px; }

/* ---------- REVEAL ANIMATIONS ---------- */
.br-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.br-reveal.in { opacity: 1; transform: none; }
.br-reveal.d1 { transition-delay: .1s; }
.br-reveal.d2 { transition-delay: .2s; }
.br-reveal.d3 { transition-delay: .3s; }
.br-reveal.d4 { transition-delay: .4s; }

/* ---------- ELEMENTOR WIDGET OVERRIDES ---------- */
.elementor-widget-heading .elementor-heading-title { line-height: inherit; }
.elementor-widget-text-editor { line-height: 1.55; }
.elementor-accordion .elementor-accordion-item { border-color: var(--line); }
.elementor-accordion .elementor-tab-title { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 600; color: var(--ink); padding: 26px 0; }
.elementor-accordion .elementor-tab-title:hover { color: var(--red); }
.elementor-accordion .elementor-tab-content { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--ink-2); padding: 0 0 28px; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 1025px) {
  .br-form-block { padding-bottom: 36px; }
}

@media (max-width: 1024px) {
  .br-hero-inner,
  .br-why-grid,
  .br-kadry-split,
  .br-ksef-flow,
  .br-cta,
  .br-footer-inner,
  .br-int-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
  .br-ksef-stats,
  .br-kadry-bullets,
  .br-int-grid { grid-template-columns: repeat(2,1fr) !important; }
  .br-services-grid > * { grid-column: span 12 !important; }
  .br-nav-links a:not(.br-nav-cta) { display: none; }
  .br-section { padding: 64px 24px; }
  .br-ksef-section { padding: 64px 24px; }
  .br-cta-block, .br-form-block { padding: 32px; }
  .br-strip-right { display: none; }
}

@media (max-width: 767px) {
  .br-hero { padding: 60px 20px 80px; }
  .br-form-row { grid-template-columns: 1fr; }
  .br-footer-inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .br-kadry-bullets { grid-template-columns: 1fr !important; }
}
