/* ============================================================
   Call Center Pro — nowoczesny fork (2026)
   Paleta zachowana z oryginału: zieleń #456d00, burgund #620030,
   kafelki Metro, CTA #d53f26 → #0096a9, granat #243b4a.
   ============================================================ */

:root {
  /* brand */
  --green: #456d00;
  --green-bright: #6a9a00;
  --crimson: #620030;
  --magenta: #9d0059;
  /* metro tiles (z oryginalnego custom.css) */
  --tile-blue: #1e63a2;      --tile-blue-hi: #2b85d7;
  --tile-green: #7ea300;     --tile-green-hi: #9cca00;
  --tile-orange: #e89e00;    --tile-orange-hi: #ffc600;
  --tile-teal: #0096a9;      --tile-teal-hi: #00b5cc;
  /* akcenty */
  --cta: #d53f26;
  --cta-hi: #0096a9;
  --link: #006dbc;
  /* baza */
  --ink: #243b4a;
  --ink-2: #435d70;
  --ink-3: #5f7587;
  --paper: #f5f7f9;
  --white: #ffffff;
  --line: #e3e9ef;
  --shadow-sm: 0 1px 2px rgba(36, 59, 74, .06), 0 2px 8px rgba(36, 59, 74, .05);
  --shadow-md: 0 6px 24px rgba(36, 59, 74, .12);
  --shadow-lg: 0 18px 50px rgba(36, 59, 74, .18);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --font: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(36, 59, 74, .08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,.94); }

.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 78px; }

.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.brand:hover { text-decoration: none; }
.brand-name { display: none; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: .55rem .9rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a:focus-visible { background: rgba(30, 99, 162, .08); color: var(--tile-blue); text-decoration: none; }
.nav .nav-sub { font-size: .72rem; font-weight: 500; color: var(--ink-3); letter-spacing: .02em; }
.nav li.is-active > a { color: var(--green); }
.nav li.is-active > a::before {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem;
  height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--green-bright));
}

/* dropdown */
.nav .submenu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px; padding: .5rem;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu::before {
  content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.nav .submenu a { flex-direction: row; align-items: center; padding: .5rem .8rem; font-weight: 500; border-radius: 8px; }
.nav .submenu a:hover { background: linear-gradient(90deg, rgba(30,99,162,.1), rgba(43,133,215,.06)); color: var(--tile-blue); }
.nav .submenu li + li { margin-top: 2px; }

.header-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cta), #e85c3e);
  color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 14px rgba(213, 63, 38, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(213, 63, 38, .45); text-decoration: none; background: linear-gradient(135deg, var(--cta-hi), #10b3c7); }

.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700; }
.lang-switch a { padding: .25rem .5rem; border-radius: 6px; color: var(--ink-3); }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.lang-switch a:hover { color: var(--ink); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ HERO ============================ */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(157, 0, 89, .55), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(106, 154, 0, .35), transparent 55%),
    linear-gradient(135deg, #1c2f3c 0%, var(--ink) 45%, #2c4757 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 90% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 20%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem .45rem; margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse-dot 2.2s infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70% { box-shadow: 0 0 0 12px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 21ch;
}
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd166, #ffc600 45%, #9cca00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); margin: 0 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* fale sygnału — dekoracja call-center */
.waves { position: absolute; right: -40px; bottom: -30px; width: min(520px, 46vw); opacity: .5; pointer-events: none; }
.waves .bar {
  position: absolute; bottom: 0; left: 50%;
  width: 6px; border-radius: 6px;
  background: linear-gradient(180deg, var(--tile-teal-hi), rgba(0,181,204,0));
  transform-origin: bottom;
  animation: wave 1.8s ease-in-out infinite;
}
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .waves .bar, .hero-eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================ PRZYCISKI ============================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--cta), #e85c3e); color: #fff; box-shadow: 0 6px 18px rgba(213,63,38,.4); }
.btn-primary:hover { background: linear-gradient(135deg, var(--cta-hi), #10b3c7); box-shadow: 0 10px 26px rgba(0,150,169,.45); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--tile-blue); }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================ KAFELKI METRO ============================ */

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 190px;
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: var(--r-md);
  color: #fff; font-weight: 600;
  background: var(--tile-bg, var(--tile-blue));
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tile-bg-hi, var(--tile-blue-hi));
  opacity: 0; transition: opacity .35s var(--ease);
}
.tile::after {
  content: ""; position: absolute; right: -34px; top: -34px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  transform: scale(.6); transition: transform .45s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile:hover::before { opacity: 1; }
.tile:hover::after { transform: scale(1); }
.tile img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 1.6rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.22)); transition: transform .4s var(--ease); }
.tile:hover img { transform: translateX(8px) scale(1.06); }
.tile span { font-size: 1.12rem; line-height: 1.25; max-width: 22ch; }
.tile .tile-go { position: absolute; right: 1.1rem; bottom: 1rem; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); font-size: 1.2rem; }
.tile:hover .tile-go { opacity: .9; transform: translateX(0); }
.tile-blue   { --tile-bg: var(--tile-blue);   --tile-bg-hi: var(--tile-blue-hi); }
.tile-green  { --tile-bg: var(--tile-green);  --tile-bg-hi: var(--tile-green-hi); }
.tile-orange { --tile-bg: var(--tile-orange); --tile-bg-hi: var(--tile-orange-hi); }
.tile-teal   { --tile-bg: var(--tile-teal);   --tile-bg-hi: var(--tile-teal-hi); }
.tile-crimson{ --tile-bg: var(--crimson);     --tile-bg-hi: var(--magenta); }
.tile-ink    { --tile-bg: var(--ink);         --tile-bg-hi: var(--tile-blue); }

