/* =========================
   ZMIENNE
========================= */

:root {
  --black: #000;
  --dark: #050505;
  --card: #090909;
  --white: #fff;
  --gray: #aaa;

  --red: #ff1f1f;
  --red-hover: #d60000;

  --border: #222;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik";
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: white;
  text-decoration: none;
}

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

img,
svg {
  max-width: 100%;
}

/* =========================
   NAVBAR
========================= */

nav {
  position: sticky;

  top: 0;

  z-index: 10000;

  line-height: normal;

  background: rgba(0, 0, 0, 0.95);

  backdrop-filter: blur(10px);

  border-bottom: 2px solid #ff1f1f;
}

.pionowa-linia {
  border-left: 1.5px solid #ff1f1f;
  height: 50px;
  margin: 0 10px;
}

.center-info:hover {
  color: #ff1f1f;
}

.nav-container {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 2%;
}
.logo {
  font-size: 28px;

  font-weight: 800;

  letter-spacing: 1px;
}

.nav-right {
  display: flex;

  align-items: center;

  gap: 20px;
}

/* MENU */

.dropdown {
  position: relative;
}

.menu-btn {
  background: #111;

  color: white;

  border: 1px solid #333;

  padding: 12px 20px;

  border-radius: 12px;

  cursor: pointer;

  transition: 0.3s;
}

.menu-btn:hover {
  border-color: #ff1f1f;
}

.dropdown-content {
  display: none;

  position: absolute;

  right: 0;

  top: 120%;

  width: 240px;

  background: #080808;

  border: 1px solid #222;

  border-radius: 15px;

  overflow: hidden;

  z-index: 10001;
}

.dropdown-content a {
  display: block;

  padding: 15px 20px;

  color: white;

  text-decoration: none;
}

.dropdown-content a:hover {
  background: #ff1f1f;
}

.dropdown.active .dropdown-content {
  display: block;
}

/* =========================
   KOSZYK
========================= */

.menu-cart {
  color: white;
  font-size: 1rem;
  font-weight: 500;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 0;
  background: none;
  border: none;

  transition: 0.3s;
}

.menu-cart:hover {
  color: var(--red);
}

#cart-count {
  background: var(--red);

  color: white;

  font-size: 0.75rem;

  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

/* =========================
   MENU ROZWIJANE
========================= */

.nav-right {
  display: flex;

  align-items: center;

  gap: 15px;
}

.dropdown {
  position: relative;
}

.menu-btn {
  background: #111;

  color: white;

  border: 1px solid #333;

  padding: 12px 18px;

  border-radius: 12px;

  cursor: pointer;

  transition: 0.3s;
}

.menu-btn:hover {
  border-color: #ff1f1f;
}

.dropdown-content {
  position: absolute;

  top: 110%;

  right: 0;

  min-width: 250px;

  background: #080808;

  border: 1px solid #222;

  border-radius: 15px;

  overflow: hidden;

  display: none;

  z-index: 10001;
}

.dropdown-content a {
  display: block;

  padding: 15px 20px;

  color: white;

  text-decoration: none;

  transition: 0.3s;
}

.dropdown-content a:hover {
  background: #111;

  color: #ff1f1f;
}

.dropdown-content .mobile-nav-link {
  display: none;
}

.dropdown.active .dropdown-content {
  display: block;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 60vh;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2000");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  position: relative;

  font-size: clamp(2.8rem, 7vw, 5rem);

  margin-bottom: 20px;
}

.hero p {
  position: relative;

  color: var(--gray);

  font-size: 1.2rem;
}

/* =========================
   PLANY
========================= */

.plans {
  padding: 100px 8%;
}

.plans-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 35px;
}

.plan-card {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 25px;

  padding: 40px;

  text-align: center;

  transition: 0.35s;

  position: relative;

  overflow: hidden;
}

.plan-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(120deg, rgba(255, 0, 0, 0.12), transparent);

  opacity: 0;

  transition: 0.35s;
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card:hover {
  transform: translateY(-12px);

  border-color: var(--red);

  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2);
}

.price {
  color: var(--red);

  font-size: 3rem;

  font-weight: 800;

  margin: 25px 0;
}

.plan-description {
  color: var(--gray);

  margin-bottom: 30px;
}

/* =========================
   PORÓWNANIA I PAKIETY
========================= */

.comparison-section,
.package-section {
  padding: 100px 8%;
  background: #050505;
}

.package-section {
  background: var(--black);
}

.comparison-heading {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.comparison-heading span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.comparison-heading p {
  margin-top: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.comparison-table-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #080808;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--white);
  background: #0f0f0f;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.comparison-table td {
  color: #cfcfcf;
  line-height: 1.55;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  width: 220px;
  color: var(--white);
  font-weight: 900;
}

.package-grid {
  width: min(1180px, 100%);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #080808;
}

.package-card.is-featured {
  border-color: rgba(255, 31, 31, 0.7);
  box-shadow: 0 20px 60px rgba(255, 31, 31, 0.18);
  transform: translateY(-10px);
}

.package-card h3 {
  font-size: 2rem;
}

.package-price {
  margin: 18px 0;
  color: var(--red);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
}

.package-card p {
  color: var(--gray);
  line-height: 1.65;
}

.package-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
  color: #d8d8d8;
  line-height: 1.45;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.package-card .btn {
  margin-top: auto;
}

/* =========================
   BUTTONY
========================= */

.btn {
  display: inline-block;

  width: 100%;

  padding: 16px;

  border: none;

  cursor: pointer;

  background: var(--red);

  color: white;

  border-radius: 12px;

  font-weight: 700;

  transition: 0.3s;
}

.btn:hover {
  background: var(--red-hover);

  transform: scale(1.03);
}

/* =========================
   FAQ
========================= */

#faq {
  padding: 100px 8%;
}

