:root {
  --black: #080808;
  --black-soft: #101010;
  --white: #ffffff;
  --off-white: #f4f2f6;
  --gray: #a4a0aa;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 8, 8, 0.14);
  --purple: #6f2cff;
  --purple-dark: #4c0fc8;
  --purple-light: #a77bff;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--purple);
  color: var(--white);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-light {
  background: var(--off-white);
  color: var(--black);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--purple);
}

.section-heading {
  max-width: 950px;
}

.section-heading h2,
.testimonials-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.section-heading h2 em,
.testimonials-heading h2 em {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

/* Nagłówek jest celowo ukryty na początku i pojawia się po scrollu. */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 28px), 1320px);
  min-height: 76px;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  opacity: 0;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, calc(-100% - 28px));
  backdrop-filter: blur(18px);
  transition:
    opacity 420ms var(--ease),
    transform 620ms var(--ease);
  pointer-events: none;
}

.site-header.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 48px;
  object-fit: contain;
  transition: transform 280ms var(--ease);
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.04);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.7rem);
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--purple);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  padding: 0.95rem 1.25rem;
  border-radius: 11px;
  background: var(--purple);
  font-size: 0.76rem;
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: #7d43ff;
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(111, 44, 255, 0.12), transparent 25%),
    linear-gradient(135deg, #fff 0%, #f2eff6 55%, #e9e5ed 100%);
  color: var(--black);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 1px, transparent 1px);
  background-size: 90px 90px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  min-height: 100svh;
  padding-block: 72px 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
}

.hero-eyebrow {
  margin-bottom: 1.8rem;
}

.hero-copy h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(4rem, 7.8vw, 8.4rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.83;
  text-transform: uppercase;
}

.hero-copy h1 em {
  display: inline-block;
  margin-left: clamp(0px, 3vw, 56px);
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.87em;
  font-weight: 400;
  text-transform: none;
  transform: rotate(-2deg);
}

.hero-lead {
  max-width: 610px;
  margin: 2.6rem 0 0;
  color: #4b4750;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 850;
  transition:
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--black);
  color: var(--white);
}

.button-primary:hover {
  background: var(--purple);
}

.button-ghost {
  border-color: rgba(8, 8, 8, 0.22);
  color: var(--black);
}

.button-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  color: #6d6870;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual-wrap {
  position: relative;
  align-self: stretch;
  min-height: 720px;
}

.hero-visual {
  position: absolute;
  inset: 7% 0 0 8%;
  z-index: 2;
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0)
    rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
  will-change: transform;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 46% 46% 24px 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(42, 17, 83, 0.22);
}

.hero-photo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(111, 44, 255, 0.1), transparent 28%);
  content: "";
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.photo-caption {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(111, 44, 255, 0.28);
  border-radius: 50%;
}

.hero-ring-one {
  top: 9%;
  right: -34%;
  width: 740px;
  aspect-ratio: 1;
}

.hero-ring-two {
  top: 19%;
  right: -17%;
  width: 520px;
  aspect-ratio: 1;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.floating-card-top {
  top: 19%;
  left: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.floating-card-bottom {
  right: -6%;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card-bottom strong {
  color: var(--purple-light);
  font-size: 1.4rem;
}

.pulse-dot {
  width: 8px;
  aspect-ratio: 1;
  margin-top: 2px;
  border-radius: 50%;
  background: #a98aff;
  box-shadow: 0 0 0 0 rgba(169, 138, 255, 0.55);
  animation: pulse 2s infinite;
}

.scroll-cue {
  position: absolute;
  right: 2.2rem;
  bottom: 1.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #5f5a64;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right;
}

.scroll-cue i {
  position: relative;
  width: 55px;
  height: 1px;
  overflow: hidden;
  background: rgba(8, 8, 8, 0.2);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--purple);
  content: "";
  animation: scrollLine 2s var(--ease) infinite;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--purple);
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
  animation: marquee 28s linear infinite;
}

.ticker span {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.ticker i {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--black);
}

/* O mnie */
.about {
  padding: 10rem 0 8rem;
}

.about .section-heading {
  max-width: 1040px;
}

.bmi-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 6.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(167, 123, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 5% 90%, rgba(111, 44, 255, 0.26), transparent 34%),
    #111;
}

