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

/* ===== GLOBAL ===== */

html,
body {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: #fff;
  background: #000;
}

:where(h1) {
  font-size: 2em;
  margin-block: 0.67em;
}

.pages-wrapper {
  position: relative;
  width: 100%;
  height: 100dvh;
  transition: transform 0.5s ease-in-out;
}

section.page {
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

@supports not (height: 100dvh) {
  html,
  body,
  .pages-wrapper,
  section.page {
    height: 100vh;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar h2 {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-links a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.top-bar-links a:hover {
  text-decoration: underline;
}

.top-bar-separator {
  pointer-events: none;
}

/* ===== START ===== */

.section-start {
  position: relative;
}

.start-center {
  flex: 1;
  display: block;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin: 0;
}

.logo-svg {
  display: inline-block;
  width: 300px;
  height: auto;
}

.nav-row {
  margin-top: calc(50vh + 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-row a {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
}

.nav-row a:nth-child(1) {
  justify-self: flex-start;
}

.nav-row a:nth-child(2) {
  justify-self: center;
}

.nav-row a:nth-child(3) {
  justify-self: flex-end;
}

.nav-row a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-row a:hover::after { width: 100%; }

.start-arrow-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.start-arrow {
  display: inline-block;
  font-size: 28px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.start-arrow:hover {
  transform: translateY(4px);
  opacity: 1;
}

.bottom-bar {
  font-size: 12px;
  opacity: 0.8;
}

.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== O FIRMIE ===== */

.section-about {
  background: #fff;
  color: #000;
}

.about-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-inner {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.about-inner h2 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 50px;
  margin-bottom: 16px;
}

.about-inner h1 {
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-inner p {
  line-height: 1.6;
  font-size: 16px;
  font-weight: 200;
}

/* ===== KONTAKT ===== */

.section-contact {
  background: #000;
  color: #fff;
}

.contact-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-inner {
  max-width: 520px; 
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.contact-topline {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px; 
}

.contact-topline a {
  color: inherit;
  text-decoration: none;
}

.contact-topline a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.02);
  color: #fff;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form button {
  width: 100%;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 0;
}

.contact-form button:hover { opacity: 0.9; }

/* ===== NAVIGATOR SEKCJI ===== */

.page-indicator {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
}

.page-indicator-dot {
  width: 10px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.35);
  padding: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
}

.page-indicator-dot:hover {
  background: rgba(255,255,255,0.6);
  transform: translateX(-2px);
}

.page-indicator-dot.is-active {
  background: #ffffff;
  border-color: #000000;
}

/* ===== TABLETY / MOBILE ≤ 768px ===== */

@media (max-width: 768px) {

  section.page {
    padding: 16px;
  }

  .section-start {
    position: static;
  }

  .start-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo {
    position: static;
    transform: none;
    margin-bottom: 40px;
    text-align: center;
  }

  .nav-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    text-align: center;
  }

  .nav-row a {
    align-self: center;
  }

  .start-arrow-wrap {
    justify-content: center;
    margin-top: 20px;
  }

  .section-about .top-bar h2:last-child {
    display: none;
  }

  .about-inner h2 {
    font-size: 32px;
    margin-bottom: 12px;
    letter-spacing: 0.16em;
  }

  .about-inner h1 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .about-inner p {
    font-size: 14px;
    line-height: 1.5;
  }

  .section-contact .top-bar h2:last-child {
    display: none;
  }

  .contact-topline {
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
  }

  .contact-form textarea {
    min-height: 110px;
  }

  .bottom-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .bottom-bar {
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }

  .page-indicator {
    display: none;
  }
}

/* ===== MOBILE ≤ 480px ===== */

@media (max-width: 480px) {

  .section-start .nav-row {
    align-items: center;
    text-align: center;
  }

  .section-start .nav-row a {
    align-self: center;
  }

  .section-start .start-arrow-wrap {
    justify-content: center;
  }

  .about-inner h2 {
    font-size: 28px;
    max-width: 260px;
    margin: 0 auto 12px;
    line-height: 1.2;
  }

  .about-inner p {
    font-size: 13px;
  }

  .contact-topline {
    font-size: 11px;
  }

  .bottom-inner {
    gap: 4px;
  }
}
