/* ==========================================================================
   Fade Store - Sedes y Catálogo Oficial de Servicios (styles/sedes-services.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Sección Sedes Oficiales
   -------------------------------------------------------------------------- */
.sedes-section {
  background: var(--bg-primary);
  position: relative;
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.sede-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.sede-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-gold-card), 0 20px 40px rgba(0, 0, 0, 0.85);
}

.sede-media {
  position: relative;
  height: 260px;
  width: 100%;
  overflow: hidden;
}

.sede-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.sede-card:hover .sede-img {
  transform: scale(1.08);
}

.sede-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.95) 100%);
}

.sede-zone-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sede-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sede-title {
  font-size: 1.55rem;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.sede-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sede-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.sede-info-item i {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-top: 0.2rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.sede-info-item strong {
  color: var(--text-pure);
}

.sede-barbers-preview {
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.sede-barbers-preview strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.sede-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  margin-top: auto;
}

.btn-whatsapp-sede {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  border: 1px solid #20BA5A;
}

.btn-whatsapp-sede:hover {
  background: #20BA5A;
  color: #fff;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. Catálogo Oficial de Servicios & Precios
   -------------------------------------------------------------------------- */
.services-section {
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
              var(--bg-secondary);
  position: relative;
}

/* Selector de Sede para Precios de Cortes */
.services-branch-selector-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.25rem;
  animation: fadeIn 0.4s ease-out;
}

.services-branch-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.services-branch-tabs {
  display: inline-flex;
  background: rgba(10, 10, 10, 0.9);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  gap: 0.35rem;
}

.services-branch-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.65rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-branch-btn:hover {
  color: var(--text-pure);
}

.services-branch-btn.active {
  background: var(--gold-metallic);
  color: #080808;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
}

.services-branch-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Category Filter Pills */
.services-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Service Card */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-gold-card), 0 15px 35px rgba(0, 0, 0, 0.75);
}

.service-card.featured {
  border-color: var(--border-gold-bright);
  background: linear-gradient(180deg, rgba(32, 28, 16, 0.75) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.12);
}

/* Combo Total Look Card */
.service-card.combo-card {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(26, 22, 12, 0.85) 0%, #111111 100%);
  position: relative;
  overflow: hidden;
}

.service-card.combo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-metallic);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.service-meta-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: 0.02em;
}

.service-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-duration-badge i {
  color: var(--gold-primary);
}

.service-name {
  font-size: 1.25rem;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-book-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.86rem;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Badge de Sede en Tarjetas de Barberos */
.card-badge-sede {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  width: fit-content;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .sedes-grid {
    grid-template-columns: 1fr;
  }

  .sede-actions {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-branch-tabs {
    width: 100%;
  }

  .services-branch-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
  }
}
