/* ============================================================
   MERCADO CONCENTRADOR PATAGÓNICO — styles.css
   Paleta: #222962 · #3A2319 · #7DAEDF · #FDB800
   Fuente: Montserrat
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── Variables de diseño ── */
:root {
  /* Hotsale */
  --hotsale-rosa: #f05;
  --hotsale-naranja: #ff5e00;
  --hotsale-glow: rgb(255 0 85 / 40%);

  /* Paleta institucional */
  --azul-oscuro: #222962;
  --marron-oscuro: #3a2319;
  --azul-claro: #7daedf;
  --dorado: #fdb800;
  --dorado-hover: #e5a600;

  /* Neutros */
  --gris-900: #1a1a2e;
  --gris-800: #2d2d3f;
  --gris-600: #5a5a72;
  --gris-400: #9494a8;
  --gris-200: #e4e4ee;
  --gris-100: #f4f4f8;
  --blanco: #fff;

  /* Sombras */
  --sombra-sm: 0 2px 8px rgb(34 41 98 / 8%);
  --sombra-md: 0 4px 24px rgb(34 41 98 / 12%);
  --sombra-lg: 0 8px 40px rgb(34 41 98 / 18%);
  --sombra-xl: 0 16px 60px rgb(34 41 98 / 24%);

  /* Tipografía */
  --font: 'Montserrat', system-ui, sans-serif;

  /* Radios */
  --radio-sm: 6px;
  --radio-md: 12px;
  --radio-lg: 18px;
  --radio-xl: 24px;
  --radio-full: 9999px;

  /* Transiciones */
  --trans-rapida: 0.15s ease;
  --trans-normal: 0.28s ease;
  --trans-lenta: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gris-900);
  background: var(--blanco);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Utilidades ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contenedor {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ============================================================
   HEADER / NAVEGACIÓN
   ============================================================ */
.header {
  top: 0;
  z-index: 100;
  background: var(--azul-oscuro);
  box-shadow: var(--sombra-md);

  /* Necesario para posicionar el menú desplegable móvil */
  position: sticky;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  min-width: 0;
  position: relative; /* ancla el menú desplegable móvil */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo__barra {
  width: 5px;
  height: 44px;
  background: var(--dorado);
  border-radius: 3px;
  flex-shrink: 0;
  transition: height var(--trans-normal);
}

.logo:hover .logo__barra {
  height: 38px;
}

.logo__texto {
  line-height: 1.25;
  min-width: 0;
}

.logo__nombre {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo__subtitulo {
  display: block;
  font-size: 0.65rem;
  color: var(--azul-claro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.15rem;
}

/* Navegación principal */
.nav__lista {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav__enlace {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radio-sm);
  color: rgb(255 255 255 / 72%);
  font-size: 0.82rem;
  font-weight: 500;
  transition:
    color var(--trans-rapida),
    background var(--trans-rapida);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav__enlace:hover,
.nav__enlace--activo {
  color: var(--blanco);
  background: rgb(255 255 255 / 10%);
}

.nav__enlace--activo {
  color: var(--dorado);
}

/* Horarios en header */
.header__horarios {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radio-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  color: var(--azul-claro);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__horarios strong {
  color: var(--dorado);
  font-weight: 700;
}

/* Botón menú móvil */
.nav__toggle {
  display: none;
  background: none;
  border: 2px solid rgb(255 255 255 / 25%);
  border-radius: var(--radio-sm);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  color: var(--blanco);
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color var(--trans-rapida);
}

.nav__toggle:hover {
  border-color: var(--dorado);
  color: var(--dorado);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: url('/assets/images/Sources/Fondo.jpeg');
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}

/* Borde inferior dorado */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dorado), var(--azul-claro));
}

/* Patrón de fondo sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(125 174 223 / 6%) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__contenido {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.hero__etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgb(125 174 223 / 15%);
  border: 1px solid rgb(125 174 223 / 35%);
  border-radius: var(--radio-full);
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--azul-claro);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero__titulo {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__titulo em {
  font-style: normal;
  color: var(--dorado);
}

.hero__descripcion {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgb(255 255 255 / 68%);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.75;
  font-weight: 400;
}

.hero__acciones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Botones globales ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radio-md);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background var(--trans-normal),
    transform var(--trans-rapida),
    box-shadow var(--trans-normal),
    border-color var(--trans-normal);
  border: 2px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primario {
  background: var(--dorado);
  color: var(--marron-oscuro);
  box-shadow: 0 4px 16px rgb(253 184 0 / 35%);
}

.btn--primario:hover {
  background: var(--dorado-hover);
  box-shadow: 0 6px 24px rgb(253 184 0 / 50%);
  transform: translateY(-2px);
}

.btn--secundario {
  background: transparent;
  color: var(--blanco);
  border-color: rgb(255 255 255 / 40%);
}

.btn--secundario:hover {
  background: rgb(255 255 255 / 8%);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

.btn--azul {
  background: var(--azul-oscuro);
  color: var(--blanco);
  box-shadow: 0 4px 16px rgb(34 41 98 / 30%);
}

.btn--azul:hover {
  background: #1a1f6e;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgb(34 41 98 / 45%);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
}

.btn--peligro {
  background: #c0392b;
  color: var(--blanco);
  border-color: transparent;
}

.btn--peligro:hover {
  background: #a93226;
  transform: translateY(-1px);
}

/* Estadísticas del hero */
.hero__stats {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats > [role='listitem'] {
  background: rgb(255 255 255 / 70%);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: var(--radio-lg);
  padding: 1rem 1.5rem;
  min-width: 120px;
  text-align: center;
  transition:
    background var(--trans-normal),
    transform var(--trans-normal);
}

.hero__stats > [role='listitem']:hover {
  background: rgb(255 255 255 / 82%);
  transform: translateY(-3px);
}

.stat__numero {
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1;
}

.stat__label {
  font-size: 0.72rem;
  color: var(--azul-oscuro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
  font-weight: 700;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.seccion {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.seccion--gris {
  background: var(--gris-100);
}

.seccion--azul-suave {
  background: #eef4fb;
}

.seccion__cabecera {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.seccion__etiqueta {
  display: inline-block;
  background: rgb(34 41 98 / 8%);
  color: var(--azul-oscuro);
  border-radius: var(--radio-full);
  padding: 0.3rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  border: 1px solid rgb(34 41 98 / 15%);
}

.seccion__titulo {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.seccion__subtitulo {
  font-size: 0.97rem;
  color: var(--gris-600);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ============================================================
   GRID DE PRODUCTOS DESTACADOS
   ============================================================ */
.productos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  gap: 2rem;
  justify-content: center;
  justify-items: stretch;
}

/* Tarjeta de producto */
.producto-card {
  background: var(--blanco);
  color:white;
  border-radius: var(--radio-xl);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  transition:
    transform var(--trans-normal),
    box-shadow var(--trans-normal);
  border: 1px solid var(--gris-200);
  display: flex;
  flex-direction: column;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
}

.producto-card__imagen {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eef4fb 0%, #d8eaf7 100%);
  display: grid;
  place-items: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

/* Acento de color en la parte superior de la tarjeta */
.producto-card__imagen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--dorado);
}

.producto-card__badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  border-radius: var(--radio-full);
  padding: 0.22rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 1;
}

.producto-card__badge--mayorista {
  background: var(--azul-oscuro);
  color: var(--blanco);
}

.producto-card__badge--activo {
  /*background: var(--dorado);
  color: var(--marron-oscuro);*/
}

.producto-card__cuerpo {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.producto-card__origen {
  font-size: 0.68rem;
  color: var(--gris-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.producto-card__nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.producto-card__desc {
  font-size: 0.82rem;
  color: var(--gris-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
  font-weight: 400;
}

.producto-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gris-200);
}

.producto-card__precio {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--azul-oscuro);
}

.producto-card__precio small {
  font-size: 0.68rem;
  color: var(--gris-400);
  font-weight: 400;
  display: block;
}

/* Estado vacío */
.productos__vacio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gris-400);
}

.productos__vacio__icono {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ============================================================
   BANNER INFORMATIVO
   ============================================================ */
.banner-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.banner-info__card {
  background: var(--blanco);
  border-radius: var(--radio-xl);
  padding: 2rem;
  box-shadow: var(--sombra-sm);
  border: 1px solid var(--gris-200);
  border-top: 4px solid var(--azul-claro);
  display: flex;
  gap: 1.25rem;
  transition:
    box-shadow var(--trans-normal),
    transform var(--trans-normal);
}

.banner-info__card:hover {
  box-shadow: var(--sombra-md);
  transform: translateY(-3px);
}

.banner-info__card:nth-child(2) {
  border-top-color: var(--dorado);
}

.banner-info__card:nth-child(3) {
  border-top-color: var(--azul-oscuro);
}

.banner-info__icono-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radio-lg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.banner-info__icono-wrap--azul {
  background: #eef4fb;
  color: var(--azul-oscuro);
}

.banner-info__icono-wrap--dorado {
  background: #fff8e0;
  color: var(--marron-oscuro);
}

.banner-info__icono-wrap--oscuro {
  background: #f0eeed;
  color: var(--marron-oscuro);
}

.banner-info__contenido h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.banner-info__contenido p {
  font-size: 0.84rem;
  color: var(--gris-600);
  line-height: 1.65;
  font-weight: 400;
}

.badge-horario {
  display: inline-block;
  background: rgb(34 41 98 / 7%);
  color: var(--azul-oscuro);
  border-radius: var(--radio-full);
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.6rem;
  border: 1px solid rgb(34 41 98 / 12%);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   SECCIÓN PRODUCTORES
   ============================================================ */
.productores__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.productor-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--radio-full);
  padding: 0.55rem 1.1rem;
  box-shadow: var(--sombra-sm);
  transition:
    box-shadow var(--trans-normal),
    transform var(--trans-rapida),
    border-color var(--trans-normal);
}

.productor-chip:hover {
  box-shadow: var(--sombra-md);
  transform: translateY(-2px);
  border-color: var(--azul-claro);
}

.productor-chip__inicial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--azul-oscuro);
  color: var(--blanco);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.productor-chip__info {
  line-height: 1.3;
}

.productor-chip__nombre {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gris-900);
}

.productor-chip__provincia {
  font-size: 0.7rem;
  color: var(--gris-400);
  font-weight: 500;
}

/* ============================================================
   CTA CENTRAL
   ============================================================ */
.cta-central {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, #1e3a8a 100%);
  border-radius: var(--radio-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-central::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgb(253 184 0 / 8%);
  pointer-events: none;
}

.cta-central::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgb(125 174 223 / 8%);
  pointer-events: none;
}

.cta-central h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 0.75rem;
  position: relative;
  letter-spacing: -0.01em;
}

.cta-central p {
  color: var(--azul-claro);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2rem;
  position: relative;
  font-size: 0.97rem;
  font-weight: 400;
}

.cta-central .btn {
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--marron-oscuro);
  color: rgb(255 255 255 / 55%);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.footer__marca .logo__nombre {
  color: var(--blanco);
}

.footer__marca .logo__subtitulo {
  color: rgb(255 255 255 / 45%);
}

.footer__marca .logo__barra {
  background: var(--dorado);
}

.footer__desc {
  font-size: 0.84rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.footer__redes {
  display: flex;
  gap: 0.5rem;
}

.footer__red {
  width: 36px;
  height: 36px;
  border-radius: var(--radio-sm);
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 60%);
  transition:
    background var(--trans-normal),
    transform var(--trans-rapida),
    color var(--trans-normal);
}

.footer__red:hover {
  background: var(--dorado);
  color: var(--marron-oscuro);
  border-color: var(--dorado);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.footer__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__lista a,
.footer__lista li {
  font-size: 0.83rem;
  color: rgb(255 255 255 / 55%);
  transition: color var(--trans-rapida);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
}

.footer__lista a:hover {
  color: var(--azul-claro);
}

.footer__ubicacion {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
  font-weight: 400;
}

/* Formulario de contacto en footer */
.footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__form input,
.footer__form textarea {
  width: 100%;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radio-sm);
  padding: 0.65rem 0.9rem;
  color: var(--blanco);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 400;
  transition:
    border-color var(--trans-rapida),
    background var(--trans-rapida);
  resize: vertical;
}

.footer__form input::placeholder,
.footer__form textarea::placeholder {
  color: rgb(255 255 255 / 30%);
}

.footer__form input:focus,
.footer__form textarea:focus {
  outline: none;
  border-color: var(--azul-claro);
  background: rgb(255 255 255 / 9%);
}

.footer__form textarea {
  min-height: 80px;
}

.footer__bottom {
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.76rem;
  color: rgb(255 255 255 / 32%);
  font-weight: 400;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

.footer__legal a {
  font-size: 0.76rem;
  color: rgb(255 255 255 / 32%);
  transition: color var(--trans-rapida);
}

.footer__legal a:hover {
  color: var(--azul-claro);
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  background: var(--gris-100);
}

/* Header del admin */
.admin-header {
  grid-column: 1 / -1;
  background: var(--azul-oscuro);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--sombra-md);
  z-index: 50;
}

.admin-header__titulo {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--azul-claro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-header__usuario {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 500;
}

.admin-header__avatar {
  width: 34px;
  height: 34px;
  background: var(--dorado);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--marron-oscuro);
}

/* Sidebar */
.admin-sidebar {
  background: var(--blanco);
  border-right: 1px solid var(--gris-200);
  padding: 1.5rem 0;
  overflow-y: auto;
}

.admin-sidebar__section {
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.admin-sidebar__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gris-400);
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.25rem;
}

.sidebar-nav__lista {
  list-style: none;
}

.sidebar-nav__item a,
.sidebar-nav__item button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radio-md);
  color: var(--gris-600);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--trans-rapida),
    color var(--trans-rapida);
  background: none;
  border: none;
  font-family: var(--font);
  text-align: left;
  letter-spacing: 0.01em;
}

