/* ===== FS Group GmbH – Agencja Celna ===== */
:root {
  --color-bg: #0f1419;
  --color-surface: #1a222c;
  --color-primary: #c9a227;
  --color-primary-hover: #dbb42e;
  --color-text: #e8eaed;
  --color-text-muted: #9ca3af;
  --color-border: rgba(255,255,255,0.08);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-nav: 'Poppins', var(--font-sans);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --container: min(92%, 1200px);
}

/* ===== Motyw jasny (wariant strony) ===== */
html[data-theme="light"] {
  --color-bg: #f7f7f8;
  --color-surface: #ffffff;
  --color-primary: #b98d14;
  --color-primary-hover: #cfa21a;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-border: rgba(17,24,39,0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-bg);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

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

.container { width: var(--container); margin-inline: auto; padding-inline: 1rem; }

/* ===== Placeholdery obrazków ===== */
[data-slot] {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}
.placeholder-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 1rem;
}
.hero-image-placeholder { min-height: 100vh; }
.hero-image-placeholder .placeholder-label { font-size: 1rem; }
.image-placeholder--dark { background: rgba(0,0,0,0.4); }
.map-placeholder { min-height: 320px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition), background var(--transition);
}
html[data-theme="light"] .header {
  background: rgba(247, 247, 248, 0.85);
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; color: var(--color-text); font-weight: 700; font-size: 1.25rem; }
.logo:hover { color: var(--color-primary); }
.logo-placeholder { font-family: var(--font-display); }
.logo-text {
  font-family: var(--font-nav);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.logo-text--footer { font-size: 0.9rem; }
.logo-img {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.logo-img--footer { height: 32px; max-width: 128px; }
.logo-footer-link { display: inline-block; }
.logo-footer-link:hover .logo-img { opacity: 0.9; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav-link {
  color: var(--color-text-muted);
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.nav-link:hover { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Przełącznik motywu */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}
html[data-theme="light"] .theme-toggle { background: rgba(17,24,39,0.04); }
.theme-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  width: 34px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  display: grid;
  place-items: center;
}
.theme-btn:hover { color: var(--color-text); transform: translateY(-1px); }
.theme-btn.is-active {
  background: var(--color-primary);
  color: var(--color-bg);
}
.theme-btn::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.theme-btn--dark::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a8.5 8.5 0 0 0 0 17c3.7 0 6.9-2.4 8-5.7-1 .5-2.1.7-3.3.7A7 7 0 0 1 9.3 5.5c0-1.2.2-2.3.7-3.3A8.4 8.4 0 0 0 12 3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a8.5 8.5 0 0 0 0 17c3.7 0 6.9-2.4 8-5.7-1 .5-2.1.7-3.3.7A7 7 0 0 1 9.3 5.5c0-1.2.2-2.3.7-3.3A8.4 8.4 0 0 0 12 3Z'/%3E%3C/svg%3E");
}
.theme-btn--light::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12Zm0-16a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm0 18a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm9-9a1 1 0 0 1 1 1 1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2ZM5 12a1 1 0 0 1-1 1H2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1Zm13.66-6.66a1 1 0 0 1 0 1.41l-1.41 1.41a1 1 0 1 1-1.41-1.41l1.41-1.41a1 1 0 0 1 1.41 0ZM8.16 15.84a1 1 0 0 1 0 1.41L6.75 18.66a1 1 0 1 1-1.41-1.41l1.41-1.41a1 1 0 0 1 1.41 0Zm9.09 1.41a1 1 0 0 1-1.41 0l-1.41-1.41a1 1 0 1 1 1.41-1.41l1.41 1.41a1 1 0 0 1 0 1.41ZM6.75 8.16A1 1 0 0 1 5.34 6.75l1.41-1.41a1 1 0 1 1 1.41 1.41L6.75 8.16Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12Zm0-16a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm0 18a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm9-9a1 1 0 0 1 1 1 1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2ZM5 12a1 1 0 0 1-1 1H2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1Zm13.66-6.66a1 1 0 0 1 0 1.41l-1.41 1.41a1 1 0 1 1-1.41-1.41l1.41-1.41a1 1 0 0 1 1.41 0ZM8.16 15.84a1 1 0 0 1 0 1.41L6.75 18.66a1 1 0 1 1-1.41-1.41l1.41-1.41a1 1 0 0 1 1.41 0Zm9.09 1.41a1 1 0 0 1-1.41 0l-1.41-1.41a1 1 0 1 1 1.41-1.41l1.41 1.41a1 1 0 0 1 0 1.41ZM6.75 8.16A1 1 0 0 1 5.34 6.75l1.41-1.41a1 1 0 1 1 1.41 1.41L6.75 8.16Z'/%3E%3C/svg%3E");
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.lang-select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%239ca3af'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  transition: border-color var(--transition), color var(--transition);
}
.lang-select:hover, .lang-select:focus { border-color: var(--color-primary); color: var(--color-primary); outline: none; }
.lang-select option { background: var(--color-bg); color: var(--color-text); }

/* Przełącznik języków – flagi */
.lang-switcher { display: flex; align-items: center; gap: 0.25rem; }
.lang-flag {
  height: 28px;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  color: var(--color-text-muted);
  font-family: var(--font-nav);
  font-weight: 750;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color var(--transition), transform var(--transition);
}
.lang-flag:hover { border-color: var(--color-primary); transform: translateY(-1px); color: var(--color-text); }
.lang-flag.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary); color: var(--color-text); }
.lang-flag::before {
  content: '';
  width: 22px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.2);
  background-image: var(--flag-bg);
  background-size: cover;
  background-position: center;
}
.lang-flag--pl { --flag-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect fill='%23fff' width='28' height='10'/%3E%3Crect fill='%23dc143c' y='10' width='28' height='10'/%3E%3C/svg%3E"); }
.lang-flag--en { --flag-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23012169'/%3E%3Cpath d='M0 0L28 20M28 0L0 20' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0L28 20M28 0L0 20' stroke='%23C8102E' stroke-width='3'/%3E%3Cpath d='M14 0v20M0 10h28' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M14 0v20M0 10h28' stroke='%23C8102E' stroke-width='4'/%3E%3C/svg%3E"); }
.lang-flag--de { --flag-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect fill='%23000' width='28' height='6.67'/%3E%3Crect fill='%23dd0000' y='6.67' width='28' height='6.67'/%3E%3Crect fill='%23ffcc00' y='13.34' width='28' height='6.66'/%3E%3C/svg%3E"); }
.lang-flag--ru { --flag-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect fill='%23fff' width='28' height='6.67'/%3E%3Crect fill='%230039a6' y='6.67' width='28' height='6.67'/%3E%3Crect fill='%23d52b1e' y='13.34' width='28' height='6.66'/%3E%3C/svg%3E"); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); padding: 1rem; border-bottom: 1px solid var(--color-border); }
  .nav.is-open .nav-list { flex-direction: column; gap: 0.5rem; }
  .menu-toggle { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 84vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 3.25rem;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.5) 0%, rgba(15,20,25,0.85) 100%);
}
html[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(247,247,248,0.35) 0%, rgba(247,247,248,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  width: min(720px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  margin: 0 0 1rem;
  text-wrap: balance;
  display: inline-block;
  max-width: 100%;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--transition-slow) forwards;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s 0.15s var(--transition-slow) forwards;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s 0.3s var(--transition-slow) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.btn-primary { background: var(--color-primary); color: var(--color-bg); border: none; overflow: visible; }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-bg); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--color-text); border: 2px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.hero-scroll:hover { color: var(--color-primary); }
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  position: relative;
  animation: bounceY 2s ease-in-out infinite;
}
@keyframes bounceY {
  0%, 100% { top: 0; }
  50% { top: 6px; }
}

/* ===== Sekcje wspólne ===== */
.section { padding: 6rem 0; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 1.5rem; }
.section-title--center { text-align: center; }
.section-title--light { color: var(--color-text); }
.subsection-title { font-size: 1.25rem; margin: 2.5rem 0 1rem; color: var(--color-text); }

/* ===== O NAS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-media { border-radius: 16px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.about-content .about-lead { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.about-content p { margin: 0 0 1.25rem; }
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.about-features li {
  padding-left: 1.5rem;
  position: relative;
}
.about-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media .image-placeholder { min-height: 260px; }
}

/* ===== USŁUGI ===== */
.services { background: var(--color-surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 360px));
  gap: 2.5rem;
  margin-top: 3rem;
  justify-content: center;
}
.service-card {
  background: var(--color-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
html[data-theme="light"] .service-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.service-card-image {
  aspect-ratio: 16/10;
  min-height: 180px;
}
.service-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 2rem; }
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  opacity: 1;
}
.service-card-body h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.service-card-body p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.65; }
.service-link {
  display: inline-flex;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}
