/* Esal.si — custom header (split accent D) + footer (card on band 3 + inset desc 7) */

/* ---- HEADER ---- */
.header {
  height: 7rem !important;
  background: linear-gradient(120deg, #fff3f1 0%, #ffffff 48%, #fffaf9 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 0.3rem 1.8rem rgba(72, 64, 64, 0.08) !important;
}

.header::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 0.55rem !important;
  background: linear-gradient(180deg, #ec566c 0%, #e51a38 55%, #c91530 100%) !important;
  z-index: 1 !important;
}

.header::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 0.2rem !important;
  background: linear-gradient(90deg, #ec566c 0%, rgba(236, 86, 108, 0.15) 40%, transparent 100%) !important;
}

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

.header .container {
  padding-left: 1.6rem !important;
}

.header__nav {
  display: none !important;
}

.header__menu-toggle {
  display: none !important;
}

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

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

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

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

/* ---- FOOTER ---- */
.footer {
  background-image: none !important;
  background-color: #3a3535 !important;
  color: #f8f4f2 !important;
  padding: 3rem 0 2.8rem !important;
}

.footer a {
  color: inherit !important;
}

.footer .container {
  max-width: 98rem !important;
  background-color: #fffefb !important;
  color: #484040 !important;
  border-radius: 1.4rem !important;
  padding: 2.6rem 2rem 2rem !important;
  box-shadow: 0 0.6rem 2.8rem rgba(0, 0, 0, 0.18) !important;
}

.footer__nav {
  display: none !important;
}

.footer__subtitle {
  display: inline-block !important;
  margin: 0 0 2rem !important;
  padding: 0.55rem 1.6rem !important;
  background: linear-gradient(135deg, #ec566c, #e51a38) !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  border-radius: 10rem !important;
  text-align: left !important;
}

.footer__info-imgs img {
  border-radius: 0.6rem !important;
  box-shadow: 0 0.1rem 0.6rem rgba(72, 64, 64, 0.12) !important;
}

.footer__info-help {
  color: #484040 !important;
  font-size: 1.4rem !important;
  font-weight: 500 !important;
}

.footer__info-help:hover,
.footer__info-help:focus {
  color: #e51a38 !important;
  text-decoration: underline !important;
}

.footer__tel {
  display: none !important;
}

.footer__desc {
  margin: 0 0 2rem !important;
  padding: 1.4rem 1.6rem 1.4rem 1.8rem !important;
  background: #faf6f4 !important;
  border-left: 0.4rem solid #ec566c !important;
  border-radius: 0 0.8rem 0.8rem 0 !important;
  color: #5c5656 !important;
  font-size: 1.25rem !important;
  line-height: 1.65 !important;
}

.footer__bottom {
  gap: 0.8rem 1.2rem !important;
  font-size: 1.25rem !important;
}

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

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

.footer__bottom a {
  display: inline-block !important;
  padding: 0.4rem 1.1rem !important;
  color: #484040 !important;
  background: rgba(236, 86, 108, 0.1) !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s !important;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
  color: #e51a38 !important;
  background: rgba(236, 86, 108, 0.18) !important;
}

.footer__bottom li:last-child {
  color: #727070 !important;
  width: 100% !important;
  margin-top: 0.4rem !important;
  padding-top: 0.8rem !important;
  border-top: 0.1rem solid #ebe5e2 !important;
  font-size: 1.15rem !important;
}

/* ---- INTRO-HOME ANCHORS (desktop row) ---- */
@media screen and (min-width: 992px) {
  .intro-home__list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

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

  .intro-home__list a {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex: 1 1 0 !important;
    font-size: 1.55rem !important;
    padding: 1rem 0.6rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

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

  .footer {
    padding: 4rem 0 3rem !important;
  }

  .footer .container {
    padding: 3rem 3.2rem 2.4rem !important;
  }

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

  .footer__info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem 2rem !important;
    margin-bottom: 2rem !important;
  }

  .footer__info-imgs {
    margin-bottom: 0 !important;
  }

  .footer__info-help {
    flex: 1 1 20rem !important;
    margin: 0 !important;
  }

  .footer__bottom li:last-child {
    width: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    margin-left: auto !important;
  }
}

@media screen and (min-width: 576px) {
  .footer {
    background-image: none !important;
    padding: 3.5rem 0 2.8rem !important;
  }
}

@media screen and (min-width: 768px) {
  .footer {
    background-image: none !important;
    padding: 4rem 0 3rem !important;
  }
}

@media screen and (min-width: 992px) {
  .footer {
    background-image: none !important;
    padding: 4.5rem 0 3.2rem !important;
  }
}

@media screen and (min-width: 1200px) {
  .footer {
    background-image: none !important;
    padding: 5rem 0 3.5rem !important;
  }
}

/* ---- UTILITY PAGES ---- */
.wrapper--utility {
  flex-grow: 1 !important;
  display: flex !important;
  align-items: center !important;
  min-height: calc(100vh - 7rem - 22rem) !important;
}

.page-standalone {
  width: 100% !important;
  padding: 4rem 0 6rem !important;
  text-align: center !important;
}

.page-standalone--in-site .container {
  max-width: 64rem !important;
}

.page-standalone__code {
  margin: 0 0 1rem !important;
  font-size: 11rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #ec566c !important;
  opacity: 0.22 !important;
}

.page-standalone__title {
  margin: 0 0 1.4rem !important;
  font-size: 3.2rem !important;
  font-weight: 700 !important;
  color: #484040 !important;
}

.page-standalone__text {
  margin: 0 auto 2.8rem !important;
  max-width: 52rem !important;
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
  color: #727070 !important;
}

.redirection-page.redirection-page--in-site {
  width: 100% !important;
  min-height: auto !important;
  display: block !important;
  background: transparent !important;
}

.redirection-page--in-site .header {
  position: fixed !important;
}

.redirection-page--in-site > .wrapper,
.redirection-page.redirection-page--in-site .wrapper:first-of-type {
  flex: none !important;
  display: block !important;
  padding: 0 !important;
  min-height: auto !important;
}

.redirection-page.redirection-page--in-site {
  padding: 3rem 0 !important;
}

.redirection-page--in-site .redirection-card {
  width: 100% !important;
  max-width: 52rem !important;
  margin: 0 auto !important;
  padding: 3rem 2.4rem !important;
  background: #ffffff !important;
  border-radius: 1.2rem !important;
  border: 0.1rem solid #f0e8e6 !important;
  box-shadow: 0 0.4rem 2rem rgba(72, 64, 64, 0.08) !important;
  text-align: center !important;
}

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

.redirection-page--in-site .redirection-card p {
  margin: 0 0 2rem !important;
  font-size: 1.6rem !important;
  color: #727070 !important;
}

.redirection-page--in-site .progress-bar {
  height: 0.5rem !important;
  background: #f0e8e6 !important;
  border-radius: 10rem !important;
  overflow: hidden !important;
}

.redirection-page--in-site .progress-bar__fill {
  display: block !important;
  height: 100% !important;
  width: 0 !important;
  background: linear-gradient(90deg, #ec566c, #e51a38) !important;
  border-radius: 10rem !important;
  animation: esal-progress 2.4s ease-in-out infinite !important;
}

@keyframes esal-progress {
  0% { width: 0; margin-left: 0; }
  50% { width: 70%; margin-left: 15%; }
  100% { width: 0; margin-left: 100%; }
}

@media screen and (min-width: 768px) {
  .page-standalone {
    padding: 6rem 0 8rem !important;
  }

  .page-standalone__code {
    font-size: 14rem !important;
  }

  .page-standalone__title {
    font-size: 4rem !important;
  }

  .page-standalone__text {
    font-size: 1.9rem !important;
  }
}