/* ============================ SEKCJE ============================ */

.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-white { background: var(--white); }
.section-tint { background: linear-gradient(180deg, #eef3f7, var(--paper)); }
.section-dark { background: linear-gradient(135deg, #1c2f3c, var(--ink) 60%, #2c4757); color: #fff; }
.section-dark a { color: #9ccbf2; }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: .7rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
  padding: .25rem .8rem; border-radius: 999px;
  background: rgba(106, 154, 0, .1);
}
.section-dark .kicker { color: #b8e986; background: rgba(156,202,0,.15); }
.section h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 800; color: var(--ink); }
.section-dark h2 { color: #fff; }
.section-head p { margin: 0; color: var(--ink-3); font-size: 1.06rem; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

/* ============================ KARTY / SIATKI ============================ */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.7rem 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdbe5; }
.card h3 { margin: 0 0 .6rem; font-size: 1.22rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.card p { margin: 0 0 .6rem; color: var(--ink-2); }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tile-blue), var(--tile-blue-hi));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(30,99,162,.3);
}
.card .num.green { background: linear-gradient(135deg, var(--green), var(--green-bright)); box-shadow: 0 4px 10px rgba(69,109,0,.3); }
.card .num.crimson { background: linear-gradient(135deg, var(--crimson), var(--magenta)); box-shadow: 0 4px 10px rgba(98,0,48,.3); }
.card .num.teal { background: linear-gradient(135deg, var(--tile-teal), var(--tile-teal-hi)); box-shadow: 0 4px 10px rgba(0,150,169,.3); }
.card .num.orange { background: linear-gradient(135deg, var(--tile-orange), var(--tile-orange-hi)); box-shadow: 0 4px 10px rgba(232,158,0,.3); }

/* ============================ TREŚĆ ARTYKUŁÓW ============================ */

.page-hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(157,0,89,.5), transparent 60%),
    radial-gradient(700px 400px at -10% 120%, rgba(106,154,0,.32), transparent 55%),
    linear-gradient(135deg, #1c2f3c, var(--ink) 55%, #2c4757);
  padding: clamp(3.2rem, 6vw, 5rem) 0 clamp(2.6rem, 5vw, 4rem);
}
.page-hero .kicker { color: #b8e986; background: rgba(156,202,0,.15); }
.page-hero h1 { margin: 0 0 .8rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { max-width: 62ch; margin: 0; color: rgba(255,255,255,.8); font-size: 1.1rem; }

.layout-services { display: grid; grid-template-columns: 250px 1fr; gap: 2.6rem; align-items: start; }

.sidenav { position: sticky; top: 104px; }
.sidenav .box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1rem; box-shadow: var(--shadow-sm);
}
.sidenav .box-title { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .35rem .7rem .6rem; }
.sidenav a {
  display: block; padding: .5rem .7rem; margin: 1px 0;
  border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .95rem;
  border-left: 3px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.sidenav a:hover { background: rgba(30,99,162,.07); color: var(--tile-blue); text-decoration: none; }
.sidenav a.is-active { background: linear-gradient(90deg, rgba(69,109,0,.12), rgba(106,154,0,.04)); color: var(--green); border-left-color: var(--green); }

.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin: 2.6rem 0 .9rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--line);
  letter-spacing: -.01em;
  scroll-margin-top: 104px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.prose p { margin: 0 0 1rem; color: var(--ink-2); }
.prose ul { margin: 0 0 1.2rem; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding: .28rem 0 .28rem 2rem; color: var(--ink-2); }
.prose ul li::before {
  content: ""; position: absolute; left: .2rem; top: .78rem;
  width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  transform: rotate(45deg);
}
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--r-md); box-shadow: var(--shadow-md); margin: 1.4rem auto; }
.prose .img-caption { text-align: center; font-size: .88rem; color: var(--ink-3); margin-top: -.8rem; }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  scroll-margin-top: 104px;
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card > h2, .service-card > h3.service-title {
  display: flex; align-items: center; gap: .8rem;
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -.01em;
  color: var(--ink);
}
.service-card > h2::before, h3.service-title::before {
  content: ""; flex: none;
  width: 10px; height: 34px; border-radius: 5px;
  background: linear-gradient(180deg, var(--crimson), var(--magenta));
}
.service-card p { margin: 0 0 1rem; color: var(--ink-2); }
.service-card ul { margin: 0 0 1rem; padding-left: 0; list-style: none; }
.service-card ul li { position: relative; padding: .3rem 0 .3rem 2rem; color: var(--ink-2); }
.service-card ul li::before {
  content: "✓"; position: absolute; left: .15rem; top: .3rem;
  font-weight: 800; color: var(--green);
}
.service-card .cta-inline {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .4rem; font-weight: 700; color: var(--cta);
}
.service-card .cta-inline:hover { color: var(--cta-hi); }
.service-card .figure { margin: 1.2rem 0; }
.service-card .figure img { border-radius: var(--r-md); box-shadow: var(--shadow-md); }

/* ============================ KONTAKT / FORMULARZ ============================ */

.contact-band { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: start; }
.contact-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: 1.25rem;
}
.contact-list b { display: block; font-size: 1.05rem; }
.contact-list span { color: rgba(255,255,255,.72); font-size: .95rem; }

