.pl-nice-footer,
.pl-nice-footer * {
  box-sizing: border-box;
}

.pl-nice-footer {
  width: calc(100% - 28px);
  max-width: var(--wrap); /* один токен на шапку, підвал і контент */
  margin: clamp(70px, 9vw, 120px) auto 18px;
  font-family: Inter, Arial, sans-serif;
  color: #173325;
}

.pl-footer-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 36px;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0) 34%
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(198, 161, 91, 0.16),
      rgba(198, 161, 91, 0) 32%
    ),
    rgba(246, 243, 234, 0.86);
  box-shadow: 0 24px 80px rgba(16, 30, 22, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pl-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr) minmax(
      260px,
      0.85fr
    );
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.pl-footer-brand {
  min-width: 0;
}

.pl-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
  color: #173325;
  text-decoration: none;
}

.pl-footer-logo img {
  display: block;
  width: auto;
  max-width: 190px;
  height: 54px;
  object-fit: contain;
}

.pl-footer-logo-fallback {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pl-footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(23, 51, 37, 0.64);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pl-footer-kicker::before {
  content: "//";
  color: #173325;
  font-weight: 900;
}

.pl-footer-title {
  max-width: 620px;
  margin: 0;
  color: #173325;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.pl-footer-title span {
  color: rgba(23, 51, 37, 0.54);
}

.pl-footer-text {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(23, 51, 37, 0.74);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.pl-footer-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(23, 51, 37, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
}

.pl-footer-panel-title {
  margin: 0 0 16px;
  color: rgba(23, 51, 37, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pl-footer-menu {
  display: grid;
  gap: 8px;
}

.pl-footer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #173325;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.pl-footer-menu a::after {
  content: "→";
  color: rgba(23, 51, 37, 0.38);
  transition: 0.2s ease;
}

.pl-footer-menu a:hover {
  background: rgba(23, 51, 37, 0.07);
  transform: translateX(2px);
}

.pl-footer-menu a:hover::after {
  color: #173325;
  transform: translateX(2px);
}

.pl-footer-contact-stack {
  display: grid;
  gap: 10px;
}

.pl-footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  color: #173325;
  text-decoration: none;
}

.pl-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #173325;
  color: #f6f3ea;
}

.pl-footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.pl-footer-contact strong {
  display: block;
  margin-bottom: 2px;
  color: #173325;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.pl-footer-contact span {
  display: block;
  color: rgba(23, 51, 37, 0.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.pl-footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 999px;
  background: #173325;
  color: #f6f3ea;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(23, 51, 37, 0.24);
  transition: 0.2s ease;
}

.pl-footer-cta:hover {
  background: #244936;
  transform: translateY(-1px);
}

.pl-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pl-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 51, 37, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #173325;
  text-decoration: none;
  transition: 0.2s ease;
}

.pl-social svg {
  width: 20px;
  height: 20px;
}

.pl-social:hover {
  background: #173325;
  color: #f6f3ea;
  transform: translateY(-2px);
}

.pl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(23, 51, 37, 0.08);
}

.pl-footer-copy {
  color: rgba(23, 51, 37, 0.6);
  font-size: 13px;
  font-weight: 700;
}

.pl-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.pl-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(23, 51, 37, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.36);
  transition: 0.2s ease;
}

.pl-footer-legal a:hover {
  background: rgba(23, 51, 37, 0.08);
  color: #173325;
}

/* Ступені ширини — ті самі, що в шапці (header.css): 28 → 20 → 16.
   Раніше підвал переходив одразу на 16px і лише з 640, через що
   у смузі 641–1024 він був на 8px вужчий за шапку. */
@media (max-width: 1024px) {
  .pl-nice-footer {
    width: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .pl-nice-footer {
    width: calc(100% - 16px);
  }
}

@media (max-width: 980px) {
  .pl-footer-main {
    grid-template-columns: 1fr;
  }

  .pl-footer-panel {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .pl-nice-footer {
    /* ширина живе у власних брейкпойнтах вище — тут лише відступ */
    margin-top: 64px;
  }

  .pl-footer-card {
    border-radius: 26px;
  }

  .pl-footer-main {
    gap: 14px;
    padding: 18px;
  }

  .pl-footer-logo {
    margin-bottom: 20px;
  }

  .pl-footer-logo img {
    max-width: 150px;
    height: 42px;
  }

  .pl-footer-title {
    font-size: clamp(34px, 13vw, 52px);
  }

  .pl-footer-text {
    margin-top: 16px;
    font-size: 14px;
  }

  .pl-footer-panel {
    border-radius: 22px;
  }

  .pl-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px 18px;
  }

  .pl-footer-legal {
    justify-content: flex-start;
  }

  .pl-footer-legal a {
    min-height: 32px;
    font-size: 12px;
  }
}

/* =========================
 FOOTER POLISH PATCH
 fixes: contact icons, nav arrows, brand label
========================= */

/* 1. Чиним иконки контактов */
.pl-nice-footer .pl-footer-contact-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #173325 !important;
  color: #f6f3ea !important;
  overflow: hidden !important;
}

.pl-nice-footer .pl-footer-contact-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: #f6f3ea !important;
  stroke: currentColor !important;
  fill: none !important;
  flex: 0 0 auto !important;
}

/* для email/location/phone иконок */
.pl-nice-footer .pl-footer-contact-icon svg path,
.pl-nice-footer .pl-footer-contact-icon svg rect,
.pl-nice-footer .pl-footer-contact-icon svg circle {
  stroke: currentColor !important;
}

