
.pc-footer {
  --pf-green: #19695e;
  --pf-dark: #071c17;
  --pf-yellow: #ffb000;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pf-dark);
  color: #fff;
  font-family: var(--autowp-font-body), sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.pc-footer *,
.pc-footer *::before,
.pc-footer *::after {
  box-sizing: border-box;
}

.pc-footer__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(5,30,24,.94),
    rgba(2,13,10,.93)
  );
  pointer-events: none;
}

.pc-footer__container {
  position: relative;
  width: min(1290px, calc(100% - 48px));
  margin-inline: auto;
}

.pc-footer a {
  color: inherit;
  text-decoration: none;
}

.pc-footer a:focus-visible {
  outline: 2px solid var(--pf-yellow);
  outline-offset: 5px;
}

.pc-footer__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 85px 0 55px;
  border-bottom: 1px solid #ffffff30;
}

.pc-footer__heading {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--autowp-font-heading), sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.pc-footer__intro p {
  margin: 0;
  color: #b4c5bd;
}

.pc-footer__invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 5px 5px 28px;
  border-radius: 45px;
  background: #fff;
  color: #253b31 !important;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .35s ease;
}

.pc-footer__invitation:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  transform: translateY(-3px);
}

.pc-footer__arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 84px;
  height: 48px;
  border-radius: 40px;
  background: var(--pf-green);
  color: #fff;
  font-size: 26px;
  transition: background-color .35s ease, color .35s ease;
}

.pc-footer__arrow span {
  display: inline-block;
  transition: transform .4s ease;
}

.pc-footer__invitation:hover .pc-footer__arrow,
.pc-footer__invitation:focus-visible .pc-footer__arrow {
  background: var(--pf-yellow);
  color: var(--pf-dark);
}

.pc-footer__invitation:hover .pc-footer__arrow span,
.pc-footer__invitation:focus-visible .pc-footer__arrow span {
  transform: rotate(45deg);
}

.pc-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1.2fr .9fr;
  gap: 55px;
  padding: 58px 0 115px;
}

.pc-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  margin-bottom: 25px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .25s ease;
}

.pc-footer__brand:hover {
  transform: translateY(-3px);
}

.pc-footer__logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.pc-footer__about {
  margin: 0;
  color: #b4c5bd;
  font-size: 14px;
}

.pc-footer__title {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 15px;
  color: #fff;
  font-family: var(--autowp-font-heading), sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
}

.pc-footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 1px;
  background: var(--pf-yellow);
  transform-origin: left center;
}

.pc-footer__title::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: 0;
  width: 16px;
  height: 3px;
  background: #fff;
}

.pc-footer__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-footer__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: #b4c5bd;
  font-size: 14px;
  transition: color .25s ease, transform .3s ease;
}

.pc-footer__links a::before {
  content: "›";
  color: var(--pf-yellow);
  font-size: 25px;
  line-height: 1;
  transition: transform .3s ease;
}

.pc-footer__links a:hover {
  transform: translateX(6px);
}

.pc-footer__links a:hover::before {
  transform: translateX(3px);
}

.pc-footer__links a:hover,
.pc-footer__resource:hover strong {
  color: var(--pf-yellow);
}

.pc-footer__resources {
  display: grid;
  gap: 22px;
}

.pc-footer__resource {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.pc-footer__resource-media {
  display: block;
  overflow: hidden;
  width: 78px;
  height: 78px;
  border-radius: 18px;
}

.pc-footer__resource img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.pc-footer__resource:hover img {
  transform: scale(1.12) rotate(-3deg);
}

.pc-footer__resource small {
  display: block;
  margin-bottom: 5px;
  color: var(--pf-yellow);
  font-size: 12px;
}

.pc-footer__resource strong {
  display: block;
  color: #fff;
  font-family: var(--autowp-font-heading), sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  transition: color .25s ease;
}

.pc-footer__brush {
  position: absolute;
  right: -75px;
  bottom: 5px;
  z-index: -1;
  width: clamp(240px, 20vw, 370px);
  height: auto;
  pointer-events: none;
  transform-origin: bottom right;
}

.pc-footer__bottom {
  position: relative;
  background: var(--pf-green);
}

.pc-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding-block: 16px;
  font-size: 13px;
}

.pc-footer__bottom p {
  margin: 0;
}

