/* Footer en pestaña con redes y nombre gigante */
.site-footer { background: #050507; padding: 0 !important; text-align: left !important; color: var(--fg); overflow: hidden; margin-top: 40px; }
.ft-top { background: #101114; padding-top: 56px; }
.ft-panel {
  background: #050507; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding: 56px max(24px, 5vw) 64px; border-top: 1px solid #1c1d23;
  clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 90px, 100% 100%, 0 100%);
  border-radius: 0; margin-left: max(0px, 6vw);
  clip-path: polygon(110px 0, calc(100% - 110px) 0, 100% 110px, 100% 100%, 0 100%, 0 110px);
}
.ft-brand { max-width: 320px; padding-top: 6px; }
.ft-id { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ft-id img { border-radius: 50%; opacity: .95; flex-shrink: 0; }
.ft-name { letter-spacing: .2em; font-size: 15px; font-weight: 300; white-space: nowrap; }
.ft-name b { font-weight: 800; color: var(--accent); }
.ft-brand p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 48px; flex: 1; max-width: 760px; }
.ft-cols h4 { font-size: 17px; font-weight: 600; margin-bottom: 18px; color: #f2f2f4; }
.ft-cols a { display: block; padding: 7px 0; color: #8e8e98; font-size: 15px; transition: color .15s, transform .15s; }
.ft-cols a:hover { color: #fff; transform: translateX(3px); }

.ft-social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 max(24px, 3vw); margin-top: 8px; }
.ft-social a {
  display: grid; place-items: center; height: 76px; color: #e4e4e7; background: #121317;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); transition: background .25s, color .25s, transform .25s;
}
.ft-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

.ft-word {
  font-size: 14vw; line-height: .95; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; text-align: center;
  color: #ececee; margin: 28px 0 8px; padding: 0 1vw; user-select: none;
}
.ft-word span { color: var(--accent); }
a.ft-word { display: block; transition: opacity .2s; }
a.ft-word:hover { opacity: .85; }

.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 max(24px, 3vw); padding: 22px 0 28px; border-top: 1px solid #23242b; font-size: 13px; color: #7d7d87; }
.ft-legal { display: flex; gap: 28px; flex-wrap: wrap; }
.ft-legal a { color: #9a9aa4; transition: color .15s; }
.ft-legal a:hover { color: #fff; }

/* Página legal */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 20px 60px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 18px; letter-spacing: -.02em; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: 110px; }
.legal p { color: #b4b4bb; line-height: 1.7; margin-bottom: 12px; }
.legal .draft { border: 1px solid #5a2a1f; background: #1a0f0c; color: #f0b4a4; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

@media (max-width: 900px) {
  .ft-panel { flex-direction: column; margin-left: 0; clip-path: polygon(60px 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%, 0 60px); padding: 44px 24px 40px; gap: 32px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; max-width: none; width: 100%; }
  .ft-cols > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ft-top { padding-top: 36px; }
  .ft-social { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
  .ft-social a { height: 64px; }
  .ft-word { font-size: 14vw; margin-top: 22px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; margin: 0 16px; padding-bottom: 40px; }
  .ft-legal { gap: 10px 20px; }
}
