/* ── Header ───────────────────────────────────────────── */
.header {
  background: var(--color-white);
  width: 100%;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;

  @media (min-width: 920px) {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.header__logo {
  @media (min-width: 920px) {
    flex-shrink: 0;
  }
}

.header__logo img {
  height: 20px;
  width: auto;
  margin-bottom: 24px;

  @media (min-width: 920px) {
    height: 39px;
    margin-bottom: 0;
  }
}

.header__om {
  @media (min-width: 920px) {
    display: flex;
    gap: 120px;
  }
}

.header__legal {
  display: flex;
  gap: 16px;
  align-items: center;

  @media (min-width: 920px) {
    gap: 24px;
    justify-content: flex-end;
  }
}

.header__legal-text {
  width: calc(50% - 8px);
  font-size: 11px;
  color: var(--color-body);
  text-align: right;

  @media (min-width: 920px) {
    font-size: 8px;
    color: var(--color-dark);
    max-width: 208px;
  }
}

.header__legal-title {
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 120%;
}

.header__risk {
  padding: 8px;
  width: calc(50% - 8px);
  border: 1px solid #bdbfbe;

  @media (min-width: 920px) {
    max-width: 202px;
  }
}

.header__risk-score {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 120%;
}

.header__risk-muted {
  color: #a3a6a8;
}

.header__risk-desc {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;

  @media (min-width: 920px) {
    font-size: 8px;
  }
}

.header__lang {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.header__lang:hover {
  background: var(--color-bg-page);
}

.header__lang[aria-expanded="true"] {
  background: var(--color-bg-page);
}

.header__lang[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ── Language Switcher Dropdown ─────────────────────── */
.lang-switcher {
  display: none;

  @media (min-width: 920px) {
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;
  }
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.375rem);
  padding: 4px;
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
  min-width: 80px;
  overflow: hidden;
  z-index: 300;
  list-style: none;
}

.lang-switcher__option {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: background var(--transition);
}

.lang-switcher__option:hover {
  background: var(--color-bg-page);
}

.lang-switcher__option--active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  background: var(--color-bg-card);
}

.lang-switcher__check {
  width: 17px;
  height: 13px;
  flex-shrink: 0;
}

@media (min-width: 920px) {
  .header {
    padding: 14px var(--gutter-desktop);
    gap: 2rem;
  }

  .header__legal {
    display: flex;
  }

  .header__legal-text {
    max-width: 280px;
  }

  .header__lang {
    display: flex;
  }

  .header__logo img {
    width: 189.75px;
    object-fit: cover;
  }
}

/* ── Sticky CTA Bar ─────────────────────────────────── */
.sticky-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

@media (min-width: 920px) {
  .sticky-cta {
    padding: 1.5rem 3rem;
  }
}

.sticky-cta .btn--cta {
  width: 100%;
}

@media (min-width: 560px) {
  .sticky-cta .btn--cta {
    width: fit-content;
  }
}

.sticky-cta__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 800px) {
  .sticky-cta__inner {
    flex-direction: row;
  }
}

.sticky-cta__text {
  font-size: 1rem;
  line-height: 1.2;
}

.sticky-cta__text strong {
  font-weight: 700;
}

.sticky-cta--visible {
  transform: translateY(0);
}

/* ── Legal ───────────────────────────────────────────── */
.legal {
  background: var(--color-bg-card);
  padding: 2.5rem var(--gutter-mobile);
}

.legal__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.legal__list {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal__list li {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--color-dark);
  text-align: justify;
}

.legal__list span {
  font-size: 0.6875rem;
}

.legal__list span a {
  color: var(--color-primary-dark);
  font-weight: 500;
  text-decoration: underline;
}

.legal__document {
  margin-top: 1rem;
  color: var(--color-dark);
  text-align: justify;
  font-size: 9px;
  font-weight: 400;
  line-height: 120%;
}

@media (min-width: 920px) {
  .legal {
    padding: 3rem var(--gutter-desktop);
  }
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--color-bg-card);
  padding: 2.5rem var(--gutter-mobile) 2rem;
  margin-bottom: 6rem;
}

@media (min-width: 800px) {
  .footer {
    margin-bottom: 3rem;
  }
}

@media (min-width: 948px) {
  .footer {
    margin-bottom: 0;
  }
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--color-dark);
  font-size: 9px;
  font-weight: 600;
  line-height: normal;
}

.footer__logo img {
  height: 24px;
  width: auto;
}

.footer__social {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  align-self: end;
}

.footer__social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition:
    color var(--transition),
    transform var(--transition);
}

.footer__social-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__utils {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}

@media (min-width: 920px) {
  .footer {
    padding: 2.5rem var(--gutter-desktop) 2rem;
  }
}
