/* Header — dark bar + green accent */
.header {
  height: 7rem;
  background: #2a2a2a;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.2);
}

.header::before {
  display: none;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.3rem;
  background: #2ab03c;
}

.header .logo {
  padding-left: 0;
}

.header .logo::before,
.header .logo::after {
  display: none;
}

.header__menu-toggle {
  border-top-color: #f5f5f5;
  border-bottom-color: #f5f5f5;
}

.header__menu-toggle span {
  background: #f5f5f5;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.header__nav a {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 50%;
  border: 0.15rem solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.header__nav a:hover,
.header__nav a:focus {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.header__nav a img {
  display: block;
  border-radius: 50%;
  box-shadow: none;
}

.header__nav a[aria-current="page"] {
  border-color: #e51a38;
  box-shadow: 0 0 0 0.2rem rgba(229, 26, 56, 0.35);
}

.header__nav a[aria-current="page"] img {
  outline: none;
}

.wrapper {
  padding-top: 7rem;
}

@media (min-width: 1200px) {
  .header__nav ul {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 1199px) {
  .header__nav {
    top: 6.9rem;
    background: #333;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25);
  }
}

/* Intro-home anchor icons — single row on desktop */
@media (min-width: 992px) {
  .intro-home__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
  }

  .intro-home__list li {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  .intro-home__list a {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem 0.4rem;
    font-size: 1.25rem;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }

  .intro-home__list svg {
    margin-right: 0;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
  }
}

@media (min-width: 1200px) {
  .intro-home__list {
    gap: 0.8rem;
  }

  .intro-home__list a {
    flex-direction: row;
    padding: 1.1rem 0.6rem;
    font-size: 1.45rem;
    text-align: left;
    justify-content: flex-start;
  }

  .intro-home__list svg {
    margin-right: 0.6rem;
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (min-width: 1400px) {
  .intro-home__list a {
    padding: 1.2rem 0.8rem;
    font-size: 1.65rem;
  }

  .intro-home__list svg {
    margin-right: 0.8rem;
    width: 3rem;
    height: 3rem;
  }
}

/* Footer — light panel layout */
.footer {
  padding: 0 0 3rem !important;
  color: #484040;
  background-color: #f5f3f0 !important;
  background-image: none !important;
}

.footer::before {
  content: "";
  display: block;
  height: 0.4rem;
  background: #e51a38;
}

.footer .container {
  margin-top: 0;
  padding: 3rem 2rem 2rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: 98rem;
}

.footer__subtitle {
  display: block;
  margin: 0 0 2rem;
  padding: 0 0 0.8rem;
  max-width: none;
  text-align: left;
  color: #e51a38;
  font-size: 1.8rem;
  font-weight: 700;
  background: none;
  border-radius: 0;
  border-bottom: 0.2rem solid rgba(229, 26, 56, 0.25);
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 0.1rem solid rgba(72, 64, 64, 0.12);
  border-radius: 0.8rem;
}

.footer__info-imgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.footer__info-imgs img {
  border-radius: 0.8rem;
  margin: 0;
}

.footer__info-imgs img:nth-child(n+2) {
  margin-left: 0;
}

.footer__info-help {
  flex: 1 1 16rem;
  margin: 0;
  color: #484040;
  font-size: 1.4rem;
  line-height: 1.5;
}

.footer__info-help:hover {
  color: #e51a38;
}

.footer__desc {
  margin: 0 0 2rem;
  padding: 1.2rem 1.4rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #484040;
  background: rgba(255, 255, 255, 0.7);
  border-left: 0.35rem solid #2ab03c;
  border-radius: 0 0.6rem 0.6rem 0;
}

.footer__desc b {
  color: #484040;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.5rem;
  margin: 0;
  padding: 1.2rem 0 0;
  list-style: none;
  font-size: 1.2rem;
  border-top: 0.1rem solid rgba(72, 64, 64, 0.15);
}

.footer__bottom li:nth-child(2) {
  margin-left: 0;
  padding-left: 0;
}

.footer__bottom li:nth-child(2)::before {
  display: none;
}

.footer__bottom li:last-child {
  width: 100%;
  margin-top: 0.4rem;
  text-align: center;
  color: #888;
}

.footer__bottom li:last-child::before {
  display: none;
}

.footer__bottom a {
  display: inline;
  padding: 0;
  color: #484040;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  background: none;
  border: none;
  border-radius: 0;
  font-weight: 600;
  transition: color 0.2s;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
  color: #e51a38;
  background: none;
  border-color: transparent;
}

@media (min-width: 576px) {
  .footer {
    background-color: #f5f3f0 !important;
    background-image: none !important;
  }
}

@media (min-width: 992px) {
  .footer {
    background-color: #f5f3f0 !important;
    background-image: none !important;
  }

  .footer__bottom li:last-child {
    width: auto;
    margin-top: 0;
    margin-left: auto;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .footer {
    padding: 0 0 3rem !important;
    background-color: #f5f3f0 !important;
    background-image: none !important;
  }
}

/* Utility pages */
.wrapper--utility {
  min-height: calc(100vh - 7rem);
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.page-standalone--in-site {
  padding: 4rem 0;
}

.page-standalone--in-site .container {
  max-width: 56rem;
}

.page-standalone__card {
  padding: 3rem 2.4rem;
  text-align: center;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 2rem rgba(72, 64, 64, 0.1);
  border-top: 0.4rem solid #e51a38;
}

.page-standalone__code {
  margin: 0 0 0.5rem;
  color: #e51a38;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.page-standalone__title {
  margin: 0 0 1rem;
  color: #484040;
  font-size: 2.4rem;
  font-weight: 700;
}

.page-standalone__text {
  margin: 0 0 2rem;
  color: #484040;
  font-size: 1.6rem;
  line-height: 1.5;
}

.page-standalone__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.page-standalone__btn {
  display: inline-block;
  padding: 1rem 2rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #e51a38, #ec566c);
  border-radius: 2rem;
  transition: opacity 0.2s, transform 0.2s;
}

.page-standalone__btn:hover,
.page-standalone__btn:focus {
  opacity: 0.9;
  transform: translateY(-0.1rem);
}

.page-standalone__btn--alt {
  color: #484040;
  background: #f0eeeb;
  border: 0.1rem solid rgba(72, 64, 64, 0.15);
}

.page-standalone__btn--alt:hover,
.page-standalone__btn--alt:focus {
  color: #e51a38;
  background: #fff;
}

.redirection-page--in-site {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 7rem - 20rem);
  padding: 3rem 0;
}

.redirection-page--in-site .redirection-page__card {
  max-width: 48rem;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.4rem;
  text-align: center;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 2rem rgba(72, 64, 64, 0.1);
}

.redirection-page--in-site .wrapper {
  padding-top: 0;
}

.redirection-page--in-site .wrapper img {
  display: block;
  max-width: 20rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

.redirection-page--in-site h1 {
  margin: 0 0 1rem;
  color: #484040;
  font-size: 2.4rem;
  font-weight: 700;
}

.redirection-page--in-site p {
  margin: 0 0 2rem;
  color: #484040;
  font-size: 1.6rem;
  line-height: 1.5;
}

.redirection-page__progress {
  height: 0.6rem;
  margin-bottom: 2rem;
  background: #f0eeeb;
  border-radius: 0.3rem;
  overflow: hidden;
}

.redirection-page__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2ab03c, #5eea72);
  border-radius: 0.3rem;
  animation: redirection-progress 2s ease forwards;
}

@keyframes redirection-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.redirection-page--in-site a {
  color: #e51a38;
  font-weight: 600;
  text-decoration: none;
}

.redirection-page--in-site a:hover {
  text-decoration: underline;
}
