:root {
  --neon: #c9fb1e;
  --neon-deep: #b2e600;
  --magenta: #f48fd6;
  --magenta-soft: #f8c8e8;
  --ink: #0c0c0c;
  --paper: #f3f0e8;
  --smoke: #3a3a3a;
  --line: rgba(12, 12, 12, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Archivo Black", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.mono {
  font-family: "Space Mono", ui-monospace, monospace;
}

a {
  color: inherit;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--neon);
  border-bottom: 3px solid var(--ink);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand svg {
  height: 34px;
  width: auto;
}
.brand b {
  font-size: 0.95rem;
  line-height: 1;
}
.tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--neon);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(
    160deg,
    var(--neon) 0%,
    var(--magenta-soft) 70%,
    var(--magenta-soft) 100%
  );
  padding: 48px 0 56px;
}
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.92;
}
.hero .kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.65;
  margin-bottom: 10px;
}
.hero p.lead {
  margin-top: 18px;
  max-width: 640px;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: rgba(12, 12, 12, 0.75);
}

/* ---------- Sections ---------- */
section {
  padding: 40px 0;
 
}
section h2 {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  margin-bottom: 18px;
}
section h2 .num {
  color: var(--magenta);
}

/* data list (datos académicos) */
.data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.data div {
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
}
.data span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}
.data b {
  font-weight: 600;
}

/* cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--magenta);
  font-weight: 700;
}
.card .name {
  font-size: 1.25rem;
}
.card .go {
  margin-top: auto;
  padding-top: 10px;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

/* avatar circle (120x120 según consigna) */
.avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--magenta), var(--neon));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.6);
}
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar .initial {
  font-family: "Archivo Black", sans-serif;
  font-size: 2.8rem;
  color: var(--ink);
}

