/* M7 footer styles split from assets/styles.css during Task 12. */

.activation-footer {
  width: min(100% - 48px, 1040px);
  margin: 56px auto 28px;
  color: var(--color-cocoa-ink);
}

.activation-footer-card {
  position: relative;
  border: 1px solid rgba(45, 31, 20, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 96, 31, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
  box-shadow:
    0 24px 70px rgba(45, 31, 20, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  overflow: visible;
  padding: 42px 44px;
}

.activation-footer-tape {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.activation-footer-tape--left {
  top: -28px;
  left: -30px;
  transform: rotate(-10deg);
}

.activation-footer-tape--right {
  top: -30px;
  right: -28px;
  transform: rotate(84deg);
}

.activation-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}

.activation-footer-brand {
  flex: 1 1 280px;
  max-width: 360px;
}

.activation-footer-brand a {
  display: inline-flex;
  align-items: center;
  color: var(--color-cocoa-ink);
  font-family: var(--font-geist);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.activation-footer-brand p {
  margin: 14px 0 0;
  color: rgba(45, 31, 20, 0.52);
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.activation-footer-nav {
  display: grid;
  flex: 1 1 520px;
  grid-template-columns: repeat(2, minmax(126px, 1fr));
  gap: 36px;
}

.activation-footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.activation-footer-group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: rgba(45, 31, 20, 0.46);
  font-family: var(--font-geist);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.activation-footer-group h2 span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(45, 31, 20, 0.08);
  color: rgba(45, 31, 20, 0.48);
  font-size: 10px;
  letter-spacing: 0;
  padding: 4px 10px;
  transform: rotate(-3deg);
  text-transform: none;
}

.activation-footer-group a {
  color: rgba(45, 31, 20, 0.54);
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.22;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.activation-footer-group a:hover,
.activation-footer-group a:focus-visible {
  color: var(--color-marker-orange);
  transform: translateX(2px);
}

.activation-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 8px 0;
  color: rgba(45, 31, 20, 0.56);
  font-family: var(--font-geist);
  font-size: 13px;
  font-weight: 650;
}

.activation-footer-bottom p {
  margin: 0;
}

.activation-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.activation-footer-social a {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: rgba(45, 31, 20, 0.56);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.activation-footer-social a:hover,
.activation-footer-social a:focus-visible {
  background: rgba(255, 96, 31, 0.1);
  color: var(--color-marker-orange);
  transform: translateY(-1px);
}

.activation-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 840px) {
  .activation-footer {
    width: min(100% - 32px, 1040px);
    margin-top: 48px;
  }

  .activation-footer-card {
    padding: 36px 34px;
  }

  .activation-footer-main {
    flex-direction: row;
    gap: 28px;
  }

  .activation-footer-brand {
    flex: 0 0 clamp(220px, 28vw, 300px);
    max-width: 300px;
  }

  .activation-footer-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .activation-footer {
    width: min(100% - 28px, 430px);
    margin: 42px auto 24px;
  }

  .activation-footer-card {
    border-radius: 24px;
    padding: 46px 28px 34px;
  }

  .activation-footer-tape {
    display: block;
    width: 66px;
  }

  .activation-footer-tape--left {
    top: -26px;
    left: -28px;
  }

  .activation-footer-tape--right {
    top: -28px;
    right: -26px;
  }

  .activation-footer-main {
    flex-direction: column;
    gap: 28px;
  }

  .activation-footer-brand {
    flex: 0 1 auto;
    max-width: none;
  }

  .activation-footer-brand a {
    font-size: 27px;
  }

  .activation-footer-brand p {
    max-width: 280px;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 560;
    line-height: 1.55;
  }

  .activation-footer-nav {
    width: 100%;
    flex: 0 1 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .activation-footer-group {
    gap: 11px;
  }

  .activation-footer-group:not(.activation-footer-group--wide) {
    display: flex;
    flex-direction: column;
  }

  .activation-footer-group h2 {
    font-size: 13px;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .activation-footer-group h2 span {
    padding: 4px 13px;
    font-size: 11px;
  }

  .activation-footer-group a {
    font-size: 14px;
    font-weight: 560;
    line-height: 1.35;
    white-space: normal;
  }

  .activation-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-left: 0;
    padding-right: 0;
    font-size: 16px;
    font-weight: 520;
    line-height: 1.35;
  }

  .activation-footer-social {
    gap: 14px;
  }

  .activation-footer-social a {
    width: 32px;
    height: 32px;
  }

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