#faq h2,
#contact h2 {
  text-align: center;

  font-size: 3rem;

  margin-bottom: 50px;
}

.faq-item {
  border-bottom: 1px solid var(--border);

  padding: 25px 0;
}

.question {
  display: flex;

  justify-content: space-between;

  font-weight: 700;

  cursor: pointer;
}

.question span:last-child {
  color: var(--red);
}

.answer {
  margin-top: 15px;

  color: var(--gray);
}

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

#contact {
  padding: 100px 8%;
}

form {
  max-width: 600px;

  margin: auto;

  display: flex;

  flex-direction: column;

  gap: 15px;
}

input,
textarea {
  background: #111;

  border: 1px solid var(--border);

  padding: 18px;

  color: white;

  border-radius: 10px;
}

input:focus,
textarea:focus {
  outline: none;

  border-color: var(--red);
}

/* =========================
   KOSZYK
========================= */

.cart-page {
  padding: 100px 8%;
}

.cart-page h1 {
  text-align: center;

  font-size: 3rem;

  margin-bottom: 50px;
}

.cart-item {
  background: var(--card);

  border: 1px solid var(--border);

  padding: 25px;

  border-radius: 20px;

  display: flex;

  justify-content: space-between;

  margin-bottom: 20px;
}

.cart-item p {
  color: var(--red);

  font-weight: 700;
}

/* =========================
   STOPKA
========================= */

footer {
  padding: 40px;

  text-align: center;

  color: #777;

  border-top: 1px solid var(--border);

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 16px;

  flex-wrap: wrap;
}

.footer-instagram,
.footer-facebook {
  width: 38px;

  height: 38px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 1px solid #333;

  border-radius: 50%;

  color: white;

  transition: 0.3s;
}

.footer-instagram:hover,
.footer-facebook:hover {
  border-color: var(--red);

  color: var(--red);

  transform: translateY(-2px);
}

.footer-instagram svg,
.footer-facebook svg {
  width: 20px;

  height: 20px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;
}

.footer-facebook svg {
  fill: currentColor;

  stroke: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  nav {
    flex-direction: column;

    gap: 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  #faq h2,
  #contact h2 {
    font-size: 2rem;
  }

  .cart-item {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }
}

/* =========================
   NAPRAWA KLIKALNOŚCI
========================= */

button,
.btn,
.add-cart {
  position: relative;

  z-index: 20;

  cursor: pointer;

  pointer-events: auto;
}

.plan-card,
.plans,
.plans-grid {
  position: relative;

  z-index: 5;
}

.hero::before {
  pointer-events: none;
}

.remove-btn {
  background: #1a1a1a;

  color: white;

  border: none;

  padding: 12px 25px;

  border-radius: 10px;

  cursor: pointer;

  transition: 0.3s;
}

.remove-btn:hover {
  background: #ff1f1f;
}

.cart-total {
  margin-top: 40px;

  text-align: right;
}

.cart-toast {
  position: fixed;

  bottom: 98px;

  right: 24px;

  width: max-content;

  max-width: calc(100vw - 48px);

  background: #ff1f1f;

  color: white;

  padding: 15px 25px;

  border-radius: 10px;

  z-index: 2147483100;

  font-weight: 600;
}

@media (max-width: 600px) {
  .cart-toast {
    right: 16px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 32px);
  }
}

.cart-info h3 {
  margin-bottom: 8px;
}

.cart-info p {
  color: #ff1f1f;
}

/* =========================
   SELECT - FORMULARZ PROWADZENIA
========================= */

select {
  width: 100%;

  background: #111;

  color: white;

  border: 1px solid #222;

  padding: 18px;

  border-radius: 12px;

  font-size: 16px;

  cursor: pointer;

  transition: 0.3s;

  appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #ff1f1f 50%),
    linear-gradient(135deg, #ff1f1f 50%, transparent 50%);

  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 15px) 22px;

  background-size:
    7px 7px,
    7px 7px;

  background-repeat: no-repeat;
}

select:hover {
  border-color: #ff1f1f;
}

select:focus {
  outline: none;

  border-color: #ff1f1f;

  box-shadow: 0 0 20px rgba(255, 31, 31, 0.25);
}

select option {
  background: #050505;

  color: white;

  padding: 15px;
}

/* formularz PROWANIEDZIA premium */

#order-form {
  max-width: 700px;

  margin: auto;

  background: #080808;

  padding: 40px;

  border-radius: 25px;

  border: 1px solid #222;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#order-form input,
#order-form textarea,
#order-form select {
  margin-bottom: 5px;
}

#order-form textarea {
  min-height: 140px;

  resize: none;
}

#order-form input::placeholder,
#order-form textarea::placeholder {
  color: #777;
}

/* =========================
   KOSZYK PREMIUM
========================= */

