/* Yearbook Desktop — wartości z eksportu Figma (node Desktop 38:3466) */

:root {
  --navy: #140064;
  --orange: #f06f13;
  --orange-alt: #ffa05a;
  --violet-text: #3e2993;
  --border-lav: #c4bbe9;
  --pill-bg: #e8e6f0;
  --lavender-section: #f7f5ff;
  --tag-purple-bg: #ece0ef;
  --tag-purple-text: #813394;
  --tag-jak-bg: #ffeee9;
  --tag-jak-text: #cd4c35;
  --trust-blue: #2972b6;
  --trust-blue-bg: rgba(41, 114, 182, 0.15);
  --toggle-bg: rgba(20, 0, 100, 0.1);
  --card-border: #f6f3ff;
  --footer-line: rgba(220, 217, 232, 0.5);
  --white-85: rgba(255, 255, 255, 0.85);
  --page-pad: clamp(16px, 5.5vw, 120px);
  --max: 1920px;
  --section-reveal-distance: 18px;
  --section-reveal-duration: 700ms;
  --section-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Ukryty domyślnie; widoczny tylko przy nawigacji klawiaturą (Tab). */
.skip-link {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: var(--page-pad);
  overflow: visible;
  padding: 0.5rem 0.75rem;
  top: 0.75rem;
  width: auto;
  white-space: normal;
  z-index: 10000;
  background: #fff;
  color: var(--navy);
  font: inherit;
  text-decoration: underline;
  box-shadow: 0 0 0 2px var(--navy);
  border-radius: 4px;
}

@keyframes fig-section-reveal {
  from {
    opacity: 0.01;
    transform: translateY(var(--section-reveal-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fig-hero-intro {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fig-steps-section,
.fig-start-free,
.fig-proof,
.fig-offer,
.fig-faq-form.fig-block,
.fig-cta-last.fig-block,
.fig-footer {
  opacity: 0;
  animation: fig-section-reveal var(--section-reveal-duration) var(--section-reveal-ease) both;
  will-change: opacity, transform;
}

.fig-steps-section {
  animation-delay: 60ms;
}

.fig-start-free {
  animation-delay: 120ms;
}

.fig-proof {
  animation-delay: 160ms;
}

.fig-offer {
  animation-delay: 176ms;
}

.fig-faq-form.fig-block {
  animation-delay: 190ms;
}

.fig-cta-last.fig-block {
  animation-delay: 220ms;
}

.fig-footer {
  animation-delay: 250ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  :root {
    --section-reveal-distance: 6px;
    --section-reveal-duration: 420ms;
  }

  .fig-hero__badge,
  .fig-hero__title,
  .fig-hero__pills,
  .fig-hero__inner .fig-btn--hero,
  .fig-video__frame {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Header Frame 593 —— */
.fig-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  height: 79px;
  padding: 0 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fig-header__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: stretch;
  gap: 24px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(20, 0, 100, 0);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fig-header.is-scrolled {
  background: transparent;
  padding: 8px var(--page-pad) 0;
}

.fig-header.is-scrolled .fig-header__inner {
  height: calc(100% - 8px);
  padding: 0 8px 0 32px;
  border-color: rgba(20, 0, 100, 0.12);
  border-radius: 99px;
  box-shadow: 0 4px 24px rgba(20, 0, 100, 0.08);
}

.fig-header__logo img {
  width: 208px;
  height: 36px;
  object-fit: contain;
}

.fig-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 56px);
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  white-space: nowrap;
  justify-self: center;
}

.fig-header__nav a:hover {
  background: rgba(20, 0, 100, 0.08);
}

.fig-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fig-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  justify-self: end;
}

.fig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.fig-btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.fig-btn--outline:hover {
  background: rgba(20, 0, 100, 0.06);
}

.fig-btn--orange {
  background: var(--orange);
  color: #fff;
}

.fig-btn--orange:hover {
  background: #dc620b;
}

.fig-btn--navy {
  background: var(--navy);
  color: #fff;
}

.fig-btn--navy:hover {
  background: #201080;
}


.fig-btn--hero {
  padding: 16px 20px;
  font-weight: 600;
}

.fig-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.fig-header__burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--navy);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fig-header__burger:hover {
  background: rgba(20, 0, 100, 0.08);
}

.fig-header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fig-header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.fig-header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.fig-mobile-nav {
  display: none;
  position: fixed;
  inset: 79px 0 0;
  background: rgba(8, 0, 39, 0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fig-mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fig-mobile-nav__panel {
  margin-left: auto;
  width: min(300px, 88vw);
  background-color: #fff;
  background-image: url("yearbook assets/tło kropki.svg");
  background-repeat: no-repeat;
  background-position: center 180px;
  background-size: cover;
  height: 100%;
  padding: 52px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.fig-mobile-nav.is-open .fig-mobile-nav__panel {
  transform: translateX(0);
}

.fig-mobile-nav > .fig-mobile-nav__panel > a:not(.fig-btn) {
  color: var(--navy);
  font-size: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 12px;
  text-align: center;
}

.fig-mobile-nav > .fig-mobile-nav__panel > a:not(.fig-btn):hover {
  background: rgba(20, 0, 100, 0.08);
}

.fig-mobile-nav .fig-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
}

.fig-mobile-nav .fig-btn--outline {
  color: var(--navy);
  border-color: rgba(20, 0, 100, 0.45);
}

.fig-mobile-nav .fig-btn--outline:hover {
  background: rgba(20, 0, 100, 0.08);
}

@media (max-width: 1320px) {
  .fig-header {
    height: 72px;
  }

  .fig-mobile-nav {
    inset: 72px 0 0;
  }

  .fig-header.is-scrolled {
    padding: 6px var(--page-pad) 0;
  }

  .fig-header.is-scrolled .fig-header__inner {
    height: calc(100% - 6px);
    padding: 0 8px 0 24px;
  }

  .fig-header__inner {
    gap: 10px;
  }

  .fig-header__logo img {
    width: clamp(148px, 14vw, 208px);
  }

  .fig-header__nav {
    gap: clamp(8px, 1.4vw, 18px);
    font-size: 14px;
  }

  .fig-header__nav a {
    min-height: 34px;
    padding: 0 8px;
  }

  .fig-header__actions {
    gap: 8px;
  }

  .fig-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .fig-btn--hero {
    padding: 14px 28px;
  }
}

@media (max-width: 1024px) {
  .fig-header {
    height: 64px;
    top: 0;
  }

  .fig-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .fig-header__logo img {
    width: 170px;
    height: auto;
  }

  .fig-header.is-scrolled {
    top: 8px;
    padding: 0 14px 0;
  }

  .fig-header.is-scrolled .fig-header__inner {
    height: 100%;
    padding: 0 10px 0 18px;
  }

  body.is-menu-open .fig-header {
    background: #fff;
  }

  body.is-menu-open .fig-header.is-scrolled {
    top: 0;
    padding: 8px 14px 0;
  }

  body.is-menu-open .fig-header.is-scrolled .fig-header__inner {
    border-color: transparent;
    box-shadow: none;
  }

  .fig-header__burger {
    justify-self: end;
    width: 40px;
    height: 40px;
  }

  .fig-header__nav,
  .fig-header__actions {
    display: none;
  }
  .fig-header__burger {
    display: flex;
  }
  .fig-mobile-nav {
    inset: 64px 0 0;
    display: block;
  }

  .fig-mobile-nav__panel {
    width: 100vw;
    max-width: 100vw;
  }
}

/* —— Hero —— */
.fig-hero {
  position: relative;
  min-height: calc(100vh - 79px);
  background: linear-gradient(to bottom, #fff 55%, transparent 82%);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.fig-hero__bg-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.fig-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20, 0, 100, 0.05) 1.5px, transparent 1.5px);
  background-size: 36px 40px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  pointer-events: none;
}

.fig-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(58px, 4vh, 100px) 24px clamp(40px, 7vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 4vh, 56px);
}

.fig-hero__badge {
  background: var(--trust-blue-bg);
  color: var(--trust-blue);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 99px;
  opacity: 0;
  animation: fig-hero-intro 540ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.fig-hero__badge--inline {
  align-self: flex-start;
}

.fig-hero__title {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  opacity: 0;
  animation: fig-hero-intro 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.fig-hero__title span {
  color: var(--orange);
}

.fig-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  max-width: 703px;
  opacity: 0;
  animation: fig-hero-intro 620ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}

.fig-hero__inner .fig-btn--hero {
  opacity: 0;
  animation: fig-hero-intro 620ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

.fig-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--pill-bg);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
}

.fig-pill--full {
  flex: 0 0 auto;
}

.fig-pill img {
  flex-shrink: 0;
}

/* —— Video: wąski start; szerokość rośnie płynnie ze scrollem (w ramach layoutu, bez full screen) —— */
.fig-video {
  padding: 0 clamp(16px, 3vw, 48px) 80px;
  max-width: var(--max);
  margin: -20px auto 0;
  position: relative;
  z-index: 0;
}

.fig-video__frame {
  margin: 0 auto;
  max-width: 860px;
  border-radius: 20px;
  overflow: hidden;
  background: #e7e7f4;
  opacity: 1;
  animation: fig-hero-intro 700ms cubic-bezier(0.22, 1, 0.36, 1) 420ms both;
}

.fig-video__frame video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* —— Sections —— */
.fig-block {
  padding: 80px var(--page-pad);
}

.fig-block--lavender {
  background: transparent;
}

.fig-block--white {
  background: #fff;
}

.fig-block__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.fig-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: stretch;
  background: var(--lavender-section);
  border-radius: 24px;
  padding: 35px 54px 35px 54px;
  overflow: hidden;
}

.fig-h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  color: var(--navy);
}

.fig-h2--narrow {
  max-width: 628px;
  font-size: calc(36px * 0.8);
  line-height: calc(44px * 0.8);
  margin-bottom: 12px;
}

.fig-h2--center {
  text-align: center;
}

.fig-h2--tight {
  max-width: 626px;
}

.fig-body {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--violet-text);
  line-height: 1.5;
}

.fig-body--stack p {
  margin: 0 0 0;
  line-height: 28px;
}

.fig-body--stack strong {
  font-weight: 700;
}

.fig-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

.fig-tag--purple {
  background: var(--tag-purple-bg);
  color: var(--tag-purple-text);
}

.fig-tag--dark {
  background: var(--navy);
  color: #fff;
}

.fig-tag--jak {
  background: var(--tag-jak-bg);
  color: var(--tag-jak-text);
  font-weight: 600;
}

.fig-tag--outline-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.fig-tag--offer {
  background: #fef0e4;
  color: #cf7a36;
  font-weight: 600;
}

.fig-split__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}

.fig-split__text .fig-h2 {
  margin-top: 8px;
  font-size: clamp(24px, 1.1vw + 17px, 30px);
  line-height: 1.2;
}

@media (min-width: 961px) {
  .fig-split__text {
    padding-top: 32px;
  }

  .fig-split__text .fig-btn {
    margin-top: auto;
    margin-bottom: 32px;
  }
}

.fig-split__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  height: 100%;
}

.fig-split__photo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fig-split__photo-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .fig-steps-section {
    margin-top: -84px;
    padding-top: 28px;
    position: relative;
    z-index: 0;
  }

  .fig-block--lavender {
    margin-top: -82px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 1;
  }

  .fig-hero {
    min-height: auto;
  }

  .fig-hero__bg-dots {
    display: none;
  }

  .fig-hero__dots {
    background-image: radial-gradient(circle, rgba(20, 0, 100, 0.08) 1.5px, transparent 1.5px);
    background-size: 36px 40px;
  }

  .fig-hero__inner {
    padding-top: 36px;
  }

  .fig-hero__badge {
    margin-top: 12px;
  }

  .fig-hero__title {
    font-size: clamp(20px, 6.2vw, 24px);
    line-height: 1.2;
    white-space: nowrap;
  }

  .fig-hero__title span {
    display: block;
  }

  .fig-pill {
    gap: 6px;
    padding: 4px 10px;
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.3;
  }

  .fig-pill--full {
    font-size: clamp(11.5px, 3.4vw, 13px);
  }

  .fig-pill img {
    width: 20px;
    height: 20px;
  }

  .fig-split {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    border-radius: 0;
  }
  .fig-split__photo {
    order: 0;
    min-height: 280px;
  }

  .fig-split__text .fig-btn {
    align-self: stretch;
    width: 100%;
  }

  .fig-proof .fig-h2--center {
    font-size: 27px;
    line-height: 33px;
  }
}