.sidebar-nav__item a:hover,
.sidebar-nav__item button:hover {
  background: #eef4fb;
  color: var(--azul-oscuro);
}

.sidebar-nav__item--activo a,
.sidebar-nav__item--activo button {
  background: rgb(34 41 98 / 8%);
  color: var(--azul-oscuro);
  font-weight: 700;
}

.sidebar-nav__icono {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.65;
}

.sidebar-nav__item--activo .sidebar-nav__icono,
.sidebar-nav__item a:hover .sidebar-nav__icono,
.sidebar-nav__item button:hover .sidebar-nav__icono {
  opacity: 1;
}

.sidebar-nav__badge {
  margin-left: auto;
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-radius: var(--radio-full);
  padding: 0.1rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
}

.admin-sidebar__divider {
  border: none;
  border-top: 1px solid var(--gris-200);
  margin: 0.75rem 0;
}

/* Área principal del admin */
.admin-main {
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow-y: auto;
}

/* Estadísticas del dashboard */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sombra-sm);
  border: 1px solid var(--gris-200);
  border-top: 3px solid var(--azul-claro);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.stat-card:nth-child(2) {
  border-top-color: var(--dorado);
}

.stat-card:nth-child(3) {
  border-top-color: var(--azul-oscuro);
}

.stat-card:nth-child(4) {
  border-top-color: #c0392b;
}

