:root {
  --font-scale: 1;
  --ink: #13201a;
  --ink-soft: #53635b;
  --surface: #ffffff;
  --surface-2: #f4f7f3;
  --surface-3: #edf3e9;
  --line: #dce5df;
  --brand: #86a72a;
  --brand-dark: #58731a;
  --brand-deep: #405713;
  --brand-light: #e2edc3;
  --night: #101915;
  --night-2: #18261f;
  --warm: #f8f3e8;
  --shadow: 0 24px 65px rgba(18, 40, 27, .11);
  --shadow-soft: 0 12px 34px rgba(18, 40, 27, .08);
  --radius: 24px;
  --radius-sm: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--font-scale)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--brand); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d6a900; outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; z-index: 9999; left: 18px; top: 10px; transform: translateY(-150%); background: #fff; color: #000; padding: .7rem 1rem; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

/* Header */
.topbar { background: var(--night); color: #fff; font-size: .84rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-name { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; font-weight: 800; color: #dce7df; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #dfeabf; }
.nav-wrap { background: rgba(255,255,255,.965); border-bottom: 1px solid rgba(19,32,26,.08); position: sticky; top: 0; z-index: 80; backdrop-filter: blur(16px); transition: box-shadow .25s ease, background .25s ease; }
.nav-wrap.scrolled { box-shadow: 0 10px 32px rgba(15,27,20,.08); background: rgba(255,255,255,.985); }
.nav-inner { min-height: 82px; display: flex; align-items: center; gap: 22px; position: relative; transition: min-height .25s ease; }
.nav-wrap.scrolled .nav-inner { min-height: 72px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 224px; display: block; transition: width .25s ease; }
.nav-wrap.scrolled .brand img { width: 208px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 750; padding: .62rem .58rem; border-radius: 10px; white-space: nowrap; transition: background .18s ease, color .18s ease, transform .18s ease; }
.main-nav a:hover, .main-nav a.active { background: var(--surface-2); color: var(--brand-dark); }
.main-nav a:hover { transform: translateY(-1px); }
.mobile-panel-link { display: none!important; }
.client-panel-btn,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-panel-btn { flex: 0 0 auto; background: linear-gradient(135deg, #6d8b1d, #91ad37); border-color: transparent; box-shadow: 0 10px 24px rgba(88,115,26,.2); }
.client-panel-btn svg { width: 18px; height: 18px; }
.client-panel-btn::after,
.button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,.22) 49%, transparent 64%); transform: translateX(-130%); transition: transform .55s ease; pointer-events: none; }
.client-panel-btn:hover::after,
.button:hover::after { transform: translateX(130%); }
.client-panel-btn:hover,
.button:hover { color: #fff; background: var(--brand); transform: translateY(-2px); box-shadow: 0 13px 28px rgba(88,115,26,.18); }
.button-ghost { background: transparent; color: var(--brand-dark); box-shadow: none; }
.button-ghost:hover { color: var(--night); background: var(--brand-light); box-shadow: none; }
.button-panel { background: var(--night); border-color: var(--night); }
.button-panel:hover { background: var(--night-2); border-color: var(--night-2); }
.menu-toggle { display: none; width: 46px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 118px) 0 92px; background: linear-gradient(135deg, #f8faf7 0%, #ffffff 54%, #f5f0e6 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -260px; top: -270px; border: 1px solid rgba(127,159,33,.16); box-shadow: 0 0 0 72px rgba(127,159,33,.035), 0 0 0 150px rgba(127,159,33,.022); animation: haloPulse 8s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: -180px; bottom: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(127,159,33,.16), transparent 67%); filter: blur(8px); }
.hero-ambient span { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .6; pointer-events: none; }
.hero-ambient span:nth-child(1) { width: 12px; height: 12px; background: var(--brand); top: 20%; left: 52%; animation: drift 6s ease-in-out infinite; }
.hero-ambient span:nth-child(2) { width: 8px; height: 8px; background: #d9b563; top: 70%; left: 48%; animation: drift 7.5s ease-in-out infinite reverse; }
.hero-ambient span:nth-child(3) { width: 15px; height: 15px; border: 2px solid rgba(88,115,26,.55); top: 37%; right: 5%; animation: drift 9s ease-in-out infinite; }
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(52px, 8vw, 110px); position: relative; z-index: 2; }
.hero-copy { animation: heroEnter .75s cubic-bezier(.2,.75,.25,1) both; }
.eyebrow { margin: 0 0 16px; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(2.55rem, 5.7vw, 5.15rem); line-height: .99; letter-spacing: -.055em; font-weight: 850; max-width: 920px; }
.hero h1 span { color: var(--brand-dark); }
.hero-lead { max-width: 660px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-soft); margin: 26px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-showcase { position: relative; min-height: 450px; display: grid; place-items: center; animation: heroEnter .8s .12s cubic-bezier(.2,.75,.25,1) both; }
.showcase-core { width: 210px; height: 210px; border-radius: 50%; background: linear-gradient(145deg, var(--night), #26372e); color: #fff; display: grid; place-items: center; align-content: center; box-shadow: 0 35px 70px rgba(16,25,21,.22); position: relative; z-index: 2; }
.showcase-core::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: inherit; }
.showcase-a { font-size: 5.2rem; line-height: .9; font-weight: 900; color: #dceab5; letter-spacing: -.08em; transform: translateX(-3px); }
.showcase-core small { margin-top: 12px; letter-spacing: .24em; font-size: .68rem; color: #d3ddd7; }
.showcase-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(88,115,26,.22); z-index: 1; }
.ring-one { width: 310px; height: 310px; animation: slowSpin 22s linear infinite; border-style: dashed; }
.ring-two { width: 385px; height: 385px; border-color: rgba(88,115,26,.12); animation: slowSpin 30s linear infinite reverse; }
.fact-card { position: absolute; z-index: 3; max-width: 230px; padding: 15px 17px; border-radius: 17px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); animation: floatCard 5.2s ease-in-out infinite; }
.fact-card strong { display: block; color: var(--brand-dark); font-size: 1.08rem; line-height: 1.25; }
.fact-card span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .79rem; line-height: 1.4; }
.fact-one { left: -2%; top: 42px; animation-delay: -.8s; }
.fact-two { right: -6%; top: 205px; animation-delay: -2.2s; }
.fact-three { left: 2%; bottom: 18px; animation-delay: -3.4s; }

.trust-strip { position: relative; z-index: 5; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--night); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 26px 32px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: #dceab5; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.015em; }
.trust-item span { color: #d3ddd7; font-size: .9rem; margin-top: 3px; }

/* Main sections */
.section { padding: clamp(72px, 8vw, 108px) 0; position: relative; }
.section.alt { background: var(--surface-2); }
.section.dark { background: linear-gradient(145deg, var(--night), #14221b); color: #fff; overflow: hidden; }
.section.dark::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; right: -250px; top: -190px; border: 1px solid rgba(220,234,181,.09); box-shadow: 0 0 0 65px rgba(220,234,181,.025); }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: end; margin-bottom: 42px; }
.section-head-simple { grid-template-columns: 1fr; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.45rem); line-height: 1.07; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.03rem; max-width: 700px; }
.section.dark .section-head p { color: #cbd6cf; }
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1060px; }
.home-about p { margin: 0; font-size: 1.06rem; color: var(--ink-soft); }
.section-action { margin: 30px 0 0; }
.text-link { font-weight: 850; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.offer-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 310px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -95px; bottom: -95px; background: radial-gradient(circle, rgba(127,159,33,.14), transparent 68%); transition: transform .35s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cbd8cd; }
.service-card:hover::after { transform: scale(1.25); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-light); color: var(--brand-dark); font-weight: 900; font-size: 1.2rem; margin-bottom: 22px; }
.service-card h3 { font-size: 1.4rem; margin: 0 0 12px; }
.mini-list { margin: 0 0 24px; padding-left: 1.15rem; color: var(--ink-soft); }
.mini-list li { margin: .45rem 0; }

.promo-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-deep), #7e9e24 70%, #91ad37); color: #fff; border-radius: 32px; padding: clamp(36px,6vw,68px); display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 38px; box-shadow: var(--shadow); }
.promo-band::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -110px; top: -160px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.02); animation: haloPulse 7s ease-in-out infinite; }
.promo-band > * { position: relative; z-index: 2; }
.promo-band .eyebrow { color: #eff7dd; }
.promo-band h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 14px; }
.promo-band p { margin: 0; font-size: 1.08rem; color: #eef3e9; }
.promo-band .button { background: #fff; color: var(--brand-dark); border-color: #fff; justify-self: end; }
.promo-band .button:hover { background: var(--warm); color: var(--night); }

.cert-section { background: linear-gradient(180deg, #fff 0%, #fbfcfa 100%); }
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cert-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cad8cd; }
.cert-thumb { height: 235px; background: linear-gradient(145deg,#f2f6ef,#fff); display: grid; place-items: center; padding: 22px; overflow: hidden; }
.cert-thumb img { max-height: 195px; width: auto; object-fit: contain; transition: transform .35s ease; }
.cert-card:hover .cert-thumb img { transform: scale(1.035); }
.cert-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cert-card h3 { margin: 0 0 18px; font-size: 1.06rem; line-height: 1.45; }
.cert-card .button { align-self: flex-start; margin-top: auto; min-height: 40px; font-size: .9rem; }

.links-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; position: relative; z-index: 2; }
.quick-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.13); color: #fff; text-decoration: none; background: rgba(255,255,255,.035); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.quick-link:hover { color: #fff; border-color: rgba(220,234,181,.48); background: rgba(255,255,255,.075); transform: translateY(-2px); }
.quick-link span:last-child { color: #dceab5; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 54px; background: linear-gradient(135deg,#f5f8f4,#fff 60%,#f6f2e8); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(127,159,33,.14); border-radius: 50%; right: -130px; top: -180px; box-shadow: 0 0 0 52px rgba(127,159,33,.025); animation: haloPulse 8s ease-in-out infinite; }
.page-hero .container { position: relative; z-index: 2; animation: heroEnter .6s cubic-bezier(.2,.75,.25,1) both; }
.page-hero h1 { font-size: clamp(2.45rem,5vw,4.55rem); }
.page-hero .lead { max-width: 780px; color: var(--ink-soft); font-size: 1.12rem; margin: 18px 0 0; }
.breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: .87rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb-separator { color: var(--brand); font-weight: 900; }
.content-wrap { padding: 62px 0 92px; }
.prose { max-width: 900px; }
.prose.wide { max-width: none; }
.prose h2 { margin: 42px 0 16px; font-size: clamp(1.55rem,2.7vw,2.25rem); letter-spacing: -.025em; line-height: 1.18; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 12px; font-size: 1.25rem; }
.prose p { margin: 0 0 1.15em; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .45rem 0; }
.prose strong { color: var(--ink); }
.callout { background: var(--surface-2); border-left: 4px solid var(--brand); padding: 24px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.callout strong { color: var(--brand-dark); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow-soft); }
.info-card h2, .info-card h3 { margin-top: 0; }
.check-list { list-style: none; padding: 0!important; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin: .82rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark); font-size: .75rem; font-weight: 900; }
.price-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0 34px; background: #fff; box-shadow: 0 7px 24px rgba(20,40,30,.035); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.price-table th { background: var(--night); color: #fff; text-align: left; padding: 16px 18px; font-size: .92rem; letter-spacing: .02em; }
.price-table td { padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { width: 140px; text-align: right; font-weight: 850; color: var(--brand-dark); white-space: nowrap; }
.price-table tr:hover td { background: #fafcf9; }
.legal-note { font-size: .92rem; color: var(--ink-soft); }
.legal-note strong { color: #a5372a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.contact-card.primary { background: linear-gradient(145deg,var(--night),#19281f); color: #fff; border-color: var(--night); }
.contact-card.primary a { color: #dceab5; }
.contact-card h2 { margin-top: 0; font-size: 1.65rem; }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(120,140,130,.18); }
.contact-row:last-child { border-bottom: 0; }
.contact-row dt { color: var(--ink-soft); font-weight: 700; }
.contact-card.primary .contact-row dt { color: #aebcb3; }
.contact-row dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.whistle-card { padding: clamp(34px,6vw,70px); border-radius: 32px; background: linear-gradient(140deg,var(--night),#1b2b22); color: #fff; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.whistle-card::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -130px; top: -140px; border: 1px solid rgba(220,234,181,.12); box-shadow: 0 0 0 45px rgba(220,234,181,.025); }
.whistle-card > * { position: relative; z-index: 2; }
.whistle-card h2 { font-size: clamp(2rem,4vw,3.4rem); line-height: 1.1; margin: 0 0 18px; }
.whistle-card p { color: #cbd6cf; max-width: 720px; margin: 0 auto 28px; }
.facebook-card { max-width: 780px; margin: 0 auto; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); padding: clamp(30px,6vw,58px); display: flex; align-items: center; gap: 28px; }
.facebook-card h2 { margin: 0 0 18px; font-size: clamp(1.8rem,3vw,2.6rem); }
.facebook-mark { flex: 0 0 auto; width: 100px; height: 100px; border-radius: 26px; display: grid; place-items: end center; overflow: hidden; background: #1877f2; color: #fff; font: 900 92px/1 Arial,sans-serif; padding-bottom: 0; box-shadow: 0 16px 35px rgba(24,119,242,.2); }

/* Footer */
.site-footer { background: #0d1511; color: #fff; padding: 64px 0 22px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -220px; bottom: -210px; border: 1px solid rgba(220,234,181,.07); box-shadow: 0 0 0 60px rgba(220,234,181,.018); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .8fr .8fr; gap: 42px; position: relative; z-index: 2; }
.footer-logo { width: 220px; filter: brightness(0) invert(1); opacity: .96; margin-bottom: 18px; }
.site-footer h2 { font-size: 1rem; margin: 0 0 16px; color: #dceab5; }
.site-footer p { margin: .3rem 0; }
.site-footer a { color: #fff; }
.site-footer .muted { color: #9eada5; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .55rem 0; }
.footer-panel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: .62rem .92rem; border: 1px solid rgba(220,234,181,.24); border-radius: 999px; text-decoration: none; color: #dceab5!important; font-weight: 800; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.footer-panel-link:hover { background: rgba(220,234,181,.08); border-color: rgba(220,234,181,.45); transform: translateY(-1px); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #9eada5; font-size: .88rem; position: relative; z-index: 2; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #bac7bf; }

/* Fixed controls */
.accessibility-toolbar { position: fixed; z-index: 90; right: 16px; top: 44%; display: flex; flex-direction: column; gap: 5px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px; border-radius: 14px; }
.accessibility-toolbar button { width: 38px; height: 36px; border: 0; background: #fff; color: var(--ink); border-radius: 9px; cursor: pointer; font-weight: 800; transition: background .18s ease, transform .18s ease; }
.accessibility-toolbar button:hover { background: var(--surface-2); transform: translateX(-1px); }
.back-to-top { position: fixed; z-index: 95; right: 18px; bottom: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--night); color: #fff; box-shadow: 0 14px 34px rgba(12,23,17,.22); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.94); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .22s ease; }
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--brand-dark); transform: translateY(-2px) scale(1.02); }
.cookie-banner { position: fixed; z-index: 120; left: 20px; right: 20px; bottom: 20px; margin: auto; max-width: 900px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 80px rgba(0,0,0,.22); padding: 20px 22px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-actions .button { min-height: 40px; padding: .55rem .9rem; font-size: .86rem; }

/* Reveal / accessibility */
.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.2,.75,.25,1) var(--reveal-delay,0ms), transform .65s cubic-bezier(.2,.75,.25,1) var(--reveal-delay,0ms); }
.reveal-ready.revealed { opacity: 1; transform: none; }
body.underline-links a { text-decoration: underline!important; }
body.high-contrast { --ink:#000; --ink-soft:#202020; --surface:#fff; --surface-2:#fff; --surface-3:#fff; --line:#000; --brand:#000; --brand-dark:#000; --brand-deep:#000; --brand-light:#ffe600; --night:#000; --night-2:#000; --warm:#fff; }
body.high-contrast .hero, body.high-contrast .page-hero { background:#fff; }
body.high-contrast .service-card, body.high-contrast .cert-card, body.high-contrast .contact-card, body.high-contrast .info-card { border:2px solid #000; }
body.high-contrast .button, body.high-contrast .client-panel-btn { border:2px solid #000; background:#000; color:#fff; }
body.high-contrast .showcase-core { background:#000; }
body.high-contrast .fact-card { border:2px solid #000; }

@keyframes heroEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes haloPulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.035); opacity: 1; } }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(12px,-14px); } }
@keyframes slowSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .main-nav a { font-size: .84rem; padding: .58rem .46rem; }
  .client-panel-btn { padding-inline: .95rem; }
  .brand img { width: 205px; }
  .hero-grid { grid-template-columns: 1fr 430px; gap: 44px; }
  .fact-one { left: 0; }
  .fact-two { right: 0; }
}

@media (max-width: 930px) {
  .topbar-name { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-inner { min-height: 76px; display: grid; grid-template-columns: 46px 1fr 46px; gap: 10px; }
  .nav-wrap.scrolled .nav-inner { min-height: 70px; }
  .brand { grid-column: 2; justify-self: center; }
  .brand img, .nav-wrap.scrolled .brand img { width: 202px; }
  .menu-toggle { display: block; grid-column: 3; justify-self: end; }
  .client-panel-btn { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100vh - 116px); overflow-y: auto; background: rgba(255,255,255,.99); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 10px; flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav.open { display: flex; animation: menuIn .2s ease both; }
  .main-nav a { padding: .82rem .9rem; font-size: .96rem; }
  .mobile-panel-link { display: flex!important; justify-content: center; margin-top: 7px; background: linear-gradient(135deg, #6d8b1d, #91ad37)!important; color: #fff!important; border-radius: 14px!important; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { text-align: center; }
  .hero h1 { margin-inline: auto; max-width: 760px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-showcase { min-height: 390px; width: min(560px,100%); margin-inline: auto; }
  .fact-one { left: 4%; top: 24px; }
  .fact-two { right: 3%; top: 185px; }
  .fact-three { left: 6%; bottom: 8px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: center; }
  .trust-item:last-child { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .home-about, .offer-preview-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .promo-band { grid-template-columns: 1fr; text-align: left; }
  .promo-band .button { justify-self: start; }
  .two-col, .price-intro, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

@keyframes menuIn { from { opacity:0; transform: translateY(-8px) scale(.985); } to { opacity:1; transform:none; } }

@media (max-width: 640px) {
  .container { width: min(100% - 28px,1180px); }
  .topbar-inner { min-height: 36px; }
  .topbar-links { width: 100%; justify-content: center; gap: 14px; font-size: .76rem; flex-wrap: wrap; }
  .nav-inner { min-height: 72px; grid-template-columns: 42px 1fr 42px; }
  .nav-wrap.scrolled .nav-inner { min-height: 66px; }
  .brand img, .nav-wrap.scrolled .brand img { width: 176px; }
  .menu-toggle { width: 42px; height: 42px; border-radius: 12px; }
  .main-nav { top: calc(100% + 6px); border-radius: 17px; padding: 8px; }
  .main-nav a { padding: .78rem .82rem; }
  .hero { padding: 50px 0 68px; }
  .hero::before { width: 430px; height: 430px; right: -250px; top: -220px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); line-height: 1.01; letter-spacing: -.052em; }
  .hero-lead { font-size: 1.08rem; margin-top: 20px; }
  .hero-actions { gap: 9px; margin-top: 25px; }
  .hero-actions .button { flex: 1 1 calc(50% - 5px); min-width: 135px; }
  .hero-actions .button-panel { flex-basis: 100%; }
  .hero-showcase { min-height: 330px; margin-top: 2px; transform: scale(.96); transform-origin: center; }
  .showcase-core { width: 160px; height: 160px; }
  .showcase-a { font-size: 4rem; }
  .ring-one { width: 245px; height: 245px; }
  .ring-two { width: 295px; height: 295px; }
  .fact-card { max-width: 168px; padding: 11px 12px; border-radius: 14px; }
  .fact-card strong { font-size: .9rem; }
  .fact-card span { font-size: .7rem; }
  .fact-one { left: 0; top: 16px; }
  .fact-two { right: 0; top: 154px; }
  .fact-three { left: 2px; bottom: 2px; }
  .trust-strip { margin-top: -24px; }
  .trust-item { padding: 20px 22px; }
  .trust-item strong { font-size: 1rem; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .home-about p { font-size: 1rem; }
  .service-card { min-height: 0; padding: 25px 22px; }
  .promo-band { border-radius: 24px; padding: 34px 24px; text-align: center; }
  .promo-band .eyebrow { text-align: center; }
  .promo-band h2 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .promo-band .button { justify-self: stretch; width: 100%; }
  .cert-grid, .links-grid { grid-template-columns: 1fr; }
  .cert-thumb { height: 210px; }
  .quick-link { min-height: 60px; }
  .page-hero { padding: 44px 0 36px; text-align: center; }
  .breadcrumb { justify-content: center; font-size: .79rem; margin-bottom: 13px; }
  .page-hero .eyebrow { text-align: center; }
  .page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.55rem); }
  .page-hero .lead { font-size: 1rem; margin-inline: auto; }
  .content-wrap { padding: 42px 0 66px; }
  .prose h2 { margin-top: 34px; }
  .info-card, .contact-card { padding: 24px 20px; border-radius: 20px; }
  .contact-row { grid-template-columns: 1fr; gap: 3px; padding: 12px 0; }
  .price-table-wrap { border-radius: 18px; margin: 18px 0 28px; }
  .price-table { min-width: 560px; font-size: .91rem; }
  .facebook-card { flex-direction: column; text-align: center; padding: 32px 22px; border-radius: 22px; }
  .facebook-mark { width: 86px; height: 86px; border-radius: 22px; font-size: 80px; }
  .whistle-card { border-radius: 24px; }

  /* Mobile footer – centered and compact */
  .site-footer { padding: 52px 0 20px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand-block, .footer-block { padding: 0 4px 28px; }
  .footer-block { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); }
  .footer-logo { display: block; width: 205px; margin: 0 auto 18px; }
  .footer-panel-link { justify-content: center; }
  .site-footer h2 { margin-bottom: 12px; }
  .footer-links li { margin: .48rem 0; }
  .footer-bottom { margin-top: 4px; padding-top: 18px; flex-direction: column; align-items: center; gap: 9px; }

  .accessibility-toolbar { top: auto; bottom: 14px; right: 14px; flex-direction: row; padding: 5px; border-radius: 13px; }
  .accessibility-toolbar button { width: 34px; height: 34px; }
  .back-to-top { right: 14px; bottom: 66px; width: 44px; height: 44px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 116px; flex-direction: column; align-items: stretch; padding: 17px; border-radius: 17px; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .button { flex: 1 1 140px; }
}

@media (max-width: 390px) {
  .topbar-links { font-size: .7rem; gap: 10px; }
  .brand img, .nav-wrap.scrolled .brand img { width: 164px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-showcase { transform: scale(.9); margin-inline: -14px; width: calc(100% + 28px); }
  .hero-actions .button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
  .reveal-ready { opacity: 1!important; transform: none!important; }
}

/* v3 — hero z właściwym logo + dopracowanie mobilne */
.showcase-logo-card {
  width: 300px;
  min-height: 184px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,251,244,.91));
  border: 1px solid rgba(88,115,26,.16);
  box-shadow: 0 34px 80px rgba(16,25,21,.18), inset 0 1px 0 rgba(255,255,255,.9);
  display: grid;
  place-items: center;
  padding: 38px 30px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: logoFloat 6.3s ease-in-out infinite;
}
.showcase-logo-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -72px;
  top: -82px;
  background: radial-gradient(circle, rgba(134,167,42,.22), rgba(134,167,42,0) 68%);
}
.showcase-logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.68) 48%, transparent 66%);
  transform: translateX(-130%);
  animation: logoShine 6.8s ease-in-out infinite 1.2s;
  pointer-events: none;
}
.showcase-logo-card img { width: 242px; position: relative; z-index: 2; filter: drop-shadow(0 7px 14px rgba(60,80,18,.08)); }
.logo-glow { position:absolute; inset:22px; border-radius:24px; border:1px solid rgba(134,167,42,.1); pointer-events:none; }
.hero-showcase::after { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:#c6dd75; box-shadow:0 0 0 7px rgba(198,221,117,.13); top:16%; right:17%; z-index:4; animation: orbitDot 4.8s ease-in-out infinite; }
.service-card, .cert-card, .quick-link { transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease; }
.service-card:hover, .cert-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(18,40,27,.12); border-color: rgba(134,167,42,.28); }
.quick-link:hover { transform: translateY(-3px); }
.footer-bottom-links { display:flex; gap:18px; align-items:center; }
.admin-link { opacity:.55; font-size:.8rem; text-decoration:none; }
.admin-link:hover { opacity:1; }
@keyframes logoFloat { 0%,100%{transform:translateY(0) rotate(-.25deg)} 50%{transform:translateY(-8px) rotate(.25deg)} }
@keyframes logoShine { 0%,68%{transform:translateX(-135%);opacity:0} 78%{opacity:1} 94%,100%{transform:translateX(135%);opacity:0} }
@keyframes orbitDot { 0%,100%{transform:translate(0,0);opacity:.75} 50%{transform:translate(-9px,12px);opacity:1} }

@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.35rem, 11.2vw, 3.65rem); }
  .hero-showcase { min-height: 0; width:100%; margin: 16px auto 0; transform:none; display:flex; flex-direction:column; gap:10px; align-items:stretch; }
  .showcase-logo-card { width:min(100%, 320px); min-height:150px; margin:0 auto 12px; padding:30px 25px; border-radius:28px; }
  .showcase-logo-card img { width:min(235px, 88%); }
  .showcase-ring { display:none; }
  .hero-showcase::after { top:7px; right:calc(50% - 148px); }
  .fact-card, .fact-one, .fact-two, .fact-three { position:relative; inset:auto; max-width:none; width:100%; animation:none; display:grid; grid-template-columns:125px 1fr; align-items:center; gap:10px; padding:13px 15px; text-align:left; }
  .fact-card strong { font-size:.88rem; }
  .fact-card span { margin-top:0; font-size:.73rem; }
  .trust-strip { margin-top:-12px; }
  .footer-bottom-links { flex-direction:column; gap:6px; }
}

@media (max-width: 390px) {
  .hero-showcase { margin-inline:0; width:100%; transform:none; }
  .showcase-logo-card { min-height:138px; padding:26px 20px; }
  .fact-card, .fact-one, .fact-two, .fact-three { grid-template-columns:110px 1fr; }
}

/* =========================================================
   AEGERIA v4 — premium homepage
   Treści pozostają z CMS / oryginalnej strony. Zmieniona jest
   wyłącznie prezentacja strony głównej i dopracowanie mobilne.
   ========================================================= */

.hero-v4 {
  min-height: auto;
  padding: clamp(70px, 8vw, 112px) 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(150, 184, 48, .15), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(115, 143, 31, .10), transparent 25%),
    linear-gradient(135deg, #0d1712 0%, #122019 54%, #19291f 100%);
  color: #fff;
  isolation: isolate;
}
.hero-v4::before,
.hero-v4::after { content: none; }
.hero-v4 .hero-v4-gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
}
.hero-v4-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.hero-v4-glow-one {
  width: 520px;
  height: 520px;
  right: -210px;
  top: -220px;
  border: 1px solid rgba(205, 228, 126, .13);
  box-shadow: 0 0 0 72px rgba(195, 222, 102, .025), 0 0 0 145px rgba(195, 222, 102, .015);
  animation: v4Halo 9s ease-in-out infinite;
}
.hero-v4-glow-two {
  width: 340px;
  height: 340px;
  left: -230px;
  bottom: 90px;
  background: radial-gradient(circle, rgba(141, 174, 45, .13), transparent 70%);
  animation: v4Drift 10s ease-in-out infinite;
}
.hero-v4-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  padding-bottom: clamp(62px, 8vw, 96px);
}
.hero-v4-copy {
  position: relative;
  z-index: 3;
  animation: v4HeroIn .72s cubic-bezier(.2,.75,.25,1) both;
}
.hero-v4 .eyebrow { color: #cfe38a; }
.hero-v4 h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: .93;
  letter-spacing: -.064em;
  font-weight: 850;
}
.hero-v4 h1 span {
  display: inline-block;
  color: #b8d64d;
  text-shadow: 0 0 34px rgba(184, 214, 77, .12);
}
.hero-v4 .hero-lead {
  color: #bdc9c2;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  max-width: 560px;
  margin-top: 26px;
}
.hero-v4 .hero-actions { margin-top: 32px; align-items: center; }
.button-lime {
  background: linear-gradient(135deg, #a9c93f, #c6dd73);
  border-color: transparent;
  color: #16210e;
  box-shadow: 0 14px 34px rgba(150, 184, 48, .18);
}
.button-lime:hover { background: #d3e58e; color: #10170d; box-shadow: 0 16px 40px rgba(150, 184, 48, .26); }
.button-light-ghost {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  box-shadow: none;
}
.button-light-ghost:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.hero-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: .7rem .2rem .7rem .65rem;
  color: #dfe9e3;
  text-decoration: none;
  font-weight: 800;
  transition: color .2s ease, transform .2s ease;
}
.hero-panel-link:hover { color: #cfe38a; transform: translateX(2px); }
.hero-panel-lock {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(207,227,138,.22);
  background: rgba(207,227,138,.07);
}
.hero-panel-lock svg { width: 18px; height: 18px; }

.hero-v4-visual {
  min-height: 440px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
  animation: v4HeroIn .8s .08s cubic-bezier(.2,.75,.25,1) both;
}
.hero-logo-stage {
  --rx: 0deg;
  --ry: 0deg;
  --tx: 0px;
  --ty: 0px;
  width: min(100%, 470px);
  min-height: 285px;
  padding: 52px 48px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(216, 235, 158, .18);
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)),
    rgba(255,255,255,.025);
  backdrop-filter: blur(14px);
  box-shadow: 0 36px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translate3d(var(--tx), var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .22s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-logo-stage::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 218, 91, .15), transparent 68%);
  right: -100px;
  top: -120px;
}
.hero-logo-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px;
  pointer-events: none;
}
.hero-logo-stage:hover {
  border-color: rgba(207,227,138,.34);
  box-shadow: 0 42px 110px rgba(0,0,0,.32), 0 0 60px rgba(151,184,48,.06), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-logo-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 365px);
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.18));
  animation: v4LogoFloat 7s ease-in-out infinite;
}
.hero-logo-sheen {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.13) 49%, transparent 63%);
  transform: translateX(-135%);
  animation: v4Sheen 7.5s ease-in-out infinite 1.4s;
}
.hero-v4-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-a {
  width: 410px;
  height: 410px;
  border: 1px dashed rgba(195,222,102,.17);
  animation: slowSpin 30s linear infinite;
}
.orbit-b {
  width: 515px;
  height: 515px;
  border: 1px solid rgba(255,255,255,.055);
  animation: slowSpin 42s linear infinite reverse;
}
.hero-v4-dot {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7df73;
  box-shadow: 0 0 0 8px rgba(199,223,115,.08), 0 0 24px rgba(199,223,115,.28);
}
.dot-a { right: 6%; top: 18%; animation: v4Dot 5s ease-in-out infinite; }
.dot-b { left: 8%; bottom: 17%; width: 6px; height: 6px; opacity: .72; animation: v4Dot 6.5s ease-in-out infinite reverse; }