/* —— Steps row —— */
.fig-steps-section {
  padding: 80px var(--page-pad);
  background: #fff;
}

.fig-steps-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 72px;
  align-items: flex-start;
  justify-content: center;
}

.fig-steps-section__visual {
  flex: 1 1 0;
  max-width: 668px;
  min-width: 0;
}

.fig-steps-section__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.fig-steps-section__col {
  flex: 1 1 0;
  max-width: 628px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 960px) {
  .fig-steps-section__inner {
    flex-direction: column;
    gap: 32px;
  }

  .fig-steps-section .fig-h2--narrow {
    font-size: 24px;
  }

  .fig-steps-section__visual,
  .fig-steps-section__col {
    max-width: 100%;
  }

  .fig-steps-section__col {
    order: 1;
  }

  .fig-steps-section__visual {
    order: 2;
  }

}

/* —— Start za darmo (wideo + Group 2) —— */
.fig-tag--free {
  background: var(--trust-blue-bg);
  color: var(--trust-blue);
  font-weight: 600;
}

.fig-start-free {
  position: relative;
  padding: 80px var(--page-pad) clamp(100px, 12vw, 140px);
  background-color: #fff;
  background-image: url("yearbook assets/Group 2.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: min(1856px, 100%) auto;
}

.fig-start-free__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 46vw);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.fig-start-free__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  max-width: 760px;
}