.stat-card__valor {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card__label {
  font-size: 0.75rem;
  color: var(--gris-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-card__tendencia {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.stat-card__tendencia--positiva {
  color: #27ae60;
}

.stat-card__tendencia--negativa {
  color: #c0392b;
}

.stat-card__icono {
  width: 42px;
  height: 42px;
  border-radius: var(--radio-md);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--gris-100);
  color: var(--azul-oscuro);
}

/* Panel de admin */
.admin-panel {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-sm);
  border: 1px solid var(--gris-200);
  overflow: hidden;
}

.admin-panel__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gris-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-panel__titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  letter-spacing: 0.01em;
}

.admin-panel__acciones {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-buscar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gris-100);
  border: 1px solid var(--gris-200);
  border-radius: var(--radio-sm);
  padding: 0.45rem 0.85rem;
  transition: border-color var(--trans-rapida);
}

.admin-buscar:focus-within {
  border-color: var(--azul-claro);
}

.admin-buscar__icono {
  width: 14px;
  height: 14px;
  opacity: 0.4;
  flex-shrink: 0;
}

.admin-buscar input {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.84rem;
  color: var(--gris-900);
  width: 180px;
}

.admin-buscar input::placeholder {
  color: var(--gris-400);
}

.admin-buscar input:focus {
  outline: none;
}

