/* Tokeny, reset, .wrap i bazowy NAV (.nav/.nav-inner/.logo/.btn-nav) żyją teraz
   w public/css/page.css, linkowanym PRZED tym plikiem (patrz index.php) - jedno
   źródło prawdy współdzielone ze wszystkimi podstronami. Ten plik dokłada tylko
   to, co ma WYŁĄCZNIE strona główna: dropdown usług, telefon w navie, hamburger
   / menu mobilne, oraz wszystkie sekcje homepage'a poniżej. */

/* ─── REVEAL ─── */
.fu { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.fu.in { opacity: 1; transform: none; }
.fu.d1 { transition-delay: 0.07s; }
.fu.d2 { transition-delay: 0.14s; }
.fu.d3 { transition-delay: 0.21s; }
.fu.d4 { transition-delay: 0.28s; }

/* ─── NAV (dodatki tylko dla strony głównej - bazowy .nav/.nav-inner/.logo/.logo-dot
   jest w page.css) ─── */
.nav-links { display: none; gap: 2px; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { padding: 6px 12px; font-size: 0.875rem; font-weight: 500; color: var(--muted); border-radius: var(--r-sm); transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── NAV DROPDOWN ── */
.ndrop-wrap     { position: relative; }
.ndrop-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 14px; /* wypełnia lukę między triggerem a panelem */
}
.ndrop-trigger  { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
                  font-size: 0.875rem; font-weight: 500; color: var(--muted);
                  border-radius: var(--r-sm); transition: color 0.15s, background 0.15s;
                  text-decoration: none; cursor: pointer; border: none; background: none;
                  font-family: inherit; line-height: inherit; }
.ndrop-trigger:hover, .ndrop-wrap:hover .ndrop-trigger,
.ndrop-wrap:focus-within .ndrop-trigger { color: var(--text); background: var(--surface); }
.ndrop-arrow    { flex-shrink: 0; transition: transform 0.2s; color: var(--muted2); }
.ndrop-wrap:hover .ndrop-arrow,
.ndrop-wrap:focus-within .ndrop-arrow { transform: rotate(180deg); }

.ndrop-panel    {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid #E2DFD7; border-radius: 14px;
  box-shadow: 0 4px 8px -2px rgba(0,0,0,0.06), 0 16px 48px -8px rgba(0,0,0,0.14);
  padding: 10px; min-width: 540px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
  z-index: 210;
}
.ndrop-panel::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; background: #fff; border-left: 1px solid #E2DFD7;
  border-top: 1px solid #E2DFD7; rotate: 45deg;
}
.ndrop-wrap:hover .ndrop-panel,
.ndrop-wrap:focus-within .ndrop-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.ndrop-header   { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.07em;
                  text-transform: uppercase; color: var(--muted2); padding: 4px 10px 8px; }
.ndrop-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ndrop-item     { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px;
                  border-radius: 8px; text-decoration: none;
                  transition: background 0.12s; }
.ndrop-item:hover { background: var(--surface); }
.ndrop-item-name { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.ndrop-item-lead { font-weight:100; font-size: 0.65rem; color: var(--muted2); line-height: 1.4;
                   display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ndrop-footer   { display: flex; align-items: center; justify-content: space-between;
                  margin-top: 6px; padding: 8px 10px 2px;
                  border-top: 1px solid #F2F0EB;
                  font-size: 0.8125rem; font-weight: 600; color: var(--accent);
                  text-decoration: none; }
.ndrop-footer:hover { opacity: 0.75; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: none; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: var(--r-sm); transition: color 0.15s, background 0.15s; }
@media (min-width: 1100px) { .nav-phone { display: inline-flex; } }
.nav-phone:hover { color: var(--text); background: var(--surface); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.hero-trust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted2); margin-top: 16px; }
.hero-trust-sep { color: var(--border2); user-select: none; }
.hamburger { display: flex; flex-direction: column; gap: 4.5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .hamburger { display: none; } }
.mob-menu { display: none; position: fixed; inset: 60px 0 0; background: var(--bg); z-index: 199; flex-direction: column; padding: 20px; gap: 4px; overflow-y: auto; }
.mob-menu.open { display: flex; }
.mob-menu a { padding: 14px 16px; font-size: 1.0625rem; font-weight: 500; border-radius: var(--r-md); color: var(--text); transition: background 0.15s; }
.mob-menu a:hover { background: var(--surface); }
.mob-menu .mm-cta { margin-top: 8px; background: var(--text); color: var(--bg); text-align: center; font-weight: 700; }
.mm-sub { display: flex; flex-direction: column; gap: 0; padding-left: 8px; border-left: 2px solid var(--border); margin: 0 0 4px 16px; }
.mm-sub-link { padding: 8px 12px !important; font-size: 0.875rem !important; color: var(--muted) !important; }

/* ─── BUTTONS ─── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--text); color: var(--bg); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; border-radius: var(--r-md); border: none; cursor: pointer; transition: background 0.15s, transform 0.1s; }
.btn-primary:hover { background: #2A2A27; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary .arr { transition: transform 0.2s var(--ease); }
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; border-radius: var(--r-md); border: 1px solid var(--border); cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.btn-ghost:hover { background: var(--surface2); border-color: var(--border2); }
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-light { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; border-radius: var(--r-md); border: none; cursor: pointer; transition: opacity 0.15s, transform 0.1s; }
.btn-light:hover { opacity: 0.88; }
.btn-light:active { transform: scale(0.97); }
.btn-light:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-light .arr { transition: transform 0.2s var(--ease); }
.btn-light:hover .arr { transform: translateX(3px); }

/* ─── HERO ─── */
.hero {
  padding-top: 116px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero-wrap { position: relative; z-index: 1; }

.hero-bg-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-apm {
  font-family: var(--font-display);
  font-size: clamp(10rem, 28vw, 26rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  text-stroke: 1px var(--border);
  white-space: nowrap;
  position: absolute;
  bottom: -0.1em;
  right: -0.04em;
  opacity: 1;
}
.hero-bg-year {
  position: absolute;
  top: 124px;
  right: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--border2);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-right: 4px;
}
@media (max-width: 768px) {
  .hero-bg-apm { font-size: clamp(6rem, 36vw, 12rem); opacity: 0.6; }
  .hero-bg-year { display: none; }
}

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; position: relative; flex-shrink: 0;
}
.hero-badge-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--accent); opacity: 0.3;
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { transform: scale(0.8); opacity: 0.4; }
  60%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}
