/* ===================================================================
   SWITCHGEAR – styl strony (wzorowany na quman.pl, barwy marki)
   Kolory marki:  złoto #cfb539 · grafit #141414 · biel #ffffff
   =================================================================== */
:root {
  --gold: #cfb539;
  --gold-dark: #a8922a;
  --dark: #141414;
  --dark-2: #1d1d1d;
  --text: #222222;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg-alt: #f6f5f1;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .10);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-lg { padding: 14px 34px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #1a1708; border-color: var(--gold); }
.btn-gold:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--dark); }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 22px;
}
.logo-link {
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}
.logo-img { height: 38px; width: auto; }
.logo-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6b6b6b;
  white-space: nowrap;
  line-height: 1;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #d9d6cc;
  border-radius: 999px;
  padding: 4px 5px;
}
.lang-switch a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #8d8d8d;
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  line-height: 1;
  transition: color .2s, background .2s;
}
.lang-switch a:hover { color: var(--gold-dark); }
.lang-switch a.active { background: var(--dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 34px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; margin: 6px 7px; background: var(--dark); border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slides::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 20px 80px;
  width: 100%;
  color: #fff;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  color: #e9e9e9;
  max-width: 560px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 26px; height: 4px;
  border: 0; border-radius: 2px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .25s;
}
.hero-dots button.active { background: var(--gold); }

/* ---------- sekcje ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #eee; }

.ghost {
  position: relative;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 30px;
  color: var(--dark);
}
.ghost strong { font-weight: 800; }
.ghost::before {
  content: attr(data-ghost);
  position: absolute;
  left: -6px; top: -0.62em;
  font-size: 2.1em;
  font-weight: 800;
  color: rgba(20, 20, 20, .05);
  white-space: nowrap;
  pointer-events: none;
}
.ghost.center { text-align: center; }
.ghost.center::before { left: 50%; transform: translateX(-50%); }
.ghost-dark { color: #fff; }
.ghost-dark::before { color: rgba(255, 255, 255, .06); }

.section-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- o nas ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.split-text p { margin-bottom: 16px; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.6;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.stat-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

/* ---------- oferta ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,.06);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  width: 34px; height: 34px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 6px 0 0 0;
  z-index: 2;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card h3 { font-size: 17px; font-weight: 700; padding: 18px 18px 6px; color: var(--dark); }
.card p { font-size: 14px; color: var(--muted); padding: 0 18px 20px; }

/* ---------- proces ---------- */
.process { margin-top: 70px; }
.process-title { text-align: center; font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 34px; }
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 4px 22px rgba(0,0,0,.06);
  border-bottom: 3px solid var(--gold);
}
.process-steps li span {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.process-steps li small { display: block; font-weight: 400; color: var(--muted); margin-top: 6px; font-size: 13.5px; line-height: 1.5; }

/* ---------- galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,.06);
  aspect-ratio: 4 / 3.4;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(10,10,10,.82), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gallery figcaption::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold);
  margin-right: 8px;
}

/* ---------- partnerzy ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(35%); transition: filter .25s; }
.partner:hover img { filter: none; }

/* ---------- kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.contact-info h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.contact-row { margin-bottom: 14px; font-size: 17px; }
.contact-row a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }
.contact-mails { margin: 4px 0 6px; }
.contact-mail { margin: 0 0 14px; }
.contact-mail span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 2px;
}
.contact-mail a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 17px; }
.contact-mail a:hover { text-decoration: underline; }
.contact-meta { font-size: 13px; color: #9a9a9a; margin: 22px 0; }
.contact-note { color: #cfcfcf; font-size: 15px; }
.contact-form { display: grid; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: var(--dark-2);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8d8d8d; }
.contact-form select:invalid { color: #8d8d8d; }
.contact-form select option { color: #fff; background: var(--dark-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.contact-form .hp { position: absolute; left: -9999px; height: 0; opacity: 0; }
.consent { font-size: 12.5px; color: #a9a9a9; display: flex; gap: 9px; align-items: flex-start; }
.consent input { width: auto; margin-top: 3px; }
.consent a { color: var(--gold); }
.contact-form .btn { justify-self: start; }

/* ---------- stopka ---------- */
.site-footer { background: #0c0c0c; color: #bdbdbd; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 60px 20px 40px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a { display: block; color: #bdbdbd; text-decoration: none; padding: 3px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #242424; padding: 18px 0; font-size: 13px; color: #8a8a8a; }

/* ---------- do góry ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1708;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 90;
}
.to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsywność ---------- */
@media (max-width: 1199px) {
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 16px 22px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 1024px) {
  .cards, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .stats { gap: 24px; }
}
@media (max-width: 600px) {
  .logo-tag { display: none; }
  .header-inner { gap: 12px; }
  .logo-img { height: 30px; }
  .lang-switch a { font-size: 11px; padding: 4px 7px; }
}
@media (max-width: 520px) {
  .gallery, .cards, .process-steps { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
}
