/* Final product proof polish: focused fixes without changing the static architecture. */

.fio-photo,
.fio-image.fio-photo,
.trust-box .fio-trust,
.page-hero-visual {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  object-fit: contain;
}

.button,
.mini-cta,
.nav-cta,
.text-link,
.faq-question {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.button:focus-visible,
.mini-cta:focus-visible,
.nav-cta:focus-visible,
.text-link:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(41, 179, 165, 0.42);
  outline-offset: 4px;
}

.button-primary:focus-visible,
.mini-cta:focus-visible,
.nav-cta:focus-visible {
  outline-color: rgba(161, 29, 31, 0.34);
  box-shadow: 0 0 0 5px rgba(161, 29, 31, 0.12), 0 16px 34px rgba(161, 29, 31, 0.2);
}

@media (hover: hover) {
  .button-primary:hover,
  .mini-cta:hover,
  .site-nav .nav-cta:hover {
    background: #8f191b;
    box-shadow: 0 16px 34px rgba(161, 29, 31, 0.2);
    transform: translateY(-1px);
  }

  .button-secondary:hover,
  .text-link:hover {
    border-color: rgba(41, 179, 165, 0.62);
    box-shadow: 0 12px 28px rgba(27, 62, 70, 0.08);
    transform: translateY(-1px);
  }
}

.nav-toggle {
  position: relative;
  overflow: hidden;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  content: "";
  transform: translateX(-50%);
  transition: transform 160ms ease, opacity 160ms ease, top 160ms ease;
}

.nav-toggle::before {
  top: 13px;
}

.nav-toggle span:first-child {
  top: 20px;
  margin: 0;
}

.nav-toggle span:last-child {
  top: 27px;
  margin: 0;
}

.site-header.is-open .nav-toggle::before {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header.is-open .nav-toggle span:first-child {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:last-child {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.wish-proof-card {
  align-content: start;
}

.proof-flow {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.proof-flow li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px 0;
  border-top: 1px solid rgba(41, 179, 165, 0.16);
}

.proof-flow li:last-child {
  border-bottom: 1px solid rgba(41, 179, 165, 0.16);
}

.proof-flow span {
  color: var(--turquoise-dark);
  font-weight: 900;
}

.proof-flow strong {
  min-width: 0;
  line-height: 1.25;
}

.theme-visual-emoji {
  background: linear-gradient(145deg, #ffffff, rgba(231, 247, 244, 0.78));
}

.theme-visual-emoji span {
  display: grid;
  width: clamp(82px, 12vw, 112px);
  height: clamp(82px, 12vw, 112px);
  place-items: center;
  border: 1px solid rgba(41, 179, 165, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 1;
}

.example-page .demo-page {
  grid-template-rows: auto auto 1fr;
}

.example-page .demo-page > h3 {
  margin: 0;
  font-size: 1.08rem;
}

.example-page .demo-page > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.faq-section {
  padding-top: 44px;
}

.faq-page-hero {
  padding-bottom: 30px;
}

.faq-list {
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 62, 70, 0.045);
}

.faq-item h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  padding: 16px 56px 16px 18px;
  border: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  position: absolute;
  right: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.faq-question:focus-visible {
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 18px 18px;
}

.faq-answer p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.faq-cta-action {
  margin-top: 18px;
}

@media (max-width: 520px) {
  .proof-flow li {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
  }

  .theme-visual-emoji {
    height: 126px;
  }

  .theme-visual-emoji span {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    font-size: 3.1rem;
  }

  .faq-section {
    padding-top: 34px;
  }

  .faq-question {
    min-height: 58px;
    padding: 16px 52px 16px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}