.hero-h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6.5vw, 5.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 28px; max-width: 26ch; }
.hero-h1 .hl { color: var(--accent); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 56ch; line-height: 1.65; margin-bottom: 36px; }

/* ─── SCROLL HINT ─── */
.scroll-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(122, 122, 118, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 32px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.scroll-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}
.scroll-hint-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1;
}
.scroll-hint-arrow {
  font-size: 1.125rem;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 56px;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.hero-stats-numbers {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.625rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
}
.hero-stat-acc { color: var(--accent); }
.hero-stat-label { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.hero-stat-sep {
  width: 1px; height: 32px;
  background: var(--border2);
  margin-right: 28px; flex-shrink: 0;
}
.hero-stats-motto {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  line-height: 1.45; letter-spacing: -0.02em;
  color: var(--muted); text-align: right;
  border-left: 1px solid var(--border);
  padding-left: 28px; flex-shrink: 0;
}
@media (max-width: 900px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stats-motto { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 20px; text-align: left; }
}
@media (max-width: 600px) {
  .hero-stats-numbers { flex-wrap: wrap; gap: 16px; }
  .hero-stat { padding-right: 0; }
  .hero-stat-sep { display: none; }
}

/* ─── SECTION BASE ─── */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--border); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow-teal { color: var(--accent-dark); }
.section-h2 { font-family: var(--font-display); font-size: clamp(1.875rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.section-lead { font-size: 1.0625rem; color: var(--muted); max-width: 70ch; line-height: 1.7; }

/* ─── PITCH CARDS ─── */
.pitch-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
@media (min-width: 768px) { .pitch-grid { grid-template-columns: repeat(3, 1fr); } }
.pitch-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.pitch-card:hover { border-color: var(--border2); box-shadow: 0 4px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.pitch-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; margin-bottom: 16px; }
.pitch-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.pitch-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }

/* ─── SERVICES GRID ─── */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 48px; }
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.svc { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
       text-decoration: none; color: inherit; cursor: pointer;
       transition: background 0.18s, transform 0.18s, box-shadow 0.18s; }
.svc:hover { background: var(--white); transform: translateY(-3px);
             box-shadow: 0 8px 24px -6px rgba(0,0,0,0.10); }
.svc-num { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted2); text-transform: uppercase; }
.svc-title { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.svc-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.svc-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-pill { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
            padding: 4px 10px; background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--r-pill); color: var(--muted); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.svc-arrow { font-size: 0.9rem; color: var(--muted2); transition: transform 0.18s, color 0.18s; }
.svc:hover .svc-pill  { background: var(--accent-dim); color: var(--accent-dark); border-color: var(--accent-dim); }
.svc:hover .svc-arrow { transform: translateX(4px); color: var(--accent-dark); }

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
@media (min-width: 768px)  { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; cursor: pointer; transition: background 0.18s, transform 0.18s, box-shadow 0.18s; }
.team-card:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 8px 24px -6px rgba(0,0,0,0.10); }
.team-arrow { margin-top: auto; font-size: 0.9rem; color: var(--muted2); transition: transform 0.18s, color 0.18s; align-self: flex-end; }
.team-card:hover .team-arrow { transform: translateX(4px); color: var(--accent-dark); }
.team-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.team-tag { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; background: #B6D9C1; border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--muted); }
.team-bio { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; overflow: hidden; flex-shrink: 0; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 0.875rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.team-role { font-size: 0.75rem; color: var(--muted); }

/* ─── FOR WHOM ─── */
.forwho-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
@media (min-width: 640px)  { .forwho-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .forwho-grid { grid-template-columns: repeat(3, 1fr); } }
.forwho-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.forwho-card:hover { border-color: var(--border2); box-shadow: 0 4px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.forwho-icon { font-size: 1.5rem; margin-bottom: 12px; }
.forwho-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.forwho-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ─── PROCESS ─── */
.proc-cards { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .proc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proc-cards { grid-template-columns: repeat(4, 1fr); } }
.proc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.proc-card:hover { border-color: var(--border2); box-shadow: 0 4px 24px rgba(0,0,0,0.07); transform: translateY(-3px); }
.proc-card::before { content: attr(data-step); position: absolute; top: -6px; right: 10px; font-family: var(--font-display); font-size: 5.5rem; font-weight: 800; color: var(--accent); opacity: 0.07; line-height: 1; pointer-events: none; letter-spacing: -0.04em; }
.proc-card-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }
.proc-card-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ─── STATEMENT ─── */
.statement-section { padding: 96px 0; border-top: 1px solid var(--border); }
.statement-inner {
  background: var(--text);
  border-radius: var(--r-lg);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .statement-inner { grid-template-columns: 1fr auto; align-items: center; gap: 64px; } }
.statement-deco {
  position: absolute;
  bottom: -0.18em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  text-stroke: 1px rgba(255,255,255,0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.statement-q { font-family: var(--font-display); font-size: clamp(1.625rem, 3.5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); }
.statement-q .hl2 { color: var(--accent); }
.statement-body { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 38ch; margin-bottom: 28px; }

/* ─── FAQ ─── */
.faq-list { margin-top: 48px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--bg); transition: background 0.15s; }
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--white); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--text); transition: color 0.15s; }
.faq-btn:hover { color: var(--accent); }
.faq-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-toggle { width: 24px; height: 24px; flex-shrink: 0; background: var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); transition: background 0.15s, transform 0.3s var(--ease); }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent-dim); color: var(--accent-dark); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-body { max-height: 200px; }
.faq-inner { padding: 0 24px 20px; font-size: 0.9375rem; color: var(--muted); line-height: 1.7; max-width: 72ch; }

