/* assets/css/footer.css */

.lp-footer{
  --lp-footer-bg: #e5e5e5;
  background: transparent;
  color: var(--lp-about-title);
  --lp-footer-radius: clamp(140px, 18vw, 240px);

  border-top-right-radius: 0;
  border-top-left-radius: var(--lp-footer-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  --lp-footer-stroke-show: 220px;
  --lp-footer-stroke-thickness: 2px;
  --lp-footer-stroke-y: -12px;
  --lp-footer-stroke-x: 0px;
  overflow-y: visible;
  overflow-x: hidden;
  overflow-x: clip;

  padding-top: clamp(44px, 5vw, 70px);
  padding-bottom: 0;
}

html[dir="ltr"] .lp-footer{
  border-top-right-radius: var(--lp-footer-radius);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lp-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  transform: translate3d(-18px, -18px, 0);
  border: var(--lp-footer-stroke-thickness) solid var(--lp-about-title);
  border-top-right-radius: 0;
  border-top-left-radius: var(--lp-footer-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  clip-path: inset(0 0 calc(100% - var(--lp-footer-stroke-show)) 0);
  pointer-events: none;
  z-index: 0;
}

html[dir="ltr"] .lp-footer::before{
  transform: translate3d(18px, -18px, 0);
  border-top-right-radius: var(--lp-footer-radius);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lp-footer::after{
  content:"";
  position:absolute;
  inset:0;
  background: var(--lp-footer-bg);
  border-top-right-radius: 0;
  border-top-left-radius: var(--lp-footer-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 1;
  pointer-events: none;
}

html[dir="ltr"] .lp-footer::after{
  border-top-right-radius: var(--lp-footer-radius);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lp-footer__graphics{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: var(--lp-about-title);
  opacity: .35;
}

.lp-footer .lp-lines{
  position: absolute;
  width: min(760px, calc(92vw - (var(--lp-lines-edge-pad) * 2)));
  height: auto;
}

.lp-footer .lp-lines--topStart{
  top: 24px;
  inset-inline-start: var(--lp-lines-edge-pad);
}

.lp-footer .lp-lines--bottomEnd{
  bottom: 24px;
  inset-inline-end: var(--lp-lines-edge-pad);
}

.lp-footer .lp-lines .lp-line{
  stroke: currentColor;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  will-change: stroke-dashoffset, opacity;
}

.lp-footer .lp-lines .lp-line--w10{ stroke-width: 6; }
.lp-footer .lp-lines .lp-line--w4 { stroke-width: 4; }
.lp-footer .lp-lines .lp-line--w1 { stroke-width: 1; }

/* ========================= */

.lp-footer__inner{
  max-width: var(--lp-container);
  margin-inline: auto;
  padding-inline: var(--lp-page-pad);
  position: relative;
  z-index: 3;
}

.lp-footer__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
  justify-items: start;
}

.lp-footer__col{
  text-align: start;
  min-width: 0;
}

html[dir="rtl"] .lp-footer__grid{ justify-items: start; }
html[dir="rtl"] .lp-footer__col{ text-align: right; }

.lp-footer__col--brand{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

html[dir="rtl"] .lp-footer__col--brand{
  align-items: flex-start;
}

.lp-footer__logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
}

.lp-footer__logoImg{
  height: clamp(88px, 6vw, 118px);
  width: auto;
  display: block;
  filter: none;
}

.lp-footer__socialWrap{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-footer__social--compact{
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

html[dir="rtl"] .lp-footer__social--compact{
  justify-content: flex-end;
}

.lp-footer__socialLabel{
  color: var(--lp-about-title);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.lp-footer .lp-socialIcon__stroke{
  border-color: var(--lp-about-title);
}

.lp-socialIcon.lp-socialIcon--sm{
  width: 56px;
  height: 56px;
}

.lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__stroke,
.lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer{
  top: 0;
  left: 0;
  right: auto;
  width: 40px;
  height: 40px;
  border-radius: 20px 0 0 0;
}

html[dir="ltr"] .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__stroke,
html[dir="ltr"] .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer{
  left: auto;
  right: 0;
  border-radius: 0 20px 0 0;
}

.lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer{
  transform: translate(6px, 6px);
}

html[dir="ltr"] .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer{
  transform: translate(-6px, 6px);
}

.lp-socialIcon.lp-socialIcon--sm:hover .lp-socialIcon__layer,
.lp-socialIcon.lp-socialIcon--sm:focus-visible .lp-socialIcon__layer{
  transform: translate(0, 0);
}

html[dir="ltr"] .lp-socialIcon.lp-socialIcon--sm:hover .lp-socialIcon__layer,
html[dir="ltr"] .lp-socialIcon.lp-socialIcon--sm:focus-visible .lp-socialIcon__layer{
  transform: translate(0, 0);
}

.lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer i{
  font-size: 18px;
}

.lp-footer__col--nav{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lp-footer__linksRow{
  display: flex;
  flex-wrap: nowrap;
  gap: 16px 24px;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lp-footer__linksRow::-webkit-scrollbar{ display: none; }

html[dir="rtl"] .lp-footer__linksRow{
  justify-content: flex-start;
}

.lp-footer__link{
  color: var(--lp-about-title);
  text-decoration: none;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.3;
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  opacity: .92;
}

.lp-footer__link:hover{
  opacity: 1;
  transform: translateX(-2px);
  color: var(--lp-footer-accent);
}

.lp-footer__link--active{
  color: var(--lp-accent);
}

.lp-footer__brandText{
  margin-top: 46px;
  min-width: 0;
}

.lp-footer__brandTitle{
  color: var(--lp-about-title);
  font-weight: 900;
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-footer__brandDesc{
  color: var(--lp-about-title);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.95;
  max-width: none;
  width: 100%;
  min-width: 0;
  text-align: justify;
  text-justify: inter-word;
  word-spacing: .06em;
  text-align-last: start;
  overflow-wrap: anywhere;
  word-break: break-word;
  opacity: .92;
}

html[dir="rtl"] .lp-footer__brandDesc{
  text-align-last: right;
}

.lp-footer__col--contact{
  display: flex;
  flex-direction: column;
  padding-inline-start: 88px;
}

.lp-footer__contact{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-footer__contactBlock{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-footer__label{
  color: var(--lp-accent);
  font-weight: 900;
  font-size: 14px;
}

.lp-footer__value{
  color: var(--lp-about-title);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.7;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  opacity: .95;
}

.lp-footer__value--ltr{
  direction: ltr;
  unicode-bidi: plaintext;
}

html[dir="rtl"] .lp-footer__value--ltr{
  text-align: right;
}

html[dir="ltr"] .lp-footer__value--ltr{
  text-align: left;
}

.lp-footer__value:hover{
  text-decoration: underline;
  text-decoration-color: var(--lp-about-title);
}

.lp-footer__bottom{
  margin-top: clamp(22px, 3vw, 32px);
  padding-block: 16px;
  border-top: 1px solid var(--lp-about-title);
  color: var(--lp-about-title);
  font-weight: 800;
  font-size: 14px;
  opacity: .92;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.lp-footer__bottomCopy,
.lp-footer__bottomPowered{
  font: inherit;
  color: inherit;
  line-height: 1.6;
}

.lp-footer__bottomPowered{
  text-align: end;
}

.lp-footer__bottomPoweredLink{
  color: inherit;
  text-decoration: none;
  font: inherit;
  transition: opacity .18s ease, color .18s ease;
}

.lp-footer__bottomPoweredLink:hover,
.lp-footer__bottomPoweredLink:focus-visible{
  color: var(--lp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[dir="rtl"] .lp-footer__bottom{
  text-align: right;
}

html[dir="ltr"] .lp-footer__bottom{
  text-align: left;
}

/* Responsive */
@media (max-width: 1100px){
  .lp-footer__grid{
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .9fr);
    gap: clamp(18px, 2.5vw, 32px);
  }

  .lp-footer__linksRow{
    gap: 12px 18px;
  }

  .lp-footer__link{
    font-size: 16px;
  }

  .lp-footer__brandText{
    margin-top: 36px;
  }

  .lp-footer__brandTitle{
    font-size: 18px;
  }

  .lp-footer__col--contact{
    padding-inline-start: 42px;
  }
}

@media (max-width: 980px){
  .lp-footer{
    --lp-footer-radius: clamp(110px, 22vw, 180px);
    --lp-footer-stroke-show: 200px;
  }

  .lp-footer__grid{
    grid-template-columns: 1fr;
  }

  .lp-footer__col--contact{
    padding-inline-start: 0;
  }

  html[dir="rtl"] .lp-footer__linksRow{
    justify-content: flex-start;
  }

  .lp-footer__brandDesc{
    max-width: none;
    width: 100%;
  }

  .lp-footer .lp-lines{
    width: min(640px, calc(96vw - (var(--lp-lines-edge-pad) * 2)));
  }
}

@media (max-width: 760px){
  .lp-footer__linksRow{
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 10px 16px;
  }

  .lp-footer__link{
    font-size: 15px;
    line-height: 1.25;
  }

  .lp-footer__brandText{
    margin-top: 24px;
  }

  .lp-footer__brandTitle{
    font-size: 17px;
    margin-bottom: 8px;
  }

  .lp-footer__brandDesc{
    font-size: 13.5px;
    line-height: 1.85;
  }

  .lp-footer__contact{
    gap: 14px;
  }

  .lp-footer__value{
    font-size: 14px;
    line-height: 1.65;
  }

  .lp-footer__bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-footer__bottomPowered{
    text-align: start;
  }
}

@media (max-width: 560px){
  .lp-footer{
    padding-top: clamp(36px, 7vw, 52px);
  }

  .lp-footer__grid{
    gap: 20px;
    justify-items: center;
  }

  .lp-footer__col{
    width: 100%;
    text-align: center;
  }

  html[dir="rtl"] .lp-footer__col{
    text-align: center;
  }

  .lp-footer__logoImg{
    height: clamp(78px, 22vw, 96px);
  }

  .lp-footer__col--brand{
    gap: 26px;
    align-items: center;
  }

  html[dir="rtl"] .lp-footer__col--brand{
    align-items: center;
  }

  .lp-footer__socialWrap{
    align-items: center;
  }

  .lp-footer__social--compact{
    gap: 10px;
    justify-content: center;
  }

  html[dir="rtl"] .lp-footer__social--compact{
    justify-content: center;
  }

  .lp-socialIcon.lp-socialIcon--sm{
    width: 50px;
    height: 50px;
  }

  .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__stroke,
  .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer{
    width: 36px;
    height: 36px;
  }

  .lp-socialIcon.lp-socialIcon--sm .lp-socialIcon__layer i{
    font-size: 16px;
  }

  .lp-footer__linksRow{
    gap: 8px 14px;
    justify-content: center;
  }

  html[dir="rtl"] .lp-footer__linksRow{
    justify-content: center;
  }

  .lp-footer__link{
    font-size: 14px;
  }

  .lp-footer__brandText{
    margin-top: 18px;
    text-align: center;
  }

  .lp-footer__brandTitle{
    font-size: 16px;
  }

  .lp-footer__brandDesc{
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
    text-align-last: center;
  }

  html[dir="rtl"] .lp-footer__brandDesc{
    text-align-last: center;
  }

  .lp-footer__col--contact{
    align-items: center;
  }

  .lp-footer__contact{
    align-items: center;
  }

  .lp-footer__contactBlock{
    align-items: center;
    text-align: center;
  }

  .lp-footer__label{
    font-size: 13px;
  }

  .lp-footer__value{
    font-size: 13.5px;
    text-align: center;
  }

  html[dir="rtl"] .lp-footer__value--ltr,
  html[dir="ltr"] .lp-footer__value--ltr{
    text-align: center;
  }

  .lp-footer__bottom{
    font-size: 13px;
    padding-block: 14px;
    align-items: center;
    text-align: center;
  }

  html[dir="rtl"] .lp-footer__bottom,
  html[dir="ltr"] .lp-footer__bottom{
    text-align: center;
  }

  .lp-footer__bottomPowered{
    text-align: center;
  }
}

@media (max-width: 400px){
  .lp-footer__linksRow{
    gap: 8px 12px;
  }

  .lp-footer__link{
    font-size: 13px;
  }

  .lp-footer__brandTitle{
    font-size: 15px;
  }

  .lp-footer__brandDesc{
    font-size: 12.5px;
    line-height: 1.75;
  }

  .lp-footer__value{
    font-size: 13px;
  }
}