/* Tabla de admin */
.tabla-wrapper {
  overflow-x: auto;
}

.tabla-admin {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.tabla-admin thead {
  background: var(--gris-100);
}

.tabla-admin th {
  padding: 0.8rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gris-600);
  white-space: nowrap;
}

.tabla-admin td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gris-200);
  vertical-align: middle;
  color: var(--gris-800);
}

.tabla-admin tbody tr:last-child td {
  border-bottom: none;
}

.tabla-admin tbody tr:hover {
  background: #eef4fb;
}

.tabla-admin__nombre {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tabla-admin__inicial {
  width: 38px;
  height: 38px;
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-radius: var(--radio-md);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 700;
}

.tabla-admin__nombre-texto strong {
  display: block;
  font-weight: 700;
  color: var(--azul-oscuro);
  font-size: 0.88rem;
}

.tabla-admin__nombre-texto span {
  font-size: 0.72rem;
  color: var(--gris-400);
}

/* Badges de estado */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radio-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.badge--activo {
  /*background: #d4edda;
  color: #155724;*/
}

.badge--inactivo {
  background: var(--gris-200);
  color: var(--gris-600);
}

.badge--destacado {
  background: #fff3cd;
  color: #856404;
}

.badge--vencido {
  background: #f8d7da;
  color: #721c24;
}

.badge--programado {
  background: #d1ecf1;
  color: #0c5460;
}

/* Acciones de tabla */
.tabla-acciones {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ============================================================
   MODAL — elemento <dialog> nativo
   ============================================================ */
.modal-dialog {
  width: min(96vw, 540px);
  max-height: 90vh;
  border: none;
  border-radius: var(--radio-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--sombra-xl);
  background: var(--blanco);
}

.modal-dialog::backdrop {
  background: rgb(34 41 98 / 55%);
  backdrop-filter: blur(4px);
}

@keyframes modal-entrada {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-dialog[open] {
  animation: modal-entrada 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal__cabecera {
  background: var(--azul-oscuro);
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal__titulo-wrap h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.modal__titulo-wrap p {
  font-size: 0.78rem;
  color: var(--azul-claro);
  font-weight: 400;
}

.modal__cerrar {
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radio-sm);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--blanco);
  font-size: 1rem;
  transition: background var(--trans-rapida);
  flex-shrink: 0;
  font-family: var(--font);
}

.modal__cerrar:hover {
  background: rgb(255 255 255 / 20%);
}

.modal__cuerpo {
  padding: 1.75rem;
  overflow-y: auto;
  max-height: calc(90dvh - 220px);
}

/* Formulario del modal */
.form-grupo {
  margin-bottom: 1.2rem;
}

.form-grupo label {
  display: block;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--gris-800);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-grupo label .requerido {
  color: #c0392b;
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gris-200);
  border-radius: var(--radio-md);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--gris-900);
  background: var(--blanco);
  transition:
    border-color var(--trans-rapida),
    box-shadow var(--trans-rapida);
  font-weight: 400;
}

.form-control:focus {
  outline: none;
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 3px rgb(125 174 223 / 20%);
}

.form-control:read-only {
  background: var(--gris-100);
  color: var(--gris-600);
  cursor: not-allowed;
}

.form-control--error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgb(192 57 43 / 12%);
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.35rem;
  min-height: 1.2em;
  font-weight: 500;
}