/* ─── INSIGHTS ─── */
.insights-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 48px; }
@media (min-width: 768px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }
.article { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); color: inherit; }
.article:hover { border-color: var(--border2); box-shadow: 0 4px 24px rgba(0,0,0,0.07); transform: translateY(-3px); }
.article:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.article-date { font-size: 0.8125rem; color: var(--muted2); }
.articles-cta { margin-top: 32px; display: flex; justify-content: center; }
.article-tag { display: inline-flex; align-items: center; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding: 4px 10px; background: var(--accent-dim); border-radius: var(--r-pill); align-self: flex-start; }
.article-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; flex-grow: 1; }
.article-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: var(--muted2); padding-top: 12px; border-top: 1px solid var(--border); }
.article-meta { display: flex; align-items: center; gap: 8px; }
.article-arr { color: var(--accent); transition: transform 0.2s var(--ease); }
.article:hover .article-arr { transform: translateX(4px); }

/* ─── SOLIDNYREGULAMIN PROMO ─── */
.sr-section { padding: 64px 0; background: var(--accent-dim); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sr-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .sr-inner { grid-template-columns: 1fr auto; gap: 48px; } }
.sr-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sr-title { font-family: var(--font-display); font-size: clamp(1.375rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.sr-title a { color: var(--accent); text-decoration: none; }
.sr-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; margin-top: 10px; max-width: 60ch; }
.sr-stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.sr-stat strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.sr-stat span { font-size: 0.8125rem; color: var(--muted2); }
.sr-cta { flex-shrink: 0; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-info h2, .contact-info .contact-h { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.contact-info p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; max-width: 44ch; }
.contact-bullets { display: flex; flex-direction: column; gap: 12px; }
.cbullet { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; color: var(--muted); }
.cbullet-icon { width: 32px; height: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; flex-shrink: 0; margin-top: 1px; }
.cbullet-text { line-height: 1.5; }
.cbullet-text strong { display: block; font-size: 0.8125rem; color: var(--muted2); font-weight: 500; margin-bottom: 1px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form-row2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 0.9375rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 14px; outline: none; width: 100%; appearance: none; transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,138,90,0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form-trust { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }
.form-trust-icon { flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check-row input { width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.check-row a { color: var(--accent); text-decoration: underline; }
.form-note { font-size: 0.8125rem; color: var(--muted2); }
/* Formularz kontaktowy - wynik wysyłki (kontakt.php), błędne pola, pułapka na boty */
.form-status { font-size: 0.875rem; line-height: 1.5; padding: 10px 14px; border-radius: var(--r-sm); }
.form-status.is-ok { background: var(--accent-dim); color: var(--accent-dark); }
.form-status.is-err { background: #FDECEA; color: #8A1C12; }
.field [aria-invalid="true"] { border-color: #C4321F; }
.check-row input[aria-invalid="true"] { outline: 2px solid #C4321F; outline-offset: 2px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── MAP TOGGLE ─── */
.map-toggle-wrap  { margin-top: 32px; }
.map-toggle-btn   { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
                    background: var(--surface); color: var(--muted); border: 1px solid var(--border);
                    border-radius: var(--r-md); font-size: 0.875rem; font-weight: 600;
                    font-family: inherit; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.map-toggle-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border2); }
.map-toggle-btn[aria-expanded="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.map-frame-wrap   { margin-top: 16px; }
.cbullet-addr-row { display: inline; }
.map-addr-btn     { display: inline; margin-left: 8px; padding: 0; background: none; border: none;
                    font-size: 0.8rem; color: var(--muted2); font-family: inherit; cursor: pointer;
                    text-decoration: underline; text-underline-offset: 2px; transition: color 0.15s; }
.map-addr-btn:hover { color: var(--accent); }
.map-inline-wrap  { margin-top: 10px; }

/* ─── REVIEWS ─── */
.rev-skel { background: var(--surface); border-radius: var(--r-lg); height: 200px; animation: rev-pulse 1.5s ease-in-out infinite; }
.rev-skel:nth-child(2) { animation-delay: 0.2s; }
.rev-skel:nth-child(3) { animation-delay: 0.4s; }
@keyframes rev-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* .page-tree jest teraz w page.css (jedno źródło prawdy dla całej strony). */

/* ─── GEO ─── */
.geo-section { padding: 72px 0; border-top: 1px solid var(--border); }
.geo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
@media (min-width: 640px)  { .geo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .geo-grid { grid-template-columns: repeat(4, 1fr); } }
.geo-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 20px; }
.geo-region { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.geo-cities { font-size: 0.875rem; color: var(--muted); line-height: 1.9; }
.geo-cities a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border2); text-underline-offset: 2px; transition: color 0.15s, text-decoration-color 0.15s; }
.geo-cities a:hover { color: var(--accent-dark); text-decoration-color: var(--accent-dark); }


/* ─── FOOTER ─── */
/* Style stopki żyją w templates/partials/footer.php (jedno źródło prawdy
   dla strony głównej i wszystkich podstron). */

/* ─── KLIENCI ─── */
.clients-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.clients-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 20px; }
.clients-row { display: flex; align-items: center; flex-wrap: wrap; gap: 40px; }
.client-logo { display: block; height: 28px; width: auto; max-width: 140px; filter: grayscale(100%); opacity: 0.45; transition: opacity 0.25s, filter 0.25s; }
.client-logo:hover { opacity: 1; filter: grayscale(0%); }
.client-logo-ph { height: 26px; width: 90px; border: 1.5px dashed var(--border2); border-radius: var(--r-sm); opacity: 0.45; }
