:root {
  --bg: #f5f5f0;
  --paper: #ffffff;
  --ink: #13231d;
  --muted: #607069;
  --line: #dce3df;
  --green: #183e31;
  --green-2: #245b47;
  --accent: #d6b879;
  --accent-soft: #eee2c9;
  --dark: #10271f;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(19, 35, 29, .10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: #ecefe9; }
.section-dark { color: #fff; background: var(--dark); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 9999;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245,245,240,.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(19,35,29,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: var(--accent); font-family: Georgia, serif; font-size: 26px; font-weight: 700;
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: .02em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 27px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 650; transition: .2s ease; }
.main-nav a:hover { color: var(--green-2); }
.main-nav .nav-shop { padding: 10px 16px; border: 1px solid var(--green); border-radius: 999px; }
.main-nav .nav-shop:hover { color: #fff; background: var(--green); }

.language-picker { position: relative; }
.language-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 11px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; font-weight: 750;
}
.language-toggle img { border-radius: 2px; }
.language-menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 310px; max-height: min(70vh, 560px); overflow: auto;
  padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr; gap: 4px;
}
.language-menu:not([hidden]) { display: grid; }
.language-menu a {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 9px 8px;
  text-decoration: none; border-radius: 9px; font-size: 12px; color: #31443c;
}
.language-menu a:hover, .language-menu a.active { background: #eef2ef; color: var(--green); }
.language-menu img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.language-menu a > span:last-child { opacity: .55; font-size: 10px; font-weight: 800; }
.language-menu .globe { width: 20px; text-align: center; }

.menu-toggle { display: none; margin-left: auto; width: 43px; height: 43px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s; }

.hero { position: relative; min-height: 720px; overflow: hidden; display: grid; align-items: center; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); }
.hero-overlay { background: linear-gradient(90deg, rgba(7,25,19,.93) 0%, rgba(7,25,19,.76) 52%, rgba(7,25,19,.30) 100%); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 180px; }
.eyebrow { margin: 0 0 17px; color: #7f978d; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-dark .eyebrow, .hero .eyebrow { color: #cfbc8c; }
.hero h1 { max-width: 930px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(48px, 7vw, 94px); line-height: .98; letter-spacing: -.035em; }
.hero h1 span { color: #d9c69a; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: #e5ece8; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: 14px; transition: .25s ease; }
.btn-primary { background: var(--accent); color: #18231f; }
.btn-primary:hover { transform: translateY(-2px); background: #e4ca94; }
.btn-secondary { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,.10); }
.hero-stats {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats > div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stats > div:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.hero-stats strong { color: var(--accent); font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.hero-stats span { color: #cfd8d4; font-size: 12px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.split-reverse { grid-template-columns: .9fr 1.1fr; align-items: center; }
.section-copy h2, .section-heading h2, .contact h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.025em; }
.section-copy p { color: var(--muted); }
.section-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.55; }
.inline-actions { margin-top: 28px; }
.text-link { display: inline-flex; gap: 8px; text-decoration: none; color: var(--green); font-weight: 800; border-bottom: 1px solid #a9b8b1; padding-bottom: 3px; }

.feature-panel { border-top: 1px solid var(--line); }
.feature-card { display: grid; grid-template-columns: 65px 150px 1fr; gap: 18px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: #9eacA6; font-size: 12px; font-weight: 800; }
.feature-card h3 { margin: 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.section-dark .section-heading > p { color: #c6d1cc; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { min-height: 340px; padding: 32px; border: 1px solid #d3dad5; border-radius: var(--radius); background: rgba(255,255,255,.55); text-decoration: none; transition: .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: #aabbb2; box-shadow: var(--shadow); background: #fff; }
.product-index { display: block; margin-bottom: 54px; color: #8c9d95; font-size: 12px; font-weight: 800; }
.product-card h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.product-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.product-card ul { margin: 0; padding-left: 18px; color: #31443c; font-size: 13px; }
.product-card-cta { color: #fff; background: var(--green); border-color: var(--green); }
.product-card-cta:hover { color: #fff; background: #204f3e; }
.product-card-cta p, .product-card-cta .product-index { color: #c8d8d1; }
.product-card-cta strong { color: var(--accent); }

.applications { position: relative; overflow: hidden; }
.application-list { display: flex; flex-wrap: wrap; gap: 10px; }
.application-list span { padding: 13px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e4ece8; font-size: 14px; }

.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-tab { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-weight: 700; }
.gallery-tab.active, .gallery-tab:hover { color: #fff; background: var(--green); border-color: var(--green); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; aspect-ratio: 1 / .82; overflow: hidden; border-radius: 16px; background: #e5e9e5; border: 0; padding: 0; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.055); }
.gallery-item::after { content: "↗"; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); font-size: 15px; opacity: 0; transform: translateY(5px); transition: .2s; }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

.quality-image img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.check-list { margin-top: 28px; display: grid; gap: 12px; }
.check-list p { margin: 0; display: flex; gap: 12px; align-items: center; color: #31443c; }
.check-list span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.contact-intro > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 17px; }
.contact-intro .btn { margin-top: 18px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; font-style: normal; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-card > div { min-height: 130px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card > div:nth-child(2n) { border-right: 0; }
.contact-card > div:nth-last-child(-n + 2) { border-bottom: 0; }
.contact-card p { margin: 5px 0 0; color: var(--muted); }
.contact-card a { color: var(--green); font-weight: 750; text-decoration: none; }
.contact-label { display: block; color: #93a099; text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 800; margin-bottom: 9px; }
.contact-links { grid-column: 1 / -1; display: flex; gap: 25px; align-items: center; }

.site-footer { padding: 58px 0; background: #0b1c16; color: #d7e0dc; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 60px; align-items: end; }
.brand-footer .brand-text small { color: #98aaa2; }
.brand-footer .brand-mark { background: #1e4a3a; }
.site-footer p { color: #93a59e; font-size: 13px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #d7e0dc; text-decoration: none; font-size: 14px; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 4px 0; }

.lightbox {
  width: min(94vw, 1200px); height: min(90vh, 860px); padding: 0; border: 0; border-radius: 20px; background: #0d1512; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; }
.lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 30px; }
.lightbox figcaption { padding: 12px 20px 17px; text-align: center; color: #cad5d0; font-size: 13px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 2; border: 0; color: #fff; background: rgba(13,21,18,.70); cursor: pointer; }
.lightbox-close { right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 48px; height: 64px; transform: translateY(-50%); font-size: 36px; }
.lightbox-prev { left: 12px; border-radius: 12px; }
.lightbox-next { right: 12px; border-radius: 12px; }

.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header .nav-wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 70px; margin: 0; padding: 24px 20px 30px;
    display: none; flex-direction: column; align-items: stretch; gap: 0; background: #f5f5f0; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-shop { margin-top: 14px; text-align: center; border: 1px solid var(--green); padding: 12px; }
  .language-picker { order: 2; }
  .language-toggle { width: 43px; justify-content: center; font-size: 0; }
  .language-toggle > span { display: none; }
  .language-menu { position: fixed; top: 74px; left: 20px; right: 20px; width: auto; }
  .split, .split-reverse, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 9px; }
  .hero { min-height: 760px; }
  .hero-content { padding: 105px 0 250px; }
  .hero h1 { font-size: clamp(43px, 14vw, 65px); }
  .hero-lead { font-size: 16px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,25,19,.88) 0%, rgba(7,25,19,.80) 70%, rgba(7,25,19,.94) 100%); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { min-height: 90px; padding-right: 12px; }
  .hero-stats > div:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.15); }
  .hero-stats strong { font-size: 25px; }
  .feature-card { grid-template-columns: 45px 1fr; }
  .feature-card p { grid-column: 2; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-index { margin-bottom: 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > div { border-right: 0; }
  .contact-card > div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .contact-card > div:last-child { border-bottom: 0; }
  .contact-links { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { grid-column: auto; }
  .lightbox { width: 100vw; height: 100dvh; border-radius: 0; }
  .lightbox figure img { padding: 56px 12px 20px; }
}

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

.brand-logo{width:190px;height:auto;object-fit:contain}.brand-footer .brand-logo{width:220px}
.hero-media .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;filter: none}
.hero-media .hero-slide.is-active{opacity:1}
.hero-controls{position:absolute;z-index:4;right:max(20px,calc((100% - 1180px)/2));bottom:145px;display:flex;align-items:center;gap:10px}
.hero-controls button{width:44px;height:44px;border:1px solid #b9c9c1;border-radius:50%;background:#10271fe6;color:#fff;cursor:pointer;font-size:25px}
.slide-dots{display:flex;gap:2px}.slide-dots button{font-size:0;width:32px;border:0;background:transparent;position:relative}.slide-dots button::after{content:"";position:absolute;inset:17px 11px;border:1px solid #fff;border-radius:50%;background:transparent}.slide-dots button[aria-pressed=true]::after{background:#d6b879;border-color:#d6b879}
.product-photo{width:calc(100% + 64px);max-width:none;height:190px;object-fit:cover;margin:-32px -32px 24px;border-radius:var(--radius) var(--radius) 0 0}
.product-link{display:inline-block;margin-top:20px}.product-card{overflow:hidden}
.footer-disclosure{border-top:1px solid #617168;margin-top:30px;padding-top:24px;font-size:13px;line-height:1.8;color:#dce3df}.footer-disclosure a{color:#eee2c9;text-underline-offset:3px}
.main-nav a[aria-current=location]{text-decoration:underline;text-underline-offset:7px;text-decoration-color:var(--green);text-decoration-thickness:2px}
:focus-visible{outline:3px solid #987034;outline-offset:4px}html{scroll-padding-top:100px}
@media(max-width:680px){.brand-logo{width:152px}.hero-controls{bottom:218px;right:14px}.hero h1{font-size:clamp(36px,10vw,52px)}.hero-content{padding-top:70px}.product-photo{height:210px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none!important}}


/* Dostępność WAVE – korekty kontrastu, wielkości tekstu i obsługi klawiatury.
   Pozostawiamy podstawową paletę i układ prezentacji. */
:root { --muted: #42584d; }
.eyebrow, .hero-stats span, .feature-number, .product-index,
.contact-label, .footer-disclosure, .site-footer p, .site-footer a,
.product-card li, .product-card p, .feature-card p,
.application-list span, .main-nav a, .language-toggle,
.language-menu a, .hero-lead, .text-link {
  font-size: max(0.875rem, 14px);
  line-height: 1.55;
}
.hero .eyebrow, .applications .eyebrow { color: #f2d9a2; }
.hero .hero-lead, .hero-stats span,
.applications .section-heading > p, .applications .application-list span { color: #fff; }
.hero-stats strong { color: #f2d9a2; }
.hero .hero-overlay { background: linear-gradient(90deg, rgba(7,25,19,.96) 0%, rgba(7,25,19,.86) 52%, rgba(7,25,19,.54) 100%); }
.hero .btn-primary, .contact .btn-primary { color: #152c24; background-color: #e5c783; border-color: #e5c783; }
.hero .btn-secondary { color: #fff; border-color: #fff; background-color: #17362e; }
.section:not(.section-dark) .eyebrow, .contact-label,
.product-index, .feature-number { color: #365448; }
.section:not(.section-dark) .section-heading > p,
.section:not(.section-dark) .section-copy p:not(.lead),
.section:not(.section-dark) .feature-card p,
.section:not(.section-dark) .product-card:not(.product-card-cta) p,
.section:not(.section-dark) .product-card:not(.product-card-cta) li,
.contact-card p, .contact-card a { color: #263b32; }
.product-card-cta, .product-card-cta:hover { background: #183e31; color: #fff; }
.product-card-cta p, .product-card-cta .product-index { color: #f3f7f4; }
.product-card-cta strong { color: #f2d9a2; }
.language-menu a > span:last-child { opacity: 1; color: #365448; font-size: 14px; }
.language-menu a { color: #263b32; }
.language-menu a:hover, .language-menu a.active { color: #183e31; }
.site-footer p, .site-footer a, .site-footer .footer-disclosure p,
.site-footer .footer-disclosure a { color: #f6f6f1; }
.site-footer .footer-disclosure strong { color: #fff; }
.site-footer .footer-disclosure { font-size: 14px; }
.feature-card p, .product-card p, .product-card li, .contact-card p { font-size: 15px; }
.contact-label { font-size: 14px; }
.hero-stats span { font-size: 14px; }
.main-nav a, .footer-links a { font-size: 15px; }
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #f1b83c; outline-offset: 4px;
}
.site-header :where(a, button):focus-visible, .contact :where(a, button):focus-visible,
.section-soft :where(a, button):focus-visible { outline-color: #8a5711; }
.skip-link:focus-visible {
  position: fixed; top: 12px; left: 12px; z-index: 99999;
  padding: 12px 16px; background: #fff; color: #17362e; font-size: 16px;
}
@media (max-width: 680px) {
  .hero .hero-overlay { background: linear-gradient(180deg,rgba(7,25,19,.96),rgba(7,25,19,.88) 70%,rgba(7,25,19,.97)); }
  .hero-stats span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Jedno wspólne przejście do katalogu producenta pod kartami produktów. */
.offer-source-action { margin-top: 28px; text-align: center; }
.offer-source-action .text-link { font-size: 16px; }


/* Stopka POLFIRMS / Czarnieccy — układ na wzór dostarczonej referencji. */
.site-footer {
  padding: 0;
  background: #2c3033;
  color: #f6f7f7;
}
.site-footer .footer-inner {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
  padding: 46px 0 48px;
}
.site-footer .footer-identity { max-width: 355px; }
.site-footer .brand-footer { display: inline-flex; }
.site-footer .brand-footer .brand-logo { width: 150px; height: auto; }
.site-footer .footer-identity p {
  max-width: 320px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #f6f7f7;
}
.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(115px, 1fr));
  column-gap: 28px;
  row-gap: 9px;
  min-width: 270px;
}
.site-footer .footer-links a {
  color: #f6f7f7;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible,
.site-footer .footer-legal a:hover,
.site-footer .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-legal {
  border-top: 1px solid #707678;
  padding: 18px 0 20px;
}
.site-footer .footer-legal p {
  margin: 0 0 11px;
  max-width: 860px;
  color: #f5f6f6;
  font-size: 14px;
  line-height: 1.65;
}
.site-footer .footer-legal p:last-child { margin-bottom: 0; }
.site-footer .footer-legal strong { color: #fff; }
.site-footer .footer-legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 25px;
  border-top: 1px solid #4b5154;
}
.site-footer .footer-bottom p,
.site-footer .footer-bottom a {
  margin: 0;
  color: #f6f7f7;
  font-size: 13px;
  line-height: 1.5;
}
.site-footer .footer-bottom a { text-decoration: none; white-space: nowrap; }
@media (max-width: 680px) {
  .site-footer .footer-top { flex-direction: column; gap: 30px; padding: 34px 0; }
  .site-footer .footer-links { min-width: 0; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
