/* trwn.org — single-page SL: felt-green gradient header + gradient footer with inset panel */

.wrapper {
  padding-top: 7rem !important;
}

/* ── HEADER (variant C: warm gradient + gold top band) ── */
.header {
  height: 7rem !important;
  min-height: 7rem;
  background: linear-gradient(180deg, #1a4a36 0%, #153b29 55%, #123222 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 0.35rem 1.4rem rgba(8, 24, 17, 0.45) !important;
}

.header::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 0.28rem !important;
  background: linear-gradient(90deg, #34e38a 0%, #ffd97a 50%, #ff6b6b 100%) !important;
}

.header::after {
  display: none !important;
}

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

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

.header .logo__img {
  max-height: 4.2rem;
  width: auto;
  filter: drop-shadow(0 0.1rem 0.25rem rgba(0, 0, 0, 0.25));
}

.search-toggle svg {
  fill: #ffd97a !important;
}

.search-toggle:hover svg,
.search-toggle:focus svg,
.search-toggle--active svg {
  fill: #34e38a !important;
}

.header__menu-toggle {
  display: none !important;
  border-top-color: #ffd97a !important;
  border-bottom-color: #ffd97a !important;
}

.header__menu-toggle span {
  background: #ffd97a !important;
}

.header__nav {
  display: none !important;
}

/* intro-home anchors — one row on desktop */
@media (min-width: 992px) {
  .intro-home__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    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: 0.85rem 0.3rem;
    font-size: 1.1rem;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
  }

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

@media (min-width: 1200px) {
  .intro-home__list a {
    flex-direction: row;
    padding: 1rem 0.45rem;
    font-size: 1.35rem;
    text-align: left;
    justify-content: flex-start;
  }

  .intro-home__list svg {
    margin-right: 0.45rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ── FOOTER (variant 5+7: gradient band + inset desc + badge strip) ── */
.footer {
  position: relative;
  z-index: 2;
  padding: 2.8rem 0 2.2rem !important;
  color: #eafff2 !important;
  background-color: #153b29 !important;
  background-image: linear-gradient(165deg, #184430 0%, #153b29 45%, #0f2e1f 100%) !important;
  border-top: 0.25rem solid #34e38a !important;
}

.footer a {
  color: #ffd97a;
}

.footer .container {
  max-width: 98rem;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.footer .logo {
  display: none !important;
}

.footer__nav {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.footer__subtitle {
  display: inline-block;
  margin: 0 auto 1.6rem !important;
  padding: 0.45rem 1.4rem !important;
  max-width: none;
  text-align: center;
  color: #153b29 !important;
  font-size: 1.35rem !important;
  font-weight: 700;
  background: linear-gradient(90deg, #ffd97a, #f5c842) !important;
  border-radius: 999px;
  box-shadow: 0 0.15rem 0.6rem rgba(255, 217, 122, 0.35);
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.4rem !important;
  padding: 1rem 1.2rem !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border-radius: 0.65rem;
  border: 0.1rem solid rgba(52, 227, 138, 0.2);
}

.footer__info-imgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 !important;
}

.footer__info-imgs a {
  display: flex;
  align-items: center;
  height: 4.5rem;
}

.footer__info-imgs img {
  max-height: 4.5rem;
  width: auto;
  margin: 0 !important;
  border-radius: 0.35rem;
}

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

.footer__info-help {
  flex: 1 1 16rem;
  max-width: 36rem;
  margin: 0 !important;
  color: #d9eee2 !important;
  font-size: 1.3rem;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.footer__info-help:hover,
.footer__info-help:focus {
  color: #34e38a !important;
}

.footer__tel {
  display: none !important;
}

.footer__desc {
  margin: 0 0 1.4rem !important;
  padding: 1.1rem 1.3rem !important;
  font-size: 1.2rem !important;
  line-height: 1.6;
  color: #1a2e24 !important;
  text-align: left;
  background: #eef8f2 !important;
  border-radius: 0.5rem;
  border-left: 0.35rem solid #34e38a;
  box-shadow: inset 0 0 0 0.1rem rgba(21, 59, 41, 0.08);
}

.footer__desc b {
  color: #153b29 !important;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin: 0 !important;
  padding: 1.1rem 0 0 !important;
  list-style: none;
  font-size: 1.2rem !important;
  border-top: 0.1rem solid rgba(52, 227, 138, 0.25);
}

.footer__bottom li {
  color: rgba(234, 255, 242, 0.78) !important;
}

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

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

.footer__bottom li:last-child {
  width: 100%;
  margin: 0.35rem 0 0 !important;
  padding: 0 !important;
  text-align: center;
  color: rgba(234, 255, 242, 0.55) !important;
  font-size: 1.1rem !important;
}

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

.footer__bottom a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  color: #153b29 !important;
  font-size: 1.15rem !important;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 217, 122, 0.92) !important;
  border-radius: 999px;
  border: none !important;
  transition: background 0.2s, color 0.2s;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
  color: #0f2e1f !important;
  background: #34e38a !important;
}

@media (min-width: 576px) {
  .footer {
    padding: 3rem 0 2.2rem !important;
    background-color: #153b29 !important;
    background-image: linear-gradient(165deg, #184430 0%, #153b29 45%, #0f2e1f 100%) !important;
  }
}

@media (min-width: 768px) {
  .footer {
    padding: 3.2rem 0 2.4rem !important;
    background-color: #153b29 !important;
    background-image: linear-gradient(165deg, #184430 0%, #153b29 45%, #0f2e1f 100%) !important;
  }

  .footer__subtitle {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .footer {
    padding: 3.5rem 0 2.4rem !important;
    background-color: #153b29 !important;
    background-image: linear-gradient(165deg, #184430 0%, #153b29 45%, #0f2e1f 100%) !important;
  }

  .footer__info {
    justify-content: space-between;
  }

  .footer__info-help {
    text-align: right;
  }

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

@media (min-width: 1200px) {
  .footer {
    padding: 3.8rem 0 2.5rem !important;
    background-color: #153b29 !important;
    background-image: linear-gradient(165deg, #184430 0%, #153b29 45%, #0f2e1f 100%) !important;
  }

  .footer__subtitle {
    font-size: 1.55rem !important;
    margin-bottom: 1.8rem !important;
  }

  .footer__desc {
    font-size: 1.25rem !important;
  }
}

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

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

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

.page-standalone__card {
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 0.8rem;
  border: 0.1rem solid rgba(21, 59, 41, 0.12);
  box-shadow: 0 0.3rem 1.5rem rgba(8, 24, 17, 0.1);
}

.page-standalone__code {
  margin: 0 0 0.4rem;
  color: #34e38a;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.page-standalone__title {
  margin: 0 0 0.8rem;
  color: #153b29;
  font-size: 2rem;
  font-weight: 700;
}

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

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

.page-standalone__btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  color: #0f2e1f;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #34e38a, #2bc97a);
  border-radius: 0.4rem;
  transition: filter 0.2s;
}

.page-standalone__btn:hover,
.page-standalone__btn:focus {
  filter: brightness(1.06);
}

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

.redirection-page--in-site .redirection-page__card {
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 0.8rem;
  border: 0.1rem solid rgba(21, 59, 41, 0.12);
  box-shadow: 0 0.3rem 1.5rem rgba(8, 24, 17, 0.1);
}

.redirection-page--in-site .wrapper {
  padding-top: 0 !important;
  display: block;
  width: 100%;
}

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

.redirection-page--in-site h1 {
  margin: 0 0 0.8rem;
  color: #153b29;
  font-size: 2rem;
  font-weight: 700;
}

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

.redirection-page__progress {
  height: 0.45rem;
  margin-bottom: 1.5rem;
  background: #e2efe8;
  border-radius: 0.25rem;
  overflow: hidden;
}

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

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

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

.redirection-page--in-site a:hover {
  color: #34e38a;
  text-decoration: underline;
}