.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-card h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.form-card .form-note { margin: 0 0 1.4rem; color: var(--ink-3); font-size: .95rem; }

.field { position: relative; margin-bottom: 1.15rem; }
.field input, .field textarea {
  width: 100%;
  padding: 1.05rem 1rem .45rem;
  font: inherit; color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 1.35rem; }
.field input:focus, .field textarea:focus {
  border-color: var(--tile-blue);
  box-shadow: 0 0 0 4px rgba(30, 99, 162, .12);
  background: #fff;
}
.field label {
  position: absolute; left: 1rem; top: .78rem;
  color: var(--ink-3); font-size: 1rem; pointer-events: none;
  transition: all .18s var(--ease);
}
.field input:focus + label, .field input.has-value + label,
.field textarea:focus + label, .field textarea.has-value + label {
  top: .32rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--tile-blue); text-transform: uppercase;
}
.field .err {
  display: none;
  margin: .35rem 0 0 .2rem;
  font-size: .82rem; font-weight: 600; color: var(--cta);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--cta); background: #fff6f4; }
.field.is-invalid .err { display: block; }
.form-rodo { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-3); margin: .2rem 0 1.2rem; }
.form-rodo input { margin-top: .25rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-sm);
  background: rgba(61, 213, 133, .12);
  border: 1px solid rgba(61, 213, 133, .45);
  color: #0d7a43; font-weight: 600; font-size: .95rem;
}
.form-status.is-visible { display: block; }

/* ============================ STOPKA ============================ */

.site-footer { background: #16242e; color: rgba(255,255,255,.66); padding: 3.4rem 0 6rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.4rem; }
.site-footer img { height: 46px; margin-bottom: 1rem; opacity: .95; }
.site-footer h4 { margin: 0 0 .9rem; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #9ccbf2; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.4);
}

/* ============================ POMOCNICZE ============================ */

.gototop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--crimson); color: #fff; font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
  box-shadow: 0 8px 20px rgba(98, 0, 48, .4);
}
.gototop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.gototop:hover { background: var(--magenta); }

.cookie-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 95;
  display: none; align-items: center; gap: 1rem; flex-wrap: wrap;
  width: min(720px, calc(100vw - 2.5rem));
  padding: .9rem 1.3rem;
  background: rgba(22, 36, 46, .96);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar button {
  padding: .45rem 1.1rem; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: #fff; font-weight: 700; cursor: pointer;
}

.badge-lang { display: inline-flex; gap: .4rem; align-items: center; }

/* reveal */
.reveal { opacity: 1; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pending { opacity: 0; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================ RESPONSYWNOŚĆ ============================ */

@media (max-width: 1060px) {
  .layout-services { grid-template-columns: 1fr; }
  .sidenav { position: static; }
  .sidenav .box { display: none; } /* na tabletach lista sekcji zwija się – treść ma anchors */
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav ul { flex-direction: column; gap: 0; padding: .8rem 1.2rem 1.2rem; }
  .nav a { padding: .8rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav li.is-active > a::before { display: none; }
  .nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0;
  }
  .nav .submenu a { font-size: .92rem; border-bottom: 0; padding: .45rem .4rem; }
  .lang-switch { margin-left: auto; }
  .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 7rem; }
  body { font-size: 16px; }
}

/* stack obrazów w sekcji O nas */
.img-stack { display: grid; gap: 1.2rem; align-content: start; }
.img-stack .rounded-img { margin: 0; }

:focus-visible { outline: 3px solid #456d00; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: white; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-footer img { background: white; padding: .65rem; border-radius: 8px; }


/* Localny font Source Sans 3 (bez polaczen z fonts.googleapis.com — RODO) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/roman-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/roman-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
