/* Landing SN — rozszerzenia systemu wizualnego EG System (landing.css) */
html,
body {
  overflow-x: hidden;
}

.zasil-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  border-radius: 0.65rem;
  background: var(--color-white);
  border: 1px solid var(--color-eg-mist);
  box-shadow: 0 4px 16px rgba(29, 52, 86, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--color-eg-navy);
  border-bottom: 2px solid var(--color-eg-navy);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.65;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.faq-item__answer {
  padding: 0 1.15rem 1.05rem;
  border-top: 1px solid var(--color-eg-mist);
}

.faq-item__answer p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.footer a {
  color: inherit;
}

.legal-note {
  margin: 1.5rem 0 0;
  padding: 0;
  background: transparent;
}

.legal-note p {
  margin: 0 auto;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 52rem;
  text-align: center;
}

.hero--sn {
  padding: 0;
  overflow: hidden;
  background: #1d3456;
  background-image: none;
  --sn-gutter: max(1.25rem, calc((100% - 80rem) / 2 + 1.25rem));
}

.hero--sn::after,
.hero--sn .hero__bg-tri {
  display: none;
}

.hero--sn__split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  max-width: none;
}

.hero--sn__copy {
  flex: 1 1 52%;
  min-width: 0;
  background: #1d3456;
  background-image: linear-gradient(
    125deg,
    #1d3456 0%,
    #1d3456 74%,
    rgba(208, 8, 55, 0.92) 74%,
    rgba(160, 6, 42, 0.95) 100%
  );
  padding: 3.25rem 2rem 3.5rem var(--sn-gutter);
}

.hero--sn__inner {
  max-width: none;
  margin: 0;
}

.hero--sn__badge {
  display: inline-block;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin: 0 0 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero--sn .hero__title {
  font-size: clamp(1.75rem, 4.6vw, 3.125rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: none;
}

.hero--sn__accent {
  color: #ffd7de;
}

.hero--sn .lead {
  font-size: clamp(1rem, 2.1vw, 1.1875rem);
  color: #dbe4f0;
  max-width: none;
  margin: 0 0 0.875rem;
  line-height: 1.6;
}

.hero--sn .hero__actions {
  margin: 1.75rem 0 1rem;
}

.hero--sn__cta,
.hero--sn .hero--sn__cta.btn {
  padding: 1.1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  min-height: 48px;
  background: #d00837;
  border-color: #d00837;
}

.hero--sn__cta:hover,
.hero--sn .hero--sn__cta.btn:hover {
  background: #a0062a;
  border-color: #a0062a;
}

.hero--sn .hero__cta-note {
  margin: 0 0 1.6rem;
  font-size: 0.9375rem;
  color: #b9c7dd;
  max-width: none;
}

.hero--sn .hero__qualify {
  margin: 0;
  padding: 1rem 1.25rem;
  border: 0;
  border-left: 4px solid #ffd7de;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #e8eef7;
  max-width: none;
}

.hero--sn .hero__qualify strong {
  color: #fff;
  font-weight: 700;
}

.hero--sn__visual {
  flex: 1 1 40%;
  min-width: 0;
  position: relative;
  background: #1d3456;
}

.hero--sn__visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

@media (max-width: 879px) {
  .hero--sn__copy {
    flex-basis: 100%;
    background-image: linear-gradient(
      165deg,
      #1d3456 0%,
      #1d3456 82%,
      rgba(208, 8, 55, 0.92) 82%,
      rgba(160, 6, 42, 0.95) 100%
    );
    padding: 2.5rem 1.25rem 2.75rem;
  }

  .hero--sn__visual {
    flex-basis: 100%;
  }

  .hero--sn__inner {
    max-width: none;
    margin: 0;
  }

  .hero--sn__visual img {
    min-height: 240px;
    max-height: 320px;
  }
}

.trust-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-eg-mist);
  padding: 1.5rem 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .trust-bar__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.35rem 0;
}

.trust-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 0.5rem;
  background: var(--color-eg-light);
  color: var(--color-eg-red);
  display: grid;
  place-items: center;
}

.trust-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
}

.section__intro--left {
  text-align: left;
  margin-inline: 0;
  max-width: 46rem;
}

.section__intro--left p {
  color: var(--color-muted);
}

.cost-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .cost-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .cost-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cost-card {
  background: var(--color-white);
  border: 1px solid var(--color-eg-mist);
  border-radius: 0.75rem;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 4px 16px rgba(29, 52, 86, 0.05);
}

.cost-card p {
  margin: 0;
  font-weight: 500;
}