.hero-v4-facts {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.11);
}
.hero-v4-fact {
  min-height: 142px;
  padding: 26px clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.11);
  position: relative;
  overflow: hidden;
}
.hero-v4-fact:first-child { padding-left: 0; }
.hero-v4-fact:last-child { border-right: 0; }
.hero-v4-fact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184,214,77,.6), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.hero-v4-fact:hover::after { transform: scaleX(1); }
.hero-v4-fact strong {
  display: block;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero-v4-fact span { display: block; margin-top: 8px; color: #9fb0a6; font-size: .88rem; max-width: 330px; }

/* Homepage section rhythm */
.about-v4 { background: #fff; }
.about-v4-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}
.section-head-v4 .eyebrow { margin-bottom: 14px; }
.section-head-v4 h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.35rem, 4.5vw, 4.6rem);
  line-height: 1.01;
  letter-spacing: -.052em;
}
.section-head-v4-row { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 44px; }
.section-head-v4-row h2 { font-size: clamp(2.35rem, 4vw, 4rem); }
.text-link-large { margin-top: 28px; font-size: 1rem; }
.about-v4-copy {
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 4vw, 52px);
}
.about-v4-copy p { margin: 0 0 1.3em; }
.about-v4-copy p:last-child { margin-bottom: 0; }

