/**
 * PICHY Footer CTA — только footer.php (#pichy-cta).
 * Не трогать при правке секций главной.
 */

/* ─── Footer shell (#pichy-cta) ─── */
#pichy-cta .pichy-footer {
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  #pichy-cta .pichy-footer {
    padding-top: 3.5rem;
  }
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .footer-shell {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem 4rem;
  }
}

/* ─── Brand column ─── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 19rem;
}

.footer-brand__logo {
  margin: 0;
  font-family: var(--pichy-font-display);
  font-weight: 800;
  font-size: var(--pichy-t1);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #F2A474;
}

@media (min-width: 768px) {
  .footer-brand__logo {
    font-size: calc(var(--pichy-t1) * 1.12);
  }
}

.footer-brand__tagline {
  margin: 0;
  font-family: var(--pichy-font-body);
  font-size: var(--pichy-sm1);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: var(--pichy-tracking-body);
  color: rgba(250, 237, 229, 0.78);
  max-width: 30ch;
}

/* ─── Meta column ─── */
.footer-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}

@media (min-width: 768px) {
  .footer-meta-block {
    align-items: flex-end;
    text-align: right;
  }
}

.type-footer-meta,
.type-footer-copy {
  font-family: var(--pichy-font-body);
  font-size: var(--pichy-sm1);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: none;
  opacity: 0.68;
}

a.type-footer-meta {
  display: inline-block;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a.type-footer-meta:hover {
  color: #F2A474;
  opacity: 0.92;
}

a.type-footer-meta:first-of-type {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.76;
}

.type-footer-meta--sentence {
  letter-spacing: var(--pichy-tracking-body);
  font-weight: 500;
  opacity: 0.64;
}

.type-footer-copy {
  margin-top: 0.375rem;
  font-size: var(--pichy-sm2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.48;
}

/* ─── Social links ─── */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(250, 237, 229, 0.07);
  color: rgba(250, 237, 229, 0.55);
  text-decoration: none;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.footer-social__link:hover {
  background: rgba(242, 164, 116, 0.16);
  color: #F2A474;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 27, 75, 0.18);
}

.footer-social__icon {
  width: 1.0625rem;
  height: 1.0625rem;
}

.footer-social__vc,
.footer-social__dzen {
  font-family: var(--pichy-font-display);
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.footer-social__vc {
  font-size: 0.75rem;
  letter-spacing: -0.04em;
}

.footer-social__dzen {
  font-size: 0.6875rem;
  letter-spacing: -0.02em;
}

.footer-social__link--vc,
.footer-social__link--dzen {
  font-size: 0;
}
