:root {
  --bg: #f1ede4;
  --bg-2: #e9e3d6;
  --ink: #171512;
  --muted: #6f6759;
  --line: #d8d0bf;
  --brass: #b98a2e;
  --brass-soft: #c9b98f;
  --green: #1d5741;
  --green-deep: #10362a;
  --pad: clamp(1.2rem, 4vw, 4rem);
  --wrap: 1800px;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--brass); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--pad);
  background: #f1ede4d9;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--brass); }

.nav-cta a {
  color: var(--green);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 0.15rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ---------- hero ---------- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--pad) 0;
}

.hero h1 { text-transform: uppercase; }

.h1-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--brass);
  margin-bottom: 1.6rem;
}
.h1-kicker::before {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 2px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 1rem;
}

.h1-line {
  display: block;
  font-size: clamp(1.9rem, 5.4vw, 5rem);
  letter-spacing: -0.01em;
}
.h1-line em { font-style: normal; color: var(--green); }

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.hero .lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--green); color: #fff; }

.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.hero-strip figure:nth-child(even) { transform: translateY(clamp(1.2rem, 3vw, 2.8rem)); }
.hero-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--green-deep);
  padding: 1.05rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e7ddc8;
  white-space: nowrap;
}
.marquee i { color: var(--brass); font-style: normal; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7.5rem) var(--pad) 0;
}

.section-head { margin-bottom: clamp(2rem, 5vh, 3.2rem); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); text-transform: uppercase; }
.section-sub { color: var(--muted); margin-top: 0.6rem; font-size: 1.05rem; }

/* ---------- split (poznaj / o nas) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.split-side { position: sticky; top: 96px; }
.split-side h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); text-transform: uppercase; }

.big-p {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}
.split-main > p { color: var(--muted); margin-bottom: 1.3rem; }
.split-main strong { color: var(--ink); font-weight: 800; }
.big-p strong { color: var(--green); }

.faq { margin-top: 2.6rem; border-bottom: 1px solid var(--ink); }

.faq details { border-top: 1px solid var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.6rem 1.15rem 0;
  position: relative;
  font-weight: 800;
  font-size: 1.04rem;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--brass);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq details p { padding: 0 0 1.3rem; color: var(--muted); max-width: 95%; }

/* ---------- why ---------- */

.why {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin-top: clamp(3rem, 7vh, 5rem);
}
.why li {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
.why strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.why span { color: var(--muted); font-size: 0.94rem; }

/* ---------- mosaic gallery ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(7rem, 11vw, 11rem);
  grid-auto-flow: dense;
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
}

.mosaic figure { grid-row: span 2; }
.mosaic .m-tall { grid-row: span 4; }
.mosaic .m-wide { grid-column: span 2; }

.mosaic button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-2);
}

.mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic button:hover img { transform: scale(1.05); }

.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, #171512cc);
  color: #f3efe6;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s;
}
.mosaic button:hover figcaption,
.mosaic button:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .mosaic figcaption { opacity: 1; } }

/* ---------- video ---------- */

.section-video {
  background: var(--green-deep);
  margin-top: clamp(4rem, 10vh, 7.5rem);
  padding: clamp(3.5rem, 8vh, 6rem) 0;
}
.section-video .section-head { padding: 0 var(--pad); max-width: var(--wrap); margin-inline: auto; }
.section-video h2 { color: #f3efe6; }
.section-video .section-sub { color: #b9cfc2; }

.video-row {
  display: flex;
  gap: clamp(0.9rem, 1.4vw, 1.4rem);
  overflow-x: auto;
  padding: 0.4rem var(--pad) 0.8rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: #ffffff44 transparent;
}

.video-card {
  flex: 0 0 min(62vw, 250px);
  scroll-snap-align: start;
}
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0a241b;
  border-radius: 8px;
}
.video-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #b9cfc2;
}

/* ---------- o nas ---------- */

.onas-photo { margin-top: 1.8rem; }
.onas-photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
}

.onas-points {
  list-style: none;
  margin: 1.8rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}
.onas-points li {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 0.75rem 1.8rem;
  position: relative;
  font-weight: 700;
}
.onas-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--brass);
}

.onas-cert { max-width: 260px; }
.onas-cert img { border-radius: 8px; }
.onas-cert figcaption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- kontakt ---------- */

.kontakt {
  background: var(--ink);
  margin-top: clamp(4rem, 10vh, 7.5rem);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
  text-align: center;
}

.kontakt .eyebrow { color: var(--brass-soft); }
.kontakt h2 {
  color: #f3efe6;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.kontakt-lead { color: #a89f8e; max-width: 40rem; margin: 0 auto 2.8rem; }

.kontakt-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 8.5vw, 7rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--brass);
  transition: color 0.25s, transform 0.2s;
}
.kontakt-phone:hover { color: #e7ddc8; transform: scale(1.02); }

.kontakt-area { margin-top: 2.4rem; font-size: 0.86rem; font-weight: 600; color: #a89f8e; }

/* ---------- footer ---------- */

.site-footer {
  overflow: hidden;
  padding: clamp(2rem, 5vh, 3.5rem) var(--pad) 1.6rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 10.5vw, 11rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px #b98a2e55;
  margin-bottom: 1.8rem;
  user-select: none;
}

/* ---------- lightbox ---------- */

.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: min(92vw, 900px);
  max-height: 92vh;
}
.lightbox::backdrop { background: #171512e0; backdrop-filter: blur(6px); }
.lightbox img {
  max-height: 88vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}
.lightbox-close {
  position: fixed;
  top: 0.8rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffffff22;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: #ffffff3a; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.hero-strip.reveal { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .mosaic img, .btn, .kontakt-phone { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .site-nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px #17151233;
    display: none;
  }
  .site-nav ul.open { display: flex; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav ul a { display: block; padding: 1rem var(--pad); }
  .nav-cta a { border-bottom: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-side { position: static; }
  .onas-photo { max-width: 380px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip figure:nth-child(4) { display: none; }
}

@media (max-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 8rem; }
  .why { grid-template-columns: 1fr; }
  .video-row { padding-inline: 5vw; }
}