.section-point {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  font-weight: 500;
}

.invest-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .invest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .invest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.invest-card {
  background: var(--color-white);
  border: 1px solid var(--color-eg-mist);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.invest-card img {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.invest-card p {
  margin: 0;
  font-weight: 500;
}

.levels {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 960px) {
  .levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }
}

.level-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 0.85rem;
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid rgba(29, 52, 86, 0.1);
  box-shadow: 0 10px 28px rgba(29, 52, 86, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  isolation: isolate;
}

.level-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--color-eg-red);
}

.level-card--2::before {
  height: 5px;
}

.level-card--3::before {
  height: 7px;
  background: linear-gradient(90deg, var(--color-eg-dark-red), var(--color-eg-red));
}

.level-card__mark {
  position: absolute;
  right: 0.65rem;
  top: 0.35rem;
  font-size: clamp(3.25rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(29, 52, 86, 0.07);
  pointer-events: none;
  z-index: 0;
}

.level-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.level-card__num {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-white);
  background: var(--color-eg-navy);
}

.level-card__head .h3 {
  margin: 0.35rem 0 0;
  flex: 1;
  min-width: 0;
}

.level-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
  flex: 1;
}

.level-card--2 {
  background: #f7f9fc;
  border-color: rgba(29, 52, 86, 0.14);
}

.level-card--2 .level-card__num {
  background: var(--color-eg-red);
}

.level-card--3 {
  background: var(--color-eg-navy);
  color: var(--color-white);
  border-color: var(--color-eg-navy);
  box-shadow: 0 16px 40px rgba(29, 52, 86, 0.28);
}

.level-card--3 .h3,
.level-card--3 > p {
  color: var(--color-white);
}

.level-card--3 > p {
  color: rgba(255, 255, 255, 0.88);
}

.level-card--3 .level-card__num {
  background: var(--color-eg-red);
}

.level-card--3 .level-card__mark {
  color: rgba(255, 255, 255, 0.08);
}

.level-card--3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7.5rem;
  height: 7.5rem;
  background: var(--color-eg-red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 960px) {
  .level-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.35rem;
    right: -1.05rem;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2.5px solid var(--color-eg-red);
    border-bottom: 2.5px solid var(--color-eg-red);
    transform: rotate(-45deg);
    background: none;
    clip-path: none;
    opacity: 1;
    z-index: 2;
  }

  .level-card--3 {
    transform: translateY(-0.4rem);
  }

  .level-card--3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    width: 8rem;
    height: 8rem;
    border: 0;
    transform: none;
    background: var(--color-eg-red);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.22;
    z-index: 0;
  }
}

.process {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.process__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 1.35rem;
  position: relative;
  align-items: start;
}

.process__item:last-child {
  padding-bottom: 0;
}

.process__item::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.6rem;
  bottom: 0;
  width: 2px;
  background: var(--color-eg-mist);
}

.process__item:last-child::before {
  display: none;
}

.process__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--color-eg-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.process__item p {
  margin: 0.2rem 0 0;
  color: var(--color-eg-navy);
}

.process__item p strong {
  font-weight: 700;
}

.notice {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--color-eg-red);
  background: var(--color-eg-light);
  border-radius: 0 0.5rem 0.5rem 0;
}

.notice p {
  margin: 0;
}

.scope-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .scope-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scope-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-eg-mist);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
}

.scope-item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.scope-item p {
  margin: 0;
}

.why-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.why-list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.real-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 900px) {
  .real-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.real-card {
  background: var(--color-white);
  border: 1px solid var(--color-eg-mist);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 52, 86, 0.06);
  display: flex;
  flex-direction: column;
}

.real-card__photo {
  aspect-ratio: 16 / 10;
  background: #152a45;
  overflow: hidden;
}

.real-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-card__photo--pending {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.real-card__body {
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.real-card__body h3 {
  margin: 0;
}

.real-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.ref-main {
  background: var(--color-white);
  border-radius: 0.85rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--color-eg-mist);
  box-shadow: 0 8px 28px rgba(29, 52, 86, 0.07);
  margin-top: 1.5rem;
}

.ref-main blockquote {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.ref-main cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-eg-red);
}