.pc-footer__bottom strong {
  color: var(--pf-yellow);
  font-weight: 600;
}

.pc-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.pc-footer__bottom-links a {
  transition: color .25s ease;
}

.pc-footer__bottom-links a:hover {
  color: var(--pf-yellow);
}

.pc-footer__bottom-links a + a {
  padding-left: 20px;
  border-left: 1px solid #ffffff40;
}

.pc-footer__legal {
  padding-block: 14px 18px;
  border-top: 1px solid #ffffff26;
}

.pc-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  line-height: 1.5;
}

.pc-footer__legal a {
  color: #d7e6e0;
  transition: color .25s ease;
}

.pc-footer__legal a:hover {
  color: var(--pf-yellow);
}

.pc-footer__legal a + a {
  padding-left: 18px;
  border-left: 1px solid #ffffff40;
}

@media (max-width: 1100px) {
  .pc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px;
  }

  .pc-footer__brush {
    right: -100px;
    opacity: .85;
  }

  .pc-footer__logo {
    width: 260px;
  }
}

@media (max-width: 650px) {
  .pc-footer__container {
    width: calc(100% - 40px);
  }

  .pc-footer__intro {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 60px 0 35px;
  }

  .pc-footer__invitation {
    padding-left: 18px;
    font-size: 13px;
  }

  .pc-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 40px 0 60px;
  }

  .pc-footer__brand {
    margin-bottom: 22px;
  }

  .pc-footer__logo {
    width: 245px;
    max-width: 100%;
  }

  .pc-footer__brush {
    right: -105px;
    bottom: 70px;
    width: 260px;
    opacity: .6;
  }

  .pc-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pc-footer__legal nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .pc-footer__legal a + a {
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-footer *,
  .pc-footer *::before,
  .pc-footer *::after {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes pf-dash {
    from { transform: translateX(0); }
    to { transform: translateX(134px); }
  }

  @keyframes pf-sway {
    from { rotate: 0deg; translate: 0 0; }
    to { rotate: -3deg; translate: -6px -8px; }
  }

  .pc-footer .pc-footer__title::after {
    left: 0;
    animation: pf-dash 3.2s ease-in-out infinite alternate;
  }

  .pc-footer .pc-footer__brush {
    animation: pf-sway 6s ease-in-out infinite alternate;
  }

  .pc-footer.pf-anim [data-pf]:not(.pf-done) {
    transition:
      opacity .9s ease var(--d, 0s),
      transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s);
  }

  .pc-footer.pf-anim [data-pf="up"]:not(.pf-in) {
    opacity: 0;
    transform: translateY(40px);
  }

  .pc-footer.pf-anim [data-pf="left"]:not(.pf-in) {
    opacity: 0;
    transform: translateX(-30px);
  }

  .pc-footer.pf-anim [data-pf="right"]:not(.pf-in) {
    opacity: 0;
    transform: translateX(70px);
  }

  .pc-footer.pf-anim .pf-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .1em 0 .14em;
    margin: -.1em 0 -.14em;
  }

  .pc-footer.pf-anim .pf-wi {
    display: inline-block;
    transition:
      transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--d, 0s) + var(--i, 0) * 55ms),
      opacity .9s ease calc(var(--d, 0s) + var(--i, 0) * 55ms);
  }

  .pc-footer.pf-anim [data-pf="words"]:not(.pf-in) .pf-wi {
    opacity: 0;
    transform: translateY(110%);
  }

  .pc-footer.pf-anim .pc-footer__title::before {
    transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--d, 0s) + .2s);
  }

  .pc-footer.pf-anim .pc-footer__title:not(.pf-in)::before {
    transform: scaleX(0);
  }

  .pc-footer.pf-anim .pc-footer__title:not(.pf-in)::after {
    opacity: 0;
  }

  .pc-footer.pf-anim .pc-footer__intro {
    transition: border-color 1.4s ease .2s;
  }

  .pc-footer.pf-anim .pc-footer__intro:not(.pf-line) {
    border-bottom-color: transparent;
  }

  .pc-footer.pf-anim .pc-footer__brush {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1) .3s;
  }

  .pc-footer.pf-anim .pc-footer__brush:not(.pf-in) {
    clip-path: inset(0 0 0 100%);
  }
}