.offer-v4 { background: #f3f6f2; overflow: hidden; }
.offer-v4::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -250px;
  top: -250px;
  border-radius: 50%;
  border: 1px solid rgba(134,167,42,.12);
  box-shadow: 0 0 0 62px rgba(134,167,42,.02);
}
.offer-v4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.offer-v4-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  border: 1px solid #d8e3dc;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
  box-shadow: 0 14px 42px rgba(20,40,30,.055);
  transition: transform .32s cubic-bezier(.2,.75,.25,1), box-shadow .32s ease, border-color .32s ease;
}
.offer-v4-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(20,40,30,.11); border-color: rgba(134,167,42,.28); }
.offer-v4-card-accent {
  background: linear-gradient(145deg, #16231c, #203329);
  color: #fff;
  border-color: #203329;
  box-shadow: 0 24px 64px rgba(16,25,21,.16);
}
.offer-v4-card-accent::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  border: 1px solid rgba(207,227,138,.12);
  box-shadow: 0 0 0 42px rgba(207,227,138,.025);
}
.offer-v4-index { color: #93ad40; font-weight: 900; font-size: .78rem; letter-spacing: .14em; }
.offer-v4-content { align-self: center; position: relative; z-index: 2; }
.offer-v4-content h3 { margin: 0 0 22px; font-size: clamp(1.75rem, 2.7vw, 2.55rem); line-height: 1.05; letter-spacing: -.035em; }
.offer-v4-card .mini-list { margin: 0; }
.offer-v4-card-accent .mini-list { color: #bac8c0; }
.offer-v4-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: #fff;
  font-size: 1.2rem;
  position: relative;
  z-index: 3;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.offer-v4-card-accent .offer-v4-arrow { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #cfe38a; }
.offer-v4-card:hover .offer-v4-arrow { transform: rotate(45deg); background: #b8d64d; color: #122018; border-color: #b8d64d; }

.promo-v4-wrap { background: #fff; }
.promo-v4 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 32px;
  background: linear-gradient(130deg, #e9f1d1 0%, #f8faef 50%, #eef4d9 100%);
  border: 1px solid #d7e4b3;
  box-shadow: 0 22px 60px rgba(86,110,26,.08);
}
.promo-v4::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  border: 1px solid rgba(86,110,26,.12);
  box-shadow: 0 0 0 48px rgba(86,110,26,.025);
  animation: v4Halo 8s ease-in-out infinite;
}
.promo-v4-mark {
  width: clamp(86px, 9vw, 118px);
  height: clamp(86px, 9vw, 118px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #17251d;
  color: #cbe375;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(17,30,22,.17);
  position: relative;
  z-index: 2;
}
.promo-v4-copy { position: relative; z-index: 2; }
.promo-v4-copy h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.6vw, 3.45rem); line-height: 1.05; letter-spacing: -.043em; }
.promo-v4-copy p { margin: 0; color: #52614d; font-size: 1.04rem; }
.promo-v4 .button { position: relative; z-index: 2; white-space: nowrap; }

.cert-v4 { background: #fbfcfa; }
.cert-v4-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-v4-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .32s cubic-bezier(.2,.75,.25,1), box-shadow .32s ease, border-color .32s ease;
}
.cert-v4-card:hover { transform: translateY(-7px); border-color: rgba(134,167,42,.28); box-shadow: 0 25px 64px rgba(18,40,27,.11); }
.cert-v4-thumb {
  min-height: 292px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(circle at 80% 15%, rgba(173,202,84,.10), transparent 24%),
    linear-gradient(145deg,#f2f5ef,#fff);
}
.cert-v4-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.68) 50%, transparent 62%);
  transform: translateX(-135%);
  transition: transform .75s ease;
}
.cert-v4-card:hover .cert-v4-thumb::after { transform: translateX(135%); }
.cert-v4-thumb img { max-height: 235px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(30,50,38,.08)); transition: transform .35s ease; }
.cert-v4-card:hover .cert-v4-thumb img { transform: scale(1.025); }
.cert-v4-number {
  position: absolute;
  left: 24px;
  top: 20px;
  color: #80952e;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.cert-v4-body { padding: 24px 26px 28px; }
.cert-v4-body h3 { margin: 0 0 20px; font-size: 1.02rem; line-height: 1.48; }

.links-v4 { padding-top: clamp(72px, 8vw, 100px); }
.section-head-v4-light h2 { color: #fff; }
.section-head-v4-light .eyebrow { color: #cfe38a; }
.links-grid-v4 .quick-link { min-height: 72px; padding: 18px 20px; border-radius: 16px; }

/* Header/footer refinements */
.nav-wrap { box-shadow: 0 1px 0 rgba(18,32,25,.04); }
.client-panel-btn { background: linear-gradient(135deg, #69871f, #93af36); }
.site-footer { background: #0a120e; }
.footer-logo { filter: none; width: 230px; }
.footer-grid { gap: 48px; }
.footer-panel-link { background: rgba(201,224,118,.065); }
.back-to-top { background: #809e28; }
.back-to-top:hover { background: #657e20; }

@keyframes v4HeroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes v4LogoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes v4Sheen {
  0%,68% { transform: translateX(-135%); opacity: 0; }
  77% { opacity: 1; }
  92%,100% { transform: translateX(135%); opacity: 0; }
}
@keyframes v4Halo {
  0%,100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.045); opacity: 1; }
}
@keyframes v4Drift {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(18px,-16px); }
}
@keyframes v4Dot {
  0%,100% { transform: translate(0,0); opacity: .7; }
  50% { transform: translate(-10px,12px); opacity: 1; }
}

@media (max-width: 1080px) {
  .hero-v4-grid { grid-template-columns: 1fr 390px; gap: 46px; }
  .hero-logo-stage { min-height: 245px; padding: 42px 34px; }
  .hero-logo-stage img { width: min(100%, 320px); }
  .hero-v4-orbit.orbit-b { width: 445px; height: 445px; }
  .hero-v4-orbit.orbit-a { width: 350px; height: 350px; }
}

@media (max-width: 930px) {
  .hero-v4 { padding-top: 58px; }
  .hero-v4-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 50px; }
  .hero-v4-copy { text-align: center; }
  .hero-v4 h1 { max-width: 820px; margin-inline: auto; font-size: clamp(3rem, 10vw, 5.7rem); }
  .hero-v4 .hero-lead { margin-inline: auto; }
  .hero-v4 .hero-actions { justify-content: center; }
  .hero-v4-visual { min-height: 330px; }
  .hero-logo-stage { width: min(100%, 500px); min-height: 230px; }
  .hero-v4-facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero-v4-fact:first-child { padding-left: 22px; }
  .about-v4-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-v4-copy { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 30px; }
  .offer-v4-grid { grid-template-columns: 1fr; }
  .offer-v4-card { min-height: 310px; }
  .promo-v4 { grid-template-columns: auto 1fr; }
  .promo-v4 .button { grid-column: 2; justify-self: start; }
  .cert-v4-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { min-height: 36px; }
  .topbar-links { width: 100%; justify-content: center; gap: 12px; font-size: .78rem; }
  .nav-inner { min-height: 74px; }
  .brand img, .nav-wrap.scrolled .brand img { width: 190px; }

  .hero-v4 { padding-top: 38px; }
  .hero-v4-grid { gap: 26px; padding-bottom: 34px; }
  .hero-v4 .eyebrow { font-size: .7rem; margin-bottom: 13px; }
  .hero-v4 h1 { font-size: clamp(2.55rem, 12.5vw, 4rem); line-height: .96; letter-spacing: -.055em; }
  .hero-v4 .hero-lead { font-size: 1rem; margin-top: 18px; }
  .hero-v4 .hero-actions { margin-top: 24px; gap: 9px; }
  .hero-v4 .hero-actions .button { flex: 1 1 135px; }
  .hero-panel-link { flex-basis: 100%; justify-content: center; padding-top: .35rem; }

  .hero-v4-visual { min-height: 232px; }
  .hero-logo-stage { width: min(100%, 350px); min-height: 170px; padding: 34px 26px; border-radius: 28px; }
  .hero-logo-stage img { width: min(100%, 274px); }
  .hero-logo-stage::after { inset: 13px; border-radius: 21px; }
  .hero-v4-orbit.orbit-a { width: 245px; height: 245px; }
  .hero-v4-orbit.orbit-b { width: 310px; height: 310px; }
  .dot-a { right: 2%; top: 11%; }
  .dot-b { left: 3%; bottom: 9%; }

  .hero-v4-facts { grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.11); padding-bottom: 12px; }
  .hero-v4-fact,
  .hero-v4-fact:first-child {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    text-align: center;
    align-items: center;
  }
  .hero-v4-fact:last-child { border-bottom: 0; }
  .hero-v4-fact strong { font-size: 1.28rem; }
  .hero-v4-fact span { margin-top: 6px; font-size: .8rem; }

  .section { padding: 66px 0; }
  .section-head-v4 h2,
  .section-head-v4-row h2 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .section-head-v4-row { display: block; margin-bottom: 30px; }
  .section-head-v4-row > .text-link { margin-top: 18px; }
  .text-link-large { margin-top: 20px; }
  .about-v4-grid { gap: 25px; }
  .about-v4-copy { font-size: 1rem; padding-top: 24px; }

  .offer-v4-grid { gap: 14px; }
  .offer-v4-card { min-height: 0; padding: 26px 22px; border-radius: 24px; grid-template-columns: 1fr auto; gap: 18px; }
  .offer-v4-index { grid-column: 1; }
  .offer-v4-content { grid-column: 1 / -1; }
  .offer-v4-content h3 { font-size: 1.75rem; }
  .offer-v4-arrow { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }

  .promo-v4 { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; border-radius: 25px; text-align: center; }
  .promo-v4-mark { width: 78px; height: 78px; margin-inline: auto; }
  .promo-v4-copy h2 { font-size: clamp(1.8rem, 9vw, 2.65rem); }
  .promo-v4 .button { grid-column: 1; justify-self: stretch; }

  .cert-v4-grid { grid-template-columns: 1fr; gap: 14px; }
  .cert-v4-card { border-radius: 22px; }
  .cert-v4-thumb { min-height: 230px; padding: 24px; }
  .cert-v4-thumb img { max-height: 190px; }
  .cert-v4-body { padding: 21px 22px 24px; }

  .links-grid-v4 { grid-template-columns: 1fr; }
  .links-grid-v4 .quick-link { min-height: 62px; padding: 15px 16px; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-logo { width: min(230px, 78%); margin-inline: auto; }
  .footer-panel-link { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { align-items: center; }
}

@media (max-width: 390px) {
  .brand img, .nav-wrap.scrolled .brand img { width: 168px; }
  .hero-v4 h1 { font-size: 2.65rem; }
  .hero-logo-stage { min-height: 154px; padding: 28px 20px; }
  .hero-logo-stage img { width: 245px; }
  .hero-v4-orbit.orbit-a { width: 225px; height: 225px; }
  .hero-v4-orbit.orbit-b { width: 285px; height: 285px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-stage { transform: none!important; }
}

@media (max-width: 640px) {
  .about-v4 .section-head-v4 h2 {
    font-size: clamp(1.95rem, 9.8vw, 2.85rem);
    overflow-wrap: anywhere;
  }
}

/* v4 — kompaktowy WCAG na telefonie */
.a11y-toggle { display: none; }
.a11y-tools { display: flex; flex-direction: column; gap: 5px; }

@media (max-width: 640px) {
  .accessibility-toolbar {
    top: auto;
    right: 14px;
    bottom: 14px;
    transform: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .accessibility-toolbar .a11y-toggle {
    display: inline-flex;
    width: auto;
    min-width: 58px;
    height: 42px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19,32,26,.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(10,22,15,.16);
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--ink);
  }
  .a11y-tools {
    position: absolute;
    right: 0;
    bottom: 50px;
    display: none;
    flex-direction: row;
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    white-space: nowrap;
  }
  .accessibility-toolbar.open .a11y-tools { display: flex; }
  .accessibility-toolbar .a11y-tools button { width: 34px; height: 34px; }
  .back-to-top { right: 14px; bottom: 66px; }
}

/* =========================================================
   AEGERIA v4.1 — subtelna nawigacja premium
   ========================================================= */
@media (min-width: 931px) {
  .nav-wrap {
    background: rgba(255,255,255,.92);
    border-bottom-color: rgba(19,32,26,.065);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
  }
  .nav-wrap.scrolled {
    background: rgba(255,255,255,.975);
    box-shadow: 0 12px 34px rgba(15,27,20,.065);
  }
  .nav-inner { min-height: 78px; gap: 26px; }
  .nav-wrap.scrolled .nav-inner { min-height: 68px; }
  .brand img { width: 214px; }
  .nav-wrap.scrolled .brand img { width: 198px; }

  .main-nav {
    margin-left: auto;
    gap: 2px;
    align-items: center;
  }
  .main-nav > a,
  .nav-more-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .62rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #26322c;
    font: inherit;
    font-size: .88rem;
    font-weight: 720;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
  }
  .main-nav > a:not(.mobile-panel-link)::after,
  .nav-more-toggle::after {
    content: "";
    position: absolute;
    left: .62rem;
    right: .62rem;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-dark), #a7bd55);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .24s cubic-bezier(.2,.75,.25,1);
  }
  .main-nav > a:hover,
  .main-nav > a.active,
  .nav-more:hover > .nav-more-toggle,
  .nav-more.active > .nav-more-toggle,
  .nav-more.open > .nav-more-toggle,
  .nav-more:focus-within > .nav-more-toggle {
    background: transparent;
    color: var(--brand-dark);
    transform: none;
  }
  .main-nav > a:hover::after,
  .main-nav > a.active::after,
  .nav-more:hover > .nav-more-toggle::after,
  .nav-more.active > .nav-more-toggle::after,
  .nav-more.open > .nav-more-toggle::after,
  .nav-more:focus-within > .nav-more-toggle::after {
    transform: scaleX(1);
  }
  .nav-home-mobile { display: none!important; }

  .nav-more { position: relative; display: flex; align-items: center; }
  .nav-more-toggle span {
    display: inline-block;
    margin-left: 5px;
    font-size: .92rem;
    transform: translateY(-1px);
    transition: transform .22s ease;
  }
  .nav-more.open > .nav-more-toggle span,
  .nav-more:hover > .nav-more-toggle span,
  .nav-more:focus-within > .nav-more-toggle span { transform: translateY(-1px) rotate(180deg); }

  .nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -8px;
    width: 230px;
    padding: 9px;
    border: 1px solid rgba(19,32,26,.09);
    border-radius: 17px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 22px 55px rgba(14,28,19,.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px) scale(.985);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 120;
  }
  .nav-more:hover .nav-more-menu,
  .nav-more:focus-within .nav-more-menu,
  .nav-more.open .nav-more-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-more-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .68rem .78rem;
    border-radius: 11px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 680;
    text-decoration: none;
    transition: background .16s ease, color .16s ease, padding-left .16s ease;
  }
  .nav-more-menu a:hover,
  .nav-more-menu a.active {
    background: #f4f7ee;
    color: var(--brand-dark);
    padding-left: .9rem;
  }
  .nav-more-separator {
    display: block;
    height: 1px;
    margin: 6px 5px;
    background: rgba(19,32,26,.08);
  }

  .client-panel-btn {
    min-height: 42px;
    padding: .62rem 1rem;
    font-size: .86rem;
    box-shadow: 0 8px 19px rgba(88,115,26,.16);
  }
  .client-panel-btn svg { width: 16px; height: 16px; }
}

@media (min-width: 931px) and (max-width: 1100px) {
  .nav-inner { gap: 15px; }
  .brand img { width: 190px; }
  .nav-wrap.scrolled .brand img { width: 182px; }
  .main-nav > a, .nav-more-toggle { font-size: .82rem; padding-inline: .46rem; }
  .main-nav > a:not(.mobile-panel-link)::after, .nav-more-toggle::after { left: .46rem; right: .46rem; }
  .client-panel-btn { padding-inline: .78rem; font-size: .8rem; }
}

@media (max-width: 930px) {
  .nav-home-mobile { display: flex!important; }
  .main-nav {
    padding: 12px;
    gap: 1px;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(13,27,18,.14);
  }
  .main-nav > a,
  .nav-more-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: .78rem .9rem;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .96rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .main-nav > a:hover,
  .main-nav > a.active,
  .nav-more-toggle:hover,
  .nav-more.active .nav-more-toggle {
    background: #f4f7ee;
    color: var(--brand-dark);
    transform: none;
  }
  .nav-more { width: 100%; }
  .nav-more-toggle { justify-content: space-between; }
  .nav-more-toggle span { transition: transform .2s ease; }
  .nav-more.open .nav-more-toggle span { transform: rotate(180deg); }
  .nav-more-menu {
    display: none;
    margin: 1px 0 7px 13px;
    padding: 3px 0 4px 12px;
    border-left: 1px solid rgba(88,115,26,.24);
  }
  .nav-more.open .nav-more-menu { display: block; animation: submenuIn .18s ease both; }
  .nav-more-menu a {
    display: flex;
    align-items: center;
    min-height: 41px;
    padding: .62rem .75rem;
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
  }
  .nav-more-menu a:hover,
  .nav-more-menu a.active { background: #f5f8f1; color: var(--brand-dark); }
  .nav-more-separator { display: block; height: 1px; margin: 4px 8px; background: rgba(19,32,26,.08); }
  .mobile-panel-link {
    min-height: 48px!important;
    margin-top: 8px!important;
    font-weight: 800!important;
    box-shadow: 0 9px 22px rgba(88,115,26,.16);
  }
}

@keyframes submenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   AEGERIA v4.2 — dopracowane menu i dropdown
   ========================================================= */
@media (min-width: 931px) {
  .main-nav {
    gap: 5px;
  }

  .main-nav > a,
  .nav-more-toggle {
    min-height: 48px;
    padding: .68rem .72rem;
    color: #24312b;
    font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: .89rem;
    font-weight: 610;
    letter-spacing: .012em;
  }

  .main-nav > a:not(.mobile-panel-link)::after,
  .nav-more-toggle::after {
    left: .72rem;
    right: .72rem;
    bottom: 7px;
    height: 1.5px;
  }

  .nav-more-toggle {
    gap: 8px;
  }

  .nav-more-label {
    display: inline-flex;
    align-items: center;
  }

  .nav-chevron {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(88,115,26,.14);
    border-radius: 50%;
    background: rgba(134,167,42,.055);
    transition: transform .22s ease, background .2s ease, border-color .2s ease;
  }

  .nav-chevron svg {
    width: 9px;
    height: 6px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nav-more:hover .nav-chevron,
  .nav-more:focus-within .nav-chevron,
  .nav-more.open .nav-chevron {
    background: rgba(134,167,42,.12);
    border-color: rgba(88,115,26,.24);
    transform: rotate(180deg);
  }

  /* Nad menu nie ma już martwej strefy kursora. */
  .nav-more-menu {
    top: calc(100% + 4px);
    right: -12px;
    width: 252px;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(14,28,19,.145);
  }

  .nav-more-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 12px;
  }

  .nav-more-menu::after {
    content: "";
    position: absolute;
    top: -5px;
    right: 29px;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.985);
    border-left: 1px solid rgba(19,32,26,.08);
    border-top: 1px solid rgba(19,32,26,.08);
    transform: rotate(45deg);
  }

  .nav-more-menu a {
    position: relative;
    z-index: 1;
    min-height: 46px;
    padding: .73rem .82rem;
    border-radius: 12px;
    font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: .9rem;
    font-weight: 570;
    letter-spacing: .006em;
  }

  .nav-more-menu a:hover,
  .nav-more-menu a.active {
    background: linear-gradient(90deg, #f3f7ed, #f8faf5);
    padding-left: .96rem;
  }

  .nav-more-separator {
    margin: 7px 7px;
  }

  .client-panel-btn {
    font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-weight: 650;
    letter-spacing: .008em;
  }
}

@media (min-width: 931px) and (max-width: 1100px) {
  .main-nav > a,
  .nav-more-toggle {
    font-size: .83rem;
    padding-inline: .48rem;
  }

  .main-nav > a:not(.mobile-panel-link)::after,
  .nav-more-toggle::after {
    left: .48rem;
    right: .48rem;
  }

  .nav-more-toggle { gap: 5px; }
  .nav-chevron { width: 18px; height: 18px; }
}

@media (max-width: 930px) {
  .main-nav > a,
  .nav-more-toggle,
  .nav-more-menu a {
    font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  }

  .main-nav > a,
  .nav-more-toggle {
    font-weight: 620;
    letter-spacing: .008em;
  }

  .nav-more-toggle {
    gap: 12px;
  }

  .nav-chevron {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    border: 1px solid rgba(88,115,26,.14);
    border-radius: 50%;
    background: rgba(134,167,42,.055);
    transition: transform .22s ease, background .2s ease;
  }

  .nav-chevron svg {
    width: 10px;
    height: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nav-more.open .nav-chevron {
    transform: rotate(180deg);
    background: rgba(134,167,42,.12);
  }

  .nav-more-menu {
    margin-left: 10px;
    padding-left: 10px;
  }

  .nav-more-menu a {
    min-height: 44px;
    font-weight: 560;
  }
}
@media (min-width: 931px) {
  .nav-more-toggle > span { margin-left: 0; font-size: inherit; transform: none; }
  .nav-more.open > .nav-more-toggle .nav-more-label,
  .nav-more:hover > .nav-more-toggle .nav-more-label,
  .nav-more:focus-within > .nav-more-toggle .nav-more-label { transform: none; }
}
@media (max-width: 930px) {
  .nav-more-toggle > span { transform: none; }
  .nav-more.open .nav-more-toggle .nav-more-label { transform: none; }
}

/* =========================================================
   AEGERIA v4.3 — topbar Facebook + subtelniejszy "Więcej"
   ========================================================= */
.topbar-links {
  gap: 14px;
}
.topbar-facebook {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  color: #fff!important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.topbar-facebook svg { width: 15px; height: 15px; display: block; }
.topbar-facebook:hover,
.topbar-facebook:focus-visible {
  color: #fff!important;
  background: rgba(127,159,33,.78);
  border-color: rgba(220,234,181,.48);
  transform: translateY(-1px);
}

@media (min-width: 931px) {
  .nav-more-toggle {
    gap: 6px;
    padding-inline: .82rem;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
  }
  .nav-more-toggle:hover,
  .nav-more.open > .nav-more-toggle,
  .nav-more:focus-within > .nav-more-toggle {
    background: rgba(127,159,33,.065);
  }
  .nav-more-toggle::after {
    display: none;
  }
  .nav-chevron {
    width: 13px;
    height: 13px;
    display: inline-grid;
    place-items: center;
    margin: 0 0 0 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #6f842e;
    transition: transform .22s ease, color .2s ease;
  }
  .nav-chevron svg {
    width: 11px;
    height: 7px;
    stroke-width: 1.7;
  }
  .nav-more:hover .nav-chevron,
  .nav-more:focus-within .nav-chevron,
  .nav-more.open .nav-chevron {
    background: transparent;
    border-color: transparent;
    color: var(--brand-dark);
    transform: rotate(180deg);
  }
  .nav-more-menu {
    top: calc(100% + 3px);
  }
}

@media (max-width: 930px) {
  .nav-more-toggle { border-radius: 12px; }
  .nav-chevron {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--brand-dark);
  }
  .nav-chevron svg { width: 11px; height: 7px; }
  .nav-more.open .nav-chevron { transform: rotate(180deg); }
}

@media (max-width: 640px) {
  .topbar-links { gap: 10px; }
  .topbar-facebook { width: 27px; height: 27px; flex-basis: 27px; }
  .topbar-facebook svg { width: 14px; height: 14px; }
}

/* v4.3 fix: animuje się tylko chevron, nigdy etykieta "Więcej". */
.nav-more-label,
.nav-more:hover .nav-more-label,
.nav-more:focus-within .nav-more-label,
.nav-more.open .nav-more-label {
  margin-left: 0!important;
  font-size: inherit!important;
  transform: none!important;
  transition: color .2s ease!important;
}