.ref-main p {
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.ref-extra {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .ref-extra {
    grid-template-columns: 1fr 1fr;
  }
}

.ref-extra article {
  background: var(--color-eg-light);
  border-radius: 0.65rem;
  padding: 1.1rem 1.15rem;
}

.ref-extra h3 {
  margin: 0 0 0.35rem;
}

.ref-extra p {
  margin: 0;
  color: var(--color-muted);
}

.form-section .container {
  max-width: 46rem;
}

.form-section__intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-section__intro .h2,
.form-section__intro p {
  margin-left: auto;
  margin-right: auto;
}

.sn-form {
  background: var(--color-white);
  color: var(--color-eg-navy);
  border-radius: 0.85rem;
  padding: 1.5rem 1.25rem 1.6rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.sn-form a {
  color: var(--color-eg-red);
  text-decoration: underline;
}

@media (min-width: 640px) {
  .sn-form {
    padding: 1.85rem 1.75rem 2rem;
  }
}

.sn-form__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sn-form__bar {
  flex: 1;
  height: 6px;
  background: var(--color-eg-mist);
  border-radius: 999px;
  overflow: hidden;
}

.sn-form__bar span {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--color-eg-red);
  transition: width 0.25s var(--ease-out);
}

.sn-form.is-step-2 .sn-form__bar span {
  width: 100%;
}

.sn-form__lead,
.sn-form__benefit {
  margin: 0 0 1rem;
}

.sn-form__benefit {
  padding: 0.75rem 0.9rem;
  background: var(--color-eg-light);
  border-radius: 0.5rem;
  font-weight: 500;
}

.sn-form fieldset {
  border: 0;
  margin: 0 0 1.15rem;
  padding: 0;
}

.sn-form legend,
.sn-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.choice-list {
  display: grid;
  gap: 0.55rem;
}

.choice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 44px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(29, 52, 86, 0.18);
  border-radius: 0.55rem;
  cursor: pointer;
  background: #fff;
}

.choice:has(input:checked) {
  border-color: var(--color-eg-red);
  box-shadow: 0 0 0 3px rgba(208, 11, 55, 0.12);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--color-eg-red);
  outline-offset: 2px;
}

.choice input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-eg-red);
  flex-shrink: 0;
}

.sn-form select,
.sn-form input[type="text"],
.sn-form input[type="tel"],
.sn-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(29, 52, 86, 0.2);
  border-radius: 0.45rem;
  font: inherit;
  background: #fff;
}

.sn-form .field {
  margin-bottom: 0.95rem;
}

.sn-form .field__hint {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.sn-form .field.is-invalid input,
.sn-form .field.is-invalid select,
.sn-form fieldset.is-invalid .choice {
  border-color: #b91c1c;
}

.sn-form .field__error,
.sn-form__error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 0.4rem 0 0;
}

.sn-form .consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.45;
  cursor: pointer;
  margin: 0.25rem 0 1rem;
}

.sn-form .consent input {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--color-eg-red);
}

.sn-form .req {
  color: var(--color-eg-red);
  font-weight: 700;
}

.sn-otp {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fafafa;
}

.sn-otp__row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.sn-otp__row-code {
  margin-top: 10px;
}

.sn-otp__row-code[hidden] {
  display: none !important;
}

.sn-otp .btn {
  min-height: 40px;
  width: auto;
  padding: 0.45rem 0.9rem;
  font-size: 0.9375rem;
}

.sn-otp input[type="text"] {
  width: 160px;
  max-width: 100%;
  min-height: 40px;
}

.sn-otp__msg {
  font-size: 13px;
}

.sn-otp__msg--ok {
  color: #16a34a;
}

.sn-otp__msg--err {
  color: #dc2626;
}

.sn-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sn-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sn-form .btn {
  min-height: 48px;
}

.sn-form__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.sn-form__disqualify,
.sn-form__success {
  padding: 1rem 1.05rem;
  border-radius: 0.55rem;
  margin: 0 0 1rem;
}

.sn-form__disqualify {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.sn-form__success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.sn-form__success p {
  margin: 0;
  font-weight: 500;
}

.sn-step[hidden],
.sn-form__disqualify[hidden],
.sn-form__success[hidden],
.sn-form__error[hidden] {
  display: none !important;
}

.sn-form.is-success .sn-step,
.sn-form.is-success .sn-form__progress,
.sn-form.is-success .sn-form__lead,
.sn-form.is-success .sn-form__benefit,
.sn-form.is-success .sn-form__actions,
.sn-form.is-success .sn-form__note,
.sn-form.is-success .sn-form__disqualify {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .nav__links {
    gap: 0.85rem;
    font-size: 0.8125rem;
  }

  .nav__cta .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
  }
}

.nav__drawer .btn {
  display: flex;
  justify-content: center;
  text-align: center;
}

@media (max-width: 319px) {
  .container {
    padding-inline: 0.85rem;
  }
}