.cart-page {
  min-height: calc(100vh - 84px);
  padding: 90px 8% 110px;
  background:
    linear-gradient(135deg, rgba(255, 31, 31, 0.08), transparent 34%),
    linear-gradient(180deg, #000 0%, #050505 55%, #000 100%);
}

.cart-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cart-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.cart-eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-heading h1 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.cart-heading p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 28px;
  align-items: start;
}

.cart-panel,
.summary-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.cart-panel {
  padding: 28px;
  border-radius: 24px;
}

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.cart-panel-head h2 {
  display: block;
  font-size: 1.5rem;
}

.cart-panel-head h2::after {
  display: none;
}

.cart-panel-head p {
  margin-top: 6px;
  color: var(--gray);
  font-size: 0.95rem;
}

.clear-cart-btn,
.remove-btn,
.quantity-btn {
  border: 1px solid var(--border);
  background: #111;
  color: var(--white);
  cursor: pointer;
  transition: 0.25s;
}

.clear-cart-btn {
  flex: 0 0 auto;
  min-width: 142px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.clear-cart-btn:hover,
.remove-btn:hover,
.quantity-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.is-hidden {
  display: none !important;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #0d0d0d 0%, #070707 100%);
  transition: 0.25s;
}

.cart-item:hover {
  border-color: rgba(255, 31, 31, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(255, 31, 31, 0.12);
}

.cart-product-mark {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 31, 31, 0.48);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #140606;
  color: var(--red);
  font-weight: 900;
}

.cart-info h3 {
  margin: 5px 0 8px;
  font-size: 1.22rem;
}

.cart-info p {
  color: var(--gray);
  font-weight: 600;
}

.cart-item-type {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-controls {
  display: grid;
  grid-template-columns: auto minmax(96px, auto) auto;
  gap: 14px;
  align-items: center;
}

.quantity-control {
  display: grid;
  grid-template-columns: 40px 44px 40px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #050505;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-value {
  min-width: 44px;
  text-align: center;
  font-weight: 900;
}

.cart-line-total {
  min-width: 96px;
  color: var(--red);
  font-size: 1.18rem;
  font-weight: 900;
  text-align: right;
}

.remove-btn {
  min-width: 76px;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.summary-box {
  position: sticky;
  top: 108px;
  padding: 28px;
  border-radius: 24px;
}

.summary-label {
  color: var(--gray);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-price {
  margin-top: 10px;
  color: var(--red);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--gray);
}

.summary-row strong {
  color: var(--white);
}

.summary-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--border);
}

.summary-total {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.summary-total strong {
  color: var(--red);
}

.summary-btn {
  margin-top: 26px;
  text-align: center;
}

.summary-link {
  display: block;
  margin-top: 16px;
  color: var(--gray);
  font-weight: 800;
  text-align: center;
  transition: 0.25s;
}

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

body.checkout-modal-open {
  overflow: hidden;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.checkout-modal.is-open {
  display: flex;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.checkout-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(88vh, 860px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #070707;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.checkout-dialog h2 {
  display: block;
  padding-right: 46px;
  font-size: 1.65rem;
}

.checkout-dialog h2::after {
  display: none;
}

.checkout-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.checkout-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.checkout-products {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.checkout-product {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.checkout-product-quantity {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.checkout-product-details {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.checkout-product-details strong {
  color: var(--white);
  line-height: 1.3;
}

.checkout-product-details span {
  color: var(--gray);
  font-size: 0.88rem;
}

.checkout-product-price {
  color: var(--white);
  white-space: nowrap;
}

.checkout-total-box {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--border);
}

.checkout-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #101010;
}

.checkout-total-box span {
  color: var(--gray);
}

.checkout-total-box strong {
  color: var(--white);
}

.checkout-form {
  max-width: none;
  margin-top: 22px;
  gap: 18px;
}

.checkout-field {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--white);
  font-weight: 800;
}

.checkout-field b,
.checkout-consent-row b {
  color: var(--red);
}

.checkout-field input {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
}

.checkout-newsletter {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ddd;
  line-height: 1.45;
}

.checkout-newsletter input,
.checkout-consent-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--red);
}

.checkout-pay-btn {
  margin-top: 0;
}

.checkout-consents {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.checkout-consent-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checkout-consent-row strong {
  color: var(--white);
  line-height: 1.35;
}

.checkout-consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ddd;
  line-height: 1.45;
}

.checkout-status {
  min-height: 22px;
  color: #8cffb5;
  font-weight: 800;
  line-height: 1.5;
}

.checkout-status.is-error {
  color: #ff9d9d;
}

.checkout-email-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 22000;
  width: min(560px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(140, 255, 181, 0.38);
  border-radius: 12px;
  background: rgba(9, 28, 17, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  color: #eafff1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -16px);
  backdrop-filter: blur(14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.checkout-email-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.checkout-email-toast-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(140, 255, 181, 0.16);
  color: #8cffb5;
  font-size: 1.15rem;
  font-weight: 900;
}

.checkout-email-toast p {
  margin: 0;
  font-weight: 800;
  line-height: 1.45;
}

.transfer-dialog {
  width: min(680px, 100%);
}

.transfer-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.transfer-intro {
  max-width: 560px;
  margin-top: 10px;
  color: var(--gray);
  line-height: 1.6;
}

.transfer-details {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.transfer-detail {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.transfer-detail:last-child {
  border-bottom: none;
}

.transfer-label {
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 700;
}

.transfer-detail strong {
  min-width: 0;
  color: var(--white);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.transfer-copy {
  width: 72px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #393939;
  border-radius: 6px;
  background: #111;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.transfer-copy:hover {
  border-color: var(--red);
  color: var(--red);
}

.transfer-checklist {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.transfer-checklist li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.transfer-checklist li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.transfer-checklist p {
  padding-top: 4px;
  color: #e8e8e8;
  line-height: 1.5;
}

.transfer-checklist strong {
  color: var(--white);
  overflow-wrap: anywhere;
}

.transfer-notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: #101010;
  color: #d0d0d0;
  line-height: 1.6;
}

.transfer-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 20px;
}

.transfer-back,
.transfer-done {
  width: 100%;
  margin: 0;
}

.transfer-back {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #393939;
  border-radius: 6px;
  background: #111;
  color: var(--white);
  font-weight: 800;
}

.transfer-back:hover {
  border-color: var(--red);
  color: var(--red);
}

.transfer-copy-status {
  min-height: 22px;
  margin-top: 10px;
  color: #8cffb5;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.empty-cart {
  display: grid;
  justify-items: center;
  min-height: 360px;
  padding: 54px 24px;
  border: 1px dashed rgba(255, 31, 31, 0.42);
  border-radius: 18px;
  background: #070707;
  text-align: center;
}

.empty-cart-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 31, 31, 0.5);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
  background: #120505;
}

.empty-cart h2 {
  display: block;
  margin-top: 22px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.empty-cart h2::after {
  display: none;
}

.empty-cart p {
  max-width: 520px;
  margin-top: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.empty-cart-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.empty-cart-actions .btn {
  width: auto;
  min-width: 180px;
}

.empty-link {
  color: var(--gray);
  font-weight: 800;
  transition: 0.25s;
}

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

@media (max-width: 980px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .summary-box {
    position: static;
  }
}

@media (max-width: 720px) {
  .cart-page {
    padding: 64px 5% 80px;
  }

  .cart-panel,
  .summary-box {
    padding: 20px;
    border-radius: 18px;
  }

  .cart-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .clear-cart-btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    min-height: auto;
    padding: 18px;
  }

  .cart-product-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .cart-controls {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quantity-control {
    width: 100%;
    grid-template-columns: 44px 1fr 44px;
  }

  .quantity-btn {
    width: 44px;
  }

  .cart-line-total {
    min-width: 0;
    text-align: left;
  }

  .remove-btn {
    width: 100%;
  }

  .empty-cart-actions {
    width: 100%;
    flex-direction: column;
  }

  .empty-cart-actions .btn,
  .empty-link {
    width: 100%;
    text-align: center;
  }

  .checkout-modal {
    align-items: flex-start;
    padding: 14px;
  }

  .checkout-dialog {
    max-height: calc(100vh - 28px);
    padding: 22px;
  }

  .checkout-product {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .checkout-product-price {
    grid-column: 2;
    text-align: left;
  }

  .checkout-field,
  .checkout-consent-row {
    grid-template-columns: 1fr;
  }

  .transfer-detail {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px 12px;
    padding: 14px 0;
  }

  .transfer-label {
    grid-column: 1 / -1;
  }

  .transfer-detail strong {
    font-size: 0.92rem;
  }

  .transfer-notice {
    padding: 14px;
  }

  .transfer-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.is-featured {
    transform: none;
  }
}

/* =========================
   FINALNY SZLIF PODSTRON
========================= */

.plan-card,
.cart-panel,
.summary-box,
.cart-item,
.empty-cart,
#order-form {
  border-radius: 8px;
}

.plan-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  border-radius: 8px;
}

.plan-card::before {
  border-radius: 8px;
}

.hero h1,
.cart-heading h1 {
  letter-spacing: 0;
}

.section-title {
  display: block;
  margin-bottom: 38px;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

footer {
  background: #000;
}

form .btn,
#order-form .btn {
  margin-top: 8px;
}

textarea {
  resize: vertical;
}

@media (max-width: 560px) {
  .nav-container {
    gap: 14px;
    flex-direction: column;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-content {
    right: auto;
    left: 0;
    width: min(88vw, 290px);
  }

  .plans {
    padding: 72px 5%;
  }

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

  .plan-card {
    min-height: auto;
    padding: 28px;
  }

  .price {
    font-size: 2.45rem;
  }

  .comparison-section,
  .package-section {
    padding: 72px 5%;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 16px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .package-card.is-featured {
    transform: none;
  }
}

/* =========================
   KALKULATORY I WARIANTY
========================= */

.calculator-section {
  padding: 90px 8%;
  background: #050505;
}

.calculator-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.calculator-heading span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calculator-heading h2 {
  display: block;
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.calculator-heading h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.calculator-heading p {
  margin-top: 28px;
  color: var(--gray);
  line-height: 1.7;
}

.calculator-card {
  width: min(980px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #080808;
  gap: 20px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
}

.calculator-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: #ddd;
  font-size: 0.9rem;
  font-weight: 800;
}

.calculator-grid input,
.calculator-grid select {
  width: 100%;
  min-height: 56px;
  margin-top: 0;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1;
}

.calculator-grid input {
  appearance: textfield;
}

.calculator-grid input::-webkit-inner-spin-button,
.calculator-grid input::-webkit-outer-spin-button {
  margin: 0;
}

.calculator-result {
  max-width: 980px;
  margin: 22px auto 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #080808;
  color: var(--gray);
}

.activity-guide {
  max-width: 980px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.activity-guide article {
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: #080808;
}

.activity-guide h3 {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 1rem;
}

.activity-guide p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.55;
}

.activity-heading {
  max-width: 980px;
  margin: 32px auto 18px;
  text-align: center;
}

.activity-heading h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.activity-heading p {
  margin-top: 8px;
  color: var(--gray);
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.result-grid div {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #050505;
}

.result-grid span {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 1.7rem;
}

.result-grid p {
  margin-top: 8px;
  color: var(--gray);
}

.calculator-warning {
  margin-top: 16px;
  color: #ffb3b3;
  font-weight: 700;
}

.calculator-next {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.calculator-next h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.calculator-next p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--gray);
  line-height: 1.6;
}

.calculator-cta {
  width: auto;
  margin-top: 20px;
}

.diet-note .calculator-cta {
  display: block;
  width: min(320px, 100%);
  margin: 0 auto;
  text-align: center;
}

.diet-card .plan-description {
  min-height: 78px;
}

.compact-diet-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.diet-card {
  min-height: 300px;
  padding: 26px;
}

.diet-card .price {
  font-size: 2.25rem;
}

/* Smaller menu */
.menu-btn {
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 10px;
}

.dropdown-content a {
  font-size: 0.88rem;
  padding: 12px 16px;
}

.menu-cart {
  font-size: 0.9rem;
}

/* Diet survey */
.survey-section {
  padding: 100px 8%;
  background: var(--black);
}

.survey-heading {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.survey-heading span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.survey-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.survey-heading p {
  margin-top: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.survey-form {
  width: min(1100px, 100%);
  max-width: none;
  display: grid;
  gap: 22px;
}

.survey-form fieldset {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  background: #080808;
}

.survey-form legend {
  padding: 0 10px;
  color: var(--red);
  font-weight: 900;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.survey-form label,
.full-label {
  display: grid;
  gap: 8px;
  color: #ddd;
  font-size: 0.9rem;
  font-weight: 800;
}

.survey-form textarea {
  min-height: 120px;
  resize: vertical;
}

.full-label {
  margin-top: 18px;
}

.survey-questions {
  display: grid;
  gap: 14px;
}

.conditional-question {
  border: 1px solid #171717;
  border-radius: 8px;
  padding: 16px;
  background: #050505;
}

.question-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.question-row span {
  color: #eee;
  font-weight: 800;
}

.radio-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--gray);
}

.radio-row input {
  width: auto;
  padding: 0;
  accent-color: var(--red);
}

.conditional-field {
  display: none;
  width: 100%;
  margin-top: 14px;
}

.conditional-field.is-visible {
  display: block;
}

.survey-status {
  min-height: 24px;
  color: #ffb3b3;
  font-weight: 800;
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #ffb3b3;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.is-success {
  color: #8cffb5;
}

.form-status.is-error {
  color: #ffb3b3;
}

.form-honey {
  display: none !important;
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.survey-disclaimers {
  width: min(1100px, 100%);
  margin: 28px auto 0;
  padding: 24px;
  border: 1px solid rgba(255, 31, 31, 0.35);
  border-radius: 8px;
  background: #080808;
}

.survey-disclaimers h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.25rem;
}

.survey-disclaimers details {
  border-top: 1px solid var(--border);
}

.survey-disclaimers details:first-of-type {
  border-top: none;
}

.survey-disclaimers summary {
  padding: 16px 0;
  color: #f2f2f2;
  font-weight: 900;
  cursor: pointer;
}

.survey-disclaimers summary::marker {
  color: var(--red);
}

.survey-disclaimers p {
  padding: 0 0 16px 20px;
  color: var(--gray);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .calculator-grid,
  .result-grid,
  .activity-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .question-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .calculator-section {
    padding: 72px 5%;
  }

  .calculator-grid,
  .result-grid,
  .activity-guide {
    grid-template-columns: 1fr;
  }

  .calculator-card,
  .calculator-result {
    padding: 20px;
  }

  .calculator-cta {
    width: 100%;
    text-align: center;
  }

  .survey-section {
    padding: 72px 5%;
  }

  .survey-form fieldset {
    padding: 20px;
  }

  .survey-disclaimers {
    padding: 20px;
  }

  .survey-disclaimers p {
    padding-left: 0;
  }
}

/* =========================
   RESPONSYWNOŚĆ TABLET + TELEFON
========================= */

input,
textarea,
select,
button {
  max-width: 100%;
}

.comparison-table-wrap {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1180px) {
  .nav-container {
    gap: 16px;
    padding: 14px 4%;
  }

  .center-info,
  .pionowa-linia {
    display: none;
  }

  .dropdown-content .mobile-nav-link {
    display: block;
  }

  .logo {
    flex: 0 0 auto;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    white-space: nowrap;
  }

  .nav-right {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: clamp(420px, 58vh, 620px);
    padding: 72px 5%;
  }

  .plans,
  .comparison-section,
  .package-section,
  #faq,
  #contact,
  .calculator-section,
  .survey-section {
    padding: 76px 5%;
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .plan-card,
  .package-card {
    padding: 28px;
  }

  #order-form {
    width: min(700px, 100%);
    padding: 30px;
  }

  footer {
    padding-inline: 5%;
  }
}

@media (max-width: 620px) {
  .container {
    width: 92%;
  }

  .nav-container {
    width: 100%;
    min-height: 64px;
    flex-direction: row;
    gap: 8px;
    padding: 10px 4%;
  }

  .logo {
    font-size: clamp(1.12rem, 5vw, 1.35rem);
    letter-spacing: 0.02em;
  }

  .nav-right {
    width: auto;
    gap: 8px;
    justify-content: flex-end;
  }

  .menu-btn {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .menu-cart {
    gap: 4px;
    font-size: 0.8rem;
  }

  #cart-count {
    width: 19px;
    height: 19px;
    font-size: 0.7rem;
  }

  .dropdown-content {
    right: 0;
    left: auto;
    width: min(88vw, 290px);
  }

  .hero {
    min-height: 380px;
    padding: 64px 5%;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 11vw, 2.75rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .plans,
  .comparison-section,
  .package-section,
  #faq,
  #contact,
  .calculator-section,
  .survey-section {
    padding: 64px 4%;
  }

  .plans-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .package-card {
    min-height: auto;
    padding: 24px;
  }

  .package-card h3 {
    font-size: 1.65rem;
  }

  .price {
    font-size: 2.35rem;
  }

  .section-title,
  #faq h2,
  #contact h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .comparison-heading h2,
  .survey-heading h2,
  .calculator-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px;
    font-size: 0.88rem;
  }

  #order-form,
  .calculator-card,
  .calculator-result,
  .survey-form fieldset,
  .survey-disclaimers {
    padding: 20px;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 14px 18px;
    text-align: center;
  }

  .question {
    gap: 16px;
  }

  .question-row {
    gap: 12px;
  }

  .radio-row {
    gap: 10px 16px;
  }

  .cart-heading h1 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .checkout-modal {
    padding: 8px;
  }

  .checkout-dialog {
    max-height: calc(100dvh - 16px);
    padding: 18px;
  }

  .checkout-close {
    top: 12px;
    right: 12px;
  }

  .checkout-email-toast {
    top: 12px;
    width: calc(100% - 24px);
    align-items: flex-start;
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  footer {
    padding: 32px 5%;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 1.02rem;
  }

  .menu-btn {
    padding-inline: 9px;
  }

  .menu-cart {
    font-size: 0;
  }

  .menu-cart::before {
    content: "🛒";
    font-size: 1rem;
  }

  #cart-count {
    font-size: 0.7rem;
  }
}

@media (hover: none) {
  .card:hover,
  .plan-card:hover,
  .package-card.is-featured,
  .cart-item:hover,
  .btn:hover {
    transform: none;
  }
}

/* =========================
   SUBTELNY SYSTEM ANIMACJI
========================= */

:root {
  --smooth-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-enabled .reveal-on-scroll {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.68s var(--smooth-ease) var(--reveal-delay, 0ms),
    translate 0.68s var(--smooth-ease) var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.motion-enabled .reveal-on-scroll.is-revealed {
  opacity: 1;
  translate: 0 0;
}

.btn,
.menu-btn,
.menu-cart,
.dropdown-content a,
.footer-instagram,
.footer-facebook,
.quantity-btn,
.remove-btn,
.clear-cart-btn,
.checkout-close,
input,
textarea,
select {
  transition-duration: 0.25s;
  transition-timing-function: var(--smooth-ease);
}

button:active,
.btn:active,
.menu-cart:active,
.quantity-btn:active {
  scale: 0.98;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 31, 31, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 31, 31, 0.1);
}

@media (hover: hover) {
  .btn:hover,
  .menu-btn:hover,
  .quantity-btn:hover,
  .checkout-close:hover {
    box-shadow: 0 10px 28px rgba(255, 31, 31, 0.16);
  }

  .menu-cart:hover,
  .dropdown-content a:hover {
    translate: 0 -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-enabled .reveal-on-scroll {
    opacity: 1;
    translate: none;
  }

}

/* =========================
   WSPÓLNY WYGLĄD PODSTRON
========================= */

:root {
  --subpage-surface: #080808;
  --subpage-surface-light: #101010;
  --subpage-border: rgba(255, 255, 255, 0.11);
  --subpage-muted: #b7b7b7;
}

body {
  background: #030303;
}

.hero {
  isolation: isolate;
  min-height: clamp(500px, 68svh, 700px);
  justify-content: flex-start;
  padding: clamp(88px, 10vw, 132px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--subpage-border);
  background:
    radial-gradient(circle at 79% 30%, rgba(255, 31, 31, 0.19), transparent 27%),
    radial-gradient(circle at 16% 84%, rgba(255, 31, 31, 0.08), transparent 24%),
    #030303;
  text-align: left;
}

.hero::before {
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  background-position: center;
  mask-image: linear-gradient(to right, black, transparent 76%);
}

.hero > div {
  position: relative;
  z-index: 1;
  width: min(1180px, 90%);
  margin: 0 auto;
  padding-right: clamp(320px, 35vw, 470px);
}

.hero > div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: min(34vw, 420px);
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 31, 31, 0.1), transparent 45%),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 61px,
      rgba(255, 255, 255, 0.07) 62px,
      transparent 63px
    ),
    #090909;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    44px 18px 90px rgba(255, 31, 31, 0.13);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.3vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 700px;
  color: #c8c8c8;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.plans,
.comparison-section,
.package-section,
#faq,
#contact,
.calculator-section,
.survey-section {
  padding-top: clamp(88px, 9vw, 118px);
  padding-bottom: clamp(88px, 9vw, 118px);
  border-top: 1px solid var(--subpage-border);
}

.plans,
.calculator-section,
#faq {
  background: #050505;
}

.package-section,
.comparison-section,
.survey-section,
#contact {
  background: #030303;
}

.plans-grid,
.package-grid {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
  gap: 20px;
  align-items: stretch;
}

.comparison-heading,
.calculator-heading,
.survey-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.comparison-heading span,
.calculator-heading span,
.survey-heading span {
  letter-spacing: 0.14em;
}

.comparison-heading h2,
.calculator-heading h2,
.survey-heading h2,
.section-title,
#faq h2,
#contact h2 {
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.comparison-heading p,
.calculator-heading p,
.survey-heading p {
  color: var(--subpage-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.plan-card,
.package-card,
.calculator-card,
.calculator-result,
.activity-guide article,
.survey-form fieldset,
.survey-disclaimers,
.cart-panel,
.summary-box,
.cart-item,
.empty-cart,
#order-form {
  border: 1px solid var(--subpage-border);
  border-radius: 14px;
  background: linear-gradient(145deg, #0b0b0b, #050505);
}

.plan-card,
.package-card {
  padding: 34px;
  text-align: left;
}

.plan-card {
  height: 100%;
}

.plans > .plan-card {
  width: min(820px, 100%);
  min-height: auto;
  margin: 0 auto;
}

.package-card {
  transition:
    translate 0.25s var(--smooth-ease, ease),
    border-color 0.25s var(--smooth-ease, ease);
}

.plan-card:hover,
.package-card:hover {
  transform: none;
  translate: 0 -6px;
  border-color: rgba(255, 31, 31, 0.5);
  box-shadow: none;
}

.plan-card::before {
  border-radius: 14px;
}

.package-card.is-featured {
  border-color: rgba(255, 31, 31, 0.48);
  background:
    linear-gradient(150deg, rgba(255, 31, 31, 0.11), transparent 48%),
    #080808;
  box-shadow: none;
}

.plan-description,
.package-card p,
.package-card li {
  color: var(--subpage-muted);
  line-height: 1.7;
}

.btn {
  min-height: 52px;
  border-radius: 8px;
  padding: 15px 22px;
}

.btn:hover {
  transform: translateY(-2px);
}

.comparison-table-wrap {
  border-color: var(--subpage-border);
  border-radius: 14px;
  background: var(--subpage-surface);
}

.comparison-table th {
  background: var(--subpage-surface-light);
}

.calculator-card,
.calculator-result,
.survey-form fieldset,
.survey-disclaimers,
#order-form {
  padding: 30px;
}

.calculator-grid input,
.calculator-grid select,
.survey-form input,
.survey-form textarea,
.survey-form select,
#order-form input,
#order-form textarea,
#order-form select {
  border-color: var(--subpage-border);
  border-radius: 8px;
  background: var(--subpage-surface-light);
}

.conditional-question,
.result-grid div {
  border-color: var(--subpage-border);
  border-radius: 10px;
  background: #070707;
}

#faq > * {
  width: min(900px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--subpage-border);
  border-bottom: 1px solid var(--subpage-border);
  border-radius: 12px;
  background: var(--subpage-surface);
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.cart-page {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 31, 31, 0.15), transparent 27%),
    linear-gradient(180deg, #030303 0%, #050505 58%, #030303 100%);
}

.cart-heading h1 {
  letter-spacing: -0.05em;
}

.cart-panel,
.summary-box {
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.42);
}

@media (max-width: 900px) {
  .hero {
    min-height: 480px;
    padding: 96px 0;
    text-align: center;
  }

  .hero > div {
    padding-right: 0;
  }

  .hero > div::after {
    display: none;
  }

  .hero h1,
  .hero p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 410px;
    padding: 82px 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .plans,
  .comparison-section,
  .package-section,
  #faq,
  #contact,
  .calculator-section,
  .survey-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .comparison-heading,
  .calculator-heading,
  .survey-heading {
    margin-bottom: 40px;
  }

  .plan-card,
  .package-card,
  .calculator-card,
  .calculator-result,
  .survey-form fieldset,
  .survey-disclaimers,
  #order-form {
    padding: 22px;
  }

  .faq-item {
    padding: 20px;
  }
}

/* Pakiety planów — plan jednorazowy i prowadzenie okresowe */

.package-card {
  overflow: visible;
}

.package-card--silver {
  --package-accent: #b8c0cd;
  --package-accent-rgb: 184 192 205;
  --package-button-text: #090a0c;
}

.package-card--gold {
  --package-accent: #d7a532;
  --package-accent-rgb: 215 165 50;
  --package-button-text: #0b0903;
}

.package-card--platinum {
  --package-accent: #e1d5b6;
  --package-accent-rgb: 225 213 182;
  --package-button-text: #0a0906;
}

.package-card.package-card--silver,
.package-card.package-card--gold,
.package-card.package-card--platinum {
  border-color: rgb(var(--package-accent-rgb) / 0.42);
  background:
    linear-gradient(
      145deg,
      rgb(var(--package-accent-rgb) / 0.1),
      transparent 48%
    ),
    #080808;
  box-shadow: 0 20px 56px rgb(var(--package-accent-rgb) / 0.06);
}

.package-card.package-card--silver:hover,
.package-card.package-card--gold:hover,
.package-card.package-card--platinum:hover {
  border-color: rgb(var(--package-accent-rgb) / 0.68);
}

.package-tier {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
  color: #818181;
  font-size: clamp(0.82rem, 0.9vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.package-card .package-tier strong {
  color: var(--package-accent);
}

.package-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
}

.package-card .package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 15px 0 18px;
}

.package-card .package-price strong {
  color: var(--white);
  font-size: clamp(2.25rem, 3.7vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.package-card .package-price-value::before {
  content: attr(data-monthly-price) " zł";
}

.package-card .package-price small {
  color: #8c8c8c;
  font-size: 0.88rem;
  font-weight: 600;
}

.package-card .package-intro {
  min-height: 82px;
  margin: 0;
}

.package-duration {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 24px 0 4px;
  padding: 4px;
  border: 1px solid #292929;
  border-radius: 10px;
  background: #050505;
}

.package-duration .duration-option {
  min-width: 0;
  min-height: 42px;
  padding: 9px 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #969696;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.package-duration .duration-option:hover {
  color: var(--white);
}

.package-duration .duration-option.is-active {
  border-color: rgb(var(--package-accent-rgb) / 0.72);
  background: rgb(var(--package-accent-rgb) / 0.14);
  color: var(--package-accent);
}

.package-duration .duration-option:focus-visible {
  outline: 2px solid var(--package-accent);
  outline-offset: 2px;
}

.package-purchase-mode {
  display: flex;
  min-height: 52px;
  align-items: center;
  margin: 24px 0 4px;
  padding: 0 16px;
  border: 1px solid #292929;
  border-radius: 10px;
  color: #b5b5b5;
  background: #050505;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card--silver .package-purchase-mode {
  border-color: rgb(var(--package-accent-rgb) / 0.3);
  color: var(--package-accent);
  background: rgb(var(--package-accent-rgb) / 0.035);
}

.package-period-benefit {
  display: flex;
  min-height: 26px;
  align-items: center;
  margin: 14px 0 0;
  color: var(--package-accent);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.package-period-benefit::before {
  content: none;
}

.package-card .package-benefits {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.package-card .package-benefits li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  align-items: start;
  padding: 0;
  border: 0;
  line-height: 1.5;
}

.package-card .package-benefits li:first-child {
  border: 0;
}

.package-card .package-benefits li::before {
  content: "✓";
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-top: 0.03em;
  color: var(--package-accent);
  background: none;
  font-size: 0.98rem;
  font-weight: 900;
}

.package-card-footer {
  margin-top: auto;
  padding-top: 8px;
}

.package-total {
  display: flex;
  min-height: 72px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 18px;
  border: 0;
}

.package-total span {
  max-width: 130px;
  color: #8c8c8c;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.package-total strong {
  color: var(--package-accent);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.package-card .package-card-footer .btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  background: var(--package-accent);
  color: var(--package-button-text);
}

.package-card .package-card-footer .btn:hover {
  background: var(--package-accent);
  filter: brightness(1.08);
}

@media (max-width: 1120px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    width: min(760px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .package-card.is-featured {
    transform: none;
  }
}

@media (max-width: 420px) {
  .package-card .package-intro {
    min-height: auto;
  }
}

/* FAQ jak na stronie głównej */

#faq {
  background: #050505;
}

#faq > * {
  width: min(900px, 100%);
}

#faq .faq-item {
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid #222;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

#faq .faq-item + .faq-item {
  margin-top: 0;
}

#faq .question {
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

#faq .question span:last-child {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.3rem;
}

#faq .answer {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #aaa;
  transition: max-height 0.4s var(--smooth-ease, ease);
}

#faq .answer p {
  padding-top: 15px;
  line-height: 1.7;
}

/* Dostępne FAQ na podstronach */

#faq .faq-heading {
  text-align: center;
}

#faq .faq-heading > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#faq .faq-heading h2 {
  margin: 0 0 16px;
}

#faq .faq-heading p {
  max-width: 650px;
  margin: 0 auto 48px;
  color: #aaa;
  line-height: 1.7;
}

#faq .faq-list details {
  border-bottom: 1px solid #222;
}

#faq .faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

#faq .faq-list summary::-webkit-details-marker {
  display: none;
}

#faq .faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--red);
  font-size: 1.3rem;
  transform: translateY(-50%);
}

#faq .faq-list details[open] summary::after {
  content: "−";
}

#faq .faq-list summary:focus-visible {
  outline: 2px solid rgba(255, 31, 31, 0.85);
  outline-offset: 5px;
}

#faq .faq-list details p {
  max-width: 780px;
  padding: 0 0 25px;
  color: #aaa;
  line-height: 1.7;
}

.cart-heading h1 {
  text-align: left;
}

@media (max-width: 560px) {
  #faq .faq-heading p {
    margin-bottom: 36px;
  }

  #faq .faq-list summary {
    padding: 22px 40px 22px 0;
  }
}