.bmi-card::after {
  position: absolute;
  top: -190px;
  left: -160px;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(167, 123, 255, 0.3);
  border-radius: 50%;
  content: "";
}

.bmi-copy,
.bmi-form {
  position: relative;
  z-index: 1;
}

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

.bmi-index {
  color: var(--purple-light);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bmi-kicker {
  margin: 2.4rem 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmi-copy h3 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.bmi-copy h3 em {
  color: var(--purple-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.bmi-copy > p:last-child {
  max-width: 510px;
  margin: 1.7rem 0 0;
  color: #99939f;
  font-size: 0.9rem;
  line-height: 1.75;
}

.bmi-form {
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border-radius: 20px;
  background: var(--off-white);
  color: var(--black);
}

.bmi-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.bmi-fields label > span:first-child {
  display: block;
  margin: 0 0 0.55rem 0.2rem;
  color: #625d66;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bmi-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(8, 8, 8, 0.14);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.bmi-input-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(111, 44, 255, 0.12);
}

.bmi-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 850;
}

.bmi-input-wrap input::placeholder {
  color: #c2bdc5;
}

.bmi-input-wrap i {
  padding-right: 1rem;
  color: #8a848e;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.bmi-error {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: #b72b5b;
  font-size: 0.72rem;
  font-weight: 700;
}

.bmi-submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 11px;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.bmi-submit:hover,
.bmi-submit:focus-visible {
  background: var(--purple);
  transform: translateY(-2px);
}

.bmi-result {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(111, 44, 255, 0.25);
  border-radius: 14px;
  background: #fff;
  animation: resultIn 420ms var(--ease) both;
}

.bmi-result[hidden] {
  display: none;
}

.bmi-score {
  display: flex;
  min-height: 135px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--purple);
  color: var(--white);
}

.bmi-score span {
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bmi-score strong {
  margin-top: 0.35rem;
  font-size: 2.7rem;
  letter-spacing: -0.07em;
}

.bmi-result-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.bmi-status {
  color: var(--purple);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bmi-result-copy h4 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.bmi-result-copy p {
  margin: 0 0 0.75rem;
  color: #706a73;
  font-size: 0.75rem;
  line-height: 1.5;
}

.bmi-result-copy a {
  display: inline-flex;
  gap: 0.65rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--purple);
  font-size: 0.7rem;
  font-weight: 850;
}

.bmi-result.is-normal .bmi-score {
  background: #1b8165;
}

.bmi-result.is-warning .bmi-score {
  background: #b45b2f;
}

.bmi-result.is-high .bmi-score {
  background: #9e3153;
}

.bmi-disclaimer {
  margin: 0.9rem 0 0;
  color: #8a848e;
  font-size: 0.62rem;
  line-height: 1.55;
}

.bmi-disclaimer a {
  color: var(--purple-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(4rem, 9vw, 9rem);
  margin-top: 7rem;
}

.about-intro {
  color: #bbb7c0;
  font-size: 1rem;
  line-height: 1.85;
}

.about-intro p {
  margin: 0 0 1.25rem;
}

.about-intro .about-kicker {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--purple);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link span {
  color: var(--purple-light);
}

.values-list {
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.value-number {
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.value-row h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.value-row p {
  max-width: 590px;
  margin: 0;
  color: #918c96;
  line-height: 1.7;
}

/* Metoda */
.method {
  padding: 9rem 0 5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 5rem;
}

.step-card {
  position: relative;
  min-height: 470px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 8, 8, 0.16);
  border-radius: 22px;
  background: #17131f;
  color: var(--white);
  transition:
    transform 350ms var(--ease),
    box-shadow 350ms var(--ease);
}

.step-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms var(--ease);
}

.step-card:hover > img {
  transform: scale(1.07);
}

.step-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 4, 7, 0.96) 0%, rgba(7, 5, 10, 0.5) 55%, rgba(8, 5, 12, 0.14) 100%),
    linear-gradient(135deg, rgba(111, 44, 255, 0.14), transparent 50%);
}

.step-vignette-purple {
  background:
    linear-gradient(to top, rgba(43, 9, 103, 0.96) 0%, rgba(77, 24, 165, 0.58) 50%, rgba(8, 5, 12, 0.12) 100%),
    linear-gradient(135deg, rgba(111, 44, 255, 0.44), transparent 55%);
}

.step-card:hover {
  z-index: 1;
  box-shadow: 0 28px 70px rgba(24, 10, 46, 0.12);
  transform: translateY(-10px) rotate(-1deg);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.28);
  color: #88828e;
  font-size: 0.72rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.step-content {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.step-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  letter-spacing: -0.045em;
}

.step-card p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Cennik */
.pricing {
  padding: 9rem 0;
}

.pricing-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 4rem;
}