.service-link:hover {
  color: var(--color-primary-hover);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== DLACZEGO MY (parallax) ===== */
.why-us { position: relative; padding: 6rem 0; }
.why-us-bg { position: absolute; inset: 0; }
.why-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-us-overlay { position: absolute; inset: 0; background: rgba(15,20,25,0.88); }
html[data-theme="light"] .why-us-overlay { background: rgba(247,247,248,0.88); }
.why-us .container { position: relative; z-index: 2; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 320px));
  gap: 2.5rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.why-item {
  text-align: center;
  padding: 2rem;
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: transparent;
  font-size: 0;
  border-radius: 50%;
  margin-bottom: 1rem;
  position: relative;
}
.why-icon::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--color-bg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: var(--why-icon);
  -webkit-mask-image: var(--why-icon);
}
.why-icon--experience { --why-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 2h6v2h5a2 2 0 0 1 2 2v5h-2V7H4v13h8v2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5V2Zm7 10 1.15 2.33 2.57.37-1.86 1.81.44 2.56L16 18.2l-2.3 1.21.44-2.56-1.86-1.81 2.57-.37L16 12Z'/%3E%3C/svg%3E"); }
.why-icon--languages { --why-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20Zm7.7 9H16a15.6 15.6 0 00-1-6.2A8.02 8.02 0 0119.7 11ZM12 4.1c.9 1.3 1.6 3.6 1.8 6.9H10.2c.2-3.3.9-5.6 1.8-6.9ZM4.3 13H8c.2 2.3.7 4.3 1.5 5.7A8.03 8.03 0 014.3 13Zm3.7-2H4.3A8.03 8.03 0 019.5 5.3C8.7 6.7 8.2 8.7 8 11Zm4 8.9c-.9-1.3-1.6-3.6-1.8-6.9h3.6c-.2 3.3-.9 5.6-1.8 6.9ZM16 13h3.7a8.03 8.03 0 01-5.2 5.7c.8-1.4 1.3-3.4 1.5-5.7Z'/%3E%3C/svg%3E"); }
.why-icon--flex { --why-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 7h10v2H4V7Zm0 8h6v2H4v-2Zm13.5-1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5ZM14 11h1.3a4.5 4.5 0 0 0 0 2H14v-2Zm7.7 0H20.5a4.5 4.5 0 0 1 0 2h1.2v-2ZM4 11h6v2H4v-2Zm12 6h6v2h-6v-2Z'/%3E%3C/svg%3E"); }
.why-item h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.why-item p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== KONTAKT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; }
.contact-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}
.contact-card .section-tag { margin-bottom: 0.5rem; }
.contact-card .section-title { margin-bottom: 1rem; }
.contact-lead { margin: 0 0 1.5rem; color: var(--color-text-muted); font-size: 1rem; }
.contact-block { margin-bottom: 1.5rem; }
.contact-firm { margin: 0 0 0.35rem; }
.contact-address { margin: 0; line-height: 1.6; color: var(--color-text-muted); }
.contact-persons { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-persons li {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-style: normal;
  display: flex;
  flex-direction: column;
}
.contact-persons li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-tel,
.contact-email { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; color: var(--color-primary); }
.contact-tel:hover,
.contact-email:hover { color: var(--color-primary-hover); }
.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: var(--color-primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.contact-icon--phone {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2a1 1 0 01.25-.31c.43-.43.96-.65 1.5-.65h2.5a1 1 0 011 1v2.5a3 3 0 01-3 3 17 17 0 01-17-17 3 3 0 013-3h2.5a1 1 0 011 1v2.5c0 .54-.22 1.07-.64 1.5-.1.1-.2.18-.32.25l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2a1 1 0 01.25-.31c.43-.43.96-.65 1.5-.65h2.5a1 1 0 011 1v2.5a3 3 0 01-3 3 17 17 0 01-17-17 3 3 0 013-3h2.5a1 1 0 011 1v2.5c0 .54-.22 1.07-.64 1.5-.1.1-.2.18-.32.25l-2.2 2.2z'/%3E%3C/svg%3E");
}
.contact-icon--mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.contact-langs { display: block; font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.contact-email-wrap { margin: 0; }
.contact-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.contact-map-wrap iframe {
  width: 100%;
  flex: 1;
  min-height: 420px;
  border: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.footer-brand .logo-placeholder--footer { display: inline-block; min-height: auto; padding: 0; border: none; background: none; font-weight: 700; font-size: 1.1rem; }
.footer-tagline { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--color-text-muted); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--color-text-muted); }
.footer-nav a:hover { color: var(--color-primary); }
.footer-legal { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); text-align: right; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ===== Efekty parallax (współpraca z JS) ===== */
[data-parallax] { will-change: transform; }
.hero-media { will-change: transform; }
