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

[hidden] {
  display: none !important;
}

:root {
  --brand: #004c96;
  --brand-dark: #003370;
  --brand-darker: #001f48;
  --brand-light: #7ab8f0;
  --red: #e31c2a;
  --red-dark: #c01020;
  --surface: #f0f5fc;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #536070;
  --border: #c5d5e8;
  --card-bg: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 31, 72, 0.97);
  backdrop-filter: blur(8px);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid rgba(0, 76, 150, 0.4);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  opacity: 0.95;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: "Barlow", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 6px 16px;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--brand-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 2rem 4rem;
}

#wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-logo {
  display: block;
  width: 400px;
  max-width: 80%;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
}

.hero-eyebrow {
  font-family: "Barlow", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-family: "Barlow", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-red-outline {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: var(--red);
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid var(--red);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
  display: inline-block;
}

.btn-red-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: "Barlow", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 4px;
}

/* SECTION COMMON */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: "Barlow", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 3rem;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 76, 150, 0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
}

.service-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-tag {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0, 76, 150, 0.08);
  padding: 4px 10px;
  border-radius: 3px;
}

.service-card--wide {
  grid-column: 1 / -1;
}

.partner-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.partner-link:hover {
  color: var(--red);
  text-decoration: underline;
}

/* WHY US */
#dlaczego {
  background: var(--brand-dark);
}

#dlaczego .section-title {
  color: var(--white);
}
#dlaczego .section-label {
  color: var(--brand-light);
}

#dlaczego .brand-link,
#dlaczego .brand-link:visited {
  color: var(--white);
}

#dlaczego .brand-link:hover {
  color: var(--brand-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.trust-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  min-width: 2.5rem;
}

.trust-title {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

/* REVIEWS */
#opinie {
  background: var(--surface);
  overflow: hidden;
}

.reviews-carousel-wrap {
  margin: 0 -2rem;
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0 0.25rem;
}

.reviews-carousel-wrap::before,
.reviews-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.reviews-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.reviews-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.75rem 2rem;
  animation: reviews-scroll 45s linear infinite;
}

@media (hover: hover) {
  .reviews-track:hover {
    animation-play-state: paused;
  }
}

@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 2px 8px rgba(0, 31, 72, 0.05);
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.review-stars-row {
  font-size: 0.85rem;
  color: #f59e0b;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}

.review-vehicle {
  font-family: "Barlow", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0, 76, 150, 0.07);
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

@media (max-width: 768px) {
  .reviews-carousel-wrap { margin: 0 -1.25rem; }
}

/* COVERAGE NOTE */
.coverage-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(0, 76, 150, 0.05);
  border-left: 3px solid var(--brand);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
  max-width: 760px;
}

.coverage-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--brand);
}

/* CONTACT */
#kontakt {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(0, 76, 150, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
}

.contact-label {
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.975rem;
  color: var(--text);
  font-weight: 500;
}

.brand-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.brand-link:visited {
  color: var(--brand);
}

.brand-link:hover {
  color: var(--red);
}

#hero .brand-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: inherit;
}

#hero .brand-link:visited {
  color: var(--white);
}

#hero .brand-link:hover {
  color: var(--brand-light);
}

.hero-stat-num .brand-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.hero-stat-num .brand-link:visited {
  color: inherit;
}

.hero-stat-num .brand-link:hover {
  color: var(--white);
}

.contact-value a {
  color: var(--brand);
  text-decoration: none;
}

.contact-value a:hover {
  color: var(--red);
  text-decoration: underline;
}

.b2b-box {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.b2b-title {
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.b2b-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.b2b-row:last-child {
  border-bottom: none;
}
.b2b-key {
  color: var(--text-muted);
}
.b2b-val {
  font-weight: 500;
  font-family: "Barlow", monospace;
  font-size: 0.83rem;
}

/* MAP */
.map-embed {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 340px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: none;
  display: block;
}

/* FOOTER */
footer {
  background: var(--brand-darker);
  padding: 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  opacity: 0.8;
  display: block;
}

.footer-phone {
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-phone a {
  color: var(--brand-light);
  text-decoration: none;
}
.footer-phone a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.25rem;
}

/* FAQ */
#faq {
  background: var(--brand-darker);
}

#faq .section-label {
  color: var(--brand-light);
}

#faq .section-title {
  color: var(--white);
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  padding-bottom: 1.25rem;
  max-width: 680px;
}

/* HOURS */
.hours-box {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.hours-title {
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 1.25rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hours-day {
  color: var(--text-muted);
}

.hours-val {
  font-weight: 500;
  color: var(--text);
}

.hours-closed {
  color: var(--text-muted);
  font-weight: 400;
}

.google-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 6px 14px;
  transition: border-color 0.2s, color 0.2s;
}

.google-profile-link:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.google-profile-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ABOUT */
#o-nas {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
  padding-left: 2.5rem;
}

.about-stat {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.about-stat:last-child {
  border-bottom: none;
}

.about-stat-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  display: block;
}

.about-stat-label {
  font-family: "Barlow", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* RESPONSIVE */
/* Hamburger — ukryty na desktopie */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Animacja X przy otwartym menu */
nav.is-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.is-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
nav.is-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
  }

  .nav-logo {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
    margin-left: auto;
    height: 60px;
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 1rem;
    gap: 0;
    order: 3;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links a.nav-cta {
    display: inline-block;
    width: auto;
    padding: 6px 16px;
    margin-top: 0.75rem;
    border-bottom: none;
  }
  .hero-stats {
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats {
    border-left: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--border);
    padding-top: 1.5rem;
    gap: 1.25rem;
  }

  .about-stat {
    border-bottom: none;
    padding: 0;
  }

  .about-stat:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 1.25rem;
  }
}