.fig-start-free__text .fig-h2 {
  max-width: 26ch;
  margin-bottom: 6px;
}

.fig-start-free__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
}

.fig-start-free__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--violet-text);
}

.fig-start-free__copy strong {
  font-weight: 700;
  color: var(--navy);
}

.fig-start-free__media {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 672px;
}

.fig-start-free__frame {
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a12;
  aspect-ratio: 16 / 10;
}

.fig-start-free__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fig-start-free__text .fig-btn {
  margin-top: 6px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .fig-start-free__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 44vw);
    gap: clamp(28px, 4vw, 52px);
  }

  .fig-start-free__text .fig-h2 {
    max-width: 25ch;
  }
}

@media (max-width: 960px) {
  .fig-start-free {
    margin-top: -32px;
    padding-top: 48px;
    padding-bottom: clamp(88px, 20vw, 120px);
  }

  .fig-start-free__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fig-start-free__text {
    gap: 24px;
    max-width: none;
  }

  .fig-start-free__text .fig-h2 {
    max-width: 24ch;
    font-size: 24px;
    line-height: 1.12;
    margin-bottom: 2px;
  }

  .fig-start-free__copy {
    gap: 24px;
    max-width: 100%;
  }

  .fig-start-free__text .fig-btn {
    margin-top: 6px;
    padding: 11px 16px;
    font-size: 14px;
    width: 100%;
    align-self: stretch;
  }

  .fig-start-free__media {
    justify-self: stretch;
    max-width: none;
  }
}

