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

:root {
  --black: #0f0f0f;
  --white: #fafaf8;
  --gray-100: #f2f2f0;
  --gray-200: #e4e3df;
  --gray-400: #9e9b93;
  --gray-700: #3a3935;
  --red: #d42b2b;
  --red-dark: #a81f1f;
  --red-light: #e85555;
  --red-pale: #fde8e8;
  --radius: 6px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 900;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 1px;
  text-decoration: none;
}


.nav-brand-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 1px;
  margin-left: 8px;
  vertical-align: middle;
}

.nav-brand-accent {
  color: var(--red);
}

.nav-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--red-light);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-phone:hover { background: var(--red); color: var(--white); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); }

/* MENU OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 800;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.menu-overlay a {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.menu-overlay a:hover { opacity: 1; color: var(--red-light); }
.menu-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  padding: 8px; line-height: 1;
  opacity: 0.7;
}
.menu-close:hover { opacity: 1; }

/* LAYOUT */
.pt-nav { padding-top: 72px; }
section { padding: 80px 48px; }
.container { max-width: 1100px; margin: 0 auto; }

/* HERO */
#start {
  background: var(--black);
  color: var(--white);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

#start::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,43,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 60px;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid rgba(232,85,85,0.35);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-title em { font-style: italic; color: var(--red-light); }

.hero-sub {
  font-size: 17px;
  color: var(--gray-400);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* CTA — widoczny tylko gdy NIE ma sticky (czyli desktop) */
.hero-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  padding: 18px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
}
.hero-cta:hover { background: var(--red-light); transform: translateY(-1px); }

.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--white);
  display: block;
}
.hero-stat-label { font-size: 13px; color: var(--gray-400); display: block; margin-top: 2px; }

/* SECTION LABELS */
.section-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 56px;
}

/* SERVICES */
#uslugi, #services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.2s;
}
.service-card:hover { background: var(--gray-100); }

.service-icon {
  width: 40px; height: 40px;
  background: var(--red-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.service-name { font-weight: 500; font-size: 17px; margin-bottom: 8px; color: var(--black); }
.service-desc { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

/* WHY */
#dlaczego, #why { background: var(--gray-100); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-check svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2.5; }
.why-title { font-weight: 500; font-size: 16px; color: var(--black); }
.why-desc { font-size: 14px; color: var(--gray-400); }

/* CERTYFIKATY */
#certyfikaty, #certificates { background: var(--white); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.cert-icon {
  width: 44px; height: 44px;
  background: var(--red-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cert-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.cert-name { font-weight: 500; font-size: 14px; color: var(--black); }

/* PROCES */
#proces, #process { background: var(--black); }
#proces .section-label, #process .section-label { color: var(--red-light); }
#proces .section-title, #process .section-title { color: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.process-step { padding: 0 16px 0 0; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
  opacity: 0.5;
}
.step-title { font-weight: 500; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--gray-400); }

/* OPINIE */
#opinie, #reviews { background: var(--gray-100); }
.opinion-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star {
  width: 14px; height: 14px;
  background: var(--red);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  flex-shrink: 0;
}

/* KONTAKT */
#kontakt, #contact { background: var(--red); color: var(--white); text-align: center; }
#kontakt .section-label, #contact .section-label { color: rgba(255,255,255,0.65); }
#kontakt .section-title, #contact .section-title { color: var(--white); }
.contact-phone {
  display: inline-block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 6vw, 56px);
  color: var(--white);
  text-decoration: none;
  letter-spacing: -1px;
  transition: opacity 0.2s;
}
.contact-phone:hover { opacity: 0.82; }
.contact-meta { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.65); }

/* FOOTER */
footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
}
footer strong { color: var(--white); }

/* STICKY CTA — tylko mobile */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  z-index: 700;
  display: none;
}
.sticky-cta:hover { background: var(--red-light); }