/* access buttons */
.access {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-neon {
  background: var(--neon);
  color: var(--ink);
}
.btn-magenta {
  background: var(--magenta);
  color: var(--ink);
}
.btn-ink {
  background: var(--ink);
  color: var(--neon);
}
.btn:hover {
  background: var(--ink);
  color: var(--neon);
  transform: translateY(-2px);
}

/* profile header (individual) */
.profile {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile .meta h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
}
.profile .meta .role {
  margin-top: 8px;
  font-family: "Space Mono", monospace;
  color: var(--magenta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* simple list */
.list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.list li {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.5);
}

/* bocetos / placeholders */
.bocetos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.boceto {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: repeating-linear-gradient(
    45deg,
    var(--magenta-soft),
    var(--magenta-soft) 12px,
    #fff 12px,
    #fff 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: rgba(12, 12, 12, 0.5);
  text-align: center;
  padding: 10px;
}

/* video promo */
.promo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: center;
}
.promo video,
.promo .poster {
  width: 100%;
  border-radius: 18px;
  display: block;
  background: var(--ink);
}
.promo .poster {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* note box for things to complete */
.note {
  background: #fff7d6;
  border: 1px dashed #d8b400;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #7a5c00;
  margin-top: 10px;
}

/* ---------- Footer (leyenda obligatoria) ---------- */
footer {
  background: var(--ink);
  color: rgba(243, 240, 232, 0.85);
  padding: 36px 0;
}
footer .acad {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
footer .acad .neon {
  color: var(--neon);
}
footer .acad .magenta {
  color: var(--magenta);
  font-weight: 700;
}
footer .legend {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.7;
  opacity: 0.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

/* ===========================================================
   RESPONSIVE — 3 anchos (mobile / tablet / desktop)
   =========================================================== */
@media (max-width: 860px) {
  .grid,
  .bocetos {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .data,
  .grid,
  .bocetos,
  footer .acad {
    grid-template-columns: 1fr;
  }
  section {
    padding: 30px 0;
  }
}

/* --- Paleta de colores y variables del TP --- */
:root {
  --magenta: #f58fd6;
  --neon: #c9fb1e;
  --ink: #111111;
  --white-trans: rgba(255, 255, 255, 0.55);
  --font-display: "Archivo Black", sans-serif;
  --font-main: "Archivo", sans-serif;
}

/* --- Reseteo Estándar --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--ink);
  min-height: 100vh;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Réplica exacta del gradiente complejo de fondo que tenía tu Next.js */
  background:
    radial-gradient(
      60% 55% at 12% 8%,
      rgba(245, 143, 214, 0.7),
      transparent 60%
    ),
    radial-gradient(
      55% 50% at 92% 18%,
      rgba(201, 251, 30, 0.75),
      transparent 60%
    ),
    radial-gradient(
      50% 45% at 35% 30%,
      rgba(201, 251, 30, 0.55),
      transparent 55%
    ),
    linear-gradient(160deg, #f6e9f1 0%, #f4f1ec 55%, #eef3e6 100%);
  background-attachment: fixed;
}

/* --- Contenedor del Formulario --- */
.login-card {
  width: 100%;
  max-width: 384px; /* Equivalente a max-w-sm */
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.header-logo img {
  display: block;

  width: auto;
  color: var(--ink);
}

.header-logo h1 {
  font-family: var(--font-display);
  font-size: 2.25rem; /* text-4xl */
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

/* Icono de Estrella Decorativa */
.star-icon {
  position: absolute;
  right: 8px;
  top: 100%;
  margin-top: 8px;
  height: 32px;
  width: 32px;
}

/* --- Selector (Tabs) Ingresar / Crear Cuenta --- */
.tabs-container {
  display: flex;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 4px;
  border-radius: 9999px; /* rounded-full */
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px); /* backdrop-blur */
  margin-bottom: 24px; /* mt-6 */
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 8px 0;
  font-size: 0.875rem; /* text-sm */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(17, 17, 17, 0.55);
}

.tab-btn.active {
  background-color: var(--magenta);
  color: var(--ink);
}

/* --- Formulario e Inputs --- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* space-y-4 */
  margin-bottom: 24px;
}

.form-input {
  width: 100%;
  border-radius: 12px; /* rounded-xl */
  background-color: var(--white-trans);
  padding: 14px 20px; /* px-5 py-3.5 */
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
  font-family: var(--font-main);
}

.form-input::placeholder {
  color: rgba(17, 17, 17, 0.45);
  font-weight: 500;
}

.form-input:focus {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: var(--magenta);
}

/* --- Botón Submit Principal --- */
.btn-submit {
  width: 100%;
  border-radius: 9999px;
  background-color: var(--magenta);
  color: var(--ink);
  padding: 12px 0; /* py-3 */
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-submit:hover {
  background-color: var(--ink);
  color: var(--neon);
}

/* --- Contenedor Redes Sociales --- */
.social-container {
  display: flex;
  flex-direction: column;
  gap: 12px; /* space-y-3 */
}

.btn-social {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9999px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-main);
}

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

/* Google */
.btn-google {
  background-color: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

/* Apple */
.btn-apple {
  background-color: var(--ink);
  color: #ffffff;
}

.btn-apple:hover {
  background-color: rgba(17, 17, 17, 0.8);
}

:root {
  --neon: #c9fb1e;
  --neon-deep: #b2e600;
  --magenta: #f48fd6;
  --magenta-soft: #f8c8e8;
  --ink: #0c0c0c;
  --paper: #f3f0e8;
  --smoke: #3a3a3a;
  --white: #ffffff;
  --line: rgba(12, 12, 12, 0.12);
  --radio: 22px; /* radio de borde estándar */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--neon);
  color: var(--ink);
}



.imagen-preferencias {
  display: block;
  max-width: 100%;
  position: absolute;
}

a {
  color: inherit;
}

/* ===== 2) TIPOGRAFÍAS (Web Fonts, se cargan desde Google Fonts en cada HTML) */
body {
  font-family: "Archivo", system-ui, sans-serif;
}
.display {
  font-family: "Archivo Black", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.mono {
  font-family: "Space Mono", ui-monospace, monospace;
}

/* ===== 3) LAYOUT / CONTENEDORES ========================================== */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 20px;
}
.stack {
  display: flex; /* FLEXBOX: columna con separación uniforme */
  flex-direction: column;
  gap: 24px;
}

/* ===== 4) BARRA SUPERIOR + MENÚ LATERAL ================================== */
/* POSICIONAMIENTO: la barra queda fija arriba con position: sticky */
.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex; /* FLEXBOX: hamburguesa a la izq, logo a la der */
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.appbar .logo svg {
  height: 26px;
  width: auto;
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
}

/* Chip opcional con el nombre de la sección */
.tabchip {
  background: var(--magenta-soft);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
}

/* Menú lateral: POSICIONAMIENTO fixed + transform para entrar/salir.
   Se abre/cierra con JavaScript (js/app.js) agregando la clase .open */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 12, 12, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 100%;
  width: 82%;
  max-width: 320px;
  background: var(--white);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%); /* oculto a la izquierda */
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.drawer.open {
  transform: translateX(0); /* visible */
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head svg {
  height: 26px;
}
.drawer .close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.drawer ul {
  list-style: none;
}
.drawer li {
  border-bottom: 1px solid var(--line);
}
.drawer a {
  display: block;
  padding: 18px 22px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background 0.15s ease;
}
.drawer a:hover {
  background: var(--neon);
}

/* ===== 5) BOTONES ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-neon {
  background: var(--neon);
  color: var(--ink);
}
.btn-magenta {
  background: var(--magenta);
  color: var(--ink);
}
.btn-ink {
  background: var(--ink);
  color: var(--neon);
}
.btn:hover {
  background: var(--ink);
  color: var(--neon);
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== 6) HERO Y MOSAICO DE FOTOS ======================================= */
.hero-neon {
  background: var(--neon);
  padding: 24px 0 40px;
}
.titulo-xxl {
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 0.9;
  text-align: center;
}
/* GRID: mosaico de fotos que pasa de 3 a 6 columnas según el ancho */
.mosaico {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.mosaico img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

/* ===== 7) TARJETAS ====================================================== */
.cards {
  display: grid; /* GRID responsive */
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
}
.card-pad {
  padding: 26px;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

/* ===== 8) FORMULARIOS =================================================== */
.form {
  display: flex; /* FLEXBOX: campos apilados */
  flex-direction: column;
  gap: 16px;
}
.input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  outline: none;
  transition: border 0.2s ease;
}
.input:focus {
  border-color: var(--magenta);
  background: #fff;
}
.tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
}
.tabs button {
  flex: 1;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(12, 12, 12, 0.55);
}
.tabs button.active {
  background: var(--magenta);
  color: var(--ink);
}
.error {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.hint {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(12, 12, 12, 0.55);
}

/* Fondo "aurora" para login / onboarding (degradados con position) */
.aurora {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(
      60% 55% at 12% 8%,
      rgba(245, 143, 214, 0.7),
      transparent 60%
    ),
    radial-gradient(
      55% 50% at 92% 18%,
      rgba(201, 251, 30, 0.75),
      transparent 60%
    ),
    radial-gradient(
      50% 45% at 35% 30%,
      rgba(201, 251, 30, 0.55),
      transparent 55%
    ),
    linear-gradient(160deg, #f6e9f1 0%, #f4f1ec 55%, #eef3e6 100%);
}

/* ===== 9) PANTALLAS ESPECÍFICAS ======================================== */
/* -- Perfil: cabecera + grilla de la semana -- */
.perfil-head {
  display: flex; /* FLEXBOX: avatar + texto */
  align-items: center;
  gap: 20px;
  background: linear-gradient(90deg, var(--neon), var(--magenta-soft));
  border-radius: 28px;
  padding: 22px;
}
.perfil-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  flex-shrink: 0;
  position: relative;
}

.perfil-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.semana {
  display: grid; /* GRID 5 columnas (Lu..Vi) */
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.semana .cel {
  height: 46px;
  border-radius: 12px;
}
.cel.ok {
  background: var(--neon);
}
.cel.no {
  background: var(--smoke);
}
.cel.vacio {
  background: rgba(12, 12, 12, 0.1);
}
.stats {
  display: grid; /* GRID: stats responsive */
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.moods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mood {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
  font-size: 1.7rem;
  transition: transform 0.15s ease;
}
.mood:hover,
.mood.sel {
  transform: translateY(-4px);
  outline: 3px solid var(--ink);
}

/* -- Calendario: grilla de 7 columnas -- */
.cal {
  display: grid; /* GRID 7 columnas */
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal .dia {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.dia.completo {
  background: var(--neon);
}
.dia.incompleto {
  background: var(--smoke);
  color: #fff;
}
.dia.pendiente {
  background: #fff;
}

/* -- Galería: masonry con columnas CSS -- */
.masonry {
  columns: 2;
  column-gap: 14px;
}
.masonry figure {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.5);
}
.masonry img {
  width: 100%;
}

/* -- Comunidad: feed -- */
.post {
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.4);
}
.post .top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post .ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--neon));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Archivo Black", sans-serif;
}

/* -- Video (requisito de la cátedra: etiqueta <video>) -- */
.video-box video {
  width: 100%;
  border-radius: 20px;
  display: block;
  background: #000;
}

/* ===== 10) MODAL ======================================================== */
/* POSICIONAMIENTO fixed centrado. Se muestra con la clase .open desde JS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 12, 12, 0.55);
}
.modal.open {
  display: flex;
}
.modal .box {
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}
.modal .x {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ===== 11) FOOTER (leyenda legal OBLIGATORIA dentro de <footer>) ======== */
.appfoot {
  background: var(--ink);
  color: rgba(243, 240, 232, 0.85);
  padding: 34px 0;
}
.appfoot .acad {
  display: grid; /* GRID de columnas académicas */
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.7;
}
.appfoot .neon {
  color: var(--neon);
}
.appfoot .magenta {
  color: var(--magenta);
  font-weight: 700;
}
.appfoot .legend {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 22px;
  padding-top: 18px;
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  line-height: 1.7;
  opacity: 0.55;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* utilidades */
.text-center {
  text-align: center;
}
.mt-s {
  margin-top: 10px;
}
.mt-m {
  margin-top: 22px;
}
.muted {
  color: rgba(12, 12, 12, 0.6);
}

/* ============================================================================
   12) RESPONSIVE — meta viewport (en cada HTML) + @media (3 anchos)
   ----------------------------------------------------------------------------
   - Hasta 560px  -> MOBILE
   - 561 a 860px  -> TABLET
   - 861px+       -> DESKTOP (estilos por defecto de arriba)
   ========================================================================== */

/* TABLET */
@media (min-width: 561px) {
  .mosaico {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .masonry {
    columns: 3;
  }
}

/* DESKTOP */
@media (min-width: 861px) {
  .mosaico {
    grid-template-columns: repeat(6, 1fr);
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* MOBILE: ajustes para pantallas chicas */
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .appfoot .acad {
    grid-template-columns: 1fr;
  }
  .titulo-xxl {
    font-size: clamp(2.2rem, 13vw, 3rem);
  }
}

/* Las tarjetas de 3 columnas pasan a 1 en mobile, 2 en tablet */
@media (min-width: 561px) and (max-width: 860px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- RESET & VARIABLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --magenta-soft: #fbd6f2;
  --neon: #ccff00;
  --ink: #1a1a1a;
  --smoke: #4a4a4a;
  --white: #ffffff;
  --paper: #f4f4f4;
}

body {
  font-family: "Space Mono", monospace;
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* --- CONTENEDORES --- */
.container {
  max-width: 896px; /* Equivalente a max-w-4xl */
  margin: 0 auto;
  padding: 48px 20px;
}

.footer-container {
  max-width: 1152px; /* Equivalente a max-w-6xl */
  margin: 0 auto;
  padding: 56px 24px;
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-topbar {
  background-color: var(--magenta-soft);
  padding: 4px 12px;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.header-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  padding: 12px 20px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 28px;
  background-color: var(--ink);
  border-radius: 9999px;
}

.header-logo svg {
  height: 28px;
  width: auto;
  color: var(--ink);
}

/* --- SECCIÓN PRINCIPAL (CALENDARIO) --- */
.calendar-section {
  background-color: var(--magenta-soft);
}

.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-arrow {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-arrow:hover {
  background-color: var(--ink);
  color: var(--magenta-soft);
}

.calendar-title {
  text-align: center;
}

.calendar-title h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.calendar-title p {
  font-family: "Archivo Black", sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.7);
  margin-top: 4px;
}

/* GRILLAS DEL CALENDARIO */
.weekdays-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.weekday-label {
  text-align: center;
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  color: var(--ink);
}

.days-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-cell {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}

/* Estados del Calendario */
.day-cell.status-complete {
  background-color: var(--neon);
  color: var(--ink);
}

.day-cell.status-incomplete {
  background-color: var(--smoke);
  color: var(--white);
}

.day-cell.status-none {
  background-color: var(--white);
  color: var(--ink);
}

/* LEYENDA */
.calendar-legend {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.legend-item {
  text-align: center;
}

.legend-item p {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: rgba(26, 26, 26, 0.7);
}

.legend-pill {
  margin-top: 4px;
  height: 16px;
  width: 64px;
  border-radius: 9999px;
}

.legend-pill.status-complete {
  background-color: var(--neon);
}
.legend-pill.status-incomplete {
  background-color: var(--smoke);
}
.legend-pill.status-none {
  background-color: var(--white);
}

/* --- CARTEL DE CELEBRACIÓN --- */
.banner-celebration {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 24px;
  background-color: var(--neon);
  padding: 28px;
}

.banner-celebration h2 {
  max-width: 512px;
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.banner-celebration p {
  margin-top: 8px;
  color: rgba(26, 26, 26, 0.7);
  font-size: 14px;
}

.star-svg {
  position: absolute;
  color: var(--ink);
  fill: currentColor;
}

.star-svg.star-1 {
  right: 24px;
  top: 20px;
  height: 48px;
  width: 48px;
}

.star-svg.star-2 {
  bottom: 16px;
  right: 64px;
  height: 32px;
  width: 32px;
}

/* --- SECCIÓN LOGROS --- */
.achievements-box {
  margin-top: 48px;
  text-align: center;
}

.achievements-box h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.achievements-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.achievement-card data {
  font-family: "Archivo Black", sans-serif;
  font-size: 60px;
  line-height: 1;
  color: var(--ink);
  display: block;
}

.achievement-card p {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(26, 26, 26, 0.7);
}

/* --- FOOTER --- */
footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.footer-brand svg {
  height: 32px;
  width: auto;
}

.footer-brand span {
  font-family: "Space Mono", monospace;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.footer-slogan {
  margin-top: 12px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  opacity: 0.6;
}

.footer-col-info {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
}

.footer-label {
  color: var(--neon);
  margin-bottom: 8px;
  font-weight: bold;
}

.footer-label.mt-space {
  margin-top: 24px;
}

.highlight-team {
  font-weight: bold;
  color: #f58fd6;
}

.footer-copyright {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-legal {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.6;
  opacity: 0.45;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 576px) {
  .calendar-title h1 {
    font-size: 48px;
  }
  .achievements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .calendar-title h1 {
    font-size: 64px;
  }
  .weekday-label {
    font-size: 18px;
  }
  .day-cell {
    border-radius: 16px;
    font-size: 20px;
  }
  .banner-celebration h2 {
    font-size: 30px;
  }
  .achievement-card data {
    font-size: 72px;
  }
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }

  .footer-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --magenta-soft: #fbd6f2;
  --neon: #ccff00;
  --ink: #1a1a1a;
  --smoke: #4a4a4a;
  --white: #ffffff;
  --paper: #f4f4f4;
}

body {
  font-family: "Space Mono", monospace;
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* --- CONTENEDORES --- */
.container {
  max-width: 896px; /* Equivalente a max-w-4xl */
  margin: 0 auto;
  padding: 48px 20px;
}

.footer-container {
  max-width: 1152px; /* Equivalente a max-w-6xl */
  margin: 0 auto;
  padding: 56px 24px;
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-topbar {
  background-color: var(--magenta-soft);
  padding: 4px 12px;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.header-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  padding: 12px 20px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 28px;
  background-color: var(--ink);
  border-radius: 9999px;
}

.header-logo svg {
  height: 28px;
  width: auto;
  color: var(--ink);
}

/* --- SECCIÓN PRINCIPAL (CALENDARIO) --- */
.calendar-section {
  background-color: var(--magenta-soft);
}

.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-arrow {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-arrow:hover {
  background-color: var(--ink);
  color: var(--magenta-soft);
}

.calendar-title {
  text-align: center;
}

.calendar-title h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.calendar-title p {
  font-family: "Archivo Black", sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.7);
  margin-top: 4px;
}

/* GRILLAS DEL CALENDARIO */
.weekdays-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.weekday-label {
  text-align: center;
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  color: var(--ink);
}

.days-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-cell {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}

/* Estados del Calendario */
.day-cell.status-complete {
  background-color: var(--neon);
  color: var(--ink);
}

.day-cell.status-incomplete {
  background-color: var(--smoke);
  color: var(--white);
}

.day-cell.status-none {
  background-color: var(--white);
  color: var(--ink);
}

/* LEYENDA */
.calendar-legend {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.legend-item {
  text-align: center;
}

.legend-item p {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: rgba(26, 26, 26, 0.7);
}

.legend-pill {
  margin-top: 4px;
  height: 16px;
  width: 64px;
  border-radius: 9999px;
}

.legend-pill.status-complete {
  background-color: var(--neon);
}
.legend-pill.status-incomplete {
  background-color: var(--smoke);
}
.legend-pill.status-none {
  background-color: var(--white);
}

/* --- CARTEL DE CELEBRACIÓN --- */
.banner-celebration {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 24px;
  background-color: var(--neon);
  padding: 28px;
}

.banner-celebration h2 {
  max-width: 512px;
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.banner-celebration p {
  margin-top: 8px;
  color: rgba(26, 26, 26, 0.7);
  font-size: 14px;
}

.star-svg {
  position: absolute;
  color: var(--ink);
  fill: currentColor;
}

.star-svg.star-1 {
  right: 24px;
  top: 20px;
  height: 48px;
  width: 48px;
}

.star-svg.star-2 {
  bottom: 16px;
  right: 64px;
  height: 32px;
  width: 32px;
}

/* --- SECCIÓN LOGROS --- */
.achievements-box {
  margin-top: 48px;
  text-align: center;
}

.achievements-box h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.achievements-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.achievement-card data {
  font-family: "Archivo Black", sans-serif;
  font-size: 60px;
  line-height: 1;
  color: var(--ink);
  display: block;
}

.achievement-card p {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(26, 26, 26, 0.7);
}

/* --- FOOTER --- */
footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.footer-brand svg {
  height: 32px;
  width: auto;
}

.footer-brand span {
  font-family: "Space Mono", monospace;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.footer-slogan {
  margin-top: 12px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  opacity: 0.6;
}

.footer-col-info {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
}

.footer-label {
  color: var(--neon);
  margin-bottom: 8px;
  font-weight: bold;
}

.footer-label.mt-space {
  margin-top: 24px;
}

.highlight-team {
  font-weight: bold;
  color: #f58fd6;
}

.footer-copyright {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-legal {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.6;
  opacity: 0.45;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 576px) {
  .calendar-title h1 {
    font-size: 48px;
  }
  .achievements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .calendar-title h1 {
    font-size: 64px;
  }
  .weekday-label {
    font-size: 18px;
  }
  .day-cell {
    border-radius: 16px;
    font-size: 20px;
  }
  .banner-celebration h2 {
    font-size: 30px;
  }
  .achievement-card data {
    font-size: 72px;
  }
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .header-navbar {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.footer-column {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}
.section-label {
  color: var(--neon);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.highlight-team {
  font-weight: 700;
  color: var(--magenta);
}
.footer-disclaimer {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  opacity: 0.45;
}