.form-error:empty {
  display: none;
}

.form-ayuda {
  font-size: 0.74rem;
  color: var(--gris-400);
  margin-top: 0.35rem;
  font-weight: 400;
}

.form-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal__pie {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--gris-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--gris-100);
  flex-wrap: wrap;
}

.modal__pie-info {
  font-size: 0.75rem;
  color: var(--gris-400);
}

.modal__pie-acciones {
  display: flex;
  gap: 0.75rem;
}

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.paginacion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gris-200);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.paginacion__info {
  font-size: 0.78rem;
  color: var(--gris-600);
  font-weight: 500;
}

.paginacion__botones {
  display: flex;
  gap: 0.35rem;
}

.paginacion__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  color: var(--gris-600);
  font-size: 0.82rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--trans-rapida);
  font-family: var(--font);
  font-weight: 600;
}

.paginacion__btn:hover {
  border-color: var(--azul-claro);
  color: var(--azul-oscuro);
}

.paginacion__btn--activo {
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-color: var(--azul-oscuro);
}

.paginacion__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   TOASTS
   ============================================================ */
.toast-contenedor {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--sombra-xl);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 280px;
  max-width: 380px;
  pointer-events: auto;
  border-left: 4px solid var(--dorado);
  animation: toast-entrada 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast--error {
  border-left-color: #c0392b;
}