.pricing-heading > p {
  max-width: 440px;
  margin: 0 0 0.7rem;
  color: #67616c;
  line-height: 1.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 5rem;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 10, 46, 0.04);
  transition:
    border-color 260ms ease,
    transform 350ms var(--ease),
    box-shadow 350ms var(--ease);
}

.price-card:hover {
  border-color: rgba(111, 44, 255, 0.42);
  box-shadow: 0 28px 64px rgba(24, 10, 46, 0.11);
  transform: translateY(-8px);
}

.price-card-featured {
  border-color: var(--purple);
  background: var(--black);
  color: var(--white);
}

.price-card-diet {
  background: linear-gradient(150deg, #f0eafd, #fff 58%);
}

.featured-label {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 0 20px 0 12px;
  background: var(--purple);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-index {
  display: block;
  margin-bottom: 2.3rem;
  color: var(--purple);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card-featured .price-index {
  color: var(--purple-light);
}

.price-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  letter-spacing: -0.05em;
}

.price-card-head p {
  min-height: 68px;
  margin: 0.75rem 0 0;
  color: #77717c;
  font-size: 0.85rem;
  line-height: 1.6;
}

.price-card-featured .price-card-head p {
  color: #aaa4ae;
}

.price {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin: 2rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.price-card-featured .price {
  border-color: var(--line);
}

.price strong {
  font-size: clamp(2.65rem, 4vw, 4rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.price span {
  color: #77717c;
  font-size: 0.65rem;
  font-weight: 750;
  line-height: 1.4;
}

.price-card-featured .price span {
  color: #aaa4ae;
}

.price-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.45rem;
  color: #56515a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.price-card li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  width: 14px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  content: "✓";
  font-size: 0.55rem;
  font-weight: 900;
}

.price-card-featured li {
  color: #c3bec7;
}

.price-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: auto;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 850;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.price-button span {
  color: var(--purple);
  font-size: 1.1rem;
}

.price-button:hover,
.price-button:focus-visible {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}

.price-button:hover span,
.price-button:focus-visible span {
  color: var(--white);
}

.price-card-featured .price-button {
  border-color: rgba(255, 255, 255, 0.22);
}

/* Opinie */
.testimonials {
  padding: 9rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.testimonials-heading h2 {
  font-size: clamp(3.3rem, 6vw, 6rem);
}

.testimonials-heading > p:not(.eyebrow) {
  max-width: 520px;
  margin: 2rem 0 0;
  color: #8f8993;
  font-size: 0.9rem;
  line-height: 1.75;
}

.slider-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.slider-controls button {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  border-color: var(--purple);
  background: var(--purple);
  transform: scale(1.05);
}

.review-shell {
  position: relative;
  min-height: 510px;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(167, 123, 255, 0.22), transparent 35%),
    #111;
}

.review-shell::after {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 200px;
  aspect-ratio: 1;
  border: 1px solid rgba(167, 123, 255, 0.34);
  border-radius: 50%;
  content: "";
}

.quote-mark {
  position: absolute;
  top: 0.3rem;
  right: 2rem;
  color: rgba(111, 44, 255, 0.25);
  font-family: Georgia, serif;
  font-size: 12rem;
  line-height: 1;
}

.review-label {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(167, 123, 255, 0.36);
  border-radius: 999px;
  color: var(--purple-light);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.review-shell blockquote {
  position: relative;
  z-index: 1;
  max-width: 720px;
  min-height: 190px;
  margin: 3rem 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.review-shell.is-changing blockquote,
.review-shell.is-changing .review-meta {
  opacity: 0;
  transform: translateY(8px);
}

.review-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.review-index {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(167, 123, 255, 0.45);
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.review-meta > div:last-child strong,
.review-meta > div:last-child span {
  display: block;
}

.review-meta > div:last-child strong {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.review-meta > div:last-child span {
  color: #89838d;
  font-size: 0.7rem;
}

.slider-dots {
  position: absolute;
  right: clamp(2rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 5vw, 4.5rem);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #4f4a52;
  cursor: pointer;
  transition:
    width 260ms var(--ease),
    background 260ms ease;
}

.slider-dot.is-active {
  width: 30px;
  background: var(--purple);
}

/* Kontakt */
.contact-section {
  padding: 9rem 0 10rem;
  overflow: hidden;
}

.contact-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 4rem;
}

.contact-heading > p {
  max-width: 500px;
  margin: 0 0 0.7rem;
  color: #918b95;
  line-height: 1.8;
}

.contact-panel {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-top: 5rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background-image:
    linear-gradient(110deg, rgba(4, 3, 6, 0.92) 0%, rgba(5, 3, 8, 0.58) 48%, rgba(31, 10, 60, 0.38) 100%),
    url("assets/tlo_formularz_silownia.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.48);
}

.contact-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(130, 71, 255, 0.28), transparent 33%),
    linear-gradient(to top, rgba(4, 3, 6, 0.8), transparent 55%);
  content: "";
}

.contact-panel::after {
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -170px;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(179, 145, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(111, 44, 255, 0.045);
  content: "";
}

.contact-panel-intro {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  padding: clamp(1rem, 2.4vw, 2.2rem);
}

.panel-index {
  color: var(--purple-light);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel-intro h3 {
  max-width: 360px;
  margin: 2rem 0 1rem;
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.contact-panel-intro > p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.75;
}

.contact-shortcuts {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.contact-shortcuts a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(5, 4, 7, 0.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 220ms var(--ease);
}

.contact-shortcuts a:hover,
.contact-shortcuts a:focus-visible {
  border-color: rgba(167, 123, 255, 0.55);
  background: rgba(111, 44, 255, 0.18);
  transform: translateX(4px);
}

.contact-shortcuts a > span {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(167, 123, 255, 0.32);
  border-radius: 9px;
  background: rgba(111, 44, 255, 0.18);
  color: var(--purple-light);
  font-size: 0.62rem;
  font-weight: 900;
}

.contact-shortcuts strong {
  overflow: hidden;
  color: #e4e0e7;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-shortcuts i {
  color: var(--purple-light);
  font-size: 0.8rem;
  font-style: normal;
}

.contact-form-glass {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055) 48%, rgba(112, 49, 222, 0.1)),
    rgba(17, 13, 22, 0.38);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.34);
}

.contact-form-glass::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.16), transparent 25%),
    radial-gradient(circle at 100% 88%, rgba(111, 44, 255, 0.13), transparent 30%);
  content: "";
  pointer-events: none;
}

.glass-highlight {
  position: absolute;
  top: -90px;
  left: 8%;
  width: 48%;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(45px);
  pointer-events: none;
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.form-heading span,
.form-step {
  color: var(--purple-light);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.form-step {
  flex: 0 0 auto;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(167, 123, 255, 0.35);
  border-radius: 999px;
  background: rgba(111, 44, 255, 0.13);
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.form-section legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-section legend span {
  display: grid;
  width: 28px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.54rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field-wide {
  grid-column: span 2;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.form-field > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  outline: none;
  background: rgba(6, 5, 8, 0.38);
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.form-field input {
  height: 50px;
  padding: 0 0.9rem;
}

.form-field textarea {
  min-height: 108px;
  padding: 0.9rem;
  line-height: 1.55;
  resize: vertical;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(167, 123, 255, 0.78);
  background: rgba(21, 13, 34, 0.6);
  box-shadow: 0 0 0 3px rgba(111, 44, 255, 0.13);
}

.contact-form-glass.was-validated .form-field input:invalid,
.contact-form-glass.was-validated .form-field textarea:invalid {
  border-color: rgba(255, 107, 130, 0.75);
}

.photo-instructions {
  display: grid;
  grid-template-columns: 0.38fr 1.62fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(167, 123, 255, 0.25);
  border-radius: 14px;
  background: rgba(111, 44, 255, 0.1);
}

.photo-instructions strong {
  color: var(--purple-light);
  font-size: 0.7rem;
}

.photo-instructions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.65;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.upload-slot {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 152px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(5, 4, 7, 0.28);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 220ms var(--ease);
}

.upload-slot:hover,
.upload-slot:has(input:focus-visible) {
  border-color: rgba(167, 123, 255, 0.75);
  background: rgba(111, 44, 255, 0.16);
  transform: translateY(-3px);
}

.upload-slot.has-file {
  border-style: solid;
  border-color: rgba(167, 123, 255, 0.68);
  background: rgba(111, 44, 255, 0.19);
}

.contact-form-glass.was-validated .upload-slot:has(input:invalid) {
  border-color: rgba(255, 107, 130, 0.75);
}

.upload-slot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-number {
  position: absolute;
  top: 0.75rem;
  left: 0.8rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.52rem;
  font-weight: 900;
}

.upload-icon {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--purple-light);
  font-size: 1rem;
}

.upload-slot.has-file .upload-icon {
  background: var(--purple);
  color: var(--white);
}

.upload-slot strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-slot small {
  overflow: hidden;
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-slot.has-file small {
  color: var(--purple-light);
}

.form-consent {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-consent input {
  position: absolute;
  opacity: 0;
}

.form-consent > span {
  display: grid;
  width: 22px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(5, 4, 7, 0.38);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.form-consent input:checked + span {
  border-color: var(--purple-light);
  background: var(--purple);
}

.form-consent input:checked + span::after {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  content: "✓";
}

.form-consent:has(input:focus-visible) > span {
  box-shadow: 0 0 0 3px rgba(111, 44, 255, 0.2);
}

.contact-form-glass.was-validated .form-consent:has(input:invalid) > span {
  border-color: rgba(255, 107, 130, 0.8);
}

.form-consent small {
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.61rem;
  line-height: 1.55;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.form-submit-row p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.56rem;
  line-height: 1.45;
}

.form-submit-row p span {
  width: 7px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffbb45;
  box-shadow: 0 0 0 5px rgba(255, 187, 69, 0.1);
}

.form-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 12px;
  background: var(--purple);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(111, 44, 255, 0.28);
  transition:
    background 180ms ease,
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: #7f42ff;
  box-shadow: 0 18px 34px rgba(111, 44, 255, 0.38);
  transform: translateY(-2px);
}

.form-success {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: resultIn 500ms var(--ease) both;
}

.form-success[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 82px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.8rem;
  box-shadow:
    0 0 0 12px rgba(111, 44, 255, 0.12),
    0 20px 45px rgba(111, 44, 255, 0.32);
}

.form-success > p {
  margin: 2rem 0 0.7rem;
  color: var(--purple-light);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-success h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.form-success > span:not(.success-icon) {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.form-success button {
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.form-success button:hover,
.form-success button:focus-visible {
  border-color: var(--purple-light);
  background: rgba(111, 44, 255, 0.2);
}

/* CTA i stopka */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--purple);
  color: var(--white);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
}

.final-cta-glow {
  position: absolute;
  top: -240px;
  right: -120px;
  width: 650px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.04),
    0 0 0 160px rgba(255, 255, 255, 0.03);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.final-cta .eyebrow > span {
  background: var(--white);
}

.final-cta h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.final-cta-inner > p:not(.eyebrow) {
  max-width: 540px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button-white {
  background: var(--white);
  color: var(--black);
}

.button-white:hover {
  background: var(--black);
  color: var(--white);
}

.site-footer {
  padding: 5rem 0 1.5rem;
  background: var(--black);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.55fr 0.55fr 1.4fr;
  align-items: start;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-top > p {
  margin: 0;
  color: #8e8992;
  line-height: 1.6;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.social-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.social-links a span {
  grid-column: 1;
  color: #6f6973;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.social-links a strong {
  grid-column: 1;
  overflow-wrap: anywhere;
  color: #d2cdd5;
  font-size: 0.7rem;
}

.social-links a i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--purple-light);
  font-style: normal;
}

.social-links a:hover {
  border-color: var(--purple);
  background: rgba(111, 44, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: #67626b;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo {
  width: 78px;
  height: 65px;
}

/* Animacje wejścia */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(169, 138, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(169, 138, 255, 0);
  }
}

@keyframes scrollLine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

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

@keyframes resultIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 8.6vw, 7rem);
  }

  .hero-visual-wrap {
    min-height: 650px;
  }

  .hero-visual {
    inset: 12% -10% 2% 0;
  }

  .floating-card-bottom {
    right: -12%;
  }

  .bmi-card {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .testimonials-heading {
    max-width: 780px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 260ms var(--ease);
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    opacity: 0;
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(-10px);
    visibility: hidden;
    transition:
      opacity 220ms ease,
      transform 300ms var(--ease),
      visibility 0s linear 220ms;
  }

  .mobile-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-nav a {
    padding: 1rem 0.7rem;
    border-bottom: 1px solid var(--line);
    color: #d3cfd6;
    font-size: 0.9rem;
    font-weight: 750;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
    color: var(--purple-light);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 14vw, 7rem);
  }

  .hero-lead {
    max-width: 650px;
  }

  .hero-visual-wrap {
    min-height: 670px;
  }

  .hero-visual {
    inset: 4% 12% 0;
  }

  .hero-ring-one {
    right: -10%;
  }

  .hero-ring-two {
    right: 5%;
  }

  .floating-card-top {
    left: 5%;
  }

  .floating-card-bottom {
    right: 3%;
  }

  .scroll-cue {
    display: none;
  }

  .about {
    padding-top: 8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 4.5rem;
  }

  .about-intro {
    max-width: 650px;
  }

  .bmi-card {
    grid-template-columns: 1fr;
  }

  .bmi-copy {
    max-width: 680px;
  }

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

  .step-card {
    min-height: 360px;
    transform: none;
  }

  .contact-heading {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel-intro {
    min-height: auto;
  }

  .contact-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.5rem;
  }

  .form-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .social-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 14px;
  }

  .brand-logo {
    width: 50px;
    height: 42px;
  }

  .hero-grid {
    padding-top: 96px;
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 17vw, 5.7rem);
    line-height: 0.87;
  }

  .hero-copy h1 em {
    margin-left: 0;
  }

  .hero-lead {
    margin-top: 1.8rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-notes {
    display: grid;
    gap: 0.7rem;
  }

  .hero-visual-wrap {
    min-height: 530px;
  }

  .hero-visual {
    inset: 2% 3% 0;
  }

  .hero-photo-frame {
    border-radius: 44% 44% 18px 18px;
  }

  .floating-card {
    padding: 0.75rem;
    font-size: 0.56rem;
  }

  .floating-card-top {
    top: 15%;
    left: 0;
  }

  .floating-card-bottom {
    right: 0;
    bottom: 7%;
  }

  .photo-caption {
    display: none;
  }

  .section-heading h2,
  .testimonials-heading h2 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .about,
  .method,
  .pricing,
  .testimonials,
  .contact-section {
    padding-block: 6.5rem;
  }

  .bmi-card {
    margin-top: 4rem;
    padding: 1.1rem;
    border-radius: 20px;
  }

  .bmi-kicker {
    margin-top: 1.6rem;
  }

  .bmi-fields,
  .bmi-result {
    grid-template-columns: 1fr;
  }

  .bmi-score {
    min-height: 100px;
  }

  .bmi-form {
    padding: 1rem;
  }

  .about-grid,
  .pricing-grid {
    margin-top: 3.5rem;
  }

  .value-row {
    grid-template-columns: 46px 1fr;
    gap: 0.75rem;
  }

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

  .contact-panel {
    margin-top: 3rem;
    padding: 0.55rem;
    border-radius: 22px;
  }

  .contact-panel-intro {
    padding: 1.1rem 1rem 1.8rem;
  }

  .contact-panel-intro h3 {
    margin-top: 1.4rem;
  }

  .contact-shortcuts {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .contact-form-glass {
    padding: 1rem;
    border-radius: 18px;
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
  }

  .form-heading {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .form-step {
    display: none;
  }

  .form-grid-three,
  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .form-field-wide,
  .form-field-full {
    grid-column: auto;
  }

  .photo-instructions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upload-slot {
    min-height: 132px;
    padding: 0.75rem;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }

  .form-success {
    min-height: 520px;
  }

  .price-card {
    min-height: 560px;
  }

  .review-shell {
    min-height: 500px;
    padding: 2rem 1.35rem;
  }

  .review-shell blockquote {
    min-height: 230px;
    margin-top: 2.2rem;
    font-size: 1.55rem;
  }

  .slider-dots {
    right: 1.35rem;
    bottom: 2rem;
  }

  .final-cta-inner {
    min-height: 570px;
  }

  .final-cta h2 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