/* Accordion steps */
.fig-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.fig-accordion__item {
  border: 1px solid var(--border-lav);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.fig-accordion__head {
  position: relative;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.fig-accordion__head--row {
  align-items: center;
  padding: 20px 16px;
}

.fig-accordion__badges {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fig-step-badge {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
}

.fig-step-badge--1 {
  background: #c62828;
}
.fig-step-badge--2 {
  background: #e65100;
}
.fig-step-badge--3 {
  background: #4527a0;
}
.fig-step-badge--4 {
  background: #1565c0;
}

.fig-accordion__texts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 460px;
}

.fig-accordion__texts strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--navy);
}

.fig-accordion__texts p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--violet-text);
}

.fig-accordion__title-only {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--navy);
  flex: 1;
}

.fig-accordion__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 99px;
  background: var(--toggle-bg);
  cursor: pointer;
  position: relative;
}

.fig-accordion__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}

.fig-accordion__item:not(.is-open) .fig-accordion__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 15px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}

.fig-accordion__body {
  padding: 0 16px 16px 96px;
  max-height: 320px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.fig-accordion__item:not(.is-open) .fig-accordion__body {
  max-height: 0;
  padding: 0;
}

.fig-accordion__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--violet-text);
}

.fig-accordion__body--faq {
  padding: 0 48px 20px 16px;
}