.toast--warning {
  border-left-color: var(--azul-claro);
}

@keyframes toast-entrada {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-salida {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

.toast--saliendo {
  animation: toast-salida 0.3s ease forwards;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gris-100);
}

::-webkit-scrollbar-thumb {
  background: var(--azul-claro);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--azul-oscuro);
}

/* ============================================================
   ADMIN — ESTILOS ADICIONALES (CRUD v2)
   ============================================================ */

/* Botones del sidebar (idénticos en estructura a los <a>) */
.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radio-md);
  color: var(--gris-600);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--trans-rapida),
    color var(--trans-rapida);
  background: none;
  border: none;
  font-family: var(--font);
  text-align: left;
  letter-spacing: 0.01em;
}

.sidebar-btn:hover {
  background: #eef4fb;
  color: var(--azul-oscuro);
}

.sidebar-nav__item--activo .sidebar-btn {
  background: rgb(34 41 98 / 8%);
  color: var(--azul-oscuro);
  font-weight: 700;
}

/* Secciones de panel (visibilidad controlada por hidden) */
.admin-panel-section {
  animation: panel-fade 0.22s ease;
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Textarea en formularios del modal */
.modal__cuerpo textarea.form-control {
  resize: vertical;
  min-height: 64px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1280px: reducir tamaño de fuente de nav en pantallas intermedias ── */
@media (width <= 1280px) {
  .logo__nombre {
    font-size: 0.85rem;
  }

  .nav__enlace {
    font-size: 0.78rem;
    padding: 0.4rem 0.55rem;
  }

  .header__horarios {
    font-size: 0.68rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ============================================================
   SECCIÓN HOTSALE (Hasta 40% Off)
   ============================================================ */

.hotsale {
  position: relative;
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  text-align: center;
  overflow: hidden;
  z-index: 1;
  border-top: 6px solid var(--dorado);
  border-bottom: 6px solid var(--dorado);
}

/* Patrón de cuadrícula suave en el fondo para dar una textura orgánica */
.hotsale::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 5%) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

.hotsale__contenido {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Badge de ofertas en color sólido */
.hotsale__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hotsale-rosa);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radio-md);
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
  margin-bottom: 1.5rem;
  transform: rotate(-1.5deg);
  transition: transform var(--trans-rapida);
}

.hotsale__badge:hover {
  transform: rotate(1deg) scale(1.05);
}

.hotsale__fuego {
  display: inline-block;
  animation: hotsale-fuego-mov 0.4s infinite alternate ease-in-out;
}

@keyframes hotsale-fuego-mov {
  0% {
    transform: scale(1) translateY(0);
  }

  100% {
    transform: scale(1.15) translateY(-2px);
  }
}

/* Título */
.hotsale__titulo {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hotsale__subtitulo-resaltado {
  color: var(--dorado);
  display: inline-block;
  position: relative;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgb(0 0 0 / 20%);
}

.hotsale__descripcion {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgb(255 255 255 / 85%);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Contador regresivo */
.hotsale-timer {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 3.5vw, 1.8rem);
  margin-block: 2.5rem;
  flex-wrap: wrap;
}

.hotsale-timer__box {
  background: var(--blanco);
  border: 3px solid var(--dorado);
  border-radius: var(--radio-lg);
  padding: 1.1rem clamp(0.8rem, 2vw, 1.4rem);
  min-width: clamp(80px, 16vw, 110px);
  text-align: center;
  box-shadow: 0 8px 0 var(--marron-oscuro);
  position: relative;
  transition:
    border-color var(--trans-rapida),
    transform var(--trans-rapida),
    box-shadow var(--trans-rapida);
  transform-origin: center;
}

.hotsale-timer__box:nth-child(odd):hover {
  transform: translateY(-6px) scale(1.05) rotate(-2deg);
  border-color: var(--hotsale-rosa);
  box-shadow: 0 12px 0 var(--marron-oscuro);
}

.hotsale-timer__box:nth-child(even):hover {
  transform: translateY(-6px) scale(1.05) rotate(2deg);
  border-color: var(--hotsale-rosa);
  box-shadow: 0 12px 0 var(--marron-oscuro);
}

.hotsale-timer__val {
  display: block;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}

.hotsale-timer__lbl {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gris-600);
  margin-top: 0.4rem;
  font-weight: 700;
}

/* Botón CTA Hotsale sólido */
.btn--hotsale {
  background: var(--hotsale-rosa);
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 1rem 2.4rem;
  border-radius: var(--radio-md);
  border: 3px solid var(--blanco);
  box-shadow: 0 6px 0 rgb(0 0 0 / 30%);
  transition:
    background-color var(--trans-normal),
    border-color var(--trans-normal),
    transform var(--trans-normal),
    box-shadow var(--trans-normal);
}

.btn--hotsale:hover {
  background: #d81b60;
  color: var(--blanco);
  transform: translateY(-4px);
  box-shadow: 0 10px 0 rgb(0 0 0 / 30%);
  border-color: var(--dorado);
}

/* Efecto de entrada al scroll (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes hotsale-fade-in {
      from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .hotsale__contenido {
      animation: hotsale-fade-in auto linear;
      animation-timeline: view();
      animation-range: entry 15% entry 60%;
    }
  }
}

/* Fallback de animación con JS si no hay soporte nativo */
.hotsale__contenido--js-anim {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition:
    opacity 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hotsale__contenido--js-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── 1024px ── */
@media (width <= 1024px) {
  /* Ocultar horarios antes de que desborden */
  .header__horarios {
    display: none;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Admin sidebar */
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 200;
    box-shadow: var(--sombra-xl);
  }

  .admin-sidebar--visible {
    display: block;
  }
}

/* ── 900px: colapsar navegación a hamburguesa ── */
@media (width <= 900px) {
  .nav__lista {
    display: none;
  }

  .nav__toggle {
    display: block;
  }
}

/* ── 768px ── */
@media (width <= 768px) {
  .hero__stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-fila {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    width: 96vw;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Menú móvil desplegable */
  .nav__lista--abierto {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--azul-oscuro);
    padding: 0.75rem 1rem;
    gap: 0.1rem;
    box-shadow: var(--sombra-lg);
    z-index: 99;
  }

  /* Logo más compacto en móvil */
  .logo__nombre {
    font-size: 0.8rem;
  }

  .logo__subtitulo {
    font-size: 0.6rem;
  }

  .logo__barra {
    height: 36px;
  }

  /* Hero */
  .hero {
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }
}

/* ── 480px ── */
@media (width <= 480px) {
  .hero__acciones {
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .banner-info {
    grid-template-columns: 1fr;
  }

  .logo__subtitulo {
    display: none;
  }
}
