/*
 * Panther Fight Academy — base visual compartida
 *
 * Este archivo contiene los tokens, normalización y reglas fundamentales que
 * deben heredar todas las páginas actuales y futuras. Los estilos propios de
 * cada vista viven en assets/css/pages/.
 */

:root {
  --bg: #08090b;
  --surface: #111318;
  --surface-2: #171a20;
  --surface-3: #1d2027;
  --surface-soft: #191c22;
  --line: #2b2f37;
  --border: var(--line);
  --text: #f5f5f2;
  --muted: #a7aab1;
  --gold: #d9ad49;
  --gold-light: #f2d27d;
  --red: #b9282f;
  --green: #25d366;
  --success: #5fc98b;
  --danger: #ff7378;
  /* Colores de texto de planes: misma paleta de la consulta de membresías. */
  --plan-text-start: #d3d5da;
  --plan-text-base: #d3d5da;
  --plan-text-active: #54b9ff;
  --plan-text-plus: #c999ed;
  --plan-text-dual: #d5a178;
  --plan-text-full: #bfc3ca;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

panther-site-header,
panther-site-footer {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Componente compartido: <panther-site-footer> */

.pfa-footer {
  padding: 58px 0 28px;
  background:
    radial-gradient(circle at 10% 20%, rgba(185, 40, 47, 0.12), transparent 34%),
    #090a0c;
  border-top: 1px solid var(--line);
}

.pfa-footer__container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.pfa-footer__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(150px, 1fr));
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.pfa-footer__brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.pfa-footer__brand-frame {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  background: #030303;
  border: 1px solid #62666d;
  border-radius: 50%;
  place-items: center;
}

.pfa-footer__brand-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pfa-footer__brand-copy strong,
.pfa-footer__brand-copy span {
  display: block;
}

.pfa-footer__brand-copy strong {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pfa-footer__brand-copy span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pfa-footer__description {
  max-width: 340px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.pfa-footer__column h2 {
  margin: 5px 0 18px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pfa-footer__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pfa-footer__list a,
.pfa-footer__list span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease;
}

.pfa-footer__list a:hover,
.pfa-footer__list a:focus-visible {
  color: #fff;
}

.pfa-footer__social-links {
  display: grid;
  gap: 10px;
}

.pfa-footer__social-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.pfa-footer__social-link:hover,
.pfa-footer__social-link:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.pfa-footer__social-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #fff;
  background: #15171b;
  border: 1px solid #34373e;
  border-radius: 50%;
  place-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.pfa-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pfa-footer__copy {
  margin: 0;
  color: #71757d;
  font-size: 0.76rem;
}

.pfa-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.pfa-footer__links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.pfa-footer__links a:hover,
.pfa-footer__links a:focus-visible {
  color: #fff;
}

@media (max-width: 850px) {
  .pfa-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pfa-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .pfa-footer__container {
    width: min(100% - 22px, var(--max));
  }

  .pfa-footer__grid {
    grid-template-columns: 1fr;
  }

  .pfa-footer__description {
    max-width: none;
  }

  .pfa-footer__links {
    gap: 12px 18px;
  }
}
