/* =========================================
   FOOTER 52-52
========================================= */
.footer-5252 {
  --footer-primary: var(--color-primary, #E20052);
  --footer-secondary: var(--color-secondary, #00B6F0);
  --footer-tertiary: var(--color-tertiary, #05AF62);

  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #071019;
  padding: clamp(78px, 8vw, 122px) 0 24px;
}

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

.footer-5252 a:hover {
  opacity: 0.9;
}

.footer-5252 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-5252 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer-5252__media,
.footer-5252__overlay,
.footer-5252__glow {
  position: absolute;
  inset: 0;
}

.footer-5252__media {
  z-index: 0;
}

.footer-5252__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  filter: saturate(0.9) contrast(1.02) brightness(0.48);
}

.footer-5252__overlay {
  background:
    linear-gradient(
      135deg,
      rgba(7, 12, 20, 0.95) 0%,
      rgba(24, 10, 20, 0.82) 34%,
      rgba(226, 0, 82, 0.50) 62%,
      rgba(7, 12, 20, 0.94) 100%
    );
}

.footer-5252__glow--left {
  background: radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.08), transparent 24%);
}

.footer-5252__glow--right {
  background: radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.06), transparent 24%);
}

.footer-5252__topline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 3;
  background:
    linear-gradient(
      90deg,
      var(--footer-primary) 0%,
      var(--footer-primary) 33.333%,
      var(--footer-secondary) 33.333%,
      var(--footer-secondary) 66.666%,
      var(--footer-tertiary) 66.666%,
      var(--footer-tertiary) 100%
    );
}

.footer-5252__inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================
   HERO ZONE
========================================= */
.footer-5252__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.footer-5252__brand-panel,
.footer-5252__newsletter-card,
.footer-5252__grid {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 48px rgba(5, 10, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.footer-5252__brand-panel::before,
.footer-5252__newsletter-card::before,
.footer-5252__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.05), transparent 26%);
}

.footer-5252__brand-panel {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 34px;
}

.footer-5252__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-5252__brand-head {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: center;
  margin-top: 22px;
}

.footer-5252__logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.footer-5252__brand-copy {
  min-width: 0;
}

.footer-5252__title {
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}

.footer-5252__lead {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
}

.footer-5252__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.footer-5252__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-5252__mark {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.footer-5252__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-5252__mark--brand {
  right: -26px;
  bottom: -20px;
  width: 158px;
  height: 158px;
  filter: brightness(0) invert(1);
}

/* =========================================
   NEWSLETTER CARD
========================================= */
.footer-5252__newsletter-card {
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-5252__card-label {
  display: inline-flex;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-5252__card-title {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.footer-5252__card-text {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.75;
}

.footer-5252__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-5252__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #1a1f2b;
  font: inherit;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.footer-5252__input:focus {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.10);
}

.footer-5252__button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--footer-primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-5252__button:hover {
  transform: translateY(-1px);
  background: #c90049;
  box-shadow: 0 16px 26px rgba(226, 0, 82, 0.22);
}

.footer-5252__message {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-5252__message.is-visible {
  display: block;
}

.footer-5252__message.is-success {
  background: rgba(5, 175, 98, 0.14);
  border: 1px solid rgba(5, 175, 98, 0.24);
  color: #d7ffeb;
}

.footer-5252__message.is-error {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.footer-5252__contact-strip {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.footer-5252__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-5252__contact-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* =========================================
   LINKS GRID
========================================= */
.footer-5252__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 0;
  border-radius: 30px;
}

.footer-5252__col {
  position: relative;
  padding: 28px 24px;
}

.footer-5252__col + .footer-5252__col {
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-5252__col-title {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-5252__list {
  display: grid;
  gap: 12px;
}

.footer-5252__list a,
.footer-5252__contact-list li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    color 0.25s ease;
}

.footer-5252__list a:hover {
  transform: translateX(4px);
  color: #ffffff;
  opacity: 1;
}

.footer-5252__contact-list {
  display: grid;
  gap: 10px;
}

.footer-5252__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-5252__socials a {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.2rem;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-5252__socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 24px rgba(8, 12, 20, 0.18);
}

.footer-5252__social-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* =========================================
   BOTTOM
========================================= */
.footer-5252__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-5252__legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-5252__legal a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-5252__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-5252__bottom-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-5252__bottom-links a:hover {
  color: #ffffff;
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 1400px) {
  .footer-5252__hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }
}

@media (max-width: 1200px) {
  .footer-5252__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-5252__col:nth-child(3) {
    border-left: 0;
  }

  .footer-5252__col:nth-child(3),
  .footer-5252__col:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .footer-5252__brand-head {
    grid-template-columns: minmax(100px, 180px) 1fr;
  }
}

@media (max-width: 992px) {
  .footer-5252__hero {
    grid-template-columns: 1fr;
  }

  .footer-5252__brand-head {
    grid-template-columns: 1fr;
  }

  .footer-5252__logo {
    max-width: 180px;
  }

  .footer-5252__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-5252 {
    padding: 64px 0 22px;
  }

  .footer-5252__inner {
    width: min(100% - 32px, 1440px);
  }

  .footer-5252__brand-panel,
  .footer-5252__newsletter-card {
    border-radius: 26px;
    padding: 22px 18px;
  }

  .footer-5252__grid {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .footer-5252__col {
    padding: 22px 18px;
  }

  .footer-5252__col + .footer-5252__col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .footer-5252__col:nth-child(3),
  .footer-5252__col:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .footer-5252__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .footer-5252__mark--brand {
    width: 118px;
    height: 118px;
    right: -18px;
    bottom: -14px;
  }
}

@media (max-width: 576px) {
  .footer-5252__tags {
    gap: 8px;
  }

  .footer-5252__tag {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .footer-5252__socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .footer-5252__bottom-links {
    gap: 12px;
  }
}