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

.psf-footer {
  width: 100%;
  padding: var(--psf-outer-padding, 30px 24px);
  font-family: inherit;
  color: var(--psf-text, #090914);
  position: relative;
  z-index: 1;
}

.psf-shell {
  width: 100%;
  max-width: var(--psf-max-width, 1380px);
  margin-inline: auto;
  background: var(--psf-shell-bg, #fff);
  border: 1px solid var(--psf-border, #E8F5F4);
  border-top: 4px solid var(--psf-accent, #09BCB1);
  border-radius: var(--psf-shell-radius, 28px);
  padding: var(--psf-shell-padding, 44px 58px 26px);
  box-shadow: 0 24px 70px rgba(4, 16, 24, .09);
  overflow: hidden;
  position: relative;
}

.psf-has-decor .psf-shell::before,
.psf-has-decor .psf-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.psf-has-decor .psf-shell::before {
  width: 190px;
  height: 130px;
  top: -60px;
  left: -42px;
  background: radial-gradient(circle at 26% 58%, var(--psf-pink, #EF047C) 0 22%, transparent 23%), linear-gradient(135deg, rgba(239,4,124,.95), rgba(239,4,124,.26));
  border-bottom-right-radius: 100% 78%;
  transform: rotate(-4deg);
  opacity: .92;
}

.psf-has-decor .psf-shell::after {
  width: 310px;
  height: 190px;
  right: -70px;
  bottom: -72px;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.55) 0 9%, transparent 10%), linear-gradient(135deg, rgba(9,188,177,.16), var(--psf-accent, #09BCB1));
  border-top-left-radius: 100% 86%;
  opacity: .92;
}

.psf-top,
.psf-feature-row,
.psf-bottom {
  position: relative;
  z-index: 2;
}

.psf-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) 1px minmax(430px, 1.6fr) minmax(260px, .95fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}

.psf-brand-block {
  min-width: 0;
}

.psf-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none !important;
  color: var(--psf-text, #090914) !important;
  max-width: 100%;
}

.psf-brand-logo,
.psf-logo-fallback {
  width: var(--psf-logo-width, 72px);
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.psf-logo-fallback {
  color: var(--psf-pink, #EF047C);
}

.psf-logo-fallback svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.psf-logo-fallback path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.psf-logo-fallback path:first-child {
  fill: currentColor;
  stroke: none;
  opacity: .86;
}

.psf-logo-fallback circle:nth-of-type(odd) { fill: var(--psf-pink, #EF047C); }
.psf-logo-fallback circle:nth-of-type(even) { fill: var(--psf-accent, #09BCB1); }

.psf-brand-text {
  display: inline-block;
  font-size: clamp(25px, 2.1vw, 36px);
  line-height: .95;
  font-weight: 850;
  letter-spacing: -0.055em;
  color: var(--psf-text, #090914);
  white-space: nowrap;
}

.psf-brand-text span {
  color: var(--psf-pink, #EF047C);
  font-weight: 750;
}

.psf-description {
  margin: 18px 0 16px;
  max-width: 310px;
  color: var(--psf-muted, #6B6B78);
  font-size: 15px;
  line-height: 1.55;
}

.psf-contact {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  font-style: normal;
}

.psf-contact-note {
  display: block;
  max-width: 310px;
  color: var(--psf-muted, #6B6B78);
  font-size: 13px;
  line-height: 1.35;
}

.psf-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(9,188,177,.08);
  border: 1px solid rgba(9,188,177,.18);
  color: var(--psf-text, #090914) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.psf-contact-link svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
  color: var(--psf-accent, #09BCB1);
}

.psf-contact-link span {
  overflow-wrap: anywhere;
}

.psf-contact-link:hover,
.psf-contact-link:focus-visible {
  color: #fff !important;
  background: var(--psf-accent, #09BCB1);
  border-color: var(--psf-accent, #09BCB1);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(9, 188, 177, .20);
  outline: none;
}

.psf-contact-link:hover svg,
.psf-contact-link:focus-visible svg {
  color: #fff;
}

.psf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.psf-social-link,
.psf-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  color: var(--psf-text, #090914);
  box-shadow: 0 10px 30px rgba(9, 9, 20, .12);
  text-decoration: none !important;
  transition: transform .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease;
}

.psf-social-link:hover,
.psf-social-link:focus-visible {
  color: #fff;
  background: var(--psf-accent, #09BCB1);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(9, 188, 177, .27);
  outline: none;
}

.psf-social-link svg,
.psf-feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.psf-divider {
  width: 1px;
  min-height: 172px;
  background: linear-gradient(180deg, transparent, var(--psf-accent, #09BCB1), transparent);
}

.psf-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 38px);
}

.psf-link-column h3 {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--psf-text, #090914);
  font-weight: 850;
}

.psf-link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.psf-link-column a,
.psf-legal a {
  color: var(--psf-text, #090914);
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.45;
  transition: color .2s ease, transform .2s ease;
}

.psf-link-column a:hover,
.psf-link-column a:focus-visible,
.psf-legal a:hover,
.psf-legal a:focus-visible {
  color: var(--psf-accent, #09BCB1);
  outline: none;
}

.psf-link-column a:hover {
  transform: translateX(3px);
}

.psf-cta-block {
  align-self: center;
  padding: 10px 0;
  position: relative;
}

.psf-cta-block h2 {
  margin: 0 0 22px;
  max-width: 345px;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--psf-text, #090914);
}

.psf-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 16px 28px;
  border-radius: var(--psf-button-radius, 999px);
  background: var(--psf-button-bg, #EF047C);
  color: var(--psf-button-color, #fff) !important;
  text-decoration: none !important;
  font-weight: 850;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .015em;
  box-shadow: 0 16px 34px rgba(239, 4, 124, .28);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.psf-cta-button:hover,
.psf-cta-button:focus-visible {
  background: var(--psf-button-hover, #09BCB1);
  transform: translateY(-3px);
  box-shadow: 0 17px 40px rgba(9, 188, 177, .28);
  outline: none;
}

.psf-cta-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.psf-feature-row {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--psf-border, #E8F5F4);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.psf-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.psf-feature-icon {
  color: var(--psf-accent, #09BCB1);
  box-shadow: none;
  background: rgba(9,188,177,.08);
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.psf-feature-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.psf-feature-copy strong {
  font-size: 14px;
  line-height: 1.2;
  color: var(--psf-text, #090914);
}

.psf-feature-copy small {
  font-size: 13px;
  line-height: 1.25;
  color: var(--psf-muted, #6B6B78);
}

.psf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--psf-border, #E8F5F4);
}

.psf-bottom p {
  margin: 0;
  color: var(--psf-muted, #6B6B78);
  font-size: 13px;
  line-height: 1.5;
}

.psf-copyright-link {
  color: var(--psf-muted, #6B6B78) !important;
  text-decoration: none !important;
  transition: color .2s ease;
}

.psf-copyright-link:hover,
.psf-copyright-link:focus-visible {
  color: var(--psf-accent, #09BCB1) !important;
  outline: none;
}

.psf-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
}

.psf-legal a {
  font-size: 13px;
  color: var(--psf-muted, #6B6B78);
}

.psf-has-decor .psf-brand-block::after,
.psf-has-decor .psf-cta-block::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--psf-pink, #EF047C);
  opacity: .8;
  pointer-events: none;
}

.psf-brand-block::after {
  top: 76px;
  left: 280px;
}

.psf-cta-block::after {
  right: 14px;
  top: -10px;
  background: var(--psf-accent, #09BCB1) !important;
}

@media (max-width: 1180px) {
  .psf-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .psf-divider {
    min-height: 1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--psf-accent, #09BCB1), transparent);
  }

  .psf-cta-block h2 {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .psf-footer {
    padding: 18px 12px;
  }

  .psf-shell {
    padding: 32px 22px 24px;
    border-radius: min(var(--psf-shell-radius, 28px), 26px);
  }

  .psf-has-decor .psf-shell::before {
    width: 142px;
    height: 96px;
    top: -48px;
    left: -45px;
  }

  .psf-has-decor .psf-shell::after {
    width: 210px;
    height: 132px;
    right: -68px;
    bottom: -62px;
  }

  .psf-brand {
    gap: 10px;
  }

  .psf-brand-text {
    font-size: clamp(23px, 7vw, 30px);
  }

  .psf-description {
    max-width: 100%;
    margin-bottom: 14px;
  }

  .psf-contact {
    margin-bottom: 18px;
  }

  .psf-contact-note {
    max-width: 100%;
  }

  .psf-contact-link {
    width: 100%;
  }

  .psf-social {
    justify-content: flex-start;
  }

  .psf-link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 4px;
  }

  .psf-link-column {
    padding: 16px 0;
    border-top: 1px solid var(--psf-border, #E8F5F4);
  }

  .psf-link-column h3 {
    margin-bottom: 12px;
  }

  .psf-link-column ul {
    gap: 8px;
  }

  .psf-cta-block {
    text-align: left;
  }

  .psf-cta-block h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .psf-cta-button {
    width: 100%;
    min-height: 52px;
  }

  .psf-feature-row {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .psf-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .psf-legal {
    justify-content: flex-start;
  }
}