/* MOBILE */
@media (max-width: 640px) {
  section { padding: 52px 20px; }
  .hero-meta { gap: 28px; flex-wrap: wrap; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  /* Na mobile: ukrywamy hero-cta, pokazujemy sticky */
  .hero-cta { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 58px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-card { border-right: none; }
  .hero-inner { padding: 24px 0 48px; }
}

@media (min-width: 641px) {
  .hamburger { display: none; }
  .sticky-cta { display: none !important; }
}

/* Scroll animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === OPINIE SLIDER === */
.op-wrapper { overflow: hidden; width: 100%; }
.op-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.45s ease;
}
.op-card {
  flex-shrink: 0;
  width: calc(50% - 8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .op-card { width: calc(100% - 0px); }
}
.op-text { font-size: 15px; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.op-footer { display: flex; align-items: center; gap: 12px; }
.op-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--gray-200); }
.op-name { font-size: 14px; font-weight: 500; color: var(--black); }
.op-loc { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.op-nav { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.op-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: var(--white);
  cursor: pointer; font-size: 16px; color: var(--black);
  transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.op-btn:hover { background: var(--red); border-color: var(--red); color: white; }
/* === KONIEC OPINIE === */

/* === NOWE: NAWIGACJA DESKTOP + JĘZYK === */
.nav-links { display: flex; gap: 22px; margin-right: 12px; }
.nav-links a { color: rgba(250,250,248,0.75); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.lang-switch { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); overflow: hidden; }
.lang-switch a { color: rgba(250,250,248,0.7); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 1px; padding: 0 12px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.lang-switch a[aria-current="true"] { background: rgba(255,255,255,0.1); color: var(--white); }
.lang-switch a:hover { color: var(--white); }
.menu-overlay .menu-lang { font-family: 'DM Sans', sans-serif; font-size: 16px; letter-spacing: 2px; }
@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 980px) and (min-width: 641px) { .hamburger { display: flex !important; } }

.hero-sub-strong { color: var(--white); font-weight: 500; }

/* USŁUGI – link do podstrony */
.service-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--red); text-decoration: none; }
.service-more:hover { text-decoration: underline; }
.service-name a { color: inherit; text-decoration: none; }
.service-name a:hover { color: var(--red); }

/* OBSZAR DZIAŁANIA */
#obszar, #area { background: var(--white); }
.area-lead { max-width: 720px; color: var(--gray-700); margin: -32px 0 32px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.area-list li { border: 1px solid var(--gray-200); border-radius: 100px; padding: 8px 18px; font-size: 14px; background: var(--white); }
.area-list li.main { background: var(--red); color: var(--white); border-color: var(--red); }

/* KIEDY WEZWAĆ */
#kiedy, #when { background: var(--gray-100); }
.signs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.signs-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; }
.signs-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.signs-card ul { padding-left: 20px; color: var(--gray-700); font-size: 15px; }
.signs-card li { margin-bottom: 6px; }

/* FAQ */
#faq { background: var(--white); }
.faq-list { max-width: 820px; border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 500; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 0 22px; color: var(--gray-700); font-size: 15px; line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }

/* BLOK SEO / ARTYKUŁ */
#o-nas, #about { background: var(--gray-100); }
.prose { max-width: 820px; color: var(--gray-700); font-size: 16px; line-height: 1.8; }
.prose h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(26px, 4vw, 36px); color: var(--black); letter-spacing: -0.5px; line-height: 1.2; margin: 48px 0 16px; }
.prose h3 { font-size: 19px; font-weight: 500; color: var(--black); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); }
.prose strong { color: var(--black); font-weight: 500; }
.prose > *:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gray-200); }
.prose th { color: var(--black); font-weight: 500; background: var(--gray-100); }

/* PODSTRONY */
.page-hero { background: var(--black); color: var(--white); padding: 64px 48px 72px; }
.page-hero .container { position: relative; }
.breadcrumbs { font-size: 13px; color: var(--gray-400); margin-bottom: 28px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; }
.breadcrumbs a { color: var(--gray-400); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.page-title { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 20px; max-width: 900px; }
.page-title em { font-style: italic; color: var(--red-light); }
.page-lead { font-size: 18px; color: var(--gray-400); font-weight: 300; max-width: 680px; line-height: 1.7; margin-bottom: 32px; }
.page-body { background: var(--white); }
.cta-box { background: var(--red); color: var(--white); border-radius: var(--radius-lg); padding: 28px 28px; margin: 36px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-box p { margin: 0 !important; color: var(--white); font-size: 17px; font-weight: 500; }
.cta-box a { background: var(--white); color: var(--red) !important; text-decoration: none; font-weight: 500; padding: 12px 22px; border-radius: var(--radius); white-space: nowrap; }
.cta-box a:hover { background: var(--red-pale); }
.related { background: var(--gray-100); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-grid a { display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 20px; color: var(--black); text-decoration: none; font-weight: 500; transition: border-color 0.2s; }
.related-grid a:hover { border-color: var(--red); color: var(--red); }
.related-grid span { display: block; font-weight: 400; font-size: 13px; color: var(--gray-400); margin-top: 6px; }

/* STOPKA */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0; }
.footer-links a { color: var(--gray-400); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 640px) {
  .page-hero { padding: 40px 20px 52px; }
  .area-lead { margin-top: -28px; }
  .cta-box { padding: 22px 20px; }
}

/* SEO-akordeon w sekcji O nas */