.fig-faq-pdf-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.fig-faq-pdf-link {
  text-decoration: none;
}

/* Proof */
.fig-proof {
  position: relative;
  padding: 80px var(--page-pad) 56px;
  overflow: hidden;
  background-color: #f4f1fb;
  background-image: url("yearbook assets/tło logo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1600px) {
  .fig-block,
  .fig-steps-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .fig-start-free {
    padding-top: 64px;
    padding-bottom: clamp(84px, 10vw, 112px);
  }

  .fig-proof {
    padding-top: 64px;
    padding-bottom: 44px;
  }

  .fig-cta-last.fig-block {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .fig-footer {
    margin-top: 0;
    padding-top: 56px;
    padding-bottom: 40px;
  }
}

.fig-proof__head {
  max-width: 621px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.fig-proof__viewport {
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.fig-proof__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.fig-card {
  width: 100%;
  max-width: none;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 49px 40px 40px;
  text-align: center;
  background: #fff;
}

.fig-card--proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.fig-card--proof .fig-card__stars {
  flex-shrink: 0;
}

.fig-card__stars {
  margin: 0 auto 24px;
}

.fig-card--proof .fig-card__quote {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}

.fig-card__quote {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}

.fig-card--proof .fig-card__author {
  margin: 0;
  margin-top: auto;
  padding-top: 28px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(20, 0, 100, 0.79);
  flex-shrink: 0;
}

.fig-card__author {
  margin: 40px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(20, 0, 100, 0.79);
}

.fig-proof__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
}

.fig-proof__dots {
  display: flex;
  gap: 16px;
  align-items: center;
}

.fig-proof__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(20, 0, 100, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.fig-proof__dots button.is-active {
  width: 12px;
  height: 12px;
  background: var(--navy);
}

.fig-proof__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.fig-proof__arrow:hover {
  opacity: 0.9;
}

.fig-proof__arrow:active {
  transform: scale(0.96);
}

@media (min-width: 961px) {
  .fig-proof__dots button:nth-child(4),
  .fig-proof__dots button:nth-child(5) {
    display: none;
  }
}

/* Offer */
.fig-offer {
  padding: 80px var(--page-pad);
  background-color: #fff;
  background-image: url("yearbook assets/tło kropki.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.fig-offer__inner {
  max-width: 980px;
  margin: 0 auto;
}

.fig-offer__head {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.fig-offer__head .fig-h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
}

.fig-offer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fig-offer-card {
  border-radius: 24px;
  padding: 34px 40px 40px;
  display: grid;
  grid-template-rows: auto minmax(61px, auto) minmax(62px, auto) auto 1fr;
  row-gap: 14px;
  min-height: 0;
}

.fig-offer-card--light {
  background: #f5f2ff;
  color: var(--navy);
}

.fig-offer-card--dark {
  background: var(--navy);
  color: #fff;
}

.fig-offer-card__plan {
  align-self: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.fig-offer-card--light .fig-offer-card__plan {
  background: var(--navy);
  color: #fff;
}

.fig-offer-card--dark .fig-offer-card__plan {
  background: #fff;
  color: var(--navy);
}

.fig-offer-card__lead {
  margin: 0;
  font-size: clamp(14px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  min-height: 0;
}

.fig-offer-card__price {
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-height: 0;
}

.fig-offer-card__price strong {
  font-size: clamp(28px, 2.35vw, 46px);
  font-weight: 500;
  line-height: 0.95;
}

.fig-offer-card__price span {
  font-size: clamp(13px, 0.85vw, 17px);
  line-height: 1.2;
  padding-bottom: 0.2em;
}

.fig-offer-card__quote {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(26px, 2.1vw, 40px);
  font-weight: 500;
  line-height: 0.95;
  min-height: 0;
  transform: translateY(10px);
}

.fig-offer-card__cta {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;
  margin-bottom: 0;
}

.fig-offer-card__cta--outline {
  border: 2px solid #fff;
  background: #fff;
  color: var(--navy);
}

.fig-offer-card__cta--outline:hover {
  background: #fff4ea;
}

.fig-offer-card__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fig-offer-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  font-size: clamp(13px, 0.88vw, 16px);
  font-weight: 400;
  line-height: 1.4;
}

.fig-offer-card__list li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 0.12em;
  background: url("yearbook assets/offer-list-check.svg") center / contain no-repeat;
}

/* FAQ + contact */
.fig-faq-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.fig-faq__title {
  margin: 0 0 56px;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  color: var(--navy);
}

.fig-accordion--faq .fig-accordion__head--faq {
  flex-direction: row;
  align-items: flex-start;
}

.fig-accordion--faq .fig-accordion__head--faq strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.fig-accordion--faq .fig-accordion__head--faq-row {
  padding: 20px 16px;
}

.fig-accordion--faq .fig-accordion__head--faq-row strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.fig-contact__box {
  background: var(--navy);
  border-radius: 32px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#fig-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fig-contact__title {
  margin: 0 0 20px;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  color: #fff;
}

.fig-contact__title span {
  display: block;
}

.fig-contact__accent {
  color: var(--orange-alt);
}

.fig-contact__label {
  font-size: 14px;
  color: #e2dcf6;
}

.fig-contact__input,
.fig-contact__textarea {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.fig-contact__input {
  height: 48px;
  padding: 0 14px;
}

.fig-contact__textarea {
  min-height: 229px;
  padding: 12px 14px;
  resize: vertical;
}

.fig-contact__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #e2dcf6;
  cursor: pointer;
}

.fig-contact__check input {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  accent-color: var(--orange);
}

.fig-contact__status {
  margin: -4px 0 0;
  min-height: 20px;
  font-size: 14px;
  color: #e2dcf6;
}

.fig-contact__status.is-success {
  color: #8ff5bf;
}

.fig-contact__status.is-error {
  color: #ffd0d0;
}

@media (max-width: 1024px) {
  .fig-faq-form.fig-block {
    padding-left: 0;
    padding-right: 0;
  }

  .fig-faq-form__grid {
    grid-template-columns: 1fr;
  }

  .fig-faq {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .fig-contact__box {
    width: 100%;
    border-radius: 0;
  }

  .fig-contact__title {
    font-size: 24px;
    line-height: 30px;
  }

  .fig-faq__title {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 22px;
  }
}

/* Last CTA — węższy kontener niż domyślne 1400px (karta z marginesami po bokach) */
.fig-cta-last.fig-block {
  padding-top: 44px;
  padding-bottom: 96px;
}

.fig-cta-last .fig-block__inner {
  max-width: 1440px;
}

.fig-cta-last__inner {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(240px, 0.9fr);
  gap: 0;
  align-items: stretch;
  min-height: 240px;
  background: var(--lavender-section);
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
}

.fig-cta-last__visual {
  order: -1;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.fig-cta-last__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 100% 52%;
  transform: none;
}

.fig-cta-last__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 26px 40px 26px clamp(28px, 7vw, 96px);
  min-width: 0;
}

.fig-cta-last__text .fig-h2 {
  font-size: 26px;
  line-height: 34px;
}

.fig-cta-last__text .fig-tag {
  padding: 4px 16px;
  font-size: 14px;
}

.fig-cta-last__text .fig-btn {
  padding: 12px 22px;
  font-size: 16px;
}

@media (max-width: 960px) {
  .fig-offer {
    padding: 72px var(--page-pad);
  }

  .fig-offer__head {
    margin-bottom: 30px;
  }

  .fig-offer__head .fig-h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .fig-offer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fig-offer-card {
    padding: 34px 32px 36px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 24px;
    row-gap: 0;
  }

  .fig-offer-card__plan {
    min-height: 0;
    margin-bottom: 14px;
    padding: 6px 12px;
    font-size: 15px;
  }

  .fig-offer-card__lead {
    font-size: 15px;
    line-height: 1.3;
    min-height: 0;
  }

  .fig-offer-card__price {
    margin: 22px 0 16px;
  }

  .fig-offer-card__price strong,
  .fig-offer-card__quote {
    font-size: 32px;
  }

  .fig-offer-card__quote {
    margin: 22px 0 16px;
    min-height: 0;
    transform: translateY(0);
  }

  .fig-offer-card__price span {
    font-size: 14px;
  }

  .fig-offer-card__cta {
    min-height: 46px;
    font-size: 15px;
    margin-bottom: 20px;
  }

  .fig-offer-card__list {
    margin-top: 0;
  }

  .fig-offer-card__list li {
    font-size: 15px;
    gap: 8px;
  }

  .fig-offer-card__list li::before {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-top: 0.1em;
  }

  .fig-faq-form.fig-block {
    padding-bottom: 0;
  }

  .fig-cta-last.fig-block {
    padding-top: 72px;
    padding-bottom: 72px;
    background: #f1edff;
    background-image: url("yearbook assets/tło logo.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .fig-cta-last__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .fig-cta-last__visual {
    order: 0;
    aspect-ratio: 2.35 / 1;
    width: 100%;
    max-height: 52vw;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
  }

  .fig-cta-last__visual img {
    object-position: center 36%;
    transform: none;
  }

  .fig-cta-last__text {
    align-items: flex-start;
    padding: 22px 24px 24px;
    background: #fff;
    border-radius: 28px;
    margin-top: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
  }

  .fig-cta-last__text .fig-h2 {
    font-size: 24px;
    line-height: 1.25;
  }
}

/* Footer Frame 584 */
.fig-footer {
  margin-top: 0;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, rgb(20, 0, 100) 40.726%, rgba(53, 39, 175, 0.25) 136.55%),
    linear-gradient(90deg, rgb(20, 0, 100) 0%, rgb(20, 0, 100) 100%);
  color: #fff;
  padding: 69px var(--page-pad) 48px;
}

.fig-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 72px;
  min-height: 360px;
}

.fig-footer__brand {
  margin-bottom: 40px;
}

.fig-footer__brand img {
  width: 208px;
  height: 36px;
  object-fit: contain;
}

.fig-footer__social {
  display: flex;
  gap: 35px;
  margin-top: 140px;
}

.fig-footer__social img {
  width: 20px;
  height: 20px;
}

.fig-footer__social a {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fig-footer__social a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.fig-footer__cols {
  position: absolute;
  right: 0;
  top: 9px;
  display: flex;
  gap: 80px;
}

.fig-footer__col h3 {
  margin: 0 0 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fig-footer__col a {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--white-85);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fig-footer__col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.fig-footer__col a:focus-visible {
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.fig-footer__contact {
  display: block;
  white-space: nowrap;
  width: max-content;
  line-height: 1;
}

.fig-footer__contact span {
  display: inline-block;
}

.fig-footer__copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  margin: 0;
  font-size: 16px;
  color: var(--white-85);
  text-align: center;
  white-space: nowrap;
}

.fig-footer__copy a {
  color: inherit;
  text-decoration: none;
}

.fig-footer__copy a:hover {
  text-decoration: underline;
}

.fig-footer__inner::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  height: 1px;
  background: var(--footer-line);
}

@media (max-width: 1024px) {
  .fig-footer__cols {
    position: static;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }
  .fig-footer__social {
    margin-top: 24px;
  }
  .fig-footer__copy {
    position: static;
    transform: none;
    margin-top: 48px;
    white-space: normal;
    text-align: center;
  }
  .fig-footer__inner::before {
    display: none;
  }
}

