:root {
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #161616;
  color: #EDEDED;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

a { color: #D8D8D8; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #F0F0F0; }
::selection { background: #D8D8D8; color: #161616; }

@keyframes fadeInLightbox { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CURSOR */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(237,237,237,0.6);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
}
@media (hover: none) { #cursor { display: none; } }

/* SCROLL PROGRESS */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: #EDEDED;
  z-index: 50;
  width: 0%;
  transition: width 0.1s linear;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237,237,237,0.08);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #EDEDED;
  text-decoration: none;
}
.nav-links { display: flex; gap: 36px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.nav-link { color: rgba(237,237,237,0.55); }
.nav-link.active { color: #EDEDED; }
.nav-cta {
  background: #D8D8D8;
  color: #161616;
  padding: 11px 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta:hover { color: #161616; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: -10% -5%;
  will-change: transform;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 55%, #161616 96%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw 90px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B8B8B8;
  margin-bottom: 22px;
  overflow: hidden;
}
.hero-tag-line { width: 30px; height: 2px; background: #B8B8B8; display: inline-block; }
#hero-tag-text {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: inline-block;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.98;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 900px;
  overflow: hidden;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s, transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
#hero-line-2 { transition-delay: 0.25s; }
.hero-side {
  max-width: 320px;
  padding-bottom: 12px;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}
.hero-desc { font-size: 17px; line-height: 1.6; color: rgba(237,237,237,0.85); margin: 0 0 24px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D8D8D8;
  color: #161616;
  padding: 16px 30px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
}
.btn-primary:hover { transform: translateY(-2px); color: #161616; }

/* body.ready triggers hero entrance */
body.ready #hero-tag-text,
body.ready .hero-side { opacity: 1; transform: translateY(0); }
body.ready .hero-line { opacity: 1; transform: translateY(0); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 6vw;
  animation: floatSlow 2.2s ease-in-out infinite;
  color: rgba(237,237,237,0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 2;
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-bottom: 1px solid rgba(237,237,237,0.08);
  border-top: 1px solid rgba(237,237,237,0.08);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(237,237,237,0.35);
  padding: 0 28px;
  display: inline-block;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(237,237,237,0.08);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid rgba(237,237,237,0.08);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-value { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 700; color: #D8D8D8; }
.stat-label { font-size: 13px; color: rgba(237,237,237,0.55); margin-top: 6px; letter-spacing: 0.02em; }

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-img-wrap {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}
#about-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 6vw;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D8D8D8;
  margin-bottom: 18px;
}
.eyebrow-center { text-align: center; }
.section-title {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.1;
}
.section-title-center { text-align: center; }
.about-p { font-size: 18px; line-height: 1.75; color: rgba(237,237,237,0.75); margin: 0 0 20px; max-width: 480px; }
.about-badges { display: flex; gap: 40px; margin-top: 20px; }
.about-badge-value { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; }
.about-badge-label { font-size: 13px; color: rgba(237,237,237,0.5); margin-top: 4px; }

body.about-visible .about-content { opacity: 1; transform: translateY(0); }
body.about-visible #about-img { transform: scale(1); }

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #161616;
}
.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  cursor: none;
  transition: transform 0.15s ease-out, opacity 0.7s ease, filter 0.15s ease-out;
  will-change: transform;
  opacity: 0;
  filter: grayscale(1);
}
@media (hover: none) { .gallery-item { cursor: pointer; } }
body.gallery-visible .gallery-item { opacity: 1; filter: grayscale(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.94);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  cursor: zoom-out;
  animation: fadeInLightbox 0.25s ease;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox button {
  position: absolute;
  top: 28px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237,237,237,0.25);
  background: rgba(237,237,237,0.06);
  color: #EDEDED;
  font-size: 20px;
  cursor: pointer;
}

/* OFFER */
.offer { padding: 110px 6vw; max-width: 1280px; margin: 0 auto; }
.offer-inner { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
body.offer-visible .offer-inner { opacity: 1; transform: translateY(0); }
.offer-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 56px; flex-wrap: wrap; gap: 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  border: 1px solid rgba(237,237,237,0.12);
  border-radius: 6px;
  padding: 40px 32px;
  background: #1E1E1E;
  color: #EDEDED;
  position: relative;
  transition: transform 0.12s ease-out, box-shadow 0.3s ease;
  will-change: transform;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.plan-highlight {
  background: #D8D8D8;
  color: #161616;
  border-color: #D8D8D8;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.plan-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: #D8D8D8;
  color: #161616;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
}
.plan-name { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.plan-subtitle { font-size: 14px; opacity: 0.6; margin-bottom: 24px; }
.plan-price { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 700; margin-bottom: 24px; }
.plan-divider { height: 1px; background: rgba(237,237,237,0.12); margin-bottom: 24px; }
.plan-divider-dark { background: rgba(0,0,0,0.2); }
.plan-features { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.plan-features li { opacity: 0.85; }
.plan-btn {
  display: block;
  text-align: center;
  background: transparent;
  color: #EDEDED;
  border: 1px solid rgba(237,237,237,0.3);
  padding: 15px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
}
.plan-btn:hover { color: #EDEDED; }
.plan-btn-dark { background: #161616; color: #EDEDED; border-color: #161616; }
.plan-btn-dark:hover { color: #EDEDED; }

/* REVIEWS */
.reviews { background: #1C1C1C; padding: 110px 6vw; }
.reviews-inner { max-width: 720px; margin: 0 auto; opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
body.reviews-visible .reviews-inner { opacity: 1; transform: translateY(0); }
.reviews-inner .section-title { margin-bottom: 48px; }
.reviews-carousel { position: relative; }
.reviews-viewport { overflow: hidden; border-radius: 6px; }
.reviews-track { display: flex; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.review-card {
  flex: 0 0 100%;
  background: #262626;
  padding: 40px 44px;
  border: 1px solid rgba(237,237,237,0.08);
  border-radius: 6px;
  box-sizing: border-box;
  min-height: 160px;
  text-align: center;
}
.review-text {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(237,237,237,0.88);
  margin: 0 0 20px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.review-name { font-weight: 600; font-size: 14px; color: #B8B8B8; letter-spacing: 0.02em; }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; }
.review-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237,237,237,0.2);
  background: transparent;
  color: #EDEDED;
  font-size: 18px;
  cursor: none;
  transition: background 0.2s ease;
}
@media (hover: none) { .review-arrow { cursor: pointer; } }
.review-arrow:hover { background: rgba(237,237,237,0.08); }
.review-dots { display: flex; gap: 10px; }
.review-dots button {
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(237,237,237,0.25);
  cursor: pointer;
  padding: 0;
  width: 8px;
  transition: all 0.3s ease;
}
.review-dots button.active { width: 24px; background: #D8D8D8; }

/* CONTACT */
.contact { padding: 110px 6vw 70px; max-width: 640px; margin: 0 auto; }
.contact-inner { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
body.contact-visible .contact-inner { opacity: 1; transform: translateY(0); }
.contact-desc { font-size: 17px; color: rgba(237,237,237,0.6); margin: 0 0 40px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 16px;
  border: 1px solid rgba(237,237,237,0.15);
  border-radius: 3px;
  background: #1E1E1E;
  color: #EDEDED;
  font-size: 15px;
  font-family: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form select { cursor: pointer; }
.contact-form select:invalid { color: rgba(237,237,237,0.45); }

.rodo-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(237,237,237,0.6);
  cursor: pointer;
}
.rodo-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #D8D8D8;
  cursor: pointer;
}
.rodo-consent a { color: rgba(237,237,237,0.75); text-decoration: underline; }
.rodo-consent a:hover { color: #F0F0F0; }
.btn-submit {
  background: #D8D8D8;
  color: #161616;
  padding: 17px;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  font-size: 16px;
  cursor: none;
  font-family: inherit;
  transition: transform 0.2s ease;
}
@media (hover: none) { .btn-submit { cursor: pointer; } }
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(237,237,237,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(237,237,237,0.4);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(237,237,237,0.4); }

.form-note {
  font-size: 13px;
  color: rgba(237,237,237,0.55);
  margin-top: 4px;
}
.form-error {
  font-size: 13px;
  color: #E88;
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-side { max-width: none; }
  .about { grid-template-columns: 1fr; }
  .about-img-wrap { min-height: 380px; }
  .gallery { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid rgba(237,237,237,0.08); }
  .contact-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* OFFER - CATEGORY LAYOUT (cennik 2026 v2, wizualne grupowanie) */
.offer-category {
  background: rgba(237,237,237,0.025);
  border: 1px solid rgba(237,237,237,0.08);
  border-radius: 10px;
  padding: 36px 40px 40px;
  margin-bottom: 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.offer-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(237,237,237,0.12);
}
.offer-category-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; margin: 0; }
.offer-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(237,237,237,0.1);
  padding: 4px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}
.offer-category-note { font-size: 13px; opacity: 0.55; white-space: nowrap; }

.price-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.price-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(237,237,237,0.035);
  border: 1px solid rgba(237,237,237,0.09);
  border-radius: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.price-row:hover { border-color: rgba(237,237,237,0.22); background: rgba(237,237,237,0.06); }
.price-row-name { font-size: 15px; line-height: 1.45; }
.price-row-sub { display: block; font-size: 13px; opacity: 0.55; margin-top: 6px; }
.price-row-value {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  text-align: left;
  padding-top: 14px;
  border-top: 1px solid rgba(237,237,237,0.08);
}
.price-row-per { display: block; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; opacity: 0.5; margin-top: 3px; }

.offer-includes { font-size: 14px; opacity: 0.6; margin-top: 20px; line-height: 1.6; max-width: 80ch; }

.plans-3 { margin-top: 4px; }
.plan-price-unit { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400; opacity: 0.55; }

.offer-flagship {
  position: relative;
  background: #D8D8D8;
  color: #161616;
  border-radius: 10px;
  padding: 44px 40px;
  margin-top: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.offer-flagship-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: #161616;
  color: #EDEDED;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}
.offer-flagship-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.offer-flagship-title { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; margin: 0; max-width: 520px; }
.offer-flagship-price { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; white-space: nowrap; }
.offer-flagship-desc { font-size: 15px; line-height: 1.65; max-width: 640px; opacity: 0.85; margin: 0 0 24px; }
.offer-flagship-btn { display: inline-block; width: auto; padding: 14px 28px; }

.offer-footnote { font-size: 12.5px; opacity: 0.45; margin-top: 40px; }

@media (max-width: 900px) {
  .offer-category { padding: 28px 22px 32px; margin-bottom: 24px; }
  .offer-category-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .offer-flagship { padding: 36px 24px; }
  .offer-flagship-top { flex-direction: column; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #1E1E1E;
  border-top: 1px solid rgba(237,237,237,0.12);
  box-shadow: 0 -12px 30px rgba(0,0,0,0.35);
  padding: 22px 6vw;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-banner-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237,237,237,0.75);
  max-width: 640px;
  margin: 0;
}
.cookie-banner-text a { color: rgba(237,237,237,0.9); text-decoration: underline; }
.cookie-banner-text a:hover { color: #F0F0F0; }
.cookie-banner-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid rgba(237,237,237,0.25);
  background: transparent;
  color: #EDEDED;
  cursor: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
@media (hover: none) { .cookie-btn { cursor: pointer; } }
.cookie-btn:hover { transform: translateY(-2px); }
.cookie-btn-accept { background: #D8D8D8; color: #161616; border-color: #D8D8D8; }
@media (max-width: 640px) {
  .cookie-banner { padding: 18px 20px; flex-direction: column; align-items: stretch; }
  .cookie-banner-buttons { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* PRICE RANGE (widelki zamiast cennika szczegolowego) */
.price-range {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 22px 24px;
  background: rgba(237,237,237,0.035);
  border: 1px solid rgba(237,237,237,0.09);
  border-radius: 6px;
}
.price-range-figure { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; white-space: nowrap; }
.price-range-note { font-size: 13px; opacity: 0.55; }
@media (max-width: 640px) {
  .price-range { padding: 18px 20px; }
  .price-range-figure { font-size: 24px; }
}