/* текстовая часть контакта отдельно, чтобы не ломала иконку */
.pl-nice-footer .pl-footer-contact > span:not(.pl-footer-contact-icon) {
  display: block !important;
  min-width: 0 !important;
}

.pl-nice-footer
  .pl-footer-contact
  > span:not(.pl-footer-contact-icon)
  strong {
  display: block !important;
  margin-bottom: 3px !important;
  color: #173325 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.pl-nice-footer .pl-footer-contact > span:not(.pl-footer-contact-icon) span {
  display: block !important;
  color: rgba(23, 51, 37, 0.62) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

/* 2. Стрелочки в навигации делаем SVG-иконками, не текстом */
.pl-nice-footer .pl-footer-menu a::after {
  content: "" !important;
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  margin-left: 14px !important;
  opacity: 0.55 !important;
  background-color: currentColor !important;
  color: rgba(23, 51, 37, 0.55) !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-position: center !important;
  -webkit-mask-position: center !important;
  mask-size: contain !important;
  -webkit-mask-size: contain !important;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease !important;
}

.pl-nice-footer .pl-footer-menu a:hover::after {
  opacity: 1 !important;
  transform: translateX(3px) !important;
}

/* 3. Делаем // PROLANDSCAPE заметнее рядом с логотипом */
.pl-nice-footer .pl-footer-kicker {
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  color: rgba(23, 51, 37, 0.68) !important;
}

.pl-nice-footer .pl-footer-kicker::before {
  font-size: 18px !important;
  color: #173325 !important;
  line-height: 1 !important;
}

/* 4. Немного красивее карточки контактов */
.pl-nice-footer .pl-footer-contact {
  position: relative !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.54) !important;
}

.pl-nice-footer .pl-footer-contact:hover {
  background: rgba(255, 255, 255, 0.72) !important;
  transform: translateY(-1px) !important;
}

/* 5. Соцсети чуть аккуратнее */
.pl-nice-footer .pl-social {
  color: #173325 !important;
}

.pl-nice-footer .pl-social:hover {
  color: #f6f3ea !important;
  background: #173325 !important;
}

/* =========================
 FOOTER FINAL POLISH:
 PROLANDSCAPE label + ladybug
========================= */

/* 1. Поднимаем и увеличиваем // PROLANDSCAPE рядом с логотипом */
.pl-nice-footer .pl-footer-logo {
  vertical-align: middle !important;
  margin-bottom: 28px !important;
}

.pl-nice-footer .pl-footer-kicker {
  position: relative !important;
  top: -8px !important;
  margin-left: 14px !important;
  margin-bottom: 0 !important;
  vertical-align: middle !important;

  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0.065em !important;
  color: rgba(23, 51, 37, 0.72) !important;
}

.pl-nice-footer .pl-footer-kicker::before {
  margin-right: 10px !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  color: #173325 !important;
}

/* На мобилке чуть меньше, чтобы не разъехалось */
@media (max-width: 640px) {
  .pl-nice-footer .pl-footer-kicker {
    top: -5px !important;
    margin-left: 10px !important;
    font-size: 14px !important;
  }

  .pl-nice-footer .pl-footer-kicker::before {
    font-size: 17px !important;
    margin-right: 7px !important;
  }
}

/* Корівка на межі футера живе в ladybug.js (орбіта по периметру).
   Тут лишається тільки те, що їй потрібно від картки. */
.pl-nice-footer .pl-footer-card {
  position: relative;
  overflow: visible;
}

/* ═══════════ ДЕКОР: божа корівка по орбіті ═══════════ */
/* =========================
   FOOTER LABEL + LADYBUG ORBIT
========================= */

/* Надпись // PROLANDSCAPE крупнее и ровнее */
.pl-nice-footer .pl-footer-kicker {
  top: -10px !important;
  margin-left: 16px !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 0.065em !important;
  color: rgba(23, 51, 37, 0.72) !important;
}

.pl-nice-footer .pl-footer-kicker::before {
  margin-right: 11px !important;
  font-size: 23px !important;
  color: #173325 !important;
}

@media (max-width: 640px) {
  .pl-nice-footer .pl-footer-logo {
    margin-bottom: 24px !important;
  }

  .pl-nice-footer .pl-footer-kicker {
    top: -7px !important;
    margin-left: 12px !important;
    font-size: 18px !important;
    letter-spacing: 0.045em !important;
  }

  .pl-nice-footer .pl-footer-kicker::before {
    font-size: 21px !important;
    margin-right: 8px !important;
  }
}

@media (max-width: 420px) {
  .pl-nice-footer .pl-footer-kicker {
    font-size: 16px !important;
    margin-left: 9px !important;
  }

  .pl-nice-footer .pl-footer-kicker::before {
    font-size: 19px !important;
  }
}

/* Новая коровка, которая ходит по контуру */
.pl-footer-ladybug-orbit {
  position: absolute !important;
  left: 0;
  top: 0;
  z-index: 40 !important;
  width: 74px !important;
  height: 74px !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  filter: drop-shadow(0 8px 10px rgba(16, 30, 22, 0.18));
  will-change: transform;
}

@media (max-width: 640px) {
  .pl-footer-ladybug-orbit {
    width: 58px !important;
    height: 58px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-footer-ladybug-orbit {
    display: none !important;
  }
}
/* ═══════════ FIX: довгий email обрізався в картці контакту ═══════════
   .pl-footer-contact має overflow:hidden, а flex-елемент за замовчуванням
   не стискається менше свого вмісту — тому адреса просто зрізалася. */
.pl-nice-footer .pl-footer-contact > span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.pl-nice-footer .pl-footer-contact strong {
  overflow-wrap: anywhere;
}

