/* NOXELLE MEN — estilos propios de la sección y del selector
   NOXELLE | MEN de la cabecera. Se carga después de style.css y solo
   reutiliza sus variables (colores, tipografías, radios), para que MEN
   se vea como parte de NOXELLE STUDIOS. */

/* ---------- Selector NOXELLE | MEN (cabecera) ---------- */
.nx-switch {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 12, .55);
}
.nx-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nx-switch a:hover { color: var(--text); }
.nx-switch a[aria-current="true"] { background: var(--bg-card-hover); color: var(--text); }
.nx-switch a.nx-switch-men[aria-current="true"] { background: var(--wine); }
.nx-switch img { width: 18px; height: 18px; display: block; }
/* En móvil solo cabe un botón: se muestra el que lleva a la otra sección. */
@media (max-width: 759px) {
  .nx-switch { padding: 2px; }
  .nx-switch a[aria-current="true"] { display: none; }
  .nx-switch a { padding: 6px 11px; }
}
@media (min-width: 760px) { .nx-switch { margin-left: auto; } .nx-switch + .header-actions { margin-left: 0; } }
@media (min-width: 960px) { .nx-switch { margin-left: 0; } }

/* Enlace MEN en el menú lateral del móvil */
.mobile-drawer nav a.drawer-men { display: flex; align-items: center; gap: 10px; color: var(--text); }
.mobile-drawer nav a.drawer-men img { width: 22px; height: 22px; }

/* ---------- Recuadro de acceso en la portada ---------- */
.men-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 19, 48, .55);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(122, 19, 48, .55), transparent 60%),
    linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  color: var(--text);
  transition: border-color .2s ease, transform .2s ease;
}
.men-entry:hover, .men-entry:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.men-entry img { width: 76px; height: 76px; display: block; }
.men-entry h2 { margin: 4px 0 6px; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.men-entry p { margin: 0; color: var(--text-dim); font-size: .92rem; }
.men-entry .eyebrow { margin: 0; }
@media (max-width: 600px) {
  .men-entry { grid-template-columns: auto 1fr; gap: 16px; padding: 20px; }
  .men-entry img { width: 56px; height: 56px; }
  .men-entry .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Página NOXELLE MEN ---------- */
.hero.hero-men {
  background:
    radial-gradient(110% 90% at 12% 8%, rgba(122, 19, 48, .5), transparent 58%),
    radial-gradient(90% 70% at 88% 0%, rgba(201, 161, 90, .12), transparent 55%),
    linear-gradient(180deg, #110b0e 0%, var(--bg) 78%);
}
.hero-men .breadcrumbs { margin-bottom: 18px; }
.men-mark { width: 84px; height: 84px; display: block; margin-bottom: 18px; }
@media (max-width: 600px) { .men-mark { width: 64px; height: 64px; } }
.men-title-rule { display: block; width: 64px; height: 2px; background: var(--accent); margin: 14px 0 18px; }

.men-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .men-cards { grid-template-columns: repeat(3, 1fr); } }
.men-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 80% at 80% 10%, rgba(122, 19, 48, .35), transparent 65%),
    linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
}
.men-card::before {
  content: "";
  position: absolute;
  top: 18px; right: 18px;
  width: 92px; height: 92px;
  background: url("/assets/img/men/nm-mark-256.png") center / contain no-repeat;
  opacity: .07;
}
.men-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; }
.men-card p { margin: 0; font-size: .86rem; color: var(--text-dim); }
.men-soon {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 161, 90, .45);
  color: var(--accent-soft);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.men-follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.men-back { display: flex; justify-content: center; padding: 8px 0 4px; }
.men-back a { color: var(--text-dim); font-size: .88rem; }
.men-back a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .men-entry, .nx-switch a { transition: none; }
  .men-entry:hover { transform: none; }
}

/* ---------- Corrección general ----------
   En los bloques con class="container section", .section (declarada
   después en style.css) anulaba el margen lateral de .container y el
   texto quedaba pegado al borde de la pantalla (casting, contacto…). */
.container.section { padding-left: 20px; padding-right: 20px; }
@media (min-width: 900px) { .container.section { padding-left: 32px; padding-right: 32px; } }
