/* Import de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Great+Vibes&display=swap');

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

/* ===== Página sin scroll ===== */
html, body {
  height: 100%;
  overflow: hidden; /* Bloquea el scroll global */
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(180deg, #111 0%, #1c1c1c 50%, #2a2a2a 100%);
  color: #eaeaea;
}

/* ===== Contenedor principal ===== */
.rv-container.sucursal-page {
  height: 100vh; /* ocupa toda la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Contenido desde arriba */
  align-items: center;     /* centrado horizontal */
  text-align: center;
  padding: 24px;
  background-color: transparent;
  /* --- Ajuste para subir/bajar el contenido --- */
  transform: translateY(80px); /* 🔽 bajado un poco (antes -80px) */
  animation: fadeUp 0.8s ease-out;
}

/* Animación de entrada suave */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(-50px); /* Debe coincidir con el valor de arriba */
  }
}

/* ===== Título ===== */
.rv-section-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 32px;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

/* ===== Lista de sucursales ===== */
.rv-stylists-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

/* ===== Tarjeta sucursal ===== */
.sucursal-page .rv-stylist-card {
  width: 200px;
  background-color: rgba(40, 40, 40, 0.95);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(212,175,55,0.5);
  box-shadow: 0 4px 14px rgba(212,175,55,0.3);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #eaeaea;
}

.sucursal-page .rv-stylist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(212,175,55,0.6);
  border-color: #b8962c;
  background-color: #2a2a2a;
}

/* ===== Foto ===== */
.sucursal-page .rv-stylist-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  border: 3px solid rgba(212,175,55,0.7);
  margin-bottom: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

.sucursal-page .rv-stylist-card:hover .rv-stylist-photo {
  box-shadow: 0 0 14px rgba(212,175,55,0.8);
  border-color: #d4af37;
}

/* ===== Nombre ===== */
.sucursal-page .rv-stylist-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 6px;
}

/* ===== Enlaces ===== */
.sucursal-page a {
  text-decoration: none;
  color: inherit;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .rv-section-title {
    font-size: 1.9rem;
  }
  .sucursal-page .rv-stylist-card {
    width: 170px;
  }
  .rv-container.sucursal-page {
    transform: translateY(10px); /* 🔽 bajado un poco (antes -60px) */
  }
}

@media (max-width: 640px) {
  .rv-section-title {
    font-size: 1.6rem;
  }
  .rv-stylists-list {
    flex-direction: column;
    align-items: center;
  }
  .sucursal-page .rv-stylist-card {
    width: 260px;
    padding: 14px;
  }
  .rv-container.sucursal-page {
    transform: translateY(10px); /* 🔽 bajado un poco (antes -40px) */
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vibrar {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

.vibrar {
  animation: vibrar 0.2s linear infinite;
}